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 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1461 #define SWIG_From_int PyInt_FromLong
1469 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1472 if (value
< min_value
) {
1474 PyErr_Format(PyExc_OverflowError
,
1475 "value %ld is less than '%s' minimum %ld",
1476 value
, errmsg
, min_value
);
1479 } else if (value
> max_value
) {
1481 PyErr_Format(PyExc_OverflowError
,
1482 "value %ld is greater than '%s' maximum %ld",
1483 value
, errmsg
, max_value
);
1492 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1494 if (PyNumber_Check(obj
)) {
1495 if (val
) *val
= PyInt_AsLong(obj
);
1499 SWIG_type_error("number", obj
);
1505 #if INT_MAX != LONG_MAX
1507 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1509 const char* errmsg
= val
? "int" : (char*)0;
1511 if (SWIG_AsVal_long(obj
, &v
)) {
1512 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1513 if (val
) *val
= (int)(v
);
1522 SWIG_type_error(errmsg
, obj
);
1528 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1530 return SWIG_AsVal_long(obj
,(long*)val
);
1536 SWIG_As_int(PyObject
* obj
)
1539 if (!SWIG_AsVal_int(obj
, &v
)) {
1541 this is needed to make valgrind/purify happier.
1543 memset((void*)&v
, 0, sizeof(int));
1549 SWIGINTERNSHORT
long
1550 SWIG_As_long(PyObject
* obj
)
1553 if (!SWIG_AsVal_long(obj
, &v
)) {
1555 this is needed to make valgrind/purify happier.
1557 memset((void*)&v
, 0, sizeof(long));
1564 SWIG_Check_int(PyObject
* obj
)
1566 return SWIG_AsVal_int(obj
, (int*)0);
1571 SWIG_Check_long(PyObject
* obj
)
1573 return SWIG_AsVal_long(obj
, (long*)0);
1576 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
1579 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1581 if (obj
== Py_True
) {
1582 if (val
) *val
= true;
1585 if (obj
== Py_False
) {
1586 if (val
) *val
= false;
1590 if (SWIG_AsVal_int(obj
, &res
)) {
1591 if (val
) *val
= res
? true : false;
1597 SWIG_type_error("bool", obj
);
1603 SWIGINTERNSHORT
bool
1604 SWIG_As_bool(PyObject
* obj
)
1607 if (!SWIG_AsVal_bool(obj
, &v
)) {
1609 this is needed to make valgrind/purify happier.
1611 memset((void*)&v
, 0, sizeof(bool));
1618 SWIG_Check_bool(PyObject
* obj
)
1620 return SWIG_AsVal_bool(obj
, (bool*)0);
1623 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
1624 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
1626 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1627 #define SWIG_From_long PyInt_FromLong
1630 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
1631 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
1632 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
1633 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
1635 #include <wx/checklst.h>
1638 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
1639 static void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
1641 wxPyClientData
* data
= new wxPyClientData(clientData
);
1642 self
->Insert(item
, pos
, data
);
1644 self
->Insert(item
, pos
);
1646 static PyObject
*wxListBox_GetSelections(wxListBox
*self
){
1648 self
->GetSelections(lst
);
1649 PyObject
*tup
= PyTuple_New(lst
.GetCount());
1650 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
1651 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
1655 static void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
1657 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1658 self
->GetItem(item
)->SetTextColour(c
);
1661 static void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
1663 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1664 self
->GetItem(item
)->SetBackgroundColour(c
);
1667 static void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
1669 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1670 self
->GetItem(item
)->SetFont(f
);
1673 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
1675 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1681 } else if (target
== Py_None
) {
1685 if (!PyTuple_Check(target
)) {
1687 target
= PyTuple_New(1);
1688 PyTuple_SetItem(target
, 0, o2
);
1690 o3
= PyTuple_New(1);
1691 PyTuple_SetItem(o3
, 0, o
);
1694 target
= PySequence_Concat(o2
, o3
);
1704 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1707 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1708 SWIG_type_error("unsigned number", obj
);
1711 *val
= (unsigned long)v
;
1716 SWIGINTERNSHORT
unsigned long
1717 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1720 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1722 this is needed to make valgrind/purify happier.
1724 memset((void*)&v
, 0, sizeof(unsigned long));
1731 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1733 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1736 static void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
1737 self
->AppendText(text
);
1739 static wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
1740 return self
->GetValue().Mid(from
, to
- from
);
1742 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
1743 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
1744 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
1745 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
1746 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
1748 #include <wx/slider.h>
1751 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
1752 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
1754 #if !wxUSE_TOGGLEBTN
1755 // implement dummy items for platforms that don't have this class
1757 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
1759 class wxToggleButton
: public wxControl
1762 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
1763 const wxPoint
&, const wxSize
&, long,
1764 const wxValidator
&, const wxString
&)
1765 { wxPyRaiseNotImplemented(); }
1768 { wxPyRaiseNotImplemented(); }
1772 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
1774 SWIGINTERNSHORT PyObject
*
1775 SWIG_From_unsigned_SS_long(unsigned long value
)
1777 return (value
> LONG_MAX
) ?
1778 PyLong_FromUnsignedLong(value
)
1779 : PyInt_FromLong((long)(value
));
1782 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
1783 static PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
1784 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
1786 Py_INCREF(udata
->m_obj
);
1787 return udata
->m_obj
;
1793 static void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
1794 self
->SetClientData(new wxPyUserData(clientData
));
1796 static wxToolBarToolBase
*wxToolBarBase_DoAddTool(wxToolBarBase
*self
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString
const &shortHelp
=wxPyEmptyString
,wxString
const &longHelp
=wxPyEmptyString
,PyObject
*clientData
=NULL
){
1797 wxPyUserData
* udata
= NULL
;
1798 if (clientData
&& clientData
!= Py_None
)
1799 udata
= new wxPyUserData(clientData
);
1800 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
1801 shortHelp
, longHelp
, udata
);
1803 static wxToolBarToolBase
*wxToolBarBase_DoInsertTool(wxToolBarBase
*self
,size_t pos
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString
const &shortHelp
=wxPyEmptyString
,wxString
const &longHelp
=wxPyEmptyString
,PyObject
*clientData
=NULL
){
1804 wxPyUserData
* udata
= NULL
;
1805 if (clientData
&& clientData
!= Py_None
)
1806 udata
= new wxPyUserData(clientData
);
1807 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
1808 shortHelp
, longHelp
, udata
);
1810 static PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
1811 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
1813 Py_INCREF(udata
->m_obj
);
1814 return udata
->m_obj
;
1820 static void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
1821 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
1824 #include <wx/listctrl.h>
1826 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
1827 static void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
1828 // Python aware sorting function for wxPyListCtrl
1829 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
1831 PyObject
* func
= (PyObject
*)funcPtr
;
1832 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
){
1927 return (wxWindow
*)self
->m_mainWin
;
1931 #include <wx/treectrl.h>
1932 #include "wx/wxPython/pytree.h"
1934 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
1935 static bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
1936 static bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
1937 static void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
1938 // C++ version of Python aware wxTreeCtrl
1939 class wxPyTreeCtrl
: public wxTreeCtrl
{
1940 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
1942 wxPyTreeCtrl() : wxTreeCtrl() {}
1943 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
1947 const wxValidator
& validator
,
1948 const wxString
& name
) :
1949 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
1951 bool Create(wxWindow
*parent
, wxWindowID id
,
1955 const wxValidator
& validator
,
1956 const wxString
& name
) {
1957 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
1961 int OnCompareItems(const wxTreeItemId
& item1
,
1962 const wxTreeItemId
& item2
) {
1965 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 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1987 #define SWIG_From_unsigned_SS_int SWIG_From_long
1990 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1991 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1997 SWIG_CheckUnsignedLongInRange(unsigned long value
,
1998 unsigned long max_value
,
2001 if (value
> max_value
) {
2003 PyErr_Format(PyExc_OverflowError
,
2004 "value %lu is greater than '%s' minimum %lu",
2005 value
, errmsg
, max_value
);
2013 #if UINT_MAX != ULONG_MAX
2015 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2017 const char* errmsg
= val
? "unsigned int" : (char*)0;
2019 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2020 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
2021 if (val
) *val
= (unsigned int)(v
);
2028 SWIG_type_error(errmsg
, obj
);
2033 SWIGINTERNSHORT
unsigned int
2034 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2036 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
2041 SWIGINTERNSHORT
unsigned int
2042 SWIG_As_unsigned_SS_int(PyObject
* obj
)
2045 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
2047 this is needed to make valgrind/purify happier.
2049 memset((void*)&v
, 0, sizeof(unsigned int));
2056 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
2058 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
2061 static wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2062 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2064 data
= new wxPyTreeItemData();
2065 data
->SetId(item
); // set the id
2066 self
->SetItemData(item
, data
);
2070 static PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2071 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2073 data
= new wxPyTreeItemData();
2074 data
->SetId(item
); // set the id
2075 self
->SetItemData(item
, data
);
2077 return data
->GetData();
2079 static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
2080 data
->SetId(item
); // set the id
2081 self
->SetItemData(item
, data
);
2083 static void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
2084 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2086 data
= new wxPyTreeItemData(obj
);
2087 data
->SetId(item
); // set the id
2088 self
->SetItemData(item
, data
);
2092 static PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
2093 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_GetCurrentSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4810 PyObject
*resultobj
;
4811 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4813 PyObject
* obj0
= 0 ;
4815 (char *) "self", NULL
4818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetCurrentSelection",kwnames
,&obj0
)) goto fail
;
4819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4820 if (SWIG_arg_fail(1)) SWIG_fail
;
4822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4823 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
4825 wxPyEndAllowThreads(__tstate
);
4826 if (PyErr_Occurred()) SWIG_fail
;
4829 resultobj
= SWIG_From_int((int)(result
));
4837 static PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4838 PyObject
*resultobj
;
4839 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4840 wxString
*arg2
= 0 ;
4842 bool temp2
= false ;
4843 PyObject
* obj0
= 0 ;
4844 PyObject
* obj1
= 0 ;
4846 (char *) "self",(char *) "string", NULL
4849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
4850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4851 if (SWIG_arg_fail(1)) SWIG_fail
;
4853 arg2
= wxString_in_helper(obj1
);
4854 if (arg2
== NULL
) SWIG_fail
;
4858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4859 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
4861 wxPyEndAllowThreads(__tstate
);
4862 if (PyErr_Occurred()) SWIG_fail
;
4865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4881 static PyObject
*_wrap_ComboBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4882 PyObject
*resultobj
;
4883 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4885 wxString
*arg3
= 0 ;
4886 bool temp3
= false ;
4887 PyObject
* obj0
= 0 ;
4888 PyObject
* obj1
= 0 ;
4889 PyObject
* obj2
= 0 ;
4891 (char *) "self",(char *) "n",(char *) "string", NULL
4894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4896 if (SWIG_arg_fail(1)) SWIG_fail
;
4898 arg2
= (int)(SWIG_As_int(obj1
));
4899 if (SWIG_arg_fail(2)) SWIG_fail
;
4902 arg3
= wxString_in_helper(obj2
);
4903 if (arg3
== NULL
) SWIG_fail
;
4907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4908 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
4910 wxPyEndAllowThreads(__tstate
);
4911 if (PyErr_Occurred()) SWIG_fail
;
4913 Py_INCREF(Py_None
); resultobj
= Py_None
;
4928 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4929 PyObject
*resultobj
;
4930 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4932 PyObject
* obj0
= 0 ;
4933 PyObject
* obj1
= 0 ;
4935 (char *) "self",(char *) "editable", NULL
4938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
4939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4940 if (SWIG_arg_fail(1)) SWIG_fail
;
4942 arg2
= (bool)(SWIG_As_bool(obj1
));
4943 if (SWIG_arg_fail(2)) SWIG_fail
;
4946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4947 (arg1
)->SetEditable(arg2
);
4949 wxPyEndAllowThreads(__tstate
);
4950 if (PyErr_Occurred()) SWIG_fail
;
4952 Py_INCREF(Py_None
); resultobj
= Py_None
;
4959 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4960 PyObject
*resultobj
;
4961 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4962 PyObject
* obj0
= 0 ;
4964 (char *) "self", NULL
4967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
4968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4969 if (SWIG_arg_fail(1)) SWIG_fail
;
4971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4972 (arg1
)->SetInsertionPointEnd();
4974 wxPyEndAllowThreads(__tstate
);
4975 if (PyErr_Occurred()) SWIG_fail
;
4977 Py_INCREF(Py_None
); resultobj
= Py_None
;
4984 static PyObject
*_wrap_ComboBox_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4985 PyObject
*resultobj
;
4986 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4989 PyObject
* obj0
= 0 ;
4990 PyObject
* obj1
= 0 ;
4991 PyObject
* obj2
= 0 ;
4993 (char *) "self",(char *) "from",(char *) "to", NULL
4996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4998 if (SWIG_arg_fail(1)) SWIG_fail
;
5000 arg2
= (long)(SWIG_As_long(obj1
));
5001 if (SWIG_arg_fail(2)) SWIG_fail
;
5004 arg3
= (long)(SWIG_As_long(obj2
));
5005 if (SWIG_arg_fail(3)) SWIG_fail
;
5008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5009 (arg1
)->Remove(arg2
,arg3
);
5011 wxPyEndAllowThreads(__tstate
);
5012 if (PyErr_Occurred()) SWIG_fail
;
5014 Py_INCREF(Py_None
); resultobj
= Py_None
;
5021 static PyObject
*_wrap_ComboBox_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5022 PyObject
*resultobj
;
5023 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5025 PyObject
* obj0
= 0 ;
5027 (char *) "self", NULL
5030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_IsEditable",kwnames
,&obj0
)) goto fail
;
5031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5032 if (SWIG_arg_fail(1)) SWIG_fail
;
5034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5035 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
5037 wxPyEndAllowThreads(__tstate
);
5038 if (PyErr_Occurred()) SWIG_fail
;
5041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5049 static PyObject
*_wrap_ComboBox_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5050 PyObject
*resultobj
;
5051 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5052 PyObject
* obj0
= 0 ;
5054 (char *) "self", NULL
5057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Undo",kwnames
,&obj0
)) goto fail
;
5058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5059 if (SWIG_arg_fail(1)) SWIG_fail
;
5061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5064 wxPyEndAllowThreads(__tstate
);
5065 if (PyErr_Occurred()) SWIG_fail
;
5067 Py_INCREF(Py_None
); resultobj
= Py_None
;
5074 static PyObject
*_wrap_ComboBox_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5075 PyObject
*resultobj
;
5076 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5077 PyObject
* obj0
= 0 ;
5079 (char *) "self", NULL
5082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Redo",kwnames
,&obj0
)) goto fail
;
5083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5084 if (SWIG_arg_fail(1)) SWIG_fail
;
5086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5089 wxPyEndAllowThreads(__tstate
);
5090 if (PyErr_Occurred()) SWIG_fail
;
5092 Py_INCREF(Py_None
); resultobj
= Py_None
;
5099 static PyObject
*_wrap_ComboBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5100 PyObject
*resultobj
;
5101 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5102 PyObject
* obj0
= 0 ;
5104 (char *) "self", NULL
5107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SelectAll",kwnames
,&obj0
)) goto fail
;
5108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5109 if (SWIG_arg_fail(1)) SWIG_fail
;
5111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5112 (arg1
)->SelectAll();
5114 wxPyEndAllowThreads(__tstate
);
5115 if (PyErr_Occurred()) SWIG_fail
;
5117 Py_INCREF(Py_None
); resultobj
= Py_None
;
5124 static PyObject
*_wrap_ComboBox_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5125 PyObject
*resultobj
;
5126 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5128 PyObject
* obj0
= 0 ;
5130 (char *) "self", NULL
5133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanCopy",kwnames
,&obj0
)) goto fail
;
5134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5135 if (SWIG_arg_fail(1)) SWIG_fail
;
5137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5138 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
5140 wxPyEndAllowThreads(__tstate
);
5141 if (PyErr_Occurred()) SWIG_fail
;
5144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5152 static PyObject
*_wrap_ComboBox_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5153 PyObject
*resultobj
;
5154 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5156 PyObject
* obj0
= 0 ;
5158 (char *) "self", NULL
5161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanCut",kwnames
,&obj0
)) goto fail
;
5162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5163 if (SWIG_arg_fail(1)) SWIG_fail
;
5165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5166 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
5168 wxPyEndAllowThreads(__tstate
);
5169 if (PyErr_Occurred()) SWIG_fail
;
5172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5180 static PyObject
*_wrap_ComboBox_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5181 PyObject
*resultobj
;
5182 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5184 PyObject
* obj0
= 0 ;
5186 (char *) "self", NULL
5189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanPaste",kwnames
,&obj0
)) goto fail
;
5190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5191 if (SWIG_arg_fail(1)) SWIG_fail
;
5193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5194 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
5196 wxPyEndAllowThreads(__tstate
);
5197 if (PyErr_Occurred()) SWIG_fail
;
5200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5208 static PyObject
*_wrap_ComboBox_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5209 PyObject
*resultobj
;
5210 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5212 PyObject
* obj0
= 0 ;
5214 (char *) "self", NULL
5217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanUndo",kwnames
,&obj0
)) goto fail
;
5218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5219 if (SWIG_arg_fail(1)) SWIG_fail
;
5221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5222 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
5224 wxPyEndAllowThreads(__tstate
);
5225 if (PyErr_Occurred()) SWIG_fail
;
5228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5236 static PyObject
*_wrap_ComboBox_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5237 PyObject
*resultobj
;
5238 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5240 PyObject
* obj0
= 0 ;
5242 (char *) "self", NULL
5245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanRedo",kwnames
,&obj0
)) goto fail
;
5246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5247 if (SWIG_arg_fail(1)) SWIG_fail
;
5249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5250 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
5252 wxPyEndAllowThreads(__tstate
);
5253 if (PyErr_Occurred()) SWIG_fail
;
5256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5264 static PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5265 PyObject
*resultobj
;
5266 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5267 wxVisualAttributes result
;
5268 PyObject
* obj0
= 0 ;
5270 (char *) "variant", NULL
5273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5276 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
5277 if (SWIG_arg_fail(1)) SWIG_fail
;
5281 if (!wxPyCheckForApp()) SWIG_fail
;
5282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5283 result
= wxComboBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5285 wxPyEndAllowThreads(__tstate
);
5286 if (PyErr_Occurred()) SWIG_fail
;
5289 wxVisualAttributes
* resultptr
;
5290 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
5291 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5299 static PyObject
* ComboBox_swigregister(PyObject
*, PyObject
*args
) {
5301 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5302 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
5304 return Py_BuildValue((char *)"");
5306 static int _wrap_GaugeNameStr_set(PyObject
*) {
5307 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
5312 static PyObject
*_wrap_GaugeNameStr_get(void) {
5317 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
5319 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
5326 static PyObject
*_wrap_new_Gauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5327 PyObject
*resultobj
;
5328 wxWindow
*arg1
= (wxWindow
*) 0 ;
5329 int arg2
= (int) -1 ;
5330 int arg3
= (int) 100 ;
5331 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5332 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5333 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5334 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5335 long arg6
= (long) wxGA_HORIZONTAL
;
5336 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5337 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5338 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
5339 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5343 bool temp8
= false ;
5344 PyObject
* obj0
= 0 ;
5345 PyObject
* obj1
= 0 ;
5346 PyObject
* obj2
= 0 ;
5347 PyObject
* obj3
= 0 ;
5348 PyObject
* obj4
= 0 ;
5349 PyObject
* obj5
= 0 ;
5350 PyObject
* obj6
= 0 ;
5351 PyObject
* obj7
= 0 ;
5353 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5358 if (SWIG_arg_fail(1)) SWIG_fail
;
5361 arg2
= (int)(SWIG_As_int(obj1
));
5362 if (SWIG_arg_fail(2)) SWIG_fail
;
5367 arg3
= (int)(SWIG_As_int(obj2
));
5368 if (SWIG_arg_fail(3)) SWIG_fail
;
5374 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5380 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5385 arg6
= (long)(SWIG_As_long(obj5
));
5386 if (SWIG_arg_fail(6)) SWIG_fail
;
5391 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
5392 if (SWIG_arg_fail(7)) SWIG_fail
;
5394 SWIG_null_ref("wxValidator");
5396 if (SWIG_arg_fail(7)) SWIG_fail
;
5401 arg8
= wxString_in_helper(obj7
);
5402 if (arg8
== NULL
) SWIG_fail
;
5407 if (!wxPyCheckForApp()) SWIG_fail
;
5408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5409 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5411 wxPyEndAllowThreads(__tstate
);
5412 if (PyErr_Occurred()) SWIG_fail
;
5414 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
5429 static PyObject
*_wrap_new_PreGauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5430 PyObject
*resultobj
;
5436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
5438 if (!wxPyCheckForApp()) SWIG_fail
;
5439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5440 result
= (wxGauge
*)new wxGauge();
5442 wxPyEndAllowThreads(__tstate
);
5443 if (PyErr_Occurred()) SWIG_fail
;
5445 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
5452 static PyObject
*_wrap_Gauge_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5453 PyObject
*resultobj
;
5454 wxGauge
*arg1
= (wxGauge
*) 0 ;
5455 wxWindow
*arg2
= (wxWindow
*) 0 ;
5456 int arg3
= (int) -1 ;
5457 int arg4
= (int) 100 ;
5458 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5459 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5460 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5461 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5462 long arg7
= (long) wxGA_HORIZONTAL
;
5463 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5464 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5465 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
5466 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5470 bool temp9
= false ;
5471 PyObject
* obj0
= 0 ;
5472 PyObject
* obj1
= 0 ;
5473 PyObject
* obj2
= 0 ;
5474 PyObject
* obj3
= 0 ;
5475 PyObject
* obj4
= 0 ;
5476 PyObject
* obj5
= 0 ;
5477 PyObject
* obj6
= 0 ;
5478 PyObject
* obj7
= 0 ;
5479 PyObject
* obj8
= 0 ;
5481 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5486 if (SWIG_arg_fail(1)) SWIG_fail
;
5487 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5488 if (SWIG_arg_fail(2)) SWIG_fail
;
5491 arg3
= (int)(SWIG_As_int(obj2
));
5492 if (SWIG_arg_fail(3)) SWIG_fail
;
5497 arg4
= (int)(SWIG_As_int(obj3
));
5498 if (SWIG_arg_fail(4)) SWIG_fail
;
5504 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5510 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5515 arg7
= (long)(SWIG_As_long(obj6
));
5516 if (SWIG_arg_fail(7)) SWIG_fail
;
5521 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
5522 if (SWIG_arg_fail(8)) SWIG_fail
;
5524 SWIG_null_ref("wxValidator");
5526 if (SWIG_arg_fail(8)) SWIG_fail
;
5531 arg9
= wxString_in_helper(obj8
);
5532 if (arg9
== NULL
) SWIG_fail
;
5537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5538 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5540 wxPyEndAllowThreads(__tstate
);
5541 if (PyErr_Occurred()) SWIG_fail
;
5544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5560 static PyObject
*_wrap_Gauge_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5561 PyObject
*resultobj
;
5562 wxGauge
*arg1
= (wxGauge
*) 0 ;
5564 PyObject
* obj0
= 0 ;
5565 PyObject
* obj1
= 0 ;
5567 (char *) "self",(char *) "range", NULL
5570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
5571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5572 if (SWIG_arg_fail(1)) SWIG_fail
;
5574 arg2
= (int)(SWIG_As_int(obj1
));
5575 if (SWIG_arg_fail(2)) SWIG_fail
;
5578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5579 (arg1
)->SetRange(arg2
);
5581 wxPyEndAllowThreads(__tstate
);
5582 if (PyErr_Occurred()) SWIG_fail
;
5584 Py_INCREF(Py_None
); resultobj
= Py_None
;
5591 static PyObject
*_wrap_Gauge_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5592 PyObject
*resultobj
;
5593 wxGauge
*arg1
= (wxGauge
*) 0 ;
5595 PyObject
* obj0
= 0 ;
5597 (char *) "self", NULL
5600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
5601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5602 if (SWIG_arg_fail(1)) SWIG_fail
;
5604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5605 result
= (int)((wxGauge
const *)arg1
)->GetRange();
5607 wxPyEndAllowThreads(__tstate
);
5608 if (PyErr_Occurred()) SWIG_fail
;
5611 resultobj
= SWIG_From_int((int)(result
));
5619 static PyObject
*_wrap_Gauge_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5620 PyObject
*resultobj
;
5621 wxGauge
*arg1
= (wxGauge
*) 0 ;
5623 PyObject
* obj0
= 0 ;
5624 PyObject
* obj1
= 0 ;
5626 (char *) "self",(char *) "pos", NULL
5629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
5630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5631 if (SWIG_arg_fail(1)) SWIG_fail
;
5633 arg2
= (int)(SWIG_As_int(obj1
));
5634 if (SWIG_arg_fail(2)) SWIG_fail
;
5637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5638 (arg1
)->SetValue(arg2
);
5640 wxPyEndAllowThreads(__tstate
);
5641 if (PyErr_Occurred()) SWIG_fail
;
5643 Py_INCREF(Py_None
); resultobj
= Py_None
;
5650 static PyObject
*_wrap_Gauge_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5651 PyObject
*resultobj
;
5652 wxGauge
*arg1
= (wxGauge
*) 0 ;
5654 PyObject
* obj0
= 0 ;
5656 (char *) "self", NULL
5659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
5660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5661 if (SWIG_arg_fail(1)) SWIG_fail
;
5663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5664 result
= (int)((wxGauge
const *)arg1
)->GetValue();
5666 wxPyEndAllowThreads(__tstate
);
5667 if (PyErr_Occurred()) SWIG_fail
;
5670 resultobj
= SWIG_From_int((int)(result
));
5678 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5679 PyObject
*resultobj
;
5680 wxGauge
*arg1
= (wxGauge
*) 0 ;
5682 PyObject
* obj0
= 0 ;
5684 (char *) "self", NULL
5687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
5688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5689 if (SWIG_arg_fail(1)) SWIG_fail
;
5691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5692 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
5694 wxPyEndAllowThreads(__tstate
);
5695 if (PyErr_Occurred()) SWIG_fail
;
5698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5706 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5707 PyObject
*resultobj
;
5708 wxGauge
*arg1
= (wxGauge
*) 0 ;
5710 PyObject
* obj0
= 0 ;
5711 PyObject
* obj1
= 0 ;
5713 (char *) "self",(char *) "w", NULL
5716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5718 if (SWIG_arg_fail(1)) SWIG_fail
;
5720 arg2
= (int)(SWIG_As_int(obj1
));
5721 if (SWIG_arg_fail(2)) SWIG_fail
;
5724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5725 (arg1
)->SetShadowWidth(arg2
);
5727 wxPyEndAllowThreads(__tstate
);
5728 if (PyErr_Occurred()) SWIG_fail
;
5730 Py_INCREF(Py_None
); resultobj
= Py_None
;
5737 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5738 PyObject
*resultobj
;
5739 wxGauge
*arg1
= (wxGauge
*) 0 ;
5741 PyObject
* obj0
= 0 ;
5743 (char *) "self", NULL
5746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
5747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5748 if (SWIG_arg_fail(1)) SWIG_fail
;
5750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5751 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
5753 wxPyEndAllowThreads(__tstate
);
5754 if (PyErr_Occurred()) SWIG_fail
;
5757 resultobj
= SWIG_From_int((int)(result
));
5765 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5766 PyObject
*resultobj
;
5767 wxGauge
*arg1
= (wxGauge
*) 0 ;
5769 PyObject
* obj0
= 0 ;
5770 PyObject
* obj1
= 0 ;
5772 (char *) "self",(char *) "w", NULL
5775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
5776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5777 if (SWIG_arg_fail(1)) SWIG_fail
;
5779 arg2
= (int)(SWIG_As_int(obj1
));
5780 if (SWIG_arg_fail(2)) SWIG_fail
;
5783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5784 (arg1
)->SetBezelFace(arg2
);
5786 wxPyEndAllowThreads(__tstate
);
5787 if (PyErr_Occurred()) SWIG_fail
;
5789 Py_INCREF(Py_None
); resultobj
= Py_None
;
5796 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5797 PyObject
*resultobj
;
5798 wxGauge
*arg1
= (wxGauge
*) 0 ;
5800 PyObject
* obj0
= 0 ;
5802 (char *) "self", NULL
5805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
5806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5807 if (SWIG_arg_fail(1)) SWIG_fail
;
5809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5810 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
5812 wxPyEndAllowThreads(__tstate
);
5813 if (PyErr_Occurred()) SWIG_fail
;
5816 resultobj
= SWIG_From_int((int)(result
));
5824 static PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5825 PyObject
*resultobj
;
5826 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5827 wxVisualAttributes result
;
5828 PyObject
* obj0
= 0 ;
5830 (char *) "variant", NULL
5833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5836 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
5837 if (SWIG_arg_fail(1)) SWIG_fail
;
5841 if (!wxPyCheckForApp()) SWIG_fail
;
5842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5843 result
= wxGauge::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5845 wxPyEndAllowThreads(__tstate
);
5846 if (PyErr_Occurred()) SWIG_fail
;
5849 wxVisualAttributes
* resultptr
;
5850 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
5851 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5859 static PyObject
* Gauge_swigregister(PyObject
*, PyObject
*args
) {
5861 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5862 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
5864 return Py_BuildValue((char *)"");
5866 static int _wrap_StaticBitmapNameStr_set(PyObject
*) {
5867 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
5872 static PyObject
*_wrap_StaticBitmapNameStr_get(void) {
5877 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
5879 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
5886 static int _wrap_StaticBoxNameStr_set(PyObject
*) {
5887 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
5892 static PyObject
*_wrap_StaticBoxNameStr_get(void) {
5897 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
5899 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
5906 static int _wrap_StaticTextNameStr_set(PyObject
*) {
5907 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
5912 static PyObject
*_wrap_StaticTextNameStr_get(void) {
5917 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
5919 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
5926 static PyObject
*_wrap_new_StaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5927 PyObject
*resultobj
;
5928 wxWindow
*arg1
= (wxWindow
*) 0 ;
5929 int arg2
= (int) -1 ;
5930 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5931 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5932 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5933 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5934 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5935 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5936 long arg6
= (long) 0 ;
5937 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
5938 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5939 wxStaticBox
*result
;
5940 bool temp3
= false ;
5943 bool temp7
= false ;
5944 PyObject
* obj0
= 0 ;
5945 PyObject
* obj1
= 0 ;
5946 PyObject
* obj2
= 0 ;
5947 PyObject
* obj3
= 0 ;
5948 PyObject
* obj4
= 0 ;
5949 PyObject
* obj5
= 0 ;
5950 PyObject
* obj6
= 0 ;
5952 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5957 if (SWIG_arg_fail(1)) SWIG_fail
;
5960 arg2
= (int)(SWIG_As_int(obj1
));
5961 if (SWIG_arg_fail(2)) SWIG_fail
;
5966 arg3
= wxString_in_helper(obj2
);
5967 if (arg3
== NULL
) SWIG_fail
;
5974 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5980 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5985 arg6
= (long)(SWIG_As_long(obj5
));
5986 if (SWIG_arg_fail(6)) SWIG_fail
;
5991 arg7
= wxString_in_helper(obj6
);
5992 if (arg7
== NULL
) SWIG_fail
;
5997 if (!wxPyCheckForApp()) SWIG_fail
;
5998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5999 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6001 wxPyEndAllowThreads(__tstate
);
6002 if (PyErr_Occurred()) SWIG_fail
;
6004 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
6027 static PyObject
*_wrap_new_PreStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6028 PyObject
*resultobj
;
6029 wxStaticBox
*result
;
6034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
6036 if (!wxPyCheckForApp()) SWIG_fail
;
6037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6038 result
= (wxStaticBox
*)new wxStaticBox();
6040 wxPyEndAllowThreads(__tstate
);
6041 if (PyErr_Occurred()) SWIG_fail
;
6043 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
6050 static PyObject
*_wrap_StaticBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6051 PyObject
*resultobj
;
6052 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
6053 wxWindow
*arg2
= (wxWindow
*) 0 ;
6054 int arg3
= (int) -1 ;
6055 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6056 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6057 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6058 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6059 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6060 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6061 long arg7
= (long) 0 ;
6062 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
6063 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6065 bool temp4
= false ;
6068 bool temp8
= false ;
6069 PyObject
* obj0
= 0 ;
6070 PyObject
* obj1
= 0 ;
6071 PyObject
* obj2
= 0 ;
6072 PyObject
* obj3
= 0 ;
6073 PyObject
* obj4
= 0 ;
6074 PyObject
* obj5
= 0 ;
6075 PyObject
* obj6
= 0 ;
6076 PyObject
* obj7
= 0 ;
6078 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
6083 if (SWIG_arg_fail(1)) SWIG_fail
;
6084 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6085 if (SWIG_arg_fail(2)) SWIG_fail
;
6088 arg3
= (int)(SWIG_As_int(obj2
));
6089 if (SWIG_arg_fail(3)) SWIG_fail
;
6094 arg4
= wxString_in_helper(obj3
);
6095 if (arg4
== NULL
) SWIG_fail
;
6102 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6108 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6113 arg7
= (long)(SWIG_As_long(obj6
));
6114 if (SWIG_arg_fail(7)) SWIG_fail
;
6119 arg8
= wxString_in_helper(obj7
);
6120 if (arg8
== NULL
) SWIG_fail
;
6125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6126 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6128 wxPyEndAllowThreads(__tstate
);
6129 if (PyErr_Occurred()) SWIG_fail
;
6132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6156 static PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6157 PyObject
*resultobj
;
6158 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6159 wxVisualAttributes result
;
6160 PyObject
* obj0
= 0 ;
6162 (char *) "variant", NULL
6165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6168 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6169 if (SWIG_arg_fail(1)) SWIG_fail
;
6173 if (!wxPyCheckForApp()) SWIG_fail
;
6174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6175 result
= wxStaticBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6177 wxPyEndAllowThreads(__tstate
);
6178 if (PyErr_Occurred()) SWIG_fail
;
6181 wxVisualAttributes
* resultptr
;
6182 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6183 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6191 static PyObject
* StaticBox_swigregister(PyObject
*, PyObject
*args
) {
6193 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6194 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
6196 return Py_BuildValue((char *)"");
6198 static PyObject
*_wrap_new_StaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6199 PyObject
*resultobj
;
6200 wxWindow
*arg1
= (wxWindow
*) 0 ;
6201 int arg2
= (int) -1 ;
6202 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6203 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6204 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6205 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6206 long arg5
= (long) wxLI_HORIZONTAL
;
6207 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
6208 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6209 wxStaticLine
*result
;
6212 bool temp6
= false ;
6213 PyObject
* obj0
= 0 ;
6214 PyObject
* obj1
= 0 ;
6215 PyObject
* obj2
= 0 ;
6216 PyObject
* obj3
= 0 ;
6217 PyObject
* obj4
= 0 ;
6218 PyObject
* obj5
= 0 ;
6220 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6225 if (SWIG_arg_fail(1)) SWIG_fail
;
6228 arg2
= (int)(SWIG_As_int(obj1
));
6229 if (SWIG_arg_fail(2)) SWIG_fail
;
6235 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6241 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6246 arg5
= (long)(SWIG_As_long(obj4
));
6247 if (SWIG_arg_fail(5)) SWIG_fail
;
6252 arg6
= wxString_in_helper(obj5
);
6253 if (arg6
== NULL
) SWIG_fail
;
6258 if (!wxPyCheckForApp()) SWIG_fail
;
6259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6260 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6262 wxPyEndAllowThreads(__tstate
);
6263 if (PyErr_Occurred()) SWIG_fail
;
6265 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
6280 static PyObject
*_wrap_new_PreStaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6281 PyObject
*resultobj
;
6282 wxStaticLine
*result
;
6287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
6289 if (!wxPyCheckForApp()) SWIG_fail
;
6290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6291 result
= (wxStaticLine
*)new wxStaticLine();
6293 wxPyEndAllowThreads(__tstate
);
6294 if (PyErr_Occurred()) SWIG_fail
;
6296 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
6303 static PyObject
*_wrap_StaticLine_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6304 PyObject
*resultobj
;
6305 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
6306 wxWindow
*arg2
= (wxWindow
*) 0 ;
6307 int arg3
= (int) -1 ;
6308 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6309 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6310 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6311 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6312 long arg6
= (long) wxLI_HORIZONTAL
;
6313 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
6314 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6318 bool temp7
= false ;
6319 PyObject
* obj0
= 0 ;
6320 PyObject
* obj1
= 0 ;
6321 PyObject
* obj2
= 0 ;
6322 PyObject
* obj3
= 0 ;
6323 PyObject
* obj4
= 0 ;
6324 PyObject
* obj5
= 0 ;
6325 PyObject
* obj6
= 0 ;
6327 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_EXCEPTION
| 0);
6332 if (SWIG_arg_fail(1)) SWIG_fail
;
6333 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6334 if (SWIG_arg_fail(2)) SWIG_fail
;
6337 arg3
= (int)(SWIG_As_int(obj2
));
6338 if (SWIG_arg_fail(3)) SWIG_fail
;
6344 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6350 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6355 arg6
= (long)(SWIG_As_long(obj5
));
6356 if (SWIG_arg_fail(6)) SWIG_fail
;
6361 arg7
= wxString_in_helper(obj6
);
6362 if (arg7
== NULL
) SWIG_fail
;
6367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6368 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6370 wxPyEndAllowThreads(__tstate
);
6371 if (PyErr_Occurred()) SWIG_fail
;
6374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6390 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6391 PyObject
*resultobj
;
6392 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
6394 PyObject
* obj0
= 0 ;
6396 (char *) "self", NULL
6399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
6400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_EXCEPTION
| 0);
6401 if (SWIG_arg_fail(1)) SWIG_fail
;
6403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6404 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
6406 wxPyEndAllowThreads(__tstate
);
6407 if (PyErr_Occurred()) SWIG_fail
;
6410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6418 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6419 PyObject
*resultobj
;
6425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
6427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6428 result
= (int)wxStaticLine::GetDefaultSize();
6430 wxPyEndAllowThreads(__tstate
);
6431 if (PyErr_Occurred()) SWIG_fail
;
6434 resultobj
= SWIG_From_int((int)(result
));
6442 static PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6443 PyObject
*resultobj
;
6444 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6445 wxVisualAttributes result
;
6446 PyObject
* obj0
= 0 ;
6448 (char *) "variant", NULL
6451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6454 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6455 if (SWIG_arg_fail(1)) SWIG_fail
;
6459 if (!wxPyCheckForApp()) SWIG_fail
;
6460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6461 result
= wxStaticLine::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6463 wxPyEndAllowThreads(__tstate
);
6464 if (PyErr_Occurred()) SWIG_fail
;
6467 wxVisualAttributes
* resultptr
;
6468 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6469 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6477 static PyObject
* StaticLine_swigregister(PyObject
*, PyObject
*args
) {
6479 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6480 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
6482 return Py_BuildValue((char *)"");
6484 static PyObject
*_wrap_new_StaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6485 PyObject
*resultobj
;
6486 wxWindow
*arg1
= (wxWindow
*) 0 ;
6487 int arg2
= (int) -1 ;
6488 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6489 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6490 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6491 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6492 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6493 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6494 long arg6
= (long) 0 ;
6495 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
6496 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6497 wxStaticText
*result
;
6498 bool temp3
= false ;
6501 bool temp7
= false ;
6502 PyObject
* obj0
= 0 ;
6503 PyObject
* obj1
= 0 ;
6504 PyObject
* obj2
= 0 ;
6505 PyObject
* obj3
= 0 ;
6506 PyObject
* obj4
= 0 ;
6507 PyObject
* obj5
= 0 ;
6508 PyObject
* obj6
= 0 ;
6510 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6515 if (SWIG_arg_fail(1)) SWIG_fail
;
6518 arg2
= (int)(SWIG_As_int(obj1
));
6519 if (SWIG_arg_fail(2)) SWIG_fail
;
6524 arg3
= wxString_in_helper(obj2
);
6525 if (arg3
== NULL
) SWIG_fail
;
6532 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6538 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6543 arg6
= (long)(SWIG_As_long(obj5
));
6544 if (SWIG_arg_fail(6)) SWIG_fail
;
6549 arg7
= wxString_in_helper(obj6
);
6550 if (arg7
== NULL
) SWIG_fail
;
6555 if (!wxPyCheckForApp()) SWIG_fail
;
6556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6557 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6559 wxPyEndAllowThreads(__tstate
);
6560 if (PyErr_Occurred()) SWIG_fail
;
6562 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
6585 static PyObject
*_wrap_new_PreStaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6586 PyObject
*resultobj
;
6587 wxStaticText
*result
;
6592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
6594 if (!wxPyCheckForApp()) SWIG_fail
;
6595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6596 result
= (wxStaticText
*)new wxStaticText();
6598 wxPyEndAllowThreads(__tstate
);
6599 if (PyErr_Occurred()) SWIG_fail
;
6601 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
6608 static PyObject
*_wrap_StaticText_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6609 PyObject
*resultobj
;
6610 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
6611 wxWindow
*arg2
= (wxWindow
*) 0 ;
6612 int arg3
= (int) -1 ;
6613 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6614 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6615 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6616 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6617 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6618 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6619 long arg7
= (long) 0 ;
6620 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
6621 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6623 bool temp4
= false ;
6626 bool temp8
= false ;
6627 PyObject
* obj0
= 0 ;
6628 PyObject
* obj1
= 0 ;
6629 PyObject
* obj2
= 0 ;
6630 PyObject
* obj3
= 0 ;
6631 PyObject
* obj4
= 0 ;
6632 PyObject
* obj5
= 0 ;
6633 PyObject
* obj6
= 0 ;
6634 PyObject
* obj7
= 0 ;
6636 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticText
, SWIG_POINTER_EXCEPTION
| 0);
6641 if (SWIG_arg_fail(1)) SWIG_fail
;
6642 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6643 if (SWIG_arg_fail(2)) SWIG_fail
;
6646 arg3
= (int)(SWIG_As_int(obj2
));
6647 if (SWIG_arg_fail(3)) SWIG_fail
;
6652 arg4
= wxString_in_helper(obj3
);
6653 if (arg4
== NULL
) SWIG_fail
;
6660 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6666 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6671 arg7
= (long)(SWIG_As_long(obj6
));
6672 if (SWIG_arg_fail(7)) SWIG_fail
;
6677 arg8
= wxString_in_helper(obj7
);
6678 if (arg8
== NULL
) SWIG_fail
;
6683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6684 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6686 wxPyEndAllowThreads(__tstate
);
6687 if (PyErr_Occurred()) SWIG_fail
;
6690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6714 static PyObject
*_wrap_StaticText_Wrap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6715 PyObject
*resultobj
;
6716 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
6718 PyObject
* obj0
= 0 ;
6719 PyObject
* obj1
= 0 ;
6721 (char *) "self",(char *) "width", NULL
6724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) goto fail
;
6725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticText
, SWIG_POINTER_EXCEPTION
| 0);
6726 if (SWIG_arg_fail(1)) SWIG_fail
;
6728 arg2
= (int)(SWIG_As_int(obj1
));
6729 if (SWIG_arg_fail(2)) SWIG_fail
;
6732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6735 wxPyEndAllowThreads(__tstate
);
6736 if (PyErr_Occurred()) SWIG_fail
;
6738 Py_INCREF(Py_None
); resultobj
= Py_None
;
6745 static PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6746 PyObject
*resultobj
;
6747 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6748 wxVisualAttributes result
;
6749 PyObject
* obj0
= 0 ;
6751 (char *) "variant", NULL
6754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6757 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6758 if (SWIG_arg_fail(1)) SWIG_fail
;
6762 if (!wxPyCheckForApp()) SWIG_fail
;
6763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6764 result
= wxStaticText::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6766 wxPyEndAllowThreads(__tstate
);
6767 if (PyErr_Occurred()) SWIG_fail
;
6770 wxVisualAttributes
* resultptr
;
6771 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6772 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6780 static PyObject
* StaticText_swigregister(PyObject
*, PyObject
*args
) {
6782 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6783 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
6785 return Py_BuildValue((char *)"");
6787 static PyObject
*_wrap_new_StaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6788 PyObject
*resultobj
;
6789 wxWindow
*arg1
= (wxWindow
*) 0 ;
6790 int arg2
= (int) -1 ;
6791 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
6792 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
6793 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6794 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6795 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6796 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6797 long arg6
= (long) 0 ;
6798 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
6799 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6800 wxStaticBitmap
*result
;
6803 bool temp7
= false ;
6804 PyObject
* obj0
= 0 ;
6805 PyObject
* obj1
= 0 ;
6806 PyObject
* obj2
= 0 ;
6807 PyObject
* obj3
= 0 ;
6808 PyObject
* obj4
= 0 ;
6809 PyObject
* obj5
= 0 ;
6810 PyObject
* obj6
= 0 ;
6812 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6817 if (SWIG_arg_fail(1)) SWIG_fail
;
6820 arg2
= (int)(SWIG_As_int(obj1
));
6821 if (SWIG_arg_fail(2)) SWIG_fail
;
6826 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6827 if (SWIG_arg_fail(3)) SWIG_fail
;
6829 SWIG_null_ref("wxBitmap");
6831 if (SWIG_arg_fail(3)) SWIG_fail
;
6837 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6843 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6848 arg6
= (long)(SWIG_As_long(obj5
));
6849 if (SWIG_arg_fail(6)) SWIG_fail
;
6854 arg7
= wxString_in_helper(obj6
);
6855 if (arg7
== NULL
) SWIG_fail
;
6860 if (!wxPyCheckForApp()) SWIG_fail
;
6861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6862 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6864 wxPyEndAllowThreads(__tstate
);
6865 if (PyErr_Occurred()) SWIG_fail
;
6867 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
6882 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6883 PyObject
*resultobj
;
6884 wxStaticBitmap
*result
;
6889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
6891 if (!wxPyCheckForApp()) SWIG_fail
;
6892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6893 result
= (wxStaticBitmap
*)new wxStaticBitmap();
6895 wxPyEndAllowThreads(__tstate
);
6896 if (PyErr_Occurred()) SWIG_fail
;
6898 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
6905 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6906 PyObject
*resultobj
;
6907 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
6908 wxWindow
*arg2
= (wxWindow
*) 0 ;
6909 int arg3
= (int) -1 ;
6910 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
6911 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
6912 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6913 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6914 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6915 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6916 long arg7
= (long) 0 ;
6917 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
6918 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6922 bool temp8
= false ;
6923 PyObject
* obj0
= 0 ;
6924 PyObject
* obj1
= 0 ;
6925 PyObject
* obj2
= 0 ;
6926 PyObject
* obj3
= 0 ;
6927 PyObject
* obj4
= 0 ;
6928 PyObject
* obj5
= 0 ;
6929 PyObject
* obj6
= 0 ;
6930 PyObject
* obj7
= 0 ;
6932 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6937 if (SWIG_arg_fail(1)) SWIG_fail
;
6938 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6939 if (SWIG_arg_fail(2)) SWIG_fail
;
6942 arg3
= (int)(SWIG_As_int(obj2
));
6943 if (SWIG_arg_fail(3)) SWIG_fail
;
6948 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6949 if (SWIG_arg_fail(4)) SWIG_fail
;
6951 SWIG_null_ref("wxBitmap");
6953 if (SWIG_arg_fail(4)) SWIG_fail
;
6959 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6965 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6970 arg7
= (long)(SWIG_As_long(obj6
));
6971 if (SWIG_arg_fail(7)) SWIG_fail
;
6976 arg8
= wxString_in_helper(obj7
);
6977 if (arg8
== NULL
) SWIG_fail
;
6982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6983 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6985 wxPyEndAllowThreads(__tstate
);
6986 if (PyErr_Occurred()) SWIG_fail
;
6989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7005 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7006 PyObject
*resultobj
;
7007 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
7009 PyObject
* obj0
= 0 ;
7011 (char *) "self", NULL
7014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
7015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7016 if (SWIG_arg_fail(1)) SWIG_fail
;
7018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7019 result
= (arg1
)->GetBitmap();
7021 wxPyEndAllowThreads(__tstate
);
7022 if (PyErr_Occurred()) SWIG_fail
;
7025 wxBitmap
* resultptr
;
7026 resultptr
= new wxBitmap((wxBitmap
&)(result
));
7027 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
7035 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7036 PyObject
*resultobj
;
7037 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
7038 wxBitmap
*arg2
= 0 ;
7039 PyObject
* obj0
= 0 ;
7040 PyObject
* obj1
= 0 ;
7042 (char *) "self",(char *) "bitmap", NULL
7045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
7046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7047 if (SWIG_arg_fail(1)) SWIG_fail
;
7049 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7050 if (SWIG_arg_fail(2)) SWIG_fail
;
7052 SWIG_null_ref("wxBitmap");
7054 if (SWIG_arg_fail(2)) SWIG_fail
;
7057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7058 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
7060 wxPyEndAllowThreads(__tstate
);
7061 if (PyErr_Occurred()) SWIG_fail
;
7063 Py_INCREF(Py_None
); resultobj
= Py_None
;
7070 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7071 PyObject
*resultobj
;
7072 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
7074 PyObject
* obj0
= 0 ;
7075 PyObject
* obj1
= 0 ;
7077 (char *) "self",(char *) "icon", NULL
7080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
7081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7082 if (SWIG_arg_fail(1)) SWIG_fail
;
7084 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
7085 if (SWIG_arg_fail(2)) SWIG_fail
;
7087 SWIG_null_ref("wxIcon");
7089 if (SWIG_arg_fail(2)) SWIG_fail
;
7092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7093 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
7095 wxPyEndAllowThreads(__tstate
);
7096 if (PyErr_Occurred()) SWIG_fail
;
7098 Py_INCREF(Py_None
); resultobj
= Py_None
;
7105 static PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7106 PyObject
*resultobj
;
7107 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7108 wxVisualAttributes result
;
7109 PyObject
* obj0
= 0 ;
7111 (char *) "variant", NULL
7114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
7117 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
7118 if (SWIG_arg_fail(1)) SWIG_fail
;
7122 if (!wxPyCheckForApp()) SWIG_fail
;
7123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7124 result
= wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
7126 wxPyEndAllowThreads(__tstate
);
7127 if (PyErr_Occurred()) SWIG_fail
;
7130 wxVisualAttributes
* resultptr
;
7131 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
7132 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
7140 static PyObject
* StaticBitmap_swigregister(PyObject
*, PyObject
*args
) {
7142 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7143 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
7145 return Py_BuildValue((char *)"");
7147 static int _wrap_ListBoxNameStr_set(PyObject
*) {
7148 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
7153 static PyObject
*_wrap_ListBoxNameStr_get(void) {
7158 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
7160 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
7167 static PyObject
*_wrap_new_ListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7168 PyObject
*resultobj
;
7169 wxWindow
*arg1
= (wxWindow
*) 0 ;
7170 int arg2
= (int) -1 ;
7171 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7172 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7173 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7174 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7175 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
7176 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
7177 long arg6
= (long) 0 ;
7178 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7179 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7180 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
7181 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7185 bool temp5
= false ;
7186 bool temp8
= false ;
7187 PyObject
* obj0
= 0 ;
7188 PyObject
* obj1
= 0 ;
7189 PyObject
* obj2
= 0 ;
7190 PyObject
* obj3
= 0 ;
7191 PyObject
* obj4
= 0 ;
7192 PyObject
* obj5
= 0 ;
7193 PyObject
* obj6
= 0 ;
7194 PyObject
* obj7
= 0 ;
7196 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7201 if (SWIG_arg_fail(1)) SWIG_fail
;
7204 arg2
= (int)(SWIG_As_int(obj1
));
7205 if (SWIG_arg_fail(2)) SWIG_fail
;
7211 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7217 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7222 if (! PySequence_Check(obj4
)) {
7223 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7226 arg5
= new wxArrayString
;
7228 int i
, len
=PySequence_Length(obj4
);
7229 for (i
=0; i
<len
; i
++) {
7230 PyObject
* item
= PySequence_GetItem(obj4
, i
);
7231 wxString
* s
= wxString_in_helper(item
);
7232 if (PyErr_Occurred()) SWIG_fail
;
7241 arg6
= (long)(SWIG_As_long(obj5
));
7242 if (SWIG_arg_fail(6)) SWIG_fail
;
7247 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
7248 if (SWIG_arg_fail(7)) SWIG_fail
;
7250 SWIG_null_ref("wxValidator");
7252 if (SWIG_arg_fail(7)) SWIG_fail
;
7257 arg8
= wxString_in_helper(obj7
);
7258 if (arg8
== NULL
) SWIG_fail
;
7263 if (!wxPyCheckForApp()) SWIG_fail
;
7264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7265 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7267 wxPyEndAllowThreads(__tstate
);
7268 if (PyErr_Occurred()) SWIG_fail
;
7270 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
7272 if (temp5
) delete arg5
;
7281 if (temp5
) delete arg5
;
7291 static PyObject
*_wrap_new_PreListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7292 PyObject
*resultobj
;
7298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
7300 if (!wxPyCheckForApp()) SWIG_fail
;
7301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7302 result
= (wxListBox
*)new wxListBox();
7304 wxPyEndAllowThreads(__tstate
);
7305 if (PyErr_Occurred()) SWIG_fail
;
7307 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
7314 static PyObject
*_wrap_ListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7315 PyObject
*resultobj
;
7316 wxListBox
*arg1
= (wxListBox
*) 0 ;
7317 wxWindow
*arg2
= (wxWindow
*) 0 ;
7318 int arg3
= (int) -1 ;
7319 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7320 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7321 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7322 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7323 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
7324 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
7325 long arg7
= (long) 0 ;
7326 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
7327 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
7328 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
7329 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
7333 bool temp6
= false ;
7334 bool temp9
= false ;
7335 PyObject
* obj0
= 0 ;
7336 PyObject
* obj1
= 0 ;
7337 PyObject
* obj2
= 0 ;
7338 PyObject
* obj3
= 0 ;
7339 PyObject
* obj4
= 0 ;
7340 PyObject
* obj5
= 0 ;
7341 PyObject
* obj6
= 0 ;
7342 PyObject
* obj7
= 0 ;
7343 PyObject
* obj8
= 0 ;
7345 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
7349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7350 if (SWIG_arg_fail(1)) SWIG_fail
;
7351 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7352 if (SWIG_arg_fail(2)) SWIG_fail
;
7355 arg3
= (int)(SWIG_As_int(obj2
));
7356 if (SWIG_arg_fail(3)) SWIG_fail
;
7362 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7368 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7373 if (! PySequence_Check(obj5
)) {
7374 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7377 arg6
= new wxArrayString
;
7379 int i
, len
=PySequence_Length(obj5
);
7380 for (i
=0; i
<len
; i
++) {
7381 PyObject
* item
= PySequence_GetItem(obj5
, i
);
7382 wxString
* s
= wxString_in_helper(item
);
7383 if (PyErr_Occurred()) SWIG_fail
;
7392 arg7
= (long)(SWIG_As_long(obj6
));
7393 if (SWIG_arg_fail(7)) SWIG_fail
;
7398 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
7399 if (SWIG_arg_fail(8)) SWIG_fail
;
7401 SWIG_null_ref("wxValidator");
7403 if (SWIG_arg_fail(8)) SWIG_fail
;
7408 arg9
= wxString_in_helper(obj8
);
7409 if (arg9
== NULL
) SWIG_fail
;
7414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7415 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7417 wxPyEndAllowThreads(__tstate
);
7418 if (PyErr_Occurred()) SWIG_fail
;
7421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7424 if (temp6
) delete arg6
;
7433 if (temp6
) delete arg6
;
7443 static PyObject
*_wrap_ListBox_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7444 PyObject
*resultobj
;
7445 wxListBox
*arg1
= (wxListBox
*) 0 ;
7446 wxString
*arg2
= 0 ;
7448 PyObject
*arg4
= (PyObject
*) NULL
;
7449 bool temp2
= false ;
7450 PyObject
* obj0
= 0 ;
7451 PyObject
* obj1
= 0 ;
7452 PyObject
* obj2
= 0 ;
7453 PyObject
* obj3
= 0 ;
7455 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
7458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7460 if (SWIG_arg_fail(1)) SWIG_fail
;
7462 arg2
= wxString_in_helper(obj1
);
7463 if (arg2
== NULL
) SWIG_fail
;
7467 arg3
= (int)(SWIG_As_int(obj2
));
7468 if (SWIG_arg_fail(3)) SWIG_fail
;
7474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7475 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7477 wxPyEndAllowThreads(__tstate
);
7478 if (PyErr_Occurred()) SWIG_fail
;
7480 Py_INCREF(Py_None
); resultobj
= Py_None
;
7495 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7496 PyObject
*resultobj
;
7497 wxListBox
*arg1
= (wxListBox
*) 0 ;
7498 wxArrayString
*arg2
= 0 ;
7500 bool temp2
= false ;
7501 PyObject
* obj0
= 0 ;
7502 PyObject
* obj1
= 0 ;
7503 PyObject
* obj2
= 0 ;
7505 (char *) "self",(char *) "items",(char *) "pos", NULL
7508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7510 if (SWIG_arg_fail(1)) SWIG_fail
;
7512 if (! PySequence_Check(obj1
)) {
7513 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7516 arg2
= new wxArrayString
;
7518 int i
, len
=PySequence_Length(obj1
);
7519 for (i
=0; i
<len
; i
++) {
7520 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7521 wxString
* s
= wxString_in_helper(item
);
7522 if (PyErr_Occurred()) SWIG_fail
;
7529 arg3
= (int)(SWIG_As_int(obj2
));
7530 if (SWIG_arg_fail(3)) SWIG_fail
;
7533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7534 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
7536 wxPyEndAllowThreads(__tstate
);
7537 if (PyErr_Occurred()) SWIG_fail
;
7539 Py_INCREF(Py_None
); resultobj
= Py_None
;
7541 if (temp2
) delete arg2
;
7546 if (temp2
) delete arg2
;
7552 static PyObject
*_wrap_ListBox_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7553 PyObject
*resultobj
;
7554 wxListBox
*arg1
= (wxListBox
*) 0 ;
7555 wxArrayString
*arg2
= 0 ;
7556 bool temp2
= false ;
7557 PyObject
* obj0
= 0 ;
7558 PyObject
* obj1
= 0 ;
7560 (char *) "self",(char *) "items", NULL
7563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
7564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7565 if (SWIG_arg_fail(1)) SWIG_fail
;
7567 if (! PySequence_Check(obj1
)) {
7568 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7571 arg2
= new wxArrayString
;
7573 int i
, len
=PySequence_Length(obj1
);
7574 for (i
=0; i
<len
; i
++) {
7575 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7576 wxString
* s
= wxString_in_helper(item
);
7577 if (PyErr_Occurred()) SWIG_fail
;
7584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7585 (arg1
)->Set((wxArrayString
const &)*arg2
);
7587 wxPyEndAllowThreads(__tstate
);
7588 if (PyErr_Occurred()) SWIG_fail
;
7590 Py_INCREF(Py_None
); resultobj
= Py_None
;
7592 if (temp2
) delete arg2
;
7597 if (temp2
) delete arg2
;
7603 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7604 PyObject
*resultobj
;
7605 wxListBox
*arg1
= (wxListBox
*) 0 ;
7608 PyObject
* obj0
= 0 ;
7609 PyObject
* obj1
= 0 ;
7611 (char *) "self",(char *) "n", NULL
7614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
7615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7616 if (SWIG_arg_fail(1)) SWIG_fail
;
7618 arg2
= (int)(SWIG_As_int(obj1
));
7619 if (SWIG_arg_fail(2)) SWIG_fail
;
7622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7623 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
7625 wxPyEndAllowThreads(__tstate
);
7626 if (PyErr_Occurred()) SWIG_fail
;
7629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7637 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7638 PyObject
*resultobj
;
7639 wxListBox
*arg1
= (wxListBox
*) 0 ;
7641 bool arg3
= (bool) true ;
7642 PyObject
* obj0
= 0 ;
7643 PyObject
* obj1
= 0 ;
7644 PyObject
* obj2
= 0 ;
7646 (char *) "self",(char *) "n",(char *) "select", NULL
7649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7651 if (SWIG_arg_fail(1)) SWIG_fail
;
7653 arg2
= (int)(SWIG_As_int(obj1
));
7654 if (SWIG_arg_fail(2)) SWIG_fail
;
7658 arg3
= (bool)(SWIG_As_bool(obj2
));
7659 if (SWIG_arg_fail(3)) SWIG_fail
;
7663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7664 (arg1
)->SetSelection(arg2
,arg3
);
7666 wxPyEndAllowThreads(__tstate
);
7667 if (PyErr_Occurred()) SWIG_fail
;
7669 Py_INCREF(Py_None
); resultobj
= Py_None
;
7676 static PyObject
*_wrap_ListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7677 PyObject
*resultobj
;
7678 wxListBox
*arg1
= (wxListBox
*) 0 ;
7680 PyObject
* obj0
= 0 ;
7681 PyObject
* obj1
= 0 ;
7683 (char *) "self",(char *) "n", NULL
7686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) 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
;
7694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7695 (arg1
)->Select(arg2
);
7697 wxPyEndAllowThreads(__tstate
);
7698 if (PyErr_Occurred()) SWIG_fail
;
7700 Py_INCREF(Py_None
); resultobj
= Py_None
;
7707 static PyObject
*_wrap_ListBox_Deselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7708 PyObject
*resultobj
;
7709 wxListBox
*arg1
= (wxListBox
*) 0 ;
7711 PyObject
* obj0
= 0 ;
7712 PyObject
* obj1
= 0 ;
7714 (char *) "self",(char *) "n", NULL
7717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
7718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7719 if (SWIG_arg_fail(1)) SWIG_fail
;
7721 arg2
= (int)(SWIG_As_int(obj1
));
7722 if (SWIG_arg_fail(2)) SWIG_fail
;
7725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7726 (arg1
)->Deselect(arg2
);
7728 wxPyEndAllowThreads(__tstate
);
7729 if (PyErr_Occurred()) SWIG_fail
;
7731 Py_INCREF(Py_None
); resultobj
= Py_None
;
7738 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7739 PyObject
*resultobj
;
7740 wxListBox
*arg1
= (wxListBox
*) 0 ;
7741 int arg2
= (int) -1 ;
7742 PyObject
* obj0
= 0 ;
7743 PyObject
* obj1
= 0 ;
7745 (char *) "self",(char *) "itemToLeaveSelected", NULL
7748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
7749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7750 if (SWIG_arg_fail(1)) SWIG_fail
;
7753 arg2
= (int)(SWIG_As_int(obj1
));
7754 if (SWIG_arg_fail(2)) SWIG_fail
;
7758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7759 (arg1
)->DeselectAll(arg2
);
7761 wxPyEndAllowThreads(__tstate
);
7762 if (PyErr_Occurred()) SWIG_fail
;
7764 Py_INCREF(Py_None
); resultobj
= Py_None
;
7771 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7772 PyObject
*resultobj
;
7773 wxListBox
*arg1
= (wxListBox
*) 0 ;
7774 wxString
*arg2
= 0 ;
7775 bool arg3
= (bool) true ;
7777 bool temp2
= false ;
7778 PyObject
* obj0
= 0 ;
7779 PyObject
* obj1
= 0 ;
7780 PyObject
* obj2
= 0 ;
7782 (char *) "self",(char *) "s",(char *) "select", NULL
7785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7787 if (SWIG_arg_fail(1)) SWIG_fail
;
7789 arg2
= wxString_in_helper(obj1
);
7790 if (arg2
== NULL
) SWIG_fail
;
7795 arg3
= (bool)(SWIG_As_bool(obj2
));
7796 if (SWIG_arg_fail(3)) SWIG_fail
;
7800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7801 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
7803 wxPyEndAllowThreads(__tstate
);
7804 if (PyErr_Occurred()) SWIG_fail
;
7807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7823 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7824 PyObject
*resultobj
;
7825 wxListBox
*arg1
= (wxListBox
*) 0 ;
7827 PyObject
* obj0
= 0 ;
7829 (char *) "self", NULL
7832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
7833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7834 if (SWIG_arg_fail(1)) SWIG_fail
;
7836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7837 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
7839 wxPyEndAllowThreads(__tstate
);
7840 if (PyErr_Occurred()) SWIG_fail
;
7849 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7850 PyObject
*resultobj
;
7851 wxListBox
*arg1
= (wxListBox
*) 0 ;
7853 PyObject
* obj0
= 0 ;
7854 PyObject
* obj1
= 0 ;
7856 (char *) "self",(char *) "n", NULL
7859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
7860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7861 if (SWIG_arg_fail(1)) SWIG_fail
;
7863 arg2
= (int)(SWIG_As_int(obj1
));
7864 if (SWIG_arg_fail(2)) SWIG_fail
;
7867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7868 (arg1
)->SetFirstItem(arg2
);
7870 wxPyEndAllowThreads(__tstate
);
7871 if (PyErr_Occurred()) SWIG_fail
;
7873 Py_INCREF(Py_None
); resultobj
= Py_None
;
7880 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7881 PyObject
*resultobj
;
7882 wxListBox
*arg1
= (wxListBox
*) 0 ;
7883 wxString
*arg2
= 0 ;
7884 bool temp2
= false ;
7885 PyObject
* obj0
= 0 ;
7886 PyObject
* obj1
= 0 ;
7888 (char *) "self",(char *) "s", NULL
7891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
7892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7893 if (SWIG_arg_fail(1)) SWIG_fail
;
7895 arg2
= wxString_in_helper(obj1
);
7896 if (arg2
== NULL
) SWIG_fail
;
7900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7901 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
7903 wxPyEndAllowThreads(__tstate
);
7904 if (PyErr_Occurred()) SWIG_fail
;
7906 Py_INCREF(Py_None
); resultobj
= Py_None
;
7921 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7922 PyObject
*resultobj
;
7923 wxListBox
*arg1
= (wxListBox
*) 0 ;
7925 PyObject
* obj0
= 0 ;
7926 PyObject
* obj1
= 0 ;
7928 (char *) "self",(char *) "n", NULL
7931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
7932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7933 if (SWIG_arg_fail(1)) SWIG_fail
;
7935 arg2
= (int)(SWIG_As_int(obj1
));
7936 if (SWIG_arg_fail(2)) SWIG_fail
;
7939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7940 (arg1
)->EnsureVisible(arg2
);
7942 wxPyEndAllowThreads(__tstate
);
7943 if (PyErr_Occurred()) SWIG_fail
;
7945 Py_INCREF(Py_None
); resultobj
= Py_None
;
7952 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7953 PyObject
*resultobj
;
7954 wxListBox
*arg1
= (wxListBox
*) 0 ;
7955 wxString
*arg2
= 0 ;
7956 bool temp2
= false ;
7957 PyObject
* obj0
= 0 ;
7958 PyObject
* obj1
= 0 ;
7960 (char *) "self",(char *) "s", NULL
7963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
7964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7965 if (SWIG_arg_fail(1)) SWIG_fail
;
7967 arg2
= wxString_in_helper(obj1
);
7968 if (arg2
== NULL
) SWIG_fail
;
7972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7973 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
7975 wxPyEndAllowThreads(__tstate
);
7976 if (PyErr_Occurred()) SWIG_fail
;
7978 Py_INCREF(Py_None
); resultobj
= Py_None
;
7993 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7994 PyObject
*resultobj
;
7995 wxListBox
*arg1
= (wxListBox
*) 0 ;
7997 PyObject
* obj0
= 0 ;
7999 (char *) "self", NULL
8002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
8003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8004 if (SWIG_arg_fail(1)) SWIG_fail
;
8006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8007 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
8009 wxPyEndAllowThreads(__tstate
);
8010 if (PyErr_Occurred()) SWIG_fail
;
8013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8021 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8022 PyObject
*resultobj
;
8023 wxListBox
*arg1
= (wxListBox
*) 0 ;
8025 wxColour
*arg3
= 0 ;
8027 PyObject
* obj0
= 0 ;
8028 PyObject
* obj1
= 0 ;
8029 PyObject
* obj2
= 0 ;
8031 (char *) "self",(char *) "item",(char *) "c", NULL
8034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8036 if (SWIG_arg_fail(1)) SWIG_fail
;
8038 arg2
= (int)(SWIG_As_int(obj1
));
8039 if (SWIG_arg_fail(2)) SWIG_fail
;
8043 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8047 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
8049 wxPyEndAllowThreads(__tstate
);
8050 if (PyErr_Occurred()) SWIG_fail
;
8052 Py_INCREF(Py_None
); resultobj
= Py_None
;
8059 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8060 PyObject
*resultobj
;
8061 wxListBox
*arg1
= (wxListBox
*) 0 ;
8063 wxColour
*arg3
= 0 ;
8065 PyObject
* obj0
= 0 ;
8066 PyObject
* obj1
= 0 ;
8067 PyObject
* obj2
= 0 ;
8069 (char *) "self",(char *) "item",(char *) "c", NULL
8072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8074 if (SWIG_arg_fail(1)) SWIG_fail
;
8076 arg2
= (int)(SWIG_As_int(obj1
));
8077 if (SWIG_arg_fail(2)) SWIG_fail
;
8081 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8085 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
8087 wxPyEndAllowThreads(__tstate
);
8088 if (PyErr_Occurred()) SWIG_fail
;
8090 Py_INCREF(Py_None
); resultobj
= Py_None
;
8097 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8098 PyObject
*resultobj
;
8099 wxListBox
*arg1
= (wxListBox
*) 0 ;
8102 PyObject
* obj0
= 0 ;
8103 PyObject
* obj1
= 0 ;
8104 PyObject
* obj2
= 0 ;
8106 (char *) "self",(char *) "item",(char *) "f", NULL
8109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",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
;
8117 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8118 if (SWIG_arg_fail(3)) SWIG_fail
;
8120 SWIG_null_ref("wxFont");
8122 if (SWIG_arg_fail(3)) SWIG_fail
;
8125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8126 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
8128 wxPyEndAllowThreads(__tstate
);
8129 if (PyErr_Occurred()) SWIG_fail
;
8131 Py_INCREF(Py_None
); resultobj
= Py_None
;
8138 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8139 PyObject
*resultobj
;
8140 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8141 wxVisualAttributes result
;
8142 PyObject
* obj0
= 0 ;
8144 (char *) "variant", NULL
8147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
8150 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
8151 if (SWIG_arg_fail(1)) SWIG_fail
;
8155 if (!wxPyCheckForApp()) SWIG_fail
;
8156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8157 result
= wxListBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
8159 wxPyEndAllowThreads(__tstate
);
8160 if (PyErr_Occurred()) SWIG_fail
;
8163 wxVisualAttributes
* resultptr
;
8164 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
8165 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
8173 static PyObject
* ListBox_swigregister(PyObject
*, PyObject
*args
) {
8175 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8176 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
8178 return Py_BuildValue((char *)"");
8180 static PyObject
*_wrap_new_CheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8181 PyObject
*resultobj
;
8182 wxWindow
*arg1
= (wxWindow
*) 0 ;
8183 int arg2
= (int) -1 ;
8184 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8185 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8186 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8187 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8188 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8189 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8190 long arg6
= (long) 0 ;
8191 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8192 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8193 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8194 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8195 wxCheckListBox
*result
;
8198 bool temp5
= false ;
8199 bool temp8
= false ;
8200 PyObject
* obj0
= 0 ;
8201 PyObject
* obj1
= 0 ;
8202 PyObject
* obj2
= 0 ;
8203 PyObject
* obj3
= 0 ;
8204 PyObject
* obj4
= 0 ;
8205 PyObject
* obj5
= 0 ;
8206 PyObject
* obj6
= 0 ;
8207 PyObject
* obj7
= 0 ;
8209 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
8213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8214 if (SWIG_arg_fail(1)) SWIG_fail
;
8217 arg2
= (int)(SWIG_As_int(obj1
));
8218 if (SWIG_arg_fail(2)) SWIG_fail
;
8224 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8230 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8235 if (! PySequence_Check(obj4
)) {
8236 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8239 arg5
= new wxArrayString
;
8241 int i
, len
=PySequence_Length(obj4
);
8242 for (i
=0; i
<len
; i
++) {
8243 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8244 wxString
* s
= wxString_in_helper(item
);
8245 if (PyErr_Occurred()) SWIG_fail
;
8254 arg6
= (long)(SWIG_As_long(obj5
));
8255 if (SWIG_arg_fail(6)) SWIG_fail
;
8260 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
8261 if (SWIG_arg_fail(7)) SWIG_fail
;
8263 SWIG_null_ref("wxValidator");
8265 if (SWIG_arg_fail(7)) SWIG_fail
;
8270 arg8
= wxString_in_helper(obj7
);
8271 if (arg8
== NULL
) SWIG_fail
;
8276 if (!wxPyCheckForApp()) SWIG_fail
;
8277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8278 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8280 wxPyEndAllowThreads(__tstate
);
8281 if (PyErr_Occurred()) SWIG_fail
;
8283 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
8285 if (temp5
) delete arg5
;
8294 if (temp5
) delete arg5
;
8304 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8305 PyObject
*resultobj
;
8306 wxCheckListBox
*result
;
8311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
8313 if (!wxPyCheckForApp()) SWIG_fail
;
8314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8315 result
= (wxCheckListBox
*)new wxCheckListBox();
8317 wxPyEndAllowThreads(__tstate
);
8318 if (PyErr_Occurred()) SWIG_fail
;
8320 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
8327 static PyObject
*_wrap_CheckListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8328 PyObject
*resultobj
;
8329 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8330 wxWindow
*arg2
= (wxWindow
*) 0 ;
8331 int arg3
= (int) -1 ;
8332 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8333 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8334 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8335 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8336 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8337 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8338 long arg7
= (long) 0 ;
8339 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8340 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8341 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8342 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8346 bool temp6
= false ;
8347 bool temp9
= false ;
8348 PyObject
* obj0
= 0 ;
8349 PyObject
* obj1
= 0 ;
8350 PyObject
* obj2
= 0 ;
8351 PyObject
* obj3
= 0 ;
8352 PyObject
* obj4
= 0 ;
8353 PyObject
* obj5
= 0 ;
8354 PyObject
* obj6
= 0 ;
8355 PyObject
* obj7
= 0 ;
8356 PyObject
* obj8
= 0 ;
8358 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
8362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8363 if (SWIG_arg_fail(1)) SWIG_fail
;
8364 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8365 if (SWIG_arg_fail(2)) SWIG_fail
;
8368 arg3
= (int)(SWIG_As_int(obj2
));
8369 if (SWIG_arg_fail(3)) SWIG_fail
;
8375 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8381 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8386 if (! PySequence_Check(obj5
)) {
8387 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8390 arg6
= new wxArrayString
;
8392 int i
, len
=PySequence_Length(obj5
);
8393 for (i
=0; i
<len
; i
++) {
8394 PyObject
* item
= PySequence_GetItem(obj5
, i
);
8395 wxString
* s
= wxString_in_helper(item
);
8396 if (PyErr_Occurred()) SWIG_fail
;
8405 arg7
= (long)(SWIG_As_long(obj6
));
8406 if (SWIG_arg_fail(7)) SWIG_fail
;
8411 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
8412 if (SWIG_arg_fail(8)) SWIG_fail
;
8414 SWIG_null_ref("wxValidator");
8416 if (SWIG_arg_fail(8)) SWIG_fail
;
8421 arg9
= wxString_in_helper(obj8
);
8422 if (arg9
== NULL
) SWIG_fail
;
8427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8428 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
8430 wxPyEndAllowThreads(__tstate
);
8431 if (PyErr_Occurred()) SWIG_fail
;
8434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8437 if (temp6
) delete arg6
;
8446 if (temp6
) delete arg6
;
8456 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8457 PyObject
*resultobj
;
8458 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8461 PyObject
* obj0
= 0 ;
8462 PyObject
* obj1
= 0 ;
8464 (char *) "self",(char *) "index", NULL
8467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
8468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8469 if (SWIG_arg_fail(1)) SWIG_fail
;
8471 arg2
= (int)(SWIG_As_int(obj1
));
8472 if (SWIG_arg_fail(2)) SWIG_fail
;
8475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8476 result
= (bool)(arg1
)->IsChecked(arg2
);
8478 wxPyEndAllowThreads(__tstate
);
8479 if (PyErr_Occurred()) SWIG_fail
;
8482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8490 static PyObject
*_wrap_CheckListBox_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8491 PyObject
*resultobj
;
8492 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8494 int arg3
= (int) true ;
8495 PyObject
* obj0
= 0 ;
8496 PyObject
* obj1
= 0 ;
8497 PyObject
* obj2
= 0 ;
8499 (char *) "self",(char *) "index",(char *) "check", NULL
8502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8504 if (SWIG_arg_fail(1)) SWIG_fail
;
8506 arg2
= (int)(SWIG_As_int(obj1
));
8507 if (SWIG_arg_fail(2)) SWIG_fail
;
8511 arg3
= (int)(SWIG_As_int(obj2
));
8512 if (SWIG_arg_fail(3)) SWIG_fail
;
8516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8517 (arg1
)->Check(arg2
,arg3
);
8519 wxPyEndAllowThreads(__tstate
);
8520 if (PyErr_Occurred()) SWIG_fail
;
8522 Py_INCREF(Py_None
); resultobj
= Py_None
;
8529 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8530 PyObject
*resultobj
;
8531 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8535 PyObject
* obj0
= 0 ;
8536 PyObject
* obj1
= 0 ;
8538 (char *) "self",(char *) "pt", NULL
8541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8543 if (SWIG_arg_fail(1)) SWIG_fail
;
8546 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8550 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
8552 wxPyEndAllowThreads(__tstate
);
8553 if (PyErr_Occurred()) SWIG_fail
;
8556 resultobj
= SWIG_From_int((int)(result
));
8564 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8565 PyObject
*resultobj
;
8566 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8570 PyObject
* obj0
= 0 ;
8571 PyObject
* obj1
= 0 ;
8572 PyObject
* obj2
= 0 ;
8574 (char *) "self",(char *) "x",(char *) "y", NULL
8577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8579 if (SWIG_arg_fail(1)) SWIG_fail
;
8581 arg2
= (int)(SWIG_As_int(obj1
));
8582 if (SWIG_arg_fail(2)) SWIG_fail
;
8585 arg3
= (int)(SWIG_As_int(obj2
));
8586 if (SWIG_arg_fail(3)) SWIG_fail
;
8589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8590 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
8592 wxPyEndAllowThreads(__tstate
);
8593 if (PyErr_Occurred()) SWIG_fail
;
8596 resultobj
= SWIG_From_int((int)(result
));
8604 static PyObject
* CheckListBox_swigregister(PyObject
*, PyObject
*args
) {
8606 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8607 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
8609 return Py_BuildValue((char *)"");
8611 static int _wrap_TextCtrlNameStr_set(PyObject
*) {
8612 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
8617 static PyObject
*_wrap_TextCtrlNameStr_get(void) {
8622 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
8624 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
8631 static PyObject
*_wrap_new_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8632 PyObject
*resultobj
;
8633 wxColour
const &arg1_defvalue
= wxNullColour
;
8634 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
8635 wxColour
const &arg2_defvalue
= wxNullColour
;
8636 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8637 wxFont
const &arg3_defvalue
= wxNullFont
;
8638 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
8639 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
8643 PyObject
* obj0
= 0 ;
8644 PyObject
* obj1
= 0 ;
8645 PyObject
* obj2
= 0 ;
8646 PyObject
* obj3
= 0 ;
8648 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
8651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8655 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
8661 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8666 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8667 if (SWIG_arg_fail(3)) SWIG_fail
;
8669 SWIG_null_ref("wxFont");
8671 if (SWIG_arg_fail(3)) SWIG_fail
;
8676 arg4
= (wxTextAttrAlignment
)(SWIG_As_int(obj3
));
8677 if (SWIG_arg_fail(4)) SWIG_fail
;
8681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8682 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
8684 wxPyEndAllowThreads(__tstate
);
8685 if (PyErr_Occurred()) SWIG_fail
;
8687 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
8694 static PyObject
*_wrap_delete_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8695 PyObject
*resultobj
;
8696 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8697 PyObject
* obj0
= 0 ;
8699 (char *) "self", NULL
8702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
8703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8704 if (SWIG_arg_fail(1)) SWIG_fail
;
8706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8709 wxPyEndAllowThreads(__tstate
);
8710 if (PyErr_Occurred()) SWIG_fail
;
8712 Py_INCREF(Py_None
); resultobj
= Py_None
;
8719 static PyObject
*_wrap_TextAttr_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8720 PyObject
*resultobj
;
8721 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8722 PyObject
* obj0
= 0 ;
8724 (char *) "self", NULL
8727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
8728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8729 if (SWIG_arg_fail(1)) SWIG_fail
;
8731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8734 wxPyEndAllowThreads(__tstate
);
8735 if (PyErr_Occurred()) SWIG_fail
;
8737 Py_INCREF(Py_None
); resultobj
= Py_None
;
8744 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8745 PyObject
*resultobj
;
8746 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8747 wxColour
*arg2
= 0 ;
8749 PyObject
* obj0
= 0 ;
8750 PyObject
* obj1
= 0 ;
8752 (char *) "self",(char *) "colText", NULL
8755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
8756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8757 if (SWIG_arg_fail(1)) SWIG_fail
;
8760 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8764 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
8766 wxPyEndAllowThreads(__tstate
);
8767 if (PyErr_Occurred()) SWIG_fail
;
8769 Py_INCREF(Py_None
); resultobj
= Py_None
;
8776 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8777 PyObject
*resultobj
;
8778 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8779 wxColour
*arg2
= 0 ;
8781 PyObject
* obj0
= 0 ;
8782 PyObject
* obj1
= 0 ;
8784 (char *) "self",(char *) "colBack", NULL
8787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
8788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8789 if (SWIG_arg_fail(1)) SWIG_fail
;
8792 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8796 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
8798 wxPyEndAllowThreads(__tstate
);
8799 if (PyErr_Occurred()) SWIG_fail
;
8801 Py_INCREF(Py_None
); resultobj
= Py_None
;
8808 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8809 PyObject
*resultobj
;
8810 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8812 long arg3
= (long) wxTEXT_ATTR_FONT
;
8813 PyObject
* obj0
= 0 ;
8814 PyObject
* obj1
= 0 ;
8815 PyObject
* obj2
= 0 ;
8817 (char *) "self",(char *) "font",(char *) "flags", NULL
8820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8822 if (SWIG_arg_fail(1)) SWIG_fail
;
8824 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8825 if (SWIG_arg_fail(2)) SWIG_fail
;
8827 SWIG_null_ref("wxFont");
8829 if (SWIG_arg_fail(2)) SWIG_fail
;
8833 arg3
= (long)(SWIG_As_long(obj2
));
8834 if (SWIG_arg_fail(3)) SWIG_fail
;
8838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8839 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
8841 wxPyEndAllowThreads(__tstate
);
8842 if (PyErr_Occurred()) SWIG_fail
;
8844 Py_INCREF(Py_None
); resultobj
= Py_None
;
8851 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8852 PyObject
*resultobj
;
8853 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8854 wxTextAttrAlignment arg2
;
8855 PyObject
* obj0
= 0 ;
8856 PyObject
* obj1
= 0 ;
8858 (char *) "self",(char *) "alignment", NULL
8861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8863 if (SWIG_arg_fail(1)) SWIG_fail
;
8865 arg2
= (wxTextAttrAlignment
)(SWIG_As_int(obj1
));
8866 if (SWIG_arg_fail(2)) SWIG_fail
;
8869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8870 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
8872 wxPyEndAllowThreads(__tstate
);
8873 if (PyErr_Occurred()) SWIG_fail
;
8875 Py_INCREF(Py_None
); resultobj
= Py_None
;
8882 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8883 PyObject
*resultobj
;
8884 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8885 wxArrayInt
*arg2
= 0 ;
8886 bool temp2
= false ;
8887 PyObject
* obj0
= 0 ;
8888 PyObject
* obj1
= 0 ;
8890 (char *) "self",(char *) "tabs", NULL
8893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
8894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8895 if (SWIG_arg_fail(1)) SWIG_fail
;
8897 if (! PySequence_Check(obj1
)) {
8898 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
8901 arg2
= new wxArrayInt
;
8903 int i
, len
=PySequence_Length(obj1
);
8904 for (i
=0; i
<len
; i
++) {
8905 PyObject
* item
= PySequence_GetItem(obj1
, i
);
8906 PyObject
* number
= PyNumber_Int(item
);
8907 arg2
->Add(PyInt_AS_LONG(number
));
8913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8914 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
8916 wxPyEndAllowThreads(__tstate
);
8917 if (PyErr_Occurred()) SWIG_fail
;
8919 Py_INCREF(Py_None
); resultobj
= Py_None
;
8921 if (temp2
) delete arg2
;
8926 if (temp2
) delete arg2
;
8932 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8933 PyObject
*resultobj
;
8934 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8936 int arg3
= (int) 0 ;
8937 PyObject
* obj0
= 0 ;
8938 PyObject
* obj1
= 0 ;
8939 PyObject
* obj2
= 0 ;
8941 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
8944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8946 if (SWIG_arg_fail(1)) SWIG_fail
;
8948 arg2
= (int)(SWIG_As_int(obj1
));
8949 if (SWIG_arg_fail(2)) SWIG_fail
;
8953 arg3
= (int)(SWIG_As_int(obj2
));
8954 if (SWIG_arg_fail(3)) SWIG_fail
;
8958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8959 (arg1
)->SetLeftIndent(arg2
,arg3
);
8961 wxPyEndAllowThreads(__tstate
);
8962 if (PyErr_Occurred()) SWIG_fail
;
8964 Py_INCREF(Py_None
); resultobj
= Py_None
;
8971 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8972 PyObject
*resultobj
;
8973 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8975 PyObject
* obj0
= 0 ;
8976 PyObject
* obj1
= 0 ;
8978 (char *) "self",(char *) "indent", NULL
8981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
8982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8983 if (SWIG_arg_fail(1)) SWIG_fail
;
8985 arg2
= (int)(SWIG_As_int(obj1
));
8986 if (SWIG_arg_fail(2)) SWIG_fail
;
8989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8990 (arg1
)->SetRightIndent(arg2
);
8992 wxPyEndAllowThreads(__tstate
);
8993 if (PyErr_Occurred()) SWIG_fail
;
8995 Py_INCREF(Py_None
); resultobj
= Py_None
;
9002 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9003 PyObject
*resultobj
;
9004 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9006 PyObject
* obj0
= 0 ;
9007 PyObject
* obj1
= 0 ;
9009 (char *) "self",(char *) "flags", NULL
9012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
9013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9014 if (SWIG_arg_fail(1)) SWIG_fail
;
9016 arg2
= (long)(SWIG_As_long(obj1
));
9017 if (SWIG_arg_fail(2)) SWIG_fail
;
9020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9021 (arg1
)->SetFlags(arg2
);
9023 wxPyEndAllowThreads(__tstate
);
9024 if (PyErr_Occurred()) SWIG_fail
;
9026 Py_INCREF(Py_None
); resultobj
= Py_None
;
9033 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9034 PyObject
*resultobj
;
9035 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9037 PyObject
* obj0
= 0 ;
9039 (char *) "self", NULL
9042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
9043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9044 if (SWIG_arg_fail(1)) SWIG_fail
;
9046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9047 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
9049 wxPyEndAllowThreads(__tstate
);
9050 if (PyErr_Occurred()) SWIG_fail
;
9053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9061 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9062 PyObject
*resultobj
;
9063 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9065 PyObject
* obj0
= 0 ;
9067 (char *) "self", NULL
9070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
9071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9072 if (SWIG_arg_fail(1)) SWIG_fail
;
9074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9075 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
9077 wxPyEndAllowThreads(__tstate
);
9078 if (PyErr_Occurred()) SWIG_fail
;
9081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9089 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9090 PyObject
*resultobj
;
9091 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9093 PyObject
* obj0
= 0 ;
9095 (char *) "self", NULL
9098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
9099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9100 if (SWIG_arg_fail(1)) SWIG_fail
;
9102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9103 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
9105 wxPyEndAllowThreads(__tstate
);
9106 if (PyErr_Occurred()) SWIG_fail
;
9109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9117 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9118 PyObject
*resultobj
;
9119 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9121 PyObject
* obj0
= 0 ;
9123 (char *) "self", NULL
9126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
9127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9128 if (SWIG_arg_fail(1)) SWIG_fail
;
9130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9131 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
9133 wxPyEndAllowThreads(__tstate
);
9134 if (PyErr_Occurred()) SWIG_fail
;
9137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9145 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9146 PyObject
*resultobj
;
9147 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9149 PyObject
* obj0
= 0 ;
9151 (char *) "self", NULL
9154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
9155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9156 if (SWIG_arg_fail(1)) SWIG_fail
;
9158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9159 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
9161 wxPyEndAllowThreads(__tstate
);
9162 if (PyErr_Occurred()) SWIG_fail
;
9165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9173 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9174 PyObject
*resultobj
;
9175 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9177 PyObject
* obj0
= 0 ;
9179 (char *) "self", NULL
9182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
9183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9184 if (SWIG_arg_fail(1)) SWIG_fail
;
9186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9187 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
9189 wxPyEndAllowThreads(__tstate
);
9190 if (PyErr_Occurred()) SWIG_fail
;
9193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9201 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9202 PyObject
*resultobj
;
9203 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9205 PyObject
* obj0
= 0 ;
9207 (char *) "self", NULL
9210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
9211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9212 if (SWIG_arg_fail(1)) SWIG_fail
;
9214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9215 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
9217 wxPyEndAllowThreads(__tstate
);
9218 if (PyErr_Occurred()) SWIG_fail
;
9221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9229 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9230 PyObject
*resultobj
;
9231 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9234 PyObject
* obj0
= 0 ;
9235 PyObject
* obj1
= 0 ;
9237 (char *) "self",(char *) "flag", NULL
9240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
9241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9242 if (SWIG_arg_fail(1)) SWIG_fail
;
9244 arg2
= (long)(SWIG_As_long(obj1
));
9245 if (SWIG_arg_fail(2)) SWIG_fail
;
9248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9249 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
9251 wxPyEndAllowThreads(__tstate
);
9252 if (PyErr_Occurred()) SWIG_fail
;
9255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9263 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9264 PyObject
*resultobj
;
9265 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9267 PyObject
* obj0
= 0 ;
9269 (char *) "self", NULL
9272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
9273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9274 if (SWIG_arg_fail(1)) SWIG_fail
;
9276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9278 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
9279 result
= (wxColour
*) &_result_ref
;
9282 wxPyEndAllowThreads(__tstate
);
9283 if (PyErr_Occurred()) SWIG_fail
;
9285 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9292 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9293 PyObject
*resultobj
;
9294 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9296 PyObject
* obj0
= 0 ;
9298 (char *) "self", NULL
9301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
9302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9303 if (SWIG_arg_fail(1)) SWIG_fail
;
9305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9307 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
9308 result
= (wxColour
*) &_result_ref
;
9311 wxPyEndAllowThreads(__tstate
);
9312 if (PyErr_Occurred()) SWIG_fail
;
9314 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9321 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9322 PyObject
*resultobj
;
9323 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9325 PyObject
* obj0
= 0 ;
9327 (char *) "self", NULL
9330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
9331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9332 if (SWIG_arg_fail(1)) SWIG_fail
;
9334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9336 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
9337 result
= (wxFont
*) &_result_ref
;
9340 wxPyEndAllowThreads(__tstate
);
9341 if (PyErr_Occurred()) SWIG_fail
;
9344 wxFont
* resultptr
= new wxFont(*result
);
9345 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
9353 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9354 PyObject
*resultobj
;
9355 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9356 wxTextAttrAlignment result
;
9357 PyObject
* obj0
= 0 ;
9359 (char *) "self", NULL
9362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
9363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9364 if (SWIG_arg_fail(1)) SWIG_fail
;
9366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9367 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
9369 wxPyEndAllowThreads(__tstate
);
9370 if (PyErr_Occurred()) SWIG_fail
;
9372 resultobj
= SWIG_From_int((result
));
9379 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9380 PyObject
*resultobj
;
9381 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9383 PyObject
* obj0
= 0 ;
9385 (char *) "self", NULL
9388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
9389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9390 if (SWIG_arg_fail(1)) SWIG_fail
;
9392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9394 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
9395 result
= (wxArrayInt
*) &_result_ref
;
9398 wxPyEndAllowThreads(__tstate
);
9399 if (PyErr_Occurred()) SWIG_fail
;
9402 resultobj
= PyList_New(0);
9404 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
9405 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
9406 PyList_Append(resultobj
, val
);
9416 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9417 PyObject
*resultobj
;
9418 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9420 PyObject
* obj0
= 0 ;
9422 (char *) "self", NULL
9425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
9426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9427 if (SWIG_arg_fail(1)) SWIG_fail
;
9429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9430 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
9432 wxPyEndAllowThreads(__tstate
);
9433 if (PyErr_Occurred()) SWIG_fail
;
9436 resultobj
= SWIG_From_long((long)(result
));
9444 static PyObject
*_wrap_TextAttr_GetLeftSubIndent(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_GetLeftSubIndent",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();
9458 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
9460 wxPyEndAllowThreads(__tstate
);
9461 if (PyErr_Occurred()) SWIG_fail
;
9464 resultobj
= SWIG_From_long((long)(result
));
9472 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9473 PyObject
*resultobj
;
9474 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9476 PyObject
* obj0
= 0 ;
9478 (char *) "self", NULL
9481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
9482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9483 if (SWIG_arg_fail(1)) SWIG_fail
;
9485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9486 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
9488 wxPyEndAllowThreads(__tstate
);
9489 if (PyErr_Occurred()) SWIG_fail
;
9492 resultobj
= SWIG_From_long((long)(result
));
9500 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9501 PyObject
*resultobj
;
9502 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9504 PyObject
* obj0
= 0 ;
9506 (char *) "self", NULL
9509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
9510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9511 if (SWIG_arg_fail(1)) SWIG_fail
;
9513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9514 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
9516 wxPyEndAllowThreads(__tstate
);
9517 if (PyErr_Occurred()) SWIG_fail
;
9520 resultobj
= SWIG_From_long((long)(result
));
9528 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9529 PyObject
*resultobj
;
9530 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9532 PyObject
* obj0
= 0 ;
9534 (char *) "self", NULL
9537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
9538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9539 if (SWIG_arg_fail(1)) SWIG_fail
;
9541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9542 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
9544 wxPyEndAllowThreads(__tstate
);
9545 if (PyErr_Occurred()) SWIG_fail
;
9548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9556 static PyObject
*_wrap_TextAttr_Combine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9557 PyObject
*resultobj
;
9558 wxTextAttr
*arg1
= 0 ;
9559 wxTextAttr
*arg2
= 0 ;
9560 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
9562 PyObject
* obj0
= 0 ;
9563 PyObject
* obj1
= 0 ;
9564 PyObject
* obj2
= 0 ;
9566 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
9569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9572 if (SWIG_arg_fail(1)) SWIG_fail
;
9574 SWIG_null_ref("wxTextAttr");
9576 if (SWIG_arg_fail(1)) SWIG_fail
;
9579 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9580 if (SWIG_arg_fail(2)) SWIG_fail
;
9582 SWIG_null_ref("wxTextAttr");
9584 if (SWIG_arg_fail(2)) SWIG_fail
;
9586 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9587 if (SWIG_arg_fail(3)) SWIG_fail
;
9589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9590 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
9592 wxPyEndAllowThreads(__tstate
);
9593 if (PyErr_Occurred()) SWIG_fail
;
9596 wxTextAttr
* resultptr
;
9597 resultptr
= new wxTextAttr((wxTextAttr
&)(result
));
9598 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
9606 static PyObject
* TextAttr_swigregister(PyObject
*, PyObject
*args
) {
9608 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9609 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
9611 return Py_BuildValue((char *)"");
9613 static PyObject
*_wrap_new_TextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9614 PyObject
*resultobj
;
9615 wxWindow
*arg1
= (wxWindow
*) 0 ;
9616 int arg2
= (int) -1 ;
9617 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9618 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9619 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9620 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9621 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9622 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9623 long arg6
= (long) 0 ;
9624 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9625 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9626 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
9627 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9629 bool temp3
= false ;
9632 bool temp8
= false ;
9633 PyObject
* obj0
= 0 ;
9634 PyObject
* obj1
= 0 ;
9635 PyObject
* obj2
= 0 ;
9636 PyObject
* obj3
= 0 ;
9637 PyObject
* obj4
= 0 ;
9638 PyObject
* obj5
= 0 ;
9639 PyObject
* obj6
= 0 ;
9640 PyObject
* obj7
= 0 ;
9642 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9647 if (SWIG_arg_fail(1)) SWIG_fail
;
9650 arg2
= (int)(SWIG_As_int(obj1
));
9651 if (SWIG_arg_fail(2)) SWIG_fail
;
9656 arg3
= wxString_in_helper(obj2
);
9657 if (arg3
== NULL
) SWIG_fail
;
9664 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9670 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9675 arg6
= (long)(SWIG_As_long(obj5
));
9676 if (SWIG_arg_fail(6)) SWIG_fail
;
9681 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
9682 if (SWIG_arg_fail(7)) SWIG_fail
;
9684 SWIG_null_ref("wxValidator");
9686 if (SWIG_arg_fail(7)) SWIG_fail
;
9691 arg8
= wxString_in_helper(obj7
);
9692 if (arg8
== NULL
) SWIG_fail
;
9697 if (!wxPyCheckForApp()) SWIG_fail
;
9698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9699 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9701 wxPyEndAllowThreads(__tstate
);
9702 if (PyErr_Occurred()) SWIG_fail
;
9704 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
9727 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9728 PyObject
*resultobj
;
9734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
9736 if (!wxPyCheckForApp()) SWIG_fail
;
9737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9738 result
= (wxTextCtrl
*)new wxTextCtrl();
9740 wxPyEndAllowThreads(__tstate
);
9741 if (PyErr_Occurred()) SWIG_fail
;
9743 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
9750 static PyObject
*_wrap_TextCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9751 PyObject
*resultobj
;
9752 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9753 wxWindow
*arg2
= (wxWindow
*) 0 ;
9754 int arg3
= (int) -1 ;
9755 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9756 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9757 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
9758 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
9759 wxSize
const &arg6_defvalue
= wxDefaultSize
;
9760 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
9761 long arg7
= (long) 0 ;
9762 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
9763 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
9764 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
9765 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
9767 bool temp4
= false ;
9770 bool temp9
= false ;
9771 PyObject
* obj0
= 0 ;
9772 PyObject
* obj1
= 0 ;
9773 PyObject
* obj2
= 0 ;
9774 PyObject
* obj3
= 0 ;
9775 PyObject
* obj4
= 0 ;
9776 PyObject
* obj5
= 0 ;
9777 PyObject
* obj6
= 0 ;
9778 PyObject
* obj7
= 0 ;
9779 PyObject
* obj8
= 0 ;
9781 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
9785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9786 if (SWIG_arg_fail(1)) SWIG_fail
;
9787 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9788 if (SWIG_arg_fail(2)) SWIG_fail
;
9791 arg3
= (int)(SWIG_As_int(obj2
));
9792 if (SWIG_arg_fail(3)) SWIG_fail
;
9797 arg4
= wxString_in_helper(obj3
);
9798 if (arg4
== NULL
) SWIG_fail
;
9805 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
9811 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
9816 arg7
= (long)(SWIG_As_long(obj6
));
9817 if (SWIG_arg_fail(7)) SWIG_fail
;
9822 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
9823 if (SWIG_arg_fail(8)) SWIG_fail
;
9825 SWIG_null_ref("wxValidator");
9827 if (SWIG_arg_fail(8)) SWIG_fail
;
9832 arg9
= wxString_in_helper(obj8
);
9833 if (arg9
== NULL
) SWIG_fail
;
9838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9839 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9841 wxPyEndAllowThreads(__tstate
);
9842 if (PyErr_Occurred()) SWIG_fail
;
9845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9869 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9870 PyObject
*resultobj
;
9871 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9873 PyObject
* obj0
= 0 ;
9875 (char *) "self", NULL
9878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
9879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9880 if (SWIG_arg_fail(1)) SWIG_fail
;
9882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9883 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
9885 wxPyEndAllowThreads(__tstate
);
9886 if (PyErr_Occurred()) SWIG_fail
;
9890 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9892 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9901 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9902 PyObject
*resultobj
;
9903 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9904 wxString
*arg2
= 0 ;
9905 bool temp2
= false ;
9906 PyObject
* obj0
= 0 ;
9907 PyObject
* obj1
= 0 ;
9909 (char *) "self",(char *) "value", NULL
9912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
9913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9914 if (SWIG_arg_fail(1)) SWIG_fail
;
9916 arg2
= wxString_in_helper(obj1
);
9917 if (arg2
== NULL
) SWIG_fail
;
9921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9922 (arg1
)->SetValue((wxString
const &)*arg2
);
9924 wxPyEndAllowThreads(__tstate
);
9925 if (PyErr_Occurred()) SWIG_fail
;
9927 Py_INCREF(Py_None
); resultobj
= Py_None
;
9942 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9943 PyObject
*resultobj
;
9944 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9948 PyObject
* obj0
= 0 ;
9949 PyObject
* obj1
= 0 ;
9950 PyObject
* obj2
= 0 ;
9952 (char *) "self",(char *) "from",(char *) "to", NULL
9955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9957 if (SWIG_arg_fail(1)) SWIG_fail
;
9959 arg2
= (long)(SWIG_As_long(obj1
));
9960 if (SWIG_arg_fail(2)) SWIG_fail
;
9963 arg3
= (long)(SWIG_As_long(obj2
));
9964 if (SWIG_arg_fail(3)) SWIG_fail
;
9967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9968 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
9970 wxPyEndAllowThreads(__tstate
);
9971 if (PyErr_Occurred()) SWIG_fail
;
9975 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9977 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9986 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9987 PyObject
*resultobj
;
9988 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9991 PyObject
* obj0
= 0 ;
9992 PyObject
* obj1
= 0 ;
9994 (char *) "self",(char *) "lineNo", NULL
9997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
9998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9999 if (SWIG_arg_fail(1)) SWIG_fail
;
10001 arg2
= (long)(SWIG_As_long(obj1
));
10002 if (SWIG_arg_fail(2)) SWIG_fail
;
10005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10006 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
10008 wxPyEndAllowThreads(__tstate
);
10009 if (PyErr_Occurred()) SWIG_fail
;
10012 resultobj
= SWIG_From_int((int)(result
));
10020 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10021 PyObject
*resultobj
;
10022 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10025 PyObject
* obj0
= 0 ;
10026 PyObject
* obj1
= 0 ;
10027 char *kwnames
[] = {
10028 (char *) "self",(char *) "lineNo", NULL
10031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
10032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10033 if (SWIG_arg_fail(1)) SWIG_fail
;
10035 arg2
= (long)(SWIG_As_long(obj1
));
10036 if (SWIG_arg_fail(2)) SWIG_fail
;
10039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10040 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
10042 wxPyEndAllowThreads(__tstate
);
10043 if (PyErr_Occurred()) SWIG_fail
;
10047 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10049 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10058 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10059 PyObject
*resultobj
;
10060 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10062 PyObject
* obj0
= 0 ;
10063 char *kwnames
[] = {
10064 (char *) "self", NULL
10067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
10068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10069 if (SWIG_arg_fail(1)) SWIG_fail
;
10071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10072 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
10074 wxPyEndAllowThreads(__tstate
);
10075 if (PyErr_Occurred()) SWIG_fail
;
10078 resultobj
= SWIG_From_int((int)(result
));
10086 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10087 PyObject
*resultobj
;
10088 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10090 PyObject
* obj0
= 0 ;
10091 char *kwnames
[] = {
10092 (char *) "self", NULL
10095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
10096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10097 if (SWIG_arg_fail(1)) SWIG_fail
;
10099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10100 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
10102 wxPyEndAllowThreads(__tstate
);
10103 if (PyErr_Occurred()) SWIG_fail
;
10106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10114 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10115 PyObject
*resultobj
;
10116 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10118 PyObject
* obj0
= 0 ;
10119 char *kwnames
[] = {
10120 (char *) "self", NULL
10123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
10124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10125 if (SWIG_arg_fail(1)) SWIG_fail
;
10127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10128 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
10130 wxPyEndAllowThreads(__tstate
);
10131 if (PyErr_Occurred()) SWIG_fail
;
10134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10142 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10143 PyObject
*resultobj
;
10144 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10146 PyObject
* obj0
= 0 ;
10147 char *kwnames
[] = {
10148 (char *) "self", NULL
10151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
10152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10153 if (SWIG_arg_fail(1)) SWIG_fail
;
10155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10156 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
10158 wxPyEndAllowThreads(__tstate
);
10159 if (PyErr_Occurred()) SWIG_fail
;
10162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10170 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10171 PyObject
*resultobj
;
10172 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10174 PyObject
* obj0
= 0 ;
10175 char *kwnames
[] = {
10176 (char *) "self", NULL
10179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
10180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10181 if (SWIG_arg_fail(1)) SWIG_fail
;
10183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10184 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
10186 wxPyEndAllowThreads(__tstate
);
10187 if (PyErr_Occurred()) SWIG_fail
;
10190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10198 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10199 PyObject
*resultobj
;
10200 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10201 long *arg2
= (long *) 0 ;
10202 long *arg3
= (long *) 0 ;
10207 PyObject
* obj0
= 0 ;
10208 char *kwnames
[] = {
10209 (char *) "self", NULL
10212 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10213 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
10215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10216 if (SWIG_arg_fail(1)) SWIG_fail
;
10218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10219 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
10221 wxPyEndAllowThreads(__tstate
);
10222 if (PyErr_Occurred()) SWIG_fail
;
10224 Py_INCREF(Py_None
); resultobj
= Py_None
;
10225 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10226 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
10227 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10228 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10235 static PyObject
*_wrap_TextCtrl_GetStringSelection(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_GetStringSelection",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
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
10251 wxPyEndAllowThreads(__tstate
);
10252 if (PyErr_Occurred()) SWIG_fail
;
10256 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10258 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10267 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10268 PyObject
*resultobj
;
10269 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10270 PyObject
* obj0
= 0 ;
10271 char *kwnames
[] = {
10272 (char *) "self", NULL
10275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
10276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10277 if (SWIG_arg_fail(1)) SWIG_fail
;
10279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10282 wxPyEndAllowThreads(__tstate
);
10283 if (PyErr_Occurred()) SWIG_fail
;
10285 Py_INCREF(Py_None
); resultobj
= Py_None
;
10292 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10293 PyObject
*resultobj
;
10294 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10297 wxString
*arg4
= 0 ;
10298 bool temp4
= false ;
10299 PyObject
* obj0
= 0 ;
10300 PyObject
* obj1
= 0 ;
10301 PyObject
* obj2
= 0 ;
10302 PyObject
* obj3
= 0 ;
10303 char *kwnames
[] = {
10304 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
10307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10309 if (SWIG_arg_fail(1)) SWIG_fail
;
10311 arg2
= (long)(SWIG_As_long(obj1
));
10312 if (SWIG_arg_fail(2)) SWIG_fail
;
10315 arg3
= (long)(SWIG_As_long(obj2
));
10316 if (SWIG_arg_fail(3)) SWIG_fail
;
10319 arg4
= wxString_in_helper(obj3
);
10320 if (arg4
== NULL
) SWIG_fail
;
10324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10325 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
10327 wxPyEndAllowThreads(__tstate
);
10328 if (PyErr_Occurred()) SWIG_fail
;
10330 Py_INCREF(Py_None
); resultobj
= Py_None
;
10345 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10346 PyObject
*resultobj
;
10347 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10350 PyObject
* obj0
= 0 ;
10351 PyObject
* obj1
= 0 ;
10352 PyObject
* obj2
= 0 ;
10353 char *kwnames
[] = {
10354 (char *) "self",(char *) "from",(char *) "to", NULL
10357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10359 if (SWIG_arg_fail(1)) SWIG_fail
;
10361 arg2
= (long)(SWIG_As_long(obj1
));
10362 if (SWIG_arg_fail(2)) SWIG_fail
;
10365 arg3
= (long)(SWIG_As_long(obj2
));
10366 if (SWIG_arg_fail(3)) SWIG_fail
;
10369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10370 (arg1
)->Remove(arg2
,arg3
);
10372 wxPyEndAllowThreads(__tstate
);
10373 if (PyErr_Occurred()) SWIG_fail
;
10375 Py_INCREF(Py_None
); resultobj
= Py_None
;
10382 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10383 PyObject
*resultobj
;
10384 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10385 wxString
*arg2
= 0 ;
10387 bool temp2
= false ;
10388 PyObject
* obj0
= 0 ;
10389 PyObject
* obj1
= 0 ;
10390 char *kwnames
[] = {
10391 (char *) "self",(char *) "file", NULL
10394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
10395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10396 if (SWIG_arg_fail(1)) SWIG_fail
;
10398 arg2
= wxString_in_helper(obj1
);
10399 if (arg2
== NULL
) SWIG_fail
;
10403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10404 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
10406 wxPyEndAllowThreads(__tstate
);
10407 if (PyErr_Occurred()) SWIG_fail
;
10410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10426 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10427 PyObject
*resultobj
;
10428 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10429 wxString
const &arg2_defvalue
= wxPyEmptyString
;
10430 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
10432 bool temp2
= false ;
10433 PyObject
* obj0
= 0 ;
10434 PyObject
* obj1
= 0 ;
10435 char *kwnames
[] = {
10436 (char *) "self",(char *) "file", NULL
10439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
10440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10441 if (SWIG_arg_fail(1)) SWIG_fail
;
10444 arg2
= wxString_in_helper(obj1
);
10445 if (arg2
== NULL
) SWIG_fail
;
10450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10451 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
10453 wxPyEndAllowThreads(__tstate
);
10454 if (PyErr_Occurred()) SWIG_fail
;
10457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10473 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10474 PyObject
*resultobj
;
10475 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10476 PyObject
* obj0
= 0 ;
10477 char *kwnames
[] = {
10478 (char *) "self", NULL
10481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
10482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10483 if (SWIG_arg_fail(1)) SWIG_fail
;
10485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10486 (arg1
)->MarkDirty();
10488 wxPyEndAllowThreads(__tstate
);
10489 if (PyErr_Occurred()) SWIG_fail
;
10491 Py_INCREF(Py_None
); resultobj
= Py_None
;
10498 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10499 PyObject
*resultobj
;
10500 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10501 PyObject
* obj0
= 0 ;
10502 char *kwnames
[] = {
10503 (char *) "self", NULL
10506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
10507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10508 if (SWIG_arg_fail(1)) SWIG_fail
;
10510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10511 (arg1
)->DiscardEdits();
10513 wxPyEndAllowThreads(__tstate
);
10514 if (PyErr_Occurred()) SWIG_fail
;
10516 Py_INCREF(Py_None
); resultobj
= Py_None
;
10523 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10524 PyObject
*resultobj
;
10525 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10526 unsigned long arg2
;
10527 PyObject
* obj0
= 0 ;
10528 PyObject
* obj1
= 0 ;
10529 char *kwnames
[] = {
10530 (char *) "self",(char *) "len", NULL
10533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
10534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10535 if (SWIG_arg_fail(1)) SWIG_fail
;
10537 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
10538 if (SWIG_arg_fail(2)) SWIG_fail
;
10541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10542 (arg1
)->SetMaxLength(arg2
);
10544 wxPyEndAllowThreads(__tstate
);
10545 if (PyErr_Occurred()) SWIG_fail
;
10547 Py_INCREF(Py_None
); resultobj
= Py_None
;
10554 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10555 PyObject
*resultobj
;
10556 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10557 wxString
*arg2
= 0 ;
10558 bool temp2
= false ;
10559 PyObject
* obj0
= 0 ;
10560 PyObject
* obj1
= 0 ;
10561 char *kwnames
[] = {
10562 (char *) "self",(char *) "text", NULL
10565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
10566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10567 if (SWIG_arg_fail(1)) SWIG_fail
;
10569 arg2
= wxString_in_helper(obj1
);
10570 if (arg2
== NULL
) SWIG_fail
;
10574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10575 (arg1
)->WriteText((wxString
const &)*arg2
);
10577 wxPyEndAllowThreads(__tstate
);
10578 if (PyErr_Occurred()) SWIG_fail
;
10580 Py_INCREF(Py_None
); resultobj
= Py_None
;
10595 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10596 PyObject
*resultobj
;
10597 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10598 wxString
*arg2
= 0 ;
10599 bool temp2
= false ;
10600 PyObject
* obj0
= 0 ;
10601 PyObject
* obj1
= 0 ;
10602 char *kwnames
[] = {
10603 (char *) "self",(char *) "text", NULL
10606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
10607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10608 if (SWIG_arg_fail(1)) SWIG_fail
;
10610 arg2
= wxString_in_helper(obj1
);
10611 if (arg2
== NULL
) SWIG_fail
;
10615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10616 (arg1
)->AppendText((wxString
const &)*arg2
);
10618 wxPyEndAllowThreads(__tstate
);
10619 if (PyErr_Occurred()) SWIG_fail
;
10621 Py_INCREF(Py_None
); resultobj
= Py_None
;
10636 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10637 PyObject
*resultobj
;
10638 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10639 wxKeyEvent
*arg2
= 0 ;
10641 PyObject
* obj0
= 0 ;
10642 PyObject
* obj1
= 0 ;
10643 char *kwnames
[] = {
10644 (char *) "self",(char *) "event", NULL
10647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
10648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10649 if (SWIG_arg_fail(1)) SWIG_fail
;
10651 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
10652 if (SWIG_arg_fail(2)) SWIG_fail
;
10653 if (arg2
== NULL
) {
10654 SWIG_null_ref("wxKeyEvent");
10656 if (SWIG_arg_fail(2)) SWIG_fail
;
10659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10660 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
10662 wxPyEndAllowThreads(__tstate
);
10663 if (PyErr_Occurred()) SWIG_fail
;
10666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10674 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10675 PyObject
*resultobj
;
10676 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10679 wxTextAttr
*arg4
= 0 ;
10681 PyObject
* obj0
= 0 ;
10682 PyObject
* obj1
= 0 ;
10683 PyObject
* obj2
= 0 ;
10684 PyObject
* obj3
= 0 ;
10685 char *kwnames
[] = {
10686 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
10689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10691 if (SWIG_arg_fail(1)) SWIG_fail
;
10693 arg2
= (long)(SWIG_As_long(obj1
));
10694 if (SWIG_arg_fail(2)) SWIG_fail
;
10697 arg3
= (long)(SWIG_As_long(obj2
));
10698 if (SWIG_arg_fail(3)) SWIG_fail
;
10701 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10702 if (SWIG_arg_fail(4)) SWIG_fail
;
10703 if (arg4
== NULL
) {
10704 SWIG_null_ref("wxTextAttr");
10706 if (SWIG_arg_fail(4)) SWIG_fail
;
10709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10710 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
10712 wxPyEndAllowThreads(__tstate
);
10713 if (PyErr_Occurred()) SWIG_fail
;
10716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10724 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10725 PyObject
*resultobj
;
10726 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10728 wxTextAttr
*arg3
= 0 ;
10730 PyObject
* obj0
= 0 ;
10731 PyObject
* obj1
= 0 ;
10732 PyObject
* obj2
= 0 ;
10733 char *kwnames
[] = {
10734 (char *) "self",(char *) "position",(char *) "style", NULL
10737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10739 if (SWIG_arg_fail(1)) SWIG_fail
;
10741 arg2
= (long)(SWIG_As_long(obj1
));
10742 if (SWIG_arg_fail(2)) SWIG_fail
;
10745 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10746 if (SWIG_arg_fail(3)) SWIG_fail
;
10747 if (arg3
== NULL
) {
10748 SWIG_null_ref("wxTextAttr");
10750 if (SWIG_arg_fail(3)) SWIG_fail
;
10753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10754 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
10756 wxPyEndAllowThreads(__tstate
);
10757 if (PyErr_Occurred()) SWIG_fail
;
10760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10768 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10769 PyObject
*resultobj
;
10770 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10771 wxTextAttr
*arg2
= 0 ;
10773 PyObject
* obj0
= 0 ;
10774 PyObject
* obj1
= 0 ;
10775 char *kwnames
[] = {
10776 (char *) "self",(char *) "style", NULL
10779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
10780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10781 if (SWIG_arg_fail(1)) SWIG_fail
;
10783 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10784 if (SWIG_arg_fail(2)) SWIG_fail
;
10785 if (arg2
== NULL
) {
10786 SWIG_null_ref("wxTextAttr");
10788 if (SWIG_arg_fail(2)) SWIG_fail
;
10791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10792 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
10794 wxPyEndAllowThreads(__tstate
);
10795 if (PyErr_Occurred()) SWIG_fail
;
10798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10806 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10807 PyObject
*resultobj
;
10808 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10809 wxTextAttr
*result
;
10810 PyObject
* obj0
= 0 ;
10811 char *kwnames
[] = {
10812 (char *) "self", NULL
10815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
10816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10817 if (SWIG_arg_fail(1)) SWIG_fail
;
10819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10821 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
10822 result
= (wxTextAttr
*) &_result_ref
;
10825 wxPyEndAllowThreads(__tstate
);
10826 if (PyErr_Occurred()) SWIG_fail
;
10828 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
10835 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10836 PyObject
*resultobj
;
10837 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10841 PyObject
* obj0
= 0 ;
10842 PyObject
* obj1
= 0 ;
10843 PyObject
* obj2
= 0 ;
10844 char *kwnames
[] = {
10845 (char *) "self",(char *) "x",(char *) "y", NULL
10848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10850 if (SWIG_arg_fail(1)) SWIG_fail
;
10852 arg2
= (long)(SWIG_As_long(obj1
));
10853 if (SWIG_arg_fail(2)) SWIG_fail
;
10856 arg3
= (long)(SWIG_As_long(obj2
));
10857 if (SWIG_arg_fail(3)) SWIG_fail
;
10860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10861 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
10863 wxPyEndAllowThreads(__tstate
);
10864 if (PyErr_Occurred()) SWIG_fail
;
10867 resultobj
= SWIG_From_long((long)(result
));
10875 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10876 PyObject
*resultobj
;
10877 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10879 long *arg3
= (long *) 0 ;
10880 long *arg4
= (long *) 0 ;
10885 PyObject
* obj0
= 0 ;
10886 PyObject
* obj1
= 0 ;
10887 char *kwnames
[] = {
10888 (char *) "self",(char *) "pos", NULL
10891 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10892 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
10894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10895 if (SWIG_arg_fail(1)) SWIG_fail
;
10897 arg2
= (long)(SWIG_As_long(obj1
));
10898 if (SWIG_arg_fail(2)) SWIG_fail
;
10901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10902 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
10904 wxPyEndAllowThreads(__tstate
);
10905 if (PyErr_Occurred()) SWIG_fail
;
10907 Py_INCREF(Py_None
); resultobj
= Py_None
;
10908 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10909 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10910 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10911 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
10918 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10919 PyObject
*resultobj
;
10920 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10922 PyObject
* obj0
= 0 ;
10923 PyObject
* obj1
= 0 ;
10924 char *kwnames
[] = {
10925 (char *) "self",(char *) "pos", NULL
10928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10930 if (SWIG_arg_fail(1)) SWIG_fail
;
10932 arg2
= (long)(SWIG_As_long(obj1
));
10933 if (SWIG_arg_fail(2)) SWIG_fail
;
10936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10937 (arg1
)->ShowPosition(arg2
);
10939 wxPyEndAllowThreads(__tstate
);
10940 if (PyErr_Occurred()) SWIG_fail
;
10942 Py_INCREF(Py_None
); resultobj
= Py_None
;
10949 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10950 PyObject
*resultobj
;
10951 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10952 wxPoint
*arg2
= 0 ;
10953 long *arg3
= (long *) 0 ;
10954 long *arg4
= (long *) 0 ;
10955 wxTextCtrlHitTestResult result
;
10961 PyObject
* obj0
= 0 ;
10962 PyObject
* obj1
= 0 ;
10963 char *kwnames
[] = {
10964 (char *) "self",(char *) "pt", NULL
10967 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10968 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
10970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10971 if (SWIG_arg_fail(1)) SWIG_fail
;
10974 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10978 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
10980 wxPyEndAllowThreads(__tstate
);
10981 if (PyErr_Occurred()) SWIG_fail
;
10983 resultobj
= SWIG_From_int((result
));
10984 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10985 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10986 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10987 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
10994 static PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10995 PyObject
*resultobj
;
10996 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10997 wxPoint
*arg2
= 0 ;
10998 long *arg3
= (long *) 0 ;
10999 wxTextCtrlHitTestResult result
;
11003 PyObject
* obj0
= 0 ;
11004 PyObject
* obj1
= 0 ;
11005 char *kwnames
[] = {
11006 (char *) "self",(char *) "pt", NULL
11009 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) goto fail
;
11011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11012 if (SWIG_arg_fail(1)) SWIG_fail
;
11015 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11019 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
11021 wxPyEndAllowThreads(__tstate
);
11022 if (PyErr_Occurred()) SWIG_fail
;
11024 resultobj
= SWIG_From_int((result
));
11025 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11026 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
11033 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11034 PyObject
*resultobj
;
11035 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11036 PyObject
* obj0
= 0 ;
11037 char *kwnames
[] = {
11038 (char *) "self", NULL
11041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
11042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11043 if (SWIG_arg_fail(1)) SWIG_fail
;
11045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11048 wxPyEndAllowThreads(__tstate
);
11049 if (PyErr_Occurred()) SWIG_fail
;
11051 Py_INCREF(Py_None
); resultobj
= Py_None
;
11058 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11059 PyObject
*resultobj
;
11060 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11061 PyObject
* obj0
= 0 ;
11062 char *kwnames
[] = {
11063 (char *) "self", NULL
11066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
11067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11068 if (SWIG_arg_fail(1)) SWIG_fail
;
11070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11073 wxPyEndAllowThreads(__tstate
);
11074 if (PyErr_Occurred()) SWIG_fail
;
11076 Py_INCREF(Py_None
); resultobj
= Py_None
;
11083 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11084 PyObject
*resultobj
;
11085 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11086 PyObject
* obj0
= 0 ;
11087 char *kwnames
[] = {
11088 (char *) "self", NULL
11091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
11092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11093 if (SWIG_arg_fail(1)) SWIG_fail
;
11095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11098 wxPyEndAllowThreads(__tstate
);
11099 if (PyErr_Occurred()) SWIG_fail
;
11101 Py_INCREF(Py_None
); resultobj
= Py_None
;
11108 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11109 PyObject
*resultobj
;
11110 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11112 PyObject
* obj0
= 0 ;
11113 char *kwnames
[] = {
11114 (char *) "self", NULL
11117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
11118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11119 if (SWIG_arg_fail(1)) SWIG_fail
;
11121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11122 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
11124 wxPyEndAllowThreads(__tstate
);
11125 if (PyErr_Occurred()) SWIG_fail
;
11128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11136 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11137 PyObject
*resultobj
;
11138 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11140 PyObject
* obj0
= 0 ;
11141 char *kwnames
[] = {
11142 (char *) "self", NULL
11145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
11146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11147 if (SWIG_arg_fail(1)) SWIG_fail
;
11149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11150 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
11152 wxPyEndAllowThreads(__tstate
);
11153 if (PyErr_Occurred()) SWIG_fail
;
11156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11164 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11165 PyObject
*resultobj
;
11166 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11168 PyObject
* obj0
= 0 ;
11169 char *kwnames
[] = {
11170 (char *) "self", NULL
11173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
11174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11175 if (SWIG_arg_fail(1)) SWIG_fail
;
11177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11178 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
11180 wxPyEndAllowThreads(__tstate
);
11181 if (PyErr_Occurred()) SWIG_fail
;
11184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11192 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11193 PyObject
*resultobj
;
11194 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11195 PyObject
* obj0
= 0 ;
11196 char *kwnames
[] = {
11197 (char *) "self", NULL
11200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
11201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11202 if (SWIG_arg_fail(1)) SWIG_fail
;
11204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11207 wxPyEndAllowThreads(__tstate
);
11208 if (PyErr_Occurred()) SWIG_fail
;
11210 Py_INCREF(Py_None
); resultobj
= Py_None
;
11217 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11218 PyObject
*resultobj
;
11219 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11220 PyObject
* obj0
= 0 ;
11221 char *kwnames
[] = {
11222 (char *) "self", NULL
11225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
11226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11227 if (SWIG_arg_fail(1)) SWIG_fail
;
11229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11232 wxPyEndAllowThreads(__tstate
);
11233 if (PyErr_Occurred()) SWIG_fail
;
11235 Py_INCREF(Py_None
); resultobj
= Py_None
;
11242 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11243 PyObject
*resultobj
;
11244 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11246 PyObject
* obj0
= 0 ;
11247 char *kwnames
[] = {
11248 (char *) "self", NULL
11251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
11252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11253 if (SWIG_arg_fail(1)) SWIG_fail
;
11255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11256 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
11258 wxPyEndAllowThreads(__tstate
);
11259 if (PyErr_Occurred()) SWIG_fail
;
11262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11270 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11271 PyObject
*resultobj
;
11272 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11274 PyObject
* obj0
= 0 ;
11275 char *kwnames
[] = {
11276 (char *) "self", NULL
11279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
11280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11281 if (SWIG_arg_fail(1)) SWIG_fail
;
11283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11284 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
11286 wxPyEndAllowThreads(__tstate
);
11287 if (PyErr_Occurred()) SWIG_fail
;
11290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11298 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11299 PyObject
*resultobj
;
11300 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11302 PyObject
* obj0
= 0 ;
11303 PyObject
* obj1
= 0 ;
11304 char *kwnames
[] = {
11305 (char *) "self",(char *) "pos", NULL
11308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11310 if (SWIG_arg_fail(1)) SWIG_fail
;
11312 arg2
= (long)(SWIG_As_long(obj1
));
11313 if (SWIG_arg_fail(2)) SWIG_fail
;
11316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11317 (arg1
)->SetInsertionPoint(arg2
);
11319 wxPyEndAllowThreads(__tstate
);
11320 if (PyErr_Occurred()) SWIG_fail
;
11322 Py_INCREF(Py_None
); resultobj
= Py_None
;
11329 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11330 PyObject
*resultobj
;
11331 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11332 PyObject
* obj0
= 0 ;
11333 char *kwnames
[] = {
11334 (char *) "self", NULL
11337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
11338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11339 if (SWIG_arg_fail(1)) SWIG_fail
;
11341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11342 (arg1
)->SetInsertionPointEnd();
11344 wxPyEndAllowThreads(__tstate
);
11345 if (PyErr_Occurred()) SWIG_fail
;
11347 Py_INCREF(Py_None
); resultobj
= Py_None
;
11354 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11355 PyObject
*resultobj
;
11356 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11358 PyObject
* obj0
= 0 ;
11359 char *kwnames
[] = {
11360 (char *) "self", NULL
11363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
11364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11365 if (SWIG_arg_fail(1)) SWIG_fail
;
11367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11368 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
11370 wxPyEndAllowThreads(__tstate
);
11371 if (PyErr_Occurred()) SWIG_fail
;
11374 resultobj
= SWIG_From_long((long)(result
));
11382 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11383 PyObject
*resultobj
;
11384 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11386 PyObject
* obj0
= 0 ;
11387 char *kwnames
[] = {
11388 (char *) "self", NULL
11391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
11392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11393 if (SWIG_arg_fail(1)) SWIG_fail
;
11395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11396 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
11398 wxPyEndAllowThreads(__tstate
);
11399 if (PyErr_Occurred()) SWIG_fail
;
11402 resultobj
= SWIG_From_long((long)(result
));
11410 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11411 PyObject
*resultobj
;
11412 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11415 PyObject
* obj0
= 0 ;
11416 PyObject
* obj1
= 0 ;
11417 PyObject
* obj2
= 0 ;
11418 char *kwnames
[] = {
11419 (char *) "self",(char *) "from",(char *) "to", NULL
11422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11424 if (SWIG_arg_fail(1)) SWIG_fail
;
11426 arg2
= (long)(SWIG_As_long(obj1
));
11427 if (SWIG_arg_fail(2)) SWIG_fail
;
11430 arg3
= (long)(SWIG_As_long(obj2
));
11431 if (SWIG_arg_fail(3)) SWIG_fail
;
11434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11435 (arg1
)->SetSelection(arg2
,arg3
);
11437 wxPyEndAllowThreads(__tstate
);
11438 if (PyErr_Occurred()) SWIG_fail
;
11440 Py_INCREF(Py_None
); resultobj
= Py_None
;
11447 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11448 PyObject
*resultobj
;
11449 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11450 PyObject
* obj0
= 0 ;
11451 char *kwnames
[] = {
11452 (char *) "self", NULL
11455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
11456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11457 if (SWIG_arg_fail(1)) SWIG_fail
;
11459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11460 (arg1
)->SelectAll();
11462 wxPyEndAllowThreads(__tstate
);
11463 if (PyErr_Occurred()) SWIG_fail
;
11465 Py_INCREF(Py_None
); resultobj
= Py_None
;
11472 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11473 PyObject
*resultobj
;
11474 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11476 PyObject
* obj0
= 0 ;
11477 PyObject
* obj1
= 0 ;
11478 char *kwnames
[] = {
11479 (char *) "self",(char *) "editable", NULL
11482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
11483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11484 if (SWIG_arg_fail(1)) SWIG_fail
;
11486 arg2
= (bool)(SWIG_As_bool(obj1
));
11487 if (SWIG_arg_fail(2)) SWIG_fail
;
11490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11491 (arg1
)->SetEditable(arg2
);
11493 wxPyEndAllowThreads(__tstate
);
11494 if (PyErr_Occurred()) SWIG_fail
;
11496 Py_INCREF(Py_None
); resultobj
= Py_None
;
11503 static PyObject
*_wrap_TextCtrl_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11504 PyObject
*resultobj
;
11505 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11506 wxString
*arg2
= 0 ;
11507 bool temp2
= false ;
11508 PyObject
* obj0
= 0 ;
11509 PyObject
* obj1
= 0 ;
11510 char *kwnames
[] = {
11511 (char *) "self",(char *) "text", NULL
11514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
11515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11516 if (SWIG_arg_fail(1)) SWIG_fail
;
11518 arg2
= wxString_in_helper(obj1
);
11519 if (arg2
== NULL
) SWIG_fail
;
11523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11524 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
11526 wxPyEndAllowThreads(__tstate
);
11527 if (PyErr_Occurred()) SWIG_fail
;
11529 Py_INCREF(Py_None
); resultobj
= Py_None
;
11544 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11545 PyObject
*resultobj
;
11546 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11550 PyObject
* obj0
= 0 ;
11551 PyObject
* obj1
= 0 ;
11552 PyObject
* obj2
= 0 ;
11553 char *kwnames
[] = {
11554 (char *) "self",(char *) "from",(char *) "to", NULL
11557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11559 if (SWIG_arg_fail(1)) SWIG_fail
;
11561 arg2
= (long)(SWIG_As_long(obj1
));
11562 if (SWIG_arg_fail(2)) SWIG_fail
;
11565 arg3
= (long)(SWIG_As_long(obj2
));
11566 if (SWIG_arg_fail(3)) SWIG_fail
;
11569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11570 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
11572 wxPyEndAllowThreads(__tstate
);
11573 if (PyErr_Occurred()) SWIG_fail
;
11577 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11579 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11588 static PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11589 PyObject
*resultobj
;
11590 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
11591 wxVisualAttributes result
;
11592 PyObject
* obj0
= 0 ;
11593 char *kwnames
[] = {
11594 (char *) "variant", NULL
11597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11600 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
11601 if (SWIG_arg_fail(1)) SWIG_fail
;
11605 if (!wxPyCheckForApp()) SWIG_fail
;
11606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11607 result
= wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11609 wxPyEndAllowThreads(__tstate
);
11610 if (PyErr_Occurred()) SWIG_fail
;
11613 wxVisualAttributes
* resultptr
;
11614 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
11615 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11623 static PyObject
* TextCtrl_swigregister(PyObject
*, PyObject
*args
) {
11625 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11626 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
11628 return Py_BuildValue((char *)"");
11630 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11631 PyObject
*resultobj
;
11633 wxMouseEvent
*arg2
= 0 ;
11636 wxTextUrlEvent
*result
;
11637 PyObject
* obj0
= 0 ;
11638 PyObject
* obj1
= 0 ;
11639 PyObject
* obj2
= 0 ;
11640 PyObject
* obj3
= 0 ;
11641 char *kwnames
[] = {
11642 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
11645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11647 arg1
= (int)(SWIG_As_int(obj0
));
11648 if (SWIG_arg_fail(1)) SWIG_fail
;
11651 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
11652 if (SWIG_arg_fail(2)) SWIG_fail
;
11653 if (arg2
== NULL
) {
11654 SWIG_null_ref("wxMouseEvent");
11656 if (SWIG_arg_fail(2)) SWIG_fail
;
11659 arg3
= (long)(SWIG_As_long(obj2
));
11660 if (SWIG_arg_fail(3)) SWIG_fail
;
11663 arg4
= (long)(SWIG_As_long(obj3
));
11664 if (SWIG_arg_fail(4)) SWIG_fail
;
11667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11668 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
11670 wxPyEndAllowThreads(__tstate
);
11671 if (PyErr_Occurred()) SWIG_fail
;
11673 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
11680 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11681 PyObject
*resultobj
;
11682 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11683 wxMouseEvent
*result
;
11684 PyObject
* obj0
= 0 ;
11685 char *kwnames
[] = {
11686 (char *) "self", NULL
11689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
11690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11691 if (SWIG_arg_fail(1)) SWIG_fail
;
11693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11695 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
11696 result
= (wxMouseEvent
*) &_result_ref
;
11699 wxPyEndAllowThreads(__tstate
);
11700 if (PyErr_Occurred()) SWIG_fail
;
11702 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
11709 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11710 PyObject
*resultobj
;
11711 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11713 PyObject
* obj0
= 0 ;
11714 char *kwnames
[] = {
11715 (char *) "self", NULL
11718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
11719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11720 if (SWIG_arg_fail(1)) SWIG_fail
;
11722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11723 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
11725 wxPyEndAllowThreads(__tstate
);
11726 if (PyErr_Occurred()) SWIG_fail
;
11729 resultobj
= SWIG_From_long((long)(result
));
11737 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11738 PyObject
*resultobj
;
11739 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11741 PyObject
* obj0
= 0 ;
11742 char *kwnames
[] = {
11743 (char *) "self", NULL
11746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
11747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11748 if (SWIG_arg_fail(1)) SWIG_fail
;
11750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11751 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
11753 wxPyEndAllowThreads(__tstate
);
11754 if (PyErr_Occurred()) SWIG_fail
;
11757 resultobj
= SWIG_From_long((long)(result
));
11765 static PyObject
* TextUrlEvent_swigregister(PyObject
*, PyObject
*args
) {
11767 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11768 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
11770 return Py_BuildValue((char *)"");
11772 static int _wrap_ScrollBarNameStr_set(PyObject
*) {
11773 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
11778 static PyObject
*_wrap_ScrollBarNameStr_get(void) {
11783 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
11785 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
11792 static PyObject
*_wrap_new_ScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11793 PyObject
*resultobj
;
11794 wxWindow
*arg1
= (wxWindow
*) 0 ;
11795 int arg2
= (int) -1 ;
11796 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11797 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11798 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11799 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11800 long arg5
= (long) wxSB_HORIZONTAL
;
11801 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
11802 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
11803 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
11804 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11805 wxScrollBar
*result
;
11808 bool temp7
= false ;
11809 PyObject
* obj0
= 0 ;
11810 PyObject
* obj1
= 0 ;
11811 PyObject
* obj2
= 0 ;
11812 PyObject
* obj3
= 0 ;
11813 PyObject
* obj4
= 0 ;
11814 PyObject
* obj5
= 0 ;
11815 PyObject
* obj6
= 0 ;
11816 char *kwnames
[] = {
11817 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11822 if (SWIG_arg_fail(1)) SWIG_fail
;
11825 arg2
= (int)(SWIG_As_int(obj1
));
11826 if (SWIG_arg_fail(2)) SWIG_fail
;
11832 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11838 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11843 arg5
= (long)(SWIG_As_long(obj4
));
11844 if (SWIG_arg_fail(5)) SWIG_fail
;
11849 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
11850 if (SWIG_arg_fail(6)) SWIG_fail
;
11851 if (arg6
== NULL
) {
11852 SWIG_null_ref("wxValidator");
11854 if (SWIG_arg_fail(6)) SWIG_fail
;
11859 arg7
= wxString_in_helper(obj6
);
11860 if (arg7
== NULL
) SWIG_fail
;
11865 if (!wxPyCheckForApp()) SWIG_fail
;
11866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11867 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
11869 wxPyEndAllowThreads(__tstate
);
11870 if (PyErr_Occurred()) SWIG_fail
;
11872 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
11887 static PyObject
*_wrap_new_PreScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11888 PyObject
*resultobj
;
11889 wxScrollBar
*result
;
11890 char *kwnames
[] = {
11894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
11896 if (!wxPyCheckForApp()) SWIG_fail
;
11897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11898 result
= (wxScrollBar
*)new wxScrollBar();
11900 wxPyEndAllowThreads(__tstate
);
11901 if (PyErr_Occurred()) SWIG_fail
;
11903 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
11910 static PyObject
*_wrap_ScrollBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11911 PyObject
*resultobj
;
11912 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
11913 wxWindow
*arg2
= (wxWindow
*) 0 ;
11914 int arg3
= (int) -1 ;
11915 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11916 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11917 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11918 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11919 long arg6
= (long) wxSB_HORIZONTAL
;
11920 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11921 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11922 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
11923 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11927 bool temp8
= false ;
11928 PyObject
* obj0
= 0 ;
11929 PyObject
* obj1
= 0 ;
11930 PyObject
* obj2
= 0 ;
11931 PyObject
* obj3
= 0 ;
11932 PyObject
* obj4
= 0 ;
11933 PyObject
* obj5
= 0 ;
11934 PyObject
* obj6
= 0 ;
11935 PyObject
* obj7
= 0 ;
11936 char *kwnames
[] = {
11937 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
11942 if (SWIG_arg_fail(1)) SWIG_fail
;
11943 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11944 if (SWIG_arg_fail(2)) SWIG_fail
;
11947 arg3
= (int)(SWIG_As_int(obj2
));
11948 if (SWIG_arg_fail(3)) SWIG_fail
;
11954 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11960 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11965 arg6
= (long)(SWIG_As_long(obj5
));
11966 if (SWIG_arg_fail(6)) SWIG_fail
;
11971 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
11972 if (SWIG_arg_fail(7)) SWIG_fail
;
11973 if (arg7
== NULL
) {
11974 SWIG_null_ref("wxValidator");
11976 if (SWIG_arg_fail(7)) SWIG_fail
;
11981 arg8
= wxString_in_helper(obj7
);
11982 if (arg8
== NULL
) SWIG_fail
;
11987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11988 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11990 wxPyEndAllowThreads(__tstate
);
11991 if (PyErr_Occurred()) SWIG_fail
;
11994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12010 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12011 PyObject
*resultobj
;
12012 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12014 PyObject
* obj0
= 0 ;
12015 char *kwnames
[] = {
12016 (char *) "self", NULL
12019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
12020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12021 if (SWIG_arg_fail(1)) SWIG_fail
;
12023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12024 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
12026 wxPyEndAllowThreads(__tstate
);
12027 if (PyErr_Occurred()) SWIG_fail
;
12030 resultobj
= SWIG_From_int((int)(result
));
12038 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12039 PyObject
*resultobj
;
12040 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12042 PyObject
* obj0
= 0 ;
12043 char *kwnames
[] = {
12044 (char *) "self", NULL
12047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
12048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12049 if (SWIG_arg_fail(1)) SWIG_fail
;
12051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12052 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
12054 wxPyEndAllowThreads(__tstate
);
12055 if (PyErr_Occurred()) SWIG_fail
;
12058 resultobj
= SWIG_From_int((int)(result
));
12066 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12067 PyObject
*resultobj
;
12068 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12070 PyObject
* obj0
= 0 ;
12071 char *kwnames
[] = {
12072 (char *) "self", NULL
12075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
12076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12077 if (SWIG_arg_fail(1)) SWIG_fail
;
12079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12080 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
12082 wxPyEndAllowThreads(__tstate
);
12083 if (PyErr_Occurred()) SWIG_fail
;
12086 resultobj
= SWIG_From_int((int)(result
));
12094 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12095 PyObject
*resultobj
;
12096 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12098 PyObject
* obj0
= 0 ;
12099 char *kwnames
[] = {
12100 (char *) "self", NULL
12103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
12104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12105 if (SWIG_arg_fail(1)) SWIG_fail
;
12107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12108 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
12110 wxPyEndAllowThreads(__tstate
);
12111 if (PyErr_Occurred()) SWIG_fail
;
12114 resultobj
= SWIG_From_int((int)(result
));
12122 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12123 PyObject
*resultobj
;
12124 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12126 PyObject
* obj0
= 0 ;
12127 char *kwnames
[] = {
12128 (char *) "self", NULL
12131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
12132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12133 if (SWIG_arg_fail(1)) SWIG_fail
;
12135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12136 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
12138 wxPyEndAllowThreads(__tstate
);
12139 if (PyErr_Occurred()) SWIG_fail
;
12142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12150 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12151 PyObject
*resultobj
;
12152 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12154 PyObject
* obj0
= 0 ;
12155 PyObject
* obj1
= 0 ;
12156 char *kwnames
[] = {
12157 (char *) "self",(char *) "viewStart", NULL
12160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
12161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12162 if (SWIG_arg_fail(1)) SWIG_fail
;
12164 arg2
= (int)(SWIG_As_int(obj1
));
12165 if (SWIG_arg_fail(2)) SWIG_fail
;
12168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12169 (arg1
)->SetThumbPosition(arg2
);
12171 wxPyEndAllowThreads(__tstate
);
12172 if (PyErr_Occurred()) SWIG_fail
;
12174 Py_INCREF(Py_None
); resultobj
= Py_None
;
12181 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12182 PyObject
*resultobj
;
12183 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12188 bool arg6
= (bool) true ;
12189 PyObject
* obj0
= 0 ;
12190 PyObject
* obj1
= 0 ;
12191 PyObject
* obj2
= 0 ;
12192 PyObject
* obj3
= 0 ;
12193 PyObject
* obj4
= 0 ;
12194 PyObject
* obj5
= 0 ;
12195 char *kwnames
[] = {
12196 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
12199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12201 if (SWIG_arg_fail(1)) SWIG_fail
;
12203 arg2
= (int)(SWIG_As_int(obj1
));
12204 if (SWIG_arg_fail(2)) SWIG_fail
;
12207 arg3
= (int)(SWIG_As_int(obj2
));
12208 if (SWIG_arg_fail(3)) SWIG_fail
;
12211 arg4
= (int)(SWIG_As_int(obj3
));
12212 if (SWIG_arg_fail(4)) SWIG_fail
;
12215 arg5
= (int)(SWIG_As_int(obj4
));
12216 if (SWIG_arg_fail(5)) SWIG_fail
;
12220 arg6
= (bool)(SWIG_As_bool(obj5
));
12221 if (SWIG_arg_fail(6)) SWIG_fail
;
12225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12226 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
12228 wxPyEndAllowThreads(__tstate
);
12229 if (PyErr_Occurred()) SWIG_fail
;
12231 Py_INCREF(Py_None
); resultobj
= Py_None
;
12238 static PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12239 PyObject
*resultobj
;
12240 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
12241 wxVisualAttributes result
;
12242 PyObject
* obj0
= 0 ;
12243 char *kwnames
[] = {
12244 (char *) "variant", NULL
12247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12250 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
12251 if (SWIG_arg_fail(1)) SWIG_fail
;
12255 if (!wxPyCheckForApp()) SWIG_fail
;
12256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12257 result
= wxScrollBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12259 wxPyEndAllowThreads(__tstate
);
12260 if (PyErr_Occurred()) SWIG_fail
;
12263 wxVisualAttributes
* resultptr
;
12264 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
12265 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12273 static PyObject
* ScrollBar_swigregister(PyObject
*, PyObject
*args
) {
12275 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12276 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
12278 return Py_BuildValue((char *)"");
12280 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*) {
12281 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
12286 static PyObject
*_wrap_SPIN_BUTTON_NAME_get(void) {
12291 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
12293 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
12300 static int _wrap_SpinCtrlNameStr_set(PyObject
*) {
12301 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
12306 static PyObject
*_wrap_SpinCtrlNameStr_get(void) {
12311 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
12313 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
12320 static PyObject
*_wrap_new_SpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12321 PyObject
*resultobj
;
12322 wxWindow
*arg1
= (wxWindow
*) 0 ;
12323 int arg2
= (int) -1 ;
12324 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12325 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12326 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12327 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12328 long arg5
= (long) wxSP_HORIZONTAL
;
12329 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
12330 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12331 wxSpinButton
*result
;
12334 bool temp6
= false ;
12335 PyObject
* obj0
= 0 ;
12336 PyObject
* obj1
= 0 ;
12337 PyObject
* obj2
= 0 ;
12338 PyObject
* obj3
= 0 ;
12339 PyObject
* obj4
= 0 ;
12340 PyObject
* obj5
= 0 ;
12341 char *kwnames
[] = {
12342 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12347 if (SWIG_arg_fail(1)) SWIG_fail
;
12350 arg2
= (int)(SWIG_As_int(obj1
));
12351 if (SWIG_arg_fail(2)) SWIG_fail
;
12357 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12363 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12368 arg5
= (long)(SWIG_As_long(obj4
));
12369 if (SWIG_arg_fail(5)) SWIG_fail
;
12374 arg6
= wxString_in_helper(obj5
);
12375 if (arg6
== NULL
) SWIG_fail
;
12380 if (!wxPyCheckForApp()) SWIG_fail
;
12381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12382 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12384 wxPyEndAllowThreads(__tstate
);
12385 if (PyErr_Occurred()) SWIG_fail
;
12387 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
12402 static PyObject
*_wrap_new_PreSpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12403 PyObject
*resultobj
;
12404 wxSpinButton
*result
;
12405 char *kwnames
[] = {
12409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
12411 if (!wxPyCheckForApp()) SWIG_fail
;
12412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12413 result
= (wxSpinButton
*)new wxSpinButton();
12415 wxPyEndAllowThreads(__tstate
);
12416 if (PyErr_Occurred()) SWIG_fail
;
12418 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
12425 static PyObject
*_wrap_SpinButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12426 PyObject
*resultobj
;
12427 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12428 wxWindow
*arg2
= (wxWindow
*) 0 ;
12429 int arg3
= (int) -1 ;
12430 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12431 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12432 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12433 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12434 long arg6
= (long) wxSP_HORIZONTAL
;
12435 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
12436 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12440 bool temp7
= false ;
12441 PyObject
* obj0
= 0 ;
12442 PyObject
* obj1
= 0 ;
12443 PyObject
* obj2
= 0 ;
12444 PyObject
* obj3
= 0 ;
12445 PyObject
* obj4
= 0 ;
12446 PyObject
* obj5
= 0 ;
12447 PyObject
* obj6
= 0 ;
12448 char *kwnames
[] = {
12449 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12454 if (SWIG_arg_fail(1)) SWIG_fail
;
12455 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12456 if (SWIG_arg_fail(2)) SWIG_fail
;
12459 arg3
= (int)(SWIG_As_int(obj2
));
12460 if (SWIG_arg_fail(3)) SWIG_fail
;
12466 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12472 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12477 arg6
= (long)(SWIG_As_long(obj5
));
12478 if (SWIG_arg_fail(6)) SWIG_fail
;
12483 arg7
= wxString_in_helper(obj6
);
12484 if (arg7
== NULL
) SWIG_fail
;
12489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12490 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12492 wxPyEndAllowThreads(__tstate
);
12493 if (PyErr_Occurred()) SWIG_fail
;
12496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12512 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12513 PyObject
*resultobj
;
12514 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12516 PyObject
* obj0
= 0 ;
12517 char *kwnames
[] = {
12518 (char *) "self", NULL
12521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
12522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12523 if (SWIG_arg_fail(1)) SWIG_fail
;
12525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12526 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
12528 wxPyEndAllowThreads(__tstate
);
12529 if (PyErr_Occurred()) SWIG_fail
;
12532 resultobj
= SWIG_From_int((int)(result
));
12540 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12541 PyObject
*resultobj
;
12542 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12544 PyObject
* obj0
= 0 ;
12545 char *kwnames
[] = {
12546 (char *) "self", NULL
12549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
12550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12551 if (SWIG_arg_fail(1)) SWIG_fail
;
12553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12554 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
12556 wxPyEndAllowThreads(__tstate
);
12557 if (PyErr_Occurred()) SWIG_fail
;
12560 resultobj
= SWIG_From_int((int)(result
));
12568 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12569 PyObject
*resultobj
;
12570 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12572 PyObject
* obj0
= 0 ;
12573 char *kwnames
[] = {
12574 (char *) "self", NULL
12577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
12578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12579 if (SWIG_arg_fail(1)) SWIG_fail
;
12581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12582 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
12584 wxPyEndAllowThreads(__tstate
);
12585 if (PyErr_Occurred()) SWIG_fail
;
12588 resultobj
= SWIG_From_int((int)(result
));
12596 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12597 PyObject
*resultobj
;
12598 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12600 PyObject
* obj0
= 0 ;
12601 PyObject
* obj1
= 0 ;
12602 char *kwnames
[] = {
12603 (char *) "self",(char *) "val", NULL
12606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12608 if (SWIG_arg_fail(1)) SWIG_fail
;
12610 arg2
= (int)(SWIG_As_int(obj1
));
12611 if (SWIG_arg_fail(2)) SWIG_fail
;
12614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12615 (arg1
)->SetValue(arg2
);
12617 wxPyEndAllowThreads(__tstate
);
12618 if (PyErr_Occurred()) SWIG_fail
;
12620 Py_INCREF(Py_None
); resultobj
= Py_None
;
12627 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12628 PyObject
*resultobj
;
12629 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12631 PyObject
* obj0
= 0 ;
12632 PyObject
* obj1
= 0 ;
12633 char *kwnames
[] = {
12634 (char *) "self",(char *) "minVal", NULL
12637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
12638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12639 if (SWIG_arg_fail(1)) SWIG_fail
;
12641 arg2
= (int)(SWIG_As_int(obj1
));
12642 if (SWIG_arg_fail(2)) SWIG_fail
;
12645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12646 (arg1
)->SetMin(arg2
);
12648 wxPyEndAllowThreads(__tstate
);
12649 if (PyErr_Occurred()) SWIG_fail
;
12651 Py_INCREF(Py_None
); resultobj
= Py_None
;
12658 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12659 PyObject
*resultobj
;
12660 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12662 PyObject
* obj0
= 0 ;
12663 PyObject
* obj1
= 0 ;
12664 char *kwnames
[] = {
12665 (char *) "self",(char *) "maxVal", NULL
12668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
12669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12670 if (SWIG_arg_fail(1)) SWIG_fail
;
12672 arg2
= (int)(SWIG_As_int(obj1
));
12673 if (SWIG_arg_fail(2)) SWIG_fail
;
12676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12677 (arg1
)->SetMax(arg2
);
12679 wxPyEndAllowThreads(__tstate
);
12680 if (PyErr_Occurred()) SWIG_fail
;
12682 Py_INCREF(Py_None
); resultobj
= Py_None
;
12689 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12690 PyObject
*resultobj
;
12691 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12694 PyObject
* obj0
= 0 ;
12695 PyObject
* obj1
= 0 ;
12696 PyObject
* obj2
= 0 ;
12697 char *kwnames
[] = {
12698 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
12701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12703 if (SWIG_arg_fail(1)) SWIG_fail
;
12705 arg2
= (int)(SWIG_As_int(obj1
));
12706 if (SWIG_arg_fail(2)) SWIG_fail
;
12709 arg3
= (int)(SWIG_As_int(obj2
));
12710 if (SWIG_arg_fail(3)) SWIG_fail
;
12713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12714 (arg1
)->SetRange(arg2
,arg3
);
12716 wxPyEndAllowThreads(__tstate
);
12717 if (PyErr_Occurred()) SWIG_fail
;
12719 Py_INCREF(Py_None
); resultobj
= Py_None
;
12726 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12727 PyObject
*resultobj
;
12728 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12730 PyObject
* obj0
= 0 ;
12731 char *kwnames
[] = {
12732 (char *) "self", NULL
12735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12740 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
12742 wxPyEndAllowThreads(__tstate
);
12743 if (PyErr_Occurred()) SWIG_fail
;
12746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12754 static PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12755 PyObject
*resultobj
;
12756 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
12757 wxVisualAttributes result
;
12758 PyObject
* obj0
= 0 ;
12759 char *kwnames
[] = {
12760 (char *) "variant", NULL
12763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12766 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
12767 if (SWIG_arg_fail(1)) SWIG_fail
;
12771 if (!wxPyCheckForApp()) SWIG_fail
;
12772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12773 result
= wxSpinButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12775 wxPyEndAllowThreads(__tstate
);
12776 if (PyErr_Occurred()) SWIG_fail
;
12779 wxVisualAttributes
* resultptr
;
12780 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
12781 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12789 static PyObject
* SpinButton_swigregister(PyObject
*, PyObject
*args
) {
12791 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12792 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
12794 return Py_BuildValue((char *)"");
12796 static PyObject
*_wrap_new_SpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12797 PyObject
*resultobj
;
12798 wxWindow
*arg1
= (wxWindow
*) 0 ;
12799 int arg2
= (int) -1 ;
12800 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12801 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12802 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12803 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12804 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12805 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12806 long arg6
= (long) wxSP_ARROW_KEYS
;
12807 int arg7
= (int) 0 ;
12808 int arg8
= (int) 100 ;
12809 int arg9
= (int) 0 ;
12810 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
12811 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12812 wxSpinCtrl
*result
;
12813 bool temp3
= false ;
12816 bool temp10
= false ;
12817 PyObject
* obj0
= 0 ;
12818 PyObject
* obj1
= 0 ;
12819 PyObject
* obj2
= 0 ;
12820 PyObject
* obj3
= 0 ;
12821 PyObject
* obj4
= 0 ;
12822 PyObject
* obj5
= 0 ;
12823 PyObject
* obj6
= 0 ;
12824 PyObject
* obj7
= 0 ;
12825 PyObject
* obj8
= 0 ;
12826 PyObject
* obj9
= 0 ;
12827 char *kwnames
[] = {
12828 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
12831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12833 if (SWIG_arg_fail(1)) SWIG_fail
;
12836 arg2
= (int)(SWIG_As_int(obj1
));
12837 if (SWIG_arg_fail(2)) SWIG_fail
;
12842 arg3
= wxString_in_helper(obj2
);
12843 if (arg3
== NULL
) SWIG_fail
;
12850 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12856 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12861 arg6
= (long)(SWIG_As_long(obj5
));
12862 if (SWIG_arg_fail(6)) SWIG_fail
;
12867 arg7
= (int)(SWIG_As_int(obj6
));
12868 if (SWIG_arg_fail(7)) SWIG_fail
;
12873 arg8
= (int)(SWIG_As_int(obj7
));
12874 if (SWIG_arg_fail(8)) SWIG_fail
;
12879 arg9
= (int)(SWIG_As_int(obj8
));
12880 if (SWIG_arg_fail(9)) SWIG_fail
;
12885 arg10
= wxString_in_helper(obj9
);
12886 if (arg10
== NULL
) SWIG_fail
;
12891 if (!wxPyCheckForApp()) SWIG_fail
;
12892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12893 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
12895 wxPyEndAllowThreads(__tstate
);
12896 if (PyErr_Occurred()) SWIG_fail
;
12898 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
12921 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12922 PyObject
*resultobj
;
12923 wxSpinCtrl
*result
;
12924 char *kwnames
[] = {
12928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
12930 if (!wxPyCheckForApp()) SWIG_fail
;
12931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12932 result
= (wxSpinCtrl
*)new wxSpinCtrl();
12934 wxPyEndAllowThreads(__tstate
);
12935 if (PyErr_Occurred()) SWIG_fail
;
12937 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
12944 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12945 PyObject
*resultobj
;
12946 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
12947 wxWindow
*arg2
= (wxWindow
*) 0 ;
12948 int arg3
= (int) -1 ;
12949 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12950 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12951 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12952 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12953 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12954 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12955 long arg7
= (long) wxSP_ARROW_KEYS
;
12956 int arg8
= (int) 0 ;
12957 int arg9
= (int) 100 ;
12958 int arg10
= (int) 0 ;
12959 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
12960 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
12962 bool temp4
= false ;
12965 bool temp11
= false ;
12966 PyObject
* obj0
= 0 ;
12967 PyObject
* obj1
= 0 ;
12968 PyObject
* obj2
= 0 ;
12969 PyObject
* obj3
= 0 ;
12970 PyObject
* obj4
= 0 ;
12971 PyObject
* obj5
= 0 ;
12972 PyObject
* obj6
= 0 ;
12973 PyObject
* obj7
= 0 ;
12974 PyObject
* obj8
= 0 ;
12975 PyObject
* obj9
= 0 ;
12976 PyObject
* obj10
= 0 ;
12977 char *kwnames
[] = {
12978 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
12981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
12982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
12983 if (SWIG_arg_fail(1)) SWIG_fail
;
12984 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12985 if (SWIG_arg_fail(2)) SWIG_fail
;
12988 arg3
= (int)(SWIG_As_int(obj2
));
12989 if (SWIG_arg_fail(3)) SWIG_fail
;
12994 arg4
= wxString_in_helper(obj3
);
12995 if (arg4
== NULL
) SWIG_fail
;
13002 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13008 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13013 arg7
= (long)(SWIG_As_long(obj6
));
13014 if (SWIG_arg_fail(7)) SWIG_fail
;
13019 arg8
= (int)(SWIG_As_int(obj7
));
13020 if (SWIG_arg_fail(8)) SWIG_fail
;
13025 arg9
= (int)(SWIG_As_int(obj8
));
13026 if (SWIG_arg_fail(9)) SWIG_fail
;
13031 arg10
= (int)(SWIG_As_int(obj9
));
13032 if (SWIG_arg_fail(10)) SWIG_fail
;
13037 arg11
= wxString_in_helper(obj10
);
13038 if (arg11
== NULL
) SWIG_fail
;
13043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13044 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
13046 wxPyEndAllowThreads(__tstate
);
13047 if (PyErr_Occurred()) SWIG_fail
;
13050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13074 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13075 PyObject
*resultobj
;
13076 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13078 PyObject
* obj0
= 0 ;
13079 char *kwnames
[] = {
13080 (char *) "self", NULL
13083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
13084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13085 if (SWIG_arg_fail(1)) SWIG_fail
;
13087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13088 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
13090 wxPyEndAllowThreads(__tstate
);
13091 if (PyErr_Occurred()) SWIG_fail
;
13094 resultobj
= SWIG_From_int((int)(result
));
13102 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13103 PyObject
*resultobj
;
13104 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13106 PyObject
* obj0
= 0 ;
13107 PyObject
* obj1
= 0 ;
13108 char *kwnames
[] = {
13109 (char *) "self",(char *) "value", NULL
13112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13114 if (SWIG_arg_fail(1)) SWIG_fail
;
13116 arg2
= (int)(SWIG_As_int(obj1
));
13117 if (SWIG_arg_fail(2)) SWIG_fail
;
13120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13121 (arg1
)->SetValue(arg2
);
13123 wxPyEndAllowThreads(__tstate
);
13124 if (PyErr_Occurred()) SWIG_fail
;
13126 Py_INCREF(Py_None
); resultobj
= Py_None
;
13133 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13134 PyObject
*resultobj
;
13135 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13136 wxString
*arg2
= 0 ;
13137 bool temp2
= false ;
13138 PyObject
* obj0
= 0 ;
13139 PyObject
* obj1
= 0 ;
13140 char *kwnames
[] = {
13141 (char *) "self",(char *) "text", NULL
13144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
13145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13146 if (SWIG_arg_fail(1)) SWIG_fail
;
13148 arg2
= wxString_in_helper(obj1
);
13149 if (arg2
== NULL
) SWIG_fail
;
13153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13154 (arg1
)->SetValue((wxString
const &)*arg2
);
13156 wxPyEndAllowThreads(__tstate
);
13157 if (PyErr_Occurred()) SWIG_fail
;
13159 Py_INCREF(Py_None
); resultobj
= Py_None
;
13174 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13175 PyObject
*resultobj
;
13176 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13179 PyObject
* obj0
= 0 ;
13180 PyObject
* obj1
= 0 ;
13181 PyObject
* obj2
= 0 ;
13182 char *kwnames
[] = {
13183 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
13186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13188 if (SWIG_arg_fail(1)) SWIG_fail
;
13190 arg2
= (int)(SWIG_As_int(obj1
));
13191 if (SWIG_arg_fail(2)) SWIG_fail
;
13194 arg3
= (int)(SWIG_As_int(obj2
));
13195 if (SWIG_arg_fail(3)) SWIG_fail
;
13198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13199 (arg1
)->SetRange(arg2
,arg3
);
13201 wxPyEndAllowThreads(__tstate
);
13202 if (PyErr_Occurred()) SWIG_fail
;
13204 Py_INCREF(Py_None
); resultobj
= Py_None
;
13211 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13212 PyObject
*resultobj
;
13213 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13215 PyObject
* obj0
= 0 ;
13216 char *kwnames
[] = {
13217 (char *) "self", NULL
13220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
13221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13222 if (SWIG_arg_fail(1)) SWIG_fail
;
13224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13225 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
13227 wxPyEndAllowThreads(__tstate
);
13228 if (PyErr_Occurred()) SWIG_fail
;
13231 resultobj
= SWIG_From_int((int)(result
));
13239 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13240 PyObject
*resultobj
;
13241 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13243 PyObject
* obj0
= 0 ;
13244 char *kwnames
[] = {
13245 (char *) "self", NULL
13248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
13249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13250 if (SWIG_arg_fail(1)) SWIG_fail
;
13252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13253 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
13255 wxPyEndAllowThreads(__tstate
);
13256 if (PyErr_Occurred()) SWIG_fail
;
13259 resultobj
= SWIG_From_int((int)(result
));
13267 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13268 PyObject
*resultobj
;
13269 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13272 PyObject
* obj0
= 0 ;
13273 PyObject
* obj1
= 0 ;
13274 PyObject
* obj2
= 0 ;
13275 char *kwnames
[] = {
13276 (char *) "self",(char *) "from",(char *) "to", NULL
13279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13281 if (SWIG_arg_fail(1)) SWIG_fail
;
13283 arg2
= (long)(SWIG_As_long(obj1
));
13284 if (SWIG_arg_fail(2)) SWIG_fail
;
13287 arg3
= (long)(SWIG_As_long(obj2
));
13288 if (SWIG_arg_fail(3)) SWIG_fail
;
13291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13292 (arg1
)->SetSelection(arg2
,arg3
);
13294 wxPyEndAllowThreads(__tstate
);
13295 if (PyErr_Occurred()) SWIG_fail
;
13297 Py_INCREF(Py_None
); resultobj
= Py_None
;
13304 static PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13305 PyObject
*resultobj
;
13306 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13307 wxVisualAttributes result
;
13308 PyObject
* obj0
= 0 ;
13309 char *kwnames
[] = {
13310 (char *) "variant", NULL
13313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13316 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
13317 if (SWIG_arg_fail(1)) SWIG_fail
;
13321 if (!wxPyCheckForApp()) SWIG_fail
;
13322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13323 result
= wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13325 wxPyEndAllowThreads(__tstate
);
13326 if (PyErr_Occurred()) SWIG_fail
;
13329 wxVisualAttributes
* resultptr
;
13330 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
13331 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13339 static PyObject
* SpinCtrl_swigregister(PyObject
*, PyObject
*args
) {
13341 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13342 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
13344 return Py_BuildValue((char *)"");
13346 static PyObject
*_wrap_new_SpinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13347 PyObject
*resultobj
;
13348 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13349 int arg2
= (int) 0 ;
13350 wxSpinEvent
*result
;
13351 PyObject
* obj0
= 0 ;
13352 PyObject
* obj1
= 0 ;
13353 char *kwnames
[] = {
13354 (char *) "commandType",(char *) "winid", NULL
13357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13360 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
13361 if (SWIG_arg_fail(1)) SWIG_fail
;
13366 arg2
= (int)(SWIG_As_int(obj1
));
13367 if (SWIG_arg_fail(2)) SWIG_fail
;
13371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13372 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
13374 wxPyEndAllowThreads(__tstate
);
13375 if (PyErr_Occurred()) SWIG_fail
;
13377 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
13384 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13385 PyObject
*resultobj
;
13386 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
13388 PyObject
* obj0
= 0 ;
13389 char *kwnames
[] = {
13390 (char *) "self", NULL
13393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_EXCEPTION
| 0);
13395 if (SWIG_arg_fail(1)) SWIG_fail
;
13397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13398 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
13400 wxPyEndAllowThreads(__tstate
);
13401 if (PyErr_Occurred()) SWIG_fail
;
13404 resultobj
= SWIG_From_int((int)(result
));
13412 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13413 PyObject
*resultobj
;
13414 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
13416 PyObject
* obj0
= 0 ;
13417 PyObject
* obj1
= 0 ;
13418 char *kwnames
[] = {
13419 (char *) "self",(char *) "pos", NULL
13422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_EXCEPTION
| 0);
13424 if (SWIG_arg_fail(1)) SWIG_fail
;
13426 arg2
= (int)(SWIG_As_int(obj1
));
13427 if (SWIG_arg_fail(2)) SWIG_fail
;
13430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13431 (arg1
)->SetPosition(arg2
);
13433 wxPyEndAllowThreads(__tstate
);
13434 if (PyErr_Occurred()) SWIG_fail
;
13436 Py_INCREF(Py_None
); resultobj
= Py_None
;
13443 static PyObject
* SpinEvent_swigregister(PyObject
*, PyObject
*args
) {
13445 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13446 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
13448 return Py_BuildValue((char *)"");
13450 static int _wrap_RadioBoxNameStr_set(PyObject
*) {
13451 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
13456 static PyObject
*_wrap_RadioBoxNameStr_get(void) {
13461 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
13463 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
13470 static int _wrap_RadioButtonNameStr_set(PyObject
*) {
13471 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
13476 static PyObject
*_wrap_RadioButtonNameStr_get(void) {
13481 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
13483 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
13490 static PyObject
*_wrap_new_RadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13491 PyObject
*resultobj
;
13492 wxWindow
*arg1
= (wxWindow
*) 0 ;
13493 int arg2
= (int) -1 ;
13494 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13495 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13496 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13497 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13498 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13499 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13500 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
13501 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
13502 int arg7
= (int) 0 ;
13503 long arg8
= (long) wxRA_HORIZONTAL
;
13504 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
13505 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
13506 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
13507 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
13508 wxRadioBox
*result
;
13509 bool temp3
= false ;
13512 bool temp6
= false ;
13513 bool temp10
= false ;
13514 PyObject
* obj0
= 0 ;
13515 PyObject
* obj1
= 0 ;
13516 PyObject
* obj2
= 0 ;
13517 PyObject
* obj3
= 0 ;
13518 PyObject
* obj4
= 0 ;
13519 PyObject
* obj5
= 0 ;
13520 PyObject
* obj6
= 0 ;
13521 PyObject
* obj7
= 0 ;
13522 PyObject
* obj8
= 0 ;
13523 PyObject
* obj9
= 0 ;
13524 char *kwnames
[] = {
13525 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
13529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13530 if (SWIG_arg_fail(1)) SWIG_fail
;
13533 arg2
= (int)(SWIG_As_int(obj1
));
13534 if (SWIG_arg_fail(2)) SWIG_fail
;
13539 arg3
= wxString_in_helper(obj2
);
13540 if (arg3
== NULL
) SWIG_fail
;
13547 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13553 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13558 if (! PySequence_Check(obj5
)) {
13559 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13562 arg6
= new wxArrayString
;
13564 int i
, len
=PySequence_Length(obj5
);
13565 for (i
=0; i
<len
; i
++) {
13566 PyObject
* item
= PySequence_GetItem(obj5
, i
);
13567 wxString
* s
= wxString_in_helper(item
);
13568 if (PyErr_Occurred()) SWIG_fail
;
13577 arg7
= (int)(SWIG_As_int(obj6
));
13578 if (SWIG_arg_fail(7)) SWIG_fail
;
13583 arg8
= (long)(SWIG_As_long(obj7
));
13584 if (SWIG_arg_fail(8)) SWIG_fail
;
13589 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
13590 if (SWIG_arg_fail(9)) SWIG_fail
;
13591 if (arg9
== NULL
) {
13592 SWIG_null_ref("wxValidator");
13594 if (SWIG_arg_fail(9)) SWIG_fail
;
13599 arg10
= wxString_in_helper(obj9
);
13600 if (arg10
== NULL
) SWIG_fail
;
13605 if (!wxPyCheckForApp()) SWIG_fail
;
13606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13607 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
);
13609 wxPyEndAllowThreads(__tstate
);
13610 if (PyErr_Occurred()) SWIG_fail
;
13612 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
13618 if (temp6
) delete arg6
;
13631 if (temp6
) delete arg6
;
13641 static PyObject
*_wrap_new_PreRadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13642 PyObject
*resultobj
;
13643 wxRadioBox
*result
;
13644 char *kwnames
[] = {
13648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
13650 if (!wxPyCheckForApp()) SWIG_fail
;
13651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13652 result
= (wxRadioBox
*)new wxRadioBox();
13654 wxPyEndAllowThreads(__tstate
);
13655 if (PyErr_Occurred()) SWIG_fail
;
13657 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
13664 static PyObject
*_wrap_RadioBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13665 PyObject
*resultobj
;
13666 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13667 wxWindow
*arg2
= (wxWindow
*) 0 ;
13668 int arg3
= (int) -1 ;
13669 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13670 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13671 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13672 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13673 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13674 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13675 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
13676 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
13677 int arg8
= (int) 0 ;
13678 long arg9
= (long) wxRA_HORIZONTAL
;
13679 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
13680 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
13681 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
13682 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
13684 bool temp4
= false ;
13687 bool temp7
= false ;
13688 bool temp11
= false ;
13689 PyObject
* obj0
= 0 ;
13690 PyObject
* obj1
= 0 ;
13691 PyObject
* obj2
= 0 ;
13692 PyObject
* obj3
= 0 ;
13693 PyObject
* obj4
= 0 ;
13694 PyObject
* obj5
= 0 ;
13695 PyObject
* obj6
= 0 ;
13696 PyObject
* obj7
= 0 ;
13697 PyObject
* obj8
= 0 ;
13698 PyObject
* obj9
= 0 ;
13699 PyObject
* obj10
= 0 ;
13700 char *kwnames
[] = {
13701 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
13705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13706 if (SWIG_arg_fail(1)) SWIG_fail
;
13707 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13708 if (SWIG_arg_fail(2)) SWIG_fail
;
13711 arg3
= (int)(SWIG_As_int(obj2
));
13712 if (SWIG_arg_fail(3)) SWIG_fail
;
13717 arg4
= wxString_in_helper(obj3
);
13718 if (arg4
== NULL
) SWIG_fail
;
13725 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13731 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13736 if (! PySequence_Check(obj6
)) {
13737 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13740 arg7
= new wxArrayString
;
13742 int i
, len
=PySequence_Length(obj6
);
13743 for (i
=0; i
<len
; i
++) {
13744 PyObject
* item
= PySequence_GetItem(obj6
, i
);
13745 wxString
* s
= wxString_in_helper(item
);
13746 if (PyErr_Occurred()) SWIG_fail
;
13755 arg8
= (int)(SWIG_As_int(obj7
));
13756 if (SWIG_arg_fail(8)) SWIG_fail
;
13761 arg9
= (long)(SWIG_As_long(obj8
));
13762 if (SWIG_arg_fail(9)) SWIG_fail
;
13767 SWIG_Python_ConvertPtr(obj9
, (void **)&arg10
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
13768 if (SWIG_arg_fail(10)) SWIG_fail
;
13769 if (arg10
== NULL
) {
13770 SWIG_null_ref("wxValidator");
13772 if (SWIG_arg_fail(10)) SWIG_fail
;
13777 arg11
= wxString_in_helper(obj10
);
13778 if (arg11
== NULL
) SWIG_fail
;
13783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13784 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
);
13786 wxPyEndAllowThreads(__tstate
);
13787 if (PyErr_Occurred()) SWIG_fail
;
13790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13797 if (temp7
) delete arg7
;
13810 if (temp7
) delete arg7
;
13820 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13821 PyObject
*resultobj
;
13822 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13824 PyObject
* obj0
= 0 ;
13825 PyObject
* obj1
= 0 ;
13826 char *kwnames
[] = {
13827 (char *) "self",(char *) "n", NULL
13830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13832 if (SWIG_arg_fail(1)) SWIG_fail
;
13834 arg2
= (int)(SWIG_As_int(obj1
));
13835 if (SWIG_arg_fail(2)) SWIG_fail
;
13838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13839 (arg1
)->SetSelection(arg2
);
13841 wxPyEndAllowThreads(__tstate
);
13842 if (PyErr_Occurred()) SWIG_fail
;
13844 Py_INCREF(Py_None
); resultobj
= Py_None
;
13851 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13852 PyObject
*resultobj
;
13853 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13855 PyObject
* obj0
= 0 ;
13856 char *kwnames
[] = {
13857 (char *) "self", NULL
13860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
13861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13862 if (SWIG_arg_fail(1)) SWIG_fail
;
13864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13865 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
13867 wxPyEndAllowThreads(__tstate
);
13868 if (PyErr_Occurred()) SWIG_fail
;
13871 resultobj
= SWIG_From_int((int)(result
));
13879 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13880 PyObject
*resultobj
;
13881 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13883 PyObject
* obj0
= 0 ;
13884 char *kwnames
[] = {
13885 (char *) "self", NULL
13888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
13889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13890 if (SWIG_arg_fail(1)) SWIG_fail
;
13892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13893 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
13895 wxPyEndAllowThreads(__tstate
);
13896 if (PyErr_Occurred()) SWIG_fail
;
13900 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13902 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13911 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13912 PyObject
*resultobj
;
13913 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13914 wxString
*arg2
= 0 ;
13916 bool temp2
= false ;
13917 PyObject
* obj0
= 0 ;
13918 PyObject
* obj1
= 0 ;
13919 char *kwnames
[] = {
13920 (char *) "self",(char *) "s", NULL
13923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13925 if (SWIG_arg_fail(1)) SWIG_fail
;
13927 arg2
= wxString_in_helper(obj1
);
13928 if (arg2
== NULL
) SWIG_fail
;
13932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13933 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
13935 wxPyEndAllowThreads(__tstate
);
13936 if (PyErr_Occurred()) SWIG_fail
;
13939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13955 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13956 PyObject
*resultobj
;
13957 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13959 PyObject
* obj0
= 0 ;
13960 char *kwnames
[] = {
13961 (char *) "self", NULL
13964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
13965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13966 if (SWIG_arg_fail(1)) SWIG_fail
;
13968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13969 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
13971 wxPyEndAllowThreads(__tstate
);
13972 if (PyErr_Occurred()) SWIG_fail
;
13975 resultobj
= SWIG_From_int((int)(result
));
13983 static PyObject
*_wrap_RadioBox_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13984 PyObject
*resultobj
;
13985 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13986 wxString
*arg2
= 0 ;
13988 bool temp2
= false ;
13989 PyObject
* obj0
= 0 ;
13990 PyObject
* obj1
= 0 ;
13991 char *kwnames
[] = {
13992 (char *) "self",(char *) "s", NULL
13995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13997 if (SWIG_arg_fail(1)) SWIG_fail
;
13999 arg2
= wxString_in_helper(obj1
);
14000 if (arg2
== NULL
) SWIG_fail
;
14004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14005 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
14007 wxPyEndAllowThreads(__tstate
);
14008 if (PyErr_Occurred()) SWIG_fail
;
14011 resultobj
= SWIG_From_int((int)(result
));
14027 static PyObject
*_wrap_RadioBox_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14028 PyObject
*resultobj
;
14029 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14032 PyObject
* obj0
= 0 ;
14033 PyObject
* obj1
= 0 ;
14034 char *kwnames
[] = {
14035 (char *) "self",(char *) "n", NULL
14038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
14039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14040 if (SWIG_arg_fail(1)) SWIG_fail
;
14042 arg2
= (int)(SWIG_As_int(obj1
));
14043 if (SWIG_arg_fail(2)) SWIG_fail
;
14046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14047 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
14049 wxPyEndAllowThreads(__tstate
);
14050 if (PyErr_Occurred()) SWIG_fail
;
14054 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14056 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14065 static PyObject
*_wrap_RadioBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14066 PyObject
*resultobj
;
14067 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14069 wxString
*arg3
= 0 ;
14070 bool temp3
= false ;
14071 PyObject
* obj0
= 0 ;
14072 PyObject
* obj1
= 0 ;
14073 PyObject
* obj2
= 0 ;
14074 char *kwnames
[] = {
14075 (char *) "self",(char *) "n",(char *) "label", NULL
14078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14080 if (SWIG_arg_fail(1)) SWIG_fail
;
14082 arg2
= (int)(SWIG_As_int(obj1
));
14083 if (SWIG_arg_fail(2)) SWIG_fail
;
14086 arg3
= wxString_in_helper(obj2
);
14087 if (arg3
== NULL
) SWIG_fail
;
14091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14092 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
14094 wxPyEndAllowThreads(__tstate
);
14095 if (PyErr_Occurred()) SWIG_fail
;
14097 Py_INCREF(Py_None
); resultobj
= Py_None
;
14112 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14113 PyObject
*resultobj
;
14114 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14116 bool arg3
= (bool) true ;
14117 PyObject
* obj0
= 0 ;
14118 PyObject
* obj1
= 0 ;
14119 PyObject
* obj2
= 0 ;
14120 char *kwnames
[] = {
14121 (char *) "self",(char *) "n",(char *) "enable", NULL
14124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) 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
= (int)(SWIG_As_int(obj1
));
14129 if (SWIG_arg_fail(2)) SWIG_fail
;
14133 arg3
= (bool)(SWIG_As_bool(obj2
));
14134 if (SWIG_arg_fail(3)) SWIG_fail
;
14138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14139 (arg1
)->Enable(arg2
,arg3
);
14141 wxPyEndAllowThreads(__tstate
);
14142 if (PyErr_Occurred()) SWIG_fail
;
14144 Py_INCREF(Py_None
); resultobj
= Py_None
;
14151 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14152 PyObject
*resultobj
;
14153 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14155 bool arg3
= (bool) true ;
14156 PyObject
* obj0
= 0 ;
14157 PyObject
* obj1
= 0 ;
14158 PyObject
* obj2
= 0 ;
14159 char *kwnames
[] = {
14160 (char *) "self",(char *) "n",(char *) "show", NULL
14163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14165 if (SWIG_arg_fail(1)) SWIG_fail
;
14167 arg2
= (int)(SWIG_As_int(obj1
));
14168 if (SWIG_arg_fail(2)) SWIG_fail
;
14172 arg3
= (bool)(SWIG_As_bool(obj2
));
14173 if (SWIG_arg_fail(3)) SWIG_fail
;
14177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14178 (arg1
)->Show(arg2
,arg3
);
14180 wxPyEndAllowThreads(__tstate
);
14181 if (PyErr_Occurred()) SWIG_fail
;
14183 Py_INCREF(Py_None
); resultobj
= Py_None
;
14190 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14191 PyObject
*resultobj
;
14192 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14194 PyObject
* obj0
= 0 ;
14195 char *kwnames
[] = {
14196 (char *) "self", NULL
14199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
14200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14201 if (SWIG_arg_fail(1)) SWIG_fail
;
14203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14204 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
14206 wxPyEndAllowThreads(__tstate
);
14207 if (PyErr_Occurred()) SWIG_fail
;
14210 resultobj
= SWIG_From_int((int)(result
));
14218 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14219 PyObject
*resultobj
;
14220 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14222 PyObject
* obj0
= 0 ;
14223 char *kwnames
[] = {
14224 (char *) "self", NULL
14227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
14228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14229 if (SWIG_arg_fail(1)) SWIG_fail
;
14231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14232 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
14234 wxPyEndAllowThreads(__tstate
);
14235 if (PyErr_Occurred()) SWIG_fail
;
14238 resultobj
= SWIG_From_int((int)(result
));
14246 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14247 PyObject
*resultobj
;
14248 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14253 PyObject
* obj0
= 0 ;
14254 PyObject
* obj1
= 0 ;
14255 PyObject
* obj2
= 0 ;
14256 PyObject
* obj3
= 0 ;
14257 char *kwnames
[] = {
14258 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
14261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14263 if (SWIG_arg_fail(1)) SWIG_fail
;
14265 arg2
= (int)(SWIG_As_int(obj1
));
14266 if (SWIG_arg_fail(2)) SWIG_fail
;
14269 arg3
= (wxDirection
)(SWIG_As_int(obj2
));
14270 if (SWIG_arg_fail(3)) SWIG_fail
;
14273 arg4
= (long)(SWIG_As_long(obj3
));
14274 if (SWIG_arg_fail(4)) SWIG_fail
;
14277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14278 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
14280 wxPyEndAllowThreads(__tstate
);
14281 if (PyErr_Occurred()) SWIG_fail
;
14284 resultobj
= SWIG_From_int((int)(result
));
14292 static PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14293 PyObject
*resultobj
;
14294 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14295 wxVisualAttributes result
;
14296 PyObject
* obj0
= 0 ;
14297 char *kwnames
[] = {
14298 (char *) "variant", NULL
14301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14304 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
14305 if (SWIG_arg_fail(1)) SWIG_fail
;
14309 if (!wxPyCheckForApp()) SWIG_fail
;
14310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14311 result
= wxRadioBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14313 wxPyEndAllowThreads(__tstate
);
14314 if (PyErr_Occurred()) SWIG_fail
;
14317 wxVisualAttributes
* resultptr
;
14318 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
14319 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14327 static PyObject
* RadioBox_swigregister(PyObject
*, PyObject
*args
) {
14329 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14330 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
14332 return Py_BuildValue((char *)"");
14334 static PyObject
*_wrap_new_RadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14335 PyObject
*resultobj
;
14336 wxWindow
*arg1
= (wxWindow
*) 0 ;
14337 int arg2
= (int) -1 ;
14338 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14339 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14340 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14341 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14342 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14343 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14344 long arg6
= (long) 0 ;
14345 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14346 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14347 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
14348 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14349 wxRadioButton
*result
;
14350 bool temp3
= false ;
14353 bool temp8
= false ;
14354 PyObject
* obj0
= 0 ;
14355 PyObject
* obj1
= 0 ;
14356 PyObject
* obj2
= 0 ;
14357 PyObject
* obj3
= 0 ;
14358 PyObject
* obj4
= 0 ;
14359 PyObject
* obj5
= 0 ;
14360 PyObject
* obj6
= 0 ;
14361 PyObject
* obj7
= 0 ;
14362 char *kwnames
[] = {
14363 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14368 if (SWIG_arg_fail(1)) SWIG_fail
;
14371 arg2
= (int)(SWIG_As_int(obj1
));
14372 if (SWIG_arg_fail(2)) SWIG_fail
;
14377 arg3
= wxString_in_helper(obj2
);
14378 if (arg3
== NULL
) SWIG_fail
;
14385 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14391 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14396 arg6
= (long)(SWIG_As_long(obj5
));
14397 if (SWIG_arg_fail(6)) SWIG_fail
;
14402 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14403 if (SWIG_arg_fail(7)) SWIG_fail
;
14404 if (arg7
== NULL
) {
14405 SWIG_null_ref("wxValidator");
14407 if (SWIG_arg_fail(7)) SWIG_fail
;
14412 arg8
= wxString_in_helper(obj7
);
14413 if (arg8
== NULL
) SWIG_fail
;
14418 if (!wxPyCheckForApp()) SWIG_fail
;
14419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14420 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14422 wxPyEndAllowThreads(__tstate
);
14423 if (PyErr_Occurred()) SWIG_fail
;
14425 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
14448 static PyObject
*_wrap_new_PreRadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14449 PyObject
*resultobj
;
14450 wxRadioButton
*result
;
14451 char *kwnames
[] = {
14455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
14457 if (!wxPyCheckForApp()) SWIG_fail
;
14458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14459 result
= (wxRadioButton
*)new wxRadioButton();
14461 wxPyEndAllowThreads(__tstate
);
14462 if (PyErr_Occurred()) SWIG_fail
;
14464 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
14471 static PyObject
*_wrap_RadioButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14472 PyObject
*resultobj
;
14473 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14474 wxWindow
*arg2
= (wxWindow
*) 0 ;
14475 int arg3
= (int) -1 ;
14476 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14477 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14478 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14479 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14480 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14481 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14482 long arg7
= (long) 0 ;
14483 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
14484 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
14485 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
14486 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
14488 bool temp4
= false ;
14491 bool temp9
= false ;
14492 PyObject
* obj0
= 0 ;
14493 PyObject
* obj1
= 0 ;
14494 PyObject
* obj2
= 0 ;
14495 PyObject
* obj3
= 0 ;
14496 PyObject
* obj4
= 0 ;
14497 PyObject
* obj5
= 0 ;
14498 PyObject
* obj6
= 0 ;
14499 PyObject
* obj7
= 0 ;
14500 PyObject
* obj8
= 0 ;
14501 char *kwnames
[] = {
14502 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
14506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14507 if (SWIG_arg_fail(1)) SWIG_fail
;
14508 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14509 if (SWIG_arg_fail(2)) SWIG_fail
;
14512 arg3
= (int)(SWIG_As_int(obj2
));
14513 if (SWIG_arg_fail(3)) SWIG_fail
;
14518 arg4
= wxString_in_helper(obj3
);
14519 if (arg4
== NULL
) SWIG_fail
;
14526 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14532 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14537 arg7
= (long)(SWIG_As_long(obj6
));
14538 if (SWIG_arg_fail(7)) SWIG_fail
;
14543 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14544 if (SWIG_arg_fail(8)) SWIG_fail
;
14545 if (arg8
== NULL
) {
14546 SWIG_null_ref("wxValidator");
14548 if (SWIG_arg_fail(8)) SWIG_fail
;
14553 arg9
= wxString_in_helper(obj8
);
14554 if (arg9
== NULL
) SWIG_fail
;
14559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14560 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
14562 wxPyEndAllowThreads(__tstate
);
14563 if (PyErr_Occurred()) SWIG_fail
;
14566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14590 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14591 PyObject
*resultobj
;
14592 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14594 PyObject
* obj0
= 0 ;
14595 char *kwnames
[] = {
14596 (char *) "self", NULL
14599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
14600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14601 if (SWIG_arg_fail(1)) SWIG_fail
;
14603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14604 result
= (bool)(arg1
)->GetValue();
14606 wxPyEndAllowThreads(__tstate
);
14607 if (PyErr_Occurred()) SWIG_fail
;
14610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14618 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14619 PyObject
*resultobj
;
14620 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14622 PyObject
* obj0
= 0 ;
14623 PyObject
* obj1
= 0 ;
14624 char *kwnames
[] = {
14625 (char *) "self",(char *) "value", NULL
14628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
14629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14630 if (SWIG_arg_fail(1)) SWIG_fail
;
14632 arg2
= (bool)(SWIG_As_bool(obj1
));
14633 if (SWIG_arg_fail(2)) SWIG_fail
;
14636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14637 (arg1
)->SetValue(arg2
);
14639 wxPyEndAllowThreads(__tstate
);
14640 if (PyErr_Occurred()) SWIG_fail
;
14642 Py_INCREF(Py_None
); resultobj
= Py_None
;
14649 static PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14650 PyObject
*resultobj
;
14651 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14652 wxVisualAttributes result
;
14653 PyObject
* obj0
= 0 ;
14654 char *kwnames
[] = {
14655 (char *) "variant", NULL
14658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14661 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
14662 if (SWIG_arg_fail(1)) SWIG_fail
;
14666 if (!wxPyCheckForApp()) SWIG_fail
;
14667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14668 result
= wxRadioButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14670 wxPyEndAllowThreads(__tstate
);
14671 if (PyErr_Occurred()) SWIG_fail
;
14674 wxVisualAttributes
* resultptr
;
14675 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
14676 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14684 static PyObject
* RadioButton_swigregister(PyObject
*, PyObject
*args
) {
14686 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14687 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
14689 return Py_BuildValue((char *)"");
14691 static int _wrap_SliderNameStr_set(PyObject
*) {
14692 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
14697 static PyObject
*_wrap_SliderNameStr_get(void) {
14702 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
14704 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
14711 static PyObject
*_wrap_new_Slider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14712 PyObject
*resultobj
;
14713 wxWindow
*arg1
= (wxWindow
*) 0 ;
14714 int arg2
= (int) -1 ;
14715 int arg3
= (int) 0 ;
14716 int arg4
= (int) 0 ;
14717 int arg5
= (int) 100 ;
14718 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
14719 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
14720 wxSize
const &arg7_defvalue
= wxDefaultSize
;
14721 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
14722 long arg8
= (long) wxSL_HORIZONTAL
;
14723 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
14724 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
14725 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
14726 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
14730 bool temp10
= false ;
14731 PyObject
* obj0
= 0 ;
14732 PyObject
* obj1
= 0 ;
14733 PyObject
* obj2
= 0 ;
14734 PyObject
* obj3
= 0 ;
14735 PyObject
* obj4
= 0 ;
14736 PyObject
* obj5
= 0 ;
14737 PyObject
* obj6
= 0 ;
14738 PyObject
* obj7
= 0 ;
14739 PyObject
* obj8
= 0 ;
14740 PyObject
* obj9
= 0 ;
14741 char *kwnames
[] = {
14742 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
14746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14747 if (SWIG_arg_fail(1)) SWIG_fail
;
14750 arg2
= (int)(SWIG_As_int(obj1
));
14751 if (SWIG_arg_fail(2)) SWIG_fail
;
14756 arg3
= (int)(SWIG_As_int(obj2
));
14757 if (SWIG_arg_fail(3)) SWIG_fail
;
14762 arg4
= (int)(SWIG_As_int(obj3
));
14763 if (SWIG_arg_fail(4)) SWIG_fail
;
14768 arg5
= (int)(SWIG_As_int(obj4
));
14769 if (SWIG_arg_fail(5)) SWIG_fail
;
14775 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
14781 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
14786 arg8
= (long)(SWIG_As_long(obj7
));
14787 if (SWIG_arg_fail(8)) SWIG_fail
;
14792 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14793 if (SWIG_arg_fail(9)) SWIG_fail
;
14794 if (arg9
== NULL
) {
14795 SWIG_null_ref("wxValidator");
14797 if (SWIG_arg_fail(9)) SWIG_fail
;
14802 arg10
= wxString_in_helper(obj9
);
14803 if (arg10
== NULL
) SWIG_fail
;
14808 if (!wxPyCheckForApp()) SWIG_fail
;
14809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14810 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
14812 wxPyEndAllowThreads(__tstate
);
14813 if (PyErr_Occurred()) SWIG_fail
;
14815 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
14830 static PyObject
*_wrap_new_PreSlider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14831 PyObject
*resultobj
;
14833 char *kwnames
[] = {
14837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
14839 if (!wxPyCheckForApp()) SWIG_fail
;
14840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14841 result
= (wxSlider
*)new wxSlider();
14843 wxPyEndAllowThreads(__tstate
);
14844 if (PyErr_Occurred()) SWIG_fail
;
14846 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
14853 static PyObject
*_wrap_Slider_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14854 PyObject
*resultobj
;
14855 wxSlider
*arg1
= (wxSlider
*) 0 ;
14856 wxWindow
*arg2
= (wxWindow
*) 0 ;
14857 int arg3
= (int) -1 ;
14858 int arg4
= (int) 0 ;
14859 int arg5
= (int) 0 ;
14860 int arg6
= (int) 100 ;
14861 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14862 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14863 wxSize
const &arg8_defvalue
= wxDefaultSize
;
14864 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
14865 long arg9
= (long) wxSL_HORIZONTAL
;
14866 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
14867 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
14868 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
14869 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
14873 bool temp11
= false ;
14874 PyObject
* obj0
= 0 ;
14875 PyObject
* obj1
= 0 ;
14876 PyObject
* obj2
= 0 ;
14877 PyObject
* obj3
= 0 ;
14878 PyObject
* obj4
= 0 ;
14879 PyObject
* obj5
= 0 ;
14880 PyObject
* obj6
= 0 ;
14881 PyObject
* obj7
= 0 ;
14882 PyObject
* obj8
= 0 ;
14883 PyObject
* obj9
= 0 ;
14884 PyObject
* obj10
= 0 ;
14885 char *kwnames
[] = {
14886 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
14890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
14891 if (SWIG_arg_fail(1)) SWIG_fail
;
14892 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14893 if (SWIG_arg_fail(2)) SWIG_fail
;
14896 arg3
= (int)(SWIG_As_int(obj2
));
14897 if (SWIG_arg_fail(3)) SWIG_fail
;
14902 arg4
= (int)(SWIG_As_int(obj3
));
14903 if (SWIG_arg_fail(4)) SWIG_fail
;
14908 arg5
= (int)(SWIG_As_int(obj4
));
14909 if (SWIG_arg_fail(5)) SWIG_fail
;
14914 arg6
= (int)(SWIG_As_int(obj5
));
14915 if (SWIG_arg_fail(6)) SWIG_fail
;
14921 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
14927 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
14932 arg9
= (long)(SWIG_As_long(obj8
));
14933 if (SWIG_arg_fail(9)) SWIG_fail
;
14938 SWIG_Python_ConvertPtr(obj9
, (void **)&arg10
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14939 if (SWIG_arg_fail(10)) SWIG_fail
;
14940 if (arg10
== NULL
) {
14941 SWIG_null_ref("wxValidator");
14943 if (SWIG_arg_fail(10)) SWIG_fail
;
14948 arg11
= wxString_in_helper(obj10
);
14949 if (arg11
== NULL
) SWIG_fail
;
14954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14955 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
14957 wxPyEndAllowThreads(__tstate
);
14958 if (PyErr_Occurred()) SWIG_fail
;
14961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14977 static PyObject
*_wrap_Slider_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14978 PyObject
*resultobj
;
14979 wxSlider
*arg1
= (wxSlider
*) 0 ;
14981 PyObject
* obj0
= 0 ;
14982 char *kwnames
[] = {
14983 (char *) "self", NULL
14986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
14987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
14988 if (SWIG_arg_fail(1)) SWIG_fail
;
14990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14991 result
= (int)((wxSlider
const *)arg1
)->GetValue();
14993 wxPyEndAllowThreads(__tstate
);
14994 if (PyErr_Occurred()) SWIG_fail
;
14997 resultobj
= SWIG_From_int((int)(result
));
15005 static PyObject
*_wrap_Slider_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15006 PyObject
*resultobj
;
15007 wxSlider
*arg1
= (wxSlider
*) 0 ;
15009 PyObject
* obj0
= 0 ;
15010 PyObject
* obj1
= 0 ;
15011 char *kwnames
[] = {
15012 (char *) "self",(char *) "value", NULL
15015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
15016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15017 if (SWIG_arg_fail(1)) SWIG_fail
;
15019 arg2
= (int)(SWIG_As_int(obj1
));
15020 if (SWIG_arg_fail(2)) SWIG_fail
;
15023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15024 (arg1
)->SetValue(arg2
);
15026 wxPyEndAllowThreads(__tstate
);
15027 if (PyErr_Occurred()) SWIG_fail
;
15029 Py_INCREF(Py_None
); resultobj
= Py_None
;
15036 static PyObject
*_wrap_Slider_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15037 PyObject
*resultobj
;
15038 wxSlider
*arg1
= (wxSlider
*) 0 ;
15041 PyObject
* obj0
= 0 ;
15042 PyObject
* obj1
= 0 ;
15043 PyObject
* obj2
= 0 ;
15044 char *kwnames
[] = {
15045 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
15048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15050 if (SWIG_arg_fail(1)) SWIG_fail
;
15052 arg2
= (int)(SWIG_As_int(obj1
));
15053 if (SWIG_arg_fail(2)) SWIG_fail
;
15056 arg3
= (int)(SWIG_As_int(obj2
));
15057 if (SWIG_arg_fail(3)) SWIG_fail
;
15060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15061 (arg1
)->SetRange(arg2
,arg3
);
15063 wxPyEndAllowThreads(__tstate
);
15064 if (PyErr_Occurred()) SWIG_fail
;
15066 Py_INCREF(Py_None
); resultobj
= Py_None
;
15073 static PyObject
*_wrap_Slider_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15074 PyObject
*resultobj
;
15075 wxSlider
*arg1
= (wxSlider
*) 0 ;
15077 PyObject
* obj0
= 0 ;
15078 char *kwnames
[] = {
15079 (char *) "self", NULL
15082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
15083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15084 if (SWIG_arg_fail(1)) SWIG_fail
;
15086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15087 result
= (int)((wxSlider
const *)arg1
)->GetMin();
15089 wxPyEndAllowThreads(__tstate
);
15090 if (PyErr_Occurred()) SWIG_fail
;
15093 resultobj
= SWIG_From_int((int)(result
));
15101 static PyObject
*_wrap_Slider_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15102 PyObject
*resultobj
;
15103 wxSlider
*arg1
= (wxSlider
*) 0 ;
15105 PyObject
* obj0
= 0 ;
15106 char *kwnames
[] = {
15107 (char *) "self", NULL
15110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
15111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15112 if (SWIG_arg_fail(1)) SWIG_fail
;
15114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15115 result
= (int)((wxSlider
const *)arg1
)->GetMax();
15117 wxPyEndAllowThreads(__tstate
);
15118 if (PyErr_Occurred()) SWIG_fail
;
15121 resultobj
= SWIG_From_int((int)(result
));
15129 static PyObject
*_wrap_Slider_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15130 PyObject
*resultobj
;
15131 wxSlider
*arg1
= (wxSlider
*) 0 ;
15133 PyObject
* obj0
= 0 ;
15134 PyObject
* obj1
= 0 ;
15135 char *kwnames
[] = {
15136 (char *) "self",(char *) "minValue", NULL
15139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
15140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15141 if (SWIG_arg_fail(1)) SWIG_fail
;
15143 arg2
= (int)(SWIG_As_int(obj1
));
15144 if (SWIG_arg_fail(2)) SWIG_fail
;
15147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15148 (arg1
)->SetMin(arg2
);
15150 wxPyEndAllowThreads(__tstate
);
15151 if (PyErr_Occurred()) SWIG_fail
;
15153 Py_INCREF(Py_None
); resultobj
= Py_None
;
15160 static PyObject
*_wrap_Slider_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15161 PyObject
*resultobj
;
15162 wxSlider
*arg1
= (wxSlider
*) 0 ;
15164 PyObject
* obj0
= 0 ;
15165 PyObject
* obj1
= 0 ;
15166 char *kwnames
[] = {
15167 (char *) "self",(char *) "maxValue", NULL
15170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
15171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15172 if (SWIG_arg_fail(1)) SWIG_fail
;
15174 arg2
= (int)(SWIG_As_int(obj1
));
15175 if (SWIG_arg_fail(2)) SWIG_fail
;
15178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15179 (arg1
)->SetMax(arg2
);
15181 wxPyEndAllowThreads(__tstate
);
15182 if (PyErr_Occurred()) SWIG_fail
;
15184 Py_INCREF(Py_None
); resultobj
= Py_None
;
15191 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15192 PyObject
*resultobj
;
15193 wxSlider
*arg1
= (wxSlider
*) 0 ;
15195 PyObject
* obj0
= 0 ;
15196 PyObject
* obj1
= 0 ;
15197 char *kwnames
[] = {
15198 (char *) "self",(char *) "lineSize", NULL
15201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15203 if (SWIG_arg_fail(1)) SWIG_fail
;
15205 arg2
= (int)(SWIG_As_int(obj1
));
15206 if (SWIG_arg_fail(2)) SWIG_fail
;
15209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15210 (arg1
)->SetLineSize(arg2
);
15212 wxPyEndAllowThreads(__tstate
);
15213 if (PyErr_Occurred()) SWIG_fail
;
15215 Py_INCREF(Py_None
); resultobj
= Py_None
;
15222 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15223 PyObject
*resultobj
;
15224 wxSlider
*arg1
= (wxSlider
*) 0 ;
15226 PyObject
* obj0
= 0 ;
15227 PyObject
* obj1
= 0 ;
15228 char *kwnames
[] = {
15229 (char *) "self",(char *) "pageSize", NULL
15232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15234 if (SWIG_arg_fail(1)) SWIG_fail
;
15236 arg2
= (int)(SWIG_As_int(obj1
));
15237 if (SWIG_arg_fail(2)) SWIG_fail
;
15240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15241 (arg1
)->SetPageSize(arg2
);
15243 wxPyEndAllowThreads(__tstate
);
15244 if (PyErr_Occurred()) SWIG_fail
;
15246 Py_INCREF(Py_None
); resultobj
= Py_None
;
15253 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15254 PyObject
*resultobj
;
15255 wxSlider
*arg1
= (wxSlider
*) 0 ;
15257 PyObject
* obj0
= 0 ;
15258 char *kwnames
[] = {
15259 (char *) "self", NULL
15262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
15263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15264 if (SWIG_arg_fail(1)) SWIG_fail
;
15266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15267 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
15269 wxPyEndAllowThreads(__tstate
);
15270 if (PyErr_Occurred()) SWIG_fail
;
15273 resultobj
= SWIG_From_int((int)(result
));
15281 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15282 PyObject
*resultobj
;
15283 wxSlider
*arg1
= (wxSlider
*) 0 ;
15285 PyObject
* obj0
= 0 ;
15286 char *kwnames
[] = {
15287 (char *) "self", NULL
15290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
15291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15292 if (SWIG_arg_fail(1)) SWIG_fail
;
15294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15295 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
15297 wxPyEndAllowThreads(__tstate
);
15298 if (PyErr_Occurred()) SWIG_fail
;
15301 resultobj
= SWIG_From_int((int)(result
));
15309 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15310 PyObject
*resultobj
;
15311 wxSlider
*arg1
= (wxSlider
*) 0 ;
15313 PyObject
* obj0
= 0 ;
15314 PyObject
* obj1
= 0 ;
15315 char *kwnames
[] = {
15316 (char *) "self",(char *) "lenPixels", NULL
15319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
15320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15321 if (SWIG_arg_fail(1)) SWIG_fail
;
15323 arg2
= (int)(SWIG_As_int(obj1
));
15324 if (SWIG_arg_fail(2)) SWIG_fail
;
15327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15328 (arg1
)->SetThumbLength(arg2
);
15330 wxPyEndAllowThreads(__tstate
);
15331 if (PyErr_Occurred()) SWIG_fail
;
15333 Py_INCREF(Py_None
); resultobj
= Py_None
;
15340 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15341 PyObject
*resultobj
;
15342 wxSlider
*arg1
= (wxSlider
*) 0 ;
15344 PyObject
* obj0
= 0 ;
15345 char *kwnames
[] = {
15346 (char *) "self", NULL
15349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
15350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15351 if (SWIG_arg_fail(1)) SWIG_fail
;
15353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15354 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
15356 wxPyEndAllowThreads(__tstate
);
15357 if (PyErr_Occurred()) SWIG_fail
;
15360 resultobj
= SWIG_From_int((int)(result
));
15368 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15369 PyObject
*resultobj
;
15370 wxSlider
*arg1
= (wxSlider
*) 0 ;
15372 int arg3
= (int) 1 ;
15373 PyObject
* obj0
= 0 ;
15374 PyObject
* obj1
= 0 ;
15375 PyObject
* obj2
= 0 ;
15376 char *kwnames
[] = {
15377 (char *) "self",(char *) "n",(char *) "pos", NULL
15380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15382 if (SWIG_arg_fail(1)) SWIG_fail
;
15384 arg2
= (int)(SWIG_As_int(obj1
));
15385 if (SWIG_arg_fail(2)) SWIG_fail
;
15389 arg3
= (int)(SWIG_As_int(obj2
));
15390 if (SWIG_arg_fail(3)) SWIG_fail
;
15394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15395 (arg1
)->SetTickFreq(arg2
,arg3
);
15397 wxPyEndAllowThreads(__tstate
);
15398 if (PyErr_Occurred()) SWIG_fail
;
15400 Py_INCREF(Py_None
); resultobj
= Py_None
;
15407 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15408 PyObject
*resultobj
;
15409 wxSlider
*arg1
= (wxSlider
*) 0 ;
15411 PyObject
* obj0
= 0 ;
15412 char *kwnames
[] = {
15413 (char *) "self", NULL
15416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
15417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15418 if (SWIG_arg_fail(1)) SWIG_fail
;
15420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15421 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
15423 wxPyEndAllowThreads(__tstate
);
15424 if (PyErr_Occurred()) SWIG_fail
;
15427 resultobj
= SWIG_From_int((int)(result
));
15435 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15436 PyObject
*resultobj
;
15437 wxSlider
*arg1
= (wxSlider
*) 0 ;
15438 PyObject
* obj0
= 0 ;
15439 char *kwnames
[] = {
15440 (char *) "self", NULL
15443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
15444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15445 if (SWIG_arg_fail(1)) SWIG_fail
;
15447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15448 (arg1
)->ClearTicks();
15450 wxPyEndAllowThreads(__tstate
);
15451 if (PyErr_Occurred()) SWIG_fail
;
15453 Py_INCREF(Py_None
); resultobj
= Py_None
;
15460 static PyObject
*_wrap_Slider_SetTick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15461 PyObject
*resultobj
;
15462 wxSlider
*arg1
= (wxSlider
*) 0 ;
15464 PyObject
* obj0
= 0 ;
15465 PyObject
* obj1
= 0 ;
15466 char *kwnames
[] = {
15467 (char *) "self",(char *) "tickPos", NULL
15470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
15471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15472 if (SWIG_arg_fail(1)) SWIG_fail
;
15474 arg2
= (int)(SWIG_As_int(obj1
));
15475 if (SWIG_arg_fail(2)) SWIG_fail
;
15478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15479 (arg1
)->SetTick(arg2
);
15481 wxPyEndAllowThreads(__tstate
);
15482 if (PyErr_Occurred()) SWIG_fail
;
15484 Py_INCREF(Py_None
); resultobj
= Py_None
;
15491 static PyObject
*_wrap_Slider_ClearSel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15492 PyObject
*resultobj
;
15493 wxSlider
*arg1
= (wxSlider
*) 0 ;
15494 PyObject
* obj0
= 0 ;
15495 char *kwnames
[] = {
15496 (char *) "self", NULL
15499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
15500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15501 if (SWIG_arg_fail(1)) SWIG_fail
;
15503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15504 (arg1
)->ClearSel();
15506 wxPyEndAllowThreads(__tstate
);
15507 if (PyErr_Occurred()) SWIG_fail
;
15509 Py_INCREF(Py_None
); resultobj
= Py_None
;
15516 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15517 PyObject
*resultobj
;
15518 wxSlider
*arg1
= (wxSlider
*) 0 ;
15520 PyObject
* obj0
= 0 ;
15521 char *kwnames
[] = {
15522 (char *) "self", NULL
15525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
15526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15527 if (SWIG_arg_fail(1)) SWIG_fail
;
15529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15530 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
15532 wxPyEndAllowThreads(__tstate
);
15533 if (PyErr_Occurred()) SWIG_fail
;
15536 resultobj
= SWIG_From_int((int)(result
));
15544 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15545 PyObject
*resultobj
;
15546 wxSlider
*arg1
= (wxSlider
*) 0 ;
15548 PyObject
* obj0
= 0 ;
15549 char *kwnames
[] = {
15550 (char *) "self", NULL
15553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
15554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15555 if (SWIG_arg_fail(1)) SWIG_fail
;
15557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15558 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
15560 wxPyEndAllowThreads(__tstate
);
15561 if (PyErr_Occurred()) SWIG_fail
;
15564 resultobj
= SWIG_From_int((int)(result
));
15572 static PyObject
*_wrap_Slider_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15573 PyObject
*resultobj
;
15574 wxSlider
*arg1
= (wxSlider
*) 0 ;
15577 PyObject
* obj0
= 0 ;
15578 PyObject
* obj1
= 0 ;
15579 PyObject
* obj2
= 0 ;
15580 char *kwnames
[] = {
15581 (char *) "self",(char *) "min",(char *) "max", NULL
15584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15586 if (SWIG_arg_fail(1)) SWIG_fail
;
15588 arg2
= (int)(SWIG_As_int(obj1
));
15589 if (SWIG_arg_fail(2)) SWIG_fail
;
15592 arg3
= (int)(SWIG_As_int(obj2
));
15593 if (SWIG_arg_fail(3)) SWIG_fail
;
15596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15597 (arg1
)->SetSelection(arg2
,arg3
);
15599 wxPyEndAllowThreads(__tstate
);
15600 if (PyErr_Occurred()) SWIG_fail
;
15602 Py_INCREF(Py_None
); resultobj
= Py_None
;
15609 static PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15610 PyObject
*resultobj
;
15611 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15612 wxVisualAttributes result
;
15613 PyObject
* obj0
= 0 ;
15614 char *kwnames
[] = {
15615 (char *) "variant", NULL
15618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15621 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
15622 if (SWIG_arg_fail(1)) SWIG_fail
;
15626 if (!wxPyCheckForApp()) SWIG_fail
;
15627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15628 result
= wxSlider::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15630 wxPyEndAllowThreads(__tstate
);
15631 if (PyErr_Occurred()) SWIG_fail
;
15634 wxVisualAttributes
* resultptr
;
15635 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
15636 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15644 static PyObject
* Slider_swigregister(PyObject
*, PyObject
*args
) {
15646 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15647 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
15649 return Py_BuildValue((char *)"");
15651 static int _wrap_ToggleButtonNameStr_set(PyObject
*) {
15652 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
15657 static PyObject
*_wrap_ToggleButtonNameStr_get(void) {
15662 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
15664 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
15671 static PyObject
*_wrap_new_ToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15672 PyObject
*resultobj
;
15673 wxWindow
*arg1
= (wxWindow
*) 0 ;
15674 int arg2
= (int) -1 ;
15675 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15676 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15677 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15678 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15679 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15680 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15681 long arg6
= (long) 0 ;
15682 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
15683 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
15684 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
15685 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15686 wxToggleButton
*result
;
15687 bool temp3
= false ;
15690 bool temp8
= false ;
15691 PyObject
* obj0
= 0 ;
15692 PyObject
* obj1
= 0 ;
15693 PyObject
* obj2
= 0 ;
15694 PyObject
* obj3
= 0 ;
15695 PyObject
* obj4
= 0 ;
15696 PyObject
* obj5
= 0 ;
15697 PyObject
* obj6
= 0 ;
15698 PyObject
* obj7
= 0 ;
15699 char *kwnames
[] = {
15700 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
15704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15705 if (SWIG_arg_fail(1)) SWIG_fail
;
15708 arg2
= (int)(SWIG_As_int(obj1
));
15709 if (SWIG_arg_fail(2)) SWIG_fail
;
15714 arg3
= wxString_in_helper(obj2
);
15715 if (arg3
== NULL
) SWIG_fail
;
15722 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15728 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15733 arg6
= (long)(SWIG_As_long(obj5
));
15734 if (SWIG_arg_fail(6)) SWIG_fail
;
15739 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
15740 if (SWIG_arg_fail(7)) SWIG_fail
;
15741 if (arg7
== NULL
) {
15742 SWIG_null_ref("wxValidator");
15744 if (SWIG_arg_fail(7)) SWIG_fail
;
15749 arg8
= wxString_in_helper(obj7
);
15750 if (arg8
== NULL
) SWIG_fail
;
15755 if (!wxPyCheckForApp()) SWIG_fail
;
15756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15757 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
15759 wxPyEndAllowThreads(__tstate
);
15760 if (PyErr_Occurred()) SWIG_fail
;
15762 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
15785 static PyObject
*_wrap_new_PreToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15786 PyObject
*resultobj
;
15787 wxToggleButton
*result
;
15788 char *kwnames
[] = {
15792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
15794 if (!wxPyCheckForApp()) SWIG_fail
;
15795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15796 result
= (wxToggleButton
*)new wxToggleButton();
15798 wxPyEndAllowThreads(__tstate
);
15799 if (PyErr_Occurred()) SWIG_fail
;
15801 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
15808 static PyObject
*_wrap_ToggleButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15809 PyObject
*resultobj
;
15810 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
15811 wxWindow
*arg2
= (wxWindow
*) 0 ;
15812 int arg3
= (int) -1 ;
15813 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15814 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15815 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15816 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15817 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15818 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15819 long arg7
= (long) 0 ;
15820 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
15821 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
15822 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
15823 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
15825 bool temp4
= false ;
15828 bool temp9
= false ;
15829 PyObject
* obj0
= 0 ;
15830 PyObject
* obj1
= 0 ;
15831 PyObject
* obj2
= 0 ;
15832 PyObject
* obj3
= 0 ;
15833 PyObject
* obj4
= 0 ;
15834 PyObject
* obj5
= 0 ;
15835 PyObject
* obj6
= 0 ;
15836 PyObject
* obj7
= 0 ;
15837 PyObject
* obj8
= 0 ;
15838 char *kwnames
[] = {
15839 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
15843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
15844 if (SWIG_arg_fail(1)) SWIG_fail
;
15845 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15846 if (SWIG_arg_fail(2)) SWIG_fail
;
15849 arg3
= (int)(SWIG_As_int(obj2
));
15850 if (SWIG_arg_fail(3)) SWIG_fail
;
15855 arg4
= wxString_in_helper(obj3
);
15856 if (arg4
== NULL
) SWIG_fail
;
15863 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15869 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15874 arg7
= (long)(SWIG_As_long(obj6
));
15875 if (SWIG_arg_fail(7)) SWIG_fail
;
15880 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
15881 if (SWIG_arg_fail(8)) SWIG_fail
;
15882 if (arg8
== NULL
) {
15883 SWIG_null_ref("wxValidator");
15885 if (SWIG_arg_fail(8)) SWIG_fail
;
15890 arg9
= wxString_in_helper(obj8
);
15891 if (arg9
== NULL
) SWIG_fail
;
15896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15897 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
15899 wxPyEndAllowThreads(__tstate
);
15900 if (PyErr_Occurred()) SWIG_fail
;
15903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15927 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15928 PyObject
*resultobj
;
15929 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
15931 PyObject
* obj0
= 0 ;
15932 PyObject
* obj1
= 0 ;
15933 char *kwnames
[] = {
15934 (char *) "self",(char *) "value", NULL
15937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
15938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
15939 if (SWIG_arg_fail(1)) SWIG_fail
;
15941 arg2
= (bool)(SWIG_As_bool(obj1
));
15942 if (SWIG_arg_fail(2)) SWIG_fail
;
15945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15946 (arg1
)->SetValue(arg2
);
15948 wxPyEndAllowThreads(__tstate
);
15949 if (PyErr_Occurred()) SWIG_fail
;
15951 Py_INCREF(Py_None
); resultobj
= Py_None
;
15958 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15959 PyObject
*resultobj
;
15960 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
15962 PyObject
* obj0
= 0 ;
15963 char *kwnames
[] = {
15964 (char *) "self", NULL
15967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
15968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
15969 if (SWIG_arg_fail(1)) SWIG_fail
;
15971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15972 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
15974 wxPyEndAllowThreads(__tstate
);
15975 if (PyErr_Occurred()) SWIG_fail
;
15978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15986 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15987 PyObject
*resultobj
;
15988 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
15989 wxString
*arg2
= 0 ;
15990 bool temp2
= false ;
15991 PyObject
* obj0
= 0 ;
15992 PyObject
* obj1
= 0 ;
15993 char *kwnames
[] = {
15994 (char *) "self",(char *) "label", NULL
15997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
15998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
15999 if (SWIG_arg_fail(1)) SWIG_fail
;
16001 arg2
= wxString_in_helper(obj1
);
16002 if (arg2
== NULL
) SWIG_fail
;
16006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16007 (arg1
)->SetLabel((wxString
const &)*arg2
);
16009 wxPyEndAllowThreads(__tstate
);
16010 if (PyErr_Occurred()) SWIG_fail
;
16012 Py_INCREF(Py_None
); resultobj
= Py_None
;
16027 static PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16028 PyObject
*resultobj
;
16029 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16030 wxVisualAttributes result
;
16031 PyObject
* obj0
= 0 ;
16032 char *kwnames
[] = {
16033 (char *) "variant", NULL
16036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16039 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
16040 if (SWIG_arg_fail(1)) SWIG_fail
;
16044 if (!wxPyCheckForApp()) SWIG_fail
;
16045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16046 result
= wxToggleButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
16048 wxPyEndAllowThreads(__tstate
);
16049 if (PyErr_Occurred()) SWIG_fail
;
16052 wxVisualAttributes
* resultptr
;
16053 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
16054 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16062 static PyObject
* ToggleButton_swigregister(PyObject
*, PyObject
*args
) {
16064 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16065 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
16067 return Py_BuildValue((char *)"");
16069 static int _wrap_NotebookNameStr_set(PyObject
*) {
16070 PyErr_SetString(PyExc_TypeError
,"Variable NotebookNameStr is read-only.");
16075 static PyObject
*_wrap_NotebookNameStr_get(void) {
16080 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
16082 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
16089 static PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16090 PyObject
*resultobj
;
16091 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16093 PyObject
* obj0
= 0 ;
16094 char *kwnames
[] = {
16095 (char *) "self", NULL
16098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetPageCount",kwnames
,&obj0
)) goto fail
;
16099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16100 if (SWIG_arg_fail(1)) SWIG_fail
;
16102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16103 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
16105 wxPyEndAllowThreads(__tstate
);
16106 if (PyErr_Occurred()) SWIG_fail
;
16109 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
16117 static PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16118 PyObject
*resultobj
;
16119 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16122 PyObject
* obj0
= 0 ;
16123 PyObject
* obj1
= 0 ;
16124 char *kwnames
[] = {
16125 (char *) "self",(char *) "n", NULL
16128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
16129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16130 if (SWIG_arg_fail(1)) SWIG_fail
;
16132 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16133 if (SWIG_arg_fail(2)) SWIG_fail
;
16136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16137 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
16139 wxPyEndAllowThreads(__tstate
);
16140 if (PyErr_Occurred()) SWIG_fail
;
16143 resultobj
= wxPyMake_wxObject(result
, 0);
16151 static PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16152 PyObject
*resultobj
;
16153 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16155 PyObject
* obj0
= 0 ;
16156 char *kwnames
[] = {
16157 (char *) "self", NULL
16160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
16161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16162 if (SWIG_arg_fail(1)) SWIG_fail
;
16164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16165 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
16167 wxPyEndAllowThreads(__tstate
);
16168 if (PyErr_Occurred()) SWIG_fail
;
16171 resultobj
= wxPyMake_wxObject(result
, 0);
16179 static PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16180 PyObject
*resultobj
;
16181 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16183 PyObject
* obj0
= 0 ;
16184 char *kwnames
[] = {
16185 (char *) "self", NULL
16188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetSelection",kwnames
,&obj0
)) goto fail
;
16189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16190 if (SWIG_arg_fail(1)) SWIG_fail
;
16192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16193 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
16195 wxPyEndAllowThreads(__tstate
);
16196 if (PyErr_Occurred()) SWIG_fail
;
16199 resultobj
= SWIG_From_int((int)(result
));
16207 static PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16208 PyObject
*resultobj
;
16209 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16211 wxString
*arg3
= 0 ;
16213 bool temp3
= false ;
16214 PyObject
* obj0
= 0 ;
16215 PyObject
* obj1
= 0 ;
16216 PyObject
* obj2
= 0 ;
16217 char *kwnames
[] = {
16218 (char *) "self",(char *) "n",(char *) "strText", NULL
16221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16223 if (SWIG_arg_fail(1)) SWIG_fail
;
16225 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16226 if (SWIG_arg_fail(2)) SWIG_fail
;
16229 arg3
= wxString_in_helper(obj2
);
16230 if (arg3
== NULL
) SWIG_fail
;
16234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16235 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
16237 wxPyEndAllowThreads(__tstate
);
16238 if (PyErr_Occurred()) SWIG_fail
;
16241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16257 static PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16258 PyObject
*resultobj
;
16259 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16262 PyObject
* obj0
= 0 ;
16263 PyObject
* obj1
= 0 ;
16264 char *kwnames
[] = {
16265 (char *) "self",(char *) "n", NULL
16268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
16269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16270 if (SWIG_arg_fail(1)) SWIG_fail
;
16272 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16273 if (SWIG_arg_fail(2)) SWIG_fail
;
16276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16277 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
16279 wxPyEndAllowThreads(__tstate
);
16280 if (PyErr_Occurred()) SWIG_fail
;
16284 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16286 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16295 static PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16296 PyObject
*resultobj
;
16297 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16298 wxImageList
*arg2
= (wxImageList
*) 0 ;
16299 PyObject
* obj0
= 0 ;
16300 PyObject
* obj1
= 0 ;
16301 char *kwnames
[] = {
16302 (char *) "self",(char *) "imageList", NULL
16305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
16306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16307 if (SWIG_arg_fail(1)) SWIG_fail
;
16308 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
16309 if (SWIG_arg_fail(2)) SWIG_fail
;
16311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16312 (arg1
)->SetImageList(arg2
);
16314 wxPyEndAllowThreads(__tstate
);
16315 if (PyErr_Occurred()) SWIG_fail
;
16317 Py_INCREF(Py_None
); resultobj
= Py_None
;
16324 static PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16325 PyObject
*resultobj
;
16326 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16327 wxImageList
*arg2
= (wxImageList
*) 0 ;
16328 PyObject
* obj0
= 0 ;
16329 PyObject
* obj1
= 0 ;
16330 char *kwnames
[] = {
16331 (char *) "self",(char *) "imageList", NULL
16334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
16335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16336 if (SWIG_arg_fail(1)) SWIG_fail
;
16337 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
16338 if (SWIG_arg_fail(2)) SWIG_fail
;
16340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16341 (arg1
)->AssignImageList(arg2
);
16343 wxPyEndAllowThreads(__tstate
);
16344 if (PyErr_Occurred()) SWIG_fail
;
16346 Py_INCREF(Py_None
); resultobj
= Py_None
;
16353 static PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16354 PyObject
*resultobj
;
16355 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16356 wxImageList
*result
;
16357 PyObject
* obj0
= 0 ;
16358 char *kwnames
[] = {
16359 (char *) "self", NULL
16362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetImageList",kwnames
,&obj0
)) goto fail
;
16363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16364 if (SWIG_arg_fail(1)) SWIG_fail
;
16366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16367 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
16369 wxPyEndAllowThreads(__tstate
);
16370 if (PyErr_Occurred()) SWIG_fail
;
16373 resultobj
= wxPyMake_wxObject(result
, 0);
16381 static PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16382 PyObject
*resultobj
;
16383 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16386 PyObject
* obj0
= 0 ;
16387 PyObject
* obj1
= 0 ;
16388 char *kwnames
[] = {
16389 (char *) "self",(char *) "n", NULL
16392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
16393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16394 if (SWIG_arg_fail(1)) SWIG_fail
;
16396 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16397 if (SWIG_arg_fail(2)) SWIG_fail
;
16400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16401 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
16403 wxPyEndAllowThreads(__tstate
);
16404 if (PyErr_Occurred()) SWIG_fail
;
16407 resultobj
= SWIG_From_int((int)(result
));
16415 static PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16416 PyObject
*resultobj
;
16417 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16421 PyObject
* obj0
= 0 ;
16422 PyObject
* obj1
= 0 ;
16423 PyObject
* obj2
= 0 ;
16424 char *kwnames
[] = {
16425 (char *) "self",(char *) "n",(char *) "imageId", NULL
16428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16430 if (SWIG_arg_fail(1)) SWIG_fail
;
16432 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16433 if (SWIG_arg_fail(2)) SWIG_fail
;
16436 arg3
= (int)(SWIG_As_int(obj2
));
16437 if (SWIG_arg_fail(3)) SWIG_fail
;
16440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16441 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
16443 wxPyEndAllowThreads(__tstate
);
16444 if (PyErr_Occurred()) SWIG_fail
;
16447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16455 static PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16456 PyObject
*resultobj
;
16457 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16460 PyObject
* obj0
= 0 ;
16461 PyObject
* obj1
= 0 ;
16462 char *kwnames
[] = {
16463 (char *) "self",(char *) "size", NULL
16466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16468 if (SWIG_arg_fail(1)) SWIG_fail
;
16471 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16475 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
16477 wxPyEndAllowThreads(__tstate
);
16478 if (PyErr_Occurred()) SWIG_fail
;
16480 Py_INCREF(Py_None
); resultobj
= Py_None
;
16487 static PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16488 PyObject
*resultobj
;
16489 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16493 PyObject
* obj0
= 0 ;
16494 PyObject
* obj1
= 0 ;
16495 char *kwnames
[] = {
16496 (char *) "self",(char *) "sizePage", NULL
16499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
16500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16501 if (SWIG_arg_fail(1)) SWIG_fail
;
16504 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16508 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
16510 wxPyEndAllowThreads(__tstate
);
16511 if (PyErr_Occurred()) SWIG_fail
;
16514 wxSize
* resultptr
;
16515 resultptr
= new wxSize((wxSize
&)(result
));
16516 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16524 static PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16525 PyObject
*resultobj
;
16526 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16529 PyObject
* obj0
= 0 ;
16530 PyObject
* obj1
= 0 ;
16531 char *kwnames
[] = {
16532 (char *) "self",(char *) "n", NULL
16535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
16536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16537 if (SWIG_arg_fail(1)) SWIG_fail
;
16539 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16540 if (SWIG_arg_fail(2)) SWIG_fail
;
16543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16544 result
= (bool)(arg1
)->DeletePage(arg2
);
16546 wxPyEndAllowThreads(__tstate
);
16547 if (PyErr_Occurred()) SWIG_fail
;
16550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16558 static PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16559 PyObject
*resultobj
;
16560 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16563 PyObject
* obj0
= 0 ;
16564 PyObject
* obj1
= 0 ;
16565 char *kwnames
[] = {
16566 (char *) "self",(char *) "n", NULL
16569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
16570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16571 if (SWIG_arg_fail(1)) SWIG_fail
;
16573 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16574 if (SWIG_arg_fail(2)) SWIG_fail
;
16577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16578 result
= (bool)(arg1
)->RemovePage(arg2
);
16580 wxPyEndAllowThreads(__tstate
);
16581 if (PyErr_Occurred()) SWIG_fail
;
16584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16592 static PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16593 PyObject
*resultobj
;
16594 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16596 PyObject
* obj0
= 0 ;
16597 char *kwnames
[] = {
16598 (char *) "self", NULL
16601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
16602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16603 if (SWIG_arg_fail(1)) SWIG_fail
;
16605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16606 result
= (bool)(arg1
)->DeleteAllPages();
16608 wxPyEndAllowThreads(__tstate
);
16609 if (PyErr_Occurred()) SWIG_fail
;
16612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16620 static PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16621 PyObject
*resultobj
;
16622 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16623 wxWindow
*arg2
= (wxWindow
*) 0 ;
16624 wxString
*arg3
= 0 ;
16625 bool arg4
= (bool) false ;
16626 int arg5
= (int) -1 ;
16628 bool temp3
= false ;
16629 PyObject
* obj0
= 0 ;
16630 PyObject
* obj1
= 0 ;
16631 PyObject
* obj2
= 0 ;
16632 PyObject
* obj3
= 0 ;
16633 PyObject
* obj4
= 0 ;
16634 char *kwnames
[] = {
16635 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16640 if (SWIG_arg_fail(1)) SWIG_fail
;
16641 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16642 if (SWIG_arg_fail(2)) SWIG_fail
;
16644 arg3
= wxString_in_helper(obj2
);
16645 if (arg3
== NULL
) SWIG_fail
;
16650 arg4
= (bool)(SWIG_As_bool(obj3
));
16651 if (SWIG_arg_fail(4)) SWIG_fail
;
16656 arg5
= (int)(SWIG_As_int(obj4
));
16657 if (SWIG_arg_fail(5)) SWIG_fail
;
16661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16662 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
16664 wxPyEndAllowThreads(__tstate
);
16665 if (PyErr_Occurred()) SWIG_fail
;
16668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16684 static PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16685 PyObject
*resultobj
;
16686 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16688 wxWindow
*arg3
= (wxWindow
*) 0 ;
16689 wxString
*arg4
= 0 ;
16690 bool arg5
= (bool) false ;
16691 int arg6
= (int) -1 ;
16693 bool temp4
= false ;
16694 PyObject
* obj0
= 0 ;
16695 PyObject
* obj1
= 0 ;
16696 PyObject
* obj2
= 0 ;
16697 PyObject
* obj3
= 0 ;
16698 PyObject
* obj4
= 0 ;
16699 PyObject
* obj5
= 0 ;
16700 char *kwnames
[] = {
16701 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16706 if (SWIG_arg_fail(1)) SWIG_fail
;
16708 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16709 if (SWIG_arg_fail(2)) SWIG_fail
;
16711 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16712 if (SWIG_arg_fail(3)) SWIG_fail
;
16714 arg4
= wxString_in_helper(obj3
);
16715 if (arg4
== NULL
) SWIG_fail
;
16720 arg5
= (bool)(SWIG_As_bool(obj4
));
16721 if (SWIG_arg_fail(5)) SWIG_fail
;
16726 arg6
= (int)(SWIG_As_int(obj5
));
16727 if (SWIG_arg_fail(6)) SWIG_fail
;
16731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16732 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16734 wxPyEndAllowThreads(__tstate
);
16735 if (PyErr_Occurred()) SWIG_fail
;
16738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16754 static PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16755 PyObject
*resultobj
;
16756 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16759 PyObject
* obj0
= 0 ;
16760 PyObject
* obj1
= 0 ;
16761 char *kwnames
[] = {
16762 (char *) "self",(char *) "n", NULL
16765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16767 if (SWIG_arg_fail(1)) SWIG_fail
;
16769 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16770 if (SWIG_arg_fail(2)) SWIG_fail
;
16773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16774 result
= (int)(arg1
)->SetSelection(arg2
);
16776 wxPyEndAllowThreads(__tstate
);
16777 if (PyErr_Occurred()) SWIG_fail
;
16780 resultobj
= SWIG_From_int((int)(result
));
16788 static PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16789 PyObject
*resultobj
;
16790 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16791 bool arg2
= (bool) true ;
16792 PyObject
* obj0
= 0 ;
16793 PyObject
* obj1
= 0 ;
16794 char *kwnames
[] = {
16795 (char *) "self",(char *) "forward", NULL
16798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16800 if (SWIG_arg_fail(1)) SWIG_fail
;
16803 arg2
= (bool)(SWIG_As_bool(obj1
));
16804 if (SWIG_arg_fail(2)) SWIG_fail
;
16808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16809 (arg1
)->AdvanceSelection(arg2
);
16811 wxPyEndAllowThreads(__tstate
);
16812 if (PyErr_Occurred()) SWIG_fail
;
16814 Py_INCREF(Py_None
); resultobj
= Py_None
;
16821 static PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16822 PyObject
*resultobj
;
16823 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16824 wxVisualAttributes result
;
16825 PyObject
* obj0
= 0 ;
16826 char *kwnames
[] = {
16827 (char *) "variant", NULL
16830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16833 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
16834 if (SWIG_arg_fail(1)) SWIG_fail
;
16838 if (!wxPyCheckForApp()) SWIG_fail
;
16839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16840 result
= wxBookCtrlBase::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
16842 wxPyEndAllowThreads(__tstate
);
16843 if (PyErr_Occurred()) SWIG_fail
;
16846 wxVisualAttributes
* resultptr
;
16847 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
16848 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16856 static PyObject
* BookCtrlBase_swigregister(PyObject
*, PyObject
*args
) {
16858 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16859 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBase
, obj
);
16861 return Py_BuildValue((char *)"");
16863 static PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16864 PyObject
*resultobj
;
16865 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16866 int arg2
= (int) 0 ;
16867 int arg3
= (int) -1 ;
16868 int arg4
= (int) -1 ;
16869 wxBookCtrlBaseEvent
*result
;
16870 PyObject
* obj0
= 0 ;
16871 PyObject
* obj1
= 0 ;
16872 PyObject
* obj2
= 0 ;
16873 PyObject
* obj3
= 0 ;
16874 char *kwnames
[] = {
16875 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
16878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16881 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16882 if (SWIG_arg_fail(1)) SWIG_fail
;
16887 arg2
= (int)(SWIG_As_int(obj1
));
16888 if (SWIG_arg_fail(2)) SWIG_fail
;
16893 arg3
= (int)(SWIG_As_int(obj2
));
16894 if (SWIG_arg_fail(3)) SWIG_fail
;
16899 arg4
= (int)(SWIG_As_int(obj3
));
16900 if (SWIG_arg_fail(4)) SWIG_fail
;
16904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16905 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
16907 wxPyEndAllowThreads(__tstate
);
16908 if (PyErr_Occurred()) SWIG_fail
;
16910 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, 1);
16917 static PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16918 PyObject
*resultobj
;
16919 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
16921 PyObject
* obj0
= 0 ;
16922 char *kwnames
[] = {
16923 (char *) "self", NULL
16926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
16927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16928 if (SWIG_arg_fail(1)) SWIG_fail
;
16930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16931 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
16933 wxPyEndAllowThreads(__tstate
);
16934 if (PyErr_Occurred()) SWIG_fail
;
16937 resultobj
= SWIG_From_int((int)(result
));
16945 static PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16946 PyObject
*resultobj
;
16947 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
16949 PyObject
* obj0
= 0 ;
16950 PyObject
* obj1
= 0 ;
16951 char *kwnames
[] = {
16952 (char *) "self",(char *) "nSel", NULL
16955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16957 if (SWIG_arg_fail(1)) SWIG_fail
;
16959 arg2
= (int)(SWIG_As_int(obj1
));
16960 if (SWIG_arg_fail(2)) SWIG_fail
;
16963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16964 (arg1
)->SetSelection(arg2
);
16966 wxPyEndAllowThreads(__tstate
);
16967 if (PyErr_Occurred()) SWIG_fail
;
16969 Py_INCREF(Py_None
); resultobj
= Py_None
;
16976 static PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16977 PyObject
*resultobj
;
16978 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
16980 PyObject
* obj0
= 0 ;
16981 char *kwnames
[] = {
16982 (char *) "self", NULL
16985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
16986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16987 if (SWIG_arg_fail(1)) SWIG_fail
;
16989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16990 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
16992 wxPyEndAllowThreads(__tstate
);
16993 if (PyErr_Occurred()) SWIG_fail
;
16996 resultobj
= SWIG_From_int((int)(result
));
17004 static PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17005 PyObject
*resultobj
;
17006 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
17008 PyObject
* obj0
= 0 ;
17009 PyObject
* obj1
= 0 ;
17010 char *kwnames
[] = {
17011 (char *) "self",(char *) "nOldSel", NULL
17014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17016 if (SWIG_arg_fail(1)) SWIG_fail
;
17018 arg2
= (int)(SWIG_As_int(obj1
));
17019 if (SWIG_arg_fail(2)) SWIG_fail
;
17022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17023 (arg1
)->SetOldSelection(arg2
);
17025 wxPyEndAllowThreads(__tstate
);
17026 if (PyErr_Occurred()) SWIG_fail
;
17028 Py_INCREF(Py_None
); resultobj
= Py_None
;
17035 static PyObject
* BookCtrlBaseEvent_swigregister(PyObject
*, PyObject
*args
) {
17037 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17038 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, obj
);
17040 return Py_BuildValue((char *)"");
17042 static PyObject
*_wrap_new_Notebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17043 PyObject
*resultobj
;
17044 wxWindow
*arg1
= (wxWindow
*) 0 ;
17045 int arg2
= (int) -1 ;
17046 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17047 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17048 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17049 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17050 long arg5
= (long) 0 ;
17051 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
17052 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17053 wxNotebook
*result
;
17056 bool temp6
= false ;
17057 PyObject
* obj0
= 0 ;
17058 PyObject
* obj1
= 0 ;
17059 PyObject
* obj2
= 0 ;
17060 PyObject
* obj3
= 0 ;
17061 PyObject
* obj4
= 0 ;
17062 PyObject
* obj5
= 0 ;
17063 char *kwnames
[] = {
17064 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17069 if (SWIG_arg_fail(1)) SWIG_fail
;
17072 arg2
= (int)(SWIG_As_int(obj1
));
17073 if (SWIG_arg_fail(2)) SWIG_fail
;
17079 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17085 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17090 arg5
= (long)(SWIG_As_long(obj4
));
17091 if (SWIG_arg_fail(5)) SWIG_fail
;
17096 arg6
= wxString_in_helper(obj5
);
17097 if (arg6
== NULL
) SWIG_fail
;
17102 if (!wxPyCheckForApp()) SWIG_fail
;
17103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17104 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17106 wxPyEndAllowThreads(__tstate
);
17107 if (PyErr_Occurred()) SWIG_fail
;
17109 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
17124 static PyObject
*_wrap_new_PreNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17125 PyObject
*resultobj
;
17126 wxNotebook
*result
;
17127 char *kwnames
[] = {
17131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
17133 if (!wxPyCheckForApp()) SWIG_fail
;
17134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17135 result
= (wxNotebook
*)new wxNotebook();
17137 wxPyEndAllowThreads(__tstate
);
17138 if (PyErr_Occurred()) SWIG_fail
;
17140 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
17147 static PyObject
*_wrap_Notebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17148 PyObject
*resultobj
;
17149 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17150 wxWindow
*arg2
= (wxWindow
*) 0 ;
17151 int arg3
= (int) -1 ;
17152 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17153 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17154 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17155 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17156 long arg6
= (long) 0 ;
17157 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
17158 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17162 bool temp7
= false ;
17163 PyObject
* obj0
= 0 ;
17164 PyObject
* obj1
= 0 ;
17165 PyObject
* obj2
= 0 ;
17166 PyObject
* obj3
= 0 ;
17167 PyObject
* obj4
= 0 ;
17168 PyObject
* obj5
= 0 ;
17169 PyObject
* obj6
= 0 ;
17170 char *kwnames
[] = {
17171 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17176 if (SWIG_arg_fail(1)) SWIG_fail
;
17177 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17178 if (SWIG_arg_fail(2)) SWIG_fail
;
17181 arg3
= (int)(SWIG_As_int(obj2
));
17182 if (SWIG_arg_fail(3)) SWIG_fail
;
17188 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17194 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17199 arg6
= (long)(SWIG_As_long(obj5
));
17200 if (SWIG_arg_fail(6)) SWIG_fail
;
17205 arg7
= wxString_in_helper(obj6
);
17206 if (arg7
== NULL
) SWIG_fail
;
17211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17212 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17214 wxPyEndAllowThreads(__tstate
);
17215 if (PyErr_Occurred()) SWIG_fail
;
17218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17234 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17235 PyObject
*resultobj
;
17236 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17238 PyObject
* obj0
= 0 ;
17239 char *kwnames
[] = {
17240 (char *) "self", NULL
17243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
17244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17245 if (SWIG_arg_fail(1)) SWIG_fail
;
17247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17248 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
17250 wxPyEndAllowThreads(__tstate
);
17251 if (PyErr_Occurred()) SWIG_fail
;
17254 resultobj
= SWIG_From_int((int)(result
));
17262 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17263 PyObject
*resultobj
;
17264 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17267 PyObject
* obj0
= 0 ;
17268 PyObject
* obj1
= 0 ;
17269 char *kwnames
[] = {
17270 (char *) "self",(char *) "padding", NULL
17273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
17274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17275 if (SWIG_arg_fail(1)) SWIG_fail
;
17278 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17282 (arg1
)->SetPadding((wxSize
const &)*arg2
);
17284 wxPyEndAllowThreads(__tstate
);
17285 if (PyErr_Occurred()) SWIG_fail
;
17287 Py_INCREF(Py_None
); resultobj
= Py_None
;
17294 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17295 PyObject
*resultobj
;
17296 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17299 PyObject
* obj0
= 0 ;
17300 PyObject
* obj1
= 0 ;
17301 char *kwnames
[] = {
17302 (char *) "self",(char *) "sz", NULL
17305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17307 if (SWIG_arg_fail(1)) SWIG_fail
;
17310 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17314 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
17316 wxPyEndAllowThreads(__tstate
);
17317 if (PyErr_Occurred()) SWIG_fail
;
17319 Py_INCREF(Py_None
); resultobj
= Py_None
;
17326 static PyObject
*_wrap_Notebook_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17327 PyObject
*resultobj
;
17328 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17329 wxPoint
*arg2
= 0 ;
17330 long *arg3
= (long *) 0 ;
17335 PyObject
* obj0
= 0 ;
17336 PyObject
* obj1
= 0 ;
17337 char *kwnames
[] = {
17338 (char *) "self",(char *) "pt", NULL
17341 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
17343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17344 if (SWIG_arg_fail(1)) SWIG_fail
;
17347 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17351 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
17353 wxPyEndAllowThreads(__tstate
);
17354 if (PyErr_Occurred()) SWIG_fail
;
17357 resultobj
= SWIG_From_int((int)(result
));
17359 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17360 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
17367 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17368 PyObject
*resultobj
;
17369 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17373 PyObject
* obj0
= 0 ;
17374 PyObject
* obj1
= 0 ;
17375 char *kwnames
[] = {
17376 (char *) "self",(char *) "sizePage", NULL
17379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
17380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17381 if (SWIG_arg_fail(1)) SWIG_fail
;
17384 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17388 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
17390 wxPyEndAllowThreads(__tstate
);
17391 if (PyErr_Occurred()) SWIG_fail
;
17394 wxSize
* resultptr
;
17395 resultptr
= new wxSize((wxSize
&)(result
));
17396 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17404 static PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17405 PyObject
*resultobj
;
17406 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17408 PyObject
* obj0
= 0 ;
17409 char *kwnames
[] = {
17410 (char *) "self", NULL
17413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetThemeBackgroundColour",kwnames
,&obj0
)) goto fail
;
17414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17415 if (SWIG_arg_fail(1)) SWIG_fail
;
17417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17418 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
17420 wxPyEndAllowThreads(__tstate
);
17421 if (PyErr_Occurred()) SWIG_fail
;
17424 wxColour
* resultptr
;
17425 resultptr
= new wxColour((wxColour
&)(result
));
17426 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17434 static PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17435 PyObject
*resultobj
;
17436 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17437 wxVisualAttributes result
;
17438 PyObject
* obj0
= 0 ;
17439 char *kwnames
[] = {
17440 (char *) "variant", NULL
17443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17446 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
17447 if (SWIG_arg_fail(1)) SWIG_fail
;
17451 if (!wxPyCheckForApp()) SWIG_fail
;
17452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17453 result
= wxNotebook::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
17455 wxPyEndAllowThreads(__tstate
);
17456 if (PyErr_Occurred()) SWIG_fail
;
17459 wxVisualAttributes
* resultptr
;
17460 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
17461 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17469 static PyObject
* Notebook_swigregister(PyObject
*, PyObject
*args
) {
17471 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17472 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
17474 return Py_BuildValue((char *)"");
17476 static PyObject
*_wrap_new_NotebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17477 PyObject
*resultobj
;
17478 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17479 int arg2
= (int) 0 ;
17480 int arg3
= (int) -1 ;
17481 int arg4
= (int) -1 ;
17482 wxNotebookEvent
*result
;
17483 PyObject
* obj0
= 0 ;
17484 PyObject
* obj1
= 0 ;
17485 PyObject
* obj2
= 0 ;
17486 PyObject
* obj3
= 0 ;
17487 char *kwnames
[] = {
17488 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17494 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17495 if (SWIG_arg_fail(1)) SWIG_fail
;
17500 arg2
= (int)(SWIG_As_int(obj1
));
17501 if (SWIG_arg_fail(2)) SWIG_fail
;
17506 arg3
= (int)(SWIG_As_int(obj2
));
17507 if (SWIG_arg_fail(3)) SWIG_fail
;
17512 arg4
= (int)(SWIG_As_int(obj3
));
17513 if (SWIG_arg_fail(4)) SWIG_fail
;
17517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17518 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
17520 wxPyEndAllowThreads(__tstate
);
17521 if (PyErr_Occurred()) SWIG_fail
;
17523 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
17530 static PyObject
* NotebookEvent_swigregister(PyObject
*, PyObject
*args
) {
17532 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17533 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
17535 return Py_BuildValue((char *)"");
17537 static PyObject
*_wrap_new_Listbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17538 PyObject
*resultobj
;
17539 wxWindow
*arg1
= (wxWindow
*) 0 ;
17540 int arg2
= (int) -1 ;
17541 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17542 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17543 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17544 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17545 long arg5
= (long) 0 ;
17546 wxString
const &arg6_defvalue
= wxPyEmptyString
;
17547 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17548 wxListbook
*result
;
17551 bool temp6
= false ;
17552 PyObject
* obj0
= 0 ;
17553 PyObject
* obj1
= 0 ;
17554 PyObject
* obj2
= 0 ;
17555 PyObject
* obj3
= 0 ;
17556 PyObject
* obj4
= 0 ;
17557 PyObject
* obj5
= 0 ;
17558 char *kwnames
[] = {
17559 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17564 if (SWIG_arg_fail(1)) SWIG_fail
;
17567 arg2
= (int)(SWIG_As_int(obj1
));
17568 if (SWIG_arg_fail(2)) SWIG_fail
;
17574 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17580 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17585 arg5
= (long)(SWIG_As_long(obj4
));
17586 if (SWIG_arg_fail(5)) SWIG_fail
;
17591 arg6
= wxString_in_helper(obj5
);
17592 if (arg6
== NULL
) SWIG_fail
;
17597 if (!wxPyCheckForApp()) SWIG_fail
;
17598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17599 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17601 wxPyEndAllowThreads(__tstate
);
17602 if (PyErr_Occurred()) SWIG_fail
;
17604 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
17619 static PyObject
*_wrap_new_PreListbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17620 PyObject
*resultobj
;
17621 wxListbook
*result
;
17622 char *kwnames
[] = {
17626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
17628 if (!wxPyCheckForApp()) SWIG_fail
;
17629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17630 result
= (wxListbook
*)new wxListbook();
17632 wxPyEndAllowThreads(__tstate
);
17633 if (PyErr_Occurred()) SWIG_fail
;
17635 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
17642 static PyObject
*_wrap_Listbook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17643 PyObject
*resultobj
;
17644 wxListbook
*arg1
= (wxListbook
*) 0 ;
17645 wxWindow
*arg2
= (wxWindow
*) 0 ;
17646 int arg3
= (int) -1 ;
17647 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17648 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17649 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17650 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17651 long arg6
= (long) 0 ;
17652 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17653 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17657 bool temp7
= false ;
17658 PyObject
* obj0
= 0 ;
17659 PyObject
* obj1
= 0 ;
17660 PyObject
* obj2
= 0 ;
17661 PyObject
* obj3
= 0 ;
17662 PyObject
* obj4
= 0 ;
17663 PyObject
* obj5
= 0 ;
17664 PyObject
* obj6
= 0 ;
17665 char *kwnames
[] = {
17666 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17671 if (SWIG_arg_fail(1)) SWIG_fail
;
17672 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17673 if (SWIG_arg_fail(2)) SWIG_fail
;
17676 arg3
= (int)(SWIG_As_int(obj2
));
17677 if (SWIG_arg_fail(3)) SWIG_fail
;
17683 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17689 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17694 arg6
= (long)(SWIG_As_long(obj5
));
17695 if (SWIG_arg_fail(6)) SWIG_fail
;
17700 arg7
= wxString_in_helper(obj6
);
17701 if (arg7
== NULL
) SWIG_fail
;
17706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17707 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17709 wxPyEndAllowThreads(__tstate
);
17710 if (PyErr_Occurred()) SWIG_fail
;
17713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17729 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17730 PyObject
*resultobj
;
17731 wxListbook
*arg1
= (wxListbook
*) 0 ;
17733 PyObject
* obj0
= 0 ;
17734 char *kwnames
[] = {
17735 (char *) "self", NULL
17738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
17739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17740 if (SWIG_arg_fail(1)) SWIG_fail
;
17742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17743 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
17745 wxPyEndAllowThreads(__tstate
);
17746 if (PyErr_Occurred()) SWIG_fail
;
17749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17757 static PyObject
*_wrap_Listbook_GetListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17758 PyObject
*resultobj
;
17759 wxListbook
*arg1
= (wxListbook
*) 0 ;
17760 wxListView
*result
;
17761 PyObject
* obj0
= 0 ;
17762 char *kwnames
[] = {
17763 (char *) "self", NULL
17766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_GetListView",kwnames
,&obj0
)) goto fail
;
17767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17768 if (SWIG_arg_fail(1)) SWIG_fail
;
17770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17771 result
= (wxListView
*)(arg1
)->GetListView();
17773 wxPyEndAllowThreads(__tstate
);
17774 if (PyErr_Occurred()) SWIG_fail
;
17776 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 0);
17783 static PyObject
* Listbook_swigregister(PyObject
*, PyObject
*args
) {
17785 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17786 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
17788 return Py_BuildValue((char *)"");
17790 static PyObject
*_wrap_new_ListbookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17791 PyObject
*resultobj
;
17792 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17793 int arg2
= (int) 0 ;
17794 int arg3
= (int) -1 ;
17795 int arg4
= (int) -1 ;
17796 wxListbookEvent
*result
;
17797 PyObject
* obj0
= 0 ;
17798 PyObject
* obj1
= 0 ;
17799 PyObject
* obj2
= 0 ;
17800 PyObject
* obj3
= 0 ;
17801 char *kwnames
[] = {
17802 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17808 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17809 if (SWIG_arg_fail(1)) SWIG_fail
;
17814 arg2
= (int)(SWIG_As_int(obj1
));
17815 if (SWIG_arg_fail(2)) SWIG_fail
;
17820 arg3
= (int)(SWIG_As_int(obj2
));
17821 if (SWIG_arg_fail(3)) SWIG_fail
;
17826 arg4
= (int)(SWIG_As_int(obj3
));
17827 if (SWIG_arg_fail(4)) SWIG_fail
;
17831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17832 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
17834 wxPyEndAllowThreads(__tstate
);
17835 if (PyErr_Occurred()) SWIG_fail
;
17837 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
17844 static PyObject
* ListbookEvent_swigregister(PyObject
*, PyObject
*args
) {
17846 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17847 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
17849 return Py_BuildValue((char *)"");
17851 static PyObject
*_wrap_new_Choicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17852 PyObject
*resultobj
;
17853 wxWindow
*arg1
= (wxWindow
*) 0 ;
17855 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17856 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17857 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17858 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17859 long arg5
= (long) 0 ;
17860 wxString
const &arg6_defvalue
= wxPyEmptyString
;
17861 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17862 wxChoicebook
*result
;
17865 bool temp6
= false ;
17866 PyObject
* obj0
= 0 ;
17867 PyObject
* obj1
= 0 ;
17868 PyObject
* obj2
= 0 ;
17869 PyObject
* obj3
= 0 ;
17870 PyObject
* obj4
= 0 ;
17871 PyObject
* obj5
= 0 ;
17872 char *kwnames
[] = {
17873 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17878 if (SWIG_arg_fail(1)) SWIG_fail
;
17880 arg2
= (int)(SWIG_As_int(obj1
));
17881 if (SWIG_arg_fail(2)) SWIG_fail
;
17886 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17892 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17897 arg5
= (long)(SWIG_As_long(obj4
));
17898 if (SWIG_arg_fail(5)) SWIG_fail
;
17903 arg6
= wxString_in_helper(obj5
);
17904 if (arg6
== NULL
) SWIG_fail
;
17909 if (!wxPyCheckForApp()) SWIG_fail
;
17910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17911 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17913 wxPyEndAllowThreads(__tstate
);
17914 if (PyErr_Occurred()) SWIG_fail
;
17916 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
17931 static PyObject
*_wrap_new_PreChoicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17932 PyObject
*resultobj
;
17933 wxChoicebook
*result
;
17934 char *kwnames
[] = {
17938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoicebook",kwnames
)) goto fail
;
17940 if (!wxPyCheckForApp()) SWIG_fail
;
17941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17942 result
= (wxChoicebook
*)new wxChoicebook();
17944 wxPyEndAllowThreads(__tstate
);
17945 if (PyErr_Occurred()) SWIG_fail
;
17947 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
17954 static PyObject
*_wrap_Choicebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17955 PyObject
*resultobj
;
17956 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
17957 wxWindow
*arg2
= (wxWindow
*) 0 ;
17959 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17960 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17961 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17962 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17963 long arg6
= (long) 0 ;
17964 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17965 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17969 bool temp7
= false ;
17970 PyObject
* obj0
= 0 ;
17971 PyObject
* obj1
= 0 ;
17972 PyObject
* obj2
= 0 ;
17973 PyObject
* obj3
= 0 ;
17974 PyObject
* obj4
= 0 ;
17975 PyObject
* obj5
= 0 ;
17976 PyObject
* obj6
= 0 ;
17977 char *kwnames
[] = {
17978 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
17983 if (SWIG_arg_fail(1)) SWIG_fail
;
17984 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17985 if (SWIG_arg_fail(2)) SWIG_fail
;
17987 arg3
= (int)(SWIG_As_int(obj2
));
17988 if (SWIG_arg_fail(3)) SWIG_fail
;
17993 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17999 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18004 arg6
= (long)(SWIG_As_long(obj5
));
18005 if (SWIG_arg_fail(6)) SWIG_fail
;
18010 arg7
= wxString_in_helper(obj6
);
18011 if (arg7
== NULL
) SWIG_fail
;
18016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18017 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18019 wxPyEndAllowThreads(__tstate
);
18020 if (PyErr_Occurred()) SWIG_fail
;
18023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18039 static PyObject
*_wrap_Choicebook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18040 PyObject
*resultobj
;
18041 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18043 PyObject
* obj0
= 0 ;
18044 char *kwnames
[] = {
18045 (char *) "self", NULL
18048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_IsVertical",kwnames
,&obj0
)) goto fail
;
18049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18050 if (SWIG_arg_fail(1)) SWIG_fail
;
18052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18053 result
= (bool)((wxChoicebook
const *)arg1
)->IsVertical();
18055 wxPyEndAllowThreads(__tstate
);
18056 if (PyErr_Occurred()) SWIG_fail
;
18059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18067 static PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18068 PyObject
*resultobj
;
18069 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18071 PyObject
* obj0
= 0 ;
18072 char *kwnames
[] = {
18073 (char *) "self", NULL
18076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_GetChoiceCtrl",kwnames
,&obj0
)) goto fail
;
18077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18078 if (SWIG_arg_fail(1)) SWIG_fail
;
18080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18081 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
18083 wxPyEndAllowThreads(__tstate
);
18084 if (PyErr_Occurred()) SWIG_fail
;
18086 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 0);
18093 static PyObject
*_wrap_Choicebook_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18094 PyObject
*resultobj
;
18095 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18097 PyObject
* obj0
= 0 ;
18098 char *kwnames
[] = {
18099 (char *) "self", NULL
18102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
18103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18104 if (SWIG_arg_fail(1)) SWIG_fail
;
18106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18107 result
= (bool)(arg1
)->DeleteAllPages();
18109 wxPyEndAllowThreads(__tstate
);
18110 if (PyErr_Occurred()) SWIG_fail
;
18113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18121 static PyObject
* Choicebook_swigregister(PyObject
*, PyObject
*args
) {
18123 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18124 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook
, obj
);
18126 return Py_BuildValue((char *)"");
18128 static PyObject
*_wrap_new_ChoicebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18129 PyObject
*resultobj
;
18130 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18131 int arg2
= (int) 0 ;
18132 int arg3
= (int) -1 ;
18133 int arg4
= (int) -1 ;
18134 wxChoicebookEvent
*result
;
18135 PyObject
* obj0
= 0 ;
18136 PyObject
* obj1
= 0 ;
18137 PyObject
* obj2
= 0 ;
18138 PyObject
* obj3
= 0 ;
18139 char *kwnames
[] = {
18140 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18146 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
18147 if (SWIG_arg_fail(1)) SWIG_fail
;
18152 arg2
= (int)(SWIG_As_int(obj1
));
18153 if (SWIG_arg_fail(2)) SWIG_fail
;
18158 arg3
= (int)(SWIG_As_int(obj2
));
18159 if (SWIG_arg_fail(3)) SWIG_fail
;
18164 arg4
= (int)(SWIG_As_int(obj3
));
18165 if (SWIG_arg_fail(4)) SWIG_fail
;
18169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18170 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
18172 wxPyEndAllowThreads(__tstate
);
18173 if (PyErr_Occurred()) SWIG_fail
;
18175 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebookEvent
, 1);
18182 static PyObject
* ChoicebookEvent_swigregister(PyObject
*, PyObject
*args
) {
18184 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18185 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent
, obj
);
18187 return Py_BuildValue((char *)"");
18189 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18190 PyObject
*resultobj
;
18191 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18193 PyObject
* obj0
= 0 ;
18194 char *kwnames
[] = {
18195 (char *) "self", NULL
18198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
18199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18200 if (SWIG_arg_fail(1)) SWIG_fail
;
18202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18203 result
= (int)(arg1
)->GetId();
18205 wxPyEndAllowThreads(__tstate
);
18206 if (PyErr_Occurred()) SWIG_fail
;
18209 resultobj
= SWIG_From_int((int)(result
));
18217 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18218 PyObject
*resultobj
;
18219 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18221 PyObject
* obj0
= 0 ;
18222 char *kwnames
[] = {
18223 (char *) "self", NULL
18226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
18227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18228 if (SWIG_arg_fail(1)) SWIG_fail
;
18230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18231 result
= (wxControl
*)(arg1
)->GetControl();
18233 wxPyEndAllowThreads(__tstate
);
18234 if (PyErr_Occurred()) SWIG_fail
;
18237 resultobj
= wxPyMake_wxObject(result
, 0);
18245 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18246 PyObject
*resultobj
;
18247 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18248 wxToolBarBase
*result
;
18249 PyObject
* obj0
= 0 ;
18250 char *kwnames
[] = {
18251 (char *) "self", NULL
18254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
18255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18256 if (SWIG_arg_fail(1)) SWIG_fail
;
18258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18259 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
18261 wxPyEndAllowThreads(__tstate
);
18262 if (PyErr_Occurred()) SWIG_fail
;
18265 resultobj
= wxPyMake_wxObject(result
, 0);
18273 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18274 PyObject
*resultobj
;
18275 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18277 PyObject
* obj0
= 0 ;
18278 char *kwnames
[] = {
18279 (char *) "self", NULL
18282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
18283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18284 if (SWIG_arg_fail(1)) SWIG_fail
;
18286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18287 result
= (int)(arg1
)->IsButton();
18289 wxPyEndAllowThreads(__tstate
);
18290 if (PyErr_Occurred()) SWIG_fail
;
18293 resultobj
= SWIG_From_int((int)(result
));
18301 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18302 PyObject
*resultobj
;
18303 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18305 PyObject
* obj0
= 0 ;
18306 char *kwnames
[] = {
18307 (char *) "self", NULL
18310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
18311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18312 if (SWIG_arg_fail(1)) SWIG_fail
;
18314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18315 result
= (int)(arg1
)->IsControl();
18317 wxPyEndAllowThreads(__tstate
);
18318 if (PyErr_Occurred()) SWIG_fail
;
18321 resultobj
= SWIG_From_int((int)(result
));
18329 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18330 PyObject
*resultobj
;
18331 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18333 PyObject
* obj0
= 0 ;
18334 char *kwnames
[] = {
18335 (char *) "self", NULL
18338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
18339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18340 if (SWIG_arg_fail(1)) SWIG_fail
;
18342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18343 result
= (int)(arg1
)->IsSeparator();
18345 wxPyEndAllowThreads(__tstate
);
18346 if (PyErr_Occurred()) SWIG_fail
;
18349 resultobj
= SWIG_From_int((int)(result
));
18357 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18358 PyObject
*resultobj
;
18359 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18361 PyObject
* obj0
= 0 ;
18362 char *kwnames
[] = {
18363 (char *) "self", NULL
18366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
18367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18368 if (SWIG_arg_fail(1)) SWIG_fail
;
18370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18371 result
= (int)(arg1
)->GetStyle();
18373 wxPyEndAllowThreads(__tstate
);
18374 if (PyErr_Occurred()) SWIG_fail
;
18377 resultobj
= SWIG_From_int((int)(result
));
18385 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18386 PyObject
*resultobj
;
18387 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18389 PyObject
* obj0
= 0 ;
18390 char *kwnames
[] = {
18391 (char *) "self", NULL
18394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
18395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18396 if (SWIG_arg_fail(1)) SWIG_fail
;
18398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18399 result
= (wxItemKind
)(arg1
)->GetKind();
18401 wxPyEndAllowThreads(__tstate
);
18402 if (PyErr_Occurred()) SWIG_fail
;
18404 resultobj
= SWIG_From_int((result
));
18411 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18412 PyObject
*resultobj
;
18413 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18415 PyObject
* obj0
= 0 ;
18416 char *kwnames
[] = {
18417 (char *) "self", NULL
18420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
18421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18422 if (SWIG_arg_fail(1)) SWIG_fail
;
18424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18425 result
= (bool)(arg1
)->IsEnabled();
18427 wxPyEndAllowThreads(__tstate
);
18428 if (PyErr_Occurred()) SWIG_fail
;
18431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18439 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18440 PyObject
*resultobj
;
18441 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18443 PyObject
* obj0
= 0 ;
18444 char *kwnames
[] = {
18445 (char *) "self", NULL
18448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
18449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18450 if (SWIG_arg_fail(1)) SWIG_fail
;
18452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18453 result
= (bool)(arg1
)->IsToggled();
18455 wxPyEndAllowThreads(__tstate
);
18456 if (PyErr_Occurred()) SWIG_fail
;
18459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18467 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18468 PyObject
*resultobj
;
18469 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18471 PyObject
* obj0
= 0 ;
18472 char *kwnames
[] = {
18473 (char *) "self", NULL
18476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
18477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18478 if (SWIG_arg_fail(1)) SWIG_fail
;
18480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18481 result
= (bool)(arg1
)->CanBeToggled();
18483 wxPyEndAllowThreads(__tstate
);
18484 if (PyErr_Occurred()) SWIG_fail
;
18487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18495 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18496 PyObject
*resultobj
;
18497 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18499 PyObject
* obj0
= 0 ;
18500 char *kwnames
[] = {
18501 (char *) "self", NULL
18504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
18505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18506 if (SWIG_arg_fail(1)) SWIG_fail
;
18508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18510 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
18511 result
= (wxBitmap
*) &_result_ref
;
18514 wxPyEndAllowThreads(__tstate
);
18515 if (PyErr_Occurred()) SWIG_fail
;
18518 wxBitmap
* resultptr
= new wxBitmap(*result
);
18519 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18527 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18528 PyObject
*resultobj
;
18529 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18531 PyObject
* obj0
= 0 ;
18532 char *kwnames
[] = {
18533 (char *) "self", NULL
18536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
18537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18538 if (SWIG_arg_fail(1)) SWIG_fail
;
18540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18542 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
18543 result
= (wxBitmap
*) &_result_ref
;
18546 wxPyEndAllowThreads(__tstate
);
18547 if (PyErr_Occurred()) SWIG_fail
;
18550 wxBitmap
* resultptr
= new wxBitmap(*result
);
18551 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18559 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18560 PyObject
*resultobj
;
18561 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18563 PyObject
* obj0
= 0 ;
18564 char *kwnames
[] = {
18565 (char *) "self", NULL
18568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
18569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18570 if (SWIG_arg_fail(1)) SWIG_fail
;
18572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18573 result
= (arg1
)->GetBitmap();
18575 wxPyEndAllowThreads(__tstate
);
18576 if (PyErr_Occurred()) SWIG_fail
;
18579 wxBitmap
* resultptr
;
18580 resultptr
= new wxBitmap((wxBitmap
&)(result
));
18581 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18589 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18590 PyObject
*resultobj
;
18591 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18593 PyObject
* obj0
= 0 ;
18594 char *kwnames
[] = {
18595 (char *) "self", NULL
18598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
18599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18600 if (SWIG_arg_fail(1)) SWIG_fail
;
18602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18603 result
= (arg1
)->GetLabel();
18605 wxPyEndAllowThreads(__tstate
);
18606 if (PyErr_Occurred()) SWIG_fail
;
18610 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18612 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18621 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18622 PyObject
*resultobj
;
18623 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18625 PyObject
* obj0
= 0 ;
18626 char *kwnames
[] = {
18627 (char *) "self", NULL
18630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
18631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18632 if (SWIG_arg_fail(1)) SWIG_fail
;
18634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18635 result
= (arg1
)->GetShortHelp();
18637 wxPyEndAllowThreads(__tstate
);
18638 if (PyErr_Occurred()) SWIG_fail
;
18642 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18644 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18653 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18654 PyObject
*resultobj
;
18655 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18657 PyObject
* obj0
= 0 ;
18658 char *kwnames
[] = {
18659 (char *) "self", NULL
18662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
18663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18664 if (SWIG_arg_fail(1)) SWIG_fail
;
18666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18667 result
= (arg1
)->GetLongHelp();
18669 wxPyEndAllowThreads(__tstate
);
18670 if (PyErr_Occurred()) SWIG_fail
;
18674 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18676 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18685 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18686 PyObject
*resultobj
;
18687 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18690 PyObject
* obj0
= 0 ;
18691 PyObject
* obj1
= 0 ;
18692 char *kwnames
[] = {
18693 (char *) "self",(char *) "enable", NULL
18696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
18697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18698 if (SWIG_arg_fail(1)) SWIG_fail
;
18700 arg2
= (bool)(SWIG_As_bool(obj1
));
18701 if (SWIG_arg_fail(2)) SWIG_fail
;
18704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18705 result
= (bool)(arg1
)->Enable(arg2
);
18707 wxPyEndAllowThreads(__tstate
);
18708 if (PyErr_Occurred()) SWIG_fail
;
18711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18719 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18720 PyObject
*resultobj
;
18721 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18722 PyObject
* obj0
= 0 ;
18723 char *kwnames
[] = {
18724 (char *) "self", NULL
18727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",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();
18734 wxPyEndAllowThreads(__tstate
);
18735 if (PyErr_Occurred()) SWIG_fail
;
18737 Py_INCREF(Py_None
); resultobj
= Py_None
;
18744 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18745 PyObject
*resultobj
;
18746 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18749 PyObject
* obj0
= 0 ;
18750 PyObject
* obj1
= 0 ;
18751 char *kwnames
[] = {
18752 (char *) "self",(char *) "toggle", NULL
18755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
18756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18757 if (SWIG_arg_fail(1)) SWIG_fail
;
18759 arg2
= (bool)(SWIG_As_bool(obj1
));
18760 if (SWIG_arg_fail(2)) SWIG_fail
;
18763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18764 result
= (bool)(arg1
)->SetToggle(arg2
);
18766 wxPyEndAllowThreads(__tstate
);
18767 if (PyErr_Occurred()) SWIG_fail
;
18770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18778 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18779 PyObject
*resultobj
;
18780 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18781 wxString
*arg2
= 0 ;
18783 bool temp2
= false ;
18784 PyObject
* obj0
= 0 ;
18785 PyObject
* obj1
= 0 ;
18786 char *kwnames
[] = {
18787 (char *) "self",(char *) "help", NULL
18790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
18791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18792 if (SWIG_arg_fail(1)) SWIG_fail
;
18794 arg2
= wxString_in_helper(obj1
);
18795 if (arg2
== NULL
) SWIG_fail
;
18799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18800 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
18802 wxPyEndAllowThreads(__tstate
);
18803 if (PyErr_Occurred()) SWIG_fail
;
18806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18822 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18823 PyObject
*resultobj
;
18824 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18825 wxString
*arg2
= 0 ;
18827 bool temp2
= false ;
18828 PyObject
* obj0
= 0 ;
18829 PyObject
* obj1
= 0 ;
18830 char *kwnames
[] = {
18831 (char *) "self",(char *) "help", NULL
18834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
18835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18836 if (SWIG_arg_fail(1)) SWIG_fail
;
18838 arg2
= wxString_in_helper(obj1
);
18839 if (arg2
== NULL
) SWIG_fail
;
18843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18844 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
18846 wxPyEndAllowThreads(__tstate
);
18847 if (PyErr_Occurred()) SWIG_fail
;
18850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18866 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18867 PyObject
*resultobj
;
18868 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18869 wxBitmap
*arg2
= 0 ;
18870 PyObject
* obj0
= 0 ;
18871 PyObject
* obj1
= 0 ;
18872 char *kwnames
[] = {
18873 (char *) "self",(char *) "bmp", NULL
18876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
18877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18878 if (SWIG_arg_fail(1)) SWIG_fail
;
18880 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
18881 if (SWIG_arg_fail(2)) SWIG_fail
;
18882 if (arg2
== NULL
) {
18883 SWIG_null_ref("wxBitmap");
18885 if (SWIG_arg_fail(2)) SWIG_fail
;
18888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18889 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
18891 wxPyEndAllowThreads(__tstate
);
18892 if (PyErr_Occurred()) SWIG_fail
;
18894 Py_INCREF(Py_None
); resultobj
= Py_None
;
18901 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18902 PyObject
*resultobj
;
18903 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18904 wxBitmap
*arg2
= 0 ;
18905 PyObject
* obj0
= 0 ;
18906 PyObject
* obj1
= 0 ;
18907 char *kwnames
[] = {
18908 (char *) "self",(char *) "bmp", NULL
18911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
18912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18913 if (SWIG_arg_fail(1)) SWIG_fail
;
18915 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
18916 if (SWIG_arg_fail(2)) SWIG_fail
;
18917 if (arg2
== NULL
) {
18918 SWIG_null_ref("wxBitmap");
18920 if (SWIG_arg_fail(2)) SWIG_fail
;
18923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18924 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
18926 wxPyEndAllowThreads(__tstate
);
18927 if (PyErr_Occurred()) SWIG_fail
;
18929 Py_INCREF(Py_None
); resultobj
= Py_None
;
18936 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18937 PyObject
*resultobj
;
18938 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18939 wxString
*arg2
= 0 ;
18940 bool temp2
= false ;
18941 PyObject
* obj0
= 0 ;
18942 PyObject
* obj1
= 0 ;
18943 char *kwnames
[] = {
18944 (char *) "self",(char *) "label", NULL
18947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
18948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18949 if (SWIG_arg_fail(1)) SWIG_fail
;
18951 arg2
= wxString_in_helper(obj1
);
18952 if (arg2
== NULL
) SWIG_fail
;
18956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18957 (arg1
)->SetLabel((wxString
const &)*arg2
);
18959 wxPyEndAllowThreads(__tstate
);
18960 if (PyErr_Occurred()) SWIG_fail
;
18962 Py_INCREF(Py_None
); resultobj
= Py_None
;
18977 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18978 PyObject
*resultobj
;
18979 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18980 PyObject
* obj0
= 0 ;
18981 char *kwnames
[] = {
18982 (char *) "self", NULL
18985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
18986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18987 if (SWIG_arg_fail(1)) SWIG_fail
;
18989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18992 wxPyEndAllowThreads(__tstate
);
18993 if (PyErr_Occurred()) SWIG_fail
;
18995 Py_INCREF(Py_None
); resultobj
= Py_None
;
19002 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19003 PyObject
*resultobj
;
19004 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19005 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
19006 PyObject
* obj0
= 0 ;
19007 PyObject
* obj1
= 0 ;
19008 char *kwnames
[] = {
19009 (char *) "self",(char *) "tbar", NULL
19012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
19013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19014 if (SWIG_arg_fail(1)) SWIG_fail
;
19015 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19016 if (SWIG_arg_fail(2)) SWIG_fail
;
19018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19019 (arg1
)->Attach(arg2
);
19021 wxPyEndAllowThreads(__tstate
);
19022 if (PyErr_Occurred()) SWIG_fail
;
19024 Py_INCREF(Py_None
); resultobj
= Py_None
;
19031 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19032 PyObject
*resultobj
;
19033 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19035 PyObject
* obj0
= 0 ;
19036 char *kwnames
[] = {
19037 (char *) "self", NULL
19040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19045 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
19047 wxPyEndAllowThreads(__tstate
);
19048 if (PyErr_Occurred()) SWIG_fail
;
19050 resultobj
= result
;
19057 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19058 PyObject
*resultobj
;
19059 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19060 PyObject
*arg2
= (PyObject
*) 0 ;
19061 PyObject
* obj0
= 0 ;
19062 PyObject
* obj1
= 0 ;
19063 char *kwnames
[] = {
19064 (char *) "self",(char *) "clientData", NULL
19067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
19068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19069 if (SWIG_arg_fail(1)) SWIG_fail
;
19072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19073 wxToolBarToolBase_SetClientData(arg1
,arg2
);
19075 wxPyEndAllowThreads(__tstate
);
19076 if (PyErr_Occurred()) SWIG_fail
;
19078 Py_INCREF(Py_None
); resultobj
= Py_None
;
19085 static PyObject
* ToolBarToolBase_swigregister(PyObject
*, PyObject
*args
) {
19087 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19088 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
19090 return Py_BuildValue((char *)"");
19092 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19093 PyObject
*resultobj
;
19094 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19096 wxString
*arg3
= 0 ;
19097 wxBitmap
*arg4
= 0 ;
19098 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
19099 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
19100 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
19101 wxString
const &arg7_defvalue
= wxPyEmptyString
;
19102 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19103 wxString
const &arg8_defvalue
= wxPyEmptyString
;
19104 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19105 PyObject
*arg9
= (PyObject
*) NULL
;
19106 wxToolBarToolBase
*result
;
19107 bool temp3
= false ;
19108 bool temp7
= false ;
19109 bool temp8
= false ;
19110 PyObject
* obj0
= 0 ;
19111 PyObject
* obj1
= 0 ;
19112 PyObject
* obj2
= 0 ;
19113 PyObject
* obj3
= 0 ;
19114 PyObject
* obj4
= 0 ;
19115 PyObject
* obj5
= 0 ;
19116 PyObject
* obj6
= 0 ;
19117 PyObject
* obj7
= 0 ;
19118 PyObject
* obj8
= 0 ;
19119 char *kwnames
[] = {
19120 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
19124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19125 if (SWIG_arg_fail(1)) SWIG_fail
;
19127 arg2
= (int)(SWIG_As_int(obj1
));
19128 if (SWIG_arg_fail(2)) SWIG_fail
;
19131 arg3
= wxString_in_helper(obj2
);
19132 if (arg3
== NULL
) SWIG_fail
;
19136 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19137 if (SWIG_arg_fail(4)) SWIG_fail
;
19138 if (arg4
== NULL
) {
19139 SWIG_null_ref("wxBitmap");
19141 if (SWIG_arg_fail(4)) SWIG_fail
;
19145 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19146 if (SWIG_arg_fail(5)) SWIG_fail
;
19147 if (arg5
== NULL
) {
19148 SWIG_null_ref("wxBitmap");
19150 if (SWIG_arg_fail(5)) SWIG_fail
;
19155 arg6
= (wxItemKind
)(SWIG_As_int(obj5
));
19156 if (SWIG_arg_fail(6)) SWIG_fail
;
19161 arg7
= wxString_in_helper(obj6
);
19162 if (arg7
== NULL
) SWIG_fail
;
19168 arg8
= wxString_in_helper(obj7
);
19169 if (arg8
== NULL
) SWIG_fail
;
19177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19178 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
19180 wxPyEndAllowThreads(__tstate
);
19181 if (PyErr_Occurred()) SWIG_fail
;
19184 resultobj
= wxPyMake_wxObject(result
, 0);
19216 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19217 PyObject
*resultobj
;
19218 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19221 wxString
*arg4
= 0 ;
19222 wxBitmap
*arg5
= 0 ;
19223 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
19224 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
19225 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
19226 wxString
const &arg8_defvalue
= wxPyEmptyString
;
19227 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19228 wxString
const &arg9_defvalue
= wxPyEmptyString
;
19229 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
19230 PyObject
*arg10
= (PyObject
*) NULL
;
19231 wxToolBarToolBase
*result
;
19232 bool temp4
= false ;
19233 bool temp8
= false ;
19234 bool temp9
= false ;
19235 PyObject
* obj0
= 0 ;
19236 PyObject
* obj1
= 0 ;
19237 PyObject
* obj2
= 0 ;
19238 PyObject
* obj3
= 0 ;
19239 PyObject
* obj4
= 0 ;
19240 PyObject
* obj5
= 0 ;
19241 PyObject
* obj6
= 0 ;
19242 PyObject
* obj7
= 0 ;
19243 PyObject
* obj8
= 0 ;
19244 PyObject
* obj9
= 0 ;
19245 char *kwnames
[] = {
19246 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
19250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19251 if (SWIG_arg_fail(1)) SWIG_fail
;
19253 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19254 if (SWIG_arg_fail(2)) SWIG_fail
;
19257 arg3
= (int)(SWIG_As_int(obj2
));
19258 if (SWIG_arg_fail(3)) SWIG_fail
;
19261 arg4
= wxString_in_helper(obj3
);
19262 if (arg4
== NULL
) SWIG_fail
;
19266 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19267 if (SWIG_arg_fail(5)) SWIG_fail
;
19268 if (arg5
== NULL
) {
19269 SWIG_null_ref("wxBitmap");
19271 if (SWIG_arg_fail(5)) SWIG_fail
;
19275 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19276 if (SWIG_arg_fail(6)) SWIG_fail
;
19277 if (arg6
== NULL
) {
19278 SWIG_null_ref("wxBitmap");
19280 if (SWIG_arg_fail(6)) SWIG_fail
;
19285 arg7
= (wxItemKind
)(SWIG_As_int(obj6
));
19286 if (SWIG_arg_fail(7)) SWIG_fail
;
19291 arg8
= wxString_in_helper(obj7
);
19292 if (arg8
== NULL
) SWIG_fail
;
19298 arg9
= wxString_in_helper(obj8
);
19299 if (arg9
== NULL
) SWIG_fail
;
19307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19308 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
);
19310 wxPyEndAllowThreads(__tstate
);
19311 if (PyErr_Occurred()) SWIG_fail
;
19314 resultobj
= wxPyMake_wxObject(result
, 0);
19346 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19347 PyObject
*resultobj
;
19348 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19349 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
19350 wxToolBarToolBase
*result
;
19351 PyObject
* obj0
= 0 ;
19352 PyObject
* obj1
= 0 ;
19353 char *kwnames
[] = {
19354 (char *) "self",(char *) "tool", NULL
19357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
19358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19359 if (SWIG_arg_fail(1)) SWIG_fail
;
19360 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19361 if (SWIG_arg_fail(2)) SWIG_fail
;
19363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19364 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
19366 wxPyEndAllowThreads(__tstate
);
19367 if (PyErr_Occurred()) SWIG_fail
;
19370 resultobj
= wxPyMake_wxObject(result
, 0);
19378 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19379 PyObject
*resultobj
;
19380 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19382 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
19383 wxToolBarToolBase
*result
;
19384 PyObject
* obj0
= 0 ;
19385 PyObject
* obj1
= 0 ;
19386 PyObject
* obj2
= 0 ;
19387 char *kwnames
[] = {
19388 (char *) "self",(char *) "pos",(char *) "tool", NULL
19391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19393 if (SWIG_arg_fail(1)) SWIG_fail
;
19395 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19396 if (SWIG_arg_fail(2)) SWIG_fail
;
19398 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19399 if (SWIG_arg_fail(3)) SWIG_fail
;
19401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19402 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
19404 wxPyEndAllowThreads(__tstate
);
19405 if (PyErr_Occurred()) SWIG_fail
;
19408 resultobj
= wxPyMake_wxObject(result
, 0);
19416 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19417 PyObject
*resultobj
;
19418 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19419 wxControl
*arg2
= (wxControl
*) 0 ;
19420 wxToolBarToolBase
*result
;
19421 PyObject
* obj0
= 0 ;
19422 PyObject
* obj1
= 0 ;
19423 char *kwnames
[] = {
19424 (char *) "self",(char *) "control", NULL
19427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
19428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19429 if (SWIG_arg_fail(1)) SWIG_fail
;
19430 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
19431 if (SWIG_arg_fail(2)) SWIG_fail
;
19433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19434 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
19436 wxPyEndAllowThreads(__tstate
);
19437 if (PyErr_Occurred()) SWIG_fail
;
19440 resultobj
= wxPyMake_wxObject(result
, 0);
19448 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19449 PyObject
*resultobj
;
19450 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19452 wxControl
*arg3
= (wxControl
*) 0 ;
19453 wxToolBarToolBase
*result
;
19454 PyObject
* obj0
= 0 ;
19455 PyObject
* obj1
= 0 ;
19456 PyObject
* obj2
= 0 ;
19457 char *kwnames
[] = {
19458 (char *) "self",(char *) "pos",(char *) "control", NULL
19461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19463 if (SWIG_arg_fail(1)) SWIG_fail
;
19465 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19466 if (SWIG_arg_fail(2)) SWIG_fail
;
19468 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
19469 if (SWIG_arg_fail(3)) SWIG_fail
;
19471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19472 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
19474 wxPyEndAllowThreads(__tstate
);
19475 if (PyErr_Occurred()) SWIG_fail
;
19478 resultobj
= wxPyMake_wxObject(result
, 0);
19486 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19487 PyObject
*resultobj
;
19488 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19491 PyObject
* obj0
= 0 ;
19492 PyObject
* obj1
= 0 ;
19493 char *kwnames
[] = {
19494 (char *) "self",(char *) "id", NULL
19497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
19498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19499 if (SWIG_arg_fail(1)) SWIG_fail
;
19501 arg2
= (int)(SWIG_As_int(obj1
));
19502 if (SWIG_arg_fail(2)) SWIG_fail
;
19505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19506 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
19508 wxPyEndAllowThreads(__tstate
);
19509 if (PyErr_Occurred()) SWIG_fail
;
19512 resultobj
= wxPyMake_wxObject(result
, 0);
19520 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19521 PyObject
*resultobj
;
19522 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19523 wxToolBarToolBase
*result
;
19524 PyObject
* obj0
= 0 ;
19525 char *kwnames
[] = {
19526 (char *) "self", NULL
19529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
19530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19531 if (SWIG_arg_fail(1)) SWIG_fail
;
19533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19534 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
19536 wxPyEndAllowThreads(__tstate
);
19537 if (PyErr_Occurred()) SWIG_fail
;
19540 resultobj
= wxPyMake_wxObject(result
, 0);
19548 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19549 PyObject
*resultobj
;
19550 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19552 wxToolBarToolBase
*result
;
19553 PyObject
* obj0
= 0 ;
19554 PyObject
* obj1
= 0 ;
19555 char *kwnames
[] = {
19556 (char *) "self",(char *) "pos", NULL
19559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
19560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19561 if (SWIG_arg_fail(1)) SWIG_fail
;
19563 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19564 if (SWIG_arg_fail(2)) SWIG_fail
;
19567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19568 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
19570 wxPyEndAllowThreads(__tstate
);
19571 if (PyErr_Occurred()) SWIG_fail
;
19574 resultobj
= wxPyMake_wxObject(result
, 0);
19582 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19583 PyObject
*resultobj
;
19584 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19586 wxToolBarToolBase
*result
;
19587 PyObject
* obj0
= 0 ;
19588 PyObject
* obj1
= 0 ;
19589 char *kwnames
[] = {
19590 (char *) "self",(char *) "id", NULL
19593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
19594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19595 if (SWIG_arg_fail(1)) SWIG_fail
;
19597 arg2
= (int)(SWIG_As_int(obj1
));
19598 if (SWIG_arg_fail(2)) SWIG_fail
;
19601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19602 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
19604 wxPyEndAllowThreads(__tstate
);
19605 if (PyErr_Occurred()) SWIG_fail
;
19608 resultobj
= wxPyMake_wxObject(result
, 0);
19616 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19617 PyObject
*resultobj
;
19618 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19621 PyObject
* obj0
= 0 ;
19622 PyObject
* obj1
= 0 ;
19623 char *kwnames
[] = {
19624 (char *) "self",(char *) "pos", NULL
19627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
19628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19629 if (SWIG_arg_fail(1)) SWIG_fail
;
19631 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19632 if (SWIG_arg_fail(2)) SWIG_fail
;
19635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19636 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
19638 wxPyEndAllowThreads(__tstate
);
19639 if (PyErr_Occurred()) SWIG_fail
;
19642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19650 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19651 PyObject
*resultobj
;
19652 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19655 PyObject
* obj0
= 0 ;
19656 PyObject
* obj1
= 0 ;
19657 char *kwnames
[] = {
19658 (char *) "self",(char *) "id", NULL
19661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
19662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19663 if (SWIG_arg_fail(1)) SWIG_fail
;
19665 arg2
= (int)(SWIG_As_int(obj1
));
19666 if (SWIG_arg_fail(2)) SWIG_fail
;
19669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19670 result
= (bool)(arg1
)->DeleteTool(arg2
);
19672 wxPyEndAllowThreads(__tstate
);
19673 if (PyErr_Occurred()) SWIG_fail
;
19676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19684 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19685 PyObject
*resultobj
;
19686 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19687 PyObject
* obj0
= 0 ;
19688 char *kwnames
[] = {
19689 (char *) "self", NULL
19692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
19693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19694 if (SWIG_arg_fail(1)) SWIG_fail
;
19696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19697 (arg1
)->ClearTools();
19699 wxPyEndAllowThreads(__tstate
);
19700 if (PyErr_Occurred()) SWIG_fail
;
19702 Py_INCREF(Py_None
); resultobj
= Py_None
;
19709 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19710 PyObject
*resultobj
;
19711 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19713 PyObject
* obj0
= 0 ;
19714 char *kwnames
[] = {
19715 (char *) "self", NULL
19718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
19719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19720 if (SWIG_arg_fail(1)) SWIG_fail
;
19722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19723 result
= (bool)(arg1
)->Realize();
19725 wxPyEndAllowThreads(__tstate
);
19726 if (PyErr_Occurred()) SWIG_fail
;
19729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19737 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19738 PyObject
*resultobj
;
19739 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19742 PyObject
* obj0
= 0 ;
19743 PyObject
* obj1
= 0 ;
19744 PyObject
* obj2
= 0 ;
19745 char *kwnames
[] = {
19746 (char *) "self",(char *) "id",(char *) "enable", NULL
19749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19751 if (SWIG_arg_fail(1)) SWIG_fail
;
19753 arg2
= (int)(SWIG_As_int(obj1
));
19754 if (SWIG_arg_fail(2)) SWIG_fail
;
19757 arg3
= (bool)(SWIG_As_bool(obj2
));
19758 if (SWIG_arg_fail(3)) SWIG_fail
;
19761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19762 (arg1
)->EnableTool(arg2
,arg3
);
19764 wxPyEndAllowThreads(__tstate
);
19765 if (PyErr_Occurred()) SWIG_fail
;
19767 Py_INCREF(Py_None
); resultobj
= Py_None
;
19774 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19775 PyObject
*resultobj
;
19776 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19779 PyObject
* obj0
= 0 ;
19780 PyObject
* obj1
= 0 ;
19781 PyObject
* obj2
= 0 ;
19782 char *kwnames
[] = {
19783 (char *) "self",(char *) "id",(char *) "toggle", NULL
19786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19788 if (SWIG_arg_fail(1)) SWIG_fail
;
19790 arg2
= (int)(SWIG_As_int(obj1
));
19791 if (SWIG_arg_fail(2)) SWIG_fail
;
19794 arg3
= (bool)(SWIG_As_bool(obj2
));
19795 if (SWIG_arg_fail(3)) SWIG_fail
;
19798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19799 (arg1
)->ToggleTool(arg2
,arg3
);
19801 wxPyEndAllowThreads(__tstate
);
19802 if (PyErr_Occurred()) SWIG_fail
;
19804 Py_INCREF(Py_None
); resultobj
= Py_None
;
19811 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19812 PyObject
*resultobj
;
19813 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19816 PyObject
* obj0
= 0 ;
19817 PyObject
* obj1
= 0 ;
19818 PyObject
* obj2
= 0 ;
19819 char *kwnames
[] = {
19820 (char *) "self",(char *) "id",(char *) "toggle", NULL
19823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19825 if (SWIG_arg_fail(1)) SWIG_fail
;
19827 arg2
= (int)(SWIG_As_int(obj1
));
19828 if (SWIG_arg_fail(2)) SWIG_fail
;
19831 arg3
= (bool)(SWIG_As_bool(obj2
));
19832 if (SWIG_arg_fail(3)) SWIG_fail
;
19835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19836 (arg1
)->SetToggle(arg2
,arg3
);
19838 wxPyEndAllowThreads(__tstate
);
19839 if (PyErr_Occurred()) SWIG_fail
;
19841 Py_INCREF(Py_None
); resultobj
= Py_None
;
19848 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19849 PyObject
*resultobj
;
19850 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19853 PyObject
* obj0
= 0 ;
19854 PyObject
* obj1
= 0 ;
19855 char *kwnames
[] = {
19856 (char *) "self",(char *) "id", NULL
19859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
19860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19861 if (SWIG_arg_fail(1)) SWIG_fail
;
19863 arg2
= (int)(SWIG_As_int(obj1
));
19864 if (SWIG_arg_fail(2)) SWIG_fail
;
19867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19868 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
19870 wxPyEndAllowThreads(__tstate
);
19871 if (PyErr_Occurred()) SWIG_fail
;
19873 resultobj
= result
;
19880 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19881 PyObject
*resultobj
;
19882 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19884 PyObject
*arg3
= (PyObject
*) 0 ;
19885 PyObject
* obj0
= 0 ;
19886 PyObject
* obj1
= 0 ;
19887 PyObject
* obj2
= 0 ;
19888 char *kwnames
[] = {
19889 (char *) "self",(char *) "id",(char *) "clientData", NULL
19892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19894 if (SWIG_arg_fail(1)) SWIG_fail
;
19896 arg2
= (int)(SWIG_As_int(obj1
));
19897 if (SWIG_arg_fail(2)) SWIG_fail
;
19901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19902 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
19904 wxPyEndAllowThreads(__tstate
);
19905 if (PyErr_Occurred()) SWIG_fail
;
19907 Py_INCREF(Py_None
); resultobj
= Py_None
;
19914 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19915 PyObject
*resultobj
;
19916 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19919 PyObject
* obj0
= 0 ;
19920 PyObject
* obj1
= 0 ;
19921 char *kwnames
[] = {
19922 (char *) "self",(char *) "id", NULL
19925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
19926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19927 if (SWIG_arg_fail(1)) SWIG_fail
;
19929 arg2
= (int)(SWIG_As_int(obj1
));
19930 if (SWIG_arg_fail(2)) SWIG_fail
;
19933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19934 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
19936 wxPyEndAllowThreads(__tstate
);
19937 if (PyErr_Occurred()) SWIG_fail
;
19940 resultobj
= SWIG_From_int((int)(result
));
19948 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19949 PyObject
*resultobj
;
19950 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19953 PyObject
* obj0
= 0 ;
19954 PyObject
* obj1
= 0 ;
19955 char *kwnames
[] = {
19956 (char *) "self",(char *) "id", NULL
19959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
19960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19961 if (SWIG_arg_fail(1)) SWIG_fail
;
19963 arg2
= (int)(SWIG_As_int(obj1
));
19964 if (SWIG_arg_fail(2)) SWIG_fail
;
19967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19968 result
= (bool)(arg1
)->GetToolState(arg2
);
19970 wxPyEndAllowThreads(__tstate
);
19971 if (PyErr_Occurred()) SWIG_fail
;
19974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19982 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19983 PyObject
*resultobj
;
19984 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19987 PyObject
* obj0
= 0 ;
19988 PyObject
* obj1
= 0 ;
19989 char *kwnames
[] = {
19990 (char *) "self",(char *) "id", NULL
19993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
19994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19995 if (SWIG_arg_fail(1)) SWIG_fail
;
19997 arg2
= (int)(SWIG_As_int(obj1
));
19998 if (SWIG_arg_fail(2)) SWIG_fail
;
20001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20002 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
20004 wxPyEndAllowThreads(__tstate
);
20005 if (PyErr_Occurred()) SWIG_fail
;
20008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20016 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20017 PyObject
*resultobj
;
20018 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20020 wxString
*arg3
= 0 ;
20021 bool temp3
= false ;
20022 PyObject
* obj0
= 0 ;
20023 PyObject
* obj1
= 0 ;
20024 PyObject
* obj2
= 0 ;
20025 char *kwnames
[] = {
20026 (char *) "self",(char *) "id",(char *) "helpString", NULL
20029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20031 if (SWIG_arg_fail(1)) SWIG_fail
;
20033 arg2
= (int)(SWIG_As_int(obj1
));
20034 if (SWIG_arg_fail(2)) SWIG_fail
;
20037 arg3
= wxString_in_helper(obj2
);
20038 if (arg3
== NULL
) SWIG_fail
;
20042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20043 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
20045 wxPyEndAllowThreads(__tstate
);
20046 if (PyErr_Occurred()) SWIG_fail
;
20048 Py_INCREF(Py_None
); resultobj
= Py_None
;
20063 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20064 PyObject
*resultobj
;
20065 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20068 PyObject
* obj0
= 0 ;
20069 PyObject
* obj1
= 0 ;
20070 char *kwnames
[] = {
20071 (char *) "self",(char *) "id", NULL
20074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20076 if (SWIG_arg_fail(1)) SWIG_fail
;
20078 arg2
= (int)(SWIG_As_int(obj1
));
20079 if (SWIG_arg_fail(2)) SWIG_fail
;
20082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20083 result
= (arg1
)->GetToolShortHelp(arg2
);
20085 wxPyEndAllowThreads(__tstate
);
20086 if (PyErr_Occurred()) SWIG_fail
;
20090 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20092 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20101 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20102 PyObject
*resultobj
;
20103 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20105 wxString
*arg3
= 0 ;
20106 bool temp3
= false ;
20107 PyObject
* obj0
= 0 ;
20108 PyObject
* obj1
= 0 ;
20109 PyObject
* obj2
= 0 ;
20110 char *kwnames
[] = {
20111 (char *) "self",(char *) "id",(char *) "helpString", NULL
20114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20116 if (SWIG_arg_fail(1)) SWIG_fail
;
20118 arg2
= (int)(SWIG_As_int(obj1
));
20119 if (SWIG_arg_fail(2)) SWIG_fail
;
20122 arg3
= wxString_in_helper(obj2
);
20123 if (arg3
== NULL
) SWIG_fail
;
20127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20128 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
20130 wxPyEndAllowThreads(__tstate
);
20131 if (PyErr_Occurred()) SWIG_fail
;
20133 Py_INCREF(Py_None
); resultobj
= Py_None
;
20148 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20149 PyObject
*resultobj
;
20150 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20153 PyObject
* obj0
= 0 ;
20154 PyObject
* obj1
= 0 ;
20155 char *kwnames
[] = {
20156 (char *) "self",(char *) "id", NULL
20159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20161 if (SWIG_arg_fail(1)) SWIG_fail
;
20163 arg2
= (int)(SWIG_As_int(obj1
));
20164 if (SWIG_arg_fail(2)) SWIG_fail
;
20167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20168 result
= (arg1
)->GetToolLongHelp(arg2
);
20170 wxPyEndAllowThreads(__tstate
);
20171 if (PyErr_Occurred()) SWIG_fail
;
20175 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20177 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20186 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20187 PyObject
*resultobj
;
20188 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20191 PyObject
* obj0
= 0 ;
20192 PyObject
* obj1
= 0 ;
20193 PyObject
* obj2
= 0 ;
20194 char *kwnames
[] = {
20195 (char *) "self",(char *) "x",(char *) "y", NULL
20198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20200 if (SWIG_arg_fail(1)) SWIG_fail
;
20202 arg2
= (int)(SWIG_As_int(obj1
));
20203 if (SWIG_arg_fail(2)) SWIG_fail
;
20206 arg3
= (int)(SWIG_As_int(obj2
));
20207 if (SWIG_arg_fail(3)) SWIG_fail
;
20210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20211 (arg1
)->SetMargins(arg2
,arg3
);
20213 wxPyEndAllowThreads(__tstate
);
20214 if (PyErr_Occurred()) SWIG_fail
;
20216 Py_INCREF(Py_None
); resultobj
= Py_None
;
20223 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20224 PyObject
*resultobj
;
20225 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20228 PyObject
* obj0
= 0 ;
20229 PyObject
* obj1
= 0 ;
20230 char *kwnames
[] = {
20231 (char *) "self",(char *) "size", NULL
20234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
20235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20236 if (SWIG_arg_fail(1)) SWIG_fail
;
20239 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20243 (arg1
)->SetMargins((wxSize
const &)*arg2
);
20245 wxPyEndAllowThreads(__tstate
);
20246 if (PyErr_Occurred()) SWIG_fail
;
20248 Py_INCREF(Py_None
); resultobj
= Py_None
;
20255 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20256 PyObject
*resultobj
;
20257 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20259 PyObject
* obj0
= 0 ;
20260 PyObject
* obj1
= 0 ;
20261 char *kwnames
[] = {
20262 (char *) "self",(char *) "packing", NULL
20265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
20266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20267 if (SWIG_arg_fail(1)) SWIG_fail
;
20269 arg2
= (int)(SWIG_As_int(obj1
));
20270 if (SWIG_arg_fail(2)) SWIG_fail
;
20273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20274 (arg1
)->SetToolPacking(arg2
);
20276 wxPyEndAllowThreads(__tstate
);
20277 if (PyErr_Occurred()) SWIG_fail
;
20279 Py_INCREF(Py_None
); resultobj
= Py_None
;
20286 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20287 PyObject
*resultobj
;
20288 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20290 PyObject
* obj0
= 0 ;
20291 PyObject
* obj1
= 0 ;
20292 char *kwnames
[] = {
20293 (char *) "self",(char *) "separation", NULL
20296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
20297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20298 if (SWIG_arg_fail(1)) SWIG_fail
;
20300 arg2
= (int)(SWIG_As_int(obj1
));
20301 if (SWIG_arg_fail(2)) SWIG_fail
;
20304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20305 (arg1
)->SetToolSeparation(arg2
);
20307 wxPyEndAllowThreads(__tstate
);
20308 if (PyErr_Occurred()) SWIG_fail
;
20310 Py_INCREF(Py_None
); resultobj
= Py_None
;
20317 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20318 PyObject
*resultobj
;
20319 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20321 PyObject
* obj0
= 0 ;
20322 char *kwnames
[] = {
20323 (char *) "self", NULL
20326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
20327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20328 if (SWIG_arg_fail(1)) SWIG_fail
;
20330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20331 result
= (arg1
)->GetToolMargins();
20333 wxPyEndAllowThreads(__tstate
);
20334 if (PyErr_Occurred()) SWIG_fail
;
20337 wxSize
* resultptr
;
20338 resultptr
= new wxSize((wxSize
&)(result
));
20339 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20347 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20348 PyObject
*resultobj
;
20349 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20351 PyObject
* obj0
= 0 ;
20352 char *kwnames
[] = {
20353 (char *) "self", NULL
20356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
20357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20358 if (SWIG_arg_fail(1)) SWIG_fail
;
20360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20361 result
= (arg1
)->GetMargins();
20363 wxPyEndAllowThreads(__tstate
);
20364 if (PyErr_Occurred()) SWIG_fail
;
20367 wxSize
* resultptr
;
20368 resultptr
= new wxSize((wxSize
&)(result
));
20369 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20377 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20378 PyObject
*resultobj
;
20379 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20381 PyObject
* obj0
= 0 ;
20382 char *kwnames
[] = {
20383 (char *) "self", NULL
20386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
20387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20388 if (SWIG_arg_fail(1)) SWIG_fail
;
20390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20391 result
= (int)(arg1
)->GetToolPacking();
20393 wxPyEndAllowThreads(__tstate
);
20394 if (PyErr_Occurred()) SWIG_fail
;
20397 resultobj
= SWIG_From_int((int)(result
));
20405 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20406 PyObject
*resultobj
;
20407 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20409 PyObject
* obj0
= 0 ;
20410 char *kwnames
[] = {
20411 (char *) "self", NULL
20414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
20415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20416 if (SWIG_arg_fail(1)) SWIG_fail
;
20418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20419 result
= (int)(arg1
)->GetToolSeparation();
20421 wxPyEndAllowThreads(__tstate
);
20422 if (PyErr_Occurred()) SWIG_fail
;
20425 resultobj
= SWIG_From_int((int)(result
));
20433 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20434 PyObject
*resultobj
;
20435 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20437 PyObject
* obj0
= 0 ;
20438 PyObject
* obj1
= 0 ;
20439 char *kwnames
[] = {
20440 (char *) "self",(char *) "nRows", NULL
20443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
20444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20445 if (SWIG_arg_fail(1)) SWIG_fail
;
20447 arg2
= (int)(SWIG_As_int(obj1
));
20448 if (SWIG_arg_fail(2)) SWIG_fail
;
20451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20452 (arg1
)->SetRows(arg2
);
20454 wxPyEndAllowThreads(__tstate
);
20455 if (PyErr_Occurred()) SWIG_fail
;
20457 Py_INCREF(Py_None
); resultobj
= Py_None
;
20464 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20465 PyObject
*resultobj
;
20466 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20469 PyObject
* obj0
= 0 ;
20470 PyObject
* obj1
= 0 ;
20471 PyObject
* obj2
= 0 ;
20472 char *kwnames
[] = {
20473 (char *) "self",(char *) "rows",(char *) "cols", NULL
20476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20478 if (SWIG_arg_fail(1)) SWIG_fail
;
20480 arg2
= (int)(SWIG_As_int(obj1
));
20481 if (SWIG_arg_fail(2)) SWIG_fail
;
20484 arg3
= (int)(SWIG_As_int(obj2
));
20485 if (SWIG_arg_fail(3)) SWIG_fail
;
20488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20489 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
20491 wxPyEndAllowThreads(__tstate
);
20492 if (PyErr_Occurred()) SWIG_fail
;
20494 Py_INCREF(Py_None
); resultobj
= Py_None
;
20501 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20502 PyObject
*resultobj
;
20503 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20505 PyObject
* obj0
= 0 ;
20506 char *kwnames
[] = {
20507 (char *) "self", NULL
20510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
20511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20512 if (SWIG_arg_fail(1)) SWIG_fail
;
20514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20515 result
= (int)(arg1
)->GetMaxRows();
20517 wxPyEndAllowThreads(__tstate
);
20518 if (PyErr_Occurred()) SWIG_fail
;
20521 resultobj
= SWIG_From_int((int)(result
));
20529 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20530 PyObject
*resultobj
;
20531 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20533 PyObject
* obj0
= 0 ;
20534 char *kwnames
[] = {
20535 (char *) "self", NULL
20538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
20539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20540 if (SWIG_arg_fail(1)) SWIG_fail
;
20542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20543 result
= (int)(arg1
)->GetMaxCols();
20545 wxPyEndAllowThreads(__tstate
);
20546 if (PyErr_Occurred()) SWIG_fail
;
20549 resultobj
= SWIG_From_int((int)(result
));
20557 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20558 PyObject
*resultobj
;
20559 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20562 PyObject
* obj0
= 0 ;
20563 PyObject
* obj1
= 0 ;
20564 char *kwnames
[] = {
20565 (char *) "self",(char *) "size", NULL
20568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20570 if (SWIG_arg_fail(1)) SWIG_fail
;
20573 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20577 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
20579 wxPyEndAllowThreads(__tstate
);
20580 if (PyErr_Occurred()) SWIG_fail
;
20582 Py_INCREF(Py_None
); resultobj
= Py_None
;
20589 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20590 PyObject
*resultobj
;
20591 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20593 PyObject
* obj0
= 0 ;
20594 char *kwnames
[] = {
20595 (char *) "self", NULL
20598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
20599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20600 if (SWIG_arg_fail(1)) SWIG_fail
;
20602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20603 result
= (arg1
)->GetToolBitmapSize();
20605 wxPyEndAllowThreads(__tstate
);
20606 if (PyErr_Occurred()) SWIG_fail
;
20609 wxSize
* resultptr
;
20610 resultptr
= new wxSize((wxSize
&)(result
));
20611 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20619 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20620 PyObject
*resultobj
;
20621 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20623 PyObject
* obj0
= 0 ;
20624 char *kwnames
[] = {
20625 (char *) "self", NULL
20628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
20629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20630 if (SWIG_arg_fail(1)) SWIG_fail
;
20632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20633 result
= (arg1
)->GetToolSize();
20635 wxPyEndAllowThreads(__tstate
);
20636 if (PyErr_Occurred()) SWIG_fail
;
20639 wxSize
* resultptr
;
20640 resultptr
= new wxSize((wxSize
&)(result
));
20641 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20649 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20650 PyObject
*resultobj
;
20651 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20654 wxToolBarToolBase
*result
;
20655 PyObject
* obj0
= 0 ;
20656 PyObject
* obj1
= 0 ;
20657 PyObject
* obj2
= 0 ;
20658 char *kwnames
[] = {
20659 (char *) "self",(char *) "x",(char *) "y", NULL
20662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20664 if (SWIG_arg_fail(1)) SWIG_fail
;
20666 arg2
= (int)(SWIG_As_int(obj1
));
20667 if (SWIG_arg_fail(2)) SWIG_fail
;
20670 arg3
= (int)(SWIG_As_int(obj2
));
20671 if (SWIG_arg_fail(3)) SWIG_fail
;
20674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20675 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
20677 wxPyEndAllowThreads(__tstate
);
20678 if (PyErr_Occurred()) SWIG_fail
;
20681 resultobj
= wxPyMake_wxObject(result
, 0);
20689 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20690 PyObject
*resultobj
;
20691 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20693 wxToolBarToolBase
*result
;
20694 PyObject
* obj0
= 0 ;
20695 PyObject
* obj1
= 0 ;
20696 char *kwnames
[] = {
20697 (char *) "self",(char *) "toolid", NULL
20700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
20701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20702 if (SWIG_arg_fail(1)) SWIG_fail
;
20704 arg2
= (int)(SWIG_As_int(obj1
));
20705 if (SWIG_arg_fail(2)) SWIG_fail
;
20708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20709 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
20711 wxPyEndAllowThreads(__tstate
);
20712 if (PyErr_Occurred()) SWIG_fail
;
20715 resultobj
= wxPyMake_wxObject(result
, 0);
20723 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20724 PyObject
*resultobj
;
20725 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20727 PyObject
* obj0
= 0 ;
20728 char *kwnames
[] = {
20729 (char *) "self", NULL
20732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
20733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20734 if (SWIG_arg_fail(1)) SWIG_fail
;
20736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20737 result
= (bool)(arg1
)->IsVertical();
20739 wxPyEndAllowThreads(__tstate
);
20740 if (PyErr_Occurred()) SWIG_fail
;
20743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20751 static PyObject
* ToolBarBase_swigregister(PyObject
*, PyObject
*args
) {
20753 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20754 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
20756 return Py_BuildValue((char *)"");
20758 static PyObject
*_wrap_new_ToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20759 PyObject
*resultobj
;
20760 wxWindow
*arg1
= (wxWindow
*) 0 ;
20761 int arg2
= (int) -1 ;
20762 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20763 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20764 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20765 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20766 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
20767 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
20768 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20772 bool temp6
= false ;
20773 PyObject
* obj0
= 0 ;
20774 PyObject
* obj1
= 0 ;
20775 PyObject
* obj2
= 0 ;
20776 PyObject
* obj3
= 0 ;
20777 PyObject
* obj4
= 0 ;
20778 PyObject
* obj5
= 0 ;
20779 char *kwnames
[] = {
20780 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20785 if (SWIG_arg_fail(1)) SWIG_fail
;
20788 arg2
= (int)(SWIG_As_int(obj1
));
20789 if (SWIG_arg_fail(2)) SWIG_fail
;
20795 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20801 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20806 arg5
= (long)(SWIG_As_long(obj4
));
20807 if (SWIG_arg_fail(5)) SWIG_fail
;
20812 arg6
= wxString_in_helper(obj5
);
20813 if (arg6
== NULL
) SWIG_fail
;
20818 if (!wxPyCheckForApp()) SWIG_fail
;
20819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20820 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20822 wxPyEndAllowThreads(__tstate
);
20823 if (PyErr_Occurred()) SWIG_fail
;
20825 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
20840 static PyObject
*_wrap_new_PreToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20841 PyObject
*resultobj
;
20843 char *kwnames
[] = {
20847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
20849 if (!wxPyCheckForApp()) SWIG_fail
;
20850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20851 result
= (wxToolBar
*)new wxToolBar();
20853 wxPyEndAllowThreads(__tstate
);
20854 if (PyErr_Occurred()) SWIG_fail
;
20856 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
20863 static PyObject
*_wrap_ToolBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20864 PyObject
*resultobj
;
20865 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
20866 wxWindow
*arg2
= (wxWindow
*) 0 ;
20867 int arg3
= (int) -1 ;
20868 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20869 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20870 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20871 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20872 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
20873 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
20874 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20878 bool temp7
= false ;
20879 PyObject
* obj0
= 0 ;
20880 PyObject
* obj1
= 0 ;
20881 PyObject
* obj2
= 0 ;
20882 PyObject
* obj3
= 0 ;
20883 PyObject
* obj4
= 0 ;
20884 PyObject
* obj5
= 0 ;
20885 PyObject
* obj6
= 0 ;
20886 char *kwnames
[] = {
20887 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
20891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
20892 if (SWIG_arg_fail(1)) SWIG_fail
;
20893 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20894 if (SWIG_arg_fail(2)) SWIG_fail
;
20897 arg3
= (int)(SWIG_As_int(obj2
));
20898 if (SWIG_arg_fail(3)) SWIG_fail
;
20904 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20910 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20915 arg6
= (long)(SWIG_As_long(obj5
));
20916 if (SWIG_arg_fail(6)) SWIG_fail
;
20921 arg7
= wxString_in_helper(obj6
);
20922 if (arg7
== NULL
) SWIG_fail
;
20927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20928 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20930 wxPyEndAllowThreads(__tstate
);
20931 if (PyErr_Occurred()) SWIG_fail
;
20934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20950 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20951 PyObject
*resultobj
;
20952 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
20955 wxToolBarToolBase
*result
;
20956 PyObject
* obj0
= 0 ;
20957 PyObject
* obj1
= 0 ;
20958 PyObject
* obj2
= 0 ;
20959 char *kwnames
[] = {
20960 (char *) "self",(char *) "x",(char *) "y", NULL
20963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
20965 if (SWIG_arg_fail(1)) SWIG_fail
;
20967 arg2
= (int)(SWIG_As_int(obj1
));
20968 if (SWIG_arg_fail(2)) SWIG_fail
;
20971 arg3
= (int)(SWIG_As_int(obj2
));
20972 if (SWIG_arg_fail(3)) SWIG_fail
;
20975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20976 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
20978 wxPyEndAllowThreads(__tstate
);
20979 if (PyErr_Occurred()) SWIG_fail
;
20982 resultobj
= wxPyMake_wxObject(result
, 0);
20990 static PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20991 PyObject
*resultobj
;
20992 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20993 wxVisualAttributes result
;
20994 PyObject
* obj0
= 0 ;
20995 char *kwnames
[] = {
20996 (char *) "variant", NULL
20999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
21002 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
21003 if (SWIG_arg_fail(1)) SWIG_fail
;
21007 if (!wxPyCheckForApp()) SWIG_fail
;
21008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21009 result
= wxToolBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
21011 wxPyEndAllowThreads(__tstate
);
21012 if (PyErr_Occurred()) SWIG_fail
;
21015 wxVisualAttributes
* resultptr
;
21016 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
21017 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
21025 static PyObject
* ToolBar_swigregister(PyObject
*, PyObject
*args
) {
21027 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21028 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
21030 return Py_BuildValue((char *)"");
21032 static int _wrap_ListCtrlNameStr_set(PyObject
*) {
21033 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
21038 static PyObject
*_wrap_ListCtrlNameStr_get(void) {
21043 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
21045 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
21052 static PyObject
*_wrap_new_ListItemAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21053 PyObject
*resultobj
;
21054 wxColour
const &arg1_defvalue
= wxNullColour
;
21055 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
21056 wxColour
const &arg2_defvalue
= wxNullColour
;
21057 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
21058 wxFont
const &arg3_defvalue
= wxNullFont
;
21059 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
21060 wxListItemAttr
*result
;
21063 PyObject
* obj0
= 0 ;
21064 PyObject
* obj1
= 0 ;
21065 PyObject
* obj2
= 0 ;
21066 char *kwnames
[] = {
21067 (char *) "colText",(char *) "colBack",(char *) "font", NULL
21070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21074 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
21080 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21085 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
21086 if (SWIG_arg_fail(3)) SWIG_fail
;
21087 if (arg3
== NULL
) {
21088 SWIG_null_ref("wxFont");
21090 if (SWIG_arg_fail(3)) SWIG_fail
;
21094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21095 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
21097 wxPyEndAllowThreads(__tstate
);
21098 if (PyErr_Occurred()) SWIG_fail
;
21100 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
21107 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21108 PyObject
*resultobj
;
21109 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21110 wxColour
*arg2
= 0 ;
21112 PyObject
* obj0
= 0 ;
21113 PyObject
* obj1
= 0 ;
21114 char *kwnames
[] = {
21115 (char *) "self",(char *) "colText", NULL
21118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21120 if (SWIG_arg_fail(1)) SWIG_fail
;
21123 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21127 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
21129 wxPyEndAllowThreads(__tstate
);
21130 if (PyErr_Occurred()) SWIG_fail
;
21132 Py_INCREF(Py_None
); resultobj
= Py_None
;
21139 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21140 PyObject
*resultobj
;
21141 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21142 wxColour
*arg2
= 0 ;
21144 PyObject
* obj0
= 0 ;
21145 PyObject
* obj1
= 0 ;
21146 char *kwnames
[] = {
21147 (char *) "self",(char *) "colBack", NULL
21150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21152 if (SWIG_arg_fail(1)) SWIG_fail
;
21155 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21159 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
21161 wxPyEndAllowThreads(__tstate
);
21162 if (PyErr_Occurred()) SWIG_fail
;
21164 Py_INCREF(Py_None
); resultobj
= Py_None
;
21171 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21172 PyObject
*resultobj
;
21173 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21175 PyObject
* obj0
= 0 ;
21176 PyObject
* obj1
= 0 ;
21177 char *kwnames
[] = {
21178 (char *) "self",(char *) "font", NULL
21181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
21182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21183 if (SWIG_arg_fail(1)) SWIG_fail
;
21185 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
21186 if (SWIG_arg_fail(2)) SWIG_fail
;
21187 if (arg2
== NULL
) {
21188 SWIG_null_ref("wxFont");
21190 if (SWIG_arg_fail(2)) SWIG_fail
;
21193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21194 (arg1
)->SetFont((wxFont
const &)*arg2
);
21196 wxPyEndAllowThreads(__tstate
);
21197 if (PyErr_Occurred()) SWIG_fail
;
21199 Py_INCREF(Py_None
); resultobj
= Py_None
;
21206 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21207 PyObject
*resultobj
;
21208 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21210 PyObject
* obj0
= 0 ;
21211 char *kwnames
[] = {
21212 (char *) "self", NULL
21215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
21216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21217 if (SWIG_arg_fail(1)) SWIG_fail
;
21219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21220 result
= (bool)(arg1
)->HasTextColour();
21222 wxPyEndAllowThreads(__tstate
);
21223 if (PyErr_Occurred()) SWIG_fail
;
21226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21234 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21235 PyObject
*resultobj
;
21236 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21238 PyObject
* obj0
= 0 ;
21239 char *kwnames
[] = {
21240 (char *) "self", NULL
21243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
21244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21245 if (SWIG_arg_fail(1)) SWIG_fail
;
21247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21248 result
= (bool)(arg1
)->HasBackgroundColour();
21250 wxPyEndAllowThreads(__tstate
);
21251 if (PyErr_Occurred()) SWIG_fail
;
21254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21262 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21263 PyObject
*resultobj
;
21264 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21266 PyObject
* obj0
= 0 ;
21267 char *kwnames
[] = {
21268 (char *) "self", NULL
21271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
21272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21273 if (SWIG_arg_fail(1)) SWIG_fail
;
21275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21276 result
= (bool)(arg1
)->HasFont();
21278 wxPyEndAllowThreads(__tstate
);
21279 if (PyErr_Occurred()) SWIG_fail
;
21282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21290 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21291 PyObject
*resultobj
;
21292 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21294 PyObject
* obj0
= 0 ;
21295 char *kwnames
[] = {
21296 (char *) "self", NULL
21299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
21300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21301 if (SWIG_arg_fail(1)) SWIG_fail
;
21303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21304 result
= (arg1
)->GetTextColour();
21306 wxPyEndAllowThreads(__tstate
);
21307 if (PyErr_Occurred()) SWIG_fail
;
21310 wxColour
* resultptr
;
21311 resultptr
= new wxColour((wxColour
&)(result
));
21312 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21320 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21321 PyObject
*resultobj
;
21322 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21324 PyObject
* obj0
= 0 ;
21325 char *kwnames
[] = {
21326 (char *) "self", NULL
21329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
21330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21331 if (SWIG_arg_fail(1)) SWIG_fail
;
21333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21334 result
= (arg1
)->GetBackgroundColour();
21336 wxPyEndAllowThreads(__tstate
);
21337 if (PyErr_Occurred()) SWIG_fail
;
21340 wxColour
* resultptr
;
21341 resultptr
= new wxColour((wxColour
&)(result
));
21342 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21350 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21351 PyObject
*resultobj
;
21352 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21354 PyObject
* obj0
= 0 ;
21355 char *kwnames
[] = {
21356 (char *) "self", NULL
21359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
21360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21361 if (SWIG_arg_fail(1)) SWIG_fail
;
21363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21364 result
= (arg1
)->GetFont();
21366 wxPyEndAllowThreads(__tstate
);
21367 if (PyErr_Occurred()) SWIG_fail
;
21370 wxFont
* resultptr
;
21371 resultptr
= new wxFont((wxFont
&)(result
));
21372 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
21380 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21381 PyObject
*resultobj
;
21382 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21383 PyObject
* obj0
= 0 ;
21384 char *kwnames
[] = {
21385 (char *) "self", NULL
21388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
21389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21390 if (SWIG_arg_fail(1)) SWIG_fail
;
21392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21393 wxListItemAttr_Destroy(arg1
);
21395 wxPyEndAllowThreads(__tstate
);
21396 if (PyErr_Occurred()) SWIG_fail
;
21398 Py_INCREF(Py_None
); resultobj
= Py_None
;
21405 static PyObject
* ListItemAttr_swigregister(PyObject
*, PyObject
*args
) {
21407 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21408 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
21410 return Py_BuildValue((char *)"");
21412 static PyObject
*_wrap_new_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21413 PyObject
*resultobj
;
21414 wxListItem
*result
;
21415 char *kwnames
[] = {
21419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
21421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21422 result
= (wxListItem
*)new wxListItem();
21424 wxPyEndAllowThreads(__tstate
);
21425 if (PyErr_Occurred()) SWIG_fail
;
21428 resultobj
= wxPyMake_wxObject(result
, 1);
21436 static PyObject
*_wrap_delete_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21437 PyObject
*resultobj
;
21438 wxListItem
*arg1
= (wxListItem
*) 0 ;
21439 PyObject
* obj0
= 0 ;
21440 char *kwnames
[] = {
21441 (char *) "self", NULL
21444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
21445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21446 if (SWIG_arg_fail(1)) SWIG_fail
;
21448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21451 wxPyEndAllowThreads(__tstate
);
21452 if (PyErr_Occurred()) SWIG_fail
;
21454 Py_INCREF(Py_None
); resultobj
= Py_None
;
21461 static PyObject
*_wrap_ListItem_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21462 PyObject
*resultobj
;
21463 wxListItem
*arg1
= (wxListItem
*) 0 ;
21464 PyObject
* obj0
= 0 ;
21465 char *kwnames
[] = {
21466 (char *) "self", NULL
21469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
21470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21471 if (SWIG_arg_fail(1)) SWIG_fail
;
21473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21476 wxPyEndAllowThreads(__tstate
);
21477 if (PyErr_Occurred()) SWIG_fail
;
21479 Py_INCREF(Py_None
); resultobj
= Py_None
;
21486 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21487 PyObject
*resultobj
;
21488 wxListItem
*arg1
= (wxListItem
*) 0 ;
21489 PyObject
* obj0
= 0 ;
21490 char *kwnames
[] = {
21491 (char *) "self", NULL
21494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
21495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21496 if (SWIG_arg_fail(1)) SWIG_fail
;
21498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21499 (arg1
)->ClearAttributes();
21501 wxPyEndAllowThreads(__tstate
);
21502 if (PyErr_Occurred()) SWIG_fail
;
21504 Py_INCREF(Py_None
); resultobj
= Py_None
;
21511 static PyObject
*_wrap_ListItem_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21512 PyObject
*resultobj
;
21513 wxListItem
*arg1
= (wxListItem
*) 0 ;
21515 PyObject
* obj0
= 0 ;
21516 PyObject
* obj1
= 0 ;
21517 char *kwnames
[] = {
21518 (char *) "self",(char *) "mask", NULL
21521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
21522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21523 if (SWIG_arg_fail(1)) SWIG_fail
;
21525 arg2
= (long)(SWIG_As_long(obj1
));
21526 if (SWIG_arg_fail(2)) SWIG_fail
;
21529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21530 (arg1
)->SetMask(arg2
);
21532 wxPyEndAllowThreads(__tstate
);
21533 if (PyErr_Occurred()) SWIG_fail
;
21535 Py_INCREF(Py_None
); resultobj
= Py_None
;
21542 static PyObject
*_wrap_ListItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21543 PyObject
*resultobj
;
21544 wxListItem
*arg1
= (wxListItem
*) 0 ;
21546 PyObject
* obj0
= 0 ;
21547 PyObject
* obj1
= 0 ;
21548 char *kwnames
[] = {
21549 (char *) "self",(char *) "id", NULL
21552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
21553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21554 if (SWIG_arg_fail(1)) SWIG_fail
;
21556 arg2
= (long)(SWIG_As_long(obj1
));
21557 if (SWIG_arg_fail(2)) SWIG_fail
;
21560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21561 (arg1
)->SetId(arg2
);
21563 wxPyEndAllowThreads(__tstate
);
21564 if (PyErr_Occurred()) SWIG_fail
;
21566 Py_INCREF(Py_None
); resultobj
= Py_None
;
21573 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21574 PyObject
*resultobj
;
21575 wxListItem
*arg1
= (wxListItem
*) 0 ;
21577 PyObject
* obj0
= 0 ;
21578 PyObject
* obj1
= 0 ;
21579 char *kwnames
[] = {
21580 (char *) "self",(char *) "col", NULL
21583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21585 if (SWIG_arg_fail(1)) SWIG_fail
;
21587 arg2
= (int)(SWIG_As_int(obj1
));
21588 if (SWIG_arg_fail(2)) SWIG_fail
;
21591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21592 (arg1
)->SetColumn(arg2
);
21594 wxPyEndAllowThreads(__tstate
);
21595 if (PyErr_Occurred()) SWIG_fail
;
21597 Py_INCREF(Py_None
); resultobj
= Py_None
;
21604 static PyObject
*_wrap_ListItem_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21605 PyObject
*resultobj
;
21606 wxListItem
*arg1
= (wxListItem
*) 0 ;
21608 PyObject
* obj0
= 0 ;
21609 PyObject
* obj1
= 0 ;
21610 char *kwnames
[] = {
21611 (char *) "self",(char *) "state", NULL
21614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
21615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21616 if (SWIG_arg_fail(1)) SWIG_fail
;
21618 arg2
= (long)(SWIG_As_long(obj1
));
21619 if (SWIG_arg_fail(2)) SWIG_fail
;
21622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21623 (arg1
)->SetState(arg2
);
21625 wxPyEndAllowThreads(__tstate
);
21626 if (PyErr_Occurred()) SWIG_fail
;
21628 Py_INCREF(Py_None
); resultobj
= Py_None
;
21635 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21636 PyObject
*resultobj
;
21637 wxListItem
*arg1
= (wxListItem
*) 0 ;
21639 PyObject
* obj0
= 0 ;
21640 PyObject
* obj1
= 0 ;
21641 char *kwnames
[] = {
21642 (char *) "self",(char *) "stateMask", NULL
21645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
21646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21647 if (SWIG_arg_fail(1)) SWIG_fail
;
21649 arg2
= (long)(SWIG_As_long(obj1
));
21650 if (SWIG_arg_fail(2)) SWIG_fail
;
21653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21654 (arg1
)->SetStateMask(arg2
);
21656 wxPyEndAllowThreads(__tstate
);
21657 if (PyErr_Occurred()) SWIG_fail
;
21659 Py_INCREF(Py_None
); resultobj
= Py_None
;
21666 static PyObject
*_wrap_ListItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21667 PyObject
*resultobj
;
21668 wxListItem
*arg1
= (wxListItem
*) 0 ;
21669 wxString
*arg2
= 0 ;
21670 bool temp2
= false ;
21671 PyObject
* obj0
= 0 ;
21672 PyObject
* obj1
= 0 ;
21673 char *kwnames
[] = {
21674 (char *) "self",(char *) "text", NULL
21677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
21678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21679 if (SWIG_arg_fail(1)) SWIG_fail
;
21681 arg2
= wxString_in_helper(obj1
);
21682 if (arg2
== NULL
) SWIG_fail
;
21686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21687 (arg1
)->SetText((wxString
const &)*arg2
);
21689 wxPyEndAllowThreads(__tstate
);
21690 if (PyErr_Occurred()) SWIG_fail
;
21692 Py_INCREF(Py_None
); resultobj
= Py_None
;
21707 static PyObject
*_wrap_ListItem_SetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21708 PyObject
*resultobj
;
21709 wxListItem
*arg1
= (wxListItem
*) 0 ;
21711 PyObject
* obj0
= 0 ;
21712 PyObject
* obj1
= 0 ;
21713 char *kwnames
[] = {
21714 (char *) "self",(char *) "image", NULL
21717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
21718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21719 if (SWIG_arg_fail(1)) SWIG_fail
;
21721 arg2
= (int)(SWIG_As_int(obj1
));
21722 if (SWIG_arg_fail(2)) SWIG_fail
;
21725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21726 (arg1
)->SetImage(arg2
);
21728 wxPyEndAllowThreads(__tstate
);
21729 if (PyErr_Occurred()) SWIG_fail
;
21731 Py_INCREF(Py_None
); resultobj
= Py_None
;
21738 static PyObject
*_wrap_ListItem_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21739 PyObject
*resultobj
;
21740 wxListItem
*arg1
= (wxListItem
*) 0 ;
21742 PyObject
* obj0
= 0 ;
21743 PyObject
* obj1
= 0 ;
21744 char *kwnames
[] = {
21745 (char *) "self",(char *) "data", NULL
21748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
21749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21750 if (SWIG_arg_fail(1)) SWIG_fail
;
21752 arg2
= (long)(SWIG_As_long(obj1
));
21753 if (SWIG_arg_fail(2)) SWIG_fail
;
21756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21757 (arg1
)->SetData(arg2
);
21759 wxPyEndAllowThreads(__tstate
);
21760 if (PyErr_Occurred()) SWIG_fail
;
21762 Py_INCREF(Py_None
); resultobj
= Py_None
;
21769 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21770 PyObject
*resultobj
;
21771 wxListItem
*arg1
= (wxListItem
*) 0 ;
21773 PyObject
* obj0
= 0 ;
21774 PyObject
* obj1
= 0 ;
21775 char *kwnames
[] = {
21776 (char *) "self",(char *) "width", NULL
21779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
21780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21781 if (SWIG_arg_fail(1)) SWIG_fail
;
21783 arg2
= (int)(SWIG_As_int(obj1
));
21784 if (SWIG_arg_fail(2)) SWIG_fail
;
21787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21788 (arg1
)->SetWidth(arg2
);
21790 wxPyEndAllowThreads(__tstate
);
21791 if (PyErr_Occurred()) SWIG_fail
;
21793 Py_INCREF(Py_None
); resultobj
= Py_None
;
21800 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21801 PyObject
*resultobj
;
21802 wxListItem
*arg1
= (wxListItem
*) 0 ;
21803 wxListColumnFormat arg2
;
21804 PyObject
* obj0
= 0 ;
21805 PyObject
* obj1
= 0 ;
21806 char *kwnames
[] = {
21807 (char *) "self",(char *) "align", NULL
21810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
21811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21812 if (SWIG_arg_fail(1)) SWIG_fail
;
21814 arg2
= (wxListColumnFormat
)(SWIG_As_int(obj1
));
21815 if (SWIG_arg_fail(2)) SWIG_fail
;
21818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21819 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
21821 wxPyEndAllowThreads(__tstate
);
21822 if (PyErr_Occurred()) SWIG_fail
;
21824 Py_INCREF(Py_None
); resultobj
= Py_None
;
21831 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21832 PyObject
*resultobj
;
21833 wxListItem
*arg1
= (wxListItem
*) 0 ;
21834 wxColour
*arg2
= 0 ;
21836 PyObject
* obj0
= 0 ;
21837 PyObject
* obj1
= 0 ;
21838 char *kwnames
[] = {
21839 (char *) "self",(char *) "colText", NULL
21842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21844 if (SWIG_arg_fail(1)) SWIG_fail
;
21847 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21851 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
21853 wxPyEndAllowThreads(__tstate
);
21854 if (PyErr_Occurred()) SWIG_fail
;
21856 Py_INCREF(Py_None
); resultobj
= Py_None
;
21863 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21864 PyObject
*resultobj
;
21865 wxListItem
*arg1
= (wxListItem
*) 0 ;
21866 wxColour
*arg2
= 0 ;
21868 PyObject
* obj0
= 0 ;
21869 PyObject
* obj1
= 0 ;
21870 char *kwnames
[] = {
21871 (char *) "self",(char *) "colBack", NULL
21874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21876 if (SWIG_arg_fail(1)) SWIG_fail
;
21879 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21883 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
21885 wxPyEndAllowThreads(__tstate
);
21886 if (PyErr_Occurred()) SWIG_fail
;
21888 Py_INCREF(Py_None
); resultobj
= Py_None
;
21895 static PyObject
*_wrap_ListItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21896 PyObject
*resultobj
;
21897 wxListItem
*arg1
= (wxListItem
*) 0 ;
21899 PyObject
* obj0
= 0 ;
21900 PyObject
* obj1
= 0 ;
21901 char *kwnames
[] = {
21902 (char *) "self",(char *) "font", NULL
21905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
21906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21907 if (SWIG_arg_fail(1)) SWIG_fail
;
21909 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
21910 if (SWIG_arg_fail(2)) SWIG_fail
;
21911 if (arg2
== NULL
) {
21912 SWIG_null_ref("wxFont");
21914 if (SWIG_arg_fail(2)) SWIG_fail
;
21917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21918 (arg1
)->SetFont((wxFont
const &)*arg2
);
21920 wxPyEndAllowThreads(__tstate
);
21921 if (PyErr_Occurred()) SWIG_fail
;
21923 Py_INCREF(Py_None
); resultobj
= Py_None
;
21930 static PyObject
*_wrap_ListItem_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21931 PyObject
*resultobj
;
21932 wxListItem
*arg1
= (wxListItem
*) 0 ;
21934 PyObject
* obj0
= 0 ;
21935 char *kwnames
[] = {
21936 (char *) "self", NULL
21939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21944 result
= (long)(arg1
)->GetMask();
21946 wxPyEndAllowThreads(__tstate
);
21947 if (PyErr_Occurred()) SWIG_fail
;
21950 resultobj
= SWIG_From_long((long)(result
));
21958 static PyObject
*_wrap_ListItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21959 PyObject
*resultobj
;
21960 wxListItem
*arg1
= (wxListItem
*) 0 ;
21962 PyObject
* obj0
= 0 ;
21963 char *kwnames
[] = {
21964 (char *) "self", NULL
21967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
21968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21969 if (SWIG_arg_fail(1)) SWIG_fail
;
21971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21972 result
= (long)(arg1
)->GetId();
21974 wxPyEndAllowThreads(__tstate
);
21975 if (PyErr_Occurred()) SWIG_fail
;
21978 resultobj
= SWIG_From_long((long)(result
));
21986 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21987 PyObject
*resultobj
;
21988 wxListItem
*arg1
= (wxListItem
*) 0 ;
21990 PyObject
* obj0
= 0 ;
21991 char *kwnames
[] = {
21992 (char *) "self", NULL
21995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
21996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21997 if (SWIG_arg_fail(1)) SWIG_fail
;
21999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22000 result
= (int)(arg1
)->GetColumn();
22002 wxPyEndAllowThreads(__tstate
);
22003 if (PyErr_Occurred()) SWIG_fail
;
22006 resultobj
= SWIG_From_int((int)(result
));
22014 static PyObject
*_wrap_ListItem_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22015 PyObject
*resultobj
;
22016 wxListItem
*arg1
= (wxListItem
*) 0 ;
22018 PyObject
* obj0
= 0 ;
22019 char *kwnames
[] = {
22020 (char *) "self", NULL
22023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
22024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22025 if (SWIG_arg_fail(1)) SWIG_fail
;
22027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22028 result
= (long)(arg1
)->GetState();
22030 wxPyEndAllowThreads(__tstate
);
22031 if (PyErr_Occurred()) SWIG_fail
;
22034 resultobj
= SWIG_From_long((long)(result
));
22042 static PyObject
*_wrap_ListItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22043 PyObject
*resultobj
;
22044 wxListItem
*arg1
= (wxListItem
*) 0 ;
22046 PyObject
* obj0
= 0 ;
22047 char *kwnames
[] = {
22048 (char *) "self", NULL
22051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
22052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22053 if (SWIG_arg_fail(1)) SWIG_fail
;
22055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22057 wxString
const &_result_ref
= (arg1
)->GetText();
22058 result
= (wxString
*) &_result_ref
;
22061 wxPyEndAllowThreads(__tstate
);
22062 if (PyErr_Occurred()) SWIG_fail
;
22066 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22068 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22077 static PyObject
*_wrap_ListItem_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22078 PyObject
*resultobj
;
22079 wxListItem
*arg1
= (wxListItem
*) 0 ;
22081 PyObject
* obj0
= 0 ;
22082 char *kwnames
[] = {
22083 (char *) "self", NULL
22086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
22087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22088 if (SWIG_arg_fail(1)) SWIG_fail
;
22090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22091 result
= (int)(arg1
)->GetImage();
22093 wxPyEndAllowThreads(__tstate
);
22094 if (PyErr_Occurred()) SWIG_fail
;
22097 resultobj
= SWIG_From_int((int)(result
));
22105 static PyObject
*_wrap_ListItem_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22106 PyObject
*resultobj
;
22107 wxListItem
*arg1
= (wxListItem
*) 0 ;
22109 PyObject
* obj0
= 0 ;
22110 char *kwnames
[] = {
22111 (char *) "self", NULL
22114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
22115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22116 if (SWIG_arg_fail(1)) SWIG_fail
;
22118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22119 result
= (long)(arg1
)->GetData();
22121 wxPyEndAllowThreads(__tstate
);
22122 if (PyErr_Occurred()) SWIG_fail
;
22125 resultobj
= SWIG_From_long((long)(result
));
22133 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22134 PyObject
*resultobj
;
22135 wxListItem
*arg1
= (wxListItem
*) 0 ;
22137 PyObject
* obj0
= 0 ;
22138 char *kwnames
[] = {
22139 (char *) "self", NULL
22142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
22143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22144 if (SWIG_arg_fail(1)) SWIG_fail
;
22146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22147 result
= (int)(arg1
)->GetWidth();
22149 wxPyEndAllowThreads(__tstate
);
22150 if (PyErr_Occurred()) SWIG_fail
;
22153 resultobj
= SWIG_From_int((int)(result
));
22161 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22162 PyObject
*resultobj
;
22163 wxListItem
*arg1
= (wxListItem
*) 0 ;
22164 wxListColumnFormat result
;
22165 PyObject
* obj0
= 0 ;
22166 char *kwnames
[] = {
22167 (char *) "self", NULL
22170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
22171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22172 if (SWIG_arg_fail(1)) SWIG_fail
;
22174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22175 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
22177 wxPyEndAllowThreads(__tstate
);
22178 if (PyErr_Occurred()) SWIG_fail
;
22180 resultobj
= SWIG_From_int((result
));
22187 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22188 PyObject
*resultobj
;
22189 wxListItem
*arg1
= (wxListItem
*) 0 ;
22190 wxListItemAttr
*result
;
22191 PyObject
* obj0
= 0 ;
22192 char *kwnames
[] = {
22193 (char *) "self", NULL
22196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
22197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22198 if (SWIG_arg_fail(1)) SWIG_fail
;
22200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22201 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
22203 wxPyEndAllowThreads(__tstate
);
22204 if (PyErr_Occurred()) SWIG_fail
;
22206 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
22213 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22214 PyObject
*resultobj
;
22215 wxListItem
*arg1
= (wxListItem
*) 0 ;
22217 PyObject
* obj0
= 0 ;
22218 char *kwnames
[] = {
22219 (char *) "self", NULL
22222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
22223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22224 if (SWIG_arg_fail(1)) SWIG_fail
;
22226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22227 result
= (bool)(arg1
)->HasAttributes();
22229 wxPyEndAllowThreads(__tstate
);
22230 if (PyErr_Occurred()) SWIG_fail
;
22233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22241 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22242 PyObject
*resultobj
;
22243 wxListItem
*arg1
= (wxListItem
*) 0 ;
22245 PyObject
* obj0
= 0 ;
22246 char *kwnames
[] = {
22247 (char *) "self", NULL
22250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
22251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22252 if (SWIG_arg_fail(1)) SWIG_fail
;
22254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22255 result
= ((wxListItem
const *)arg1
)->GetTextColour();
22257 wxPyEndAllowThreads(__tstate
);
22258 if (PyErr_Occurred()) SWIG_fail
;
22261 wxColour
* resultptr
;
22262 resultptr
= new wxColour((wxColour
&)(result
));
22263 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22271 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22272 PyObject
*resultobj
;
22273 wxListItem
*arg1
= (wxListItem
*) 0 ;
22275 PyObject
* obj0
= 0 ;
22276 char *kwnames
[] = {
22277 (char *) "self", NULL
22280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
22281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22282 if (SWIG_arg_fail(1)) SWIG_fail
;
22284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22285 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
22287 wxPyEndAllowThreads(__tstate
);
22288 if (PyErr_Occurred()) SWIG_fail
;
22291 wxColour
* resultptr
;
22292 resultptr
= new wxColour((wxColour
&)(result
));
22293 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22301 static PyObject
*_wrap_ListItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22302 PyObject
*resultobj
;
22303 wxListItem
*arg1
= (wxListItem
*) 0 ;
22305 PyObject
* obj0
= 0 ;
22306 char *kwnames
[] = {
22307 (char *) "self", NULL
22310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
22311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22312 if (SWIG_arg_fail(1)) SWIG_fail
;
22314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22315 result
= ((wxListItem
const *)arg1
)->GetFont();
22317 wxPyEndAllowThreads(__tstate
);
22318 if (PyErr_Occurred()) SWIG_fail
;
22321 wxFont
* resultptr
;
22322 resultptr
= new wxFont((wxFont
&)(result
));
22323 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22331 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22332 PyObject
*resultobj
;
22333 wxListItem
*arg1
= (wxListItem
*) 0 ;
22335 PyObject
* obj0
= 0 ;
22336 PyObject
* obj1
= 0 ;
22337 char *kwnames
[] = {
22338 (char *) "self",(char *) "m_mask", NULL
22341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22343 if (SWIG_arg_fail(1)) SWIG_fail
;
22345 arg2
= (long)(SWIG_As_long(obj1
));
22346 if (SWIG_arg_fail(2)) SWIG_fail
;
22348 if (arg1
) (arg1
)->m_mask
= arg2
;
22350 Py_INCREF(Py_None
); resultobj
= Py_None
;
22357 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22358 PyObject
*resultobj
;
22359 wxListItem
*arg1
= (wxListItem
*) 0 ;
22361 PyObject
* obj0
= 0 ;
22362 char *kwnames
[] = {
22363 (char *) "self", NULL
22366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
22367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22368 if (SWIG_arg_fail(1)) SWIG_fail
;
22369 result
= (long) ((arg1
)->m_mask
);
22372 resultobj
= SWIG_From_long((long)(result
));
22380 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22381 PyObject
*resultobj
;
22382 wxListItem
*arg1
= (wxListItem
*) 0 ;
22384 PyObject
* obj0
= 0 ;
22385 PyObject
* obj1
= 0 ;
22386 char *kwnames
[] = {
22387 (char *) "self",(char *) "m_itemId", NULL
22390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22392 if (SWIG_arg_fail(1)) SWIG_fail
;
22394 arg2
= (long)(SWIG_As_long(obj1
));
22395 if (SWIG_arg_fail(2)) SWIG_fail
;
22397 if (arg1
) (arg1
)->m_itemId
= arg2
;
22399 Py_INCREF(Py_None
); resultobj
= Py_None
;
22406 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22407 PyObject
*resultobj
;
22408 wxListItem
*arg1
= (wxListItem
*) 0 ;
22410 PyObject
* obj0
= 0 ;
22411 char *kwnames
[] = {
22412 (char *) "self", NULL
22415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
22416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22417 if (SWIG_arg_fail(1)) SWIG_fail
;
22418 result
= (long) ((arg1
)->m_itemId
);
22421 resultobj
= SWIG_From_long((long)(result
));
22429 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22430 PyObject
*resultobj
;
22431 wxListItem
*arg1
= (wxListItem
*) 0 ;
22433 PyObject
* obj0
= 0 ;
22434 PyObject
* obj1
= 0 ;
22435 char *kwnames
[] = {
22436 (char *) "self",(char *) "m_col", NULL
22439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) 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 arg2
= (int)(SWIG_As_int(obj1
));
22444 if (SWIG_arg_fail(2)) SWIG_fail
;
22446 if (arg1
) (arg1
)->m_col
= arg2
;
22448 Py_INCREF(Py_None
); resultobj
= Py_None
;
22455 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22456 PyObject
*resultobj
;
22457 wxListItem
*arg1
= (wxListItem
*) 0 ;
22459 PyObject
* obj0
= 0 ;
22460 char *kwnames
[] = {
22461 (char *) "self", NULL
22464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
22465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22466 if (SWIG_arg_fail(1)) SWIG_fail
;
22467 result
= (int) ((arg1
)->m_col
);
22470 resultobj
= SWIG_From_int((int)(result
));
22478 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22479 PyObject
*resultobj
;
22480 wxListItem
*arg1
= (wxListItem
*) 0 ;
22482 PyObject
* obj0
= 0 ;
22483 PyObject
* obj1
= 0 ;
22484 char *kwnames
[] = {
22485 (char *) "self",(char *) "m_state", NULL
22488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22490 if (SWIG_arg_fail(1)) SWIG_fail
;
22492 arg2
= (long)(SWIG_As_long(obj1
));
22493 if (SWIG_arg_fail(2)) SWIG_fail
;
22495 if (arg1
) (arg1
)->m_state
= arg2
;
22497 Py_INCREF(Py_None
); resultobj
= Py_None
;
22504 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22505 PyObject
*resultobj
;
22506 wxListItem
*arg1
= (wxListItem
*) 0 ;
22508 PyObject
* obj0
= 0 ;
22509 char *kwnames
[] = {
22510 (char *) "self", NULL
22513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
22514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22515 if (SWIG_arg_fail(1)) SWIG_fail
;
22516 result
= (long) ((arg1
)->m_state
);
22519 resultobj
= SWIG_From_long((long)(result
));
22527 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22528 PyObject
*resultobj
;
22529 wxListItem
*arg1
= (wxListItem
*) 0 ;
22531 PyObject
* obj0
= 0 ;
22532 PyObject
* obj1
= 0 ;
22533 char *kwnames
[] = {
22534 (char *) "self",(char *) "m_stateMask", NULL
22537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22539 if (SWIG_arg_fail(1)) SWIG_fail
;
22541 arg2
= (long)(SWIG_As_long(obj1
));
22542 if (SWIG_arg_fail(2)) SWIG_fail
;
22544 if (arg1
) (arg1
)->m_stateMask
= arg2
;
22546 Py_INCREF(Py_None
); resultobj
= Py_None
;
22553 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22554 PyObject
*resultobj
;
22555 wxListItem
*arg1
= (wxListItem
*) 0 ;
22557 PyObject
* obj0
= 0 ;
22558 char *kwnames
[] = {
22559 (char *) "self", NULL
22562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
22563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22564 if (SWIG_arg_fail(1)) SWIG_fail
;
22565 result
= (long) ((arg1
)->m_stateMask
);
22568 resultobj
= SWIG_From_long((long)(result
));
22576 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22577 PyObject
*resultobj
;
22578 wxListItem
*arg1
= (wxListItem
*) 0 ;
22579 wxString
*arg2
= (wxString
*) 0 ;
22580 bool temp2
= false ;
22581 PyObject
* obj0
= 0 ;
22582 PyObject
* obj1
= 0 ;
22583 char *kwnames
[] = {
22584 (char *) "self",(char *) "m_text", NULL
22587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22589 if (SWIG_arg_fail(1)) SWIG_fail
;
22591 arg2
= wxString_in_helper(obj1
);
22592 if (arg2
== NULL
) SWIG_fail
;
22595 if (arg1
) (arg1
)->m_text
= *arg2
;
22597 Py_INCREF(Py_None
); resultobj
= Py_None
;
22612 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22613 PyObject
*resultobj
;
22614 wxListItem
*arg1
= (wxListItem
*) 0 ;
22616 PyObject
* obj0
= 0 ;
22617 char *kwnames
[] = {
22618 (char *) "self", NULL
22621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
22622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22623 if (SWIG_arg_fail(1)) SWIG_fail
;
22624 result
= (wxString
*)& ((arg1
)->m_text
);
22628 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22630 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22639 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22640 PyObject
*resultobj
;
22641 wxListItem
*arg1
= (wxListItem
*) 0 ;
22643 PyObject
* obj0
= 0 ;
22644 PyObject
* obj1
= 0 ;
22645 char *kwnames
[] = {
22646 (char *) "self",(char *) "m_image", NULL
22649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22651 if (SWIG_arg_fail(1)) SWIG_fail
;
22653 arg2
= (int)(SWIG_As_int(obj1
));
22654 if (SWIG_arg_fail(2)) SWIG_fail
;
22656 if (arg1
) (arg1
)->m_image
= arg2
;
22658 Py_INCREF(Py_None
); resultobj
= Py_None
;
22665 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22666 PyObject
*resultobj
;
22667 wxListItem
*arg1
= (wxListItem
*) 0 ;
22669 PyObject
* obj0
= 0 ;
22670 char *kwnames
[] = {
22671 (char *) "self", NULL
22674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
22675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22676 if (SWIG_arg_fail(1)) SWIG_fail
;
22677 result
= (int) ((arg1
)->m_image
);
22680 resultobj
= SWIG_From_int((int)(result
));
22688 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22689 PyObject
*resultobj
;
22690 wxListItem
*arg1
= (wxListItem
*) 0 ;
22692 PyObject
* obj0
= 0 ;
22693 PyObject
* obj1
= 0 ;
22694 char *kwnames
[] = {
22695 (char *) "self",(char *) "m_data", NULL
22698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22700 if (SWIG_arg_fail(1)) SWIG_fail
;
22702 arg2
= (long)(SWIG_As_long(obj1
));
22703 if (SWIG_arg_fail(2)) SWIG_fail
;
22705 if (arg1
) (arg1
)->m_data
= arg2
;
22707 Py_INCREF(Py_None
); resultobj
= Py_None
;
22714 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22715 PyObject
*resultobj
;
22716 wxListItem
*arg1
= (wxListItem
*) 0 ;
22718 PyObject
* obj0
= 0 ;
22719 char *kwnames
[] = {
22720 (char *) "self", NULL
22723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
22724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22725 if (SWIG_arg_fail(1)) SWIG_fail
;
22726 result
= (long) ((arg1
)->m_data
);
22729 resultobj
= SWIG_From_long((long)(result
));
22737 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22738 PyObject
*resultobj
;
22739 wxListItem
*arg1
= (wxListItem
*) 0 ;
22741 PyObject
* obj0
= 0 ;
22742 PyObject
* obj1
= 0 ;
22743 char *kwnames
[] = {
22744 (char *) "self",(char *) "m_format", NULL
22747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22749 if (SWIG_arg_fail(1)) SWIG_fail
;
22751 arg2
= (int)(SWIG_As_int(obj1
));
22752 if (SWIG_arg_fail(2)) SWIG_fail
;
22754 if (arg1
) (arg1
)->m_format
= arg2
;
22756 Py_INCREF(Py_None
); resultobj
= Py_None
;
22763 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22764 PyObject
*resultobj
;
22765 wxListItem
*arg1
= (wxListItem
*) 0 ;
22767 PyObject
* obj0
= 0 ;
22768 char *kwnames
[] = {
22769 (char *) "self", NULL
22772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
22773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22774 if (SWIG_arg_fail(1)) SWIG_fail
;
22775 result
= (int) ((arg1
)->m_format
);
22778 resultobj
= SWIG_From_int((int)(result
));
22786 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22787 PyObject
*resultobj
;
22788 wxListItem
*arg1
= (wxListItem
*) 0 ;
22790 PyObject
* obj0
= 0 ;
22791 PyObject
* obj1
= 0 ;
22792 char *kwnames
[] = {
22793 (char *) "self",(char *) "m_width", NULL
22796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22798 if (SWIG_arg_fail(1)) SWIG_fail
;
22800 arg2
= (int)(SWIG_As_int(obj1
));
22801 if (SWIG_arg_fail(2)) SWIG_fail
;
22803 if (arg1
) (arg1
)->m_width
= arg2
;
22805 Py_INCREF(Py_None
); resultobj
= Py_None
;
22812 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22813 PyObject
*resultobj
;
22814 wxListItem
*arg1
= (wxListItem
*) 0 ;
22816 PyObject
* obj0
= 0 ;
22817 char *kwnames
[] = {
22818 (char *) "self", NULL
22821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
22822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22823 if (SWIG_arg_fail(1)) SWIG_fail
;
22824 result
= (int) ((arg1
)->m_width
);
22827 resultobj
= SWIG_From_int((int)(result
));
22835 static PyObject
* ListItem_swigregister(PyObject
*, PyObject
*args
) {
22837 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22838 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
22840 return Py_BuildValue((char *)"");
22842 static PyObject
*_wrap_new_ListEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22843 PyObject
*resultobj
;
22844 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22845 int arg2
= (int) 0 ;
22846 wxListEvent
*result
;
22847 PyObject
* obj0
= 0 ;
22848 PyObject
* obj1
= 0 ;
22849 char *kwnames
[] = {
22850 (char *) "commandType",(char *) "id", NULL
22853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
22856 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
22857 if (SWIG_arg_fail(1)) SWIG_fail
;
22862 arg2
= (int)(SWIG_As_int(obj1
));
22863 if (SWIG_arg_fail(2)) SWIG_fail
;
22867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22868 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
22870 wxPyEndAllowThreads(__tstate
);
22871 if (PyErr_Occurred()) SWIG_fail
;
22873 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
22880 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22881 PyObject
*resultobj
;
22882 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
22884 PyObject
* obj0
= 0 ;
22885 PyObject
* obj1
= 0 ;
22886 char *kwnames
[] = {
22887 (char *) "self",(char *) "m_code", NULL
22890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
22892 if (SWIG_arg_fail(1)) SWIG_fail
;
22894 arg2
= (int)(SWIG_As_int(obj1
));
22895 if (SWIG_arg_fail(2)) SWIG_fail
;
22897 if (arg1
) (arg1
)->m_code
= arg2
;
22899 Py_INCREF(Py_None
); resultobj
= Py_None
;
22906 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22907 PyObject
*resultobj
;
22908 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
22910 PyObject
* obj0
= 0 ;
22911 char *kwnames
[] = {
22912 (char *) "self", NULL
22915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
22916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
22917 if (SWIG_arg_fail(1)) SWIG_fail
;
22918 result
= (int) ((arg1
)->m_code
);
22921 resultobj
= SWIG_From_int((int)(result
));
22929 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22930 PyObject
*resultobj
;
22931 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
22933 PyObject
* obj0
= 0 ;
22934 PyObject
* obj1
= 0 ;
22935 char *kwnames
[] = {
22936 (char *) "self",(char *) "m_oldItemIndex", NULL
22939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
22941 if (SWIG_arg_fail(1)) SWIG_fail
;
22943 arg2
= (long)(SWIG_As_long(obj1
));
22944 if (SWIG_arg_fail(2)) SWIG_fail
;
22946 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
22948 Py_INCREF(Py_None
); resultobj
= Py_None
;
22955 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22956 PyObject
*resultobj
;
22957 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
22959 PyObject
* obj0
= 0 ;
22960 char *kwnames
[] = {
22961 (char *) "self", NULL
22964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
22965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
22966 if (SWIG_arg_fail(1)) SWIG_fail
;
22967 result
= (long) ((arg1
)->m_oldItemIndex
);
22970 resultobj
= SWIG_From_long((long)(result
));
22978 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22979 PyObject
*resultobj
;
22980 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
22982 PyObject
* obj0
= 0 ;
22983 PyObject
* obj1
= 0 ;
22984 char *kwnames
[] = {
22985 (char *) "self",(char *) "m_itemIndex", NULL
22988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
22990 if (SWIG_arg_fail(1)) SWIG_fail
;
22992 arg2
= (long)(SWIG_As_long(obj1
));
22993 if (SWIG_arg_fail(2)) SWIG_fail
;
22995 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
22997 Py_INCREF(Py_None
); resultobj
= Py_None
;
23004 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23005 PyObject
*resultobj
;
23006 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23008 PyObject
* obj0
= 0 ;
23009 char *kwnames
[] = {
23010 (char *) "self", NULL
23013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
23014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23015 if (SWIG_arg_fail(1)) SWIG_fail
;
23016 result
= (long) ((arg1
)->m_itemIndex
);
23019 resultobj
= SWIG_From_long((long)(result
));
23027 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23028 PyObject
*resultobj
;
23029 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23031 PyObject
* obj0
= 0 ;
23032 PyObject
* obj1
= 0 ;
23033 char *kwnames
[] = {
23034 (char *) "self",(char *) "m_col", NULL
23037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23039 if (SWIG_arg_fail(1)) SWIG_fail
;
23041 arg2
= (int)(SWIG_As_int(obj1
));
23042 if (SWIG_arg_fail(2)) SWIG_fail
;
23044 if (arg1
) (arg1
)->m_col
= arg2
;
23046 Py_INCREF(Py_None
); resultobj
= Py_None
;
23053 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23054 PyObject
*resultobj
;
23055 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23057 PyObject
* obj0
= 0 ;
23058 char *kwnames
[] = {
23059 (char *) "self", NULL
23062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
23063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23064 if (SWIG_arg_fail(1)) SWIG_fail
;
23065 result
= (int) ((arg1
)->m_col
);
23068 resultobj
= SWIG_From_int((int)(result
));
23076 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23077 PyObject
*resultobj
;
23078 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23079 wxPoint
*arg2
= (wxPoint
*) 0 ;
23080 PyObject
* obj0
= 0 ;
23081 PyObject
* obj1
= 0 ;
23082 char *kwnames
[] = {
23083 (char *) "self",(char *) "m_pointDrag", NULL
23086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23088 if (SWIG_arg_fail(1)) SWIG_fail
;
23089 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
23090 if (SWIG_arg_fail(2)) SWIG_fail
;
23091 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
23093 Py_INCREF(Py_None
); resultobj
= Py_None
;
23100 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23101 PyObject
*resultobj
;
23102 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23104 PyObject
* obj0
= 0 ;
23105 char *kwnames
[] = {
23106 (char *) "self", NULL
23109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
23110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23111 if (SWIG_arg_fail(1)) SWIG_fail
;
23112 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
23114 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
23121 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23122 PyObject
*resultobj
;
23123 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23124 wxListItem
*result
;
23125 PyObject
* obj0
= 0 ;
23126 char *kwnames
[] = {
23127 (char *) "self", NULL
23130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
23131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23132 if (SWIG_arg_fail(1)) SWIG_fail
;
23133 result
= (wxListItem
*)& ((arg1
)->m_item
);
23136 resultobj
= wxPyMake_wxObject(result
, 0);
23144 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23145 PyObject
*resultobj
;
23146 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23148 PyObject
* obj0
= 0 ;
23149 char *kwnames
[] = {
23150 (char *) "self", NULL
23153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
23154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23155 if (SWIG_arg_fail(1)) SWIG_fail
;
23157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23158 result
= (int)(arg1
)->GetKeyCode();
23160 wxPyEndAllowThreads(__tstate
);
23161 if (PyErr_Occurred()) SWIG_fail
;
23164 resultobj
= SWIG_From_int((int)(result
));
23172 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23173 PyObject
*resultobj
;
23174 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23176 PyObject
* obj0
= 0 ;
23177 char *kwnames
[] = {
23178 (char *) "self", NULL
23181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
23182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23183 if (SWIG_arg_fail(1)) SWIG_fail
;
23185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23186 result
= (long)(arg1
)->GetIndex();
23188 wxPyEndAllowThreads(__tstate
);
23189 if (PyErr_Occurred()) SWIG_fail
;
23192 resultobj
= SWIG_From_long((long)(result
));
23200 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23201 PyObject
*resultobj
;
23202 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23204 PyObject
* obj0
= 0 ;
23205 char *kwnames
[] = {
23206 (char *) "self", NULL
23209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
23210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23211 if (SWIG_arg_fail(1)) SWIG_fail
;
23213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23214 result
= (int)(arg1
)->GetColumn();
23216 wxPyEndAllowThreads(__tstate
);
23217 if (PyErr_Occurred()) SWIG_fail
;
23220 resultobj
= SWIG_From_int((int)(result
));
23228 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23229 PyObject
*resultobj
;
23230 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23232 PyObject
* obj0
= 0 ;
23233 char *kwnames
[] = {
23234 (char *) "self", NULL
23237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
23238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23239 if (SWIG_arg_fail(1)) SWIG_fail
;
23241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23242 result
= (arg1
)->GetPoint();
23244 wxPyEndAllowThreads(__tstate
);
23245 if (PyErr_Occurred()) SWIG_fail
;
23248 wxPoint
* resultptr
;
23249 resultptr
= new wxPoint((wxPoint
&)(result
));
23250 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23258 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23259 PyObject
*resultobj
;
23260 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23262 PyObject
* obj0
= 0 ;
23263 char *kwnames
[] = {
23264 (char *) "self", NULL
23267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
23268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23269 if (SWIG_arg_fail(1)) SWIG_fail
;
23271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23273 wxString
const &_result_ref
= (arg1
)->GetLabel();
23274 result
= (wxString
*) &_result_ref
;
23277 wxPyEndAllowThreads(__tstate
);
23278 if (PyErr_Occurred()) SWIG_fail
;
23282 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23284 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23293 static PyObject
*_wrap_ListEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23294 PyObject
*resultobj
;
23295 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23297 PyObject
* obj0
= 0 ;
23298 char *kwnames
[] = {
23299 (char *) "self", NULL
23302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
23303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23304 if (SWIG_arg_fail(1)) SWIG_fail
;
23306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23308 wxString
const &_result_ref
= (arg1
)->GetText();
23309 result
= (wxString
*) &_result_ref
;
23312 wxPyEndAllowThreads(__tstate
);
23313 if (PyErr_Occurred()) SWIG_fail
;
23317 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23319 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23328 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23329 PyObject
*resultobj
;
23330 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23332 PyObject
* obj0
= 0 ;
23333 char *kwnames
[] = {
23334 (char *) "self", NULL
23337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
23338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23339 if (SWIG_arg_fail(1)) SWIG_fail
;
23341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23342 result
= (int)(arg1
)->GetImage();
23344 wxPyEndAllowThreads(__tstate
);
23345 if (PyErr_Occurred()) SWIG_fail
;
23348 resultobj
= SWIG_From_int((int)(result
));
23356 static PyObject
*_wrap_ListEvent_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23357 PyObject
*resultobj
;
23358 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23360 PyObject
* obj0
= 0 ;
23361 char *kwnames
[] = {
23362 (char *) "self", NULL
23365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
23366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23367 if (SWIG_arg_fail(1)) SWIG_fail
;
23369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23370 result
= (long)(arg1
)->GetData();
23372 wxPyEndAllowThreads(__tstate
);
23373 if (PyErr_Occurred()) SWIG_fail
;
23376 resultobj
= SWIG_From_long((long)(result
));
23384 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23385 PyObject
*resultobj
;
23386 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23388 PyObject
* obj0
= 0 ;
23389 char *kwnames
[] = {
23390 (char *) "self", NULL
23393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
23394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23395 if (SWIG_arg_fail(1)) SWIG_fail
;
23397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23398 result
= (long)(arg1
)->GetMask();
23400 wxPyEndAllowThreads(__tstate
);
23401 if (PyErr_Occurred()) SWIG_fail
;
23404 resultobj
= SWIG_From_long((long)(result
));
23412 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23413 PyObject
*resultobj
;
23414 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23415 wxListItem
*result
;
23416 PyObject
* obj0
= 0 ;
23417 char *kwnames
[] = {
23418 (char *) "self", NULL
23421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
23422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23423 if (SWIG_arg_fail(1)) SWIG_fail
;
23425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23427 wxListItem
const &_result_ref
= (arg1
)->GetItem();
23428 result
= (wxListItem
*) &_result_ref
;
23431 wxPyEndAllowThreads(__tstate
);
23432 if (PyErr_Occurred()) SWIG_fail
;
23434 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
23441 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23442 PyObject
*resultobj
;
23443 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23445 PyObject
* obj0
= 0 ;
23446 char *kwnames
[] = {
23447 (char *) "self", NULL
23450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
23451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23452 if (SWIG_arg_fail(1)) SWIG_fail
;
23454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23455 result
= (long)(arg1
)->GetCacheFrom();
23457 wxPyEndAllowThreads(__tstate
);
23458 if (PyErr_Occurred()) SWIG_fail
;
23461 resultobj
= SWIG_From_long((long)(result
));
23469 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23470 PyObject
*resultobj
;
23471 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23473 PyObject
* obj0
= 0 ;
23474 char *kwnames
[] = {
23475 (char *) "self", NULL
23478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
23479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23480 if (SWIG_arg_fail(1)) SWIG_fail
;
23482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23483 result
= (long)(arg1
)->GetCacheTo();
23485 wxPyEndAllowThreads(__tstate
);
23486 if (PyErr_Occurred()) SWIG_fail
;
23489 resultobj
= SWIG_From_long((long)(result
));
23497 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23498 PyObject
*resultobj
;
23499 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23501 PyObject
* obj0
= 0 ;
23502 char *kwnames
[] = {
23503 (char *) "self", NULL
23506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
23507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23508 if (SWIG_arg_fail(1)) SWIG_fail
;
23510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23511 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
23513 wxPyEndAllowThreads(__tstate
);
23514 if (PyErr_Occurred()) SWIG_fail
;
23517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23525 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23526 PyObject
*resultobj
;
23527 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23529 PyObject
* obj0
= 0 ;
23530 PyObject
* obj1
= 0 ;
23531 char *kwnames
[] = {
23532 (char *) "self",(char *) "editCancelled", NULL
23535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
23536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23537 if (SWIG_arg_fail(1)) SWIG_fail
;
23539 arg2
= (bool)(SWIG_As_bool(obj1
));
23540 if (SWIG_arg_fail(2)) SWIG_fail
;
23543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23544 (arg1
)->SetEditCanceled(arg2
);
23546 wxPyEndAllowThreads(__tstate
);
23547 if (PyErr_Occurred()) SWIG_fail
;
23549 Py_INCREF(Py_None
); resultobj
= Py_None
;
23556 static PyObject
* ListEvent_swigregister(PyObject
*, PyObject
*args
) {
23558 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23559 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
23561 return Py_BuildValue((char *)"");
23563 static PyObject
*_wrap_new_ListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23564 PyObject
*resultobj
;
23565 wxWindow
*arg1
= (wxWindow
*) 0 ;
23566 int arg2
= (int) -1 ;
23567 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23568 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23569 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23570 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23571 long arg5
= (long) wxLC_ICON
;
23572 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23573 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23574 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
23575 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23576 wxPyListCtrl
*result
;
23579 bool temp7
= false ;
23580 PyObject
* obj0
= 0 ;
23581 PyObject
* obj1
= 0 ;
23582 PyObject
* obj2
= 0 ;
23583 PyObject
* obj3
= 0 ;
23584 PyObject
* obj4
= 0 ;
23585 PyObject
* obj5
= 0 ;
23586 PyObject
* obj6
= 0 ;
23587 char *kwnames
[] = {
23588 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23593 if (SWIG_arg_fail(1)) SWIG_fail
;
23596 arg2
= (int)(SWIG_As_int(obj1
));
23597 if (SWIG_arg_fail(2)) SWIG_fail
;
23603 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23609 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23614 arg5
= (long)(SWIG_As_long(obj4
));
23615 if (SWIG_arg_fail(5)) SWIG_fail
;
23620 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
23621 if (SWIG_arg_fail(6)) SWIG_fail
;
23622 if (arg6
== NULL
) {
23623 SWIG_null_ref("wxValidator");
23625 if (SWIG_arg_fail(6)) SWIG_fail
;
23630 arg7
= wxString_in_helper(obj6
);
23631 if (arg7
== NULL
) SWIG_fail
;
23636 if (!wxPyCheckForApp()) SWIG_fail
;
23637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23638 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23640 wxPyEndAllowThreads(__tstate
);
23641 if (PyErr_Occurred()) SWIG_fail
;
23643 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
23658 static PyObject
*_wrap_new_PreListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23659 PyObject
*resultobj
;
23660 wxPyListCtrl
*result
;
23661 char *kwnames
[] = {
23665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
23667 if (!wxPyCheckForApp()) SWIG_fail
;
23668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23669 result
= (wxPyListCtrl
*)new wxPyListCtrl();
23671 wxPyEndAllowThreads(__tstate
);
23672 if (PyErr_Occurred()) SWIG_fail
;
23674 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
23681 static PyObject
*_wrap_ListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23682 PyObject
*resultobj
;
23683 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23684 wxWindow
*arg2
= (wxWindow
*) 0 ;
23685 int arg3
= (int) -1 ;
23686 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23687 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23688 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23689 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23690 long arg6
= (long) wxLC_ICON
;
23691 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23692 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23693 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
23694 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23698 bool temp8
= false ;
23699 PyObject
* obj0
= 0 ;
23700 PyObject
* obj1
= 0 ;
23701 PyObject
* obj2
= 0 ;
23702 PyObject
* obj3
= 0 ;
23703 PyObject
* obj4
= 0 ;
23704 PyObject
* obj5
= 0 ;
23705 PyObject
* obj6
= 0 ;
23706 PyObject
* obj7
= 0 ;
23707 char *kwnames
[] = {
23708 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
23713 if (SWIG_arg_fail(1)) SWIG_fail
;
23714 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23715 if (SWIG_arg_fail(2)) SWIG_fail
;
23718 arg3
= (int)(SWIG_As_int(obj2
));
23719 if (SWIG_arg_fail(3)) SWIG_fail
;
23725 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23731 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23736 arg6
= (long)(SWIG_As_long(obj5
));
23737 if (SWIG_arg_fail(6)) SWIG_fail
;
23742 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
23743 if (SWIG_arg_fail(7)) SWIG_fail
;
23744 if (arg7
== NULL
) {
23745 SWIG_null_ref("wxValidator");
23747 if (SWIG_arg_fail(7)) SWIG_fail
;
23752 arg8
= wxString_in_helper(obj7
);
23753 if (arg8
== NULL
) SWIG_fail
;
23758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23759 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
23761 wxPyEndAllowThreads(__tstate
);
23762 if (PyErr_Occurred()) SWIG_fail
;
23765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23781 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23782 PyObject
*resultobj
;
23783 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23784 PyObject
*arg2
= (PyObject
*) 0 ;
23785 PyObject
*arg3
= (PyObject
*) 0 ;
23786 PyObject
* obj0
= 0 ;
23787 PyObject
* obj1
= 0 ;
23788 PyObject
* obj2
= 0 ;
23789 char *kwnames
[] = {
23790 (char *) "self",(char *) "self",(char *) "_class", NULL
23793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
23795 if (SWIG_arg_fail(1)) SWIG_fail
;
23799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23800 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23802 wxPyEndAllowThreads(__tstate
);
23803 if (PyErr_Occurred()) SWIG_fail
;
23805 Py_INCREF(Py_None
); resultobj
= Py_None
;
23812 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23813 PyObject
*resultobj
;
23814 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23815 wxColour
*arg2
= 0 ;
23818 PyObject
* obj0
= 0 ;
23819 PyObject
* obj1
= 0 ;
23820 char *kwnames
[] = {
23821 (char *) "self",(char *) "col", NULL
23824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
23826 if (SWIG_arg_fail(1)) SWIG_fail
;
23829 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23833 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
23835 wxPyEndAllowThreads(__tstate
);
23836 if (PyErr_Occurred()) SWIG_fail
;
23839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23847 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23848 PyObject
*resultobj
;
23849 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23850 wxColour
*arg2
= 0 ;
23853 PyObject
* obj0
= 0 ;
23854 PyObject
* obj1
= 0 ;
23855 char *kwnames
[] = {
23856 (char *) "self",(char *) "col", NULL
23859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
23861 if (SWIG_arg_fail(1)) SWIG_fail
;
23864 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23868 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
23870 wxPyEndAllowThreads(__tstate
);
23871 if (PyErr_Occurred()) SWIG_fail
;
23874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23882 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23883 PyObject
*resultobj
;
23884 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23886 wxListItem
*result
;
23887 PyObject
* obj0
= 0 ;
23888 PyObject
* obj1
= 0 ;
23889 char *kwnames
[] = {
23890 (char *) "self",(char *) "col", NULL
23893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
23894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
23895 if (SWIG_arg_fail(1)) SWIG_fail
;
23897 arg2
= (int)(SWIG_As_int(obj1
));
23898 if (SWIG_arg_fail(2)) SWIG_fail
;
23901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23902 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
23904 wxPyEndAllowThreads(__tstate
);
23905 if (PyErr_Occurred()) SWIG_fail
;
23908 resultobj
= wxPyMake_wxObject(result
, 0);
23916 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23917 PyObject
*resultobj
;
23918 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23920 wxListItem
*arg3
= 0 ;
23922 PyObject
* obj0
= 0 ;
23923 PyObject
* obj1
= 0 ;
23924 PyObject
* obj2
= 0 ;
23925 char *kwnames
[] = {
23926 (char *) "self",(char *) "col",(char *) "item", NULL
23929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
23931 if (SWIG_arg_fail(1)) SWIG_fail
;
23933 arg2
= (int)(SWIG_As_int(obj1
));
23934 if (SWIG_arg_fail(2)) SWIG_fail
;
23937 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23938 if (SWIG_arg_fail(3)) SWIG_fail
;
23939 if (arg3
== NULL
) {
23940 SWIG_null_ref("wxListItem");
23942 if (SWIG_arg_fail(3)) SWIG_fail
;
23945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23946 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
23948 wxPyEndAllowThreads(__tstate
);
23949 if (PyErr_Occurred()) SWIG_fail
;
23952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23960 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23961 PyObject
*resultobj
;
23962 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23965 PyObject
* obj0
= 0 ;
23966 PyObject
* obj1
= 0 ;
23967 char *kwnames
[] = {
23968 (char *) "self",(char *) "col", NULL
23971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
23972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
23973 if (SWIG_arg_fail(1)) SWIG_fail
;
23975 arg2
= (int)(SWIG_As_int(obj1
));
23976 if (SWIG_arg_fail(2)) SWIG_fail
;
23979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23980 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
23982 wxPyEndAllowThreads(__tstate
);
23983 if (PyErr_Occurred()) SWIG_fail
;
23986 resultobj
= SWIG_From_int((int)(result
));
23994 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23995 PyObject
*resultobj
;
23996 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24000 PyObject
* obj0
= 0 ;
24001 PyObject
* obj1
= 0 ;
24002 PyObject
* obj2
= 0 ;
24003 char *kwnames
[] = {
24004 (char *) "self",(char *) "col",(char *) "width", NULL
24007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24009 if (SWIG_arg_fail(1)) SWIG_fail
;
24011 arg2
= (int)(SWIG_As_int(obj1
));
24012 if (SWIG_arg_fail(2)) SWIG_fail
;
24015 arg3
= (int)(SWIG_As_int(obj2
));
24016 if (SWIG_arg_fail(3)) SWIG_fail
;
24019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24020 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
24022 wxPyEndAllowThreads(__tstate
);
24023 if (PyErr_Occurred()) SWIG_fail
;
24026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24034 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24035 PyObject
*resultobj
;
24036 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24038 PyObject
* obj0
= 0 ;
24039 char *kwnames
[] = {
24040 (char *) "self", NULL
24043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
24044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24045 if (SWIG_arg_fail(1)) SWIG_fail
;
24047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24048 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
24050 wxPyEndAllowThreads(__tstate
);
24051 if (PyErr_Occurred()) SWIG_fail
;
24054 resultobj
= SWIG_From_int((int)(result
));
24062 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24063 PyObject
*resultobj
;
24064 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24066 PyObject
* obj0
= 0 ;
24067 char *kwnames
[] = {
24068 (char *) "self", NULL
24071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
24072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24073 if (SWIG_arg_fail(1)) SWIG_fail
;
24075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24076 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
24078 wxPyEndAllowThreads(__tstate
);
24079 if (PyErr_Occurred()) SWIG_fail
;
24082 wxRect
* resultptr
;
24083 resultptr
= new wxRect((wxRect
&)(result
));
24084 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
24092 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24093 PyObject
*resultobj
;
24094 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24096 int arg3
= (int) 0 ;
24097 wxListItem
*result
;
24098 PyObject
* obj0
= 0 ;
24099 PyObject
* obj1
= 0 ;
24100 PyObject
* obj2
= 0 ;
24101 char *kwnames
[] = {
24102 (char *) "self",(char *) "itemId",(char *) "col", NULL
24105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24107 if (SWIG_arg_fail(1)) SWIG_fail
;
24109 arg2
= (long)(SWIG_As_long(obj1
));
24110 if (SWIG_arg_fail(2)) SWIG_fail
;
24114 arg3
= (int)(SWIG_As_int(obj2
));
24115 if (SWIG_arg_fail(3)) SWIG_fail
;
24119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24120 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
24122 wxPyEndAllowThreads(__tstate
);
24123 if (PyErr_Occurred()) SWIG_fail
;
24126 resultobj
= wxPyMake_wxObject(result
, 0);
24134 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24135 PyObject
*resultobj
;
24136 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24137 wxListItem
*arg2
= 0 ;
24139 PyObject
* obj0
= 0 ;
24140 PyObject
* obj1
= 0 ;
24141 char *kwnames
[] = {
24142 (char *) "self",(char *) "info", NULL
24145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24147 if (SWIG_arg_fail(1)) SWIG_fail
;
24149 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24150 if (SWIG_arg_fail(2)) SWIG_fail
;
24151 if (arg2
== NULL
) {
24152 SWIG_null_ref("wxListItem");
24154 if (SWIG_arg_fail(2)) SWIG_fail
;
24157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24158 result
= (bool)(arg1
)->SetItem(*arg2
);
24160 wxPyEndAllowThreads(__tstate
);
24161 if (PyErr_Occurred()) SWIG_fail
;
24164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24172 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24173 PyObject
*resultobj
;
24174 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24177 wxString
*arg4
= 0 ;
24178 int arg5
= (int) -1 ;
24180 bool temp4
= false ;
24181 PyObject
* obj0
= 0 ;
24182 PyObject
* obj1
= 0 ;
24183 PyObject
* obj2
= 0 ;
24184 PyObject
* obj3
= 0 ;
24185 PyObject
* obj4
= 0 ;
24186 char *kwnames
[] = {
24187 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
24190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24192 if (SWIG_arg_fail(1)) SWIG_fail
;
24194 arg2
= (long)(SWIG_As_long(obj1
));
24195 if (SWIG_arg_fail(2)) SWIG_fail
;
24198 arg3
= (int)(SWIG_As_int(obj2
));
24199 if (SWIG_arg_fail(3)) SWIG_fail
;
24202 arg4
= wxString_in_helper(obj3
);
24203 if (arg4
== NULL
) SWIG_fail
;
24208 arg5
= (int)(SWIG_As_int(obj4
));
24209 if (SWIG_arg_fail(5)) SWIG_fail
;
24213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24214 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
24216 wxPyEndAllowThreads(__tstate
);
24217 if (PyErr_Occurred()) SWIG_fail
;
24220 resultobj
= SWIG_From_long((long)(result
));
24236 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24237 PyObject
*resultobj
;
24238 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24242 PyObject
* obj0
= 0 ;
24243 PyObject
* obj1
= 0 ;
24244 PyObject
* obj2
= 0 ;
24245 char *kwnames
[] = {
24246 (char *) "self",(char *) "item",(char *) "stateMask", NULL
24249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24251 if (SWIG_arg_fail(1)) SWIG_fail
;
24253 arg2
= (long)(SWIG_As_long(obj1
));
24254 if (SWIG_arg_fail(2)) SWIG_fail
;
24257 arg3
= (long)(SWIG_As_long(obj2
));
24258 if (SWIG_arg_fail(3)) SWIG_fail
;
24261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24262 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
24264 wxPyEndAllowThreads(__tstate
);
24265 if (PyErr_Occurred()) SWIG_fail
;
24268 resultobj
= SWIG_From_int((int)(result
));
24276 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24277 PyObject
*resultobj
;
24278 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24283 PyObject
* obj0
= 0 ;
24284 PyObject
* obj1
= 0 ;
24285 PyObject
* obj2
= 0 ;
24286 PyObject
* obj3
= 0 ;
24287 char *kwnames
[] = {
24288 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
24291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24293 if (SWIG_arg_fail(1)) SWIG_fail
;
24295 arg2
= (long)(SWIG_As_long(obj1
));
24296 if (SWIG_arg_fail(2)) SWIG_fail
;
24299 arg3
= (long)(SWIG_As_long(obj2
));
24300 if (SWIG_arg_fail(3)) SWIG_fail
;
24303 arg4
= (long)(SWIG_As_long(obj3
));
24304 if (SWIG_arg_fail(4)) SWIG_fail
;
24307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24308 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
24310 wxPyEndAllowThreads(__tstate
);
24311 if (PyErr_Occurred()) SWIG_fail
;
24314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24322 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24323 PyObject
*resultobj
;
24324 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24327 int arg4
= (int) -1 ;
24329 PyObject
* obj0
= 0 ;
24330 PyObject
* obj1
= 0 ;
24331 PyObject
* obj2
= 0 ;
24332 PyObject
* obj3
= 0 ;
24333 char *kwnames
[] = {
24334 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
24337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24339 if (SWIG_arg_fail(1)) SWIG_fail
;
24341 arg2
= (long)(SWIG_As_long(obj1
));
24342 if (SWIG_arg_fail(2)) SWIG_fail
;
24345 arg3
= (int)(SWIG_As_int(obj2
));
24346 if (SWIG_arg_fail(3)) SWIG_fail
;
24350 arg4
= (int)(SWIG_As_int(obj3
));
24351 if (SWIG_arg_fail(4)) SWIG_fail
;
24355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24356 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
24358 wxPyEndAllowThreads(__tstate
);
24359 if (PyErr_Occurred()) SWIG_fail
;
24362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24370 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24371 PyObject
*resultobj
;
24372 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24375 PyObject
* obj0
= 0 ;
24376 PyObject
* obj1
= 0 ;
24377 char *kwnames
[] = {
24378 (char *) "self",(char *) "item", NULL
24381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
24382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24383 if (SWIG_arg_fail(1)) SWIG_fail
;
24385 arg2
= (long)(SWIG_As_long(obj1
));
24386 if (SWIG_arg_fail(2)) SWIG_fail
;
24389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24390 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
24392 wxPyEndAllowThreads(__tstate
);
24393 if (PyErr_Occurred()) SWIG_fail
;
24397 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24399 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24408 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24409 PyObject
*resultobj
;
24410 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24412 wxString
*arg3
= 0 ;
24413 bool temp3
= false ;
24414 PyObject
* obj0
= 0 ;
24415 PyObject
* obj1
= 0 ;
24416 PyObject
* obj2
= 0 ;
24417 char *kwnames
[] = {
24418 (char *) "self",(char *) "item",(char *) "str", NULL
24421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24423 if (SWIG_arg_fail(1)) SWIG_fail
;
24425 arg2
= (long)(SWIG_As_long(obj1
));
24426 if (SWIG_arg_fail(2)) SWIG_fail
;
24429 arg3
= wxString_in_helper(obj2
);
24430 if (arg3
== NULL
) SWIG_fail
;
24434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24435 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
24437 wxPyEndAllowThreads(__tstate
);
24438 if (PyErr_Occurred()) SWIG_fail
;
24440 Py_INCREF(Py_None
); resultobj
= Py_None
;
24455 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24456 PyObject
*resultobj
;
24457 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24460 PyObject
* obj0
= 0 ;
24461 PyObject
* obj1
= 0 ;
24462 char *kwnames
[] = {
24463 (char *) "self",(char *) "item", NULL
24466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
24467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24468 if (SWIG_arg_fail(1)) SWIG_fail
;
24470 arg2
= (long)(SWIG_As_long(obj1
));
24471 if (SWIG_arg_fail(2)) SWIG_fail
;
24474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24475 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
24477 wxPyEndAllowThreads(__tstate
);
24478 if (PyErr_Occurred()) SWIG_fail
;
24481 resultobj
= SWIG_From_long((long)(result
));
24489 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24490 PyObject
*resultobj
;
24491 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24495 PyObject
* obj0
= 0 ;
24496 PyObject
* obj1
= 0 ;
24497 PyObject
* obj2
= 0 ;
24498 char *kwnames
[] = {
24499 (char *) "self",(char *) "item",(char *) "data", NULL
24502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24504 if (SWIG_arg_fail(1)) SWIG_fail
;
24506 arg2
= (long)(SWIG_As_long(obj1
));
24507 if (SWIG_arg_fail(2)) SWIG_fail
;
24510 arg3
= (long)(SWIG_As_long(obj2
));
24511 if (SWIG_arg_fail(3)) SWIG_fail
;
24514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24515 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
24517 wxPyEndAllowThreads(__tstate
);
24518 if (PyErr_Occurred()) SWIG_fail
;
24521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24529 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24530 PyObject
*resultobj
;
24531 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24534 PyObject
* obj0
= 0 ;
24535 PyObject
* obj1
= 0 ;
24536 char *kwnames
[] = {
24537 (char *) "self",(char *) "item", NULL
24540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
24541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24542 if (SWIG_arg_fail(1)) SWIG_fail
;
24544 arg2
= (long)(SWIG_As_long(obj1
));
24545 if (SWIG_arg_fail(2)) SWIG_fail
;
24548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24549 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
24551 wxPyEndAllowThreads(__tstate
);
24552 if (PyErr_Occurred()) SWIG_fail
;
24555 wxPoint
* resultptr
;
24556 resultptr
= new wxPoint((wxPoint
&)(result
));
24557 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24565 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24566 PyObject
*resultobj
;
24567 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24569 int arg3
= (int) wxLIST_RECT_BOUNDS
;
24571 PyObject
* obj0
= 0 ;
24572 PyObject
* obj1
= 0 ;
24573 PyObject
* obj2
= 0 ;
24574 char *kwnames
[] = {
24575 (char *) "self",(char *) "item",(char *) "code", NULL
24578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",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
;
24587 arg3
= (int)(SWIG_As_int(obj2
));
24588 if (SWIG_arg_fail(3)) SWIG_fail
;
24592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24593 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
24595 wxPyEndAllowThreads(__tstate
);
24596 if (PyErr_Occurred()) SWIG_fail
;
24599 wxRect
* resultptr
;
24600 resultptr
= new wxRect((wxRect
&)(result
));
24601 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
24609 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24610 PyObject
*resultobj
;
24611 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24613 wxPoint
*arg3
= 0 ;
24616 PyObject
* obj0
= 0 ;
24617 PyObject
* obj1
= 0 ;
24618 PyObject
* obj2
= 0 ;
24619 char *kwnames
[] = {
24620 (char *) "self",(char *) "item",(char *) "pos", NULL
24623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) 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
;
24632 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24636 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
24638 wxPyEndAllowThreads(__tstate
);
24639 if (PyErr_Occurred()) SWIG_fail
;
24642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24650 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24651 PyObject
*resultobj
;
24652 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24654 PyObject
* obj0
= 0 ;
24655 char *kwnames
[] = {
24656 (char *) "self", NULL
24659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24664 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
24666 wxPyEndAllowThreads(__tstate
);
24667 if (PyErr_Occurred()) SWIG_fail
;
24670 resultobj
= SWIG_From_int((int)(result
));
24678 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24679 PyObject
*resultobj
;
24680 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24682 PyObject
* obj0
= 0 ;
24683 char *kwnames
[] = {
24684 (char *) "self", NULL
24687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
24688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24689 if (SWIG_arg_fail(1)) SWIG_fail
;
24691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24692 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
24694 wxPyEndAllowThreads(__tstate
);
24695 if (PyErr_Occurred()) SWIG_fail
;
24698 resultobj
= SWIG_From_int((int)(result
));
24706 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24707 PyObject
*resultobj
;
24708 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24710 PyObject
* obj0
= 0 ;
24711 char *kwnames
[] = {
24712 (char *) "self", NULL
24715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
24716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24717 if (SWIG_arg_fail(1)) SWIG_fail
;
24719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24720 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
24722 wxPyEndAllowThreads(__tstate
);
24723 if (PyErr_Occurred()) SWIG_fail
;
24726 wxSize
* resultptr
;
24727 resultptr
= new wxSize((wxSize
&)(result
));
24728 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24736 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24737 PyObject
*resultobj
;
24738 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24740 bool arg3
= (bool) false ;
24741 PyObject
* obj0
= 0 ;
24742 PyObject
* obj1
= 0 ;
24743 PyObject
* obj2
= 0 ;
24744 char *kwnames
[] = {
24745 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
24748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24750 if (SWIG_arg_fail(1)) SWIG_fail
;
24752 arg2
= (int)(SWIG_As_int(obj1
));
24753 if (SWIG_arg_fail(2)) SWIG_fail
;
24757 arg3
= (bool)(SWIG_As_bool(obj2
));
24758 if (SWIG_arg_fail(3)) SWIG_fail
;
24762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24763 (arg1
)->SetItemSpacing(arg2
,arg3
);
24765 wxPyEndAllowThreads(__tstate
);
24766 if (PyErr_Occurred()) SWIG_fail
;
24768 Py_INCREF(Py_None
); resultobj
= Py_None
;
24775 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24776 PyObject
*resultobj
;
24777 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24779 PyObject
* obj0
= 0 ;
24780 char *kwnames
[] = {
24781 (char *) "self", NULL
24784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
24785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24786 if (SWIG_arg_fail(1)) SWIG_fail
;
24788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24789 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
24791 wxPyEndAllowThreads(__tstate
);
24792 if (PyErr_Occurred()) SWIG_fail
;
24795 resultobj
= SWIG_From_int((int)(result
));
24803 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24804 PyObject
*resultobj
;
24805 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24807 PyObject
* obj0
= 0 ;
24808 char *kwnames
[] = {
24809 (char *) "self", NULL
24812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
24813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24814 if (SWIG_arg_fail(1)) SWIG_fail
;
24816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24817 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
24819 wxPyEndAllowThreads(__tstate
);
24820 if (PyErr_Occurred()) SWIG_fail
;
24823 wxColour
* resultptr
;
24824 resultptr
= new wxColour((wxColour
&)(result
));
24825 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24833 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24834 PyObject
*resultobj
;
24835 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24836 wxColour
*arg2
= 0 ;
24838 PyObject
* obj0
= 0 ;
24839 PyObject
* obj1
= 0 ;
24840 char *kwnames
[] = {
24841 (char *) "self",(char *) "col", NULL
24844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24846 if (SWIG_arg_fail(1)) SWIG_fail
;
24849 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24853 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
24855 wxPyEndAllowThreads(__tstate
);
24856 if (PyErr_Occurred()) SWIG_fail
;
24858 Py_INCREF(Py_None
); resultobj
= Py_None
;
24865 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24866 PyObject
*resultobj
;
24867 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24869 PyObject
* obj0
= 0 ;
24870 char *kwnames
[] = {
24871 (char *) "self", NULL
24874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
24875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24876 if (SWIG_arg_fail(1)) SWIG_fail
;
24878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24879 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
24881 wxPyEndAllowThreads(__tstate
);
24882 if (PyErr_Occurred()) SWIG_fail
;
24885 resultobj
= SWIG_From_long((long)(result
));
24893 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24894 PyObject
*resultobj
;
24895 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24897 bool arg3
= (bool) true ;
24898 PyObject
* obj0
= 0 ;
24899 PyObject
* obj1
= 0 ;
24900 PyObject
* obj2
= 0 ;
24901 char *kwnames
[] = {
24902 (char *) "self",(char *) "style",(char *) "add", NULL
24905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24907 if (SWIG_arg_fail(1)) SWIG_fail
;
24909 arg2
= (long)(SWIG_As_long(obj1
));
24910 if (SWIG_arg_fail(2)) SWIG_fail
;
24914 arg3
= (bool)(SWIG_As_bool(obj2
));
24915 if (SWIG_arg_fail(3)) SWIG_fail
;
24919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24920 (arg1
)->SetSingleStyle(arg2
,arg3
);
24922 wxPyEndAllowThreads(__tstate
);
24923 if (PyErr_Occurred()) SWIG_fail
;
24925 Py_INCREF(Py_None
); resultobj
= Py_None
;
24932 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24933 PyObject
*resultobj
;
24934 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24936 PyObject
* obj0
= 0 ;
24937 PyObject
* obj1
= 0 ;
24938 char *kwnames
[] = {
24939 (char *) "self",(char *) "style", NULL
24942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
24943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24944 if (SWIG_arg_fail(1)) SWIG_fail
;
24946 arg2
= (long)(SWIG_As_long(obj1
));
24947 if (SWIG_arg_fail(2)) SWIG_fail
;
24950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24951 (arg1
)->SetWindowStyleFlag(arg2
);
24953 wxPyEndAllowThreads(__tstate
);
24954 if (PyErr_Occurred()) SWIG_fail
;
24956 Py_INCREF(Py_None
); resultobj
= Py_None
;
24963 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24964 PyObject
*resultobj
;
24965 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24967 int arg3
= (int) wxLIST_NEXT_ALL
;
24968 int arg4
= (int) wxLIST_STATE_DONTCARE
;
24970 PyObject
* obj0
= 0 ;
24971 PyObject
* obj1
= 0 ;
24972 PyObject
* obj2
= 0 ;
24973 PyObject
* obj3
= 0 ;
24974 char *kwnames
[] = {
24975 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
24978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24980 if (SWIG_arg_fail(1)) SWIG_fail
;
24982 arg2
= (long)(SWIG_As_long(obj1
));
24983 if (SWIG_arg_fail(2)) SWIG_fail
;
24987 arg3
= (int)(SWIG_As_int(obj2
));
24988 if (SWIG_arg_fail(3)) SWIG_fail
;
24993 arg4
= (int)(SWIG_As_int(obj3
));
24994 if (SWIG_arg_fail(4)) SWIG_fail
;
24998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24999 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
25001 wxPyEndAllowThreads(__tstate
);
25002 if (PyErr_Occurred()) SWIG_fail
;
25005 resultobj
= SWIG_From_long((long)(result
));
25013 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25014 PyObject
*resultobj
;
25015 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25017 wxImageList
*result
;
25018 PyObject
* obj0
= 0 ;
25019 PyObject
* obj1
= 0 ;
25020 char *kwnames
[] = {
25021 (char *) "self",(char *) "which", NULL
25024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25026 if (SWIG_arg_fail(1)) SWIG_fail
;
25028 arg2
= (int)(SWIG_As_int(obj1
));
25029 if (SWIG_arg_fail(2)) SWIG_fail
;
25032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25033 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
25035 wxPyEndAllowThreads(__tstate
);
25036 if (PyErr_Occurred()) SWIG_fail
;
25039 resultobj
= wxPyMake_wxObject(result
, 0);
25047 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25048 PyObject
*resultobj
;
25049 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25050 wxImageList
*arg2
= (wxImageList
*) 0 ;
25052 PyObject
* obj0
= 0 ;
25053 PyObject
* obj1
= 0 ;
25054 PyObject
* obj2
= 0 ;
25055 char *kwnames
[] = {
25056 (char *) "self",(char *) "imageList",(char *) "which", NULL
25059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25061 if (SWIG_arg_fail(1)) SWIG_fail
;
25062 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
25063 if (SWIG_arg_fail(2)) SWIG_fail
;
25065 arg3
= (int)(SWIG_As_int(obj2
));
25066 if (SWIG_arg_fail(3)) SWIG_fail
;
25069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25070 (arg1
)->SetImageList(arg2
,arg3
);
25072 wxPyEndAllowThreads(__tstate
);
25073 if (PyErr_Occurred()) SWIG_fail
;
25075 Py_INCREF(Py_None
); resultobj
= Py_None
;
25082 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25083 PyObject
*resultobj
;
25084 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25085 wxImageList
*arg2
= (wxImageList
*) 0 ;
25087 PyObject
* obj0
= 0 ;
25088 PyObject
* obj1
= 0 ;
25089 PyObject
* obj2
= 0 ;
25090 char *kwnames
[] = {
25091 (char *) "self",(char *) "imageList",(char *) "which", NULL
25094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25096 if (SWIG_arg_fail(1)) SWIG_fail
;
25097 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25098 if (SWIG_arg_fail(2)) SWIG_fail
;
25100 arg3
= (int)(SWIG_As_int(obj2
));
25101 if (SWIG_arg_fail(3)) SWIG_fail
;
25104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25105 (arg1
)->AssignImageList(arg2
,arg3
);
25107 wxPyEndAllowThreads(__tstate
);
25108 if (PyErr_Occurred()) SWIG_fail
;
25110 Py_INCREF(Py_None
); resultobj
= Py_None
;
25117 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25118 PyObject
*resultobj
;
25119 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25121 PyObject
* obj0
= 0 ;
25122 char *kwnames
[] = {
25123 (char *) "self", NULL
25126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
25127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25128 if (SWIG_arg_fail(1)) SWIG_fail
;
25130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25131 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
25133 wxPyEndAllowThreads(__tstate
);
25134 if (PyErr_Occurred()) SWIG_fail
;
25137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25145 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25146 PyObject
*resultobj
;
25147 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25149 PyObject
* obj0
= 0 ;
25150 char *kwnames
[] = {
25151 (char *) "self", NULL
25154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
25155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25156 if (SWIG_arg_fail(1)) SWIG_fail
;
25158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25159 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
25161 wxPyEndAllowThreads(__tstate
);
25162 if (PyErr_Occurred()) SWIG_fail
;
25165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25173 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25174 PyObject
*resultobj
;
25175 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25177 PyObject
* obj0
= 0 ;
25178 PyObject
* obj1
= 0 ;
25179 char *kwnames
[] = {
25180 (char *) "self",(char *) "item", NULL
25183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25185 if (SWIG_arg_fail(1)) SWIG_fail
;
25187 arg2
= (long)(SWIG_As_long(obj1
));
25188 if (SWIG_arg_fail(2)) SWIG_fail
;
25191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25192 (arg1
)->RefreshItem(arg2
);
25194 wxPyEndAllowThreads(__tstate
);
25195 if (PyErr_Occurred()) SWIG_fail
;
25197 Py_INCREF(Py_None
); resultobj
= Py_None
;
25204 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25205 PyObject
*resultobj
;
25206 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25209 PyObject
* obj0
= 0 ;
25210 PyObject
* obj1
= 0 ;
25211 PyObject
* obj2
= 0 ;
25212 char *kwnames
[] = {
25213 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
25216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25218 if (SWIG_arg_fail(1)) SWIG_fail
;
25220 arg2
= (long)(SWIG_As_long(obj1
));
25221 if (SWIG_arg_fail(2)) SWIG_fail
;
25224 arg3
= (long)(SWIG_As_long(obj2
));
25225 if (SWIG_arg_fail(3)) SWIG_fail
;
25228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25229 (arg1
)->RefreshItems(arg2
,arg3
);
25231 wxPyEndAllowThreads(__tstate
);
25232 if (PyErr_Occurred()) SWIG_fail
;
25234 Py_INCREF(Py_None
); resultobj
= Py_None
;
25241 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25242 PyObject
*resultobj
;
25243 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25244 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
25246 PyObject
* obj0
= 0 ;
25247 PyObject
* obj1
= 0 ;
25248 char *kwnames
[] = {
25249 (char *) "self",(char *) "flag", NULL
25252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
25253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25254 if (SWIG_arg_fail(1)) SWIG_fail
;
25257 arg2
= (int)(SWIG_As_int(obj1
));
25258 if (SWIG_arg_fail(2)) SWIG_fail
;
25262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25263 result
= (bool)(arg1
)->Arrange(arg2
);
25265 wxPyEndAllowThreads(__tstate
);
25266 if (PyErr_Occurred()) SWIG_fail
;
25269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25277 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25278 PyObject
*resultobj
;
25279 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25282 PyObject
* obj0
= 0 ;
25283 PyObject
* obj1
= 0 ;
25284 char *kwnames
[] = {
25285 (char *) "self",(char *) "item", NULL
25288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25290 if (SWIG_arg_fail(1)) SWIG_fail
;
25292 arg2
= (long)(SWIG_As_long(obj1
));
25293 if (SWIG_arg_fail(2)) SWIG_fail
;
25296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25297 result
= (bool)(arg1
)->DeleteItem(arg2
);
25299 wxPyEndAllowThreads(__tstate
);
25300 if (PyErr_Occurred()) SWIG_fail
;
25303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25311 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25312 PyObject
*resultobj
;
25313 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25315 PyObject
* obj0
= 0 ;
25316 char *kwnames
[] = {
25317 (char *) "self", NULL
25320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
25321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25322 if (SWIG_arg_fail(1)) SWIG_fail
;
25324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25325 result
= (bool)(arg1
)->DeleteAllItems();
25327 wxPyEndAllowThreads(__tstate
);
25328 if (PyErr_Occurred()) SWIG_fail
;
25331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25339 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25340 PyObject
*resultobj
;
25341 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25344 PyObject
* obj0
= 0 ;
25345 PyObject
* obj1
= 0 ;
25346 char *kwnames
[] = {
25347 (char *) "self",(char *) "col", NULL
25350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
25351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25352 if (SWIG_arg_fail(1)) SWIG_fail
;
25354 arg2
= (int)(SWIG_As_int(obj1
));
25355 if (SWIG_arg_fail(2)) SWIG_fail
;
25358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25359 result
= (bool)(arg1
)->DeleteColumn(arg2
);
25361 wxPyEndAllowThreads(__tstate
);
25362 if (PyErr_Occurred()) SWIG_fail
;
25365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25373 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25374 PyObject
*resultobj
;
25375 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25377 PyObject
* obj0
= 0 ;
25378 char *kwnames
[] = {
25379 (char *) "self", NULL
25382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
25383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25384 if (SWIG_arg_fail(1)) SWIG_fail
;
25386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25387 result
= (bool)(arg1
)->DeleteAllColumns();
25389 wxPyEndAllowThreads(__tstate
);
25390 if (PyErr_Occurred()) SWIG_fail
;
25393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25401 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25402 PyObject
*resultobj
;
25403 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25404 PyObject
* obj0
= 0 ;
25405 char *kwnames
[] = {
25406 (char *) "self", NULL
25409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
25410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25411 if (SWIG_arg_fail(1)) SWIG_fail
;
25413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25414 (arg1
)->ClearAll();
25416 wxPyEndAllowThreads(__tstate
);
25417 if (PyErr_Occurred()) SWIG_fail
;
25419 Py_INCREF(Py_None
); resultobj
= Py_None
;
25426 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25427 PyObject
*resultobj
;
25428 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25430 PyObject
* obj0
= 0 ;
25431 PyObject
* obj1
= 0 ;
25432 char *kwnames
[] = {
25433 (char *) "self",(char *) "item", NULL
25436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25438 if (SWIG_arg_fail(1)) SWIG_fail
;
25440 arg2
= (long)(SWIG_As_long(obj1
));
25441 if (SWIG_arg_fail(2)) SWIG_fail
;
25444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25445 (arg1
)->EditLabel(arg2
);
25447 wxPyEndAllowThreads(__tstate
);
25448 if (PyErr_Occurred()) SWIG_fail
;
25450 Py_INCREF(Py_None
); resultobj
= Py_None
;
25457 static PyObject
*_wrap_ListCtrl_EnsureVisible(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 *) "item", NULL
25468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",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
= (long)(SWIG_As_long(obj1
));
25473 if (SWIG_arg_fail(2)) SWIG_fail
;
25476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25477 result
= (bool)(arg1
)->EnsureVisible(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_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25492 PyObject
*resultobj
;
25493 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25495 wxString
*arg3
= 0 ;
25496 bool arg4
= (bool) false ;
25498 bool temp3
= false ;
25499 PyObject
* obj0
= 0 ;
25500 PyObject
* obj1
= 0 ;
25501 PyObject
* obj2
= 0 ;
25502 PyObject
* obj3
= 0 ;
25503 char *kwnames
[] = {
25504 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
25507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25509 if (SWIG_arg_fail(1)) SWIG_fail
;
25511 arg2
= (long)(SWIG_As_long(obj1
));
25512 if (SWIG_arg_fail(2)) SWIG_fail
;
25515 arg3
= wxString_in_helper(obj2
);
25516 if (arg3
== NULL
) SWIG_fail
;
25521 arg4
= (bool)(SWIG_As_bool(obj3
));
25522 if (SWIG_arg_fail(4)) SWIG_fail
;
25526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25527 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
25529 wxPyEndAllowThreads(__tstate
);
25530 if (PyErr_Occurred()) SWIG_fail
;
25533 resultobj
= SWIG_From_long((long)(result
));
25549 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25550 PyObject
*resultobj
;
25551 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25555 PyObject
* obj0
= 0 ;
25556 PyObject
* obj1
= 0 ;
25557 PyObject
* obj2
= 0 ;
25558 char *kwnames
[] = {
25559 (char *) "self",(char *) "start",(char *) "data", NULL
25562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25564 if (SWIG_arg_fail(1)) SWIG_fail
;
25566 arg2
= (long)(SWIG_As_long(obj1
));
25567 if (SWIG_arg_fail(2)) SWIG_fail
;
25570 arg3
= (long)(SWIG_As_long(obj2
));
25571 if (SWIG_arg_fail(3)) SWIG_fail
;
25574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25575 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
25577 wxPyEndAllowThreads(__tstate
);
25578 if (PyErr_Occurred()) SWIG_fail
;
25581 resultobj
= SWIG_From_long((long)(result
));
25589 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25590 PyObject
*resultobj
;
25591 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25593 wxPoint
*arg3
= 0 ;
25597 PyObject
* obj0
= 0 ;
25598 PyObject
* obj1
= 0 ;
25599 PyObject
* obj2
= 0 ;
25600 PyObject
* obj3
= 0 ;
25601 char *kwnames
[] = {
25602 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
25605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25607 if (SWIG_arg_fail(1)) SWIG_fail
;
25609 arg2
= (long)(SWIG_As_long(obj1
));
25610 if (SWIG_arg_fail(2)) SWIG_fail
;
25614 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25617 arg4
= (int)(SWIG_As_int(obj3
));
25618 if (SWIG_arg_fail(4)) SWIG_fail
;
25621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25622 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
25624 wxPyEndAllowThreads(__tstate
);
25625 if (PyErr_Occurred()) SWIG_fail
;
25628 resultobj
= SWIG_From_long((long)(result
));
25636 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25637 PyObject
*resultobj
;
25638 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25639 wxPoint
*arg2
= 0 ;
25645 PyObject
* obj0
= 0 ;
25646 PyObject
* obj1
= 0 ;
25647 char *kwnames
[] = {
25648 (char *) "self",(char *) "point", NULL
25651 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
25653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25654 if (SWIG_arg_fail(1)) SWIG_fail
;
25657 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25661 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
25663 wxPyEndAllowThreads(__tstate
);
25664 if (PyErr_Occurred()) SWIG_fail
;
25667 resultobj
= SWIG_From_long((long)(result
));
25669 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25670 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25677 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25678 PyObject
*resultobj
;
25679 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25680 wxListItem
*arg2
= 0 ;
25682 PyObject
* obj0
= 0 ;
25683 PyObject
* obj1
= 0 ;
25684 char *kwnames
[] = {
25685 (char *) "self",(char *) "info", NULL
25688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25690 if (SWIG_arg_fail(1)) SWIG_fail
;
25692 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
25693 if (SWIG_arg_fail(2)) SWIG_fail
;
25694 if (arg2
== NULL
) {
25695 SWIG_null_ref("wxListItem");
25697 if (SWIG_arg_fail(2)) SWIG_fail
;
25700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25701 result
= (long)(arg1
)->InsertItem(*arg2
);
25703 wxPyEndAllowThreads(__tstate
);
25704 if (PyErr_Occurred()) SWIG_fail
;
25707 resultobj
= SWIG_From_long((long)(result
));
25715 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25716 PyObject
*resultobj
;
25717 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25719 wxString
*arg3
= 0 ;
25721 bool temp3
= false ;
25722 PyObject
* obj0
= 0 ;
25723 PyObject
* obj1
= 0 ;
25724 PyObject
* obj2
= 0 ;
25725 char *kwnames
[] = {
25726 (char *) "self",(char *) "index",(char *) "label", NULL
25729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25731 if (SWIG_arg_fail(1)) SWIG_fail
;
25733 arg2
= (long)(SWIG_As_long(obj1
));
25734 if (SWIG_arg_fail(2)) SWIG_fail
;
25737 arg3
= wxString_in_helper(obj2
);
25738 if (arg3
== NULL
) SWIG_fail
;
25742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25743 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
25745 wxPyEndAllowThreads(__tstate
);
25746 if (PyErr_Occurred()) SWIG_fail
;
25749 resultobj
= SWIG_From_long((long)(result
));
25765 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25766 PyObject
*resultobj
;
25767 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25771 PyObject
* obj0
= 0 ;
25772 PyObject
* obj1
= 0 ;
25773 PyObject
* obj2
= 0 ;
25774 char *kwnames
[] = {
25775 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
25778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25780 if (SWIG_arg_fail(1)) SWIG_fail
;
25782 arg2
= (long)(SWIG_As_long(obj1
));
25783 if (SWIG_arg_fail(2)) SWIG_fail
;
25786 arg3
= (int)(SWIG_As_int(obj2
));
25787 if (SWIG_arg_fail(3)) SWIG_fail
;
25790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25791 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
25793 wxPyEndAllowThreads(__tstate
);
25794 if (PyErr_Occurred()) SWIG_fail
;
25797 resultobj
= SWIG_From_long((long)(result
));
25805 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25806 PyObject
*resultobj
;
25807 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25809 wxString
*arg3
= 0 ;
25812 bool temp3
= false ;
25813 PyObject
* obj0
= 0 ;
25814 PyObject
* obj1
= 0 ;
25815 PyObject
* obj2
= 0 ;
25816 PyObject
* obj3
= 0 ;
25817 char *kwnames
[] = {
25818 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
25821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25823 if (SWIG_arg_fail(1)) SWIG_fail
;
25825 arg2
= (long)(SWIG_As_long(obj1
));
25826 if (SWIG_arg_fail(2)) SWIG_fail
;
25829 arg3
= wxString_in_helper(obj2
);
25830 if (arg3
== NULL
) SWIG_fail
;
25834 arg4
= (int)(SWIG_As_int(obj3
));
25835 if (SWIG_arg_fail(4)) SWIG_fail
;
25838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25839 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
25841 wxPyEndAllowThreads(__tstate
);
25842 if (PyErr_Occurred()) SWIG_fail
;
25845 resultobj
= SWIG_From_long((long)(result
));
25861 static PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25862 PyObject
*resultobj
;
25863 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25865 wxListItem
*arg3
= 0 ;
25867 PyObject
* obj0
= 0 ;
25868 PyObject
* obj1
= 0 ;
25869 PyObject
* obj2
= 0 ;
25870 char *kwnames
[] = {
25871 (char *) "self",(char *) "col",(char *) "info", NULL
25874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25876 if (SWIG_arg_fail(1)) SWIG_fail
;
25878 arg2
= (long)(SWIG_As_long(obj1
));
25879 if (SWIG_arg_fail(2)) SWIG_fail
;
25882 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
25883 if (SWIG_arg_fail(3)) SWIG_fail
;
25884 if (arg3
== NULL
) {
25885 SWIG_null_ref("wxListItem");
25887 if (SWIG_arg_fail(3)) SWIG_fail
;
25890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25891 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
25893 wxPyEndAllowThreads(__tstate
);
25894 if (PyErr_Occurred()) SWIG_fail
;
25897 resultobj
= SWIG_From_long((long)(result
));
25905 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25906 PyObject
*resultobj
;
25907 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25909 wxString
*arg3
= 0 ;
25910 int arg4
= (int) wxLIST_FORMAT_LEFT
;
25911 int arg5
= (int) -1 ;
25913 bool temp3
= false ;
25914 PyObject
* obj0
= 0 ;
25915 PyObject
* obj1
= 0 ;
25916 PyObject
* obj2
= 0 ;
25917 PyObject
* obj3
= 0 ;
25918 PyObject
* obj4
= 0 ;
25919 char *kwnames
[] = {
25920 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
25923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25925 if (SWIG_arg_fail(1)) SWIG_fail
;
25927 arg2
= (long)(SWIG_As_long(obj1
));
25928 if (SWIG_arg_fail(2)) SWIG_fail
;
25931 arg3
= wxString_in_helper(obj2
);
25932 if (arg3
== NULL
) SWIG_fail
;
25937 arg4
= (int)(SWIG_As_int(obj3
));
25938 if (SWIG_arg_fail(4)) SWIG_fail
;
25943 arg5
= (int)(SWIG_As_int(obj4
));
25944 if (SWIG_arg_fail(5)) SWIG_fail
;
25948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25949 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
25951 wxPyEndAllowThreads(__tstate
);
25952 if (PyErr_Occurred()) SWIG_fail
;
25955 resultobj
= SWIG_From_long((long)(result
));
25971 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25972 PyObject
*resultobj
;
25973 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25975 PyObject
* obj0
= 0 ;
25976 PyObject
* obj1
= 0 ;
25977 char *kwnames
[] = {
25978 (char *) "self",(char *) "count", NULL
25981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
25982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25983 if (SWIG_arg_fail(1)) SWIG_fail
;
25985 arg2
= (long)(SWIG_As_long(obj1
));
25986 if (SWIG_arg_fail(2)) SWIG_fail
;
25989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25990 (arg1
)->SetItemCount(arg2
);
25992 wxPyEndAllowThreads(__tstate
);
25993 if (PyErr_Occurred()) SWIG_fail
;
25995 Py_INCREF(Py_None
); resultobj
= Py_None
;
26002 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26003 PyObject
*resultobj
;
26004 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26008 PyObject
* obj0
= 0 ;
26009 PyObject
* obj1
= 0 ;
26010 PyObject
* obj2
= 0 ;
26011 char *kwnames
[] = {
26012 (char *) "self",(char *) "dx",(char *) "dy", NULL
26015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26017 if (SWIG_arg_fail(1)) SWIG_fail
;
26019 arg2
= (int)(SWIG_As_int(obj1
));
26020 if (SWIG_arg_fail(2)) SWIG_fail
;
26023 arg3
= (int)(SWIG_As_int(obj2
));
26024 if (SWIG_arg_fail(3)) SWIG_fail
;
26027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26028 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
26030 wxPyEndAllowThreads(__tstate
);
26031 if (PyErr_Occurred()) SWIG_fail
;
26034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26042 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26043 PyObject
*resultobj
;
26044 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26046 wxColour
*arg3
= 0 ;
26048 PyObject
* obj0
= 0 ;
26049 PyObject
* obj1
= 0 ;
26050 PyObject
* obj2
= 0 ;
26051 char *kwnames
[] = {
26052 (char *) "self",(char *) "item",(char *) "col", NULL
26055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26057 if (SWIG_arg_fail(1)) SWIG_fail
;
26059 arg2
= (long)(SWIG_As_long(obj1
));
26060 if (SWIG_arg_fail(2)) SWIG_fail
;
26064 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26068 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
26070 wxPyEndAllowThreads(__tstate
);
26071 if (PyErr_Occurred()) SWIG_fail
;
26073 Py_INCREF(Py_None
); resultobj
= Py_None
;
26080 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26081 PyObject
*resultobj
;
26082 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26085 PyObject
* obj0
= 0 ;
26086 PyObject
* obj1
= 0 ;
26087 char *kwnames
[] = {
26088 (char *) "self",(char *) "item", NULL
26091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26093 if (SWIG_arg_fail(1)) SWIG_fail
;
26095 arg2
= (long)(SWIG_As_long(obj1
));
26096 if (SWIG_arg_fail(2)) SWIG_fail
;
26099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26100 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
26102 wxPyEndAllowThreads(__tstate
);
26103 if (PyErr_Occurred()) SWIG_fail
;
26106 wxColour
* resultptr
;
26107 resultptr
= new wxColour((wxColour
&)(result
));
26108 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26116 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26117 PyObject
*resultobj
;
26118 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26120 wxColour
*arg3
= 0 ;
26122 PyObject
* obj0
= 0 ;
26123 PyObject
* obj1
= 0 ;
26124 PyObject
* obj2
= 0 ;
26125 char *kwnames
[] = {
26126 (char *) "self",(char *) "item",(char *) "col", NULL
26129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26131 if (SWIG_arg_fail(1)) SWIG_fail
;
26133 arg2
= (long)(SWIG_As_long(obj1
));
26134 if (SWIG_arg_fail(2)) SWIG_fail
;
26138 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26142 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
26144 wxPyEndAllowThreads(__tstate
);
26145 if (PyErr_Occurred()) SWIG_fail
;
26147 Py_INCREF(Py_None
); resultobj
= Py_None
;
26154 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26155 PyObject
*resultobj
;
26156 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26159 PyObject
* obj0
= 0 ;
26160 PyObject
* obj1
= 0 ;
26161 char *kwnames
[] = {
26162 (char *) "self",(char *) "item", NULL
26165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26167 if (SWIG_arg_fail(1)) SWIG_fail
;
26169 arg2
= (long)(SWIG_As_long(obj1
));
26170 if (SWIG_arg_fail(2)) SWIG_fail
;
26173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26174 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
26176 wxPyEndAllowThreads(__tstate
);
26177 if (PyErr_Occurred()) SWIG_fail
;
26180 wxColour
* resultptr
;
26181 resultptr
= new wxColour((wxColour
&)(result
));
26182 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26190 static PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26191 PyObject
*resultobj
;
26192 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26195 PyObject
* obj0
= 0 ;
26196 PyObject
* obj1
= 0 ;
26197 PyObject
* obj2
= 0 ;
26198 char *kwnames
[] = {
26199 (char *) "self",(char *) "item",(char *) "f", NULL
26202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26204 if (SWIG_arg_fail(1)) SWIG_fail
;
26206 arg2
= (long)(SWIG_As_long(obj1
));
26207 if (SWIG_arg_fail(2)) SWIG_fail
;
26210 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
26211 if (SWIG_arg_fail(3)) SWIG_fail
;
26212 if (arg3
== NULL
) {
26213 SWIG_null_ref("wxFont");
26215 if (SWIG_arg_fail(3)) SWIG_fail
;
26218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26219 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
26221 wxPyEndAllowThreads(__tstate
);
26222 if (PyErr_Occurred()) SWIG_fail
;
26224 Py_INCREF(Py_None
); resultobj
= Py_None
;
26231 static PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26232 PyObject
*resultobj
;
26233 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26236 PyObject
* obj0
= 0 ;
26237 PyObject
* obj1
= 0 ;
26238 char *kwnames
[] = {
26239 (char *) "self",(char *) "item", NULL
26242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26244 if (SWIG_arg_fail(1)) SWIG_fail
;
26246 arg2
= (long)(SWIG_As_long(obj1
));
26247 if (SWIG_arg_fail(2)) SWIG_fail
;
26250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26251 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
26253 wxPyEndAllowThreads(__tstate
);
26254 if (PyErr_Occurred()) SWIG_fail
;
26257 wxFont
* resultptr
;
26258 resultptr
= new wxFont((wxFont
&)(result
));
26259 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
26267 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26268 PyObject
*resultobj
;
26269 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26270 PyObject
*arg2
= (PyObject
*) 0 ;
26272 PyObject
* obj0
= 0 ;
26273 PyObject
* obj1
= 0 ;
26274 char *kwnames
[] = {
26275 (char *) "self",(char *) "func", NULL
26278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
26279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26280 if (SWIG_arg_fail(1)) SWIG_fail
;
26283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26284 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
26286 wxPyEndAllowThreads(__tstate
);
26287 if (PyErr_Occurred()) SWIG_fail
;
26290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26298 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26299 PyObject
*resultobj
;
26300 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26302 PyObject
* obj0
= 0 ;
26303 char *kwnames
[] = {
26304 (char *) "self", NULL
26307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
26308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26309 if (SWIG_arg_fail(1)) SWIG_fail
;
26311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26312 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
26314 wxPyEndAllowThreads(__tstate
);
26315 if (PyErr_Occurred()) SWIG_fail
;
26318 resultobj
= wxPyMake_wxObject(result
, 0);
26326 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26327 PyObject
*resultobj
;
26328 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
26329 wxVisualAttributes result
;
26330 PyObject
* obj0
= 0 ;
26331 char *kwnames
[] = {
26332 (char *) "variant", NULL
26335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26338 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
26339 if (SWIG_arg_fail(1)) SWIG_fail
;
26343 if (!wxPyCheckForApp()) SWIG_fail
;
26344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26345 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
26347 wxPyEndAllowThreads(__tstate
);
26348 if (PyErr_Occurred()) SWIG_fail
;
26351 wxVisualAttributes
* resultptr
;
26352 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
26353 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26361 static PyObject
* ListCtrl_swigregister(PyObject
*, PyObject
*args
) {
26363 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26364 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
26366 return Py_BuildValue((char *)"");
26368 static PyObject
*_wrap_new_ListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26369 PyObject
*resultobj
;
26370 wxWindow
*arg1
= (wxWindow
*) 0 ;
26371 int arg2
= (int) -1 ;
26372 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
26373 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
26374 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26375 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26376 long arg5
= (long) wxLC_REPORT
;
26377 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
26378 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
26379 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
26380 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26381 wxListView
*result
;
26384 bool temp7
= false ;
26385 PyObject
* obj0
= 0 ;
26386 PyObject
* obj1
= 0 ;
26387 PyObject
* obj2
= 0 ;
26388 PyObject
* obj3
= 0 ;
26389 PyObject
* obj4
= 0 ;
26390 PyObject
* obj5
= 0 ;
26391 PyObject
* obj6
= 0 ;
26392 char *kwnames
[] = {
26393 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26398 if (SWIG_arg_fail(1)) SWIG_fail
;
26401 arg2
= (int)(SWIG_As_int(obj1
));
26402 if (SWIG_arg_fail(2)) SWIG_fail
;
26408 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26414 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26419 arg5
= (long)(SWIG_As_long(obj4
));
26420 if (SWIG_arg_fail(5)) SWIG_fail
;
26425 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
26426 if (SWIG_arg_fail(6)) SWIG_fail
;
26427 if (arg6
== NULL
) {
26428 SWIG_null_ref("wxValidator");
26430 if (SWIG_arg_fail(6)) SWIG_fail
;
26435 arg7
= wxString_in_helper(obj6
);
26436 if (arg7
== NULL
) SWIG_fail
;
26441 if (!wxPyCheckForApp()) SWIG_fail
;
26442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26443 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
26445 wxPyEndAllowThreads(__tstate
);
26446 if (PyErr_Occurred()) SWIG_fail
;
26448 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
26463 static PyObject
*_wrap_new_PreListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26464 PyObject
*resultobj
;
26465 wxListView
*result
;
26466 char *kwnames
[] = {
26470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
26472 if (!wxPyCheckForApp()) SWIG_fail
;
26473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26474 result
= (wxListView
*)new wxListView();
26476 wxPyEndAllowThreads(__tstate
);
26477 if (PyErr_Occurred()) SWIG_fail
;
26479 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
26486 static PyObject
*_wrap_ListView_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26487 PyObject
*resultobj
;
26488 wxListView
*arg1
= (wxListView
*) 0 ;
26489 wxWindow
*arg2
= (wxWindow
*) 0 ;
26490 int arg3
= (int) -1 ;
26491 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26492 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26493 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26494 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26495 long arg6
= (long) wxLC_REPORT
;
26496 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
26497 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
26498 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
26499 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
26503 bool temp8
= false ;
26504 PyObject
* obj0
= 0 ;
26505 PyObject
* obj1
= 0 ;
26506 PyObject
* obj2
= 0 ;
26507 PyObject
* obj3
= 0 ;
26508 PyObject
* obj4
= 0 ;
26509 PyObject
* obj5
= 0 ;
26510 PyObject
* obj6
= 0 ;
26511 PyObject
* obj7
= 0 ;
26512 char *kwnames
[] = {
26513 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
26517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26518 if (SWIG_arg_fail(1)) SWIG_fail
;
26519 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26520 if (SWIG_arg_fail(2)) SWIG_fail
;
26523 arg3
= (int)(SWIG_As_int(obj2
));
26524 if (SWIG_arg_fail(3)) SWIG_fail
;
26530 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26536 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26541 arg6
= (long)(SWIG_As_long(obj5
));
26542 if (SWIG_arg_fail(6)) SWIG_fail
;
26547 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
26548 if (SWIG_arg_fail(7)) SWIG_fail
;
26549 if (arg7
== NULL
) {
26550 SWIG_null_ref("wxValidator");
26552 if (SWIG_arg_fail(7)) SWIG_fail
;
26557 arg8
= wxString_in_helper(obj7
);
26558 if (arg8
== NULL
) SWIG_fail
;
26563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26564 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
26566 wxPyEndAllowThreads(__tstate
);
26567 if (PyErr_Occurred()) SWIG_fail
;
26570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26586 static PyObject
*_wrap_ListView_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26587 PyObject
*resultobj
;
26588 wxListView
*arg1
= (wxListView
*) 0 ;
26590 bool arg3
= (bool) true ;
26591 PyObject
* obj0
= 0 ;
26592 PyObject
* obj1
= 0 ;
26593 PyObject
* obj2
= 0 ;
26594 char *kwnames
[] = {
26595 (char *) "self",(char *) "n",(char *) "on", NULL
26598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26600 if (SWIG_arg_fail(1)) SWIG_fail
;
26602 arg2
= (long)(SWIG_As_long(obj1
));
26603 if (SWIG_arg_fail(2)) SWIG_fail
;
26607 arg3
= (bool)(SWIG_As_bool(obj2
));
26608 if (SWIG_arg_fail(3)) SWIG_fail
;
26612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26613 (arg1
)->Select(arg2
,arg3
);
26615 wxPyEndAllowThreads(__tstate
);
26616 if (PyErr_Occurred()) SWIG_fail
;
26618 Py_INCREF(Py_None
); resultobj
= Py_None
;
26625 static PyObject
*_wrap_ListView_Focus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26626 PyObject
*resultobj
;
26627 wxListView
*arg1
= (wxListView
*) 0 ;
26629 PyObject
* obj0
= 0 ;
26630 PyObject
* obj1
= 0 ;
26631 char *kwnames
[] = {
26632 (char *) "self",(char *) "index", NULL
26635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
26636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26637 if (SWIG_arg_fail(1)) SWIG_fail
;
26639 arg2
= (long)(SWIG_As_long(obj1
));
26640 if (SWIG_arg_fail(2)) SWIG_fail
;
26643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26644 (arg1
)->Focus(arg2
);
26646 wxPyEndAllowThreads(__tstate
);
26647 if (PyErr_Occurred()) SWIG_fail
;
26649 Py_INCREF(Py_None
); resultobj
= Py_None
;
26656 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26657 PyObject
*resultobj
;
26658 wxListView
*arg1
= (wxListView
*) 0 ;
26660 PyObject
* obj0
= 0 ;
26661 char *kwnames
[] = {
26662 (char *) "self", NULL
26665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
26666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26667 if (SWIG_arg_fail(1)) SWIG_fail
;
26669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26670 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
26672 wxPyEndAllowThreads(__tstate
);
26673 if (PyErr_Occurred()) SWIG_fail
;
26676 resultobj
= SWIG_From_long((long)(result
));
26684 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26685 PyObject
*resultobj
;
26686 wxListView
*arg1
= (wxListView
*) 0 ;
26689 PyObject
* obj0
= 0 ;
26690 PyObject
* obj1
= 0 ;
26691 char *kwnames
[] = {
26692 (char *) "self",(char *) "item", NULL
26695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26697 if (SWIG_arg_fail(1)) SWIG_fail
;
26699 arg2
= (long)(SWIG_As_long(obj1
));
26700 if (SWIG_arg_fail(2)) SWIG_fail
;
26703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26704 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
26706 wxPyEndAllowThreads(__tstate
);
26707 if (PyErr_Occurred()) SWIG_fail
;
26710 resultobj
= SWIG_From_long((long)(result
));
26718 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26719 PyObject
*resultobj
;
26720 wxListView
*arg1
= (wxListView
*) 0 ;
26722 PyObject
* obj0
= 0 ;
26723 char *kwnames
[] = {
26724 (char *) "self", NULL
26727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
26728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26729 if (SWIG_arg_fail(1)) SWIG_fail
;
26731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26732 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
26734 wxPyEndAllowThreads(__tstate
);
26735 if (PyErr_Occurred()) SWIG_fail
;
26738 resultobj
= SWIG_From_long((long)(result
));
26746 static PyObject
*_wrap_ListView_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26747 PyObject
*resultobj
;
26748 wxListView
*arg1
= (wxListView
*) 0 ;
26751 PyObject
* obj0
= 0 ;
26752 PyObject
* obj1
= 0 ;
26753 char *kwnames
[] = {
26754 (char *) "self",(char *) "index", NULL
26757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26759 if (SWIG_arg_fail(1)) SWIG_fail
;
26761 arg2
= (long)(SWIG_As_long(obj1
));
26762 if (SWIG_arg_fail(2)) SWIG_fail
;
26765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26766 result
= (bool)(arg1
)->IsSelected(arg2
);
26768 wxPyEndAllowThreads(__tstate
);
26769 if (PyErr_Occurred()) SWIG_fail
;
26772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26780 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26781 PyObject
*resultobj
;
26782 wxListView
*arg1
= (wxListView
*) 0 ;
26785 PyObject
* obj0
= 0 ;
26786 PyObject
* obj1
= 0 ;
26787 PyObject
* obj2
= 0 ;
26788 char *kwnames
[] = {
26789 (char *) "self",(char *) "col",(char *) "image", NULL
26792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26794 if (SWIG_arg_fail(1)) SWIG_fail
;
26796 arg2
= (int)(SWIG_As_int(obj1
));
26797 if (SWIG_arg_fail(2)) SWIG_fail
;
26800 arg3
= (int)(SWIG_As_int(obj2
));
26801 if (SWIG_arg_fail(3)) SWIG_fail
;
26804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26805 (arg1
)->SetColumnImage(arg2
,arg3
);
26807 wxPyEndAllowThreads(__tstate
);
26808 if (PyErr_Occurred()) SWIG_fail
;
26810 Py_INCREF(Py_None
); resultobj
= Py_None
;
26817 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26818 PyObject
*resultobj
;
26819 wxListView
*arg1
= (wxListView
*) 0 ;
26821 PyObject
* obj0
= 0 ;
26822 PyObject
* obj1
= 0 ;
26823 char *kwnames
[] = {
26824 (char *) "self",(char *) "col", NULL
26827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
26828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26829 if (SWIG_arg_fail(1)) SWIG_fail
;
26831 arg2
= (int)(SWIG_As_int(obj1
));
26832 if (SWIG_arg_fail(2)) SWIG_fail
;
26835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26836 (arg1
)->ClearColumnImage(arg2
);
26838 wxPyEndAllowThreads(__tstate
);
26839 if (PyErr_Occurred()) SWIG_fail
;
26841 Py_INCREF(Py_None
); resultobj
= Py_None
;
26848 static PyObject
* ListView_swigregister(PyObject
*, PyObject
*args
) {
26850 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26851 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
26853 return Py_BuildValue((char *)"");
26855 static int _wrap_TreeCtrlNameStr_set(PyObject
*) {
26856 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
26861 static PyObject
*_wrap_TreeCtrlNameStr_get(void) {
26866 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
26868 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
26875 static PyObject
*_wrap_new_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26876 PyObject
*resultobj
;
26877 wxTreeItemId
*result
;
26878 char *kwnames
[] = {
26882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
26884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26885 result
= (wxTreeItemId
*)new wxTreeItemId();
26887 wxPyEndAllowThreads(__tstate
);
26888 if (PyErr_Occurred()) SWIG_fail
;
26890 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
26897 static PyObject
*_wrap_delete_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26898 PyObject
*resultobj
;
26899 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
26900 PyObject
* obj0
= 0 ;
26901 char *kwnames
[] = {
26902 (char *) "self", NULL
26905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
26906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
26907 if (SWIG_arg_fail(1)) SWIG_fail
;
26909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26912 wxPyEndAllowThreads(__tstate
);
26913 if (PyErr_Occurred()) SWIG_fail
;
26915 Py_INCREF(Py_None
); resultobj
= Py_None
;
26922 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26923 PyObject
*resultobj
;
26924 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
26926 PyObject
* obj0
= 0 ;
26927 char *kwnames
[] = {
26928 (char *) "self", NULL
26931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
26932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
26933 if (SWIG_arg_fail(1)) SWIG_fail
;
26935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26936 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
26938 wxPyEndAllowThreads(__tstate
);
26939 if (PyErr_Occurred()) SWIG_fail
;
26942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26950 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26951 PyObject
*resultobj
;
26952 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
26953 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
26955 PyObject
* obj0
= 0 ;
26956 PyObject
* obj1
= 0 ;
26957 char *kwnames
[] = {
26958 (char *) "self",(char *) "other", NULL
26961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
26962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
26963 if (SWIG_arg_fail(1)) SWIG_fail
;
26964 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
26965 if (SWIG_arg_fail(2)) SWIG_fail
;
26967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26968 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
26970 wxPyEndAllowThreads(__tstate
);
26971 if (PyErr_Occurred()) SWIG_fail
;
26974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26982 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26983 PyObject
*resultobj
;
26984 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
26985 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
26987 PyObject
* obj0
= 0 ;
26988 PyObject
* obj1
= 0 ;
26989 char *kwnames
[] = {
26990 (char *) "self",(char *) "other", NULL
26993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
26994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
26995 if (SWIG_arg_fail(1)) SWIG_fail
;
26996 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
26997 if (SWIG_arg_fail(2)) SWIG_fail
;
26999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27000 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
27002 wxPyEndAllowThreads(__tstate
);
27003 if (PyErr_Occurred()) SWIG_fail
;
27006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27014 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27015 PyObject
*resultobj
;
27016 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27017 void *arg2
= (void *) 0 ;
27018 PyObject
* obj0
= 0 ;
27019 PyObject
* obj1
= 0 ;
27020 char *kwnames
[] = {
27021 (char *) "self",(char *) "m_pItem", NULL
27024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27026 if (SWIG_arg_fail(1)) SWIG_fail
;
27028 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),0,SWIG_POINTER_EXCEPTION
|SWIG_POINTER_DISOWN
))== -1) {
27029 SWIG_arg_fail(2);SWIG_fail
;
27032 if (arg1
) (arg1
)->m_pItem
= arg2
;
27034 Py_INCREF(Py_None
); resultobj
= Py_None
;
27041 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27042 PyObject
*resultobj
;
27043 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27045 PyObject
* obj0
= 0 ;
27046 char *kwnames
[] = {
27047 (char *) "self", NULL
27050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
27051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27052 if (SWIG_arg_fail(1)) SWIG_fail
;
27053 result
= (void *) ((arg1
)->m_pItem
);
27055 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
27062 static PyObject
* TreeItemId_swigregister(PyObject
*, PyObject
*args
) {
27064 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27065 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
27067 return Py_BuildValue((char *)"");
27069 static PyObject
*_wrap_new_TreeItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27070 PyObject
*resultobj
;
27071 PyObject
*arg1
= (PyObject
*) NULL
;
27072 wxPyTreeItemData
*result
;
27073 PyObject
* obj0
= 0 ;
27074 char *kwnames
[] = {
27075 (char *) "obj", NULL
27078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
27083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27084 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
27086 wxPyEndAllowThreads(__tstate
);
27087 if (PyErr_Occurred()) SWIG_fail
;
27089 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
27096 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27097 PyObject
*resultobj
;
27098 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27100 PyObject
* obj0
= 0 ;
27101 char *kwnames
[] = {
27102 (char *) "self", NULL
27105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
27106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27107 if (SWIG_arg_fail(1)) SWIG_fail
;
27109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27110 result
= (PyObject
*)(arg1
)->GetData();
27112 wxPyEndAllowThreads(__tstate
);
27113 if (PyErr_Occurred()) SWIG_fail
;
27115 resultobj
= result
;
27122 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27123 PyObject
*resultobj
;
27124 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27125 PyObject
*arg2
= (PyObject
*) 0 ;
27126 PyObject
* obj0
= 0 ;
27127 PyObject
* obj1
= 0 ;
27128 char *kwnames
[] = {
27129 (char *) "self",(char *) "obj", NULL
27132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27134 if (SWIG_arg_fail(1)) SWIG_fail
;
27137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27138 (arg1
)->SetData(arg2
);
27140 wxPyEndAllowThreads(__tstate
);
27141 if (PyErr_Occurred()) SWIG_fail
;
27143 Py_INCREF(Py_None
); resultobj
= Py_None
;
27150 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27151 PyObject
*resultobj
;
27152 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27153 wxTreeItemId
*result
;
27154 PyObject
* obj0
= 0 ;
27155 char *kwnames
[] = {
27156 (char *) "self", NULL
27159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
27160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27161 if (SWIG_arg_fail(1)) SWIG_fail
;
27163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27165 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
27166 result
= (wxTreeItemId
*) &_result_ref
;
27169 wxPyEndAllowThreads(__tstate
);
27170 if (PyErr_Occurred()) SWIG_fail
;
27172 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
27179 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27180 PyObject
*resultobj
;
27181 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27182 wxTreeItemId
*arg2
= 0 ;
27183 PyObject
* obj0
= 0 ;
27184 PyObject
* obj1
= 0 ;
27185 char *kwnames
[] = {
27186 (char *) "self",(char *) "id", NULL
27189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
27190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27191 if (SWIG_arg_fail(1)) SWIG_fail
;
27193 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27194 if (SWIG_arg_fail(2)) SWIG_fail
;
27195 if (arg2
== NULL
) {
27196 SWIG_null_ref("wxTreeItemId");
27198 if (SWIG_arg_fail(2)) SWIG_fail
;
27201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27202 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
27204 wxPyEndAllowThreads(__tstate
);
27205 if (PyErr_Occurred()) SWIG_fail
;
27207 Py_INCREF(Py_None
); resultobj
= Py_None
;
27214 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27215 PyObject
*resultobj
;
27216 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27217 PyObject
* obj0
= 0 ;
27218 char *kwnames
[] = {
27219 (char *) "self", NULL
27222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
27223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27224 if (SWIG_arg_fail(1)) SWIG_fail
;
27226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27227 wxPyTreeItemData_Destroy(arg1
);
27229 wxPyEndAllowThreads(__tstate
);
27230 if (PyErr_Occurred()) SWIG_fail
;
27232 Py_INCREF(Py_None
); resultobj
= Py_None
;
27239 static PyObject
* TreeItemData_swigregister(PyObject
*, PyObject
*args
) {
27241 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27242 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
27244 return Py_BuildValue((char *)"");
27246 static PyObject
*_wrap_new_TreeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27247 PyObject
*resultobj
;
27248 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27249 int arg2
= (int) 0 ;
27250 wxTreeEvent
*result
;
27251 PyObject
* obj0
= 0 ;
27252 PyObject
* obj1
= 0 ;
27253 char *kwnames
[] = {
27254 (char *) "commandType",(char *) "id", NULL
27257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
27260 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
27261 if (SWIG_arg_fail(1)) SWIG_fail
;
27266 arg2
= (int)(SWIG_As_int(obj1
));
27267 if (SWIG_arg_fail(2)) SWIG_fail
;
27271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27272 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
27274 wxPyEndAllowThreads(__tstate
);
27275 if (PyErr_Occurred()) SWIG_fail
;
27277 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
27284 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27285 PyObject
*resultobj
;
27286 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27287 wxTreeItemId result
;
27288 PyObject
* obj0
= 0 ;
27289 char *kwnames
[] = {
27290 (char *) "self", NULL
27293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
27294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27295 if (SWIG_arg_fail(1)) SWIG_fail
;
27297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27298 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
27300 wxPyEndAllowThreads(__tstate
);
27301 if (PyErr_Occurred()) SWIG_fail
;
27304 wxTreeItemId
* resultptr
;
27305 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
27306 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27314 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27315 PyObject
*resultobj
;
27316 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27317 wxTreeItemId
*arg2
= 0 ;
27318 PyObject
* obj0
= 0 ;
27319 PyObject
* obj1
= 0 ;
27320 char *kwnames
[] = {
27321 (char *) "self",(char *) "item", NULL
27324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27326 if (SWIG_arg_fail(1)) SWIG_fail
;
27328 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27329 if (SWIG_arg_fail(2)) SWIG_fail
;
27330 if (arg2
== NULL
) {
27331 SWIG_null_ref("wxTreeItemId");
27333 if (SWIG_arg_fail(2)) SWIG_fail
;
27336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27337 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
27339 wxPyEndAllowThreads(__tstate
);
27340 if (PyErr_Occurred()) SWIG_fail
;
27342 Py_INCREF(Py_None
); resultobj
= Py_None
;
27349 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27350 PyObject
*resultobj
;
27351 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27352 wxTreeItemId result
;
27353 PyObject
* obj0
= 0 ;
27354 char *kwnames
[] = {
27355 (char *) "self", NULL
27358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
27359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27360 if (SWIG_arg_fail(1)) SWIG_fail
;
27362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27363 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
27365 wxPyEndAllowThreads(__tstate
);
27366 if (PyErr_Occurred()) SWIG_fail
;
27369 wxTreeItemId
* resultptr
;
27370 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
27371 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27379 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27380 PyObject
*resultobj
;
27381 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27382 wxTreeItemId
*arg2
= 0 ;
27383 PyObject
* obj0
= 0 ;
27384 PyObject
* obj1
= 0 ;
27385 char *kwnames
[] = {
27386 (char *) "self",(char *) "item", NULL
27389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27391 if (SWIG_arg_fail(1)) SWIG_fail
;
27393 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27394 if (SWIG_arg_fail(2)) SWIG_fail
;
27395 if (arg2
== NULL
) {
27396 SWIG_null_ref("wxTreeItemId");
27398 if (SWIG_arg_fail(2)) SWIG_fail
;
27401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27402 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
27404 wxPyEndAllowThreads(__tstate
);
27405 if (PyErr_Occurred()) SWIG_fail
;
27407 Py_INCREF(Py_None
); resultobj
= Py_None
;
27414 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27415 PyObject
*resultobj
;
27416 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27418 PyObject
* obj0
= 0 ;
27419 char *kwnames
[] = {
27420 (char *) "self", NULL
27423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
27424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27425 if (SWIG_arg_fail(1)) SWIG_fail
;
27427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27428 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
27430 wxPyEndAllowThreads(__tstate
);
27431 if (PyErr_Occurred()) SWIG_fail
;
27434 wxPoint
* resultptr
;
27435 resultptr
= new wxPoint((wxPoint
&)(result
));
27436 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
27444 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27445 PyObject
*resultobj
;
27446 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27447 wxPoint
*arg2
= 0 ;
27449 PyObject
* obj0
= 0 ;
27450 PyObject
* obj1
= 0 ;
27451 char *kwnames
[] = {
27452 (char *) "self",(char *) "pt", NULL
27455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
27456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27457 if (SWIG_arg_fail(1)) SWIG_fail
;
27460 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27464 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
27466 wxPyEndAllowThreads(__tstate
);
27467 if (PyErr_Occurred()) SWIG_fail
;
27469 Py_INCREF(Py_None
); resultobj
= Py_None
;
27476 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27477 PyObject
*resultobj
;
27478 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27479 wxKeyEvent
*result
;
27480 PyObject
* obj0
= 0 ;
27481 char *kwnames
[] = {
27482 (char *) "self", NULL
27485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
27486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27487 if (SWIG_arg_fail(1)) SWIG_fail
;
27489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27491 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
27492 result
= (wxKeyEvent
*) &_result_ref
;
27495 wxPyEndAllowThreads(__tstate
);
27496 if (PyErr_Occurred()) SWIG_fail
;
27498 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
27505 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27506 PyObject
*resultobj
;
27507 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27509 PyObject
* obj0
= 0 ;
27510 char *kwnames
[] = {
27511 (char *) "self", NULL
27514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
27515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27516 if (SWIG_arg_fail(1)) SWIG_fail
;
27518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27519 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
27521 wxPyEndAllowThreads(__tstate
);
27522 if (PyErr_Occurred()) SWIG_fail
;
27525 resultobj
= SWIG_From_int((int)(result
));
27533 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27534 PyObject
*resultobj
;
27535 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27536 wxKeyEvent
*arg2
= 0 ;
27537 PyObject
* obj0
= 0 ;
27538 PyObject
* obj1
= 0 ;
27539 char *kwnames
[] = {
27540 (char *) "self",(char *) "evt", NULL
27543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
27544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27545 if (SWIG_arg_fail(1)) SWIG_fail
;
27547 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
27548 if (SWIG_arg_fail(2)) SWIG_fail
;
27549 if (arg2
== NULL
) {
27550 SWIG_null_ref("wxKeyEvent");
27552 if (SWIG_arg_fail(2)) SWIG_fail
;
27555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27556 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
27558 wxPyEndAllowThreads(__tstate
);
27559 if (PyErr_Occurred()) SWIG_fail
;
27561 Py_INCREF(Py_None
); resultobj
= Py_None
;
27568 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27569 PyObject
*resultobj
;
27570 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27572 PyObject
* obj0
= 0 ;
27573 char *kwnames
[] = {
27574 (char *) "self", NULL
27577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
27578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27579 if (SWIG_arg_fail(1)) SWIG_fail
;
27581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27583 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
27584 result
= (wxString
*) &_result_ref
;
27587 wxPyEndAllowThreads(__tstate
);
27588 if (PyErr_Occurred()) SWIG_fail
;
27592 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27594 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27603 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27604 PyObject
*resultobj
;
27605 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27606 wxString
*arg2
= 0 ;
27607 bool temp2
= false ;
27608 PyObject
* obj0
= 0 ;
27609 PyObject
* obj1
= 0 ;
27610 char *kwnames
[] = {
27611 (char *) "self",(char *) "label", NULL
27614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
27615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27616 if (SWIG_arg_fail(1)) SWIG_fail
;
27618 arg2
= wxString_in_helper(obj1
);
27619 if (arg2
== NULL
) SWIG_fail
;
27623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27624 (arg1
)->SetLabel((wxString
const &)*arg2
);
27626 wxPyEndAllowThreads(__tstate
);
27627 if (PyErr_Occurred()) SWIG_fail
;
27629 Py_INCREF(Py_None
); resultobj
= Py_None
;
27644 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27645 PyObject
*resultobj
;
27646 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27648 PyObject
* obj0
= 0 ;
27649 char *kwnames
[] = {
27650 (char *) "self", NULL
27653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
27654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27655 if (SWIG_arg_fail(1)) SWIG_fail
;
27657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27658 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
27660 wxPyEndAllowThreads(__tstate
);
27661 if (PyErr_Occurred()) SWIG_fail
;
27664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27672 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27673 PyObject
*resultobj
;
27674 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27676 PyObject
* obj0
= 0 ;
27677 PyObject
* obj1
= 0 ;
27678 char *kwnames
[] = {
27679 (char *) "self",(char *) "editCancelled", NULL
27682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
27683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27684 if (SWIG_arg_fail(1)) SWIG_fail
;
27686 arg2
= (bool)(SWIG_As_bool(obj1
));
27687 if (SWIG_arg_fail(2)) SWIG_fail
;
27690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27691 (arg1
)->SetEditCanceled(arg2
);
27693 wxPyEndAllowThreads(__tstate
);
27694 if (PyErr_Occurred()) SWIG_fail
;
27696 Py_INCREF(Py_None
); resultobj
= Py_None
;
27703 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27704 PyObject
*resultobj
;
27705 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27706 wxString
*arg2
= 0 ;
27707 bool temp2
= false ;
27708 PyObject
* obj0
= 0 ;
27709 PyObject
* obj1
= 0 ;
27710 char *kwnames
[] = {
27711 (char *) "self",(char *) "toolTip", NULL
27714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
27715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27716 if (SWIG_arg_fail(1)) SWIG_fail
;
27718 arg2
= wxString_in_helper(obj1
);
27719 if (arg2
== NULL
) SWIG_fail
;
27723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27724 (arg1
)->SetToolTip((wxString
const &)*arg2
);
27726 wxPyEndAllowThreads(__tstate
);
27727 if (PyErr_Occurred()) SWIG_fail
;
27729 Py_INCREF(Py_None
); resultobj
= Py_None
;
27744 static PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27745 PyObject
*resultobj
;
27746 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27748 PyObject
* obj0
= 0 ;
27749 char *kwnames
[] = {
27750 (char *) "self", NULL
27753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetToolTip",kwnames
,&obj0
)) goto fail
;
27754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27755 if (SWIG_arg_fail(1)) SWIG_fail
;
27757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27758 result
= (arg1
)->GetToolTip();
27760 wxPyEndAllowThreads(__tstate
);
27761 if (PyErr_Occurred()) SWIG_fail
;
27765 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27767 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27776 static PyObject
* TreeEvent_swigregister(PyObject
*, PyObject
*args
) {
27778 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27779 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
27781 return Py_BuildValue((char *)"");
27783 static PyObject
*_wrap_new_TreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27784 PyObject
*resultobj
;
27785 wxWindow
*arg1
= (wxWindow
*) 0 ;
27786 int arg2
= (int) -1 ;
27787 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27788 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27789 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27790 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27791 long arg5
= (long) wxTR_DEFAULT_STYLE
;
27792 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
27793 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
27794 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
27795 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27796 wxPyTreeCtrl
*result
;
27799 bool temp7
= false ;
27800 PyObject
* obj0
= 0 ;
27801 PyObject
* obj1
= 0 ;
27802 PyObject
* obj2
= 0 ;
27803 PyObject
* obj3
= 0 ;
27804 PyObject
* obj4
= 0 ;
27805 PyObject
* obj5
= 0 ;
27806 PyObject
* obj6
= 0 ;
27807 char *kwnames
[] = {
27808 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27813 if (SWIG_arg_fail(1)) SWIG_fail
;
27816 arg2
= (int)(SWIG_As_int(obj1
));
27817 if (SWIG_arg_fail(2)) SWIG_fail
;
27823 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27829 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27834 arg5
= (long)(SWIG_As_long(obj4
));
27835 if (SWIG_arg_fail(5)) SWIG_fail
;
27840 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
27841 if (SWIG_arg_fail(6)) SWIG_fail
;
27842 if (arg6
== NULL
) {
27843 SWIG_null_ref("wxValidator");
27845 if (SWIG_arg_fail(6)) SWIG_fail
;
27850 arg7
= wxString_in_helper(obj6
);
27851 if (arg7
== NULL
) SWIG_fail
;
27856 if (!wxPyCheckForApp()) SWIG_fail
;
27857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27858 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
27860 wxPyEndAllowThreads(__tstate
);
27861 if (PyErr_Occurred()) SWIG_fail
;
27863 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
27878 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27879 PyObject
*resultobj
;
27880 wxPyTreeCtrl
*result
;
27881 char *kwnames
[] = {
27885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
27887 if (!wxPyCheckForApp()) SWIG_fail
;
27888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27889 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
27891 wxPyEndAllowThreads(__tstate
);
27892 if (PyErr_Occurred()) SWIG_fail
;
27894 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
27901 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27902 PyObject
*resultobj
;
27903 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27904 wxWindow
*arg2
= (wxWindow
*) 0 ;
27905 int arg3
= (int) -1 ;
27906 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27907 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27908 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27909 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27910 long arg6
= (long) wxTR_DEFAULT_STYLE
;
27911 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
27912 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
27913 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
27914 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
27918 bool temp8
= false ;
27919 PyObject
* obj0
= 0 ;
27920 PyObject
* obj1
= 0 ;
27921 PyObject
* obj2
= 0 ;
27922 PyObject
* obj3
= 0 ;
27923 PyObject
* obj4
= 0 ;
27924 PyObject
* obj5
= 0 ;
27925 PyObject
* obj6
= 0 ;
27926 PyObject
* obj7
= 0 ;
27927 char *kwnames
[] = {
27928 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
27932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27933 if (SWIG_arg_fail(1)) SWIG_fail
;
27934 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27935 if (SWIG_arg_fail(2)) SWIG_fail
;
27938 arg3
= (int)(SWIG_As_int(obj2
));
27939 if (SWIG_arg_fail(3)) SWIG_fail
;
27945 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27951 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27956 arg6
= (long)(SWIG_As_long(obj5
));
27957 if (SWIG_arg_fail(6)) SWIG_fail
;
27962 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
27963 if (SWIG_arg_fail(7)) SWIG_fail
;
27964 if (arg7
== NULL
) {
27965 SWIG_null_ref("wxValidator");
27967 if (SWIG_arg_fail(7)) SWIG_fail
;
27972 arg8
= wxString_in_helper(obj7
);
27973 if (arg8
== NULL
) SWIG_fail
;
27978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27979 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
27981 wxPyEndAllowThreads(__tstate
);
27982 if (PyErr_Occurred()) SWIG_fail
;
27985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28001 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28002 PyObject
*resultobj
;
28003 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28004 PyObject
*arg2
= (PyObject
*) 0 ;
28005 PyObject
*arg3
= (PyObject
*) 0 ;
28006 PyObject
* obj0
= 0 ;
28007 PyObject
* obj1
= 0 ;
28008 PyObject
* obj2
= 0 ;
28009 char *kwnames
[] = {
28010 (char *) "self",(char *) "self",(char *) "_class", NULL
28013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28015 if (SWIG_arg_fail(1)) SWIG_fail
;
28019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28020 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28022 wxPyEndAllowThreads(__tstate
);
28023 if (PyErr_Occurred()) SWIG_fail
;
28025 Py_INCREF(Py_None
); resultobj
= Py_None
;
28032 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28033 PyObject
*resultobj
;
28034 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28036 PyObject
* obj0
= 0 ;
28037 char *kwnames
[] = {
28038 (char *) "self", NULL
28041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
28042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28043 if (SWIG_arg_fail(1)) SWIG_fail
;
28045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28046 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
28048 wxPyEndAllowThreads(__tstate
);
28049 if (PyErr_Occurred()) SWIG_fail
;
28052 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
28060 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28061 PyObject
*resultobj
;
28062 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28063 unsigned int result
;
28064 PyObject
* obj0
= 0 ;
28065 char *kwnames
[] = {
28066 (char *) "self", NULL
28069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
28070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28071 if (SWIG_arg_fail(1)) SWIG_fail
;
28073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28074 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
28076 wxPyEndAllowThreads(__tstate
);
28077 if (PyErr_Occurred()) SWIG_fail
;
28080 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
28088 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28089 PyObject
*resultobj
;
28090 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28091 unsigned int arg2
;
28092 PyObject
* obj0
= 0 ;
28093 PyObject
* obj1
= 0 ;
28094 char *kwnames
[] = {
28095 (char *) "self",(char *) "indent", NULL
28098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
28099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28100 if (SWIG_arg_fail(1)) SWIG_fail
;
28102 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
28103 if (SWIG_arg_fail(2)) SWIG_fail
;
28106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28107 (arg1
)->SetIndent(arg2
);
28109 wxPyEndAllowThreads(__tstate
);
28110 if (PyErr_Occurred()) SWIG_fail
;
28112 Py_INCREF(Py_None
); resultobj
= Py_None
;
28119 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28120 PyObject
*resultobj
;
28121 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28122 unsigned int result
;
28123 PyObject
* obj0
= 0 ;
28124 char *kwnames
[] = {
28125 (char *) "self", NULL
28128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
28129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28130 if (SWIG_arg_fail(1)) SWIG_fail
;
28132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28133 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
28135 wxPyEndAllowThreads(__tstate
);
28136 if (PyErr_Occurred()) SWIG_fail
;
28139 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
28147 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28148 PyObject
*resultobj
;
28149 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28150 unsigned int arg2
;
28151 PyObject
* obj0
= 0 ;
28152 PyObject
* obj1
= 0 ;
28153 char *kwnames
[] = {
28154 (char *) "self",(char *) "spacing", NULL
28157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
28158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28159 if (SWIG_arg_fail(1)) SWIG_fail
;
28161 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
28162 if (SWIG_arg_fail(2)) SWIG_fail
;
28165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28166 (arg1
)->SetSpacing(arg2
);
28168 wxPyEndAllowThreads(__tstate
);
28169 if (PyErr_Occurred()) SWIG_fail
;
28171 Py_INCREF(Py_None
); resultobj
= Py_None
;
28178 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28179 PyObject
*resultobj
;
28180 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28181 wxImageList
*result
;
28182 PyObject
* obj0
= 0 ;
28183 char *kwnames
[] = {
28184 (char *) "self", NULL
28187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
28188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28189 if (SWIG_arg_fail(1)) SWIG_fail
;
28191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28192 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
28194 wxPyEndAllowThreads(__tstate
);
28195 if (PyErr_Occurred()) SWIG_fail
;
28198 resultobj
= wxPyMake_wxObject(result
, 0);
28206 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28207 PyObject
*resultobj
;
28208 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28209 wxImageList
*result
;
28210 PyObject
* obj0
= 0 ;
28211 char *kwnames
[] = {
28212 (char *) "self", NULL
28215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
28216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28217 if (SWIG_arg_fail(1)) SWIG_fail
;
28219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28220 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
28222 wxPyEndAllowThreads(__tstate
);
28223 if (PyErr_Occurred()) SWIG_fail
;
28226 resultobj
= wxPyMake_wxObject(result
, 0);
28234 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28235 PyObject
*resultobj
;
28236 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28237 wxImageList
*arg2
= (wxImageList
*) 0 ;
28238 PyObject
* obj0
= 0 ;
28239 PyObject
* obj1
= 0 ;
28240 char *kwnames
[] = {
28241 (char *) "self",(char *) "imageList", NULL
28244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28246 if (SWIG_arg_fail(1)) SWIG_fail
;
28247 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
28248 if (SWIG_arg_fail(2)) SWIG_fail
;
28250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28251 (arg1
)->SetImageList(arg2
);
28253 wxPyEndAllowThreads(__tstate
);
28254 if (PyErr_Occurred()) SWIG_fail
;
28256 Py_INCREF(Py_None
); resultobj
= Py_None
;
28263 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28264 PyObject
*resultobj
;
28265 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28266 wxImageList
*arg2
= (wxImageList
*) 0 ;
28267 PyObject
* obj0
= 0 ;
28268 PyObject
* obj1
= 0 ;
28269 char *kwnames
[] = {
28270 (char *) "self",(char *) "imageList", NULL
28273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28275 if (SWIG_arg_fail(1)) SWIG_fail
;
28276 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
28277 if (SWIG_arg_fail(2)) SWIG_fail
;
28279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28280 (arg1
)->SetStateImageList(arg2
);
28282 wxPyEndAllowThreads(__tstate
);
28283 if (PyErr_Occurred()) SWIG_fail
;
28285 Py_INCREF(Py_None
); resultobj
= Py_None
;
28292 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28293 PyObject
*resultobj
;
28294 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28295 wxImageList
*arg2
= (wxImageList
*) 0 ;
28296 PyObject
* obj0
= 0 ;
28297 PyObject
* obj1
= 0 ;
28298 char *kwnames
[] = {
28299 (char *) "self",(char *) "imageList", NULL
28302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28304 if (SWIG_arg_fail(1)) SWIG_fail
;
28305 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28306 if (SWIG_arg_fail(2)) SWIG_fail
;
28308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28309 (arg1
)->AssignImageList(arg2
);
28311 wxPyEndAllowThreads(__tstate
);
28312 if (PyErr_Occurred()) SWIG_fail
;
28314 Py_INCREF(Py_None
); resultobj
= Py_None
;
28321 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28322 PyObject
*resultobj
;
28323 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28324 wxImageList
*arg2
= (wxImageList
*) 0 ;
28325 PyObject
* obj0
= 0 ;
28326 PyObject
* obj1
= 0 ;
28327 char *kwnames
[] = {
28328 (char *) "self",(char *) "imageList", NULL
28331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28333 if (SWIG_arg_fail(1)) SWIG_fail
;
28334 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28335 if (SWIG_arg_fail(2)) SWIG_fail
;
28337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28338 (arg1
)->AssignStateImageList(arg2
);
28340 wxPyEndAllowThreads(__tstate
);
28341 if (PyErr_Occurred()) SWIG_fail
;
28343 Py_INCREF(Py_None
); resultobj
= Py_None
;
28350 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28351 PyObject
*resultobj
;
28352 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28353 wxTreeItemId
*arg2
= 0 ;
28355 PyObject
* obj0
= 0 ;
28356 PyObject
* obj1
= 0 ;
28357 char *kwnames
[] = {
28358 (char *) "self",(char *) "item", NULL
28361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
28362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28363 if (SWIG_arg_fail(1)) SWIG_fail
;
28365 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28366 if (SWIG_arg_fail(2)) SWIG_fail
;
28367 if (arg2
== NULL
) {
28368 SWIG_null_ref("wxTreeItemId");
28370 if (SWIG_arg_fail(2)) SWIG_fail
;
28373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28374 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
28376 wxPyEndAllowThreads(__tstate
);
28377 if (PyErr_Occurred()) SWIG_fail
;
28381 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28383 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28392 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28393 PyObject
*resultobj
;
28394 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28395 wxTreeItemId
*arg2
= 0 ;
28396 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
28398 PyObject
* obj0
= 0 ;
28399 PyObject
* obj1
= 0 ;
28400 PyObject
* obj2
= 0 ;
28401 char *kwnames
[] = {
28402 (char *) "self",(char *) "item",(char *) "which", NULL
28405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28407 if (SWIG_arg_fail(1)) SWIG_fail
;
28409 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28410 if (SWIG_arg_fail(2)) SWIG_fail
;
28411 if (arg2
== NULL
) {
28412 SWIG_null_ref("wxTreeItemId");
28414 if (SWIG_arg_fail(2)) SWIG_fail
;
28418 arg3
= (wxTreeItemIcon
)(SWIG_As_int(obj2
));
28419 if (SWIG_arg_fail(3)) SWIG_fail
;
28423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28424 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
28426 wxPyEndAllowThreads(__tstate
);
28427 if (PyErr_Occurred()) SWIG_fail
;
28430 resultobj
= SWIG_From_int((int)(result
));
28438 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28439 PyObject
*resultobj
;
28440 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28441 wxTreeItemId
*arg2
= 0 ;
28442 wxPyTreeItemData
*result
;
28443 PyObject
* obj0
= 0 ;
28444 PyObject
* obj1
= 0 ;
28445 char *kwnames
[] = {
28446 (char *) "self",(char *) "item", NULL
28449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
28450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28451 if (SWIG_arg_fail(1)) SWIG_fail
;
28453 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28454 if (SWIG_arg_fail(2)) SWIG_fail
;
28455 if (arg2
== NULL
) {
28456 SWIG_null_ref("wxTreeItemId");
28458 if (SWIG_arg_fail(2)) SWIG_fail
;
28461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28462 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
28464 wxPyEndAllowThreads(__tstate
);
28465 if (PyErr_Occurred()) SWIG_fail
;
28467 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
28474 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28475 PyObject
*resultobj
;
28476 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28477 wxTreeItemId
*arg2
= 0 ;
28479 PyObject
* obj0
= 0 ;
28480 PyObject
* obj1
= 0 ;
28481 char *kwnames
[] = {
28482 (char *) "self",(char *) "item", NULL
28485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
28486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28487 if (SWIG_arg_fail(1)) SWIG_fail
;
28489 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28490 if (SWIG_arg_fail(2)) SWIG_fail
;
28491 if (arg2
== NULL
) {
28492 SWIG_null_ref("wxTreeItemId");
28494 if (SWIG_arg_fail(2)) SWIG_fail
;
28497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28498 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
28500 wxPyEndAllowThreads(__tstate
);
28501 if (PyErr_Occurred()) SWIG_fail
;
28503 resultobj
= result
;
28510 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28511 PyObject
*resultobj
;
28512 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28513 wxTreeItemId
*arg2
= 0 ;
28515 PyObject
* obj0
= 0 ;
28516 PyObject
* obj1
= 0 ;
28517 char *kwnames
[] = {
28518 (char *) "self",(char *) "item", NULL
28521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28523 if (SWIG_arg_fail(1)) SWIG_fail
;
28525 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28526 if (SWIG_arg_fail(2)) SWIG_fail
;
28527 if (arg2
== NULL
) {
28528 SWIG_null_ref("wxTreeItemId");
28530 if (SWIG_arg_fail(2)) SWIG_fail
;
28533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28534 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
28536 wxPyEndAllowThreads(__tstate
);
28537 if (PyErr_Occurred()) SWIG_fail
;
28540 wxColour
* resultptr
;
28541 resultptr
= new wxColour((wxColour
&)(result
));
28542 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
28550 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28551 PyObject
*resultobj
;
28552 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28553 wxTreeItemId
*arg2
= 0 ;
28555 PyObject
* obj0
= 0 ;
28556 PyObject
* obj1
= 0 ;
28557 char *kwnames
[] = {
28558 (char *) "self",(char *) "item", NULL
28561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28563 if (SWIG_arg_fail(1)) SWIG_fail
;
28565 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28566 if (SWIG_arg_fail(2)) SWIG_fail
;
28567 if (arg2
== NULL
) {
28568 SWIG_null_ref("wxTreeItemId");
28570 if (SWIG_arg_fail(2)) SWIG_fail
;
28573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28574 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
28576 wxPyEndAllowThreads(__tstate
);
28577 if (PyErr_Occurred()) SWIG_fail
;
28580 wxColour
* resultptr
;
28581 resultptr
= new wxColour((wxColour
&)(result
));
28582 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
28590 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28591 PyObject
*resultobj
;
28592 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28593 wxTreeItemId
*arg2
= 0 ;
28595 PyObject
* obj0
= 0 ;
28596 PyObject
* obj1
= 0 ;
28597 char *kwnames
[] = {
28598 (char *) "self",(char *) "item", NULL
28601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
28602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28603 if (SWIG_arg_fail(1)) SWIG_fail
;
28605 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28606 if (SWIG_arg_fail(2)) SWIG_fail
;
28607 if (arg2
== NULL
) {
28608 SWIG_null_ref("wxTreeItemId");
28610 if (SWIG_arg_fail(2)) SWIG_fail
;
28613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28614 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
28616 wxPyEndAllowThreads(__tstate
);
28617 if (PyErr_Occurred()) SWIG_fail
;
28620 wxFont
* resultptr
;
28621 resultptr
= new wxFont((wxFont
&)(result
));
28622 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
28630 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28631 PyObject
*resultobj
;
28632 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28633 wxTreeItemId
*arg2
= 0 ;
28634 wxString
*arg3
= 0 ;
28635 bool temp3
= false ;
28636 PyObject
* obj0
= 0 ;
28637 PyObject
* obj1
= 0 ;
28638 PyObject
* obj2
= 0 ;
28639 char *kwnames
[] = {
28640 (char *) "self",(char *) "item",(char *) "text", NULL
28643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28645 if (SWIG_arg_fail(1)) SWIG_fail
;
28647 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28648 if (SWIG_arg_fail(2)) SWIG_fail
;
28649 if (arg2
== NULL
) {
28650 SWIG_null_ref("wxTreeItemId");
28652 if (SWIG_arg_fail(2)) SWIG_fail
;
28655 arg3
= wxString_in_helper(obj2
);
28656 if (arg3
== NULL
) SWIG_fail
;
28660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28661 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
28663 wxPyEndAllowThreads(__tstate
);
28664 if (PyErr_Occurred()) SWIG_fail
;
28666 Py_INCREF(Py_None
); resultobj
= Py_None
;
28681 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28682 PyObject
*resultobj
;
28683 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28684 wxTreeItemId
*arg2
= 0 ;
28686 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
28687 PyObject
* obj0
= 0 ;
28688 PyObject
* obj1
= 0 ;
28689 PyObject
* obj2
= 0 ;
28690 PyObject
* obj3
= 0 ;
28691 char *kwnames
[] = {
28692 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
28695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28697 if (SWIG_arg_fail(1)) SWIG_fail
;
28699 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28700 if (SWIG_arg_fail(2)) SWIG_fail
;
28701 if (arg2
== NULL
) {
28702 SWIG_null_ref("wxTreeItemId");
28704 if (SWIG_arg_fail(2)) SWIG_fail
;
28707 arg3
= (int)(SWIG_As_int(obj2
));
28708 if (SWIG_arg_fail(3)) SWIG_fail
;
28712 arg4
= (wxTreeItemIcon
)(SWIG_As_int(obj3
));
28713 if (SWIG_arg_fail(4)) SWIG_fail
;
28717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28718 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
28720 wxPyEndAllowThreads(__tstate
);
28721 if (PyErr_Occurred()) SWIG_fail
;
28723 Py_INCREF(Py_None
); resultobj
= Py_None
;
28730 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28731 PyObject
*resultobj
;
28732 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28733 wxTreeItemId
*arg2
= 0 ;
28734 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
28735 PyObject
* obj0
= 0 ;
28736 PyObject
* obj1
= 0 ;
28737 PyObject
* obj2
= 0 ;
28738 char *kwnames
[] = {
28739 (char *) "self",(char *) "item",(char *) "data", NULL
28742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28744 if (SWIG_arg_fail(1)) SWIG_fail
;
28746 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28747 if (SWIG_arg_fail(2)) SWIG_fail
;
28748 if (arg2
== NULL
) {
28749 SWIG_null_ref("wxTreeItemId");
28751 if (SWIG_arg_fail(2)) SWIG_fail
;
28753 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
28754 if (SWIG_arg_fail(3)) SWIG_fail
;
28756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28757 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
28759 wxPyEndAllowThreads(__tstate
);
28760 if (PyErr_Occurred()) SWIG_fail
;
28762 Py_INCREF(Py_None
); resultobj
= Py_None
;
28769 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28770 PyObject
*resultobj
;
28771 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28772 wxTreeItemId
*arg2
= 0 ;
28773 PyObject
*arg3
= (PyObject
*) 0 ;
28774 PyObject
* obj0
= 0 ;
28775 PyObject
* obj1
= 0 ;
28776 PyObject
* obj2
= 0 ;
28777 char *kwnames
[] = {
28778 (char *) "self",(char *) "item",(char *) "obj", NULL
28781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28783 if (SWIG_arg_fail(1)) SWIG_fail
;
28785 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28786 if (SWIG_arg_fail(2)) SWIG_fail
;
28787 if (arg2
== NULL
) {
28788 SWIG_null_ref("wxTreeItemId");
28790 if (SWIG_arg_fail(2)) SWIG_fail
;
28794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28795 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
28797 wxPyEndAllowThreads(__tstate
);
28798 if (PyErr_Occurred()) SWIG_fail
;
28800 Py_INCREF(Py_None
); resultobj
= Py_None
;
28807 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28808 PyObject
*resultobj
;
28809 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28810 wxTreeItemId
*arg2
= 0 ;
28811 bool arg3
= (bool) true ;
28812 PyObject
* obj0
= 0 ;
28813 PyObject
* obj1
= 0 ;
28814 PyObject
* obj2
= 0 ;
28815 char *kwnames
[] = {
28816 (char *) "self",(char *) "item",(char *) "has", NULL
28819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28821 if (SWIG_arg_fail(1)) SWIG_fail
;
28823 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28824 if (SWIG_arg_fail(2)) SWIG_fail
;
28825 if (arg2
== NULL
) {
28826 SWIG_null_ref("wxTreeItemId");
28828 if (SWIG_arg_fail(2)) SWIG_fail
;
28832 arg3
= (bool)(SWIG_As_bool(obj2
));
28833 if (SWIG_arg_fail(3)) SWIG_fail
;
28837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28838 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
28840 wxPyEndAllowThreads(__tstate
);
28841 if (PyErr_Occurred()) SWIG_fail
;
28843 Py_INCREF(Py_None
); resultobj
= Py_None
;
28850 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28851 PyObject
*resultobj
;
28852 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28853 wxTreeItemId
*arg2
= 0 ;
28854 bool arg3
= (bool) true ;
28855 PyObject
* obj0
= 0 ;
28856 PyObject
* obj1
= 0 ;
28857 PyObject
* obj2
= 0 ;
28858 char *kwnames
[] = {
28859 (char *) "self",(char *) "item",(char *) "bold", NULL
28862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28864 if (SWIG_arg_fail(1)) SWIG_fail
;
28866 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28867 if (SWIG_arg_fail(2)) SWIG_fail
;
28868 if (arg2
== NULL
) {
28869 SWIG_null_ref("wxTreeItemId");
28871 if (SWIG_arg_fail(2)) SWIG_fail
;
28875 arg3
= (bool)(SWIG_As_bool(obj2
));
28876 if (SWIG_arg_fail(3)) SWIG_fail
;
28880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28881 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
28883 wxPyEndAllowThreads(__tstate
);
28884 if (PyErr_Occurred()) SWIG_fail
;
28886 Py_INCREF(Py_None
); resultobj
= Py_None
;
28893 static PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28894 PyObject
*resultobj
;
28895 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28896 wxTreeItemId
*arg2
= 0 ;
28897 bool arg3
= (bool) true ;
28898 PyObject
* obj0
= 0 ;
28899 PyObject
* obj1
= 0 ;
28900 PyObject
* obj2
= 0 ;
28901 char *kwnames
[] = {
28902 (char *) "self",(char *) "item",(char *) "highlight", NULL
28905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28907 if (SWIG_arg_fail(1)) SWIG_fail
;
28909 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28910 if (SWIG_arg_fail(2)) SWIG_fail
;
28911 if (arg2
== NULL
) {
28912 SWIG_null_ref("wxTreeItemId");
28914 if (SWIG_arg_fail(2)) SWIG_fail
;
28918 arg3
= (bool)(SWIG_As_bool(obj2
));
28919 if (SWIG_arg_fail(3)) SWIG_fail
;
28923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28924 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
28926 wxPyEndAllowThreads(__tstate
);
28927 if (PyErr_Occurred()) SWIG_fail
;
28929 Py_INCREF(Py_None
); resultobj
= Py_None
;
28936 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28937 PyObject
*resultobj
;
28938 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28939 wxTreeItemId
*arg2
= 0 ;
28940 wxColour
*arg3
= 0 ;
28942 PyObject
* obj0
= 0 ;
28943 PyObject
* obj1
= 0 ;
28944 PyObject
* obj2
= 0 ;
28945 char *kwnames
[] = {
28946 (char *) "self",(char *) "item",(char *) "col", NULL
28949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28951 if (SWIG_arg_fail(1)) SWIG_fail
;
28953 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28954 if (SWIG_arg_fail(2)) SWIG_fail
;
28955 if (arg2
== NULL
) {
28956 SWIG_null_ref("wxTreeItemId");
28958 if (SWIG_arg_fail(2)) SWIG_fail
;
28962 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
28965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28966 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
28968 wxPyEndAllowThreads(__tstate
);
28969 if (PyErr_Occurred()) SWIG_fail
;
28971 Py_INCREF(Py_None
); resultobj
= Py_None
;
28978 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28979 PyObject
*resultobj
;
28980 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28981 wxTreeItemId
*arg2
= 0 ;
28982 wxColour
*arg3
= 0 ;
28984 PyObject
* obj0
= 0 ;
28985 PyObject
* obj1
= 0 ;
28986 PyObject
* obj2
= 0 ;
28987 char *kwnames
[] = {
28988 (char *) "self",(char *) "item",(char *) "col", NULL
28991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28993 if (SWIG_arg_fail(1)) SWIG_fail
;
28995 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28996 if (SWIG_arg_fail(2)) SWIG_fail
;
28997 if (arg2
== NULL
) {
28998 SWIG_null_ref("wxTreeItemId");
29000 if (SWIG_arg_fail(2)) SWIG_fail
;
29004 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29008 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
29010 wxPyEndAllowThreads(__tstate
);
29011 if (PyErr_Occurred()) SWIG_fail
;
29013 Py_INCREF(Py_None
); resultobj
= Py_None
;
29020 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29021 PyObject
*resultobj
;
29022 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29023 wxTreeItemId
*arg2
= 0 ;
29025 PyObject
* obj0
= 0 ;
29026 PyObject
* obj1
= 0 ;
29027 PyObject
* obj2
= 0 ;
29028 char *kwnames
[] = {
29029 (char *) "self",(char *) "item",(char *) "font", NULL
29032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29034 if (SWIG_arg_fail(1)) SWIG_fail
;
29036 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29037 if (SWIG_arg_fail(2)) SWIG_fail
;
29038 if (arg2
== NULL
) {
29039 SWIG_null_ref("wxTreeItemId");
29041 if (SWIG_arg_fail(2)) SWIG_fail
;
29044 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29045 if (SWIG_arg_fail(3)) SWIG_fail
;
29046 if (arg3
== NULL
) {
29047 SWIG_null_ref("wxFont");
29049 if (SWIG_arg_fail(3)) SWIG_fail
;
29052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29053 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
29055 wxPyEndAllowThreads(__tstate
);
29056 if (PyErr_Occurred()) SWIG_fail
;
29058 Py_INCREF(Py_None
); resultobj
= Py_None
;
29065 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29066 PyObject
*resultobj
;
29067 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29068 wxTreeItemId
*arg2
= 0 ;
29070 PyObject
* obj0
= 0 ;
29071 PyObject
* obj1
= 0 ;
29072 char *kwnames
[] = {
29073 (char *) "self",(char *) "item", NULL
29076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29078 if (SWIG_arg_fail(1)) SWIG_fail
;
29080 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29081 if (SWIG_arg_fail(2)) SWIG_fail
;
29082 if (arg2
== NULL
) {
29083 SWIG_null_ref("wxTreeItemId");
29085 if (SWIG_arg_fail(2)) SWIG_fail
;
29088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29089 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
29091 wxPyEndAllowThreads(__tstate
);
29092 if (PyErr_Occurred()) SWIG_fail
;
29095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29103 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29104 PyObject
*resultobj
;
29105 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29106 wxTreeItemId
*arg2
= 0 ;
29108 PyObject
* obj0
= 0 ;
29109 PyObject
* obj1
= 0 ;
29110 char *kwnames
[] = {
29111 (char *) "self",(char *) "item", NULL
29114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
29115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29116 if (SWIG_arg_fail(1)) SWIG_fail
;
29118 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29119 if (SWIG_arg_fail(2)) SWIG_fail
;
29120 if (arg2
== NULL
) {
29121 SWIG_null_ref("wxTreeItemId");
29123 if (SWIG_arg_fail(2)) SWIG_fail
;
29126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29127 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
29129 wxPyEndAllowThreads(__tstate
);
29130 if (PyErr_Occurred()) SWIG_fail
;
29133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29141 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29142 PyObject
*resultobj
;
29143 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29144 wxTreeItemId
*arg2
= 0 ;
29146 PyObject
* obj0
= 0 ;
29147 PyObject
* obj1
= 0 ;
29148 char *kwnames
[] = {
29149 (char *) "self",(char *) "item", NULL
29152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
29153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29154 if (SWIG_arg_fail(1)) SWIG_fail
;
29156 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29157 if (SWIG_arg_fail(2)) SWIG_fail
;
29158 if (arg2
== NULL
) {
29159 SWIG_null_ref("wxTreeItemId");
29161 if (SWIG_arg_fail(2)) SWIG_fail
;
29164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29165 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
29167 wxPyEndAllowThreads(__tstate
);
29168 if (PyErr_Occurred()) SWIG_fail
;
29171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29179 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29180 PyObject
*resultobj
;
29181 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29182 wxTreeItemId
*arg2
= 0 ;
29184 PyObject
* obj0
= 0 ;
29185 PyObject
* obj1
= 0 ;
29186 char *kwnames
[] = {
29187 (char *) "self",(char *) "item", NULL
29190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
29191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29192 if (SWIG_arg_fail(1)) SWIG_fail
;
29194 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29195 if (SWIG_arg_fail(2)) SWIG_fail
;
29196 if (arg2
== NULL
) {
29197 SWIG_null_ref("wxTreeItemId");
29199 if (SWIG_arg_fail(2)) SWIG_fail
;
29202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29203 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
29205 wxPyEndAllowThreads(__tstate
);
29206 if (PyErr_Occurred()) SWIG_fail
;
29209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29217 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29218 PyObject
*resultobj
;
29219 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29220 wxTreeItemId
*arg2
= 0 ;
29222 PyObject
* obj0
= 0 ;
29223 PyObject
* obj1
= 0 ;
29224 char *kwnames
[] = {
29225 (char *) "self",(char *) "item", NULL
29228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
29229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29230 if (SWIG_arg_fail(1)) SWIG_fail
;
29232 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29233 if (SWIG_arg_fail(2)) SWIG_fail
;
29234 if (arg2
== NULL
) {
29235 SWIG_null_ref("wxTreeItemId");
29237 if (SWIG_arg_fail(2)) SWIG_fail
;
29240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29241 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
29243 wxPyEndAllowThreads(__tstate
);
29244 if (PyErr_Occurred()) SWIG_fail
;
29247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29255 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29256 PyObject
*resultobj
;
29257 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29258 wxTreeItemId
*arg2
= 0 ;
29259 bool arg3
= (bool) true ;
29261 PyObject
* obj0
= 0 ;
29262 PyObject
* obj1
= 0 ;
29263 PyObject
* obj2
= 0 ;
29264 char *kwnames
[] = {
29265 (char *) "self",(char *) "item",(char *) "recursively", NULL
29268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29270 if (SWIG_arg_fail(1)) SWIG_fail
;
29272 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29273 if (SWIG_arg_fail(2)) SWIG_fail
;
29274 if (arg2
== NULL
) {
29275 SWIG_null_ref("wxTreeItemId");
29277 if (SWIG_arg_fail(2)) SWIG_fail
;
29281 arg3
= (bool)(SWIG_As_bool(obj2
));
29282 if (SWIG_arg_fail(3)) SWIG_fail
;
29286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29287 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
29289 wxPyEndAllowThreads(__tstate
);
29290 if (PyErr_Occurred()) SWIG_fail
;
29293 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
29301 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29302 PyObject
*resultobj
;
29303 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29304 wxTreeItemId result
;
29305 PyObject
* obj0
= 0 ;
29306 char *kwnames
[] = {
29307 (char *) "self", NULL
29310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
29311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29312 if (SWIG_arg_fail(1)) SWIG_fail
;
29314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29315 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
29317 wxPyEndAllowThreads(__tstate
);
29318 if (PyErr_Occurred()) SWIG_fail
;
29321 wxTreeItemId
* resultptr
;
29322 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29323 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29331 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29332 PyObject
*resultobj
;
29333 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29334 wxTreeItemId result
;
29335 PyObject
* obj0
= 0 ;
29336 char *kwnames
[] = {
29337 (char *) "self", NULL
29340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
29341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29342 if (SWIG_arg_fail(1)) SWIG_fail
;
29344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29345 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
29347 wxPyEndAllowThreads(__tstate
);
29348 if (PyErr_Occurred()) SWIG_fail
;
29351 wxTreeItemId
* resultptr
;
29352 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29353 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29361 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29362 PyObject
*resultobj
;
29363 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29365 PyObject
* obj0
= 0 ;
29366 char *kwnames
[] = {
29367 (char *) "self", NULL
29370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
29371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29372 if (SWIG_arg_fail(1)) SWIG_fail
;
29374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29375 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
29377 wxPyEndAllowThreads(__tstate
);
29378 if (PyErr_Occurred()) SWIG_fail
;
29380 resultobj
= result
;
29387 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29388 PyObject
*resultobj
;
29389 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29390 wxTreeItemId
*arg2
= 0 ;
29391 wxTreeItemId result
;
29392 PyObject
* obj0
= 0 ;
29393 PyObject
* obj1
= 0 ;
29394 char *kwnames
[] = {
29395 (char *) "self",(char *) "item", NULL
29398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
29399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29400 if (SWIG_arg_fail(1)) SWIG_fail
;
29402 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29403 if (SWIG_arg_fail(2)) SWIG_fail
;
29404 if (arg2
== NULL
) {
29405 SWIG_null_ref("wxTreeItemId");
29407 if (SWIG_arg_fail(2)) SWIG_fail
;
29410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29411 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
29413 wxPyEndAllowThreads(__tstate
);
29414 if (PyErr_Occurred()) SWIG_fail
;
29417 wxTreeItemId
* resultptr
;
29418 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29419 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29427 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29428 PyObject
*resultobj
;
29429 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29430 wxTreeItemId
*arg2
= 0 ;
29432 PyObject
* obj0
= 0 ;
29433 PyObject
* obj1
= 0 ;
29434 char *kwnames
[] = {
29435 (char *) "self",(char *) "item", NULL
29438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29440 if (SWIG_arg_fail(1)) SWIG_fail
;
29442 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29443 if (SWIG_arg_fail(2)) SWIG_fail
;
29444 if (arg2
== NULL
) {
29445 SWIG_null_ref("wxTreeItemId");
29447 if (SWIG_arg_fail(2)) SWIG_fail
;
29450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29451 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
29453 wxPyEndAllowThreads(__tstate
);
29454 if (PyErr_Occurred()) SWIG_fail
;
29456 resultobj
= result
;
29463 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29464 PyObject
*resultobj
;
29465 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29466 wxTreeItemId
*arg2
= 0 ;
29467 void *arg3
= (void *) 0 ;
29469 PyObject
* obj0
= 0 ;
29470 PyObject
* obj1
= 0 ;
29471 PyObject
* obj2
= 0 ;
29472 char *kwnames
[] = {
29473 (char *) "self",(char *) "item",(char *) "cookie", NULL
29476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29478 if (SWIG_arg_fail(1)) SWIG_fail
;
29480 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29481 if (SWIG_arg_fail(2)) SWIG_fail
;
29482 if (arg2
== NULL
) {
29483 SWIG_null_ref("wxTreeItemId");
29485 if (SWIG_arg_fail(2)) SWIG_fail
;
29488 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),0,SWIG_POINTER_EXCEPTION
|0))== -1) {
29489 SWIG_arg_fail(3);SWIG_fail
;
29493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29494 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
29496 wxPyEndAllowThreads(__tstate
);
29497 if (PyErr_Occurred()) SWIG_fail
;
29499 resultobj
= result
;
29506 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29507 PyObject
*resultobj
;
29508 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29509 wxTreeItemId
*arg2
= 0 ;
29510 wxTreeItemId result
;
29511 PyObject
* obj0
= 0 ;
29512 PyObject
* obj1
= 0 ;
29513 char *kwnames
[] = {
29514 (char *) "self",(char *) "item", NULL
29517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29519 if (SWIG_arg_fail(1)) SWIG_fail
;
29521 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29522 if (SWIG_arg_fail(2)) SWIG_fail
;
29523 if (arg2
== NULL
) {
29524 SWIG_null_ref("wxTreeItemId");
29526 if (SWIG_arg_fail(2)) SWIG_fail
;
29529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29530 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
29532 wxPyEndAllowThreads(__tstate
);
29533 if (PyErr_Occurred()) SWIG_fail
;
29536 wxTreeItemId
* resultptr
;
29537 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29538 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29546 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29547 PyObject
*resultobj
;
29548 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29549 wxTreeItemId
*arg2
= 0 ;
29550 wxTreeItemId result
;
29551 PyObject
* obj0
= 0 ;
29552 PyObject
* obj1
= 0 ;
29553 char *kwnames
[] = {
29554 (char *) "self",(char *) "item", NULL
29557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
29558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29559 if (SWIG_arg_fail(1)) SWIG_fail
;
29561 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29562 if (SWIG_arg_fail(2)) SWIG_fail
;
29563 if (arg2
== NULL
) {
29564 SWIG_null_ref("wxTreeItemId");
29566 if (SWIG_arg_fail(2)) SWIG_fail
;
29569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29570 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
29572 wxPyEndAllowThreads(__tstate
);
29573 if (PyErr_Occurred()) SWIG_fail
;
29576 wxTreeItemId
* resultptr
;
29577 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29578 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29586 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29587 PyObject
*resultobj
;
29588 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29589 wxTreeItemId
*arg2
= 0 ;
29590 wxTreeItemId result
;
29591 PyObject
* obj0
= 0 ;
29592 PyObject
* obj1
= 0 ;
29593 char *kwnames
[] = {
29594 (char *) "self",(char *) "item", NULL
29597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
29598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29599 if (SWIG_arg_fail(1)) SWIG_fail
;
29601 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29602 if (SWIG_arg_fail(2)) SWIG_fail
;
29603 if (arg2
== NULL
) {
29604 SWIG_null_ref("wxTreeItemId");
29606 if (SWIG_arg_fail(2)) SWIG_fail
;
29609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29610 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
29612 wxPyEndAllowThreads(__tstate
);
29613 if (PyErr_Occurred()) SWIG_fail
;
29616 wxTreeItemId
* resultptr
;
29617 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29618 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29626 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29627 PyObject
*resultobj
;
29628 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29629 wxTreeItemId result
;
29630 PyObject
* obj0
= 0 ;
29631 char *kwnames
[] = {
29632 (char *) "self", NULL
29635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
29636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29637 if (SWIG_arg_fail(1)) SWIG_fail
;
29639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29640 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
29642 wxPyEndAllowThreads(__tstate
);
29643 if (PyErr_Occurred()) SWIG_fail
;
29646 wxTreeItemId
* resultptr
;
29647 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29648 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29656 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29657 PyObject
*resultobj
;
29658 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29659 wxTreeItemId
*arg2
= 0 ;
29660 wxTreeItemId result
;
29661 PyObject
* obj0
= 0 ;
29662 PyObject
* obj1
= 0 ;
29663 char *kwnames
[] = {
29664 (char *) "self",(char *) "item", NULL
29667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29669 if (SWIG_arg_fail(1)) SWIG_fail
;
29671 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29672 if (SWIG_arg_fail(2)) SWIG_fail
;
29673 if (arg2
== NULL
) {
29674 SWIG_null_ref("wxTreeItemId");
29676 if (SWIG_arg_fail(2)) SWIG_fail
;
29679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29680 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
29682 wxPyEndAllowThreads(__tstate
);
29683 if (PyErr_Occurred()) SWIG_fail
;
29686 wxTreeItemId
* resultptr
;
29687 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29688 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29696 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29697 PyObject
*resultobj
;
29698 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29699 wxTreeItemId
*arg2
= 0 ;
29700 wxTreeItemId result
;
29701 PyObject
* obj0
= 0 ;
29702 PyObject
* obj1
= 0 ;
29703 char *kwnames
[] = {
29704 (char *) "self",(char *) "item", NULL
29707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29709 if (SWIG_arg_fail(1)) SWIG_fail
;
29711 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29712 if (SWIG_arg_fail(2)) SWIG_fail
;
29713 if (arg2
== NULL
) {
29714 SWIG_null_ref("wxTreeItemId");
29716 if (SWIG_arg_fail(2)) SWIG_fail
;
29719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29720 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
29722 wxPyEndAllowThreads(__tstate
);
29723 if (PyErr_Occurred()) SWIG_fail
;
29726 wxTreeItemId
* resultptr
;
29727 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29728 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29736 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29737 PyObject
*resultobj
;
29738 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29739 wxString
*arg2
= 0 ;
29740 int arg3
= (int) -1 ;
29741 int arg4
= (int) -1 ;
29742 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
29743 wxTreeItemId result
;
29744 bool temp2
= false ;
29745 PyObject
* obj0
= 0 ;
29746 PyObject
* obj1
= 0 ;
29747 PyObject
* obj2
= 0 ;
29748 PyObject
* obj3
= 0 ;
29749 PyObject
* obj4
= 0 ;
29750 char *kwnames
[] = {
29751 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29756 if (SWIG_arg_fail(1)) SWIG_fail
;
29758 arg2
= wxString_in_helper(obj1
);
29759 if (arg2
== NULL
) SWIG_fail
;
29764 arg3
= (int)(SWIG_As_int(obj2
));
29765 if (SWIG_arg_fail(3)) SWIG_fail
;
29770 arg4
= (int)(SWIG_As_int(obj3
));
29771 if (SWIG_arg_fail(4)) SWIG_fail
;
29775 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
29776 if (SWIG_arg_fail(5)) SWIG_fail
;
29779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29780 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
29782 wxPyEndAllowThreads(__tstate
);
29783 if (PyErr_Occurred()) SWIG_fail
;
29786 wxTreeItemId
* resultptr
;
29787 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29788 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29804 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29805 PyObject
*resultobj
;
29806 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29807 wxTreeItemId
*arg2
= 0 ;
29808 wxString
*arg3
= 0 ;
29809 int arg4
= (int) -1 ;
29810 int arg5
= (int) -1 ;
29811 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
29812 wxTreeItemId result
;
29813 bool temp3
= false ;
29814 PyObject
* obj0
= 0 ;
29815 PyObject
* obj1
= 0 ;
29816 PyObject
* obj2
= 0 ;
29817 PyObject
* obj3
= 0 ;
29818 PyObject
* obj4
= 0 ;
29819 PyObject
* obj5
= 0 ;
29820 char *kwnames
[] = {
29821 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29826 if (SWIG_arg_fail(1)) SWIG_fail
;
29828 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29829 if (SWIG_arg_fail(2)) SWIG_fail
;
29830 if (arg2
== NULL
) {
29831 SWIG_null_ref("wxTreeItemId");
29833 if (SWIG_arg_fail(2)) SWIG_fail
;
29836 arg3
= wxString_in_helper(obj2
);
29837 if (arg3
== NULL
) SWIG_fail
;
29842 arg4
= (int)(SWIG_As_int(obj3
));
29843 if (SWIG_arg_fail(4)) SWIG_fail
;
29848 arg5
= (int)(SWIG_As_int(obj4
));
29849 if (SWIG_arg_fail(5)) SWIG_fail
;
29853 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
29854 if (SWIG_arg_fail(6)) SWIG_fail
;
29857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29858 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
29860 wxPyEndAllowThreads(__tstate
);
29861 if (PyErr_Occurred()) SWIG_fail
;
29864 wxTreeItemId
* resultptr
;
29865 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29866 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29882 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29883 PyObject
*resultobj
;
29884 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29885 wxTreeItemId
*arg2
= 0 ;
29886 wxTreeItemId
*arg3
= 0 ;
29887 wxString
*arg4
= 0 ;
29888 int arg5
= (int) -1 ;
29889 int arg6
= (int) -1 ;
29890 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
29891 wxTreeItemId result
;
29892 bool temp4
= false ;
29893 PyObject
* obj0
= 0 ;
29894 PyObject
* obj1
= 0 ;
29895 PyObject
* obj2
= 0 ;
29896 PyObject
* obj3
= 0 ;
29897 PyObject
* obj4
= 0 ;
29898 PyObject
* obj5
= 0 ;
29899 PyObject
* obj6
= 0 ;
29900 char *kwnames
[] = {
29901 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
29905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29906 if (SWIG_arg_fail(1)) SWIG_fail
;
29908 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29909 if (SWIG_arg_fail(2)) SWIG_fail
;
29910 if (arg2
== NULL
) {
29911 SWIG_null_ref("wxTreeItemId");
29913 if (SWIG_arg_fail(2)) SWIG_fail
;
29916 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29917 if (SWIG_arg_fail(3)) SWIG_fail
;
29918 if (arg3
== NULL
) {
29919 SWIG_null_ref("wxTreeItemId");
29921 if (SWIG_arg_fail(3)) SWIG_fail
;
29924 arg4
= wxString_in_helper(obj3
);
29925 if (arg4
== NULL
) SWIG_fail
;
29930 arg5
= (int)(SWIG_As_int(obj4
));
29931 if (SWIG_arg_fail(5)) SWIG_fail
;
29936 arg6
= (int)(SWIG_As_int(obj5
));
29937 if (SWIG_arg_fail(6)) SWIG_fail
;
29941 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
29942 if (SWIG_arg_fail(7)) SWIG_fail
;
29945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29946 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
29948 wxPyEndAllowThreads(__tstate
);
29949 if (PyErr_Occurred()) SWIG_fail
;
29952 wxTreeItemId
* resultptr
;
29953 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29954 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29970 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29971 PyObject
*resultobj
;
29972 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29973 wxTreeItemId
*arg2
= 0 ;
29975 wxString
*arg4
= 0 ;
29976 int arg5
= (int) -1 ;
29977 int arg6
= (int) -1 ;
29978 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
29979 wxTreeItemId result
;
29980 bool temp4
= false ;
29981 PyObject
* obj0
= 0 ;
29982 PyObject
* obj1
= 0 ;
29983 PyObject
* obj2
= 0 ;
29984 PyObject
* obj3
= 0 ;
29985 PyObject
* obj4
= 0 ;
29986 PyObject
* obj5
= 0 ;
29987 PyObject
* obj6
= 0 ;
29988 char *kwnames
[] = {
29989 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
29993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29994 if (SWIG_arg_fail(1)) SWIG_fail
;
29996 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29997 if (SWIG_arg_fail(2)) SWIG_fail
;
29998 if (arg2
== NULL
) {
29999 SWIG_null_ref("wxTreeItemId");
30001 if (SWIG_arg_fail(2)) SWIG_fail
;
30004 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
30005 if (SWIG_arg_fail(3)) SWIG_fail
;
30008 arg4
= wxString_in_helper(obj3
);
30009 if (arg4
== NULL
) SWIG_fail
;
30014 arg5
= (int)(SWIG_As_int(obj4
));
30015 if (SWIG_arg_fail(5)) SWIG_fail
;
30020 arg6
= (int)(SWIG_As_int(obj5
));
30021 if (SWIG_arg_fail(6)) SWIG_fail
;
30025 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30026 if (SWIG_arg_fail(7)) SWIG_fail
;
30029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30030 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
30032 wxPyEndAllowThreads(__tstate
);
30033 if (PyErr_Occurred()) SWIG_fail
;
30036 wxTreeItemId
* resultptr
;
30037 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30038 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30054 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30055 PyObject
*resultobj
;
30056 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30057 wxTreeItemId
*arg2
= 0 ;
30058 wxString
*arg3
= 0 ;
30059 int arg4
= (int) -1 ;
30060 int arg5
= (int) -1 ;
30061 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
30062 wxTreeItemId result
;
30063 bool temp3
= false ;
30064 PyObject
* obj0
= 0 ;
30065 PyObject
* obj1
= 0 ;
30066 PyObject
* obj2
= 0 ;
30067 PyObject
* obj3
= 0 ;
30068 PyObject
* obj4
= 0 ;
30069 PyObject
* obj5
= 0 ;
30070 char *kwnames
[] = {
30071 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30076 if (SWIG_arg_fail(1)) SWIG_fail
;
30078 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30079 if (SWIG_arg_fail(2)) SWIG_fail
;
30080 if (arg2
== NULL
) {
30081 SWIG_null_ref("wxTreeItemId");
30083 if (SWIG_arg_fail(2)) SWIG_fail
;
30086 arg3
= wxString_in_helper(obj2
);
30087 if (arg3
== NULL
) SWIG_fail
;
30092 arg4
= (int)(SWIG_As_int(obj3
));
30093 if (SWIG_arg_fail(4)) SWIG_fail
;
30098 arg5
= (int)(SWIG_As_int(obj4
));
30099 if (SWIG_arg_fail(5)) SWIG_fail
;
30103 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30104 if (SWIG_arg_fail(6)) SWIG_fail
;
30107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30108 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
30110 wxPyEndAllowThreads(__tstate
);
30111 if (PyErr_Occurred()) SWIG_fail
;
30114 wxTreeItemId
* resultptr
;
30115 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30116 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30132 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30133 PyObject
*resultobj
;
30134 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30135 wxTreeItemId
*arg2
= 0 ;
30136 PyObject
* obj0
= 0 ;
30137 PyObject
* obj1
= 0 ;
30138 char *kwnames
[] = {
30139 (char *) "self",(char *) "item", NULL
30142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
30143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30144 if (SWIG_arg_fail(1)) SWIG_fail
;
30146 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30147 if (SWIG_arg_fail(2)) SWIG_fail
;
30148 if (arg2
== NULL
) {
30149 SWIG_null_ref("wxTreeItemId");
30151 if (SWIG_arg_fail(2)) SWIG_fail
;
30154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30155 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
30157 wxPyEndAllowThreads(__tstate
);
30158 if (PyErr_Occurred()) SWIG_fail
;
30160 Py_INCREF(Py_None
); resultobj
= Py_None
;
30167 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30168 PyObject
*resultobj
;
30169 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30170 wxTreeItemId
*arg2
= 0 ;
30171 PyObject
* obj0
= 0 ;
30172 PyObject
* obj1
= 0 ;
30173 char *kwnames
[] = {
30174 (char *) "self",(char *) "item", NULL
30177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
30178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30179 if (SWIG_arg_fail(1)) SWIG_fail
;
30181 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30182 if (SWIG_arg_fail(2)) SWIG_fail
;
30183 if (arg2
== NULL
) {
30184 SWIG_null_ref("wxTreeItemId");
30186 if (SWIG_arg_fail(2)) SWIG_fail
;
30189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30190 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
30192 wxPyEndAllowThreads(__tstate
);
30193 if (PyErr_Occurred()) SWIG_fail
;
30195 Py_INCREF(Py_None
); resultobj
= Py_None
;
30202 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30203 PyObject
*resultobj
;
30204 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30205 PyObject
* obj0
= 0 ;
30206 char *kwnames
[] = {
30207 (char *) "self", NULL
30210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
30211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30212 if (SWIG_arg_fail(1)) SWIG_fail
;
30214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30215 (arg1
)->DeleteAllItems();
30217 wxPyEndAllowThreads(__tstate
);
30218 if (PyErr_Occurred()) SWIG_fail
;
30220 Py_INCREF(Py_None
); resultobj
= Py_None
;
30227 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30228 PyObject
*resultobj
;
30229 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30230 wxTreeItemId
*arg2
= 0 ;
30231 PyObject
* obj0
= 0 ;
30232 PyObject
* obj1
= 0 ;
30233 char *kwnames
[] = {
30234 (char *) "self",(char *) "item", NULL
30237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
30238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30239 if (SWIG_arg_fail(1)) SWIG_fail
;
30241 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30242 if (SWIG_arg_fail(2)) SWIG_fail
;
30243 if (arg2
== NULL
) {
30244 SWIG_null_ref("wxTreeItemId");
30246 if (SWIG_arg_fail(2)) SWIG_fail
;
30249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30250 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
30252 wxPyEndAllowThreads(__tstate
);
30253 if (PyErr_Occurred()) SWIG_fail
;
30255 Py_INCREF(Py_None
); resultobj
= Py_None
;
30262 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30263 PyObject
*resultobj
;
30264 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30265 wxTreeItemId
*arg2
= 0 ;
30266 PyObject
* obj0
= 0 ;
30267 PyObject
* obj1
= 0 ;
30268 char *kwnames
[] = {
30269 (char *) "self",(char *) "item", NULL
30272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
30273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30274 if (SWIG_arg_fail(1)) SWIG_fail
;
30276 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30277 if (SWIG_arg_fail(2)) SWIG_fail
;
30278 if (arg2
== NULL
) {
30279 SWIG_null_ref("wxTreeItemId");
30281 if (SWIG_arg_fail(2)) SWIG_fail
;
30284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30285 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
30287 wxPyEndAllowThreads(__tstate
);
30288 if (PyErr_Occurred()) SWIG_fail
;
30290 Py_INCREF(Py_None
); resultobj
= Py_None
;
30297 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30298 PyObject
*resultobj
;
30299 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30300 wxTreeItemId
*arg2
= 0 ;
30301 PyObject
* obj0
= 0 ;
30302 PyObject
* obj1
= 0 ;
30303 char *kwnames
[] = {
30304 (char *) "self",(char *) "item", NULL
30307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
30308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30309 if (SWIG_arg_fail(1)) SWIG_fail
;
30311 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30312 if (SWIG_arg_fail(2)) SWIG_fail
;
30313 if (arg2
== NULL
) {
30314 SWIG_null_ref("wxTreeItemId");
30316 if (SWIG_arg_fail(2)) SWIG_fail
;
30319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30320 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
30322 wxPyEndAllowThreads(__tstate
);
30323 if (PyErr_Occurred()) SWIG_fail
;
30325 Py_INCREF(Py_None
); resultobj
= Py_None
;
30332 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30333 PyObject
*resultobj
;
30334 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30335 wxTreeItemId
*arg2
= 0 ;
30336 PyObject
* obj0
= 0 ;
30337 PyObject
* obj1
= 0 ;
30338 char *kwnames
[] = {
30339 (char *) "self",(char *) "item", NULL
30342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
30343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30344 if (SWIG_arg_fail(1)) SWIG_fail
;
30346 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30347 if (SWIG_arg_fail(2)) SWIG_fail
;
30348 if (arg2
== NULL
) {
30349 SWIG_null_ref("wxTreeItemId");
30351 if (SWIG_arg_fail(2)) SWIG_fail
;
30354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30355 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
30357 wxPyEndAllowThreads(__tstate
);
30358 if (PyErr_Occurred()) SWIG_fail
;
30360 Py_INCREF(Py_None
); resultobj
= Py_None
;
30367 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30368 PyObject
*resultobj
;
30369 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30370 PyObject
* obj0
= 0 ;
30371 char *kwnames
[] = {
30372 (char *) "self", NULL
30375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
30376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30377 if (SWIG_arg_fail(1)) SWIG_fail
;
30379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30380 (arg1
)->Unselect();
30382 wxPyEndAllowThreads(__tstate
);
30383 if (PyErr_Occurred()) SWIG_fail
;
30385 Py_INCREF(Py_None
); resultobj
= Py_None
;
30392 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30393 PyObject
*resultobj
;
30394 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30395 wxTreeItemId
*arg2
= 0 ;
30396 PyObject
* obj0
= 0 ;
30397 PyObject
* obj1
= 0 ;
30398 char *kwnames
[] = {
30399 (char *) "self",(char *) "item", NULL
30402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30404 if (SWIG_arg_fail(1)) SWIG_fail
;
30406 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30407 if (SWIG_arg_fail(2)) SWIG_fail
;
30408 if (arg2
== NULL
) {
30409 SWIG_null_ref("wxTreeItemId");
30411 if (SWIG_arg_fail(2)) SWIG_fail
;
30414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30415 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
30417 wxPyEndAllowThreads(__tstate
);
30418 if (PyErr_Occurred()) SWIG_fail
;
30420 Py_INCREF(Py_None
); resultobj
= Py_None
;
30427 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30428 PyObject
*resultobj
;
30429 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30430 PyObject
* obj0
= 0 ;
30431 char *kwnames
[] = {
30432 (char *) "self", NULL
30435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
30436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30437 if (SWIG_arg_fail(1)) SWIG_fail
;
30439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30440 (arg1
)->UnselectAll();
30442 wxPyEndAllowThreads(__tstate
);
30443 if (PyErr_Occurred()) SWIG_fail
;
30445 Py_INCREF(Py_None
); resultobj
= Py_None
;
30452 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30453 PyObject
*resultobj
;
30454 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30455 wxTreeItemId
*arg2
= 0 ;
30456 bool arg3
= (bool) true ;
30457 PyObject
* obj0
= 0 ;
30458 PyObject
* obj1
= 0 ;
30459 PyObject
* obj2
= 0 ;
30460 char *kwnames
[] = {
30461 (char *) "self",(char *) "item",(char *) "select", NULL
30464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30466 if (SWIG_arg_fail(1)) SWIG_fail
;
30468 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30469 if (SWIG_arg_fail(2)) SWIG_fail
;
30470 if (arg2
== NULL
) {
30471 SWIG_null_ref("wxTreeItemId");
30473 if (SWIG_arg_fail(2)) SWIG_fail
;
30477 arg3
= (bool)(SWIG_As_bool(obj2
));
30478 if (SWIG_arg_fail(3)) SWIG_fail
;
30482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30483 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
30485 wxPyEndAllowThreads(__tstate
);
30486 if (PyErr_Occurred()) SWIG_fail
;
30488 Py_INCREF(Py_None
); resultobj
= Py_None
;
30495 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30496 PyObject
*resultobj
;
30497 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30498 wxTreeItemId
*arg2
= 0 ;
30499 PyObject
* obj0
= 0 ;
30500 PyObject
* obj1
= 0 ;
30501 char *kwnames
[] = {
30502 (char *) "self",(char *) "item", NULL
30505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
30506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30507 if (SWIG_arg_fail(1)) SWIG_fail
;
30509 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30510 if (SWIG_arg_fail(2)) SWIG_fail
;
30511 if (arg2
== NULL
) {
30512 SWIG_null_ref("wxTreeItemId");
30514 if (SWIG_arg_fail(2)) SWIG_fail
;
30517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30518 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
30520 wxPyEndAllowThreads(__tstate
);
30521 if (PyErr_Occurred()) SWIG_fail
;
30523 Py_INCREF(Py_None
); resultobj
= Py_None
;
30530 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30531 PyObject
*resultobj
;
30532 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30533 wxTreeItemId
*arg2
= 0 ;
30534 PyObject
* obj0
= 0 ;
30535 PyObject
* obj1
= 0 ;
30536 char *kwnames
[] = {
30537 (char *) "self",(char *) "item", NULL
30540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
30541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30542 if (SWIG_arg_fail(1)) SWIG_fail
;
30544 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30545 if (SWIG_arg_fail(2)) SWIG_fail
;
30546 if (arg2
== NULL
) {
30547 SWIG_null_ref("wxTreeItemId");
30549 if (SWIG_arg_fail(2)) SWIG_fail
;
30552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30553 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
30555 wxPyEndAllowThreads(__tstate
);
30556 if (PyErr_Occurred()) SWIG_fail
;
30558 Py_INCREF(Py_None
); resultobj
= Py_None
;
30565 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30566 PyObject
*resultobj
;
30567 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30568 wxTreeItemId
*arg2
= 0 ;
30569 PyObject
* obj0
= 0 ;
30570 PyObject
* obj1
= 0 ;
30571 char *kwnames
[] = {
30572 (char *) "self",(char *) "item", NULL
30575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
30576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30577 if (SWIG_arg_fail(1)) SWIG_fail
;
30579 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30580 if (SWIG_arg_fail(2)) SWIG_fail
;
30581 if (arg2
== NULL
) {
30582 SWIG_null_ref("wxTreeItemId");
30584 if (SWIG_arg_fail(2)) SWIG_fail
;
30587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30588 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
30590 wxPyEndAllowThreads(__tstate
);
30591 if (PyErr_Occurred()) SWIG_fail
;
30593 Py_INCREF(Py_None
); resultobj
= Py_None
;
30600 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30601 PyObject
*resultobj
;
30602 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30603 wxTreeItemId
*arg2
= 0 ;
30604 PyObject
* obj0
= 0 ;
30605 PyObject
* obj1
= 0 ;
30606 char *kwnames
[] = {
30607 (char *) "self",(char *) "item", NULL
30610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
30611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30612 if (SWIG_arg_fail(1)) SWIG_fail
;
30614 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30615 if (SWIG_arg_fail(2)) SWIG_fail
;
30616 if (arg2
== NULL
) {
30617 SWIG_null_ref("wxTreeItemId");
30619 if (SWIG_arg_fail(2)) SWIG_fail
;
30622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30623 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
30625 wxPyEndAllowThreads(__tstate
);
30626 if (PyErr_Occurred()) SWIG_fail
;
30628 Py_INCREF(Py_None
); resultobj
= Py_None
;
30635 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30636 PyObject
*resultobj
;
30637 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30638 wxTextCtrl
*result
;
30639 PyObject
* obj0
= 0 ;
30640 char *kwnames
[] = {
30641 (char *) "self", NULL
30644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
30645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30646 if (SWIG_arg_fail(1)) SWIG_fail
;
30648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30649 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
30651 wxPyEndAllowThreads(__tstate
);
30652 if (PyErr_Occurred()) SWIG_fail
;
30655 resultobj
= wxPyMake_wxObject(result
, 0);
30663 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30664 PyObject
*resultobj
;
30665 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30666 wxTreeItemId
*arg2
= 0 ;
30667 PyObject
* obj0
= 0 ;
30668 PyObject
* obj1
= 0 ;
30669 char *kwnames
[] = {
30670 (char *) "self",(char *) "item", NULL
30673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
30674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30675 if (SWIG_arg_fail(1)) SWIG_fail
;
30677 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30678 if (SWIG_arg_fail(2)) SWIG_fail
;
30679 if (arg2
== NULL
) {
30680 SWIG_null_ref("wxTreeItemId");
30682 if (SWIG_arg_fail(2)) SWIG_fail
;
30685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30686 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
30688 wxPyEndAllowThreads(__tstate
);
30689 if (PyErr_Occurred()) SWIG_fail
;
30691 Py_INCREF(Py_None
); resultobj
= Py_None
;
30698 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30699 PyObject
*resultobj
;
30700 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30701 wxPoint
*arg2
= 0 ;
30703 wxTreeItemId result
;
30707 PyObject
* obj0
= 0 ;
30708 PyObject
* obj1
= 0 ;
30709 char *kwnames
[] = {
30710 (char *) "self",(char *) "point", NULL
30713 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
30715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30716 if (SWIG_arg_fail(1)) SWIG_fail
;
30719 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30723 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
30725 wxPyEndAllowThreads(__tstate
);
30726 if (PyErr_Occurred()) SWIG_fail
;
30729 wxTreeItemId
* resultptr
;
30730 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30731 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30733 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30734 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30741 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30742 PyObject
*resultobj
;
30743 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30744 wxTreeItemId
*arg2
= 0 ;
30745 bool arg3
= (bool) false ;
30747 PyObject
* obj0
= 0 ;
30748 PyObject
* obj1
= 0 ;
30749 PyObject
* obj2
= 0 ;
30750 char *kwnames
[] = {
30751 (char *) "self",(char *) "item",(char *) "textOnly", NULL
30754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30756 if (SWIG_arg_fail(1)) SWIG_fail
;
30758 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30759 if (SWIG_arg_fail(2)) SWIG_fail
;
30760 if (arg2
== NULL
) {
30761 SWIG_null_ref("wxTreeItemId");
30763 if (SWIG_arg_fail(2)) SWIG_fail
;
30767 arg3
= (bool)(SWIG_As_bool(obj2
));
30768 if (SWIG_arg_fail(3)) SWIG_fail
;
30772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30773 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
30775 wxPyEndAllowThreads(__tstate
);
30776 if (PyErr_Occurred()) SWIG_fail
;
30778 resultobj
= result
;
30785 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30786 PyObject
*resultobj
;
30787 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
30788 wxVisualAttributes result
;
30789 PyObject
* obj0
= 0 ;
30790 char *kwnames
[] = {
30791 (char *) "variant", NULL
30794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
30797 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
30798 if (SWIG_arg_fail(1)) SWIG_fail
;
30802 if (!wxPyCheckForApp()) SWIG_fail
;
30803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30804 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
30806 wxPyEndAllowThreads(__tstate
);
30807 if (PyErr_Occurred()) SWIG_fail
;
30810 wxVisualAttributes
* resultptr
;
30811 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
30812 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
30820 static PyObject
* TreeCtrl_swigregister(PyObject
*, PyObject
*args
) {
30822 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30823 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
30825 return Py_BuildValue((char *)"");
30827 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*) {
30828 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
30833 static PyObject
*_wrap_DirDialogDefaultFolderStr_get(void) {
30838 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
30840 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
30847 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30848 PyObject
*resultobj
;
30849 wxWindow
*arg1
= (wxWindow
*) 0 ;
30850 int arg2
= (int) (int)-1 ;
30851 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
30852 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
30853 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30854 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30855 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30856 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30857 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
30858 wxString
const &arg7_defvalue
= wxPyEmptyString
;
30859 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30860 int arg8
= (int) 0 ;
30861 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
30862 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
30863 wxGenericDirCtrl
*result
;
30864 bool temp3
= false ;
30867 bool temp7
= false ;
30868 bool temp9
= false ;
30869 PyObject
* obj0
= 0 ;
30870 PyObject
* obj1
= 0 ;
30871 PyObject
* obj2
= 0 ;
30872 PyObject
* obj3
= 0 ;
30873 PyObject
* obj4
= 0 ;
30874 PyObject
* obj5
= 0 ;
30875 PyObject
* obj6
= 0 ;
30876 PyObject
* obj7
= 0 ;
30877 PyObject
* obj8
= 0 ;
30878 char *kwnames
[] = {
30879 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
30882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
30883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30884 if (SWIG_arg_fail(1)) SWIG_fail
;
30887 arg2
= (int const)(SWIG_As_int(obj1
));
30888 if (SWIG_arg_fail(2)) SWIG_fail
;
30893 arg3
= wxString_in_helper(obj2
);
30894 if (arg3
== NULL
) SWIG_fail
;
30901 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30907 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30912 arg6
= (long)(SWIG_As_long(obj5
));
30913 if (SWIG_arg_fail(6)) SWIG_fail
;
30918 arg7
= wxString_in_helper(obj6
);
30919 if (arg7
== NULL
) SWIG_fail
;
30925 arg8
= (int)(SWIG_As_int(obj7
));
30926 if (SWIG_arg_fail(8)) SWIG_fail
;
30931 arg9
= wxString_in_helper(obj8
);
30932 if (arg9
== NULL
) SWIG_fail
;
30937 if (!wxPyCheckForApp()) SWIG_fail
;
30938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30939 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
30941 wxPyEndAllowThreads(__tstate
);
30942 if (PyErr_Occurred()) SWIG_fail
;
30944 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
30975 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30976 PyObject
*resultobj
;
30977 wxGenericDirCtrl
*result
;
30978 char *kwnames
[] = {
30982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
30984 if (!wxPyCheckForApp()) SWIG_fail
;
30985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30986 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
30988 wxPyEndAllowThreads(__tstate
);
30989 if (PyErr_Occurred()) SWIG_fail
;
30991 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
30998 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30999 PyObject
*resultobj
;
31000 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31001 wxWindow
*arg2
= (wxWindow
*) 0 ;
31002 int arg3
= (int) (int)-1 ;
31003 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
31004 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
31005 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
31006 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
31007 wxSize
const &arg6_defvalue
= wxDefaultSize
;
31008 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
31009 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
31010 wxString
const &arg8_defvalue
= wxPyEmptyString
;
31011 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
31012 int arg9
= (int) 0 ;
31013 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
31014 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
31016 bool temp4
= false ;
31019 bool temp8
= false ;
31020 bool temp10
= false ;
31021 PyObject
* obj0
= 0 ;
31022 PyObject
* obj1
= 0 ;
31023 PyObject
* obj2
= 0 ;
31024 PyObject
* obj3
= 0 ;
31025 PyObject
* obj4
= 0 ;
31026 PyObject
* obj5
= 0 ;
31027 PyObject
* obj6
= 0 ;
31028 PyObject
* obj7
= 0 ;
31029 PyObject
* obj8
= 0 ;
31030 PyObject
* obj9
= 0 ;
31031 char *kwnames
[] = {
31032 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
31036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31037 if (SWIG_arg_fail(1)) SWIG_fail
;
31038 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31039 if (SWIG_arg_fail(2)) SWIG_fail
;
31042 arg3
= (int const)(SWIG_As_int(obj2
));
31043 if (SWIG_arg_fail(3)) SWIG_fail
;
31048 arg4
= wxString_in_helper(obj3
);
31049 if (arg4
== NULL
) SWIG_fail
;
31056 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
31062 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
31067 arg7
= (long)(SWIG_As_long(obj6
));
31068 if (SWIG_arg_fail(7)) SWIG_fail
;
31073 arg8
= wxString_in_helper(obj7
);
31074 if (arg8
== NULL
) SWIG_fail
;
31080 arg9
= (int)(SWIG_As_int(obj8
));
31081 if (SWIG_arg_fail(9)) SWIG_fail
;
31086 arg10
= wxString_in_helper(obj9
);
31087 if (arg10
== NULL
) SWIG_fail
;
31092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31093 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
31095 wxPyEndAllowThreads(__tstate
);
31096 if (PyErr_Occurred()) SWIG_fail
;
31099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31131 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31132 PyObject
*resultobj
;
31133 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31134 wxString
*arg2
= 0 ;
31136 bool temp2
= false ;
31137 PyObject
* obj0
= 0 ;
31138 PyObject
* obj1
= 0 ;
31139 char *kwnames
[] = {
31140 (char *) "self",(char *) "path", NULL
31143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31145 if (SWIG_arg_fail(1)) SWIG_fail
;
31147 arg2
= wxString_in_helper(obj1
);
31148 if (arg2
== NULL
) SWIG_fail
;
31152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31153 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
31155 wxPyEndAllowThreads(__tstate
);
31156 if (PyErr_Occurred()) SWIG_fail
;
31159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31175 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31176 PyObject
*resultobj
;
31177 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31179 PyObject
* obj0
= 0 ;
31180 char *kwnames
[] = {
31181 (char *) "self", NULL
31184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
31185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31186 if (SWIG_arg_fail(1)) SWIG_fail
;
31188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31189 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
31191 wxPyEndAllowThreads(__tstate
);
31192 if (PyErr_Occurred()) SWIG_fail
;
31196 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31198 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31207 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31208 PyObject
*resultobj
;
31209 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31210 wxString
*arg2
= 0 ;
31211 bool temp2
= false ;
31212 PyObject
* obj0
= 0 ;
31213 PyObject
* obj1
= 0 ;
31214 char *kwnames
[] = {
31215 (char *) "self",(char *) "path", NULL
31218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31220 if (SWIG_arg_fail(1)) SWIG_fail
;
31222 arg2
= wxString_in_helper(obj1
);
31223 if (arg2
== NULL
) SWIG_fail
;
31227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31228 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
31230 wxPyEndAllowThreads(__tstate
);
31231 if (PyErr_Occurred()) SWIG_fail
;
31233 Py_INCREF(Py_None
); resultobj
= Py_None
;
31248 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31249 PyObject
*resultobj
;
31250 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31252 PyObject
* obj0
= 0 ;
31253 char *kwnames
[] = {
31254 (char *) "self", NULL
31257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
31258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31259 if (SWIG_arg_fail(1)) SWIG_fail
;
31261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31262 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
31264 wxPyEndAllowThreads(__tstate
);
31265 if (PyErr_Occurred()) SWIG_fail
;
31269 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31271 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31280 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31281 PyObject
*resultobj
;
31282 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31284 PyObject
* obj0
= 0 ;
31285 char *kwnames
[] = {
31286 (char *) "self", NULL
31289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
31290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31291 if (SWIG_arg_fail(1)) SWIG_fail
;
31293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31294 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
31296 wxPyEndAllowThreads(__tstate
);
31297 if (PyErr_Occurred()) SWIG_fail
;
31301 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31303 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31312 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31313 PyObject
*resultobj
;
31314 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31315 wxString
*arg2
= 0 ;
31316 bool temp2
= false ;
31317 PyObject
* obj0
= 0 ;
31318 PyObject
* obj1
= 0 ;
31319 char *kwnames
[] = {
31320 (char *) "self",(char *) "path", NULL
31323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31325 if (SWIG_arg_fail(1)) SWIG_fail
;
31327 arg2
= wxString_in_helper(obj1
);
31328 if (arg2
== NULL
) SWIG_fail
;
31332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31333 (arg1
)->SetPath((wxString
const &)*arg2
);
31335 wxPyEndAllowThreads(__tstate
);
31336 if (PyErr_Occurred()) SWIG_fail
;
31338 Py_INCREF(Py_None
); resultobj
= Py_None
;
31353 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31354 PyObject
*resultobj
;
31355 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31357 PyObject
* obj0
= 0 ;
31358 PyObject
* obj1
= 0 ;
31359 char *kwnames
[] = {
31360 (char *) "self",(char *) "show", NULL
31363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
31364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31365 if (SWIG_arg_fail(1)) SWIG_fail
;
31367 arg2
= (bool)(SWIG_As_bool(obj1
));
31368 if (SWIG_arg_fail(2)) SWIG_fail
;
31371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31372 (arg1
)->ShowHidden(arg2
);
31374 wxPyEndAllowThreads(__tstate
);
31375 if (PyErr_Occurred()) SWIG_fail
;
31377 Py_INCREF(Py_None
); resultobj
= Py_None
;
31384 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31385 PyObject
*resultobj
;
31386 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31388 PyObject
* obj0
= 0 ;
31389 char *kwnames
[] = {
31390 (char *) "self", NULL
31393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
31394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31395 if (SWIG_arg_fail(1)) SWIG_fail
;
31397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31398 result
= (bool)(arg1
)->GetShowHidden();
31400 wxPyEndAllowThreads(__tstate
);
31401 if (PyErr_Occurred()) SWIG_fail
;
31404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31412 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31413 PyObject
*resultobj
;
31414 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31416 PyObject
* obj0
= 0 ;
31417 char *kwnames
[] = {
31418 (char *) "self", NULL
31421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
31422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31423 if (SWIG_arg_fail(1)) SWIG_fail
;
31425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31426 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
31428 wxPyEndAllowThreads(__tstate
);
31429 if (PyErr_Occurred()) SWIG_fail
;
31433 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31435 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31444 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31445 PyObject
*resultobj
;
31446 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31447 wxString
*arg2
= 0 ;
31448 bool temp2
= false ;
31449 PyObject
* obj0
= 0 ;
31450 PyObject
* obj1
= 0 ;
31451 char *kwnames
[] = {
31452 (char *) "self",(char *) "filter", NULL
31455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
31456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31457 if (SWIG_arg_fail(1)) SWIG_fail
;
31459 arg2
= wxString_in_helper(obj1
);
31460 if (arg2
== NULL
) SWIG_fail
;
31464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31465 (arg1
)->SetFilter((wxString
const &)*arg2
);
31467 wxPyEndAllowThreads(__tstate
);
31468 if (PyErr_Occurred()) SWIG_fail
;
31470 Py_INCREF(Py_None
); resultobj
= Py_None
;
31485 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31486 PyObject
*resultobj
;
31487 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31489 PyObject
* obj0
= 0 ;
31490 char *kwnames
[] = {
31491 (char *) "self", NULL
31494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
31495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31496 if (SWIG_arg_fail(1)) SWIG_fail
;
31498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31499 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
31501 wxPyEndAllowThreads(__tstate
);
31502 if (PyErr_Occurred()) SWIG_fail
;
31505 resultobj
= SWIG_From_int((int)(result
));
31513 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31514 PyObject
*resultobj
;
31515 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31517 PyObject
* obj0
= 0 ;
31518 PyObject
* obj1
= 0 ;
31519 char *kwnames
[] = {
31520 (char *) "self",(char *) "n", NULL
31523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
31524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31525 if (SWIG_arg_fail(1)) SWIG_fail
;
31527 arg2
= (int)(SWIG_As_int(obj1
));
31528 if (SWIG_arg_fail(2)) SWIG_fail
;
31531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31532 (arg1
)->SetFilterIndex(arg2
);
31534 wxPyEndAllowThreads(__tstate
);
31535 if (PyErr_Occurred()) SWIG_fail
;
31537 Py_INCREF(Py_None
); resultobj
= Py_None
;
31544 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31545 PyObject
*resultobj
;
31546 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31547 wxTreeItemId result
;
31548 PyObject
* obj0
= 0 ;
31549 char *kwnames
[] = {
31550 (char *) "self", NULL
31553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
31554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31555 if (SWIG_arg_fail(1)) SWIG_fail
;
31557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31558 result
= (arg1
)->GetRootId();
31560 wxPyEndAllowThreads(__tstate
);
31561 if (PyErr_Occurred()) SWIG_fail
;
31564 wxTreeItemId
* resultptr
;
31565 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
31566 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31574 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31575 PyObject
*resultobj
;
31576 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31577 wxPyTreeCtrl
*result
;
31578 PyObject
* obj0
= 0 ;
31579 char *kwnames
[] = {
31580 (char *) "self", NULL
31583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
31584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31585 if (SWIG_arg_fail(1)) SWIG_fail
;
31587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31588 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
31590 wxPyEndAllowThreads(__tstate
);
31591 if (PyErr_Occurred()) SWIG_fail
;
31594 resultobj
= wxPyMake_wxObject(result
, 0);
31602 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31603 PyObject
*resultobj
;
31604 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31605 wxDirFilterListCtrl
*result
;
31606 PyObject
* obj0
= 0 ;
31607 char *kwnames
[] = {
31608 (char *) "self", NULL
31611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
31612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31613 if (SWIG_arg_fail(1)) SWIG_fail
;
31615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31616 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
31618 wxPyEndAllowThreads(__tstate
);
31619 if (PyErr_Occurred()) SWIG_fail
;
31621 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
31628 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31629 PyObject
*resultobj
;
31630 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31631 wxTreeItemId arg2
;
31632 wxString
*arg3
= 0 ;
31634 wxTreeItemId result
;
31635 bool temp3
= false ;
31638 PyObject
* obj0
= 0 ;
31639 PyObject
* obj1
= 0 ;
31640 PyObject
* obj2
= 0 ;
31641 char *kwnames
[] = {
31642 (char *) "self",(char *) "parentId",(char *) "path", NULL
31645 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
31646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31648 if (SWIG_arg_fail(1)) SWIG_fail
;
31650 wxTreeItemId
* argp
;
31651 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
);
31652 if (SWIG_arg_fail(2)) SWIG_fail
;
31653 if (argp
== NULL
) {
31654 SWIG_null_ref("wxTreeItemId");
31656 if (SWIG_arg_fail(2)) SWIG_fail
;
31660 arg3
= wxString_in_helper(obj2
);
31661 if (arg3
== NULL
) SWIG_fail
;
31665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31666 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
31668 wxPyEndAllowThreads(__tstate
);
31669 if (PyErr_Occurred()) SWIG_fail
;
31672 wxTreeItemId
* resultptr
;
31673 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
31674 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31676 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
31677 SWIG_From_bool((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, 0)));
31692 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31693 PyObject
*resultobj
;
31694 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31695 PyObject
* obj0
= 0 ;
31696 char *kwnames
[] = {
31697 (char *) "self", NULL
31700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
31701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31702 if (SWIG_arg_fail(1)) SWIG_fail
;
31704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31705 (arg1
)->DoResize();
31707 wxPyEndAllowThreads(__tstate
);
31708 if (PyErr_Occurred()) SWIG_fail
;
31710 Py_INCREF(Py_None
); resultobj
= Py_None
;
31717 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31718 PyObject
*resultobj
;
31719 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31720 PyObject
* obj0
= 0 ;
31721 char *kwnames
[] = {
31722 (char *) "self", NULL
31725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
31726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31727 if (SWIG_arg_fail(1)) SWIG_fail
;
31729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31730 (arg1
)->ReCreateTree();
31732 wxPyEndAllowThreads(__tstate
);
31733 if (PyErr_Occurred()) SWIG_fail
;
31735 Py_INCREF(Py_None
); resultobj
= Py_None
;
31742 static PyObject
* GenericDirCtrl_swigregister(PyObject
*, PyObject
*args
) {
31744 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31745 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
31747 return Py_BuildValue((char *)"");
31749 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31750 PyObject
*resultobj
;
31751 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31752 int arg2
= (int) (int)-1 ;
31753 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31754 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31755 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31756 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31757 long arg5
= (long) 0 ;
31758 wxDirFilterListCtrl
*result
;
31761 PyObject
* obj0
= 0 ;
31762 PyObject
* obj1
= 0 ;
31763 PyObject
* obj2
= 0 ;
31764 PyObject
* obj3
= 0 ;
31765 PyObject
* obj4
= 0 ;
31766 char *kwnames
[] = {
31767 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
31770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31772 if (SWIG_arg_fail(1)) SWIG_fail
;
31775 arg2
= (int const)(SWIG_As_int(obj1
));
31776 if (SWIG_arg_fail(2)) SWIG_fail
;
31782 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31788 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31793 arg5
= (long)(SWIG_As_long(obj4
));
31794 if (SWIG_arg_fail(5)) SWIG_fail
;
31798 if (!wxPyCheckForApp()) SWIG_fail
;
31799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31800 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
31802 wxPyEndAllowThreads(__tstate
);
31803 if (PyErr_Occurred()) SWIG_fail
;
31805 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
31812 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31813 PyObject
*resultobj
;
31814 wxDirFilterListCtrl
*result
;
31815 char *kwnames
[] = {
31819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
31821 if (!wxPyCheckForApp()) SWIG_fail
;
31822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31823 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
31825 wxPyEndAllowThreads(__tstate
);
31826 if (PyErr_Occurred()) SWIG_fail
;
31828 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
31835 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31836 PyObject
*resultobj
;
31837 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
31838 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
31839 int arg3
= (int) (int)-1 ;
31840 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31841 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31842 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31843 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31844 long arg6
= (long) 0 ;
31848 PyObject
* obj0
= 0 ;
31849 PyObject
* obj1
= 0 ;
31850 PyObject
* obj2
= 0 ;
31851 PyObject
* obj3
= 0 ;
31852 PyObject
* obj4
= 0 ;
31853 PyObject
* obj5
= 0 ;
31854 char *kwnames
[] = {
31855 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
31858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31860 if (SWIG_arg_fail(1)) SWIG_fail
;
31861 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31862 if (SWIG_arg_fail(2)) SWIG_fail
;
31865 arg3
= (int const)(SWIG_As_int(obj2
));
31866 if (SWIG_arg_fail(3)) SWIG_fail
;
31872 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31878 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31883 arg6
= (long)(SWIG_As_long(obj5
));
31884 if (SWIG_arg_fail(6)) SWIG_fail
;
31888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31889 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
31891 wxPyEndAllowThreads(__tstate
);
31892 if (PyErr_Occurred()) SWIG_fail
;
31895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31903 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31904 PyObject
*resultobj
;
31905 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
31906 wxString
*arg2
= 0 ;
31908 bool temp2
= false ;
31909 PyObject
* obj0
= 0 ;
31910 PyObject
* obj1
= 0 ;
31911 PyObject
* obj2
= 0 ;
31912 char *kwnames
[] = {
31913 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
31916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31918 if (SWIG_arg_fail(1)) SWIG_fail
;
31920 arg2
= wxString_in_helper(obj1
);
31921 if (arg2
== NULL
) SWIG_fail
;
31925 arg3
= (int)(SWIG_As_int(obj2
));
31926 if (SWIG_arg_fail(3)) SWIG_fail
;
31929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31930 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
31932 wxPyEndAllowThreads(__tstate
);
31933 if (PyErr_Occurred()) SWIG_fail
;
31935 Py_INCREF(Py_None
); resultobj
= Py_None
;
31950 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*, PyObject
*args
) {
31952 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31953 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
31955 return Py_BuildValue((char *)"");
31957 static PyObject
*_wrap_new_PyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31958 PyObject
*resultobj
;
31959 wxWindow
*arg1
= (wxWindow
*) 0 ;
31960 int arg2
= (int) (int)-1 ;
31961 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31962 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31963 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31964 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31965 long arg5
= (long) 0 ;
31966 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
31967 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
31968 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
31969 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31970 wxPyControl
*result
;
31973 bool temp7
= false ;
31974 PyObject
* obj0
= 0 ;
31975 PyObject
* obj1
= 0 ;
31976 PyObject
* obj2
= 0 ;
31977 PyObject
* obj3
= 0 ;
31978 PyObject
* obj4
= 0 ;
31979 PyObject
* obj5
= 0 ;
31980 PyObject
* obj6
= 0 ;
31981 char *kwnames
[] = {
31982 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
31986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31987 if (SWIG_arg_fail(1)) SWIG_fail
;
31990 arg2
= (int const)(SWIG_As_int(obj1
));
31991 if (SWIG_arg_fail(2)) SWIG_fail
;
31997 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32003 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32008 arg5
= (long)(SWIG_As_long(obj4
));
32009 if (SWIG_arg_fail(5)) SWIG_fail
;
32014 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32015 if (SWIG_arg_fail(6)) SWIG_fail
;
32016 if (arg6
== NULL
) {
32017 SWIG_null_ref("wxValidator");
32019 if (SWIG_arg_fail(6)) SWIG_fail
;
32024 arg7
= wxString_in_helper(obj6
);
32025 if (arg7
== NULL
) SWIG_fail
;
32030 if (!wxPyCheckForApp()) SWIG_fail
;
32031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32032 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32034 wxPyEndAllowThreads(__tstate
);
32035 if (PyErr_Occurred()) SWIG_fail
;
32037 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
32052 static PyObject
*_wrap_new_PrePyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32053 PyObject
*resultobj
;
32054 wxPyControl
*result
;
32055 char *kwnames
[] = {
32059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
32061 if (!wxPyCheckForApp()) SWIG_fail
;
32062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32063 result
= (wxPyControl
*)new wxPyControl();
32065 wxPyEndAllowThreads(__tstate
);
32066 if (PyErr_Occurred()) SWIG_fail
;
32068 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
32075 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32076 PyObject
*resultobj
;
32077 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32078 PyObject
*arg2
= (PyObject
*) 0 ;
32079 PyObject
*arg3
= (PyObject
*) 0 ;
32080 PyObject
* obj0
= 0 ;
32081 PyObject
* obj1
= 0 ;
32082 PyObject
* obj2
= 0 ;
32083 char *kwnames
[] = {
32084 (char *) "self",(char *) "self",(char *) "_class", NULL
32087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32089 if (SWIG_arg_fail(1)) SWIG_fail
;
32093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32094 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32096 wxPyEndAllowThreads(__tstate
);
32097 if (PyErr_Occurred()) SWIG_fail
;
32099 Py_INCREF(Py_None
); resultobj
= Py_None
;
32106 static PyObject
*_wrap_PyControl_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32107 PyObject
*resultobj
;
32108 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32111 PyObject
* obj0
= 0 ;
32112 PyObject
* obj1
= 0 ;
32113 char *kwnames
[] = {
32114 (char *) "self",(char *) "size", NULL
32117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
32118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32119 if (SWIG_arg_fail(1)) SWIG_fail
;
32122 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
32125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32126 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
32128 wxPyEndAllowThreads(__tstate
);
32129 if (PyErr_Occurred()) SWIG_fail
;
32131 Py_INCREF(Py_None
); resultobj
= Py_None
;
32138 static PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32139 PyObject
*resultobj
;
32140 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32141 wxDC
*arg2
= (wxDC
*) 0 ;
32143 PyObject
* obj0
= 0 ;
32144 PyObject
* obj1
= 0 ;
32145 char *kwnames
[] = {
32146 (char *) "self",(char *) "dc", NULL
32149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
32150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32151 if (SWIG_arg_fail(1)) SWIG_fail
;
32152 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
32153 if (SWIG_arg_fail(2)) SWIG_fail
;
32155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32156 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
32158 wxPyEndAllowThreads(__tstate
);
32159 if (PyErr_Occurred()) SWIG_fail
;
32162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32170 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32171 PyObject
*resultobj
;
32172 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32177 PyObject
* obj0
= 0 ;
32178 PyObject
* obj1
= 0 ;
32179 PyObject
* obj2
= 0 ;
32180 PyObject
* obj3
= 0 ;
32181 PyObject
* obj4
= 0 ;
32182 char *kwnames
[] = {
32183 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32188 if (SWIG_arg_fail(1)) SWIG_fail
;
32190 arg2
= (int)(SWIG_As_int(obj1
));
32191 if (SWIG_arg_fail(2)) SWIG_fail
;
32194 arg3
= (int)(SWIG_As_int(obj2
));
32195 if (SWIG_arg_fail(3)) SWIG_fail
;
32198 arg4
= (int)(SWIG_As_int(obj3
));
32199 if (SWIG_arg_fail(4)) SWIG_fail
;
32202 arg5
= (int)(SWIG_As_int(obj4
));
32203 if (SWIG_arg_fail(5)) SWIG_fail
;
32206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32207 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
32209 wxPyEndAllowThreads(__tstate
);
32210 if (PyErr_Occurred()) SWIG_fail
;
32212 Py_INCREF(Py_None
); resultobj
= Py_None
;
32219 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32220 PyObject
*resultobj
;
32221 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32226 int arg6
= (int) wxSIZE_AUTO
;
32227 PyObject
* obj0
= 0 ;
32228 PyObject
* obj1
= 0 ;
32229 PyObject
* obj2
= 0 ;
32230 PyObject
* obj3
= 0 ;
32231 PyObject
* obj4
= 0 ;
32232 PyObject
* obj5
= 0 ;
32233 char *kwnames
[] = {
32234 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
32237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32239 if (SWIG_arg_fail(1)) SWIG_fail
;
32241 arg2
= (int)(SWIG_As_int(obj1
));
32242 if (SWIG_arg_fail(2)) SWIG_fail
;
32245 arg3
= (int)(SWIG_As_int(obj2
));
32246 if (SWIG_arg_fail(3)) SWIG_fail
;
32249 arg4
= (int)(SWIG_As_int(obj3
));
32250 if (SWIG_arg_fail(4)) SWIG_fail
;
32253 arg5
= (int)(SWIG_As_int(obj4
));
32254 if (SWIG_arg_fail(5)) SWIG_fail
;
32258 arg6
= (int)(SWIG_As_int(obj5
));
32259 if (SWIG_arg_fail(6)) SWIG_fail
;
32263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32264 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
32266 wxPyEndAllowThreads(__tstate
);
32267 if (PyErr_Occurred()) SWIG_fail
;
32269 Py_INCREF(Py_None
); resultobj
= Py_None
;
32276 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32277 PyObject
*resultobj
;
32278 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32281 PyObject
* obj0
= 0 ;
32282 PyObject
* obj1
= 0 ;
32283 PyObject
* obj2
= 0 ;
32284 char *kwnames
[] = {
32285 (char *) "self",(char *) "width",(char *) "height", NULL
32288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32290 if (SWIG_arg_fail(1)) SWIG_fail
;
32292 arg2
= (int)(SWIG_As_int(obj1
));
32293 if (SWIG_arg_fail(2)) SWIG_fail
;
32296 arg3
= (int)(SWIG_As_int(obj2
));
32297 if (SWIG_arg_fail(3)) SWIG_fail
;
32300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32301 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
32303 wxPyEndAllowThreads(__tstate
);
32304 if (PyErr_Occurred()) SWIG_fail
;
32306 Py_INCREF(Py_None
); resultobj
= Py_None
;
32313 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32314 PyObject
*resultobj
;
32315 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32318 PyObject
* obj0
= 0 ;
32319 PyObject
* obj1
= 0 ;
32320 PyObject
* obj2
= 0 ;
32321 char *kwnames
[] = {
32322 (char *) "self",(char *) "x",(char *) "y", NULL
32325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32327 if (SWIG_arg_fail(1)) SWIG_fail
;
32329 arg2
= (int)(SWIG_As_int(obj1
));
32330 if (SWIG_arg_fail(2)) SWIG_fail
;
32333 arg3
= (int)(SWIG_As_int(obj2
));
32334 if (SWIG_arg_fail(3)) SWIG_fail
;
32337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32338 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
32340 wxPyEndAllowThreads(__tstate
);
32341 if (PyErr_Occurred()) SWIG_fail
;
32343 Py_INCREF(Py_None
); resultobj
= Py_None
;
32350 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32351 PyObject
*resultobj
;
32352 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32353 int *arg2
= (int *) 0 ;
32354 int *arg3
= (int *) 0 ;
32359 PyObject
* obj0
= 0 ;
32360 char *kwnames
[] = {
32361 (char *) "self", NULL
32364 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32365 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
32367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32368 if (SWIG_arg_fail(1)) SWIG_fail
;
32370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32371 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
32373 wxPyEndAllowThreads(__tstate
);
32374 if (PyErr_Occurred()) SWIG_fail
;
32376 Py_INCREF(Py_None
); resultobj
= Py_None
;
32377 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32378 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32379 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32380 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32387 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32388 PyObject
*resultobj
;
32389 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32390 int *arg2
= (int *) 0 ;
32391 int *arg3
= (int *) 0 ;
32396 PyObject
* obj0
= 0 ;
32397 char *kwnames
[] = {
32398 (char *) "self", NULL
32401 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32402 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
32404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32405 if (SWIG_arg_fail(1)) SWIG_fail
;
32407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32408 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
32410 wxPyEndAllowThreads(__tstate
);
32411 if (PyErr_Occurred()) SWIG_fail
;
32413 Py_INCREF(Py_None
); resultobj
= Py_None
;
32414 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32415 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32416 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32417 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32424 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32425 PyObject
*resultobj
;
32426 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32427 int *arg2
= (int *) 0 ;
32428 int *arg3
= (int *) 0 ;
32433 PyObject
* obj0
= 0 ;
32434 char *kwnames
[] = {
32435 (char *) "self", NULL
32438 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32439 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
32441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32442 if (SWIG_arg_fail(1)) SWIG_fail
;
32444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32445 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
32447 wxPyEndAllowThreads(__tstate
);
32448 if (PyErr_Occurred()) SWIG_fail
;
32450 Py_INCREF(Py_None
); resultobj
= Py_None
;
32451 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32452 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32453 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32454 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32461 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32462 PyObject
*resultobj
;
32463 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32465 PyObject
* obj0
= 0 ;
32466 char *kwnames
[] = {
32467 (char *) "self", NULL
32470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
32471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32472 if (SWIG_arg_fail(1)) SWIG_fail
;
32474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32475 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
32477 wxPyEndAllowThreads(__tstate
);
32478 if (PyErr_Occurred()) SWIG_fail
;
32481 wxSize
* resultptr
;
32482 resultptr
= new wxSize((wxSize
&)(result
));
32483 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32491 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32492 PyObject
*resultobj
;
32493 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32495 PyObject
* obj0
= 0 ;
32496 char *kwnames
[] = {
32497 (char *) "self", NULL
32500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
32501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32502 if (SWIG_arg_fail(1)) SWIG_fail
;
32504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32505 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
32507 wxPyEndAllowThreads(__tstate
);
32508 if (PyErr_Occurred()) SWIG_fail
;
32511 wxSize
* resultptr
;
32512 resultptr
= new wxSize((wxSize
&)(result
));
32513 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32521 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32522 PyObject
*resultobj
;
32523 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32524 PyObject
* obj0
= 0 ;
32525 char *kwnames
[] = {
32526 (char *) "self", NULL
32529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
32530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32531 if (SWIG_arg_fail(1)) SWIG_fail
;
32533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32534 (arg1
)->base_InitDialog();
32536 wxPyEndAllowThreads(__tstate
);
32537 if (PyErr_Occurred()) SWIG_fail
;
32539 Py_INCREF(Py_None
); resultobj
= Py_None
;
32546 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32547 PyObject
*resultobj
;
32548 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32550 PyObject
* obj0
= 0 ;
32551 char *kwnames
[] = {
32552 (char *) "self", NULL
32555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
32556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32557 if (SWIG_arg_fail(1)) SWIG_fail
;
32559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32560 result
= (bool)(arg1
)->base_TransferDataToWindow();
32562 wxPyEndAllowThreads(__tstate
);
32563 if (PyErr_Occurred()) SWIG_fail
;
32566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32574 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32575 PyObject
*resultobj
;
32576 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32578 PyObject
* obj0
= 0 ;
32579 char *kwnames
[] = {
32580 (char *) "self", NULL
32583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
32584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32585 if (SWIG_arg_fail(1)) SWIG_fail
;
32587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32588 result
= (bool)(arg1
)->base_TransferDataFromWindow();
32590 wxPyEndAllowThreads(__tstate
);
32591 if (PyErr_Occurred()) SWIG_fail
;
32594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32602 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32603 PyObject
*resultobj
;
32604 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32606 PyObject
* obj0
= 0 ;
32607 char *kwnames
[] = {
32608 (char *) "self", NULL
32611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
32612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32613 if (SWIG_arg_fail(1)) SWIG_fail
;
32615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32616 result
= (bool)(arg1
)->base_Validate();
32618 wxPyEndAllowThreads(__tstate
);
32619 if (PyErr_Occurred()) SWIG_fail
;
32622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32630 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32631 PyObject
*resultobj
;
32632 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32634 PyObject
* obj0
= 0 ;
32635 char *kwnames
[] = {
32636 (char *) "self", NULL
32639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
32640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32641 if (SWIG_arg_fail(1)) SWIG_fail
;
32643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32644 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
32646 wxPyEndAllowThreads(__tstate
);
32647 if (PyErr_Occurred()) SWIG_fail
;
32650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32658 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32659 PyObject
*resultobj
;
32660 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32662 PyObject
* obj0
= 0 ;
32663 char *kwnames
[] = {
32664 (char *) "self", NULL
32667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
32668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32669 if (SWIG_arg_fail(1)) SWIG_fail
;
32671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32672 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
32674 wxPyEndAllowThreads(__tstate
);
32675 if (PyErr_Occurred()) SWIG_fail
;
32678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32686 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32687 PyObject
*resultobj
;
32688 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32690 PyObject
* obj0
= 0 ;
32691 char *kwnames
[] = {
32692 (char *) "self", NULL
32695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
32696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32697 if (SWIG_arg_fail(1)) SWIG_fail
;
32699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32700 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
32702 wxPyEndAllowThreads(__tstate
);
32703 if (PyErr_Occurred()) SWIG_fail
;
32706 wxSize
* resultptr
;
32707 resultptr
= new wxSize((wxSize
&)(result
));
32708 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32716 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32717 PyObject
*resultobj
;
32718 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32719 wxWindow
*arg2
= (wxWindow
*) 0 ;
32720 PyObject
* obj0
= 0 ;
32721 PyObject
* obj1
= 0 ;
32722 char *kwnames
[] = {
32723 (char *) "self",(char *) "child", NULL
32726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
32727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32728 if (SWIG_arg_fail(1)) SWIG_fail
;
32729 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32730 if (SWIG_arg_fail(2)) SWIG_fail
;
32732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32733 (arg1
)->base_AddChild(arg2
);
32735 wxPyEndAllowThreads(__tstate
);
32736 if (PyErr_Occurred()) SWIG_fail
;
32738 Py_INCREF(Py_None
); resultobj
= Py_None
;
32745 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32746 PyObject
*resultobj
;
32747 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32748 wxWindow
*arg2
= (wxWindow
*) 0 ;
32749 PyObject
* obj0
= 0 ;
32750 PyObject
* obj1
= 0 ;
32751 char *kwnames
[] = {
32752 (char *) "self",(char *) "child", NULL
32755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
32756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32757 if (SWIG_arg_fail(1)) SWIG_fail
;
32758 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32759 if (SWIG_arg_fail(2)) SWIG_fail
;
32761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32762 (arg1
)->base_RemoveChild(arg2
);
32764 wxPyEndAllowThreads(__tstate
);
32765 if (PyErr_Occurred()) SWIG_fail
;
32767 Py_INCREF(Py_None
); resultobj
= Py_None
;
32774 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32775 PyObject
*resultobj
;
32776 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32778 PyObject
* obj0
= 0 ;
32779 char *kwnames
[] = {
32780 (char *) "self", NULL
32783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
32784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32785 if (SWIG_arg_fail(1)) SWIG_fail
;
32787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32788 result
= (bool)((wxPyControl
const *)arg1
)->base_ShouldInheritColours();
32790 wxPyEndAllowThreads(__tstate
);
32791 if (PyErr_Occurred()) SWIG_fail
;
32794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32802 static PyObject
*_wrap_PyControl_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32803 PyObject
*resultobj
;
32804 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32805 wxVisualAttributes result
;
32806 PyObject
* obj0
= 0 ;
32807 char *kwnames
[] = {
32808 (char *) "self", NULL
32811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
32812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32813 if (SWIG_arg_fail(1)) SWIG_fail
;
32815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32816 result
= (arg1
)->base_GetDefaultAttributes();
32818 wxPyEndAllowThreads(__tstate
);
32819 if (PyErr_Occurred()) SWIG_fail
;
32822 wxVisualAttributes
* resultptr
;
32823 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
32824 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
32832 static PyObject
*_wrap_PyControl_base_OnInternalIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32833 PyObject
*resultobj
;
32834 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32835 PyObject
* obj0
= 0 ;
32836 char *kwnames
[] = {
32837 (char *) "self", NULL
32840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_OnInternalIdle",kwnames
,&obj0
)) goto fail
;
32841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32842 if (SWIG_arg_fail(1)) SWIG_fail
;
32844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32845 (arg1
)->base_OnInternalIdle();
32847 wxPyEndAllowThreads(__tstate
);
32848 if (PyErr_Occurred()) SWIG_fail
;
32850 Py_INCREF(Py_None
); resultobj
= Py_None
;
32857 static PyObject
* PyControl_swigregister(PyObject
*, PyObject
*args
) {
32859 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32860 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
32862 return Py_BuildValue((char *)"");
32864 static PyObject
*_wrap_new_HelpEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32865 PyObject
*resultobj
;
32866 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
32867 int arg2
= (int) 0 ;
32868 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32869 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32870 wxHelpEvent
*result
;
32872 PyObject
* obj0
= 0 ;
32873 PyObject
* obj1
= 0 ;
32874 PyObject
* obj2
= 0 ;
32875 char *kwnames
[] = {
32876 (char *) "type",(char *) "winid",(char *) "pt", NULL
32879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32882 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
32883 if (SWIG_arg_fail(1)) SWIG_fail
;
32888 arg2
= (int)(SWIG_As_int(obj1
));
32889 if (SWIG_arg_fail(2)) SWIG_fail
;
32895 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32900 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
32902 wxPyEndAllowThreads(__tstate
);
32903 if (PyErr_Occurred()) SWIG_fail
;
32905 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
32912 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32913 PyObject
*resultobj
;
32914 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
32916 PyObject
* obj0
= 0 ;
32917 char *kwnames
[] = {
32918 (char *) "self", NULL
32921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
32922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
32923 if (SWIG_arg_fail(1)) SWIG_fail
;
32925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32926 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
32928 wxPyEndAllowThreads(__tstate
);
32929 if (PyErr_Occurred()) SWIG_fail
;
32932 wxPoint
* resultptr
;
32933 resultptr
= new wxPoint((wxPoint
const &)(result
));
32934 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
32942 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32943 PyObject
*resultobj
;
32944 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
32945 wxPoint
*arg2
= 0 ;
32947 PyObject
* obj0
= 0 ;
32948 PyObject
* obj1
= 0 ;
32949 char *kwnames
[] = {
32950 (char *) "self",(char *) "pos", NULL
32953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
32954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
32955 if (SWIG_arg_fail(1)) SWIG_fail
;
32958 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32962 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
32964 wxPyEndAllowThreads(__tstate
);
32965 if (PyErr_Occurred()) SWIG_fail
;
32967 Py_INCREF(Py_None
); resultobj
= Py_None
;
32974 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32975 PyObject
*resultobj
;
32976 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
32978 PyObject
* obj0
= 0 ;
32979 char *kwnames
[] = {
32980 (char *) "self", NULL
32983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
32984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
32985 if (SWIG_arg_fail(1)) SWIG_fail
;
32987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32989 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
32990 result
= (wxString
*) &_result_ref
;
32993 wxPyEndAllowThreads(__tstate
);
32994 if (PyErr_Occurred()) SWIG_fail
;
32998 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33000 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33009 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33010 PyObject
*resultobj
;
33011 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33012 wxString
*arg2
= 0 ;
33013 bool temp2
= false ;
33014 PyObject
* obj0
= 0 ;
33015 PyObject
* obj1
= 0 ;
33016 char *kwnames
[] = {
33017 (char *) "self",(char *) "link", NULL
33020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
33021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33022 if (SWIG_arg_fail(1)) SWIG_fail
;
33024 arg2
= wxString_in_helper(obj1
);
33025 if (arg2
== NULL
) SWIG_fail
;
33029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33030 (arg1
)->SetLink((wxString
const &)*arg2
);
33032 wxPyEndAllowThreads(__tstate
);
33033 if (PyErr_Occurred()) SWIG_fail
;
33035 Py_INCREF(Py_None
); resultobj
= Py_None
;
33050 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33051 PyObject
*resultobj
;
33052 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33054 PyObject
* obj0
= 0 ;
33055 char *kwnames
[] = {
33056 (char *) "self", NULL
33059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
33060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33061 if (SWIG_arg_fail(1)) SWIG_fail
;
33063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33065 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
33066 result
= (wxString
*) &_result_ref
;
33069 wxPyEndAllowThreads(__tstate
);
33070 if (PyErr_Occurred()) SWIG_fail
;
33074 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33076 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33085 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33086 PyObject
*resultobj
;
33087 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33088 wxString
*arg2
= 0 ;
33089 bool temp2
= false ;
33090 PyObject
* obj0
= 0 ;
33091 PyObject
* obj1
= 0 ;
33092 char *kwnames
[] = {
33093 (char *) "self",(char *) "target", NULL
33096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
33097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33098 if (SWIG_arg_fail(1)) SWIG_fail
;
33100 arg2
= wxString_in_helper(obj1
);
33101 if (arg2
== NULL
) SWIG_fail
;
33105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33106 (arg1
)->SetTarget((wxString
const &)*arg2
);
33108 wxPyEndAllowThreads(__tstate
);
33109 if (PyErr_Occurred()) SWIG_fail
;
33111 Py_INCREF(Py_None
); resultobj
= Py_None
;
33126 static PyObject
* HelpEvent_swigregister(PyObject
*, PyObject
*args
) {
33128 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33129 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
33131 return Py_BuildValue((char *)"");
33133 static PyObject
*_wrap_new_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33134 PyObject
*resultobj
;
33135 wxWindow
*arg1
= (wxWindow
*) NULL
;
33136 bool arg2
= (bool) true ;
33137 wxContextHelp
*result
;
33138 PyObject
* obj0
= 0 ;
33139 PyObject
* obj1
= 0 ;
33140 char *kwnames
[] = {
33141 (char *) "window",(char *) "doNow", NULL
33144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33147 if (SWIG_arg_fail(1)) SWIG_fail
;
33151 arg2
= (bool)(SWIG_As_bool(obj1
));
33152 if (SWIG_arg_fail(2)) SWIG_fail
;
33156 if (!wxPyCheckForApp()) SWIG_fail
;
33157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33158 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
33160 wxPyEndAllowThreads(__tstate
);
33161 if (PyErr_Occurred()) SWIG_fail
;
33163 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
33170 static PyObject
*_wrap_delete_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33171 PyObject
*resultobj
;
33172 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33173 PyObject
* obj0
= 0 ;
33174 char *kwnames
[] = {
33175 (char *) "self", NULL
33178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
33179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33180 if (SWIG_arg_fail(1)) SWIG_fail
;
33182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33185 wxPyEndAllowThreads(__tstate
);
33186 if (PyErr_Occurred()) SWIG_fail
;
33188 Py_INCREF(Py_None
); resultobj
= Py_None
;
33195 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33196 PyObject
*resultobj
;
33197 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33198 wxWindow
*arg2
= (wxWindow
*) NULL
;
33200 PyObject
* obj0
= 0 ;
33201 PyObject
* obj1
= 0 ;
33202 char *kwnames
[] = {
33203 (char *) "self",(char *) "window", NULL
33206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33208 if (SWIG_arg_fail(1)) SWIG_fail
;
33210 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33211 if (SWIG_arg_fail(2)) SWIG_fail
;
33214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33215 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
33217 wxPyEndAllowThreads(__tstate
);
33218 if (PyErr_Occurred()) SWIG_fail
;
33221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33229 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33230 PyObject
*resultobj
;
33231 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33233 PyObject
* obj0
= 0 ;
33234 char *kwnames
[] = {
33235 (char *) "self", NULL
33238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
33239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33240 if (SWIG_arg_fail(1)) SWIG_fail
;
33242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33243 result
= (bool)(arg1
)->EndContextHelp();
33245 wxPyEndAllowThreads(__tstate
);
33246 if (PyErr_Occurred()) SWIG_fail
;
33249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33257 static PyObject
* ContextHelp_swigregister(PyObject
*, PyObject
*args
) {
33259 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33260 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
33262 return Py_BuildValue((char *)"");
33264 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33265 PyObject
*resultobj
;
33266 wxWindow
*arg1
= (wxWindow
*) 0 ;
33267 int arg2
= (int) wxID_CONTEXT_HELP
;
33268 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33269 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33270 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33271 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33272 long arg5
= (long) wxBU_AUTODRAW
;
33273 wxContextHelpButton
*result
;
33276 PyObject
* obj0
= 0 ;
33277 PyObject
* obj1
= 0 ;
33278 PyObject
* obj2
= 0 ;
33279 PyObject
* obj3
= 0 ;
33280 PyObject
* obj4
= 0 ;
33281 char *kwnames
[] = {
33282 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33287 if (SWIG_arg_fail(1)) SWIG_fail
;
33290 arg2
= (int)(SWIG_As_int(obj1
));
33291 if (SWIG_arg_fail(2)) SWIG_fail
;
33297 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33303 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33308 arg5
= (long)(SWIG_As_long(obj4
));
33309 if (SWIG_arg_fail(5)) SWIG_fail
;
33313 if (!wxPyCheckForApp()) SWIG_fail
;
33314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33315 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
33317 wxPyEndAllowThreads(__tstate
);
33318 if (PyErr_Occurred()) SWIG_fail
;
33320 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
33327 static PyObject
* ContextHelpButton_swigregister(PyObject
*, PyObject
*args
) {
33329 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33330 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
33332 return Py_BuildValue((char *)"");
33334 static PyObject
*_wrap_HelpProvider_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33335 PyObject
*resultobj
;
33336 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33337 wxHelpProvider
*result
;
33338 PyObject
* obj0
= 0 ;
33339 char *kwnames
[] = {
33340 (char *) "helpProvider", NULL
33343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
33344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33345 if (SWIG_arg_fail(1)) SWIG_fail
;
33347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33348 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
33350 wxPyEndAllowThreads(__tstate
);
33351 if (PyErr_Occurred()) SWIG_fail
;
33353 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
33360 static PyObject
*_wrap_HelpProvider_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33361 PyObject
*resultobj
;
33362 wxHelpProvider
*result
;
33363 char *kwnames
[] = {
33367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
33369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33370 result
= (wxHelpProvider
*)wxHelpProvider::Get();
33372 wxPyEndAllowThreads(__tstate
);
33373 if (PyErr_Occurred()) SWIG_fail
;
33375 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
33382 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33383 PyObject
*resultobj
;
33384 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33385 wxWindow
*arg2
= (wxWindow
*) 0 ;
33387 PyObject
* obj0
= 0 ;
33388 PyObject
* obj1
= 0 ;
33389 char *kwnames
[] = {
33390 (char *) "self",(char *) "window", NULL
33393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33395 if (SWIG_arg_fail(1)) SWIG_fail
;
33396 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33397 if (SWIG_arg_fail(2)) SWIG_fail
;
33399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33400 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
33402 wxPyEndAllowThreads(__tstate
);
33403 if (PyErr_Occurred()) SWIG_fail
;
33407 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33409 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33418 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33419 PyObject
*resultobj
;
33420 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33421 wxWindow
*arg2
= (wxWindow
*) 0 ;
33423 PyObject
* obj0
= 0 ;
33424 PyObject
* obj1
= 0 ;
33425 char *kwnames
[] = {
33426 (char *) "self",(char *) "window", NULL
33429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33431 if (SWIG_arg_fail(1)) SWIG_fail
;
33432 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33433 if (SWIG_arg_fail(2)) SWIG_fail
;
33435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33436 result
= (bool)(arg1
)->ShowHelp(arg2
);
33438 wxPyEndAllowThreads(__tstate
);
33439 if (PyErr_Occurred()) SWIG_fail
;
33442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33450 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33451 PyObject
*resultobj
;
33452 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33453 wxWindow
*arg2
= (wxWindow
*) 0 ;
33454 wxString
*arg3
= 0 ;
33455 bool temp3
= false ;
33456 PyObject
* obj0
= 0 ;
33457 PyObject
* obj1
= 0 ;
33458 PyObject
* obj2
= 0 ;
33459 char *kwnames
[] = {
33460 (char *) "self",(char *) "window",(char *) "text", NULL
33463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33465 if (SWIG_arg_fail(1)) SWIG_fail
;
33466 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33467 if (SWIG_arg_fail(2)) SWIG_fail
;
33469 arg3
= wxString_in_helper(obj2
);
33470 if (arg3
== NULL
) SWIG_fail
;
33474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33475 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
33477 wxPyEndAllowThreads(__tstate
);
33478 if (PyErr_Occurred()) SWIG_fail
;
33480 Py_INCREF(Py_None
); resultobj
= Py_None
;
33495 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33496 PyObject
*resultobj
;
33497 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33499 wxString
*arg3
= 0 ;
33500 bool temp3
= false ;
33501 PyObject
* obj0
= 0 ;
33502 PyObject
* obj1
= 0 ;
33503 PyObject
* obj2
= 0 ;
33504 char *kwnames
[] = {
33505 (char *) "self",(char *) "id",(char *) "text", NULL
33508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33510 if (SWIG_arg_fail(1)) SWIG_fail
;
33512 arg2
= (int)(SWIG_As_int(obj1
));
33513 if (SWIG_arg_fail(2)) SWIG_fail
;
33516 arg3
= wxString_in_helper(obj2
);
33517 if (arg3
== NULL
) SWIG_fail
;
33521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33522 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
33524 wxPyEndAllowThreads(__tstate
);
33525 if (PyErr_Occurred()) SWIG_fail
;
33527 Py_INCREF(Py_None
); resultobj
= Py_None
;
33542 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33543 PyObject
*resultobj
;
33544 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33545 wxWindow
*arg2
= (wxWindow
*) 0 ;
33546 PyObject
* obj0
= 0 ;
33547 PyObject
* obj1
= 0 ;
33548 char *kwnames
[] = {
33549 (char *) "self",(char *) "window", NULL
33552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33554 if (SWIG_arg_fail(1)) SWIG_fail
;
33555 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33556 if (SWIG_arg_fail(2)) SWIG_fail
;
33558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33559 (arg1
)->RemoveHelp(arg2
);
33561 wxPyEndAllowThreads(__tstate
);
33562 if (PyErr_Occurred()) SWIG_fail
;
33564 Py_INCREF(Py_None
); resultobj
= Py_None
;
33571 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33572 PyObject
*resultobj
;
33573 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33574 PyObject
* obj0
= 0 ;
33575 char *kwnames
[] = {
33576 (char *) "self", NULL
33579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
33580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33581 if (SWIG_arg_fail(1)) SWIG_fail
;
33583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33584 wxHelpProvider_Destroy(arg1
);
33586 wxPyEndAllowThreads(__tstate
);
33587 if (PyErr_Occurred()) SWIG_fail
;
33589 Py_INCREF(Py_None
); resultobj
= Py_None
;
33596 static PyObject
* HelpProvider_swigregister(PyObject
*, PyObject
*args
) {
33598 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33599 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
33601 return Py_BuildValue((char *)"");
33603 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33604 PyObject
*resultobj
;
33605 wxSimpleHelpProvider
*result
;
33606 char *kwnames
[] = {
33610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
33612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33613 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
33615 wxPyEndAllowThreads(__tstate
);
33616 if (PyErr_Occurred()) SWIG_fail
;
33618 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
33625 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*, PyObject
*args
) {
33627 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33628 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
33630 return Py_BuildValue((char *)"");
33632 static PyObject
*_wrap_new_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33633 PyObject
*resultobj
;
33634 wxBitmap
*arg1
= 0 ;
33635 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33636 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
33637 wxGenericDragImage
*result
;
33638 PyObject
* obj0
= 0 ;
33639 PyObject
* obj1
= 0 ;
33640 char *kwnames
[] = {
33641 (char *) "image",(char *) "cursor", NULL
33644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
33646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
33647 if (SWIG_arg_fail(1)) SWIG_fail
;
33648 if (arg1
== NULL
) {
33649 SWIG_null_ref("wxBitmap");
33651 if (SWIG_arg_fail(1)) SWIG_fail
;
33655 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
33656 if (SWIG_arg_fail(2)) SWIG_fail
;
33657 if (arg2
== NULL
) {
33658 SWIG_null_ref("wxCursor");
33660 if (SWIG_arg_fail(2)) SWIG_fail
;
33664 if (!wxPyCheckForApp()) SWIG_fail
;
33665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33666 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
33668 wxPyEndAllowThreads(__tstate
);
33669 if (PyErr_Occurred()) SWIG_fail
;
33671 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33678 static PyObject
*_wrap_new_DragIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33679 PyObject
*resultobj
;
33681 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33682 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
33683 wxGenericDragImage
*result
;
33684 PyObject
* obj0
= 0 ;
33685 PyObject
* obj1
= 0 ;
33686 char *kwnames
[] = {
33687 (char *) "image",(char *) "cursor", NULL
33690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
33692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
33693 if (SWIG_arg_fail(1)) SWIG_fail
;
33694 if (arg1
== NULL
) {
33695 SWIG_null_ref("wxIcon");
33697 if (SWIG_arg_fail(1)) SWIG_fail
;
33701 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
33702 if (SWIG_arg_fail(2)) SWIG_fail
;
33703 if (arg2
== NULL
) {
33704 SWIG_null_ref("wxCursor");
33706 if (SWIG_arg_fail(2)) SWIG_fail
;
33710 if (!wxPyCheckForApp()) SWIG_fail
;
33711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33712 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
33714 wxPyEndAllowThreads(__tstate
);
33715 if (PyErr_Occurred()) SWIG_fail
;
33717 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33724 static PyObject
*_wrap_new_DragString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33725 PyObject
*resultobj
;
33726 wxString
*arg1
= 0 ;
33727 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33728 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
33729 wxGenericDragImage
*result
;
33730 bool temp1
= false ;
33731 PyObject
* obj0
= 0 ;
33732 PyObject
* obj1
= 0 ;
33733 char *kwnames
[] = {
33734 (char *) "str",(char *) "cursor", NULL
33737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
33739 arg1
= wxString_in_helper(obj0
);
33740 if (arg1
== NULL
) SWIG_fail
;
33745 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
33746 if (SWIG_arg_fail(2)) SWIG_fail
;
33747 if (arg2
== NULL
) {
33748 SWIG_null_ref("wxCursor");
33750 if (SWIG_arg_fail(2)) SWIG_fail
;
33754 if (!wxPyCheckForApp()) SWIG_fail
;
33755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33756 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
33758 wxPyEndAllowThreads(__tstate
);
33759 if (PyErr_Occurred()) SWIG_fail
;
33761 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33776 static PyObject
*_wrap_new_DragTreeItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33777 PyObject
*resultobj
;
33778 wxPyTreeCtrl
*arg1
= 0 ;
33779 wxTreeItemId
*arg2
= 0 ;
33780 wxGenericDragImage
*result
;
33781 PyObject
* obj0
= 0 ;
33782 PyObject
* obj1
= 0 ;
33783 char *kwnames
[] = {
33784 (char *) "treeCtrl",(char *) "id", NULL
33787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33790 if (SWIG_arg_fail(1)) SWIG_fail
;
33791 if (arg1
== NULL
) {
33792 SWIG_null_ref("wxPyTreeCtrl");
33794 if (SWIG_arg_fail(1)) SWIG_fail
;
33797 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
33798 if (SWIG_arg_fail(2)) SWIG_fail
;
33799 if (arg2
== NULL
) {
33800 SWIG_null_ref("wxTreeItemId");
33802 if (SWIG_arg_fail(2)) SWIG_fail
;
33805 if (!wxPyCheckForApp()) SWIG_fail
;
33806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33807 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
33809 wxPyEndAllowThreads(__tstate
);
33810 if (PyErr_Occurred()) SWIG_fail
;
33812 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33819 static PyObject
*_wrap_new_DragListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33820 PyObject
*resultobj
;
33821 wxPyListCtrl
*arg1
= 0 ;
33823 wxGenericDragImage
*result
;
33824 PyObject
* obj0
= 0 ;
33825 PyObject
* obj1
= 0 ;
33826 char *kwnames
[] = {
33827 (char *) "listCtrl",(char *) "id", NULL
33830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33833 if (SWIG_arg_fail(1)) SWIG_fail
;
33834 if (arg1
== NULL
) {
33835 SWIG_null_ref("wxPyListCtrl");
33837 if (SWIG_arg_fail(1)) SWIG_fail
;
33840 arg2
= (long)(SWIG_As_long(obj1
));
33841 if (SWIG_arg_fail(2)) SWIG_fail
;
33844 if (!wxPyCheckForApp()) SWIG_fail
;
33845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33846 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
33848 wxPyEndAllowThreads(__tstate
);
33849 if (PyErr_Occurred()) SWIG_fail
;
33851 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33858 static PyObject
*_wrap_delete_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33859 PyObject
*resultobj
;
33860 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
33861 PyObject
* obj0
= 0 ;
33862 char *kwnames
[] = {
33863 (char *) "self", NULL
33866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
33867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
33868 if (SWIG_arg_fail(1)) SWIG_fail
;
33870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33873 wxPyEndAllowThreads(__tstate
);
33874 if (PyErr_Occurred()) SWIG_fail
;
33876 Py_INCREF(Py_None
); resultobj
= Py_None
;
33883 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33884 PyObject
*resultobj
;
33885 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
33886 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
33887 PyObject
* obj0
= 0 ;
33888 PyObject
* obj1
= 0 ;
33889 char *kwnames
[] = {
33890 (char *) "self",(char *) "bitmap", NULL
33893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
33894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
33895 if (SWIG_arg_fail(1)) SWIG_fail
;
33896 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
33897 if (SWIG_arg_fail(2)) SWIG_fail
;
33899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33900 (arg1
)->SetBackingBitmap(arg2
);
33902 wxPyEndAllowThreads(__tstate
);
33903 if (PyErr_Occurred()) SWIG_fail
;
33905 Py_INCREF(Py_None
); resultobj
= Py_None
;
33912 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33913 PyObject
*resultobj
;
33914 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
33915 wxPoint
*arg2
= 0 ;
33916 wxWindow
*arg3
= (wxWindow
*) 0 ;
33917 bool arg4
= (bool) false ;
33918 wxRect
*arg5
= (wxRect
*) NULL
;
33921 PyObject
* obj0
= 0 ;
33922 PyObject
* obj1
= 0 ;
33923 PyObject
* obj2
= 0 ;
33924 PyObject
* obj3
= 0 ;
33925 PyObject
* obj4
= 0 ;
33926 char *kwnames
[] = {
33927 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
33930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
33932 if (SWIG_arg_fail(1)) SWIG_fail
;
33935 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33937 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33938 if (SWIG_arg_fail(3)) SWIG_fail
;
33941 arg4
= (bool)(SWIG_As_bool(obj3
));
33942 if (SWIG_arg_fail(4)) SWIG_fail
;
33946 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
33947 if (SWIG_arg_fail(5)) SWIG_fail
;
33950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33951 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
33953 wxPyEndAllowThreads(__tstate
);
33954 if (PyErr_Occurred()) SWIG_fail
;
33957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33965 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33966 PyObject
*resultobj
;
33967 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
33968 wxPoint
*arg2
= 0 ;
33969 wxWindow
*arg3
= (wxWindow
*) 0 ;
33970 wxWindow
*arg4
= (wxWindow
*) 0 ;
33973 PyObject
* obj0
= 0 ;
33974 PyObject
* obj1
= 0 ;
33975 PyObject
* obj2
= 0 ;
33976 PyObject
* obj3
= 0 ;
33977 char *kwnames
[] = {
33978 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
33981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
33983 if (SWIG_arg_fail(1)) SWIG_fail
;
33986 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33988 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33989 if (SWIG_arg_fail(3)) SWIG_fail
;
33990 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33991 if (SWIG_arg_fail(4)) SWIG_fail
;
33993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33994 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
33996 wxPyEndAllowThreads(__tstate
);
33997 if (PyErr_Occurred()) SWIG_fail
;
34000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34008 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34009 PyObject
*resultobj
;
34010 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34012 PyObject
* obj0
= 0 ;
34013 char *kwnames
[] = {
34014 (char *) "self", NULL
34017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
34018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34019 if (SWIG_arg_fail(1)) SWIG_fail
;
34021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34022 result
= (bool)(arg1
)->EndDrag();
34024 wxPyEndAllowThreads(__tstate
);
34025 if (PyErr_Occurred()) SWIG_fail
;
34028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34036 static PyObject
*_wrap_DragImage_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34037 PyObject
*resultobj
;
34038 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34039 wxPoint
*arg2
= 0 ;
34042 PyObject
* obj0
= 0 ;
34043 PyObject
* obj1
= 0 ;
34044 char *kwnames
[] = {
34045 (char *) "self",(char *) "pt", NULL
34048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
34049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34050 if (SWIG_arg_fail(1)) SWIG_fail
;
34053 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34057 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
34059 wxPyEndAllowThreads(__tstate
);
34060 if (PyErr_Occurred()) SWIG_fail
;
34063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34071 static PyObject
*_wrap_DragImage_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34072 PyObject
*resultobj
;
34073 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34075 PyObject
* obj0
= 0 ;
34076 char *kwnames
[] = {
34077 (char *) "self", NULL
34080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
34081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34082 if (SWIG_arg_fail(1)) SWIG_fail
;
34084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34085 result
= (bool)(arg1
)->Show();
34087 wxPyEndAllowThreads(__tstate
);
34088 if (PyErr_Occurred()) SWIG_fail
;
34091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34099 static PyObject
*_wrap_DragImage_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34100 PyObject
*resultobj
;
34101 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34103 PyObject
* obj0
= 0 ;
34104 char *kwnames
[] = {
34105 (char *) "self", NULL
34108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
34109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34110 if (SWIG_arg_fail(1)) SWIG_fail
;
34112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34113 result
= (bool)(arg1
)->Hide();
34115 wxPyEndAllowThreads(__tstate
);
34116 if (PyErr_Occurred()) SWIG_fail
;
34119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34127 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34128 PyObject
*resultobj
;
34129 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34130 wxPoint
*arg2
= 0 ;
34133 PyObject
* obj0
= 0 ;
34134 PyObject
* obj1
= 0 ;
34135 char *kwnames
[] = {
34136 (char *) "self",(char *) "pos", NULL
34139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
34140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34141 if (SWIG_arg_fail(1)) SWIG_fail
;
34144 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34148 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
34150 wxPyEndAllowThreads(__tstate
);
34151 if (PyErr_Occurred()) SWIG_fail
;
34154 wxRect
* resultptr
;
34155 resultptr
= new wxRect((wxRect
&)(result
));
34156 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
34164 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34165 PyObject
*resultobj
;
34166 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34168 wxPoint
*arg3
= 0 ;
34171 PyObject
* obj0
= 0 ;
34172 PyObject
* obj1
= 0 ;
34173 PyObject
* obj2
= 0 ;
34174 char *kwnames
[] = {
34175 (char *) "self",(char *) "dc",(char *) "pos", NULL
34178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34180 if (SWIG_arg_fail(1)) SWIG_fail
;
34182 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
34183 if (SWIG_arg_fail(2)) SWIG_fail
;
34184 if (arg2
== NULL
) {
34185 SWIG_null_ref("wxDC");
34187 if (SWIG_arg_fail(2)) SWIG_fail
;
34191 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34195 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
34197 wxPyEndAllowThreads(__tstate
);
34198 if (PyErr_Occurred()) SWIG_fail
;
34201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34209 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34210 PyObject
*resultobj
;
34211 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34213 wxMemoryDC
*arg3
= 0 ;
34219 PyObject
* obj0
= 0 ;
34220 PyObject
* obj1
= 0 ;
34221 PyObject
* obj2
= 0 ;
34222 PyObject
* obj3
= 0 ;
34223 PyObject
* obj4
= 0 ;
34224 char *kwnames
[] = {
34225 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
34228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34230 if (SWIG_arg_fail(1)) SWIG_fail
;
34232 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
34233 if (SWIG_arg_fail(2)) SWIG_fail
;
34234 if (arg2
== NULL
) {
34235 SWIG_null_ref("wxDC");
34237 if (SWIG_arg_fail(2)) SWIG_fail
;
34240 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_EXCEPTION
| 0);
34241 if (SWIG_arg_fail(3)) SWIG_fail
;
34242 if (arg3
== NULL
) {
34243 SWIG_null_ref("wxMemoryDC");
34245 if (SWIG_arg_fail(3)) SWIG_fail
;
34249 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34253 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
34256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34257 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
34259 wxPyEndAllowThreads(__tstate
);
34260 if (PyErr_Occurred()) SWIG_fail
;
34263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34271 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34272 PyObject
*resultobj
;
34273 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34274 wxPoint
*arg2
= 0 ;
34275 wxPoint
*arg3
= 0 ;
34281 PyObject
* obj0
= 0 ;
34282 PyObject
* obj1
= 0 ;
34283 PyObject
* obj2
= 0 ;
34284 PyObject
* obj3
= 0 ;
34285 PyObject
* obj4
= 0 ;
34286 char *kwnames
[] = {
34287 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
34290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34292 if (SWIG_arg_fail(1)) SWIG_fail
;
34295 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34299 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34302 arg4
= (bool)(SWIG_As_bool(obj3
));
34303 if (SWIG_arg_fail(4)) SWIG_fail
;
34306 arg5
= (bool)(SWIG_As_bool(obj4
));
34307 if (SWIG_arg_fail(5)) SWIG_fail
;
34310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34311 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
34313 wxPyEndAllowThreads(__tstate
);
34314 if (PyErr_Occurred()) SWIG_fail
;
34317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34325 static PyObject
* DragImage_swigregister(PyObject
*, PyObject
*args
) {
34327 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34328 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
34330 return Py_BuildValue((char *)"");
34332 static int _wrap_DatePickerCtrlNameStr_set(PyObject
*) {
34333 PyErr_SetString(PyExc_TypeError
,"Variable DatePickerCtrlNameStr is read-only.");
34338 static PyObject
*_wrap_DatePickerCtrlNameStr_get(void) {
34343 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
34345 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
34352 static PyObject
*_wrap_new_DatePickerCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34353 PyObject
*resultobj
;
34354 wxWindow
*arg1
= (wxWindow
*) 0 ;
34355 int arg2
= (int) -1 ;
34356 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
34357 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
34358 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
34359 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
34360 wxSize
const &arg5_defvalue
= wxDefaultSize
;
34361 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
34362 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
34363 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
34364 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
34365 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
34366 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
34367 wxDatePickerCtrl
*result
;
34370 bool temp8
= false ;
34371 PyObject
* obj0
= 0 ;
34372 PyObject
* obj1
= 0 ;
34373 PyObject
* obj2
= 0 ;
34374 PyObject
* obj3
= 0 ;
34375 PyObject
* obj4
= 0 ;
34376 PyObject
* obj5
= 0 ;
34377 PyObject
* obj6
= 0 ;
34378 PyObject
* obj7
= 0 ;
34379 char *kwnames
[] = {
34380 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
34384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34385 if (SWIG_arg_fail(1)) SWIG_fail
;
34388 arg2
= (int)(SWIG_As_int(obj1
));
34389 if (SWIG_arg_fail(2)) SWIG_fail
;
34394 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34395 if (SWIG_arg_fail(3)) SWIG_fail
;
34396 if (arg3
== NULL
) {
34397 SWIG_null_ref("wxDateTime");
34399 if (SWIG_arg_fail(3)) SWIG_fail
;
34405 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
34411 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
34416 arg6
= (long)(SWIG_As_long(obj5
));
34417 if (SWIG_arg_fail(6)) SWIG_fail
;
34422 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
34423 if (SWIG_arg_fail(7)) SWIG_fail
;
34424 if (arg7
== NULL
) {
34425 SWIG_null_ref("wxValidator");
34427 if (SWIG_arg_fail(7)) SWIG_fail
;
34432 arg8
= wxString_in_helper(obj7
);
34433 if (arg8
== NULL
) SWIG_fail
;
34438 if (!wxPyCheckForApp()) SWIG_fail
;
34439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34440 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
34442 wxPyEndAllowThreads(__tstate
);
34443 if (PyErr_Occurred()) SWIG_fail
;
34445 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDatePickerCtrl
, 1);
34460 static PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34461 PyObject
*resultobj
;
34462 wxDatePickerCtrl
*result
;
34463 char *kwnames
[] = {
34467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDatePickerCtrl",kwnames
)) goto fail
;
34469 if (!wxPyCheckForApp()) SWIG_fail
;
34470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34471 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
34473 wxPyEndAllowThreads(__tstate
);
34474 if (PyErr_Occurred()) SWIG_fail
;
34476 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDatePickerCtrl
, 1);
34483 static PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34484 PyObject
*resultobj
;
34485 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34486 wxWindow
*arg2
= (wxWindow
*) 0 ;
34487 int arg3
= (int) -1 ;
34488 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
34489 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
34490 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
34491 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
34492 wxSize
const &arg6_defvalue
= wxDefaultSize
;
34493 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
34494 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
34495 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
34496 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
34497 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
34498 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
34502 bool temp9
= false ;
34503 PyObject
* obj0
= 0 ;
34504 PyObject
* obj1
= 0 ;
34505 PyObject
* obj2
= 0 ;
34506 PyObject
* obj3
= 0 ;
34507 PyObject
* obj4
= 0 ;
34508 PyObject
* obj5
= 0 ;
34509 PyObject
* obj6
= 0 ;
34510 PyObject
* obj7
= 0 ;
34511 PyObject
* obj8
= 0 ;
34512 char *kwnames
[] = {
34513 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
34517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34518 if (SWIG_arg_fail(1)) SWIG_fail
;
34519 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34520 if (SWIG_arg_fail(2)) SWIG_fail
;
34523 arg3
= (int)(SWIG_As_int(obj2
));
34524 if (SWIG_arg_fail(3)) SWIG_fail
;
34529 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34530 if (SWIG_arg_fail(4)) SWIG_fail
;
34531 if (arg4
== NULL
) {
34532 SWIG_null_ref("wxDateTime");
34534 if (SWIG_arg_fail(4)) SWIG_fail
;
34540 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
34546 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
34551 arg7
= (long)(SWIG_As_long(obj6
));
34552 if (SWIG_arg_fail(7)) SWIG_fail
;
34557 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
34558 if (SWIG_arg_fail(8)) SWIG_fail
;
34559 if (arg8
== NULL
) {
34560 SWIG_null_ref("wxValidator");
34562 if (SWIG_arg_fail(8)) SWIG_fail
;
34567 arg9
= wxString_in_helper(obj8
);
34568 if (arg9
== NULL
) SWIG_fail
;
34573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34574 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
34576 wxPyEndAllowThreads(__tstate
);
34577 if (PyErr_Occurred()) SWIG_fail
;
34580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34596 static PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34597 PyObject
*resultobj
;
34598 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34599 wxDateTime
*arg2
= 0 ;
34600 PyObject
* obj0
= 0 ;
34601 PyObject
* obj1
= 0 ;
34602 char *kwnames
[] = {
34603 (char *) "self",(char *) "dt", NULL
34606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
34607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34608 if (SWIG_arg_fail(1)) SWIG_fail
;
34610 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34611 if (SWIG_arg_fail(2)) SWIG_fail
;
34612 if (arg2
== NULL
) {
34613 SWIG_null_ref("wxDateTime");
34615 if (SWIG_arg_fail(2)) SWIG_fail
;
34618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34619 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
34621 wxPyEndAllowThreads(__tstate
);
34622 if (PyErr_Occurred()) SWIG_fail
;
34624 Py_INCREF(Py_None
); resultobj
= Py_None
;
34631 static PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34632 PyObject
*resultobj
;
34633 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34635 PyObject
* obj0
= 0 ;
34636 char *kwnames
[] = {
34637 (char *) "self", NULL
34640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
34641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34642 if (SWIG_arg_fail(1)) SWIG_fail
;
34644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34645 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
34647 wxPyEndAllowThreads(__tstate
);
34648 if (PyErr_Occurred()) SWIG_fail
;
34651 wxDateTime
* resultptr
;
34652 resultptr
= new wxDateTime((wxDateTime
&)(result
));
34653 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
34661 static PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34662 PyObject
*resultobj
;
34663 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34664 wxDateTime
*arg2
= 0 ;
34665 wxDateTime
*arg3
= 0 ;
34666 PyObject
* obj0
= 0 ;
34667 PyObject
* obj1
= 0 ;
34668 PyObject
* obj2
= 0 ;
34669 char *kwnames
[] = {
34670 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
34673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34675 if (SWIG_arg_fail(1)) SWIG_fail
;
34677 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34678 if (SWIG_arg_fail(2)) SWIG_fail
;
34679 if (arg2
== NULL
) {
34680 SWIG_null_ref("wxDateTime");
34682 if (SWIG_arg_fail(2)) SWIG_fail
;
34685 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34686 if (SWIG_arg_fail(3)) SWIG_fail
;
34687 if (arg3
== NULL
) {
34688 SWIG_null_ref("wxDateTime");
34690 if (SWIG_arg_fail(3)) SWIG_fail
;
34693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34694 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
34696 wxPyEndAllowThreads(__tstate
);
34697 if (PyErr_Occurred()) SWIG_fail
;
34699 Py_INCREF(Py_None
); resultobj
= Py_None
;
34706 static PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34707 PyObject
*resultobj
;
34708 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34710 PyObject
* obj0
= 0 ;
34711 char *kwnames
[] = {
34712 (char *) "self", NULL
34715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetLowerLimit",kwnames
,&obj0
)) goto fail
;
34716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34717 if (SWIG_arg_fail(1)) SWIG_fail
;
34719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34720 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
34722 wxPyEndAllowThreads(__tstate
);
34723 if (PyErr_Occurred()) SWIG_fail
;
34726 wxDateTime
* resultptr
;
34727 resultptr
= new wxDateTime((wxDateTime
&)(result
));
34728 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
34736 static PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34737 PyObject
*resultobj
;
34738 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34740 PyObject
* obj0
= 0 ;
34741 char *kwnames
[] = {
34742 (char *) "self", NULL
34745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetUpperLimit",kwnames
,&obj0
)) goto fail
;
34746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34747 if (SWIG_arg_fail(1)) SWIG_fail
;
34749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34750 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
34752 wxPyEndAllowThreads(__tstate
);
34753 if (PyErr_Occurred()) SWIG_fail
;
34756 wxDateTime
* resultptr
;
34757 resultptr
= new wxDateTime((wxDateTime
&)(result
));
34758 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
34766 static PyObject
* DatePickerCtrl_swigregister(PyObject
*, PyObject
*args
) {
34768 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34769 SWIG_TypeClientData(SWIGTYPE_p_wxDatePickerCtrl
, obj
);
34771 return Py_BuildValue((char *)"");
34773 static PyMethodDef SwigMethods
[] = {
34774 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34775 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34776 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34777 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34778 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34779 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34780 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
34781 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34782 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34783 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34784 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34785 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34786 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34787 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34788 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34789 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34790 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34791 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34792 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34793 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34794 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34795 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
34796 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34797 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34798 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34799 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34800 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34801 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34802 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34803 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34804 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34805 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34806 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34807 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
34808 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34809 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34810 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34811 { (char *)"Choice_GetCurrentSelection", (PyCFunction
) _wrap_Choice_GetCurrentSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34812 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34813 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
34814 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34815 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34816 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34817 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34818 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34819 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34820 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34821 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34822 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34823 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34824 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34825 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34826 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34827 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34828 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
) _wrap_ComboBox_GetCurrentSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34829 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34830 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34831 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34832 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34833 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34834 { (char *)"ComboBox_IsEditable", (PyCFunction
) _wrap_ComboBox_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34835 { (char *)"ComboBox_Undo", (PyCFunction
) _wrap_ComboBox_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34836 { (char *)"ComboBox_Redo", (PyCFunction
) _wrap_ComboBox_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34837 { (char *)"ComboBox_SelectAll", (PyCFunction
) _wrap_ComboBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34838 { (char *)"ComboBox_CanCopy", (PyCFunction
) _wrap_ComboBox_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34839 { (char *)"ComboBox_CanCut", (PyCFunction
) _wrap_ComboBox_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34840 { (char *)"ComboBox_CanPaste", (PyCFunction
) _wrap_ComboBox_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34841 { (char *)"ComboBox_CanUndo", (PyCFunction
) _wrap_ComboBox_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34842 { (char *)"ComboBox_CanRedo", (PyCFunction
) _wrap_ComboBox_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34843 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34844 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
34845 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34846 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34847 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34848 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34849 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34850 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34851 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34852 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34853 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34854 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34855 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34856 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34857 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34858 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
34859 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34860 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34861 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34862 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34863 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
34864 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34865 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34866 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34867 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34868 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34869 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34870 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
34871 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34872 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34873 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34874 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34875 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34876 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
34877 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34878 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34879 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34880 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34881 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34882 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34883 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34884 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
34885 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34886 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34887 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34888 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34889 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34890 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34891 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34892 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34893 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34894 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34895 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34896 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34897 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34898 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34899 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34900 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34901 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34902 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34903 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34904 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34905 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34906 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34907 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
34908 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34909 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34910 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34911 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34912 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34913 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34914 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34915 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
34916 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34917 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34918 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34919 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34920 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34921 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34922 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34923 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34924 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34925 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34926 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34927 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34928 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34929 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34930 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34931 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34932 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34933 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34934 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34935 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34936 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34937 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34938 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34939 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34940 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34941 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
) _wrap_TextAttr_GetLeftSubIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34942 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34943 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34944 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34945 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34946 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
34947 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34948 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34949 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34950 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34951 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34952 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34953 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34954 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34955 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34956 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34957 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34958 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34959 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34960 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34961 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34962 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34963 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34964 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34965 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34966 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34967 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34968 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34969 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34970 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34971 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34972 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34973 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34974 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34975 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34976 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34977 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34978 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34979 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34980 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34981 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34982 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34983 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34984 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34985 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34986 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34987 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34988 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34989 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34990 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34991 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34992 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34993 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34994 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34995 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34996 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34997 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34998 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34999 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35000 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35001 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35002 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
35003 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35004 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35005 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35006 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35007 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
35008 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35009 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35010 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35011 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35012 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35013 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35014 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35015 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35016 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35017 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35018 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35019 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
35020 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35021 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35022 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35023 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35024 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35025 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35026 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35027 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35028 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35029 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35030 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35031 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35032 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
35033 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35034 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35035 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35036 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35037 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35038 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35039 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35040 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35041 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35042 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35043 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35044 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
35045 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35046 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35047 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35048 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
35049 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35050 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35051 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35052 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35053 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35054 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35055 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35056 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35057 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35058 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35059 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35060 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35061 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35062 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35063 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35064 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35065 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35066 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
35067 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35068 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35069 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35070 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35071 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35072 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35073 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
35074 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35075 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35076 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35077 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35078 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35079 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35080 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35081 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35082 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35083 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35084 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35085 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35086 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35087 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35088 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35089 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35090 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35091 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35092 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35093 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35094 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35095 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35096 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35097 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35098 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35099 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
35100 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35101 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35102 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35103 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35104 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35105 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35106 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35107 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
35108 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
) _wrap_BookCtrlBase_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35109 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35110 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35111 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
) _wrap_BookCtrlBase_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35112 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35113 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35114 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35115 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35116 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
) _wrap_BookCtrlBase_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35117 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35118 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35119 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35120 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35121 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35122 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35123 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
) _wrap_BookCtrlBase_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35124 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35125 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35126 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35127 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35128 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35129 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
35130 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35131 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35132 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35133 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35134 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35135 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
35136 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35137 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35138 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35139 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35140 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35141 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35142 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35143 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35144 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
) _wrap_Notebook_GetThemeBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35145 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35146 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
35147 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35148 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
35149 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35150 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35151 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35152 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35153 { (char *)"Listbook_GetListView", (PyCFunction
) _wrap_Listbook_GetListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35154 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
35155 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35156 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
35157 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35158 { (char *)"new_PreChoicebook", (PyCFunction
) _wrap_new_PreChoicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35159 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35160 { (char *)"Choicebook_IsVertical", (PyCFunction
) _wrap_Choicebook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35161 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
) _wrap_Choicebook_GetChoiceCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35162 { (char *)"Choicebook_DeleteAllPages", (PyCFunction
) _wrap_Choicebook_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35163 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
35164 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35165 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
35166 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35167 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35168 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35169 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35170 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35171 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35172 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35173 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35174 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35175 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35176 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35177 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35178 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35179 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35180 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35181 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35182 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35183 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35184 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35185 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35186 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35187 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35188 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35189 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35190 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35191 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35192 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35193 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35194 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35195 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
35196 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35197 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35198 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35199 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35200 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35201 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35202 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35203 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35204 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35205 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35206 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35207 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35208 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35209 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35210 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35211 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35212 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35213 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35214 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35215 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35216 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35217 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35218 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35219 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35220 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35221 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35222 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35223 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35224 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35225 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35226 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35227 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35228 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35229 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35230 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35231 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35232 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35233 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35234 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35235 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35236 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35237 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35238 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35239 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35240 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
35241 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35242 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35243 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35244 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35245 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35246 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
35247 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35248 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35249 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35250 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35251 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35252 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35253 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35254 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35255 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35256 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35257 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35258 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
35259 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35260 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35261 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35262 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35263 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35264 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35265 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35266 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35267 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35268 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35269 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35270 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35271 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35272 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35273 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35274 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35275 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35276 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35277 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35278 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35279 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35280 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35281 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35282 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35283 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35284 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35285 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35286 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35287 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35288 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35289 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35290 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35291 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35292 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35293 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35294 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35295 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35296 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35297 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35298 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35299 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35300 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35301 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35302 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35303 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35304 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35305 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35306 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35307 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35308 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35309 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35310 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
35311 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35312 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35313 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35314 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35315 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35316 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35317 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35318 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35319 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35320 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35321 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35322 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35323 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35324 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35325 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35326 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35327 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35328 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35329 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35330 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35331 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35332 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35333 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35334 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35335 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35336 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35337 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
35338 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35339 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35340 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35341 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35342 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35343 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35344 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35345 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35346 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35347 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35348 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35349 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35350 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35351 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35352 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35353 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35354 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35355 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35356 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35357 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35358 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35359 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35360 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35361 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35362 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35363 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35364 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35365 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35366 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35367 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35368 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35369 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35370 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35371 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35372 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35373 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35374 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35375 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35376 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35377 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35378 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35379 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35380 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35381 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35382 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35383 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35384 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35385 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35386 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35387 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35388 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35389 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35390 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35391 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35392 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35393 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35394 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35395 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35396 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35397 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35398 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35399 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35400 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35401 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35402 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35403 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35404 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35405 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35406 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35407 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35408 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35409 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35410 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
35411 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35412 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35413 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35414 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35415 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35416 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35417 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35418 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35419 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35420 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35421 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35422 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
35423 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35424 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35425 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35426 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35427 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35428 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35429 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35430 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
35431 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35432 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35433 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35434 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35435 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35436 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35437 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
35438 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35439 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35440 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35441 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35442 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35443 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35444 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35445 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35446 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35447 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35448 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35449 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35450 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35451 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35452 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35453 { (char *)"TreeEvent_GetToolTip", (PyCFunction
) _wrap_TreeEvent_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35454 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
35455 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35456 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35457 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35458 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35459 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35460 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35461 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35462 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35463 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35464 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35465 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35466 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35467 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35468 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35469 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35470 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35471 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35472 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35473 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35474 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35475 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35476 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35477 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35478 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35479 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35480 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35481 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35482 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35483 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35484 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35485 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35486 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35487 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35488 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35489 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35490 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35491 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35492 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35493 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35494 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35495 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35496 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35497 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35498 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35499 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35500 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35501 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35502 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35503 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35504 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35505 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35506 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35507 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35508 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35509 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35510 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35511 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35512 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35513 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35514 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35515 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35516 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35517 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35518 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35519 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35520 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35521 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35522 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35523 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35524 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35525 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35526 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35527 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35528 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35529 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35530 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
35531 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35532 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35533 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35534 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35535 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35536 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35537 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35538 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35539 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35540 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35541 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35542 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35543 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35544 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35545 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35546 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35547 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35548 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35549 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35550 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35551 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35552 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
35553 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35554 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35555 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35556 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35557 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
35558 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35559 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35560 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35561 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35562 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35563 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35564 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35565 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35566 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35567 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35568 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35569 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35570 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35571 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35572 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35573 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35574 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35575 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35576 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35577 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35578 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35579 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35580 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35581 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35582 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyControl_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35583 { (char *)"PyControl_base_OnInternalIdle", (PyCFunction
) _wrap_PyControl_base_OnInternalIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35584 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
35585 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35586 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35587 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35588 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35589 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35590 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35591 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35592 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
35593 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35594 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35595 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35596 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35597 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
35598 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35599 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
35600 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35601 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35602 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35603 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35604 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35605 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35606 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35607 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35608 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
35609 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35610 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
35611 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35612 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35613 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35614 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35615 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35616 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35617 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35618 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35619 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35620 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35621 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35622 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35623 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35624 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35625 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35626 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35627 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35628 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
35629 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35630 { (char *)"new_PreDatePickerCtrl", (PyCFunction
) _wrap_new_PreDatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35631 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35632 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35633 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
) _wrap_DatePickerCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35634 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35635 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
) _wrap_DatePickerCtrl_GetLowerLimit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35636 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
) _wrap_DatePickerCtrl_GetUpperLimit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35637 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
35638 { NULL
, NULL
, 0, NULL
}
35642 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
35644 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
35645 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
35647 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
35648 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
35650 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
35651 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
35653 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
35654 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
35656 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
35657 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
35659 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
35660 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
35662 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
35663 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
35665 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
35666 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
35668 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
35669 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
35671 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
35672 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
35674 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
35675 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
35677 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
35678 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
35680 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
35681 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
35683 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
35684 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
35686 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
35687 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
35689 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
35690 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
35692 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
35693 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
35695 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
35696 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
35698 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
35699 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
35701 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
35702 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
35704 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
35705 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
35707 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
35708 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
35710 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
35711 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
35713 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
35714 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
35716 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
35717 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
35719 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
35720 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
35722 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
35723 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
35725 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
35726 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
35728 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
35729 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
35731 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
35732 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
35734 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
35735 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
35737 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
35738 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
35740 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
35741 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
35743 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
35744 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
35746 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
35747 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
35749 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
35750 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
35752 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
35753 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
35755 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
35756 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
35758 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
35759 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
35761 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
35762 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
35764 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
35765 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
35767 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
35768 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
35770 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
35771 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
35773 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
35774 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
35776 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
35777 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
35779 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
35780 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
35782 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
35783 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
35785 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
35786 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
35788 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
35789 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
35791 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
35792 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
35794 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
35795 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
35797 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
35798 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
35800 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
35801 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
35803 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
35804 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
35806 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
35807 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
35809 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
35810 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
35812 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
35813 return (void *)((wxControl
*) ((wxPyControl
*) x
));
35815 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
35816 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
35818 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
35819 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
35821 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
35822 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
35824 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
35825 return (void *)((wxControl
*) ((wxComboBox
*) x
));
35827 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
35828 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
35830 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
35831 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
35833 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
35834 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
35836 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
35837 return (void *)((wxControl
*) ((wxGauge
*) x
));
35839 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
35840 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
35842 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
35843 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
35845 static void *_p_wxListbookTo_p_wxControl(void *x
) {
35846 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
35848 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
35849 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
35851 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
35852 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
35854 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
35855 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
35857 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
35858 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
35860 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
35861 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
35863 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
35864 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
35866 static void *_p_wxListViewTo_p_wxControl(void *x
) {
35867 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
35869 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
35870 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
35872 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
35873 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
35875 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
35876 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
35878 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
35879 return (void *)((wxControl
*) ((wxStaticText
*) x
));
35881 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
35882 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
35884 static void *_p_wxSliderTo_p_wxControl(void *x
) {
35885 return (void *)((wxControl
*) ((wxSlider
*) x
));
35887 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
35888 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
35890 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
35891 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
35893 static void *_p_wxButtonTo_p_wxControl(void *x
) {
35894 return (void *)((wxControl
*) ((wxButton
*) x
));
35896 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
35897 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
35899 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
35900 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
35902 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
35903 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
35905 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
35906 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
35908 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
35909 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
35911 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
35912 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
35914 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
35915 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
35917 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
35918 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
35920 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
35921 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
35923 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
35924 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
35926 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
35927 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
35929 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
35930 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
35932 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
35933 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
35935 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
35936 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
35938 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
35939 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
35941 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
35942 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
35944 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
35945 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
35947 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
35948 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
35950 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
35951 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
35953 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
35954 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
35956 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
35957 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
35959 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
35960 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
35962 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
35963 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
35965 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
35966 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
35968 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
35969 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
35971 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
35972 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
35974 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
35975 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
35977 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
35978 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
35980 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
35981 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
35983 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
35984 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
35986 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
35987 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
35989 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
35990 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
35992 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
35993 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
35995 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
35996 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
35998 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
35999 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
36001 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
36002 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
36004 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
36005 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36007 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
36008 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36010 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
36011 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
36013 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
36014 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
36016 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
36017 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
36019 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
36020 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36022 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
36023 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36025 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
36026 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36028 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
36029 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36031 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
36032 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
36034 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
36035 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36037 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
36038 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
36040 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
36041 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
36043 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
36044 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
36046 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
36047 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
36049 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
36050 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
36052 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
36053 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
36055 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
36056 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36058 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
36059 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36061 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
36062 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
36064 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
36065 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
36067 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
36068 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
36070 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
36071 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
36073 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
36074 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36076 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
36077 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36079 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
36080 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
36082 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
36083 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
36085 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
36086 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
36088 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
36089 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
36091 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
36092 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
36094 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
36095 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
36097 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
36098 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
36100 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
36101 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
36103 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
36104 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
36106 static void *_p_wxSizerTo_p_wxObject(void *x
) {
36107 return (void *)((wxObject
*) ((wxSizer
*) x
));
36109 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
36110 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
36112 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
36113 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
36115 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
36116 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
36118 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
36119 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36121 static void *_p_wxEventTo_p_wxObject(void *x
) {
36122 return (void *)((wxObject
*) ((wxEvent
*) x
));
36124 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
36125 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
36127 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
36128 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
36130 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
36131 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
36133 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
36134 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
36136 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
36137 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
36139 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
36140 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36142 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
36143 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
36145 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
36146 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
36148 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
36149 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
36151 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
36152 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
36154 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
36155 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
36157 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
36158 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
36160 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
36161 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
36163 static void *_p_wxControlTo_p_wxObject(void *x
) {
36164 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
36166 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
36167 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
36169 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
36170 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
36172 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
36173 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
36175 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
36176 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
36178 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
36179 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
36181 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
36182 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
36184 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
36185 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36187 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
36188 return (void *)((wxObject
*) ((wxFSFile
*) x
));
36190 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
36191 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
36193 static void *_p_wxListViewTo_p_wxObject(void *x
) {
36194 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36196 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
36197 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
36199 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
36200 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36202 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
36203 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
36205 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
36206 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36208 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
36209 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36211 static void *_p_wxListbookTo_p_wxObject(void *x
) {
36212 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36214 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
36215 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
36217 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
36218 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
36220 static void *_p_wxSliderTo_p_wxObject(void *x
) {
36221 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
36223 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
36224 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
36226 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
36227 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
36229 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
36230 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
36232 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
36233 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36235 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
36236 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
36238 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
36239 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
36241 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
36242 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
36244 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
36245 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
36247 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
36248 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
36250 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
36251 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
36253 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
36254 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
36256 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
36257 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
36259 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
36260 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
36262 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
36263 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
36265 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
36266 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
36268 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
36269 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
36271 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
36272 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
36274 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
36275 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
36277 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
36278 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
36280 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
36281 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
36283 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
36284 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
36286 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
36287 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
36289 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
36290 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
36292 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
36293 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
36295 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
36296 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
36298 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
36299 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
36301 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
36302 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
36304 static void *_p_wxListEventTo_p_wxObject(void *x
) {
36305 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
36307 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
36308 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36310 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
36311 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36313 static void *_p_wxButtonTo_p_wxObject(void *x
) {
36314 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
36316 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
36317 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36319 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
36320 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
36322 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
36323 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36325 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
36326 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
36328 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
36329 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
36331 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
36332 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
36334 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
36335 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
36337 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
36338 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
36340 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
36341 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
36343 static void *_p_wxListItemTo_p_wxObject(void *x
) {
36344 return (void *)((wxObject
*) ((wxListItem
*) x
));
36346 static void *_p_wxImageTo_p_wxObject(void *x
) {
36347 return (void *)((wxObject
*) ((wxImage
*) x
));
36349 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
36350 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
36352 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
36353 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36355 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
36356 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
36358 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
36359 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
36361 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
36362 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36364 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
36365 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36367 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
36368 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36370 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
36371 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36373 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
36374 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
36376 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
36377 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
36379 static void *_p_wxWindowTo_p_wxObject(void *x
) {
36380 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
36382 static void *_p_wxMenuTo_p_wxObject(void *x
) {
36383 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
36385 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
36386 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
36388 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
36389 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
36391 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
36392 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36394 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
36395 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
36397 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
36398 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
36400 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
36401 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
36403 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
36404 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
36406 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
36407 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
36409 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
36410 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36412 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
36413 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36415 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
36416 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36418 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
36419 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
36421 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
36422 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
36424 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
36425 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
36427 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
36428 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
36430 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
36431 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36433 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
36434 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
36436 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
36437 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
36439 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
36440 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
36442 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
36443 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36445 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
36446 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
36448 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
36449 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
36451 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
36452 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
36454 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
36455 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
36457 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
36458 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36460 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
36461 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
36463 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
36464 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
36466 static void *_p_wxControlTo_p_wxWindow(void *x
) {
36467 return (void *)((wxWindow
*) ((wxControl
*) x
));
36469 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
36470 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
36472 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
36473 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36475 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
36476 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
36478 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
36479 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
36481 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
36482 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
36484 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
36485 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
36487 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
36488 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
36490 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
36491 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
36493 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
36494 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
36496 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
36497 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
36499 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
36500 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36502 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
36503 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36505 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
36506 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
36508 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
36509 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
36511 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
36512 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
36514 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
36515 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36517 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
36518 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36520 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
36521 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36523 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
36524 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36526 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
36527 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36529 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
36530 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
36532 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
36533 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
36535 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
36536 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
36538 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
36539 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
36541 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
36542 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
36544 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
36545 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
36547 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
36548 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
36550 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
36551 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36553 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
36554 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36556 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
36557 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
36559 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
36560 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
36562 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36563 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36565 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36566 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36568 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36569 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36571 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
36572 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36574 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
36575 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
36577 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
36578 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
36580 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
36581 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36583 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
36584 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36586 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
36587 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36589 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
36590 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36592 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
36593 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36595 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
36596 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36598 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
36599 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
36601 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
36602 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36604 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
36605 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
36607 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
36608 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36610 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
36611 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36613 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
36614 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36616 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
36617 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
36619 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
36620 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36622 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
36623 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36625 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
36626 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36628 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
36629 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
36631 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
36632 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
36634 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
36635 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
36637 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
36638 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
36640 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}};
36641 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}};
36642 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}};
36643 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}};
36644 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}};
36645 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}};
36646 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}};
36647 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}};
36648 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}};
36649 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}};
36650 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}};
36651 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}};
36652 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}};
36653 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}};
36654 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}};
36655 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}};
36656 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}};
36657 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}};
36658 static swig_type_info _swigt__p_wxChoice
[] = {{"_p_wxChoice", 0, "wxChoice *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice
, 0, 0, 0, 0, 0},{"_p_wxChoice", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36659 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}};
36660 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}};
36661 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}};
36662 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}};
36663 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}};
36664 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}};
36665 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}};
36666 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}};
36667 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}};
36668 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}};
36669 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}};
36670 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}};
36671 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}};
36672 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}};
36673 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}};
36674 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}};
36675 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}};
36676 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}};
36677 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}};
36678 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}};
36679 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}};
36680 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}};
36681 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}};
36682 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}};
36683 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}};
36684 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}};
36685 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}};
36686 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}};
36687 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}};
36688 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}};
36689 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}};
36690 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}};
36691 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}};
36692 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}};
36693 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}};
36694 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}};
36695 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}};
36696 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}};
36697 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}};
36698 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}};
36699 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}};
36700 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}};
36701 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}};
36702 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}};
36703 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}};
36704 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}};
36705 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}};
36706 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}};
36707 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}};
36708 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}};
36709 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}};
36710 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}};
36711 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}};
36712 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}};
36713 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}};
36714 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}};
36715 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}};
36716 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}};
36717 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}};
36718 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}};
36719 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}};
36720 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}};
36721 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}};
36722 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}};
36723 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}};
36724 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}};
36725 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}};
36726 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}};
36727 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}};
36728 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}};
36729 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}};
36730 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", 0, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36731 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}};
36732 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}};
36733 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}};
36734 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}};
36736 static swig_type_info
*swig_types_initial
[] = {
36737 _swigt__p_wxTextUrlEvent
,
36738 _swigt__p_wxCheckBox
,
36739 _swigt__p_wxPyTreeCtrl
,
36741 _swigt__p_wxGenericDirCtrl
,
36743 _swigt__p_wxItemContainer
,
36744 _swigt__p_wxPyListCtrl
,
36745 _swigt__p_wxPyTreeItemData
,
36746 _swigt__p_wxDirFilterListCtrl
,
36747 _swigt__p_wxStaticLine
,
36748 _swigt__p_wxControl
,
36749 _swigt__p_wxPyControl
,
36751 _swigt__p_wxToolBarBase
,
36753 _swigt__p_wxToggleButton
,
36754 _swigt__p_wxRadioButton
,
36755 _swigt__p_wxChoice
,
36756 _swigt__p_wxMemoryDC
,
36758 _swigt__std__ptrdiff_t
,
36759 _swigt__p_wxListItemAttr
,
36764 _swigt__p_wxListView
,
36766 _swigt__p_wxVisualAttributes
,
36767 _swigt__p_wxTextCtrl
,
36768 _swigt__p_wxNotebook
,
36769 _swigt__p_wxChoicebook
,
36770 _swigt__p_wxNotifyEvent
,
36771 _swigt__p_wxArrayString
,
36772 _swigt__p_form_ops_t
,
36773 _swigt__p_wxListbook
,
36774 _swigt__p_wxStaticBitmap
,
36775 _swigt__p_wxSlider
,
36776 _swigt__p_wxStaticBox
,
36777 _swigt__p_wxArrayInt
,
36778 _swigt__p_wxContextHelp
,
36780 _swigt__p_wxDuplexMode
,
36781 _swigt__p_wxBookCtrlBase
,
36782 _swigt__p_wxEvtHandler
,
36783 _swigt__p_wxListEvent
,
36784 _swigt__p_wxCheckListBox
,
36785 _swigt__p_wxListBox
,
36786 _swigt__p_wxSpinButton
,
36787 _swigt__p_wxButton
,
36788 _swigt__p_wxBitmapButton
,
36790 _swigt__p_wxContextHelpButton
,
36791 _swigt__p_wxRadioBox
,
36792 _swigt__p_wxScrollBar
,
36794 _swigt__p_wxComboBox
,
36795 _swigt__p_wxTreeItemId
,
36796 _swigt__p_wxHelpEvent
,
36797 _swigt__p_wxListItem
,
36798 _swigt__p_wxSpinEvent
,
36799 _swigt__p_wxGenericDragImage
,
36800 _swigt__p_wxSpinCtrl
,
36801 _swigt__p_wxPaperSize
,
36802 _swigt__p_wxImageList
,
36803 _swigt__p_wxHelpProvider
,
36804 _swigt__p_wxTextAttr
,
36805 _swigt__p_wxSimpleHelpProvider
,
36806 _swigt__p_wxChoicebookEvent
,
36807 _swigt__p_wxListbookEvent
,
36808 _swigt__p_wxNotebookEvent
,
36810 _swigt__p_wxObject
,
36811 _swigt__p_wxCursor
,
36812 _swigt__p_wxDateTime
,
36813 _swigt__p_wxKeyEvent
,
36814 _swigt__p_unsigned_long
,
36815 _swigt__p_wxWindow
,
36816 _swigt__p_wxString
,
36817 _swigt__p_wxBitmap
,
36818 _swigt__unsigned_int
,
36819 _swigt__p_unsigned_int
,
36820 _swigt__p_unsigned_char
,
36821 _swigt__p_wxMouseEvent
,
36822 _swigt__p_wxBookCtrlBaseEvent
,
36823 _swigt__p_wxTreeEvent
,
36824 _swigt__p_wxCommandEvent
,
36825 _swigt__p_wxStaticText
,
36826 _swigt__p_wxDatePickerCtrl
,
36827 _swigt__p_wxControlWithItems
,
36828 _swigt__p_wxToolBarToolBase
,
36829 _swigt__p_wxColour
,
36830 _swigt__p_wxToolBar
,
36831 _swigt__p_wxValidator
,
36836 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
36838 static swig_const_info swig_const_table
[] = {
36839 {0, 0, 0, 0.0, 0, 0}};
36850 /* Python-specific SWIG API */
36851 #define SWIG_newvarlink() SWIG_Python_newvarlink()
36852 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
36853 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
36855 /* -----------------------------------------------------------------------------
36856 * global variable support code.
36857 * ----------------------------------------------------------------------------- */
36859 typedef struct swig_globalvar
{
36860 char *name
; /* Name of global variable */
36861 PyObject
*(*get_attr
)(); /* Return the current value */
36862 int (*set_attr
)(PyObject
*); /* Set the value */
36863 struct swig_globalvar
*next
;
36866 typedef struct swig_varlinkobject
{
36868 swig_globalvar
*vars
;
36869 } swig_varlinkobject
;
36872 swig_varlink_repr(swig_varlinkobject
*v
) {
36874 return PyString_FromString("<Swig global variables>");
36878 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
36879 swig_globalvar
*var
;
36881 fprintf(fp
,"Swig global variables { ");
36882 for (var
= v
->vars
; var
; var
=var
->next
) {
36883 fprintf(fp
,"%s", var
->name
);
36884 if (var
->next
) fprintf(fp
,", ");
36886 fprintf(fp
," }\n");
36891 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
36892 swig_globalvar
*var
= v
->vars
;
36894 if (strcmp(var
->name
,n
) == 0) {
36895 return (*var
->get_attr
)();
36899 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
36904 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
36905 swig_globalvar
*var
= v
->vars
;
36907 if (strcmp(var
->name
,n
) == 0) {
36908 return (*var
->set_attr
)(p
);
36912 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
36916 static PyTypeObject varlinktype
= {
36917 PyObject_HEAD_INIT(0)
36918 0, /* Number of items in variable part (ob_size) */
36919 (char *)"swigvarlink", /* Type name (tp_name) */
36920 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
36921 0, /* Itemsize (tp_itemsize) */
36922 0, /* Deallocator (tp_dealloc) */
36923 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
36924 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
36925 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
36926 0, /* tp_compare */
36927 (reprfunc
) swig_varlink_repr
, /* tp_repr */
36928 0, /* tp_as_number */
36929 0, /* tp_as_sequence */
36930 0, /* tp_as_mapping */
36934 0, /* tp_getattro */
36935 0, /* tp_setattro */
36936 0, /* tp_as_buffer */
36939 #if PY_VERSION_HEX >= 0x02000000
36940 0, /* tp_traverse */
36943 #if PY_VERSION_HEX >= 0x02010000
36944 0, /* tp_richcompare */
36945 0, /* tp_weaklistoffset */
36947 #if PY_VERSION_HEX >= 0x02020000
36948 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
36950 #if PY_VERSION_HEX >= 0x02030000
36953 #ifdef COUNT_ALLOCS
36954 0,0,0,0 /* tp_alloc -> tp_next */
36958 /* Create a variable linking object for use later */
36960 SWIG_Python_newvarlink(void) {
36961 swig_varlinkobject
*result
= 0;
36962 result
= PyMem_NEW(swig_varlinkobject
,1);
36963 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
36964 result
->ob_type
= &varlinktype
;
36966 result
->ob_refcnt
= 0;
36967 Py_XINCREF((PyObject
*) result
);
36968 return ((PyObject
*) result
);
36972 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
36973 swig_varlinkobject
*v
;
36974 swig_globalvar
*gv
;
36975 v
= (swig_varlinkobject
*) p
;
36976 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
36977 gv
->name
= (char *) malloc(strlen(name
)+1);
36978 strcpy(gv
->name
,name
);
36979 gv
->get_attr
= get_attr
;
36980 gv
->set_attr
= set_attr
;
36981 gv
->next
= v
->vars
;
36985 /* -----------------------------------------------------------------------------
36986 * constants/methods manipulation
36987 * ----------------------------------------------------------------------------- */
36989 /* Install Constants */
36991 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
36994 for (i
= 0; constants
[i
].type
; i
++) {
36995 switch(constants
[i
].type
) {
36997 obj
= PyInt_FromLong(constants
[i
].lvalue
);
36999 case SWIG_PY_FLOAT
:
37000 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
37002 case SWIG_PY_STRING
:
37003 if (constants
[i
].pvalue
) {
37004 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
37006 Py_INCREF(Py_None
);
37010 case SWIG_PY_POINTER
:
37011 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
37013 case SWIG_PY_BINARY
:
37014 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
37021 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
37027 /* -----------------------------------------------------------------------------*/
37028 /* Fix SwigMethods to carry the callback ptrs when needed */
37029 /* -----------------------------------------------------------------------------*/
37032 SWIG_Python_FixMethods(PyMethodDef
*methods
,
37033 swig_const_info
*const_table
,
37034 swig_type_info
**types
,
37035 swig_type_info
**types_initial
) {
37037 for (i
= 0; methods
[i
].ml_name
; ++i
) {
37038 char *c
= methods
[i
].ml_doc
;
37039 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
37041 swig_const_info
*ci
= 0;
37042 char *name
= c
+ 10;
37043 for (j
= 0; const_table
[j
].type
; j
++) {
37044 if (strncmp(const_table
[j
].name
, name
,
37045 strlen(const_table
[j
].name
)) == 0) {
37046 ci
= &(const_table
[j
]);
37051 size_t shift
= (ci
->ptype
) - types
;
37052 swig_type_info
*ty
= types_initial
[shift
];
37053 size_t ldoc
= (c
- methods
[i
].ml_doc
);
37054 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
37055 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
37057 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
37058 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
37060 strncpy(buff
, "swig_ptr: ", 10);
37062 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
37063 methods
[i
].ml_doc
= ndoc
;
37069 /* -----------------------------------------------------------------------------*
37070 * Initialize type list
37071 * -----------------------------------------------------------------------------*/
37073 #if PY_MAJOR_VERSION < 2
37074 /* PyModule_AddObject function was introduced in Python 2.0. The following function
37075 is copied out of Python/modsupport.c in python version 2.3.4 */
37077 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
37080 if (!PyModule_Check(m
)) {
37081 PyErr_SetString(PyExc_TypeError
,
37082 "PyModule_AddObject() needs module as first arg");
37086 PyErr_SetString(PyExc_TypeError
,
37087 "PyModule_AddObject() needs non-NULL value");
37091 dict
= PyModule_GetDict(m
);
37092 if (dict
== NULL
) {
37093 /* Internal error -- modules must have a dict! */
37094 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
37095 PyModule_GetName(m
));
37098 if (PyDict_SetItemString(dict
, name
, o
))
37105 static swig_type_info
**
37106 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
37107 static PyMethodDef swig_empty_runtime_method_table
[] = {
37109 NULL
, NULL
, 0, NULL
37113 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
37114 swig_empty_runtime_method_table
);
37115 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
37116 if (pointer
&& module) {
37117 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
37119 return type_list_handle
;
37122 static swig_type_info
**
37123 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
37124 swig_type_info
**type_pointer
;
37126 /* first check if module already created */
37127 type_pointer
= SWIG_Python_GetTypeListHandle();
37128 if (type_pointer
) {
37129 return type_pointer
;
37131 /* create a new module and variable */
37132 return SWIG_Python_SetTypeListHandle(type_list_handle
);
37140 /* -----------------------------------------------------------------------------*
37141 * Partial Init method
37142 * -----------------------------------------------------------------------------*/
37144 #ifdef SWIG_LINK_RUNTIME
37148 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
37154 SWIGEXPORT(void) SWIG_init(void) {
37155 static PyObject
*SWIG_globals
= 0;
37156 static int typeinit
= 0;
37159 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
37161 /* Fix SwigMethods to carry the callback ptrs when needed */
37162 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
37164 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
37165 d
= PyModule_GetDict(m
);
37168 #ifdef SWIG_LINK_RUNTIME
37169 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
37171 # ifndef SWIG_STATIC_RUNTIME
37172 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
37175 for (i
= 0; swig_types_initial
[i
]; i
++) {
37176 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
37180 SWIG_InstallConstants(d
,swig_const_table
);
37182 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
37183 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
37185 PyDict_SetItemString(d
,"BU_LEFT", SWIG_From_int((int)(wxBU_LEFT
)));
37188 PyDict_SetItemString(d
,"BU_TOP", SWIG_From_int((int)(wxBU_TOP
)));
37191 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_From_int((int)(wxBU_RIGHT
)));
37194 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_From_int((int)(wxBU_BOTTOM
)));
37197 PyDict_SetItemString(d
,"BU_ALIGN_MASK", SWIG_From_int((int)(wxBU_ALIGN_MASK
)));
37200 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_From_int((int)(wxBU_EXACTFIT
)));
37203 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_From_int((int)(wxBU_AUTODRAW
)));
37205 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
37207 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_From_int((int)(wxCHK_2STATE
)));
37210 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_From_int((int)(wxCHK_3STATE
)));
37213 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int((int)(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
37216 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_From_int((int)(wxCHK_UNCHECKED
)));
37219 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_From_int((int)(wxCHK_CHECKED
)));
37222 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_From_int((int)(wxCHK_UNDETERMINED
)));
37224 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
37225 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
37226 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
37228 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_From_int((int)(wxGA_HORIZONTAL
)));
37231 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_From_int((int)(wxGA_VERTICAL
)));
37234 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_From_int((int)(wxGA_SMOOTH
)));
37237 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_From_int((int)(wxGA_PROGRESSBAR
)));
37239 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
37240 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
37241 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
37242 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
37243 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
37245 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_From_int((int)(wxTE_NO_VSCROLL
)));
37248 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_From_int((int)(wxTE_AUTO_SCROLL
)));
37251 PyDict_SetItemString(d
,"TE_READONLY", SWIG_From_int((int)(wxTE_READONLY
)));
37254 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_From_int((int)(wxTE_MULTILINE
)));
37257 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_From_int((int)(wxTE_PROCESS_TAB
)));
37260 PyDict_SetItemString(d
,"TE_LEFT", SWIG_From_int((int)(wxTE_LEFT
)));
37263 PyDict_SetItemString(d
,"TE_CENTER", SWIG_From_int((int)(wxTE_CENTER
)));
37266 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_From_int((int)(wxTE_RIGHT
)));
37269 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_From_int((int)(wxTE_CENTRE
)));
37272 PyDict_SetItemString(d
,"TE_RICH", SWIG_From_int((int)(wxTE_RICH
)));
37275 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_From_int((int)(wxTE_PROCESS_ENTER
)));
37278 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_From_int((int)(wxTE_PASSWORD
)));
37281 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_From_int((int)(wxTE_AUTO_URL
)));
37284 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_From_int((int)(wxTE_NOHIDESEL
)));
37287 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_From_int((int)(wxTE_DONTWRAP
)));
37290 PyDict_SetItemString(d
,"TE_CHARWRAP", SWIG_From_int((int)(wxTE_CHARWRAP
)));
37293 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_From_int((int)(wxTE_WORDWRAP
)));
37296 PyDict_SetItemString(d
,"TE_BESTWRAP", SWIG_From_int((int)(wxTE_BESTWRAP
)));
37299 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_From_int((int)(wxTE_LINEWRAP
)));
37302 PyDict_SetItemString(d
,"TE_RICH2", SWIG_From_int((int)(wxTE_RICH2
)));
37305 PyDict_SetItemString(d
,"TE_CAPITALIZE", SWIG_From_int((int)(wxTE_CAPITALIZE
)));
37308 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_DEFAULT
)));
37311 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_LEFT
)));
37314 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTRE
)));
37317 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTER
)));
37320 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_RIGHT
)));
37323 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)(wxTEXT_ALIGNMENT_JUSTIFIED
)));
37326 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_TEXT_COLOUR
)));
37329 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
37332 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_FACE
)));
37335 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_SIZE
)));
37338 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)(wxTEXT_ATTR_FONT_WEIGHT
)));
37341 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)(wxTEXT_ATTR_FONT_ITALIC
)));
37344 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_UNDERLINE
)));
37347 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_From_int((int)(wxTEXT_ATTR_FONT
)));
37350 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)(wxTEXT_ATTR_ALIGNMENT
)));
37353 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_LEFT_INDENT
)));
37356 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_RIGHT_INDENT
)));
37359 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_From_int((int)(wxTEXT_ATTR_TABS
)));
37362 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_From_int((int)(wxTE_HT_UNKNOWN
)));
37365 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_From_int((int)(wxTE_HT_BEFORE
)));
37368 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_From_int((int)(wxTE_HT_ON_TEXT
)));
37371 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_From_int((int)(wxTE_HT_BELOW
)));
37374 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_From_int((int)(wxTE_HT_BEYOND
)));
37377 PyDict_SetItemString(d
,"OutOfRangeTextCoord", SWIG_From_int((int)(wxOutOfRangeTextCoord
)));
37380 PyDict_SetItemString(d
,"InvalidTextCoord", SWIG_From_int((int)(wxInvalidTextCoord
)));
37382 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
37383 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
37384 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
37385 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
37386 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
37387 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
37388 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
37390 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_From_int((int)(wxSP_HORIZONTAL
)));
37393 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_From_int((int)(wxSP_VERTICAL
)));
37396 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_From_int((int)(wxSP_ARROW_KEYS
)));
37399 PyDict_SetItemString(d
,"SP_WRAP", SWIG_From_int((int)(wxSP_WRAP
)));
37401 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
37402 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
37403 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
37404 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
37406 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_From_int((int)(wxSL_HORIZONTAL
)));
37409 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_From_int((int)(wxSL_VERTICAL
)));
37412 PyDict_SetItemString(d
,"SL_TICKS", SWIG_From_int((int)(wxSL_TICKS
)));
37415 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_From_int((int)(wxSL_AUTOTICKS
)));
37418 PyDict_SetItemString(d
,"SL_LABELS", SWIG_From_int((int)(wxSL_LABELS
)));
37421 PyDict_SetItemString(d
,"SL_LEFT", SWIG_From_int((int)(wxSL_LEFT
)));
37424 PyDict_SetItemString(d
,"SL_TOP", SWIG_From_int((int)(wxSL_TOP
)));
37427 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_From_int((int)(wxSL_RIGHT
)));
37430 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_From_int((int)(wxSL_BOTTOM
)));
37433 PyDict_SetItemString(d
,"SL_BOTH", SWIG_From_int((int)(wxSL_BOTH
)));
37436 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_From_int((int)(wxSL_SELRANGE
)));
37439 PyDict_SetItemString(d
,"SL_INVERSE", SWIG_From_int((int)(wxSL_INVERSE
)));
37441 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
37442 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
37443 SWIG_addvarlink(SWIG_globals
,(char*)"NotebookNameStr",_wrap_NotebookNameStr_get
, _wrap_NotebookNameStr_set
);
37445 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_From_int((int)(wxNB_FIXEDWIDTH
)));
37448 PyDict_SetItemString(d
,"NB_TOP", SWIG_From_int((int)(wxNB_TOP
)));
37451 PyDict_SetItemString(d
,"NB_LEFT", SWIG_From_int((int)(wxNB_LEFT
)));
37454 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_From_int((int)(wxNB_RIGHT
)));
37457 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_From_int((int)(wxNB_BOTTOM
)));
37460 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_From_int((int)(wxNB_MULTILINE
)));
37463 PyDict_SetItemString(d
,"NB_NOPAGETHEME", SWIG_From_int((int)(wxNB_NOPAGETHEME
)));
37466 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_From_int((int)(wxNB_HITTEST_NOWHERE
)));
37469 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_From_int((int)(wxNB_HITTEST_ONICON
)));
37472 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_From_int((int)(wxNB_HITTEST_ONLABEL
)));
37475 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_From_int((int)(wxNB_HITTEST_ONITEM
)));
37477 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
37478 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
37480 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_From_int((int)(wxLB_DEFAULT
)));
37483 PyDict_SetItemString(d
,"LB_TOP", SWIG_From_int((int)(wxLB_TOP
)));
37486 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_From_int((int)(wxLB_BOTTOM
)));
37489 PyDict_SetItemString(d
,"LB_LEFT", SWIG_From_int((int)(wxLB_LEFT
)));
37492 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_From_int((int)(wxLB_RIGHT
)));
37495 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_From_int((int)(wxLB_ALIGN_MASK
)));
37497 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
37498 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
37500 PyDict_SetItemString(d
,"CHB_DEFAULT", SWIG_From_int((int)(wxCHB_DEFAULT
)));
37503 PyDict_SetItemString(d
,"CHB_TOP", SWIG_From_int((int)(wxCHB_TOP
)));
37506 PyDict_SetItemString(d
,"CHB_BOTTOM", SWIG_From_int((int)(wxCHB_BOTTOM
)));
37509 PyDict_SetItemString(d
,"CHB_LEFT", SWIG_From_int((int)(wxCHB_LEFT
)));
37512 PyDict_SetItemString(d
,"CHB_RIGHT", SWIG_From_int((int)(wxCHB_RIGHT
)));
37515 PyDict_SetItemString(d
,"CHB_ALIGN_MASK", SWIG_From_int((int)(wxCHB_ALIGN_MASK
)));
37517 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
37518 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
37520 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_From_int((int)(wxTOOL_STYLE_BUTTON
)));
37523 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_From_int((int)(wxTOOL_STYLE_SEPARATOR
)));
37526 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_From_int((int)(wxTOOL_STYLE_CONTROL
)));
37529 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_From_int((int)(wxTB_HORIZONTAL
)));
37532 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_From_int((int)(wxTB_VERTICAL
)));
37535 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_From_int((int)(wxTB_3DBUTTONS
)));
37538 PyDict_SetItemString(d
,"TB_FLAT", SWIG_From_int((int)(wxTB_FLAT
)));
37541 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_From_int((int)(wxTB_DOCKABLE
)));
37544 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_From_int((int)(wxTB_NOICONS
)));
37547 PyDict_SetItemString(d
,"TB_TEXT", SWIG_From_int((int)(wxTB_TEXT
)));
37550 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_From_int((int)(wxTB_NODIVIDER
)));
37553 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_From_int((int)(wxTB_NOALIGN
)));
37556 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_From_int((int)(wxTB_HORZ_LAYOUT
)));
37559 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_From_int((int)(wxTB_HORZ_TEXT
)));
37561 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
37563 PyDict_SetItemString(d
,"LC_VRULES", SWIG_From_int((int)(wxLC_VRULES
)));
37566 PyDict_SetItemString(d
,"LC_HRULES", SWIG_From_int((int)(wxLC_HRULES
)));
37569 PyDict_SetItemString(d
,"LC_ICON", SWIG_From_int((int)(wxLC_ICON
)));
37572 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_From_int((int)(wxLC_SMALL_ICON
)));
37575 PyDict_SetItemString(d
,"LC_LIST", SWIG_From_int((int)(wxLC_LIST
)));
37578 PyDict_SetItemString(d
,"LC_REPORT", SWIG_From_int((int)(wxLC_REPORT
)));
37581 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_From_int((int)(wxLC_ALIGN_TOP
)));
37584 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_From_int((int)(wxLC_ALIGN_LEFT
)));
37587 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_From_int((int)(wxLC_AUTOARRANGE
)));
37590 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_From_int((int)(wxLC_VIRTUAL
)));
37593 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_From_int((int)(wxLC_EDIT_LABELS
)));
37596 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_From_int((int)(wxLC_NO_HEADER
)));
37599 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_From_int((int)(wxLC_NO_SORT_HEADER
)));
37602 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_From_int((int)(wxLC_SINGLE_SEL
)));
37605 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_From_int((int)(wxLC_SORT_ASCENDING
)));
37608 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_From_int((int)(wxLC_SORT_DESCENDING
)));
37611 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_From_int((int)(wxLC_MASK_TYPE
)));
37614 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_From_int((int)(wxLC_MASK_ALIGN
)));
37617 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_From_int((int)(wxLC_MASK_SORT
)));
37620 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_From_int((int)(wxLIST_MASK_STATE
)));
37623 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_From_int((int)(wxLIST_MASK_TEXT
)));
37626 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_From_int((int)(wxLIST_MASK_IMAGE
)));
37629 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_From_int((int)(wxLIST_MASK_DATA
)));
37632 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_From_int((int)(wxLIST_SET_ITEM
)));
37635 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_From_int((int)(wxLIST_MASK_WIDTH
)));
37638 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_From_int((int)(wxLIST_MASK_FORMAT
)));
37641 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_From_int((int)(wxLIST_STATE_DONTCARE
)));
37644 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_From_int((int)(wxLIST_STATE_DROPHILITED
)));
37647 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_From_int((int)(wxLIST_STATE_FOCUSED
)));
37650 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_From_int((int)(wxLIST_STATE_SELECTED
)));
37653 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_From_int((int)(wxLIST_STATE_CUT
)));
37656 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_From_int((int)(wxLIST_STATE_DISABLED
)));
37659 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_From_int((int)(wxLIST_STATE_FILTERED
)));
37662 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_From_int((int)(wxLIST_STATE_INUSE
)));
37665 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_From_int((int)(wxLIST_STATE_PICKED
)));
37668 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_From_int((int)(wxLIST_STATE_SOURCE
)));
37671 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_From_int((int)(wxLIST_HITTEST_ABOVE
)));
37674 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_From_int((int)(wxLIST_HITTEST_BELOW
)));
37677 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_From_int((int)(wxLIST_HITTEST_NOWHERE
)));
37680 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMICON
)));
37683 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMLABEL
)));
37686 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMRIGHT
)));
37689 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMSTATEICON
)));
37692 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_From_int((int)(wxLIST_HITTEST_TOLEFT
)));
37695 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_From_int((int)(wxLIST_HITTEST_TORIGHT
)));
37698 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_From_int((int)(wxLIST_HITTEST_ONITEM
)));
37701 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_From_int((int)(wxLIST_NEXT_ABOVE
)));
37704 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_From_int((int)(wxLIST_NEXT_ALL
)));
37707 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_From_int((int)(wxLIST_NEXT_BELOW
)));
37710 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_From_int((int)(wxLIST_NEXT_LEFT
)));
37713 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_From_int((int)(wxLIST_NEXT_RIGHT
)));
37716 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_From_int((int)(wxLIST_ALIGN_DEFAULT
)));
37719 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_From_int((int)(wxLIST_ALIGN_LEFT
)));
37722 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_From_int((int)(wxLIST_ALIGN_TOP
)));
37725 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int((int)(wxLIST_ALIGN_SNAP_TO_GRID
)));
37728 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_From_int((int)(wxLIST_FORMAT_LEFT
)));
37731 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_From_int((int)(wxLIST_FORMAT_RIGHT
)));
37734 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_From_int((int)(wxLIST_FORMAT_CENTRE
)));
37737 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_From_int((int)(wxLIST_FORMAT_CENTER
)));
37740 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_From_int((int)(wxLIST_AUTOSIZE
)));
37743 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int((int)(wxLIST_AUTOSIZE_USEHEADER
)));
37746 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_From_int((int)(wxLIST_RECT_BOUNDS
)));
37749 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_From_int((int)(wxLIST_RECT_ICON
)));
37752 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_From_int((int)(wxLIST_RECT_LABEL
)));
37755 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_From_int((int)(wxLIST_FIND_UP
)));
37758 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_From_int((int)(wxLIST_FIND_DOWN
)));
37761 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_From_int((int)(wxLIST_FIND_LEFT
)));
37764 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_From_int((int)(wxLIST_FIND_RIGHT
)));
37766 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
37767 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
37768 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
37769 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
37770 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
37771 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
37772 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
37773 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
37774 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
37775 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
37776 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
37777 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
37778 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
37779 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
37780 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
37781 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
37782 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
37783 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
37784 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
37785 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
37787 // Map renamed classes back to their common name for OOR
37788 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
37790 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
37792 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_From_int((int)(wxTR_NO_BUTTONS
)));
37795 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_From_int((int)(wxTR_HAS_BUTTONS
)));
37798 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_From_int((int)(wxTR_NO_LINES
)));
37801 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_From_int((int)(wxTR_LINES_AT_ROOT
)));
37804 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_From_int((int)(wxTR_SINGLE
)));
37807 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_From_int((int)(wxTR_MULTIPLE
)));
37810 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_From_int((int)(wxTR_EXTENDED
)));
37813 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int((int)(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
37816 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_From_int((int)(wxTR_EDIT_LABELS
)));
37819 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_From_int((int)(wxTR_HIDE_ROOT
)));
37822 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_From_int((int)(wxTR_ROW_LINES
)));
37825 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int((int)(wxTR_FULL_ROW_HIGHLIGHT
)));
37828 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_From_int((int)(wxTR_DEFAULT_STYLE
)));
37831 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_From_int((int)(wxTR_TWIST_BUTTONS
)));
37834 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_From_int((int)(wxTR_MAC_BUTTONS
)));
37837 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_From_int((int)(wxTR_AQUA_BUTTONS
)));
37840 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_From_int((int)(wxTreeItemIcon_Normal
)));
37843 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_From_int((int)(wxTreeItemIcon_Selected
)));
37846 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_From_int((int)(wxTreeItemIcon_Expanded
)));
37849 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)(wxTreeItemIcon_SelectedExpanded
)));
37852 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_From_int((int)(wxTreeItemIcon_Max
)));
37855 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_From_int((int)(wxTREE_HITTEST_ABOVE
)));
37858 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_From_int((int)(wxTREE_HITTEST_BELOW
)));
37861 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_From_int((int)(wxTREE_HITTEST_NOWHERE
)));
37864 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMBUTTON
)));
37867 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMICON
)));
37870 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMINDENT
)));
37873 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLABEL
)));
37876 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMRIGHT
)));
37879 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMSTATEICON
)));
37882 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_From_int((int)(wxTREE_HITTEST_TOLEFT
)));
37885 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_From_int((int)(wxTREE_HITTEST_TORIGHT
)));
37888 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMUPPERPART
)));
37891 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLOWERPART
)));
37894 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_From_int((int)(wxTREE_HITTEST_ONITEM
)));
37896 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
37897 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
37898 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
37899 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
37900 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
37901 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
37902 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
37903 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
37904 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
37905 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
37906 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
37907 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
37908 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
37909 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
37910 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
37911 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
37912 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
37913 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
37914 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
37915 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
37916 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
37918 // Map renamed classes back to their common name for OOR
37919 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
37920 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
37922 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
37924 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_From_int((int)(wxDIRCTRL_DIR_ONLY
)));
37927 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_From_int((int)(wxDIRCTRL_SELECT_FIRST
)));
37930 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_From_int((int)(wxDIRCTRL_SHOW_FILTERS
)));
37933 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_From_int((int)(wxDIRCTRL_3D_INTERNAL
)));
37936 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_From_int((int)(wxDIRCTRL_EDIT_LABELS
)));
37939 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_From_int((int)(wxFRAME_EX_CONTEXTHELP
)));
37942 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_From_int((int)(wxDIALOG_EX_CONTEXTHELP
)));
37944 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
37945 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
37947 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
37949 SWIG_addvarlink(SWIG_globals
,(char*)"DatePickerCtrlNameStr",_wrap_DatePickerCtrlNameStr_get
, _wrap_DatePickerCtrlNameStr_set
);
37951 PyDict_SetItemString(d
,"DP_DEFAULT", SWIG_From_int((int)(wxDP_DEFAULT
)));
37954 PyDict_SetItemString(d
,"DP_SPIN", SWIG_From_int((int)(wxDP_SPIN
)));
37957 PyDict_SetItemString(d
,"DP_DROPDOWN", SWIG_From_int((int)(wxDP_DROPDOWN
)));
37960 PyDict_SetItemString(d
,"DP_SHOWCENTURY", SWIG_From_int((int)(wxDP_SHOWCENTURY
)));
37963 PyDict_SetItemString(d
,"DP_ALLOWNONE", SWIG_From_int((int)(wxDP_ALLOWNONE
)));