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_wxSizer swig_types[1]
1344 #define SWIGTYPE_p_wxCheckBox swig_types[2]
1345 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[3]
1346 #define SWIGTYPE_p_wxEvent swig_types[4]
1347 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[5]
1348 #define SWIGTYPE_p_bool swig_types[6]
1349 #define SWIGTYPE_p_wxItemContainer swig_types[7]
1350 #define SWIGTYPE_p_wxPyListCtrl swig_types[8]
1351 #define SWIGTYPE_p_wxPyTreeItemData swig_types[9]
1352 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[10]
1353 #define SWIGTYPE_p_wxStaticLine swig_types[11]
1354 #define SWIGTYPE_p_wxControl swig_types[12]
1355 #define SWIGTYPE_p_wxPyControl swig_types[13]
1356 #define SWIGTYPE_p_wxGauge swig_types[14]
1357 #define SWIGTYPE_p_wxToolBarBase swig_types[15]
1358 #define SWIGTYPE_p_wxFont swig_types[16]
1359 #define SWIGTYPE_p_wxToggleButton swig_types[17]
1360 #define SWIGTYPE_p_wxRadioButton swig_types[18]
1361 #define SWIGTYPE_p_wxChoice swig_types[19]
1362 #define SWIGTYPE_p_wxMemoryDC swig_types[20]
1363 #define SWIGTYPE_ptrdiff_t swig_types[21]
1364 #define SWIGTYPE_std__ptrdiff_t swig_types[22]
1365 #define SWIGTYPE_p_wxListItemAttr swig_types[23]
1366 #define SWIGTYPE_p_void swig_types[24]
1367 #define SWIGTYPE_p_int swig_types[25]
1368 #define SWIGTYPE_p_wxSize swig_types[26]
1369 #define SWIGTYPE_p_wxDC swig_types[27]
1370 #define SWIGTYPE_p_wxListView swig_types[28]
1371 #define SWIGTYPE_p_wxIcon swig_types[29]
1372 #define SWIGTYPE_p_wxVisualAttributes swig_types[30]
1373 #define SWIGTYPE_p_wxTextCtrl swig_types[31]
1374 #define SWIGTYPE_p_wxNotebook swig_types[32]
1375 #define SWIGTYPE_p_wxChoicebook swig_types[33]
1376 #define SWIGTYPE_p_wxNotifyEvent swig_types[34]
1377 #define SWIGTYPE_p_wxArrayString swig_types[35]
1378 #define SWIGTYPE_p_form_ops_t swig_types[36]
1379 #define SWIGTYPE_p_wxListbook swig_types[37]
1380 #define SWIGTYPE_p_wxStaticBitmap swig_types[38]
1381 #define SWIGTYPE_p_wxSlider swig_types[39]
1382 #define SWIGTYPE_p_wxStaticBox swig_types[40]
1383 #define SWIGTYPE_p_wxArrayInt swig_types[41]
1384 #define SWIGTYPE_p_wxContextHelp swig_types[42]
1385 #define SWIGTYPE_p_long swig_types[43]
1386 #define SWIGTYPE_p_wxDuplexMode swig_types[44]
1387 #define SWIGTYPE_p_wxBookCtrlBase swig_types[45]
1388 #define SWIGTYPE_p_wxEvtHandler swig_types[46]
1389 #define SWIGTYPE_p_wxListEvent swig_types[47]
1390 #define SWIGTYPE_p_wxCheckListBox swig_types[48]
1391 #define SWIGTYPE_p_wxListBox swig_types[49]
1392 #define SWIGTYPE_p_wxSpinButton swig_types[50]
1393 #define SWIGTYPE_p_wxButton swig_types[51]
1394 #define SWIGTYPE_p_wxBitmapButton swig_types[52]
1395 #define SWIGTYPE_p_wxRect swig_types[53]
1396 #define SWIGTYPE_p_wxContextHelpButton swig_types[54]
1397 #define SWIGTYPE_p_wxRadioBox swig_types[55]
1398 #define SWIGTYPE_p_wxScrollBar swig_types[56]
1399 #define SWIGTYPE_p_char swig_types[57]
1400 #define SWIGTYPE_p_wxComboBox swig_types[58]
1401 #define SWIGTYPE_p_wxTreeItemId swig_types[59]
1402 #define SWIGTYPE_p_wxHelpEvent swig_types[60]
1403 #define SWIGTYPE_p_wxListItem swig_types[61]
1404 #define SWIGTYPE_p_wxNotebookSizer swig_types[62]
1405 #define SWIGTYPE_p_wxSpinEvent swig_types[63]
1406 #define SWIGTYPE_p_wxGenericDragImage swig_types[64]
1407 #define SWIGTYPE_p_wxSpinCtrl swig_types[65]
1408 #define SWIGTYPE_p_wxPaperSize swig_types[66]
1409 #define SWIGTYPE_p_wxImageList swig_types[67]
1410 #define SWIGTYPE_p_wxHelpProvider swig_types[68]
1411 #define SWIGTYPE_p_wxTextAttr swig_types[69]
1412 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[70]
1413 #define SWIGTYPE_p_wxChoicebookEvent swig_types[71]
1414 #define SWIGTYPE_p_wxListbookEvent swig_types[72]
1415 #define SWIGTYPE_p_wxNotebookEvent swig_types[73]
1416 #define SWIGTYPE_p_wxPoint swig_types[74]
1417 #define SWIGTYPE_p_wxObject swig_types[75]
1418 #define SWIGTYPE_p_wxCursor swig_types[76]
1419 #define SWIGTYPE_p_wxDateTime swig_types[77]
1420 #define SWIGTYPE_p_wxKeyEvent swig_types[78]
1421 #define SWIGTYPE_p_unsigned_long swig_types[79]
1422 #define SWIGTYPE_p_wxWindow swig_types[80]
1423 #define SWIGTYPE_p_wxString swig_types[81]
1424 #define SWIGTYPE_p_wxBitmap swig_types[82]
1425 #define SWIGTYPE_unsigned_int swig_types[83]
1426 #define SWIGTYPE_p_unsigned_int swig_types[84]
1427 #define SWIGTYPE_p_unsigned_char swig_types[85]
1428 #define SWIGTYPE_p_wxMouseEvent swig_types[86]
1429 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[87]
1430 #define SWIGTYPE_p_wxTreeEvent swig_types[88]
1431 #define SWIGTYPE_p_wxCommandEvent swig_types[89]
1432 #define SWIGTYPE_p_wxStaticText swig_types[90]
1433 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[91]
1434 #define SWIGTYPE_p_wxControlWithItems swig_types[92]
1435 #define SWIGTYPE_p_wxToolBarToolBase swig_types[93]
1436 #define SWIGTYPE_p_wxColour swig_types[94]
1437 #define SWIGTYPE_p_wxToolBar swig_types[95]
1438 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[96]
1439 #define SWIGTYPE_p_wxValidator swig_types[97]
1440 static swig_type_info
*swig_types
[99];
1442 /* -------- TYPES TABLE (END) -------- */
1445 /*-----------------------------------------------
1446 @(target):= _controls_.so
1447 ------------------------------------------------*/
1448 #define SWIG_init init_controls_
1450 #define SWIG_name "_controls_"
1452 #include "wx/wxPython/wxPython.h"
1453 #include "wx/wxPython/pyclasses.h"
1455 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1456 static const wxString
wxPyEmptyString(wxEmptyString
);
1457 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1459 const wxArrayString wxPyEmptyStringArray
;
1461 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
1463 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1464 #define SWIG_From_int PyInt_FromLong
1472 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1475 if (value
< min_value
) {
1477 PyErr_Format(PyExc_OverflowError
,
1478 "value %ld is less than '%s' minimum %ld",
1479 value
, errmsg
, min_value
);
1482 } else if (value
> max_value
) {
1484 PyErr_Format(PyExc_OverflowError
,
1485 "value %ld is greater than '%s' maximum %ld",
1486 value
, errmsg
, max_value
);
1495 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1497 if (PyNumber_Check(obj
)) {
1498 if (val
) *val
= PyInt_AsLong(obj
);
1502 SWIG_type_error("number", obj
);
1508 #if INT_MAX != LONG_MAX
1510 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1512 const char* errmsg
= val
? "int" : (char*)0;
1514 if (SWIG_AsVal_long(obj
, &v
)) {
1515 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1516 if (val
) *val
= (int)(v
);
1525 SWIG_type_error(errmsg
, obj
);
1531 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1533 return SWIG_AsVal_long(obj
,(long*)val
);
1539 SWIG_As_int(PyObject
* obj
)
1542 if (!SWIG_AsVal_int(obj
, &v
)) {
1544 this is needed to make valgrind/purify happier.
1546 memset((void*)&v
, 0, sizeof(int));
1552 SWIGINTERNSHORT
long
1553 SWIG_As_long(PyObject
* obj
)
1556 if (!SWIG_AsVal_long(obj
, &v
)) {
1558 this is needed to make valgrind/purify happier.
1560 memset((void*)&v
, 0, sizeof(long));
1567 SWIG_Check_int(PyObject
* obj
)
1569 return SWIG_AsVal_int(obj
, (int*)0);
1574 SWIG_Check_long(PyObject
* obj
)
1576 return SWIG_AsVal_long(obj
, (long*)0);
1579 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
1582 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1584 if (obj
== Py_True
) {
1585 if (val
) *val
= true;
1588 if (obj
== Py_False
) {
1589 if (val
) *val
= false;
1593 if (SWIG_AsVal_int(obj
, &res
)) {
1594 if (val
) *val
= res
? true : false;
1600 SWIG_type_error("bool", obj
);
1606 SWIGINTERNSHORT
bool
1607 SWIG_As_bool(PyObject
* obj
)
1610 if (!SWIG_AsVal_bool(obj
, &v
)) {
1612 this is needed to make valgrind/purify happier.
1614 memset((void*)&v
, 0, sizeof(bool));
1621 SWIG_Check_bool(PyObject
* obj
)
1623 return SWIG_AsVal_bool(obj
, (bool*)0);
1626 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
1627 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
1629 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1630 #define SWIG_From_long PyInt_FromLong
1634 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1640 } else if (target
== Py_None
) {
1644 if (!PyTuple_Check(target
)) {
1646 target
= PyTuple_New(1);
1647 PyTuple_SetItem(target
, 0, o2
);
1649 o3
= PyTuple_New(1);
1650 PyTuple_SetItem(o3
, 0, o
);
1653 target
= PySequence_Concat(o2
, o3
);
1661 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
1662 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
1663 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
1664 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
1666 #include <wx/checklst.h>
1669 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
1670 static void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
1672 wxPyClientData
* data
= new wxPyClientData(clientData
);
1673 self
->Insert(item
, pos
, data
);
1675 self
->Insert(item
, pos
);
1677 static PyObject
*wxListBox_GetSelections(wxListBox
*self
){
1679 self
->GetSelections(lst
);
1680 PyObject
*tup
= PyTuple_New(lst
.GetCount());
1681 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
1682 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
1686 static void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
1688 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1689 self
->GetItem(item
)->SetTextColour(c
);
1692 static void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
1694 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1695 self
->GetItem(item
)->SetBackgroundColour(c
);
1698 static void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
1700 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1701 self
->GetItem(item
)->SetFont(f
);
1704 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
1707 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1710 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1711 SWIG_type_error("unsigned number", obj
);
1714 *val
= (unsigned long)v
;
1719 SWIGINTERNSHORT
unsigned long
1720 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1723 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1725 this is needed to make valgrind/purify happier.
1727 memset((void*)&v
, 0, sizeof(unsigned long));
1734 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1736 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1739 static void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
1740 self
->AppendText(text
);
1742 static wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
1743 return self
->GetValue().Mid(from
, to
- from
);
1745 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
1746 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
1747 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
1748 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
1749 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
1751 #include <wx/slider.h>
1754 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
1755 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
1757 #if !wxUSE_TOGGLEBTN
1758 // implement dummy items for platforms that don't have this class
1760 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
1762 class wxToggleButton
: public wxControl
1765 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
1766 const wxPoint
&, const wxSize
&, long,
1767 const wxValidator
&, const wxString
&)
1768 { wxPyRaiseNotImplemented(); }
1771 { wxPyRaiseNotImplemented(); }
1775 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
1777 SWIGINTERNSHORT PyObject
*
1778 SWIG_From_unsigned_SS_long(unsigned long value
)
1780 return (value
> LONG_MAX
) ?
1781 PyLong_FromUnsignedLong(value
)
1782 : PyInt_FromLong((long)(value
));
1785 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
1786 static PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
1787 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
1789 Py_INCREF(udata
->m_obj
);
1790 return udata
->m_obj
;
1796 static void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
1797 self
->SetClientData(new wxPyUserData(clientData
));
1799 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
){
1800 wxPyUserData
* udata
= NULL
;
1801 if (clientData
&& clientData
!= Py_None
)
1802 udata
= new wxPyUserData(clientData
);
1803 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
1804 shortHelp
, longHelp
, udata
);
1806 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
){
1807 wxPyUserData
* udata
= NULL
;
1808 if (clientData
&& clientData
!= Py_None
)
1809 udata
= new wxPyUserData(clientData
);
1810 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
1811 shortHelp
, longHelp
, udata
);
1813 static PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
1814 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
1816 Py_INCREF(udata
->m_obj
);
1817 return udata
->m_obj
;
1823 static void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
1824 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
1827 #include <wx/listctrl.h>
1829 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
1830 static void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
1831 // Python aware sorting function for wxPyListCtrl
1832 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
1834 PyObject
* func
= (PyObject
*)funcPtr
;
1835 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1837 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
1838 PyObject
* result
= PyEval_CallObject(func
, args
);
1841 retval
= PyInt_AsLong(result
);
1845 wxPyEndBlockThreads(blocked
);
1849 // C++ Version of a Python aware class
1850 class wxPyListCtrl
: public wxListCtrl
{
1851 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
1853 wxPyListCtrl() : wxListCtrl() {}
1854 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
1858 const wxValidator
& validator
,
1859 const wxString
& name
) :
1860 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
1862 bool Create(wxWindow
* parent
, wxWindowID id
,
1866 const wxValidator
& validator
,
1867 const wxString
& name
) {
1868 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
1871 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
1872 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
1874 // use the virtual version to avoid a confusing assert in the base class
1875 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
1880 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
1882 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
1883 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
1884 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
1887 static wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
1889 item
.SetMask( wxLIST_MASK_STATE
|
1897 if (self
->GetColumn(col
, item
))
1898 return new wxListItem(item
);
1902 static wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
1903 wxListItem
* info
= new wxListItem
;
1904 info
->m_itemId
= itemId
;
1906 info
->m_mask
= 0xFFFF;
1907 self
->GetItem(*info
);
1910 static wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
1912 self
->GetItemPosition(item
, pos
);
1915 static wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
1917 self
->GetItemRect(item
, rect
, code
);
1921 static bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
1922 if (!PyCallable_Check(func
))
1924 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
1926 static wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
1934 #include <wx/treectrl.h>
1935 #include "wx/wxPython/pytree.h"
1937 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
1938 static bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
1939 static bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
1940 static void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
1941 // C++ version of Python aware wxTreeCtrl
1942 class wxPyTreeCtrl
: public wxTreeCtrl
{
1943 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
1945 wxPyTreeCtrl() : wxTreeCtrl() {}
1946 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
1950 const wxValidator
& validator
,
1951 const wxString
& name
) :
1952 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
1954 bool Create(wxWindow
*parent
, wxWindowID id
,
1958 const wxValidator
& validator
,
1959 const wxString
& name
) {
1960 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
1964 int OnCompareItems(const wxTreeItemId
& item1
,
1965 const wxTreeItemId
& item2
) {
1968 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1969 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
1970 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
1971 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
1972 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
1976 wxPyEndBlockThreads(blocked
);
1978 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
1984 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
1988 #if UINT_MAX < LONG_MAX
1989 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1990 #define SWIG_From_unsigned_SS_int SWIG_From_long
1993 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1994 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2000 SWIG_CheckUnsignedLongInRange(unsigned long value
,
2001 unsigned long max_value
,
2004 if (value
> max_value
) {
2006 PyErr_Format(PyExc_OverflowError
,
2007 "value %lu is greater than '%s' minimum %lu",
2008 value
, errmsg
, max_value
);
2016 #if UINT_MAX != ULONG_MAX
2018 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2020 const char* errmsg
= val
? "unsigned int" : (char*)0;
2022 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2023 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
2024 if (val
) *val
= (unsigned int)(v
);
2031 SWIG_type_error(errmsg
, obj
);
2036 SWIGINTERNSHORT
unsigned int
2037 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2039 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
2044 SWIGINTERNSHORT
unsigned int
2045 SWIG_As_unsigned_SS_int(PyObject
* obj
)
2048 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
2050 this is needed to make valgrind/purify happier.
2052 memset((void*)&v
, 0, sizeof(unsigned int));
2059 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
2061 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
2064 static wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2065 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2067 data
= new wxPyTreeItemData();
2068 data
->SetId(item
); // set the id
2069 self
->SetItemData(item
, data
);
2073 static PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2074 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2076 data
= new wxPyTreeItemData();
2077 data
->SetId(item
); // set the id
2078 self
->SetItemData(item
, data
);
2080 return data
->GetData();
2082 static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
2083 data
->SetId(item
); // set the id
2084 self
->SetItemData(item
, data
);
2086 static void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
2087 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2089 data
= new wxPyTreeItemData(obj
);
2090 data
->SetId(item
); // set the id
2091 self
->SetItemData(item
, data
);
2095 static PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
2096 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2097 PyObject
* rval
= PyList_New(0);
2098 wxArrayTreeItemIds array
;
2100 num
= self
->GetSelections(array
);
2101 for (x
=0; x
< num
; x
++) {
2102 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
2103 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
2104 PyList_Append(rval
, item
);
2107 wxPyEndBlockThreads(blocked
);
2110 static PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2112 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
2113 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2114 PyObject
* tup
= PyTuple_New(2);
2115 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
2116 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
2117 wxPyEndBlockThreads(blocked
);
2120 static PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
2121 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
2122 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2123 PyObject
* tup
= PyTuple_New(2);
2124 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
2125 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
2126 wxPyEndBlockThreads(blocked
);
2129 static PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
2131 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
2132 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2133 wxRect
* r
= new wxRect(rect
);
2134 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
2135 wxPyEndBlockThreads(blocked
);
2141 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
2143 SWIGINTERNSHORT PyObject
*
2144 SWIG_From_bool(bool value
)
2146 PyObject
*obj
= value
? Py_True
: Py_False
;
2152 // C++ version of Python aware wxControl
2153 class wxPyControl
: public wxControl
2155 DECLARE_DYNAMIC_CLASS(wxPyControl
)
2157 wxPyControl() : wxControl() {}
2158 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
2159 const wxPoint
& pos
= wxDefaultPosition
,
2160 const wxSize
& size
= wxDefaultSize
,
2162 const wxValidator
& validator
=wxDefaultValidator
,
2163 const wxString
& name
= wxPyControlNameStr
)
2164 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
2166 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
2168 bool DoEraseBackground(wxDC
* dc
) {
2170 return wxWindow::DoEraseBackground(dc
->GetHDC());
2172 dc
->SetBackground(wxBrush(GetBackgroundColour()));
2178 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2179 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2180 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2181 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2183 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2184 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2185 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2187 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2188 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2190 DEC_PYCALLBACK__(InitDialog
);
2191 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2192 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2193 DEC_PYCALLBACK_BOOL_(Validate
);
2195 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2196 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2197 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2199 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2200 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2202 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2203 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2205 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2210 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
2212 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
2213 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
2214 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
2215 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
2217 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
2218 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
2219 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
2221 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
2222 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
2224 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
2225 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
2226 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
2227 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
2229 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
2230 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
2231 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
2233 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
2234 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
2236 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
2237 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
2239 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
2243 static void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
2245 #include <wx/generic/dragimgg.h>
2247 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
2248 static wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
2250 self
->GetRange(&rv
, NULL
);
2253 static wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
2255 self
->GetRange(NULL
, &rv
);
2261 static int _wrap_ButtonNameStr_set(PyObject
*) {
2262 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
2267 static PyObject
*_wrap_ButtonNameStr_get(void) {
2272 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
2274 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
2281 static PyObject
*_wrap_new_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2282 PyObject
*resultobj
;
2283 wxWindow
*arg1
= (wxWindow
*) 0 ;
2284 int arg2
= (int) -1 ;
2285 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2286 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2287 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2288 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2289 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2290 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2291 long arg6
= (long) 0 ;
2292 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2293 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2294 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
2295 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2297 bool temp3
= false ;
2300 bool temp8
= false ;
2301 PyObject
* obj0
= 0 ;
2302 PyObject
* obj1
= 0 ;
2303 PyObject
* obj2
= 0 ;
2304 PyObject
* obj3
= 0 ;
2305 PyObject
* obj4
= 0 ;
2306 PyObject
* obj5
= 0 ;
2307 PyObject
* obj6
= 0 ;
2308 PyObject
* obj7
= 0 ;
2310 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2315 if (SWIG_arg_fail(1)) SWIG_fail
;
2318 arg2
= (int)(SWIG_As_int(obj1
));
2319 if (SWIG_arg_fail(2)) SWIG_fail
;
2324 arg3
= wxString_in_helper(obj2
);
2325 if (arg3
== NULL
) SWIG_fail
;
2332 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2338 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2343 arg6
= (long)(SWIG_As_long(obj5
));
2344 if (SWIG_arg_fail(6)) SWIG_fail
;
2349 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2350 if (SWIG_arg_fail(7)) SWIG_fail
;
2352 SWIG_null_ref("wxValidator");
2354 if (SWIG_arg_fail(7)) SWIG_fail
;
2359 arg8
= wxString_in_helper(obj7
);
2360 if (arg8
== NULL
) SWIG_fail
;
2365 if (!wxPyCheckForApp()) SWIG_fail
;
2366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2367 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2369 wxPyEndAllowThreads(__tstate
);
2370 if (PyErr_Occurred()) SWIG_fail
;
2372 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
2395 static PyObject
*_wrap_new_PreButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2396 PyObject
*resultobj
;
2402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
2404 if (!wxPyCheckForApp()) SWIG_fail
;
2405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2406 result
= (wxButton
*)new wxButton();
2408 wxPyEndAllowThreads(__tstate
);
2409 if (PyErr_Occurred()) SWIG_fail
;
2411 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
2418 static PyObject
*_wrap_Button_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2419 PyObject
*resultobj
;
2420 wxButton
*arg1
= (wxButton
*) 0 ;
2421 wxWindow
*arg2
= (wxWindow
*) 0 ;
2422 int arg3
= (int) -1 ;
2423 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2424 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2425 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2426 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2427 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2428 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2429 long arg7
= (long) 0 ;
2430 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2431 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2432 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
2433 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2435 bool temp4
= false ;
2438 bool temp9
= false ;
2439 PyObject
* obj0
= 0 ;
2440 PyObject
* obj1
= 0 ;
2441 PyObject
* obj2
= 0 ;
2442 PyObject
* obj3
= 0 ;
2443 PyObject
* obj4
= 0 ;
2444 PyObject
* obj5
= 0 ;
2445 PyObject
* obj6
= 0 ;
2446 PyObject
* obj7
= 0 ;
2447 PyObject
* obj8
= 0 ;
2449 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
2454 if (SWIG_arg_fail(1)) SWIG_fail
;
2455 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2456 if (SWIG_arg_fail(2)) SWIG_fail
;
2459 arg3
= (int)(SWIG_As_int(obj2
));
2460 if (SWIG_arg_fail(3)) SWIG_fail
;
2465 arg4
= wxString_in_helper(obj3
);
2466 if (arg4
== NULL
) SWIG_fail
;
2473 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2479 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2484 arg7
= (long)(SWIG_As_long(obj6
));
2485 if (SWIG_arg_fail(7)) SWIG_fail
;
2490 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2491 if (SWIG_arg_fail(8)) SWIG_fail
;
2493 SWIG_null_ref("wxValidator");
2495 if (SWIG_arg_fail(8)) SWIG_fail
;
2500 arg9
= wxString_in_helper(obj8
);
2501 if (arg9
== NULL
) SWIG_fail
;
2506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2507 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2509 wxPyEndAllowThreads(__tstate
);
2510 if (PyErr_Occurred()) SWIG_fail
;
2513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2537 static PyObject
*_wrap_Button_SetDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2538 PyObject
*resultobj
;
2539 wxButton
*arg1
= (wxButton
*) 0 ;
2540 PyObject
* obj0
= 0 ;
2542 (char *) "self", NULL
2545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
2546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
2547 if (SWIG_arg_fail(1)) SWIG_fail
;
2549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2550 (arg1
)->SetDefault();
2552 wxPyEndAllowThreads(__tstate
);
2553 if (PyErr_Occurred()) SWIG_fail
;
2555 Py_INCREF(Py_None
); resultobj
= Py_None
;
2562 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2563 PyObject
*resultobj
;
2569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
2571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2572 result
= wxButton::GetDefaultSize();
2574 wxPyEndAllowThreads(__tstate
);
2575 if (PyErr_Occurred()) SWIG_fail
;
2579 resultptr
= new wxSize((wxSize
&)(result
));
2580 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2588 static PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2589 PyObject
*resultobj
;
2590 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
2591 wxVisualAttributes result
;
2592 PyObject
* obj0
= 0 ;
2594 (char *) "variant", NULL
2597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2600 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
2601 if (SWIG_arg_fail(1)) SWIG_fail
;
2605 if (!wxPyCheckForApp()) SWIG_fail
;
2606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2607 result
= wxButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2609 wxPyEndAllowThreads(__tstate
);
2610 if (PyErr_Occurred()) SWIG_fail
;
2613 wxVisualAttributes
* resultptr
;
2614 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
2615 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2623 static PyObject
* Button_swigregister(PyObject
*, PyObject
*args
) {
2625 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2626 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
2628 return Py_BuildValue((char *)"");
2630 static PyObject
*_wrap_new_BitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2631 PyObject
*resultobj
;
2632 wxWindow
*arg1
= (wxWindow
*) 0 ;
2633 int arg2
= (int) -1 ;
2634 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
2635 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
2636 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2637 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2638 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2639 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2640 long arg6
= (long) wxBU_AUTODRAW
;
2641 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2642 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2643 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
2644 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2645 wxBitmapButton
*result
;
2648 bool temp8
= false ;
2649 PyObject
* obj0
= 0 ;
2650 PyObject
* obj1
= 0 ;
2651 PyObject
* obj2
= 0 ;
2652 PyObject
* obj3
= 0 ;
2653 PyObject
* obj4
= 0 ;
2654 PyObject
* obj5
= 0 ;
2655 PyObject
* obj6
= 0 ;
2656 PyObject
* obj7
= 0 ;
2658 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2663 if (SWIG_arg_fail(1)) SWIG_fail
;
2666 arg2
= (int)(SWIG_As_int(obj1
));
2667 if (SWIG_arg_fail(2)) SWIG_fail
;
2672 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
2673 if (SWIG_arg_fail(3)) SWIG_fail
;
2675 SWIG_null_ref("wxBitmap");
2677 if (SWIG_arg_fail(3)) SWIG_fail
;
2683 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2689 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2694 arg6
= (long)(SWIG_As_long(obj5
));
2695 if (SWIG_arg_fail(6)) SWIG_fail
;
2700 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2701 if (SWIG_arg_fail(7)) SWIG_fail
;
2703 SWIG_null_ref("wxValidator");
2705 if (SWIG_arg_fail(7)) SWIG_fail
;
2710 arg8
= wxString_in_helper(obj7
);
2711 if (arg8
== NULL
) SWIG_fail
;
2716 if (!wxPyCheckForApp()) SWIG_fail
;
2717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2718 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2720 wxPyEndAllowThreads(__tstate
);
2721 if (PyErr_Occurred()) SWIG_fail
;
2723 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
2738 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2739 PyObject
*resultobj
;
2740 wxBitmapButton
*result
;
2745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
2747 if (!wxPyCheckForApp()) SWIG_fail
;
2748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2749 result
= (wxBitmapButton
*)new wxBitmapButton();
2751 wxPyEndAllowThreads(__tstate
);
2752 if (PyErr_Occurred()) SWIG_fail
;
2754 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
2761 static PyObject
*_wrap_BitmapButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2762 PyObject
*resultobj
;
2763 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2764 wxWindow
*arg2
= (wxWindow
*) 0 ;
2765 int arg3
= (int) -1 ;
2766 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
2767 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
2768 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2769 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2770 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2771 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2772 long arg7
= (long) wxBU_AUTODRAW
;
2773 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2774 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2775 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
2776 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2780 bool temp9
= false ;
2781 PyObject
* obj0
= 0 ;
2782 PyObject
* obj1
= 0 ;
2783 PyObject
* obj2
= 0 ;
2784 PyObject
* obj3
= 0 ;
2785 PyObject
* obj4
= 0 ;
2786 PyObject
* obj5
= 0 ;
2787 PyObject
* obj6
= 0 ;
2788 PyObject
* obj7
= 0 ;
2789 PyObject
* obj8
= 0 ;
2791 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2796 if (SWIG_arg_fail(1)) SWIG_fail
;
2797 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2798 if (SWIG_arg_fail(2)) SWIG_fail
;
2801 arg3
= (int)(SWIG_As_int(obj2
));
2802 if (SWIG_arg_fail(3)) SWIG_fail
;
2807 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
2808 if (SWIG_arg_fail(4)) SWIG_fail
;
2810 SWIG_null_ref("wxBitmap");
2812 if (SWIG_arg_fail(4)) SWIG_fail
;
2818 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2824 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2829 arg7
= (long)(SWIG_As_long(obj6
));
2830 if (SWIG_arg_fail(7)) SWIG_fail
;
2835 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2836 if (SWIG_arg_fail(8)) SWIG_fail
;
2838 SWIG_null_ref("wxValidator");
2840 if (SWIG_arg_fail(8)) SWIG_fail
;
2845 arg9
= wxString_in_helper(obj8
);
2846 if (arg9
== NULL
) SWIG_fail
;
2851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2852 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2854 wxPyEndAllowThreads(__tstate
);
2855 if (PyErr_Occurred()) SWIG_fail
;
2858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2874 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2875 PyObject
*resultobj
;
2876 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2878 PyObject
* obj0
= 0 ;
2880 (char *) "self", NULL
2883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
2884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2885 if (SWIG_arg_fail(1)) SWIG_fail
;
2887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2888 result
= (arg1
)->GetBitmapLabel();
2890 wxPyEndAllowThreads(__tstate
);
2891 if (PyErr_Occurred()) SWIG_fail
;
2894 wxBitmap
* resultptr
;
2895 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2896 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2904 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2905 PyObject
*resultobj
;
2906 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2908 PyObject
* obj0
= 0 ;
2910 (char *) "self", NULL
2913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
2914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2915 if (SWIG_arg_fail(1)) SWIG_fail
;
2917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2918 result
= (arg1
)->GetBitmapDisabled();
2920 wxPyEndAllowThreads(__tstate
);
2921 if (PyErr_Occurred()) SWIG_fail
;
2924 wxBitmap
* resultptr
;
2925 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2926 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2934 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2935 PyObject
*resultobj
;
2936 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2938 PyObject
* obj0
= 0 ;
2940 (char *) "self", NULL
2943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
2944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2945 if (SWIG_arg_fail(1)) SWIG_fail
;
2947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2948 result
= (arg1
)->GetBitmapFocus();
2950 wxPyEndAllowThreads(__tstate
);
2951 if (PyErr_Occurred()) SWIG_fail
;
2954 wxBitmap
* resultptr
;
2955 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2956 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2964 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2965 PyObject
*resultobj
;
2966 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2968 PyObject
* obj0
= 0 ;
2970 (char *) "self", NULL
2973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
2974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2975 if (SWIG_arg_fail(1)) SWIG_fail
;
2977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2978 result
= (arg1
)->GetBitmapSelected();
2980 wxPyEndAllowThreads(__tstate
);
2981 if (PyErr_Occurred()) SWIG_fail
;
2984 wxBitmap
* resultptr
;
2985 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2986 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2994 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2995 PyObject
*resultobj
;
2996 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2997 wxBitmap
*arg2
= 0 ;
2998 PyObject
* obj0
= 0 ;
2999 PyObject
* obj1
= 0 ;
3001 (char *) "self",(char *) "bitmap", NULL
3004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
3005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3006 if (SWIG_arg_fail(1)) SWIG_fail
;
3008 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3009 if (SWIG_arg_fail(2)) SWIG_fail
;
3011 SWIG_null_ref("wxBitmap");
3013 if (SWIG_arg_fail(2)) SWIG_fail
;
3016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3017 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
3019 wxPyEndAllowThreads(__tstate
);
3020 if (PyErr_Occurred()) SWIG_fail
;
3022 Py_INCREF(Py_None
); resultobj
= Py_None
;
3029 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3030 PyObject
*resultobj
;
3031 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3032 wxBitmap
*arg2
= 0 ;
3033 PyObject
* obj0
= 0 ;
3034 PyObject
* obj1
= 0 ;
3036 (char *) "self",(char *) "bitmap", NULL
3039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
3040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3041 if (SWIG_arg_fail(1)) SWIG_fail
;
3043 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3044 if (SWIG_arg_fail(2)) SWIG_fail
;
3046 SWIG_null_ref("wxBitmap");
3048 if (SWIG_arg_fail(2)) SWIG_fail
;
3051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3052 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
3054 wxPyEndAllowThreads(__tstate
);
3055 if (PyErr_Occurred()) SWIG_fail
;
3057 Py_INCREF(Py_None
); resultobj
= Py_None
;
3064 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3065 PyObject
*resultobj
;
3066 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3067 wxBitmap
*arg2
= 0 ;
3068 PyObject
* obj0
= 0 ;
3069 PyObject
* obj1
= 0 ;
3071 (char *) "self",(char *) "bitmap", NULL
3074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
3075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3076 if (SWIG_arg_fail(1)) SWIG_fail
;
3078 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3079 if (SWIG_arg_fail(2)) SWIG_fail
;
3081 SWIG_null_ref("wxBitmap");
3083 if (SWIG_arg_fail(2)) SWIG_fail
;
3086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3087 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
3089 wxPyEndAllowThreads(__tstate
);
3090 if (PyErr_Occurred()) SWIG_fail
;
3092 Py_INCREF(Py_None
); resultobj
= Py_None
;
3099 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3100 PyObject
*resultobj
;
3101 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3102 wxBitmap
*arg2
= 0 ;
3103 PyObject
* obj0
= 0 ;
3104 PyObject
* obj1
= 0 ;
3106 (char *) "self",(char *) "bitmap", NULL
3109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
3110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3111 if (SWIG_arg_fail(1)) SWIG_fail
;
3113 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3114 if (SWIG_arg_fail(2)) SWIG_fail
;
3116 SWIG_null_ref("wxBitmap");
3118 if (SWIG_arg_fail(2)) SWIG_fail
;
3121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3122 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
3124 wxPyEndAllowThreads(__tstate
);
3125 if (PyErr_Occurred()) SWIG_fail
;
3127 Py_INCREF(Py_None
); resultobj
= Py_None
;
3134 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3135 PyObject
*resultobj
;
3136 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3139 PyObject
* obj0
= 0 ;
3140 PyObject
* obj1
= 0 ;
3141 PyObject
* obj2
= 0 ;
3143 (char *) "self",(char *) "x",(char *) "y", NULL
3146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3148 if (SWIG_arg_fail(1)) SWIG_fail
;
3150 arg2
= (int)(SWIG_As_int(obj1
));
3151 if (SWIG_arg_fail(2)) SWIG_fail
;
3154 arg3
= (int)(SWIG_As_int(obj2
));
3155 if (SWIG_arg_fail(3)) SWIG_fail
;
3158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3159 (arg1
)->SetMargins(arg2
,arg3
);
3161 wxPyEndAllowThreads(__tstate
);
3162 if (PyErr_Occurred()) SWIG_fail
;
3164 Py_INCREF(Py_None
); resultobj
= Py_None
;
3171 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3172 PyObject
*resultobj
;
3173 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3175 PyObject
* obj0
= 0 ;
3177 (char *) "self", NULL
3180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
3181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3182 if (SWIG_arg_fail(1)) SWIG_fail
;
3184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3185 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
3187 wxPyEndAllowThreads(__tstate
);
3188 if (PyErr_Occurred()) SWIG_fail
;
3191 resultobj
= SWIG_From_int((int)(result
));
3199 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3200 PyObject
*resultobj
;
3201 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3203 PyObject
* obj0
= 0 ;
3205 (char *) "self", NULL
3208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
3209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3210 if (SWIG_arg_fail(1)) SWIG_fail
;
3212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3213 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
3215 wxPyEndAllowThreads(__tstate
);
3216 if (PyErr_Occurred()) SWIG_fail
;
3219 resultobj
= SWIG_From_int((int)(result
));
3227 static PyObject
* BitmapButton_swigregister(PyObject
*, PyObject
*args
) {
3229 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3230 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
3232 return Py_BuildValue((char *)"");
3234 static int _wrap_CheckBoxNameStr_set(PyObject
*) {
3235 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
3240 static PyObject
*_wrap_CheckBoxNameStr_get(void) {
3245 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
3247 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
3254 static PyObject
*_wrap_new_CheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3255 PyObject
*resultobj
;
3256 wxWindow
*arg1
= (wxWindow
*) 0 ;
3257 int arg2
= (int) -1 ;
3258 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3259 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3260 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3261 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3262 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3263 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3264 long arg6
= (long) 0 ;
3265 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3266 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3267 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
3268 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3270 bool temp3
= false ;
3273 bool temp8
= false ;
3274 PyObject
* obj0
= 0 ;
3275 PyObject
* obj1
= 0 ;
3276 PyObject
* obj2
= 0 ;
3277 PyObject
* obj3
= 0 ;
3278 PyObject
* obj4
= 0 ;
3279 PyObject
* obj5
= 0 ;
3280 PyObject
* obj6
= 0 ;
3281 PyObject
* obj7
= 0 ;
3283 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3288 if (SWIG_arg_fail(1)) SWIG_fail
;
3291 arg2
= (int)(SWIG_As_int(obj1
));
3292 if (SWIG_arg_fail(2)) SWIG_fail
;
3297 arg3
= wxString_in_helper(obj2
);
3298 if (arg3
== NULL
) SWIG_fail
;
3305 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3311 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3316 arg6
= (long)(SWIG_As_long(obj5
));
3317 if (SWIG_arg_fail(6)) SWIG_fail
;
3322 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3323 if (SWIG_arg_fail(7)) SWIG_fail
;
3325 SWIG_null_ref("wxValidator");
3327 if (SWIG_arg_fail(7)) SWIG_fail
;
3332 arg8
= wxString_in_helper(obj7
);
3333 if (arg8
== NULL
) SWIG_fail
;
3338 if (!wxPyCheckForApp()) SWIG_fail
;
3339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3340 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3342 wxPyEndAllowThreads(__tstate
);
3343 if (PyErr_Occurred()) SWIG_fail
;
3345 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
3368 static PyObject
*_wrap_new_PreCheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3369 PyObject
*resultobj
;
3375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
3377 if (!wxPyCheckForApp()) SWIG_fail
;
3378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3379 result
= (wxCheckBox
*)new wxCheckBox();
3381 wxPyEndAllowThreads(__tstate
);
3382 if (PyErr_Occurred()) SWIG_fail
;
3384 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
3391 static PyObject
*_wrap_CheckBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3392 PyObject
*resultobj
;
3393 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3394 wxWindow
*arg2
= (wxWindow
*) 0 ;
3395 int arg3
= (int) -1 ;
3396 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3397 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3398 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3399 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3400 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3401 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3402 long arg7
= (long) 0 ;
3403 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3404 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3405 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
3406 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3408 bool temp4
= false ;
3411 bool temp9
= false ;
3412 PyObject
* obj0
= 0 ;
3413 PyObject
* obj1
= 0 ;
3414 PyObject
* obj2
= 0 ;
3415 PyObject
* obj3
= 0 ;
3416 PyObject
* obj4
= 0 ;
3417 PyObject
* obj5
= 0 ;
3418 PyObject
* obj6
= 0 ;
3419 PyObject
* obj7
= 0 ;
3420 PyObject
* obj8
= 0 ;
3422 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3427 if (SWIG_arg_fail(1)) SWIG_fail
;
3428 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3429 if (SWIG_arg_fail(2)) SWIG_fail
;
3432 arg3
= (int)(SWIG_As_int(obj2
));
3433 if (SWIG_arg_fail(3)) SWIG_fail
;
3438 arg4
= wxString_in_helper(obj3
);
3439 if (arg4
== NULL
) SWIG_fail
;
3446 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3452 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3457 arg7
= (long)(SWIG_As_long(obj6
));
3458 if (SWIG_arg_fail(7)) SWIG_fail
;
3463 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3464 if (SWIG_arg_fail(8)) SWIG_fail
;
3466 SWIG_null_ref("wxValidator");
3468 if (SWIG_arg_fail(8)) SWIG_fail
;
3473 arg9
= wxString_in_helper(obj8
);
3474 if (arg9
== NULL
) SWIG_fail
;
3479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3480 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3482 wxPyEndAllowThreads(__tstate
);
3483 if (PyErr_Occurred()) SWIG_fail
;
3486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3510 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3511 PyObject
*resultobj
;
3512 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3514 PyObject
* obj0
= 0 ;
3516 (char *) "self", NULL
3519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
3520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3521 if (SWIG_arg_fail(1)) SWIG_fail
;
3523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3524 result
= (bool)(arg1
)->GetValue();
3526 wxPyEndAllowThreads(__tstate
);
3527 if (PyErr_Occurred()) SWIG_fail
;
3530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3538 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3539 PyObject
*resultobj
;
3540 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3542 PyObject
* obj0
= 0 ;
3544 (char *) "self", NULL
3547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
3548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3549 if (SWIG_arg_fail(1)) SWIG_fail
;
3551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3552 result
= (bool)(arg1
)->IsChecked();
3554 wxPyEndAllowThreads(__tstate
);
3555 if (PyErr_Occurred()) SWIG_fail
;
3558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3566 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3567 PyObject
*resultobj
;
3568 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3570 PyObject
* obj0
= 0 ;
3571 PyObject
* obj1
= 0 ;
3573 (char *) "self",(char *) "state", NULL
3576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3578 if (SWIG_arg_fail(1)) SWIG_fail
;
3580 arg2
= (bool const)(SWIG_As_bool(obj1
));
3581 if (SWIG_arg_fail(2)) SWIG_fail
;
3584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3585 (arg1
)->SetValue(arg2
);
3587 wxPyEndAllowThreads(__tstate
);
3588 if (PyErr_Occurred()) SWIG_fail
;
3590 Py_INCREF(Py_None
); resultobj
= Py_None
;
3597 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3598 PyObject
*resultobj
;
3599 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3600 wxCheckBoxState result
;
3601 PyObject
* obj0
= 0 ;
3603 (char *) "self", NULL
3606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
3607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3608 if (SWIG_arg_fail(1)) SWIG_fail
;
3610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3611 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
3613 wxPyEndAllowThreads(__tstate
);
3614 if (PyErr_Occurred()) SWIG_fail
;
3616 resultobj
= SWIG_From_int((result
));
3623 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3624 PyObject
*resultobj
;
3625 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3626 wxCheckBoxState arg2
;
3627 PyObject
* obj0
= 0 ;
3628 PyObject
* obj1
= 0 ;
3630 (char *) "self",(char *) "state", NULL
3633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3635 if (SWIG_arg_fail(1)) SWIG_fail
;
3637 arg2
= (wxCheckBoxState
)(SWIG_As_int(obj1
));
3638 if (SWIG_arg_fail(2)) SWIG_fail
;
3641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3642 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
3644 wxPyEndAllowThreads(__tstate
);
3645 if (PyErr_Occurred()) SWIG_fail
;
3647 Py_INCREF(Py_None
); resultobj
= Py_None
;
3654 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3655 PyObject
*resultobj
;
3656 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3658 PyObject
* obj0
= 0 ;
3660 (char *) "self", NULL
3663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
3664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3665 if (SWIG_arg_fail(1)) SWIG_fail
;
3667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3668 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
3670 wxPyEndAllowThreads(__tstate
);
3671 if (PyErr_Occurred()) SWIG_fail
;
3674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3682 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3683 PyObject
*resultobj
;
3684 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3686 PyObject
* obj0
= 0 ;
3688 (char *) "self", NULL
3691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
3692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3693 if (SWIG_arg_fail(1)) SWIG_fail
;
3695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3696 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
3698 wxPyEndAllowThreads(__tstate
);
3699 if (PyErr_Occurred()) SWIG_fail
;
3702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3710 static PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3711 PyObject
*resultobj
;
3712 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3713 wxVisualAttributes result
;
3714 PyObject
* obj0
= 0 ;
3716 (char *) "variant", NULL
3719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3722 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
3723 if (SWIG_arg_fail(1)) SWIG_fail
;
3727 if (!wxPyCheckForApp()) SWIG_fail
;
3728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3729 result
= wxCheckBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3731 wxPyEndAllowThreads(__tstate
);
3732 if (PyErr_Occurred()) SWIG_fail
;
3735 wxVisualAttributes
* resultptr
;
3736 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
3737 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3745 static PyObject
* CheckBox_swigregister(PyObject
*, PyObject
*args
) {
3747 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3748 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
3750 return Py_BuildValue((char *)"");
3752 static int _wrap_ChoiceNameStr_set(PyObject
*) {
3753 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
3758 static PyObject
*_wrap_ChoiceNameStr_get(void) {
3763 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
3765 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
3772 static PyObject
*_wrap_new_Choice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3773 PyObject
*resultobj
;
3774 wxWindow
*arg1
= (wxWindow
*) 0 ;
3775 int arg2
= (int) -1 ;
3776 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3777 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3778 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3779 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3780 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
3781 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
3782 long arg6
= (long) 0 ;
3783 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3784 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3785 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
3786 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3790 bool temp5
= false ;
3791 bool temp8
= false ;
3792 PyObject
* obj0
= 0 ;
3793 PyObject
* obj1
= 0 ;
3794 PyObject
* obj2
= 0 ;
3795 PyObject
* obj3
= 0 ;
3796 PyObject
* obj4
= 0 ;
3797 PyObject
* obj5
= 0 ;
3798 PyObject
* obj6
= 0 ;
3799 PyObject
* obj7
= 0 ;
3801 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3806 if (SWIG_arg_fail(1)) SWIG_fail
;
3809 arg2
= (int)(SWIG_As_int(obj1
));
3810 if (SWIG_arg_fail(2)) SWIG_fail
;
3816 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3822 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3827 if (! PySequence_Check(obj4
)) {
3828 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3831 arg5
= new wxArrayString
;
3833 int i
, len
=PySequence_Length(obj4
);
3834 for (i
=0; i
<len
; i
++) {
3835 PyObject
* item
= PySequence_GetItem(obj4
, i
);
3836 wxString
* s
= wxString_in_helper(item
);
3837 if (PyErr_Occurred()) SWIG_fail
;
3846 arg6
= (long)(SWIG_As_long(obj5
));
3847 if (SWIG_arg_fail(6)) SWIG_fail
;
3852 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3853 if (SWIG_arg_fail(7)) SWIG_fail
;
3855 SWIG_null_ref("wxValidator");
3857 if (SWIG_arg_fail(7)) SWIG_fail
;
3862 arg8
= wxString_in_helper(obj7
);
3863 if (arg8
== NULL
) SWIG_fail
;
3868 if (!wxPyCheckForApp()) SWIG_fail
;
3869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3870 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3872 wxPyEndAllowThreads(__tstate
);
3873 if (PyErr_Occurred()) SWIG_fail
;
3875 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
3877 if (temp5
) delete arg5
;
3886 if (temp5
) delete arg5
;
3896 static PyObject
*_wrap_new_PreChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3897 PyObject
*resultobj
;
3903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
3905 if (!wxPyCheckForApp()) SWIG_fail
;
3906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3907 result
= (wxChoice
*)new wxChoice();
3909 wxPyEndAllowThreads(__tstate
);
3910 if (PyErr_Occurred()) SWIG_fail
;
3912 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
3919 static PyObject
*_wrap_Choice_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3920 PyObject
*resultobj
;
3921 wxChoice
*arg1
= (wxChoice
*) 0 ;
3922 wxWindow
*arg2
= (wxWindow
*) 0 ;
3923 int arg3
= (int) -1 ;
3924 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3925 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3926 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3927 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3928 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
3929 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
3930 long arg7
= (long) 0 ;
3931 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3932 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3933 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
3934 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3938 bool temp6
= false ;
3939 bool temp9
= false ;
3940 PyObject
* obj0
= 0 ;
3941 PyObject
* obj1
= 0 ;
3942 PyObject
* obj2
= 0 ;
3943 PyObject
* obj3
= 0 ;
3944 PyObject
* obj4
= 0 ;
3945 PyObject
* obj5
= 0 ;
3946 PyObject
* obj6
= 0 ;
3947 PyObject
* obj7
= 0 ;
3948 PyObject
* obj8
= 0 ;
3950 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoice
, SWIG_POINTER_EXCEPTION
| 0);
3955 if (SWIG_arg_fail(1)) SWIG_fail
;
3956 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3957 if (SWIG_arg_fail(2)) SWIG_fail
;
3960 arg3
= (int)(SWIG_As_int(obj2
));
3961 if (SWIG_arg_fail(3)) SWIG_fail
;
3967 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3973 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3978 if (! PySequence_Check(obj5
)) {
3979 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3982 arg6
= new wxArrayString
;
3984 int i
, len
=PySequence_Length(obj5
);
3985 for (i
=0; i
<len
; i
++) {
3986 PyObject
* item
= PySequence_GetItem(obj5
, i
);
3987 wxString
* s
= wxString_in_helper(item
);
3988 if (PyErr_Occurred()) SWIG_fail
;
3997 arg7
= (long)(SWIG_As_long(obj6
));
3998 if (SWIG_arg_fail(7)) SWIG_fail
;
4003 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4004 if (SWIG_arg_fail(8)) SWIG_fail
;
4006 SWIG_null_ref("wxValidator");
4008 if (SWIG_arg_fail(8)) SWIG_fail
;
4013 arg9
= wxString_in_helper(obj8
);
4014 if (arg9
== NULL
) SWIG_fail
;
4019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4020 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4022 wxPyEndAllowThreads(__tstate
);
4023 if (PyErr_Occurred()) SWIG_fail
;
4026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4029 if (temp6
) delete arg6
;
4038 if (temp6
) delete arg6
;
4048 static PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4049 PyObject
*resultobj
;
4050 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
4051 wxVisualAttributes result
;
4052 PyObject
* obj0
= 0 ;
4054 (char *) "variant", NULL
4057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4060 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
4061 if (SWIG_arg_fail(1)) SWIG_fail
;
4065 if (!wxPyCheckForApp()) SWIG_fail
;
4066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4067 result
= wxChoice::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4069 wxPyEndAllowThreads(__tstate
);
4070 if (PyErr_Occurred()) SWIG_fail
;
4073 wxVisualAttributes
* resultptr
;
4074 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
4075 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4083 static PyObject
* Choice_swigregister(PyObject
*, PyObject
*args
) {
4085 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4086 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
4088 return Py_BuildValue((char *)"");
4090 static int _wrap_ComboBoxNameStr_set(PyObject
*) {
4091 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
4096 static PyObject
*_wrap_ComboBoxNameStr_get(void) {
4101 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
4103 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
4110 static PyObject
*_wrap_new_ComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4111 PyObject
*resultobj
;
4112 wxWindow
*arg1
= (wxWindow
*) 0 ;
4113 int arg2
= (int) -1 ;
4114 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4115 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4116 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4117 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4118 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4119 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4120 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
4121 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
4122 long arg7
= (long) 0 ;
4123 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4124 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4125 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
4126 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4128 bool temp3
= false ;
4131 bool temp6
= false ;
4132 bool temp9
= false ;
4133 PyObject
* obj0
= 0 ;
4134 PyObject
* obj1
= 0 ;
4135 PyObject
* obj2
= 0 ;
4136 PyObject
* obj3
= 0 ;
4137 PyObject
* obj4
= 0 ;
4138 PyObject
* obj5
= 0 ;
4139 PyObject
* obj6
= 0 ;
4140 PyObject
* obj7
= 0 ;
4141 PyObject
* obj8
= 0 ;
4143 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4148 if (SWIG_arg_fail(1)) SWIG_fail
;
4151 arg2
= (int)(SWIG_As_int(obj1
));
4152 if (SWIG_arg_fail(2)) SWIG_fail
;
4157 arg3
= wxString_in_helper(obj2
);
4158 if (arg3
== NULL
) SWIG_fail
;
4165 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4171 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4176 if (! PySequence_Check(obj5
)) {
4177 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4180 arg6
= new wxArrayString
;
4182 int i
, len
=PySequence_Length(obj5
);
4183 for (i
=0; i
<len
; i
++) {
4184 PyObject
* item
= PySequence_GetItem(obj5
, i
);
4185 wxString
* s
= wxString_in_helper(item
);
4186 if (PyErr_Occurred()) SWIG_fail
;
4195 arg7
= (long)(SWIG_As_long(obj6
));
4196 if (SWIG_arg_fail(7)) SWIG_fail
;
4201 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4202 if (SWIG_arg_fail(8)) SWIG_fail
;
4204 SWIG_null_ref("wxValidator");
4206 if (SWIG_arg_fail(8)) SWIG_fail
;
4211 arg9
= wxString_in_helper(obj8
);
4212 if (arg9
== NULL
) SWIG_fail
;
4217 if (!wxPyCheckForApp()) SWIG_fail
;
4218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4219 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
);
4221 wxPyEndAllowThreads(__tstate
);
4222 if (PyErr_Occurred()) SWIG_fail
;
4224 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
4230 if (temp6
) delete arg6
;
4243 if (temp6
) delete arg6
;
4253 static PyObject
*_wrap_new_PreComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4254 PyObject
*resultobj
;
4260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
4262 if (!wxPyCheckForApp()) SWIG_fail
;
4263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4264 result
= (wxComboBox
*)new wxComboBox();
4266 wxPyEndAllowThreads(__tstate
);
4267 if (PyErr_Occurred()) SWIG_fail
;
4269 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
4276 static PyObject
*_wrap_ComboBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4277 PyObject
*resultobj
;
4278 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4279 wxWindow
*arg2
= (wxWindow
*) 0 ;
4280 int arg3
= (int) -1 ;
4281 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4282 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4283 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4284 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4285 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4286 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4287 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
4288 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
4289 long arg8
= (long) 0 ;
4290 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
4291 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
4292 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
4293 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
4295 bool temp4
= false ;
4298 bool temp7
= false ;
4299 bool temp10
= false ;
4300 PyObject
* obj0
= 0 ;
4301 PyObject
* obj1
= 0 ;
4302 PyObject
* obj2
= 0 ;
4303 PyObject
* obj3
= 0 ;
4304 PyObject
* obj4
= 0 ;
4305 PyObject
* obj5
= 0 ;
4306 PyObject
* obj6
= 0 ;
4307 PyObject
* obj7
= 0 ;
4308 PyObject
* obj8
= 0 ;
4309 PyObject
* obj9
= 0 ;
4311 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
4315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4316 if (SWIG_arg_fail(1)) SWIG_fail
;
4317 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4318 if (SWIG_arg_fail(2)) SWIG_fail
;
4321 arg3
= (int)(SWIG_As_int(obj2
));
4322 if (SWIG_arg_fail(3)) SWIG_fail
;
4327 arg4
= wxString_in_helper(obj3
);
4328 if (arg4
== NULL
) SWIG_fail
;
4335 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4341 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4346 if (! PySequence_Check(obj6
)) {
4347 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4350 arg7
= new wxArrayString
;
4352 int i
, len
=PySequence_Length(obj6
);
4353 for (i
=0; i
<len
; i
++) {
4354 PyObject
* item
= PySequence_GetItem(obj6
, i
);
4355 wxString
* s
= wxString_in_helper(item
);
4356 if (PyErr_Occurred()) SWIG_fail
;
4365 arg8
= (long)(SWIG_As_long(obj7
));
4366 if (SWIG_arg_fail(8)) SWIG_fail
;
4371 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4372 if (SWIG_arg_fail(9)) SWIG_fail
;
4374 SWIG_null_ref("wxValidator");
4376 if (SWIG_arg_fail(9)) SWIG_fail
;
4381 arg10
= wxString_in_helper(obj9
);
4382 if (arg10
== NULL
) SWIG_fail
;
4387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4388 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
);
4390 wxPyEndAllowThreads(__tstate
);
4391 if (PyErr_Occurred()) SWIG_fail
;
4394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4401 if (temp7
) delete arg7
;
4414 if (temp7
) delete arg7
;
4424 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4425 PyObject
*resultobj
;
4426 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4428 PyObject
* obj0
= 0 ;
4430 (char *) "self", NULL
4433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
4434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4435 if (SWIG_arg_fail(1)) SWIG_fail
;
4437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4438 result
= ((wxComboBox
const *)arg1
)->GetValue();
4440 wxPyEndAllowThreads(__tstate
);
4441 if (PyErr_Occurred()) SWIG_fail
;
4445 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4447 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4456 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4457 PyObject
*resultobj
;
4458 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4459 wxString
*arg2
= 0 ;
4460 bool temp2
= false ;
4461 PyObject
* obj0
= 0 ;
4462 PyObject
* obj1
= 0 ;
4464 (char *) "self",(char *) "value", NULL
4467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
4468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4469 if (SWIG_arg_fail(1)) SWIG_fail
;
4471 arg2
= wxString_in_helper(obj1
);
4472 if (arg2
== NULL
) SWIG_fail
;
4476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4477 (arg1
)->SetValue((wxString
const &)*arg2
);
4479 wxPyEndAllowThreads(__tstate
);
4480 if (PyErr_Occurred()) SWIG_fail
;
4482 Py_INCREF(Py_None
); resultobj
= Py_None
;
4497 static PyObject
*_wrap_ComboBox_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4498 PyObject
*resultobj
;
4499 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4500 PyObject
* obj0
= 0 ;
4502 (char *) "self", NULL
4505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
4506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4507 if (SWIG_arg_fail(1)) SWIG_fail
;
4509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4512 wxPyEndAllowThreads(__tstate
);
4513 if (PyErr_Occurred()) SWIG_fail
;
4515 Py_INCREF(Py_None
); resultobj
= Py_None
;
4522 static PyObject
*_wrap_ComboBox_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4523 PyObject
*resultobj
;
4524 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4525 PyObject
* obj0
= 0 ;
4527 (char *) "self", NULL
4530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
4531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4532 if (SWIG_arg_fail(1)) SWIG_fail
;
4534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4537 wxPyEndAllowThreads(__tstate
);
4538 if (PyErr_Occurred()) SWIG_fail
;
4540 Py_INCREF(Py_None
); resultobj
= Py_None
;
4547 static PyObject
*_wrap_ComboBox_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4548 PyObject
*resultobj
;
4549 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4550 PyObject
* obj0
= 0 ;
4552 (char *) "self", NULL
4555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
4556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4557 if (SWIG_arg_fail(1)) SWIG_fail
;
4559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4562 wxPyEndAllowThreads(__tstate
);
4563 if (PyErr_Occurred()) SWIG_fail
;
4565 Py_INCREF(Py_None
); resultobj
= Py_None
;
4572 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4573 PyObject
*resultobj
;
4574 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4576 PyObject
* obj0
= 0 ;
4577 PyObject
* obj1
= 0 ;
4579 (char *) "self",(char *) "pos", NULL
4582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4584 if (SWIG_arg_fail(1)) SWIG_fail
;
4586 arg2
= (long)(SWIG_As_long(obj1
));
4587 if (SWIG_arg_fail(2)) SWIG_fail
;
4590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4591 (arg1
)->SetInsertionPoint(arg2
);
4593 wxPyEndAllowThreads(__tstate
);
4594 if (PyErr_Occurred()) SWIG_fail
;
4596 Py_INCREF(Py_None
); resultobj
= Py_None
;
4603 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4604 PyObject
*resultobj
;
4605 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4607 PyObject
* obj0
= 0 ;
4609 (char *) "self", NULL
4612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
4613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4614 if (SWIG_arg_fail(1)) SWIG_fail
;
4616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4617 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
4619 wxPyEndAllowThreads(__tstate
);
4620 if (PyErr_Occurred()) SWIG_fail
;
4623 resultobj
= SWIG_From_long((long)(result
));
4631 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4632 PyObject
*resultobj
;
4633 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4635 PyObject
* obj0
= 0 ;
4637 (char *) "self", NULL
4640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
4641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4642 if (SWIG_arg_fail(1)) SWIG_fail
;
4644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4645 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
4647 wxPyEndAllowThreads(__tstate
);
4648 if (PyErr_Occurred()) SWIG_fail
;
4651 resultobj
= SWIG_From_long((long)(result
));
4659 static PyObject
*_wrap_ComboBox_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4660 PyObject
*resultobj
;
4661 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4664 wxString
*arg4
= 0 ;
4665 bool temp4
= false ;
4666 PyObject
* obj0
= 0 ;
4667 PyObject
* obj1
= 0 ;
4668 PyObject
* obj2
= 0 ;
4669 PyObject
* obj3
= 0 ;
4671 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
4674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4676 if (SWIG_arg_fail(1)) SWIG_fail
;
4678 arg2
= (long)(SWIG_As_long(obj1
));
4679 if (SWIG_arg_fail(2)) SWIG_fail
;
4682 arg3
= (long)(SWIG_As_long(obj2
));
4683 if (SWIG_arg_fail(3)) SWIG_fail
;
4686 arg4
= wxString_in_helper(obj3
);
4687 if (arg4
== NULL
) SWIG_fail
;
4691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4692 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
4694 wxPyEndAllowThreads(__tstate
);
4695 if (PyErr_Occurred()) SWIG_fail
;
4697 Py_INCREF(Py_None
); resultobj
= Py_None
;
4712 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4713 PyObject
*resultobj
;
4714 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4716 PyObject
* obj0
= 0 ;
4717 PyObject
* obj1
= 0 ;
4719 (char *) "self",(char *) "n", NULL
4722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
4723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4724 if (SWIG_arg_fail(1)) SWIG_fail
;
4726 arg2
= (int)(SWIG_As_int(obj1
));
4727 if (SWIG_arg_fail(2)) SWIG_fail
;
4730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4731 (arg1
)->SetSelection(arg2
);
4733 wxPyEndAllowThreads(__tstate
);
4734 if (PyErr_Occurred()) SWIG_fail
;
4736 Py_INCREF(Py_None
); resultobj
= Py_None
;
4743 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4744 PyObject
*resultobj
;
4745 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4748 PyObject
* obj0
= 0 ;
4749 PyObject
* obj1
= 0 ;
4750 PyObject
* obj2
= 0 ;
4752 (char *) "self",(char *) "from",(char *) "to", NULL
4755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4757 if (SWIG_arg_fail(1)) SWIG_fail
;
4759 arg2
= (long)(SWIG_As_long(obj1
));
4760 if (SWIG_arg_fail(2)) SWIG_fail
;
4763 arg3
= (long)(SWIG_As_long(obj2
));
4764 if (SWIG_arg_fail(3)) SWIG_fail
;
4767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4768 (arg1
)->SetSelection(arg2
,arg3
);
4770 wxPyEndAllowThreads(__tstate
);
4771 if (PyErr_Occurred()) SWIG_fail
;
4773 Py_INCREF(Py_None
); resultobj
= Py_None
;
4780 static PyObject
*_wrap_ComboBox_GetMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4781 PyObject
*resultobj
;
4782 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4783 long *arg2
= (long *) 0 ;
4784 long *arg3
= (long *) 0 ;
4789 PyObject
* obj0
= 0 ;
4791 (char *) "self", NULL
4794 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4795 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
4796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetMark",kwnames
,&obj0
)) goto fail
;
4797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4798 if (SWIG_arg_fail(1)) SWIG_fail
;
4800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4801 (arg1
)->GetSelection(arg2
,arg3
);
4803 wxPyEndAllowThreads(__tstate
);
4804 if (PyErr_Occurred()) SWIG_fail
;
4806 Py_INCREF(Py_None
); resultobj
= Py_None
;
4807 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4808 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
4809 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
4810 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
4817 static PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4818 PyObject
*resultobj
;
4819 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4820 wxString
*arg2
= 0 ;
4822 bool temp2
= false ;
4823 PyObject
* obj0
= 0 ;
4824 PyObject
* obj1
= 0 ;
4826 (char *) "self",(char *) "string", NULL
4829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
4830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4831 if (SWIG_arg_fail(1)) SWIG_fail
;
4833 arg2
= wxString_in_helper(obj1
);
4834 if (arg2
== NULL
) SWIG_fail
;
4838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4839 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
4841 wxPyEndAllowThreads(__tstate
);
4842 if (PyErr_Occurred()) SWIG_fail
;
4845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4861 static PyObject
*_wrap_ComboBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4862 PyObject
*resultobj
;
4863 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4865 wxString
*arg3
= 0 ;
4866 bool temp3
= false ;
4867 PyObject
* obj0
= 0 ;
4868 PyObject
* obj1
= 0 ;
4869 PyObject
* obj2
= 0 ;
4871 (char *) "self",(char *) "n",(char *) "string", NULL
4874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4876 if (SWIG_arg_fail(1)) SWIG_fail
;
4878 arg2
= (int)(SWIG_As_int(obj1
));
4879 if (SWIG_arg_fail(2)) SWIG_fail
;
4882 arg3
= wxString_in_helper(obj2
);
4883 if (arg3
== NULL
) SWIG_fail
;
4887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4888 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
4890 wxPyEndAllowThreads(__tstate
);
4891 if (PyErr_Occurred()) SWIG_fail
;
4893 Py_INCREF(Py_None
); resultobj
= Py_None
;
4908 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4909 PyObject
*resultobj
;
4910 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4912 PyObject
* obj0
= 0 ;
4913 PyObject
* obj1
= 0 ;
4915 (char *) "self",(char *) "editable", NULL
4918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
4919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4920 if (SWIG_arg_fail(1)) SWIG_fail
;
4922 arg2
= (bool)(SWIG_As_bool(obj1
));
4923 if (SWIG_arg_fail(2)) SWIG_fail
;
4926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4927 (arg1
)->SetEditable(arg2
);
4929 wxPyEndAllowThreads(__tstate
);
4930 if (PyErr_Occurred()) SWIG_fail
;
4932 Py_INCREF(Py_None
); resultobj
= Py_None
;
4939 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4940 PyObject
*resultobj
;
4941 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4942 PyObject
* obj0
= 0 ;
4944 (char *) "self", NULL
4947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
4948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4949 if (SWIG_arg_fail(1)) SWIG_fail
;
4951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4952 (arg1
)->SetInsertionPointEnd();
4954 wxPyEndAllowThreads(__tstate
);
4955 if (PyErr_Occurred()) SWIG_fail
;
4957 Py_INCREF(Py_None
); resultobj
= Py_None
;
4964 static PyObject
*_wrap_ComboBox_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4965 PyObject
*resultobj
;
4966 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4969 PyObject
* obj0
= 0 ;
4970 PyObject
* obj1
= 0 ;
4971 PyObject
* obj2
= 0 ;
4973 (char *) "self",(char *) "from",(char *) "to", NULL
4976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4978 if (SWIG_arg_fail(1)) SWIG_fail
;
4980 arg2
= (long)(SWIG_As_long(obj1
));
4981 if (SWIG_arg_fail(2)) SWIG_fail
;
4984 arg3
= (long)(SWIG_As_long(obj2
));
4985 if (SWIG_arg_fail(3)) SWIG_fail
;
4988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4989 (arg1
)->Remove(arg2
,arg3
);
4991 wxPyEndAllowThreads(__tstate
);
4992 if (PyErr_Occurred()) SWIG_fail
;
4994 Py_INCREF(Py_None
); resultobj
= Py_None
;
5001 static PyObject
*_wrap_ComboBox_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5002 PyObject
*resultobj
;
5003 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5005 PyObject
* obj0
= 0 ;
5007 (char *) "self", NULL
5010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_IsEditable",kwnames
,&obj0
)) goto fail
;
5011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5012 if (SWIG_arg_fail(1)) SWIG_fail
;
5014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5015 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
5017 wxPyEndAllowThreads(__tstate
);
5018 if (PyErr_Occurred()) SWIG_fail
;
5021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5029 static PyObject
*_wrap_ComboBox_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5030 PyObject
*resultobj
;
5031 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5032 PyObject
* obj0
= 0 ;
5034 (char *) "self", NULL
5037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Undo",kwnames
,&obj0
)) goto fail
;
5038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5039 if (SWIG_arg_fail(1)) SWIG_fail
;
5041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5044 wxPyEndAllowThreads(__tstate
);
5045 if (PyErr_Occurred()) SWIG_fail
;
5047 Py_INCREF(Py_None
); resultobj
= Py_None
;
5054 static PyObject
*_wrap_ComboBox_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5055 PyObject
*resultobj
;
5056 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5057 PyObject
* obj0
= 0 ;
5059 (char *) "self", NULL
5062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Redo",kwnames
,&obj0
)) goto fail
;
5063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5064 if (SWIG_arg_fail(1)) SWIG_fail
;
5066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5069 wxPyEndAllowThreads(__tstate
);
5070 if (PyErr_Occurred()) SWIG_fail
;
5072 Py_INCREF(Py_None
); resultobj
= Py_None
;
5079 static PyObject
*_wrap_ComboBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5080 PyObject
*resultobj
;
5081 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5082 PyObject
* obj0
= 0 ;
5084 (char *) "self", NULL
5087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SelectAll",kwnames
,&obj0
)) goto fail
;
5088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5089 if (SWIG_arg_fail(1)) SWIG_fail
;
5091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5092 (arg1
)->SelectAll();
5094 wxPyEndAllowThreads(__tstate
);
5095 if (PyErr_Occurred()) SWIG_fail
;
5097 Py_INCREF(Py_None
); resultobj
= Py_None
;
5104 static PyObject
*_wrap_ComboBox_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5105 PyObject
*resultobj
;
5106 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5108 PyObject
* obj0
= 0 ;
5110 (char *) "self", NULL
5113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanCopy",kwnames
,&obj0
)) goto fail
;
5114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5115 if (SWIG_arg_fail(1)) SWIG_fail
;
5117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5118 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
5120 wxPyEndAllowThreads(__tstate
);
5121 if (PyErr_Occurred()) SWIG_fail
;
5124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5132 static PyObject
*_wrap_ComboBox_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5133 PyObject
*resultobj
;
5134 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5136 PyObject
* obj0
= 0 ;
5138 (char *) "self", NULL
5141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanCut",kwnames
,&obj0
)) goto fail
;
5142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5143 if (SWIG_arg_fail(1)) SWIG_fail
;
5145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5146 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
5148 wxPyEndAllowThreads(__tstate
);
5149 if (PyErr_Occurred()) SWIG_fail
;
5152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5160 static PyObject
*_wrap_ComboBox_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5161 PyObject
*resultobj
;
5162 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5164 PyObject
* obj0
= 0 ;
5166 (char *) "self", NULL
5169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanPaste",kwnames
,&obj0
)) goto fail
;
5170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5171 if (SWIG_arg_fail(1)) SWIG_fail
;
5173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5174 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
5176 wxPyEndAllowThreads(__tstate
);
5177 if (PyErr_Occurred()) SWIG_fail
;
5180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5188 static PyObject
*_wrap_ComboBox_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5189 PyObject
*resultobj
;
5190 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5192 PyObject
* obj0
= 0 ;
5194 (char *) "self", NULL
5197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanUndo",kwnames
,&obj0
)) goto fail
;
5198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5199 if (SWIG_arg_fail(1)) SWIG_fail
;
5201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5202 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
5204 wxPyEndAllowThreads(__tstate
);
5205 if (PyErr_Occurred()) SWIG_fail
;
5208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5216 static PyObject
*_wrap_ComboBox_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5217 PyObject
*resultobj
;
5218 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5220 PyObject
* obj0
= 0 ;
5222 (char *) "self", NULL
5225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanRedo",kwnames
,&obj0
)) goto fail
;
5226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5227 if (SWIG_arg_fail(1)) SWIG_fail
;
5229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5230 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
5232 wxPyEndAllowThreads(__tstate
);
5233 if (PyErr_Occurred()) SWIG_fail
;
5236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5244 static PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5245 PyObject
*resultobj
;
5246 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5247 wxVisualAttributes result
;
5248 PyObject
* obj0
= 0 ;
5250 (char *) "variant", NULL
5253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5256 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
5257 if (SWIG_arg_fail(1)) SWIG_fail
;
5261 if (!wxPyCheckForApp()) SWIG_fail
;
5262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5263 result
= wxComboBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5265 wxPyEndAllowThreads(__tstate
);
5266 if (PyErr_Occurred()) SWIG_fail
;
5269 wxVisualAttributes
* resultptr
;
5270 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
5271 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5279 static PyObject
* ComboBox_swigregister(PyObject
*, PyObject
*args
) {
5281 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5282 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
5284 return Py_BuildValue((char *)"");
5286 static int _wrap_GaugeNameStr_set(PyObject
*) {
5287 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
5292 static PyObject
*_wrap_GaugeNameStr_get(void) {
5297 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
5299 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
5306 static PyObject
*_wrap_new_Gauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5307 PyObject
*resultobj
;
5308 wxWindow
*arg1
= (wxWindow
*) 0 ;
5309 int arg2
= (int) -1 ;
5310 int arg3
= (int) 100 ;
5311 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5312 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5313 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5314 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5315 long arg6
= (long) wxGA_HORIZONTAL
;
5316 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5317 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5318 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
5319 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5323 bool temp8
= false ;
5324 PyObject
* obj0
= 0 ;
5325 PyObject
* obj1
= 0 ;
5326 PyObject
* obj2
= 0 ;
5327 PyObject
* obj3
= 0 ;
5328 PyObject
* obj4
= 0 ;
5329 PyObject
* obj5
= 0 ;
5330 PyObject
* obj6
= 0 ;
5331 PyObject
* obj7
= 0 ;
5333 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5338 if (SWIG_arg_fail(1)) SWIG_fail
;
5341 arg2
= (int)(SWIG_As_int(obj1
));
5342 if (SWIG_arg_fail(2)) SWIG_fail
;
5347 arg3
= (int)(SWIG_As_int(obj2
));
5348 if (SWIG_arg_fail(3)) SWIG_fail
;
5354 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5360 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5365 arg6
= (long)(SWIG_As_long(obj5
));
5366 if (SWIG_arg_fail(6)) SWIG_fail
;
5371 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
5372 if (SWIG_arg_fail(7)) SWIG_fail
;
5374 SWIG_null_ref("wxValidator");
5376 if (SWIG_arg_fail(7)) SWIG_fail
;
5381 arg8
= wxString_in_helper(obj7
);
5382 if (arg8
== NULL
) SWIG_fail
;
5387 if (!wxPyCheckForApp()) SWIG_fail
;
5388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5389 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5391 wxPyEndAllowThreads(__tstate
);
5392 if (PyErr_Occurred()) SWIG_fail
;
5394 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
5409 static PyObject
*_wrap_new_PreGauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5410 PyObject
*resultobj
;
5416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
5418 if (!wxPyCheckForApp()) SWIG_fail
;
5419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5420 result
= (wxGauge
*)new wxGauge();
5422 wxPyEndAllowThreads(__tstate
);
5423 if (PyErr_Occurred()) SWIG_fail
;
5425 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
5432 static PyObject
*_wrap_Gauge_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5433 PyObject
*resultobj
;
5434 wxGauge
*arg1
= (wxGauge
*) 0 ;
5435 wxWindow
*arg2
= (wxWindow
*) 0 ;
5436 int arg3
= (int) -1 ;
5437 int arg4
= (int) 100 ;
5438 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5439 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5440 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5441 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5442 long arg7
= (long) wxGA_HORIZONTAL
;
5443 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5444 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5445 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
5446 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5450 bool temp9
= false ;
5451 PyObject
* obj0
= 0 ;
5452 PyObject
* obj1
= 0 ;
5453 PyObject
* obj2
= 0 ;
5454 PyObject
* obj3
= 0 ;
5455 PyObject
* obj4
= 0 ;
5456 PyObject
* obj5
= 0 ;
5457 PyObject
* obj6
= 0 ;
5458 PyObject
* obj7
= 0 ;
5459 PyObject
* obj8
= 0 ;
5461 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5466 if (SWIG_arg_fail(1)) SWIG_fail
;
5467 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5468 if (SWIG_arg_fail(2)) SWIG_fail
;
5471 arg3
= (int)(SWIG_As_int(obj2
));
5472 if (SWIG_arg_fail(3)) SWIG_fail
;
5477 arg4
= (int)(SWIG_As_int(obj3
));
5478 if (SWIG_arg_fail(4)) SWIG_fail
;
5484 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5490 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5495 arg7
= (long)(SWIG_As_long(obj6
));
5496 if (SWIG_arg_fail(7)) SWIG_fail
;
5501 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
5502 if (SWIG_arg_fail(8)) SWIG_fail
;
5504 SWIG_null_ref("wxValidator");
5506 if (SWIG_arg_fail(8)) SWIG_fail
;
5511 arg9
= wxString_in_helper(obj8
);
5512 if (arg9
== NULL
) SWIG_fail
;
5517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5518 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5520 wxPyEndAllowThreads(__tstate
);
5521 if (PyErr_Occurred()) SWIG_fail
;
5524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5540 static PyObject
*_wrap_Gauge_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5541 PyObject
*resultobj
;
5542 wxGauge
*arg1
= (wxGauge
*) 0 ;
5544 PyObject
* obj0
= 0 ;
5545 PyObject
* obj1
= 0 ;
5547 (char *) "self",(char *) "range", NULL
5550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
5551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5552 if (SWIG_arg_fail(1)) SWIG_fail
;
5554 arg2
= (int)(SWIG_As_int(obj1
));
5555 if (SWIG_arg_fail(2)) SWIG_fail
;
5558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5559 (arg1
)->SetRange(arg2
);
5561 wxPyEndAllowThreads(__tstate
);
5562 if (PyErr_Occurred()) SWIG_fail
;
5564 Py_INCREF(Py_None
); resultobj
= Py_None
;
5571 static PyObject
*_wrap_Gauge_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5572 PyObject
*resultobj
;
5573 wxGauge
*arg1
= (wxGauge
*) 0 ;
5575 PyObject
* obj0
= 0 ;
5577 (char *) "self", NULL
5580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
5581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5582 if (SWIG_arg_fail(1)) SWIG_fail
;
5584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5585 result
= (int)((wxGauge
const *)arg1
)->GetRange();
5587 wxPyEndAllowThreads(__tstate
);
5588 if (PyErr_Occurred()) SWIG_fail
;
5591 resultobj
= SWIG_From_int((int)(result
));
5599 static PyObject
*_wrap_Gauge_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5600 PyObject
*resultobj
;
5601 wxGauge
*arg1
= (wxGauge
*) 0 ;
5603 PyObject
* obj0
= 0 ;
5604 PyObject
* obj1
= 0 ;
5606 (char *) "self",(char *) "pos", NULL
5609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
5610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5611 if (SWIG_arg_fail(1)) SWIG_fail
;
5613 arg2
= (int)(SWIG_As_int(obj1
));
5614 if (SWIG_arg_fail(2)) SWIG_fail
;
5617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5618 (arg1
)->SetValue(arg2
);
5620 wxPyEndAllowThreads(__tstate
);
5621 if (PyErr_Occurred()) SWIG_fail
;
5623 Py_INCREF(Py_None
); resultobj
= Py_None
;
5630 static PyObject
*_wrap_Gauge_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5631 PyObject
*resultobj
;
5632 wxGauge
*arg1
= (wxGauge
*) 0 ;
5634 PyObject
* obj0
= 0 ;
5636 (char *) "self", NULL
5639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
5640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5641 if (SWIG_arg_fail(1)) SWIG_fail
;
5643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5644 result
= (int)((wxGauge
const *)arg1
)->GetValue();
5646 wxPyEndAllowThreads(__tstate
);
5647 if (PyErr_Occurred()) SWIG_fail
;
5650 resultobj
= SWIG_From_int((int)(result
));
5658 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5659 PyObject
*resultobj
;
5660 wxGauge
*arg1
= (wxGauge
*) 0 ;
5662 PyObject
* obj0
= 0 ;
5664 (char *) "self", NULL
5667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
5668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5669 if (SWIG_arg_fail(1)) SWIG_fail
;
5671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5672 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
5674 wxPyEndAllowThreads(__tstate
);
5675 if (PyErr_Occurred()) SWIG_fail
;
5678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5686 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5687 PyObject
*resultobj
;
5688 wxGauge
*arg1
= (wxGauge
*) 0 ;
5690 PyObject
* obj0
= 0 ;
5691 PyObject
* obj1
= 0 ;
5693 (char *) "self",(char *) "w", NULL
5696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5698 if (SWIG_arg_fail(1)) SWIG_fail
;
5700 arg2
= (int)(SWIG_As_int(obj1
));
5701 if (SWIG_arg_fail(2)) SWIG_fail
;
5704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5705 (arg1
)->SetShadowWidth(arg2
);
5707 wxPyEndAllowThreads(__tstate
);
5708 if (PyErr_Occurred()) SWIG_fail
;
5710 Py_INCREF(Py_None
); resultobj
= Py_None
;
5717 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5718 PyObject
*resultobj
;
5719 wxGauge
*arg1
= (wxGauge
*) 0 ;
5721 PyObject
* obj0
= 0 ;
5723 (char *) "self", NULL
5726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
5727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5728 if (SWIG_arg_fail(1)) SWIG_fail
;
5730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5731 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
5733 wxPyEndAllowThreads(__tstate
);
5734 if (PyErr_Occurred()) SWIG_fail
;
5737 resultobj
= SWIG_From_int((int)(result
));
5745 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5746 PyObject
*resultobj
;
5747 wxGauge
*arg1
= (wxGauge
*) 0 ;
5749 PyObject
* obj0
= 0 ;
5750 PyObject
* obj1
= 0 ;
5752 (char *) "self",(char *) "w", NULL
5755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
5756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5757 if (SWIG_arg_fail(1)) SWIG_fail
;
5759 arg2
= (int)(SWIG_As_int(obj1
));
5760 if (SWIG_arg_fail(2)) SWIG_fail
;
5763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5764 (arg1
)->SetBezelFace(arg2
);
5766 wxPyEndAllowThreads(__tstate
);
5767 if (PyErr_Occurred()) SWIG_fail
;
5769 Py_INCREF(Py_None
); resultobj
= Py_None
;
5776 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5777 PyObject
*resultobj
;
5778 wxGauge
*arg1
= (wxGauge
*) 0 ;
5780 PyObject
* obj0
= 0 ;
5782 (char *) "self", NULL
5785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
5786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5787 if (SWIG_arg_fail(1)) SWIG_fail
;
5789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5790 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
5792 wxPyEndAllowThreads(__tstate
);
5793 if (PyErr_Occurred()) SWIG_fail
;
5796 resultobj
= SWIG_From_int((int)(result
));
5804 static PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5805 PyObject
*resultobj
;
5806 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5807 wxVisualAttributes result
;
5808 PyObject
* obj0
= 0 ;
5810 (char *) "variant", NULL
5813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5816 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
5817 if (SWIG_arg_fail(1)) SWIG_fail
;
5821 if (!wxPyCheckForApp()) SWIG_fail
;
5822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5823 result
= wxGauge::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5825 wxPyEndAllowThreads(__tstate
);
5826 if (PyErr_Occurred()) SWIG_fail
;
5829 wxVisualAttributes
* resultptr
;
5830 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
5831 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5839 static PyObject
* Gauge_swigregister(PyObject
*, PyObject
*args
) {
5841 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5842 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
5844 return Py_BuildValue((char *)"");
5846 static int _wrap_StaticBitmapNameStr_set(PyObject
*) {
5847 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
5852 static PyObject
*_wrap_StaticBitmapNameStr_get(void) {
5857 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
5859 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
5866 static int _wrap_StaticBoxNameStr_set(PyObject
*) {
5867 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
5872 static PyObject
*_wrap_StaticBoxNameStr_get(void) {
5877 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
5879 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
5886 static int _wrap_StaticTextNameStr_set(PyObject
*) {
5887 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
5892 static PyObject
*_wrap_StaticTextNameStr_get(void) {
5897 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
5899 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
5906 static PyObject
*_wrap_new_StaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5907 PyObject
*resultobj
;
5908 wxWindow
*arg1
= (wxWindow
*) 0 ;
5909 int arg2
= (int) -1 ;
5910 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5911 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5912 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5913 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5914 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5915 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5916 long arg6
= (long) 0 ;
5917 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
5918 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5919 wxStaticBox
*result
;
5920 bool temp3
= false ;
5923 bool temp7
= false ;
5924 PyObject
* obj0
= 0 ;
5925 PyObject
* obj1
= 0 ;
5926 PyObject
* obj2
= 0 ;
5927 PyObject
* obj3
= 0 ;
5928 PyObject
* obj4
= 0 ;
5929 PyObject
* obj5
= 0 ;
5930 PyObject
* obj6
= 0 ;
5932 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5937 if (SWIG_arg_fail(1)) SWIG_fail
;
5940 arg2
= (int)(SWIG_As_int(obj1
));
5941 if (SWIG_arg_fail(2)) SWIG_fail
;
5946 arg3
= wxString_in_helper(obj2
);
5947 if (arg3
== NULL
) SWIG_fail
;
5954 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5960 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5965 arg6
= (long)(SWIG_As_long(obj5
));
5966 if (SWIG_arg_fail(6)) SWIG_fail
;
5971 arg7
= wxString_in_helper(obj6
);
5972 if (arg7
== NULL
) SWIG_fail
;
5977 if (!wxPyCheckForApp()) SWIG_fail
;
5978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5979 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5981 wxPyEndAllowThreads(__tstate
);
5982 if (PyErr_Occurred()) SWIG_fail
;
5984 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
6007 static PyObject
*_wrap_new_PreStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6008 PyObject
*resultobj
;
6009 wxStaticBox
*result
;
6014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
6016 if (!wxPyCheckForApp()) SWIG_fail
;
6017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6018 result
= (wxStaticBox
*)new wxStaticBox();
6020 wxPyEndAllowThreads(__tstate
);
6021 if (PyErr_Occurred()) SWIG_fail
;
6023 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
6030 static PyObject
*_wrap_StaticBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6031 PyObject
*resultobj
;
6032 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
6033 wxWindow
*arg2
= (wxWindow
*) 0 ;
6034 int arg3
= (int) -1 ;
6035 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6036 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6037 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6038 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6039 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6040 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6041 long arg7
= (long) 0 ;
6042 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
6043 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6045 bool temp4
= false ;
6048 bool temp8
= false ;
6049 PyObject
* obj0
= 0 ;
6050 PyObject
* obj1
= 0 ;
6051 PyObject
* obj2
= 0 ;
6052 PyObject
* obj3
= 0 ;
6053 PyObject
* obj4
= 0 ;
6054 PyObject
* obj5
= 0 ;
6055 PyObject
* obj6
= 0 ;
6056 PyObject
* obj7
= 0 ;
6058 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
6063 if (SWIG_arg_fail(1)) SWIG_fail
;
6064 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6065 if (SWIG_arg_fail(2)) SWIG_fail
;
6068 arg3
= (int)(SWIG_As_int(obj2
));
6069 if (SWIG_arg_fail(3)) SWIG_fail
;
6074 arg4
= wxString_in_helper(obj3
);
6075 if (arg4
== NULL
) SWIG_fail
;
6082 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6088 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6093 arg7
= (long)(SWIG_As_long(obj6
));
6094 if (SWIG_arg_fail(7)) SWIG_fail
;
6099 arg8
= wxString_in_helper(obj7
);
6100 if (arg8
== NULL
) SWIG_fail
;
6105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6106 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6108 wxPyEndAllowThreads(__tstate
);
6109 if (PyErr_Occurred()) SWIG_fail
;
6112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6136 static PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6137 PyObject
*resultobj
;
6138 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6139 wxVisualAttributes result
;
6140 PyObject
* obj0
= 0 ;
6142 (char *) "variant", NULL
6145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6148 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6149 if (SWIG_arg_fail(1)) SWIG_fail
;
6153 if (!wxPyCheckForApp()) SWIG_fail
;
6154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6155 result
= wxStaticBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6157 wxPyEndAllowThreads(__tstate
);
6158 if (PyErr_Occurred()) SWIG_fail
;
6161 wxVisualAttributes
* resultptr
;
6162 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6163 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6171 static PyObject
* StaticBox_swigregister(PyObject
*, PyObject
*args
) {
6173 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6174 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
6176 return Py_BuildValue((char *)"");
6178 static PyObject
*_wrap_new_StaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6179 PyObject
*resultobj
;
6180 wxWindow
*arg1
= (wxWindow
*) 0 ;
6181 int arg2
= (int) -1 ;
6182 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6183 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6184 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6185 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6186 long arg5
= (long) wxLI_HORIZONTAL
;
6187 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
6188 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6189 wxStaticLine
*result
;
6192 bool temp6
= false ;
6193 PyObject
* obj0
= 0 ;
6194 PyObject
* obj1
= 0 ;
6195 PyObject
* obj2
= 0 ;
6196 PyObject
* obj3
= 0 ;
6197 PyObject
* obj4
= 0 ;
6198 PyObject
* obj5
= 0 ;
6200 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6205 if (SWIG_arg_fail(1)) SWIG_fail
;
6208 arg2
= (int)(SWIG_As_int(obj1
));
6209 if (SWIG_arg_fail(2)) SWIG_fail
;
6215 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6221 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6226 arg5
= (long)(SWIG_As_long(obj4
));
6227 if (SWIG_arg_fail(5)) SWIG_fail
;
6232 arg6
= wxString_in_helper(obj5
);
6233 if (arg6
== NULL
) SWIG_fail
;
6238 if (!wxPyCheckForApp()) SWIG_fail
;
6239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6240 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6242 wxPyEndAllowThreads(__tstate
);
6243 if (PyErr_Occurred()) SWIG_fail
;
6245 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
6260 static PyObject
*_wrap_new_PreStaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6261 PyObject
*resultobj
;
6262 wxStaticLine
*result
;
6267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
6269 if (!wxPyCheckForApp()) SWIG_fail
;
6270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6271 result
= (wxStaticLine
*)new wxStaticLine();
6273 wxPyEndAllowThreads(__tstate
);
6274 if (PyErr_Occurred()) SWIG_fail
;
6276 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
6283 static PyObject
*_wrap_StaticLine_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6284 PyObject
*resultobj
;
6285 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
6286 wxWindow
*arg2
= (wxWindow
*) 0 ;
6287 int arg3
= (int) -1 ;
6288 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6289 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6290 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6291 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6292 long arg6
= (long) wxLI_HORIZONTAL
;
6293 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
6294 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6298 bool temp7
= false ;
6299 PyObject
* obj0
= 0 ;
6300 PyObject
* obj1
= 0 ;
6301 PyObject
* obj2
= 0 ;
6302 PyObject
* obj3
= 0 ;
6303 PyObject
* obj4
= 0 ;
6304 PyObject
* obj5
= 0 ;
6305 PyObject
* obj6
= 0 ;
6307 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_EXCEPTION
| 0);
6312 if (SWIG_arg_fail(1)) SWIG_fail
;
6313 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6314 if (SWIG_arg_fail(2)) SWIG_fail
;
6317 arg3
= (int)(SWIG_As_int(obj2
));
6318 if (SWIG_arg_fail(3)) SWIG_fail
;
6324 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6330 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6335 arg6
= (long)(SWIG_As_long(obj5
));
6336 if (SWIG_arg_fail(6)) SWIG_fail
;
6341 arg7
= wxString_in_helper(obj6
);
6342 if (arg7
== NULL
) SWIG_fail
;
6347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6348 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6350 wxPyEndAllowThreads(__tstate
);
6351 if (PyErr_Occurred()) SWIG_fail
;
6354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6370 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6371 PyObject
*resultobj
;
6372 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
6374 PyObject
* obj0
= 0 ;
6376 (char *) "self", NULL
6379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
6380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_EXCEPTION
| 0);
6381 if (SWIG_arg_fail(1)) SWIG_fail
;
6383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6384 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
6386 wxPyEndAllowThreads(__tstate
);
6387 if (PyErr_Occurred()) SWIG_fail
;
6390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6398 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6399 PyObject
*resultobj
;
6405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
6407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6408 result
= (int)wxStaticLine::GetDefaultSize();
6410 wxPyEndAllowThreads(__tstate
);
6411 if (PyErr_Occurred()) SWIG_fail
;
6414 resultobj
= SWIG_From_int((int)(result
));
6422 static PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6423 PyObject
*resultobj
;
6424 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6425 wxVisualAttributes result
;
6426 PyObject
* obj0
= 0 ;
6428 (char *) "variant", NULL
6431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6434 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6435 if (SWIG_arg_fail(1)) SWIG_fail
;
6439 if (!wxPyCheckForApp()) SWIG_fail
;
6440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6441 result
= wxStaticLine::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6443 wxPyEndAllowThreads(__tstate
);
6444 if (PyErr_Occurred()) SWIG_fail
;
6447 wxVisualAttributes
* resultptr
;
6448 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6449 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6457 static PyObject
* StaticLine_swigregister(PyObject
*, PyObject
*args
) {
6459 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6460 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
6462 return Py_BuildValue((char *)"");
6464 static PyObject
*_wrap_new_StaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6465 PyObject
*resultobj
;
6466 wxWindow
*arg1
= (wxWindow
*) 0 ;
6467 int arg2
= (int) -1 ;
6468 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6469 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6470 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6471 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6472 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6473 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6474 long arg6
= (long) 0 ;
6475 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
6476 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6477 wxStaticText
*result
;
6478 bool temp3
= false ;
6481 bool temp7
= false ;
6482 PyObject
* obj0
= 0 ;
6483 PyObject
* obj1
= 0 ;
6484 PyObject
* obj2
= 0 ;
6485 PyObject
* obj3
= 0 ;
6486 PyObject
* obj4
= 0 ;
6487 PyObject
* obj5
= 0 ;
6488 PyObject
* obj6
= 0 ;
6490 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6495 if (SWIG_arg_fail(1)) SWIG_fail
;
6498 arg2
= (int)(SWIG_As_int(obj1
));
6499 if (SWIG_arg_fail(2)) SWIG_fail
;
6504 arg3
= wxString_in_helper(obj2
);
6505 if (arg3
== NULL
) SWIG_fail
;
6512 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6518 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6523 arg6
= (long)(SWIG_As_long(obj5
));
6524 if (SWIG_arg_fail(6)) SWIG_fail
;
6529 arg7
= wxString_in_helper(obj6
);
6530 if (arg7
== NULL
) SWIG_fail
;
6535 if (!wxPyCheckForApp()) SWIG_fail
;
6536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6537 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6539 wxPyEndAllowThreads(__tstate
);
6540 if (PyErr_Occurred()) SWIG_fail
;
6542 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
6565 static PyObject
*_wrap_new_PreStaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6566 PyObject
*resultobj
;
6567 wxStaticText
*result
;
6572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
6574 if (!wxPyCheckForApp()) SWIG_fail
;
6575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6576 result
= (wxStaticText
*)new wxStaticText();
6578 wxPyEndAllowThreads(__tstate
);
6579 if (PyErr_Occurred()) SWIG_fail
;
6581 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
6588 static PyObject
*_wrap_StaticText_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6589 PyObject
*resultobj
;
6590 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
6591 wxWindow
*arg2
= (wxWindow
*) 0 ;
6592 int arg3
= (int) -1 ;
6593 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6594 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6595 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6596 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6597 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6598 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6599 long arg7
= (long) 0 ;
6600 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
6601 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6603 bool temp4
= false ;
6606 bool temp8
= false ;
6607 PyObject
* obj0
= 0 ;
6608 PyObject
* obj1
= 0 ;
6609 PyObject
* obj2
= 0 ;
6610 PyObject
* obj3
= 0 ;
6611 PyObject
* obj4
= 0 ;
6612 PyObject
* obj5
= 0 ;
6613 PyObject
* obj6
= 0 ;
6614 PyObject
* obj7
= 0 ;
6616 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticText
, SWIG_POINTER_EXCEPTION
| 0);
6621 if (SWIG_arg_fail(1)) SWIG_fail
;
6622 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6623 if (SWIG_arg_fail(2)) SWIG_fail
;
6626 arg3
= (int)(SWIG_As_int(obj2
));
6627 if (SWIG_arg_fail(3)) SWIG_fail
;
6632 arg4
= wxString_in_helper(obj3
);
6633 if (arg4
== NULL
) SWIG_fail
;
6640 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6646 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6651 arg7
= (long)(SWIG_As_long(obj6
));
6652 if (SWIG_arg_fail(7)) SWIG_fail
;
6657 arg8
= wxString_in_helper(obj7
);
6658 if (arg8
== NULL
) SWIG_fail
;
6663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6664 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6666 wxPyEndAllowThreads(__tstate
);
6667 if (PyErr_Occurred()) SWIG_fail
;
6670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6694 static PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6695 PyObject
*resultobj
;
6696 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6697 wxVisualAttributes result
;
6698 PyObject
* obj0
= 0 ;
6700 (char *) "variant", NULL
6703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6706 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6707 if (SWIG_arg_fail(1)) SWIG_fail
;
6711 if (!wxPyCheckForApp()) SWIG_fail
;
6712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6713 result
= wxStaticText::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6715 wxPyEndAllowThreads(__tstate
);
6716 if (PyErr_Occurred()) SWIG_fail
;
6719 wxVisualAttributes
* resultptr
;
6720 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6721 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6729 static PyObject
* StaticText_swigregister(PyObject
*, PyObject
*args
) {
6731 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6732 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
6734 return Py_BuildValue((char *)"");
6736 static PyObject
*_wrap_new_StaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6737 PyObject
*resultobj
;
6738 wxWindow
*arg1
= (wxWindow
*) 0 ;
6739 int arg2
= (int) -1 ;
6740 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
6741 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
6742 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6743 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6744 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6745 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6746 long arg6
= (long) 0 ;
6747 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
6748 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6749 wxStaticBitmap
*result
;
6752 bool temp7
= false ;
6753 PyObject
* obj0
= 0 ;
6754 PyObject
* obj1
= 0 ;
6755 PyObject
* obj2
= 0 ;
6756 PyObject
* obj3
= 0 ;
6757 PyObject
* obj4
= 0 ;
6758 PyObject
* obj5
= 0 ;
6759 PyObject
* obj6
= 0 ;
6761 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6766 if (SWIG_arg_fail(1)) SWIG_fail
;
6769 arg2
= (int)(SWIG_As_int(obj1
));
6770 if (SWIG_arg_fail(2)) SWIG_fail
;
6775 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6776 if (SWIG_arg_fail(3)) SWIG_fail
;
6778 SWIG_null_ref("wxBitmap");
6780 if (SWIG_arg_fail(3)) SWIG_fail
;
6786 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6792 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6797 arg6
= (long)(SWIG_As_long(obj5
));
6798 if (SWIG_arg_fail(6)) SWIG_fail
;
6803 arg7
= wxString_in_helper(obj6
);
6804 if (arg7
== NULL
) SWIG_fail
;
6809 if (!wxPyCheckForApp()) SWIG_fail
;
6810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6811 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6813 wxPyEndAllowThreads(__tstate
);
6814 if (PyErr_Occurred()) SWIG_fail
;
6816 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
6831 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6832 PyObject
*resultobj
;
6833 wxStaticBitmap
*result
;
6838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
6840 if (!wxPyCheckForApp()) SWIG_fail
;
6841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6842 result
= (wxStaticBitmap
*)new wxStaticBitmap();
6844 wxPyEndAllowThreads(__tstate
);
6845 if (PyErr_Occurred()) SWIG_fail
;
6847 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
6854 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6855 PyObject
*resultobj
;
6856 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
6857 wxWindow
*arg2
= (wxWindow
*) 0 ;
6858 int arg3
= (int) -1 ;
6859 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
6860 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
6861 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6862 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6863 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6864 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6865 long arg7
= (long) 0 ;
6866 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
6867 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6871 bool temp8
= false ;
6872 PyObject
* obj0
= 0 ;
6873 PyObject
* obj1
= 0 ;
6874 PyObject
* obj2
= 0 ;
6875 PyObject
* obj3
= 0 ;
6876 PyObject
* obj4
= 0 ;
6877 PyObject
* obj5
= 0 ;
6878 PyObject
* obj6
= 0 ;
6879 PyObject
* obj7
= 0 ;
6881 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6886 if (SWIG_arg_fail(1)) SWIG_fail
;
6887 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6888 if (SWIG_arg_fail(2)) SWIG_fail
;
6891 arg3
= (int)(SWIG_As_int(obj2
));
6892 if (SWIG_arg_fail(3)) SWIG_fail
;
6897 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6898 if (SWIG_arg_fail(4)) SWIG_fail
;
6900 SWIG_null_ref("wxBitmap");
6902 if (SWIG_arg_fail(4)) SWIG_fail
;
6908 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6914 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6919 arg7
= (long)(SWIG_As_long(obj6
));
6920 if (SWIG_arg_fail(7)) SWIG_fail
;
6925 arg8
= wxString_in_helper(obj7
);
6926 if (arg8
== NULL
) SWIG_fail
;
6931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6932 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6934 wxPyEndAllowThreads(__tstate
);
6935 if (PyErr_Occurred()) SWIG_fail
;
6938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6954 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6955 PyObject
*resultobj
;
6956 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
6958 PyObject
* obj0
= 0 ;
6960 (char *) "self", NULL
6963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
6964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6965 if (SWIG_arg_fail(1)) SWIG_fail
;
6967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6968 result
= (arg1
)->GetBitmap();
6970 wxPyEndAllowThreads(__tstate
);
6971 if (PyErr_Occurred()) SWIG_fail
;
6974 wxBitmap
* resultptr
;
6975 resultptr
= new wxBitmap((wxBitmap
&)(result
));
6976 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
6984 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6985 PyObject
*resultobj
;
6986 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
6987 wxBitmap
*arg2
= 0 ;
6988 PyObject
* obj0
= 0 ;
6989 PyObject
* obj1
= 0 ;
6991 (char *) "self",(char *) "bitmap", NULL
6994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
6995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6996 if (SWIG_arg_fail(1)) SWIG_fail
;
6998 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6999 if (SWIG_arg_fail(2)) SWIG_fail
;
7001 SWIG_null_ref("wxBitmap");
7003 if (SWIG_arg_fail(2)) SWIG_fail
;
7006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7007 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
7009 wxPyEndAllowThreads(__tstate
);
7010 if (PyErr_Occurred()) SWIG_fail
;
7012 Py_INCREF(Py_None
); resultobj
= Py_None
;
7019 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7020 PyObject
*resultobj
;
7021 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
7023 PyObject
* obj0
= 0 ;
7024 PyObject
* obj1
= 0 ;
7026 (char *) "self",(char *) "icon", NULL
7029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
7030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7031 if (SWIG_arg_fail(1)) SWIG_fail
;
7033 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
7034 if (SWIG_arg_fail(2)) SWIG_fail
;
7036 SWIG_null_ref("wxIcon");
7038 if (SWIG_arg_fail(2)) SWIG_fail
;
7041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7042 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
7044 wxPyEndAllowThreads(__tstate
);
7045 if (PyErr_Occurred()) SWIG_fail
;
7047 Py_INCREF(Py_None
); resultobj
= Py_None
;
7054 static PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7055 PyObject
*resultobj
;
7056 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7057 wxVisualAttributes result
;
7058 PyObject
* obj0
= 0 ;
7060 (char *) "variant", NULL
7063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
7066 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
7067 if (SWIG_arg_fail(1)) SWIG_fail
;
7071 if (!wxPyCheckForApp()) SWIG_fail
;
7072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7073 result
= wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
7075 wxPyEndAllowThreads(__tstate
);
7076 if (PyErr_Occurred()) SWIG_fail
;
7079 wxVisualAttributes
* resultptr
;
7080 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
7081 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
7089 static PyObject
* StaticBitmap_swigregister(PyObject
*, PyObject
*args
) {
7091 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7092 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
7094 return Py_BuildValue((char *)"");
7096 static int _wrap_ListBoxNameStr_set(PyObject
*) {
7097 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
7102 static PyObject
*_wrap_ListBoxNameStr_get(void) {
7107 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
7109 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
7116 static PyObject
*_wrap_new_ListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7117 PyObject
*resultobj
;
7118 wxWindow
*arg1
= (wxWindow
*) 0 ;
7119 int arg2
= (int) -1 ;
7120 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7121 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7122 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7123 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7124 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
7125 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
7126 long arg6
= (long) 0 ;
7127 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7128 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7129 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
7130 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7134 bool temp5
= false ;
7135 bool temp8
= false ;
7136 PyObject
* obj0
= 0 ;
7137 PyObject
* obj1
= 0 ;
7138 PyObject
* obj2
= 0 ;
7139 PyObject
* obj3
= 0 ;
7140 PyObject
* obj4
= 0 ;
7141 PyObject
* obj5
= 0 ;
7142 PyObject
* obj6
= 0 ;
7143 PyObject
* obj7
= 0 ;
7145 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7150 if (SWIG_arg_fail(1)) SWIG_fail
;
7153 arg2
= (int)(SWIG_As_int(obj1
));
7154 if (SWIG_arg_fail(2)) SWIG_fail
;
7160 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7166 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7171 if (! PySequence_Check(obj4
)) {
7172 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7175 arg5
= new wxArrayString
;
7177 int i
, len
=PySequence_Length(obj4
);
7178 for (i
=0; i
<len
; i
++) {
7179 PyObject
* item
= PySequence_GetItem(obj4
, i
);
7180 wxString
* s
= wxString_in_helper(item
);
7181 if (PyErr_Occurred()) SWIG_fail
;
7190 arg6
= (long)(SWIG_As_long(obj5
));
7191 if (SWIG_arg_fail(6)) SWIG_fail
;
7196 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
7197 if (SWIG_arg_fail(7)) SWIG_fail
;
7199 SWIG_null_ref("wxValidator");
7201 if (SWIG_arg_fail(7)) SWIG_fail
;
7206 arg8
= wxString_in_helper(obj7
);
7207 if (arg8
== NULL
) SWIG_fail
;
7212 if (!wxPyCheckForApp()) SWIG_fail
;
7213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7214 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7216 wxPyEndAllowThreads(__tstate
);
7217 if (PyErr_Occurred()) SWIG_fail
;
7219 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
7221 if (temp5
) delete arg5
;
7230 if (temp5
) delete arg5
;
7240 static PyObject
*_wrap_new_PreListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7241 PyObject
*resultobj
;
7247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
7249 if (!wxPyCheckForApp()) SWIG_fail
;
7250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7251 result
= (wxListBox
*)new wxListBox();
7253 wxPyEndAllowThreads(__tstate
);
7254 if (PyErr_Occurred()) SWIG_fail
;
7256 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
7263 static PyObject
*_wrap_ListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7264 PyObject
*resultobj
;
7265 wxListBox
*arg1
= (wxListBox
*) 0 ;
7266 wxWindow
*arg2
= (wxWindow
*) 0 ;
7267 int arg3
= (int) -1 ;
7268 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7269 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7270 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7271 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7272 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
7273 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
7274 long arg7
= (long) 0 ;
7275 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
7276 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
7277 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
7278 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
7282 bool temp6
= false ;
7283 bool temp9
= false ;
7284 PyObject
* obj0
= 0 ;
7285 PyObject
* obj1
= 0 ;
7286 PyObject
* obj2
= 0 ;
7287 PyObject
* obj3
= 0 ;
7288 PyObject
* obj4
= 0 ;
7289 PyObject
* obj5
= 0 ;
7290 PyObject
* obj6
= 0 ;
7291 PyObject
* obj7
= 0 ;
7292 PyObject
* obj8
= 0 ;
7294 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
7298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7299 if (SWIG_arg_fail(1)) SWIG_fail
;
7300 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7301 if (SWIG_arg_fail(2)) SWIG_fail
;
7304 arg3
= (int)(SWIG_As_int(obj2
));
7305 if (SWIG_arg_fail(3)) SWIG_fail
;
7311 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7317 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7322 if (! PySequence_Check(obj5
)) {
7323 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7326 arg6
= new wxArrayString
;
7328 int i
, len
=PySequence_Length(obj5
);
7329 for (i
=0; i
<len
; i
++) {
7330 PyObject
* item
= PySequence_GetItem(obj5
, i
);
7331 wxString
* s
= wxString_in_helper(item
);
7332 if (PyErr_Occurred()) SWIG_fail
;
7341 arg7
= (long)(SWIG_As_long(obj6
));
7342 if (SWIG_arg_fail(7)) SWIG_fail
;
7347 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
7348 if (SWIG_arg_fail(8)) SWIG_fail
;
7350 SWIG_null_ref("wxValidator");
7352 if (SWIG_arg_fail(8)) SWIG_fail
;
7357 arg9
= wxString_in_helper(obj8
);
7358 if (arg9
== NULL
) SWIG_fail
;
7363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7364 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7366 wxPyEndAllowThreads(__tstate
);
7367 if (PyErr_Occurred()) SWIG_fail
;
7370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7373 if (temp6
) delete arg6
;
7382 if (temp6
) delete arg6
;
7392 static PyObject
*_wrap_ListBox_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7393 PyObject
*resultobj
;
7394 wxListBox
*arg1
= (wxListBox
*) 0 ;
7395 wxString
*arg2
= 0 ;
7397 PyObject
*arg4
= (PyObject
*) NULL
;
7398 bool temp2
= false ;
7399 PyObject
* obj0
= 0 ;
7400 PyObject
* obj1
= 0 ;
7401 PyObject
* obj2
= 0 ;
7402 PyObject
* obj3
= 0 ;
7404 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
7407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7409 if (SWIG_arg_fail(1)) SWIG_fail
;
7411 arg2
= wxString_in_helper(obj1
);
7412 if (arg2
== NULL
) SWIG_fail
;
7416 arg3
= (int)(SWIG_As_int(obj2
));
7417 if (SWIG_arg_fail(3)) SWIG_fail
;
7423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7424 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7426 wxPyEndAllowThreads(__tstate
);
7427 if (PyErr_Occurred()) SWIG_fail
;
7429 Py_INCREF(Py_None
); resultobj
= Py_None
;
7444 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7445 PyObject
*resultobj
;
7446 wxListBox
*arg1
= (wxListBox
*) 0 ;
7447 wxArrayString
*arg2
= 0 ;
7449 bool temp2
= false ;
7450 PyObject
* obj0
= 0 ;
7451 PyObject
* obj1
= 0 ;
7452 PyObject
* obj2
= 0 ;
7454 (char *) "self",(char *) "items",(char *) "pos", NULL
7457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7459 if (SWIG_arg_fail(1)) SWIG_fail
;
7461 if (! PySequence_Check(obj1
)) {
7462 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7465 arg2
= new wxArrayString
;
7467 int i
, len
=PySequence_Length(obj1
);
7468 for (i
=0; i
<len
; i
++) {
7469 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7470 wxString
* s
= wxString_in_helper(item
);
7471 if (PyErr_Occurred()) SWIG_fail
;
7478 arg3
= (int)(SWIG_As_int(obj2
));
7479 if (SWIG_arg_fail(3)) SWIG_fail
;
7482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7483 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
7485 wxPyEndAllowThreads(__tstate
);
7486 if (PyErr_Occurred()) SWIG_fail
;
7488 Py_INCREF(Py_None
); resultobj
= Py_None
;
7490 if (temp2
) delete arg2
;
7495 if (temp2
) delete arg2
;
7501 static PyObject
*_wrap_ListBox_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7502 PyObject
*resultobj
;
7503 wxListBox
*arg1
= (wxListBox
*) 0 ;
7504 wxArrayString
*arg2
= 0 ;
7505 bool temp2
= false ;
7506 PyObject
* obj0
= 0 ;
7507 PyObject
* obj1
= 0 ;
7509 (char *) "self",(char *) "items", NULL
7512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
7513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7514 if (SWIG_arg_fail(1)) SWIG_fail
;
7516 if (! PySequence_Check(obj1
)) {
7517 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7520 arg2
= new wxArrayString
;
7522 int i
, len
=PySequence_Length(obj1
);
7523 for (i
=0; i
<len
; i
++) {
7524 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7525 wxString
* s
= wxString_in_helper(item
);
7526 if (PyErr_Occurred()) SWIG_fail
;
7533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7534 (arg1
)->Set((wxArrayString
const &)*arg2
);
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_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7553 PyObject
*resultobj
;
7554 wxListBox
*arg1
= (wxListBox
*) 0 ;
7557 PyObject
* obj0
= 0 ;
7558 PyObject
* obj1
= 0 ;
7560 (char *) "self",(char *) "n", NULL
7563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",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 arg2
= (int)(SWIG_As_int(obj1
));
7568 if (SWIG_arg_fail(2)) SWIG_fail
;
7571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7572 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
7574 wxPyEndAllowThreads(__tstate
);
7575 if (PyErr_Occurred()) SWIG_fail
;
7578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7586 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7587 PyObject
*resultobj
;
7588 wxListBox
*arg1
= (wxListBox
*) 0 ;
7590 bool arg3
= (bool) true ;
7591 PyObject
* obj0
= 0 ;
7592 PyObject
* obj1
= 0 ;
7593 PyObject
* obj2
= 0 ;
7595 (char *) "self",(char *) "n",(char *) "select", NULL
7598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7600 if (SWIG_arg_fail(1)) SWIG_fail
;
7602 arg2
= (int)(SWIG_As_int(obj1
));
7603 if (SWIG_arg_fail(2)) SWIG_fail
;
7607 arg3
= (bool)(SWIG_As_bool(obj2
));
7608 if (SWIG_arg_fail(3)) SWIG_fail
;
7612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7613 (arg1
)->SetSelection(arg2
,arg3
);
7615 wxPyEndAllowThreads(__tstate
);
7616 if (PyErr_Occurred()) SWIG_fail
;
7618 Py_INCREF(Py_None
); resultobj
= Py_None
;
7625 static PyObject
*_wrap_ListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7626 PyObject
*resultobj
;
7627 wxListBox
*arg1
= (wxListBox
*) 0 ;
7629 PyObject
* obj0
= 0 ;
7630 PyObject
* obj1
= 0 ;
7632 (char *) "self",(char *) "n", NULL
7635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
7636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7637 if (SWIG_arg_fail(1)) SWIG_fail
;
7639 arg2
= (int)(SWIG_As_int(obj1
));
7640 if (SWIG_arg_fail(2)) SWIG_fail
;
7643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7644 (arg1
)->Select(arg2
);
7646 wxPyEndAllowThreads(__tstate
);
7647 if (PyErr_Occurred()) SWIG_fail
;
7649 Py_INCREF(Py_None
); resultobj
= Py_None
;
7656 static PyObject
*_wrap_ListBox_Deselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7657 PyObject
*resultobj
;
7658 wxListBox
*arg1
= (wxListBox
*) 0 ;
7660 PyObject
* obj0
= 0 ;
7661 PyObject
* obj1
= 0 ;
7663 (char *) "self",(char *) "n", NULL
7666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
7667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7668 if (SWIG_arg_fail(1)) SWIG_fail
;
7670 arg2
= (int)(SWIG_As_int(obj1
));
7671 if (SWIG_arg_fail(2)) SWIG_fail
;
7674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7675 (arg1
)->Deselect(arg2
);
7677 wxPyEndAllowThreads(__tstate
);
7678 if (PyErr_Occurred()) SWIG_fail
;
7680 Py_INCREF(Py_None
); resultobj
= Py_None
;
7687 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7688 PyObject
*resultobj
;
7689 wxListBox
*arg1
= (wxListBox
*) 0 ;
7690 int arg2
= (int) -1 ;
7691 PyObject
* obj0
= 0 ;
7692 PyObject
* obj1
= 0 ;
7694 (char *) "self",(char *) "itemToLeaveSelected", NULL
7697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
7698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7699 if (SWIG_arg_fail(1)) SWIG_fail
;
7702 arg2
= (int)(SWIG_As_int(obj1
));
7703 if (SWIG_arg_fail(2)) SWIG_fail
;
7707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7708 (arg1
)->DeselectAll(arg2
);
7710 wxPyEndAllowThreads(__tstate
);
7711 if (PyErr_Occurred()) SWIG_fail
;
7713 Py_INCREF(Py_None
); resultobj
= Py_None
;
7720 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7721 PyObject
*resultobj
;
7722 wxListBox
*arg1
= (wxListBox
*) 0 ;
7723 wxString
*arg2
= 0 ;
7724 bool arg3
= (bool) true ;
7726 bool temp2
= false ;
7727 PyObject
* obj0
= 0 ;
7728 PyObject
* obj1
= 0 ;
7729 PyObject
* obj2
= 0 ;
7731 (char *) "self",(char *) "s",(char *) "select", NULL
7734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7736 if (SWIG_arg_fail(1)) SWIG_fail
;
7738 arg2
= wxString_in_helper(obj1
);
7739 if (arg2
== NULL
) SWIG_fail
;
7744 arg3
= (bool)(SWIG_As_bool(obj2
));
7745 if (SWIG_arg_fail(3)) SWIG_fail
;
7749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7750 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
7752 wxPyEndAllowThreads(__tstate
);
7753 if (PyErr_Occurred()) SWIG_fail
;
7756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7772 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7773 PyObject
*resultobj
;
7774 wxListBox
*arg1
= (wxListBox
*) 0 ;
7776 PyObject
* obj0
= 0 ;
7778 (char *) "self", NULL
7781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
7782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7783 if (SWIG_arg_fail(1)) SWIG_fail
;
7785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7786 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
7788 wxPyEndAllowThreads(__tstate
);
7789 if (PyErr_Occurred()) SWIG_fail
;
7798 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7799 PyObject
*resultobj
;
7800 wxListBox
*arg1
= (wxListBox
*) 0 ;
7802 PyObject
* obj0
= 0 ;
7803 PyObject
* obj1
= 0 ;
7805 (char *) "self",(char *) "n", NULL
7808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
7809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7810 if (SWIG_arg_fail(1)) SWIG_fail
;
7812 arg2
= (int)(SWIG_As_int(obj1
));
7813 if (SWIG_arg_fail(2)) SWIG_fail
;
7816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7817 (arg1
)->SetFirstItem(arg2
);
7819 wxPyEndAllowThreads(__tstate
);
7820 if (PyErr_Occurred()) SWIG_fail
;
7822 Py_INCREF(Py_None
); resultobj
= Py_None
;
7829 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7830 PyObject
*resultobj
;
7831 wxListBox
*arg1
= (wxListBox
*) 0 ;
7832 wxString
*arg2
= 0 ;
7833 bool temp2
= false ;
7834 PyObject
* obj0
= 0 ;
7835 PyObject
* obj1
= 0 ;
7837 (char *) "self",(char *) "s", NULL
7840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
7841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7842 if (SWIG_arg_fail(1)) SWIG_fail
;
7844 arg2
= wxString_in_helper(obj1
);
7845 if (arg2
== NULL
) SWIG_fail
;
7849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7850 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
7852 wxPyEndAllowThreads(__tstate
);
7853 if (PyErr_Occurred()) SWIG_fail
;
7855 Py_INCREF(Py_None
); resultobj
= Py_None
;
7870 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7871 PyObject
*resultobj
;
7872 wxListBox
*arg1
= (wxListBox
*) 0 ;
7874 PyObject
* obj0
= 0 ;
7875 PyObject
* obj1
= 0 ;
7877 (char *) "self",(char *) "n", NULL
7880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
7881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7882 if (SWIG_arg_fail(1)) SWIG_fail
;
7884 arg2
= (int)(SWIG_As_int(obj1
));
7885 if (SWIG_arg_fail(2)) SWIG_fail
;
7888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7889 (arg1
)->EnsureVisible(arg2
);
7891 wxPyEndAllowThreads(__tstate
);
7892 if (PyErr_Occurred()) SWIG_fail
;
7894 Py_INCREF(Py_None
); resultobj
= Py_None
;
7901 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7902 PyObject
*resultobj
;
7903 wxListBox
*arg1
= (wxListBox
*) 0 ;
7904 wxString
*arg2
= 0 ;
7905 bool temp2
= false ;
7906 PyObject
* obj0
= 0 ;
7907 PyObject
* obj1
= 0 ;
7909 (char *) "self",(char *) "s", NULL
7912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
7913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7914 if (SWIG_arg_fail(1)) SWIG_fail
;
7916 arg2
= wxString_in_helper(obj1
);
7917 if (arg2
== NULL
) SWIG_fail
;
7921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7922 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
7924 wxPyEndAllowThreads(__tstate
);
7925 if (PyErr_Occurred()) SWIG_fail
;
7927 Py_INCREF(Py_None
); resultobj
= Py_None
;
7942 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7943 PyObject
*resultobj
;
7944 wxListBox
*arg1
= (wxListBox
*) 0 ;
7946 PyObject
* obj0
= 0 ;
7948 (char *) "self", NULL
7951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
7952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7953 if (SWIG_arg_fail(1)) SWIG_fail
;
7955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7956 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
7958 wxPyEndAllowThreads(__tstate
);
7959 if (PyErr_Occurred()) SWIG_fail
;
7962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7970 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7971 PyObject
*resultobj
;
7972 wxListBox
*arg1
= (wxListBox
*) 0 ;
7974 wxColour
*arg3
= 0 ;
7976 PyObject
* obj0
= 0 ;
7977 PyObject
* obj1
= 0 ;
7978 PyObject
* obj2
= 0 ;
7980 (char *) "self",(char *) "item",(char *) "c", NULL
7983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7985 if (SWIG_arg_fail(1)) SWIG_fail
;
7987 arg2
= (int)(SWIG_As_int(obj1
));
7988 if (SWIG_arg_fail(2)) SWIG_fail
;
7992 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
7995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7996 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
7998 wxPyEndAllowThreads(__tstate
);
7999 if (PyErr_Occurred()) SWIG_fail
;
8001 Py_INCREF(Py_None
); resultobj
= Py_None
;
8008 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8009 PyObject
*resultobj
;
8010 wxListBox
*arg1
= (wxListBox
*) 0 ;
8012 wxColour
*arg3
= 0 ;
8014 PyObject
* obj0
= 0 ;
8015 PyObject
* obj1
= 0 ;
8016 PyObject
* obj2
= 0 ;
8018 (char *) "self",(char *) "item",(char *) "c", NULL
8021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8023 if (SWIG_arg_fail(1)) SWIG_fail
;
8025 arg2
= (int)(SWIG_As_int(obj1
));
8026 if (SWIG_arg_fail(2)) SWIG_fail
;
8030 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8034 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
8036 wxPyEndAllowThreads(__tstate
);
8037 if (PyErr_Occurred()) SWIG_fail
;
8039 Py_INCREF(Py_None
); resultobj
= Py_None
;
8046 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8047 PyObject
*resultobj
;
8048 wxListBox
*arg1
= (wxListBox
*) 0 ;
8051 PyObject
* obj0
= 0 ;
8052 PyObject
* obj1
= 0 ;
8053 PyObject
* obj2
= 0 ;
8055 (char *) "self",(char *) "item",(char *) "f", NULL
8058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8060 if (SWIG_arg_fail(1)) SWIG_fail
;
8062 arg2
= (int)(SWIG_As_int(obj1
));
8063 if (SWIG_arg_fail(2)) SWIG_fail
;
8066 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8067 if (SWIG_arg_fail(3)) SWIG_fail
;
8069 SWIG_null_ref("wxFont");
8071 if (SWIG_arg_fail(3)) SWIG_fail
;
8074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8075 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
8077 wxPyEndAllowThreads(__tstate
);
8078 if (PyErr_Occurred()) SWIG_fail
;
8080 Py_INCREF(Py_None
); resultobj
= Py_None
;
8087 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8088 PyObject
*resultobj
;
8089 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8090 wxVisualAttributes result
;
8091 PyObject
* obj0
= 0 ;
8093 (char *) "variant", NULL
8096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
8099 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
8100 if (SWIG_arg_fail(1)) SWIG_fail
;
8104 if (!wxPyCheckForApp()) SWIG_fail
;
8105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8106 result
= wxListBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
8108 wxPyEndAllowThreads(__tstate
);
8109 if (PyErr_Occurred()) SWIG_fail
;
8112 wxVisualAttributes
* resultptr
;
8113 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
8114 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
8122 static PyObject
* ListBox_swigregister(PyObject
*, PyObject
*args
) {
8124 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8125 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
8127 return Py_BuildValue((char *)"");
8129 static PyObject
*_wrap_new_CheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8130 PyObject
*resultobj
;
8131 wxWindow
*arg1
= (wxWindow
*) 0 ;
8132 int arg2
= (int) -1 ;
8133 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8134 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8135 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8136 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8137 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8138 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8139 long arg6
= (long) 0 ;
8140 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8141 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8142 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8143 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8144 wxCheckListBox
*result
;
8147 bool temp5
= false ;
8148 bool temp8
= false ;
8149 PyObject
* obj0
= 0 ;
8150 PyObject
* obj1
= 0 ;
8151 PyObject
* obj2
= 0 ;
8152 PyObject
* obj3
= 0 ;
8153 PyObject
* obj4
= 0 ;
8154 PyObject
* obj5
= 0 ;
8155 PyObject
* obj6
= 0 ;
8156 PyObject
* obj7
= 0 ;
8158 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
8162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8163 if (SWIG_arg_fail(1)) SWIG_fail
;
8166 arg2
= (int)(SWIG_As_int(obj1
));
8167 if (SWIG_arg_fail(2)) SWIG_fail
;
8173 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8179 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8184 if (! PySequence_Check(obj4
)) {
8185 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8188 arg5
= new wxArrayString
;
8190 int i
, len
=PySequence_Length(obj4
);
8191 for (i
=0; i
<len
; i
++) {
8192 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8193 wxString
* s
= wxString_in_helper(item
);
8194 if (PyErr_Occurred()) SWIG_fail
;
8203 arg6
= (long)(SWIG_As_long(obj5
));
8204 if (SWIG_arg_fail(6)) SWIG_fail
;
8209 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
8210 if (SWIG_arg_fail(7)) SWIG_fail
;
8212 SWIG_null_ref("wxValidator");
8214 if (SWIG_arg_fail(7)) SWIG_fail
;
8219 arg8
= wxString_in_helper(obj7
);
8220 if (arg8
== NULL
) SWIG_fail
;
8225 if (!wxPyCheckForApp()) SWIG_fail
;
8226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8227 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8229 wxPyEndAllowThreads(__tstate
);
8230 if (PyErr_Occurred()) SWIG_fail
;
8232 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
8234 if (temp5
) delete arg5
;
8243 if (temp5
) delete arg5
;
8253 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8254 PyObject
*resultobj
;
8255 wxCheckListBox
*result
;
8260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
8262 if (!wxPyCheckForApp()) SWIG_fail
;
8263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8264 result
= (wxCheckListBox
*)new wxCheckListBox();
8266 wxPyEndAllowThreads(__tstate
);
8267 if (PyErr_Occurred()) SWIG_fail
;
8269 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
8276 static PyObject
*_wrap_CheckListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8277 PyObject
*resultobj
;
8278 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8279 wxWindow
*arg2
= (wxWindow
*) 0 ;
8280 int arg3
= (int) -1 ;
8281 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8282 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8283 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8284 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8285 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8286 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8287 long arg7
= (long) 0 ;
8288 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8289 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8290 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8291 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8295 bool temp6
= false ;
8296 bool temp9
= false ;
8297 PyObject
* obj0
= 0 ;
8298 PyObject
* obj1
= 0 ;
8299 PyObject
* obj2
= 0 ;
8300 PyObject
* obj3
= 0 ;
8301 PyObject
* obj4
= 0 ;
8302 PyObject
* obj5
= 0 ;
8303 PyObject
* obj6
= 0 ;
8304 PyObject
* obj7
= 0 ;
8305 PyObject
* obj8
= 0 ;
8307 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
8311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8312 if (SWIG_arg_fail(1)) SWIG_fail
;
8313 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8314 if (SWIG_arg_fail(2)) SWIG_fail
;
8317 arg3
= (int)(SWIG_As_int(obj2
));
8318 if (SWIG_arg_fail(3)) SWIG_fail
;
8324 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8330 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8335 if (! PySequence_Check(obj5
)) {
8336 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8339 arg6
= new wxArrayString
;
8341 int i
, len
=PySequence_Length(obj5
);
8342 for (i
=0; i
<len
; i
++) {
8343 PyObject
* item
= PySequence_GetItem(obj5
, i
);
8344 wxString
* s
= wxString_in_helper(item
);
8345 if (PyErr_Occurred()) SWIG_fail
;
8354 arg7
= (long)(SWIG_As_long(obj6
));
8355 if (SWIG_arg_fail(7)) SWIG_fail
;
8360 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
8361 if (SWIG_arg_fail(8)) SWIG_fail
;
8363 SWIG_null_ref("wxValidator");
8365 if (SWIG_arg_fail(8)) SWIG_fail
;
8370 arg9
= wxString_in_helper(obj8
);
8371 if (arg9
== NULL
) SWIG_fail
;
8376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8377 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
8379 wxPyEndAllowThreads(__tstate
);
8380 if (PyErr_Occurred()) SWIG_fail
;
8383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8386 if (temp6
) delete arg6
;
8395 if (temp6
) delete arg6
;
8405 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8406 PyObject
*resultobj
;
8407 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8410 PyObject
* obj0
= 0 ;
8411 PyObject
* obj1
= 0 ;
8413 (char *) "self",(char *) "index", NULL
8416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
8417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8418 if (SWIG_arg_fail(1)) SWIG_fail
;
8420 arg2
= (int)(SWIG_As_int(obj1
));
8421 if (SWIG_arg_fail(2)) SWIG_fail
;
8424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8425 result
= (bool)(arg1
)->IsChecked(arg2
);
8427 wxPyEndAllowThreads(__tstate
);
8428 if (PyErr_Occurred()) SWIG_fail
;
8431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8439 static PyObject
*_wrap_CheckListBox_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8440 PyObject
*resultobj
;
8441 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8443 int arg3
= (int) true ;
8444 PyObject
* obj0
= 0 ;
8445 PyObject
* obj1
= 0 ;
8446 PyObject
* obj2
= 0 ;
8448 (char *) "self",(char *) "index",(char *) "check", NULL
8451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8453 if (SWIG_arg_fail(1)) SWIG_fail
;
8455 arg2
= (int)(SWIG_As_int(obj1
));
8456 if (SWIG_arg_fail(2)) SWIG_fail
;
8460 arg3
= (int)(SWIG_As_int(obj2
));
8461 if (SWIG_arg_fail(3)) SWIG_fail
;
8465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8466 (arg1
)->Check(arg2
,arg3
);
8468 wxPyEndAllowThreads(__tstate
);
8469 if (PyErr_Occurred()) SWIG_fail
;
8471 Py_INCREF(Py_None
); resultobj
= Py_None
;
8478 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8479 PyObject
*resultobj
;
8480 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8482 PyObject
* obj0
= 0 ;
8484 (char *) "self", NULL
8487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
8488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8489 if (SWIG_arg_fail(1)) SWIG_fail
;
8491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8492 result
= (int)(arg1
)->GetItemHeight();
8494 wxPyEndAllowThreads(__tstate
);
8495 if (PyErr_Occurred()) SWIG_fail
;
8498 resultobj
= SWIG_From_int((int)(result
));
8506 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8507 PyObject
*resultobj
;
8508 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8512 PyObject
* obj0
= 0 ;
8513 PyObject
* obj1
= 0 ;
8515 (char *) "self",(char *) "pt", NULL
8518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8520 if (SWIG_arg_fail(1)) SWIG_fail
;
8523 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8527 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
8529 wxPyEndAllowThreads(__tstate
);
8530 if (PyErr_Occurred()) SWIG_fail
;
8533 resultobj
= SWIG_From_int((int)(result
));
8541 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8542 PyObject
*resultobj
;
8543 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8547 PyObject
* obj0
= 0 ;
8548 PyObject
* obj1
= 0 ;
8549 PyObject
* obj2
= 0 ;
8551 (char *) "self",(char *) "x",(char *) "y", NULL
8554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8556 if (SWIG_arg_fail(1)) SWIG_fail
;
8558 arg2
= (int)(SWIG_As_int(obj1
));
8559 if (SWIG_arg_fail(2)) SWIG_fail
;
8562 arg3
= (int)(SWIG_As_int(obj2
));
8563 if (SWIG_arg_fail(3)) SWIG_fail
;
8566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8567 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
8569 wxPyEndAllowThreads(__tstate
);
8570 if (PyErr_Occurred()) SWIG_fail
;
8573 resultobj
= SWIG_From_int((int)(result
));
8581 static PyObject
* CheckListBox_swigregister(PyObject
*, PyObject
*args
) {
8583 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8584 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
8586 return Py_BuildValue((char *)"");
8588 static int _wrap_TextCtrlNameStr_set(PyObject
*) {
8589 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
8594 static PyObject
*_wrap_TextCtrlNameStr_get(void) {
8599 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
8601 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
8608 static PyObject
*_wrap_new_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8609 PyObject
*resultobj
;
8610 wxColour
const &arg1_defvalue
= wxNullColour
;
8611 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
8612 wxColour
const &arg2_defvalue
= wxNullColour
;
8613 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8614 wxFont
const &arg3_defvalue
= wxNullFont
;
8615 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
8616 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
8620 PyObject
* obj0
= 0 ;
8621 PyObject
* obj1
= 0 ;
8622 PyObject
* obj2
= 0 ;
8623 PyObject
* obj3
= 0 ;
8625 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
8628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8632 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
8638 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8643 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8644 if (SWIG_arg_fail(3)) SWIG_fail
;
8646 SWIG_null_ref("wxFont");
8648 if (SWIG_arg_fail(3)) SWIG_fail
;
8653 arg4
= (wxTextAttrAlignment
)(SWIG_As_int(obj3
));
8654 if (SWIG_arg_fail(4)) SWIG_fail
;
8658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8659 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
8661 wxPyEndAllowThreads(__tstate
);
8662 if (PyErr_Occurred()) SWIG_fail
;
8664 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
8671 static PyObject
*_wrap_delete_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8672 PyObject
*resultobj
;
8673 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8674 PyObject
* obj0
= 0 ;
8676 (char *) "self", NULL
8679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
8680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8681 if (SWIG_arg_fail(1)) SWIG_fail
;
8683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8686 wxPyEndAllowThreads(__tstate
);
8687 if (PyErr_Occurred()) SWIG_fail
;
8689 Py_INCREF(Py_None
); resultobj
= Py_None
;
8696 static PyObject
*_wrap_TextAttr_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8697 PyObject
*resultobj
;
8698 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8699 PyObject
* obj0
= 0 ;
8701 (char *) "self", NULL
8704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
8705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8706 if (SWIG_arg_fail(1)) SWIG_fail
;
8708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8711 wxPyEndAllowThreads(__tstate
);
8712 if (PyErr_Occurred()) SWIG_fail
;
8714 Py_INCREF(Py_None
); resultobj
= Py_None
;
8721 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8722 PyObject
*resultobj
;
8723 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8724 wxColour
*arg2
= 0 ;
8726 PyObject
* obj0
= 0 ;
8727 PyObject
* obj1
= 0 ;
8729 (char *) "self",(char *) "colText", NULL
8732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
8733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8734 if (SWIG_arg_fail(1)) SWIG_fail
;
8737 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8741 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
8743 wxPyEndAllowThreads(__tstate
);
8744 if (PyErr_Occurred()) SWIG_fail
;
8746 Py_INCREF(Py_None
); resultobj
= Py_None
;
8753 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8754 PyObject
*resultobj
;
8755 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8756 wxColour
*arg2
= 0 ;
8758 PyObject
* obj0
= 0 ;
8759 PyObject
* obj1
= 0 ;
8761 (char *) "self",(char *) "colBack", NULL
8764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
8765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8766 if (SWIG_arg_fail(1)) SWIG_fail
;
8769 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8773 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
8775 wxPyEndAllowThreads(__tstate
);
8776 if (PyErr_Occurred()) SWIG_fail
;
8778 Py_INCREF(Py_None
); resultobj
= Py_None
;
8785 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8786 PyObject
*resultobj
;
8787 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8789 long arg3
= (long) wxTEXT_ATTR_FONT
;
8790 PyObject
* obj0
= 0 ;
8791 PyObject
* obj1
= 0 ;
8792 PyObject
* obj2
= 0 ;
8794 (char *) "self",(char *) "font",(char *) "flags", NULL
8797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8799 if (SWIG_arg_fail(1)) SWIG_fail
;
8801 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8802 if (SWIG_arg_fail(2)) SWIG_fail
;
8804 SWIG_null_ref("wxFont");
8806 if (SWIG_arg_fail(2)) SWIG_fail
;
8810 arg3
= (long)(SWIG_As_long(obj2
));
8811 if (SWIG_arg_fail(3)) SWIG_fail
;
8815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8816 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
8818 wxPyEndAllowThreads(__tstate
);
8819 if (PyErr_Occurred()) SWIG_fail
;
8821 Py_INCREF(Py_None
); resultobj
= Py_None
;
8828 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8829 PyObject
*resultobj
;
8830 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8831 wxTextAttrAlignment arg2
;
8832 PyObject
* obj0
= 0 ;
8833 PyObject
* obj1
= 0 ;
8835 (char *) "self",(char *) "alignment", NULL
8838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8840 if (SWIG_arg_fail(1)) SWIG_fail
;
8842 arg2
= (wxTextAttrAlignment
)(SWIG_As_int(obj1
));
8843 if (SWIG_arg_fail(2)) SWIG_fail
;
8846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8847 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
8849 wxPyEndAllowThreads(__tstate
);
8850 if (PyErr_Occurred()) SWIG_fail
;
8852 Py_INCREF(Py_None
); resultobj
= Py_None
;
8859 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8860 PyObject
*resultobj
;
8861 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8862 wxArrayInt
*arg2
= 0 ;
8863 bool temp2
= false ;
8864 PyObject
* obj0
= 0 ;
8865 PyObject
* obj1
= 0 ;
8867 (char *) "self",(char *) "tabs", NULL
8870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
8871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8872 if (SWIG_arg_fail(1)) SWIG_fail
;
8874 if (! PySequence_Check(obj1
)) {
8875 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
8878 arg2
= new wxArrayInt
;
8880 int i
, len
=PySequence_Length(obj1
);
8881 for (i
=0; i
<len
; i
++) {
8882 PyObject
* item
= PySequence_GetItem(obj1
, i
);
8883 PyObject
* number
= PyNumber_Int(item
);
8884 arg2
->Add(PyInt_AS_LONG(number
));
8890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8891 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
8893 wxPyEndAllowThreads(__tstate
);
8894 if (PyErr_Occurred()) SWIG_fail
;
8896 Py_INCREF(Py_None
); resultobj
= Py_None
;
8898 if (temp2
) delete arg2
;
8903 if (temp2
) delete arg2
;
8909 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8910 PyObject
*resultobj
;
8911 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8913 int arg3
= (int) 0 ;
8914 PyObject
* obj0
= 0 ;
8915 PyObject
* obj1
= 0 ;
8916 PyObject
* obj2
= 0 ;
8918 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
8921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8923 if (SWIG_arg_fail(1)) SWIG_fail
;
8925 arg2
= (int)(SWIG_As_int(obj1
));
8926 if (SWIG_arg_fail(2)) SWIG_fail
;
8930 arg3
= (int)(SWIG_As_int(obj2
));
8931 if (SWIG_arg_fail(3)) SWIG_fail
;
8935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8936 (arg1
)->SetLeftIndent(arg2
,arg3
);
8938 wxPyEndAllowThreads(__tstate
);
8939 if (PyErr_Occurred()) SWIG_fail
;
8941 Py_INCREF(Py_None
); resultobj
= Py_None
;
8948 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8949 PyObject
*resultobj
;
8950 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8952 PyObject
* obj0
= 0 ;
8953 PyObject
* obj1
= 0 ;
8955 (char *) "self",(char *) "indent", NULL
8958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
8959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8960 if (SWIG_arg_fail(1)) SWIG_fail
;
8962 arg2
= (int)(SWIG_As_int(obj1
));
8963 if (SWIG_arg_fail(2)) SWIG_fail
;
8966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8967 (arg1
)->SetRightIndent(arg2
);
8969 wxPyEndAllowThreads(__tstate
);
8970 if (PyErr_Occurred()) SWIG_fail
;
8972 Py_INCREF(Py_None
); resultobj
= Py_None
;
8979 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8980 PyObject
*resultobj
;
8981 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8983 PyObject
* obj0
= 0 ;
8984 PyObject
* obj1
= 0 ;
8986 (char *) "self",(char *) "flags", NULL
8989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
8990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8991 if (SWIG_arg_fail(1)) SWIG_fail
;
8993 arg2
= (long)(SWIG_As_long(obj1
));
8994 if (SWIG_arg_fail(2)) SWIG_fail
;
8997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8998 (arg1
)->SetFlags(arg2
);
9000 wxPyEndAllowThreads(__tstate
);
9001 if (PyErr_Occurred()) SWIG_fail
;
9003 Py_INCREF(Py_None
); resultobj
= Py_None
;
9010 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9011 PyObject
*resultobj
;
9012 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9014 PyObject
* obj0
= 0 ;
9016 (char *) "self", NULL
9019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
9020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9021 if (SWIG_arg_fail(1)) SWIG_fail
;
9023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9024 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
9026 wxPyEndAllowThreads(__tstate
);
9027 if (PyErr_Occurred()) SWIG_fail
;
9030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9038 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9039 PyObject
*resultobj
;
9040 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9042 PyObject
* obj0
= 0 ;
9044 (char *) "self", NULL
9047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
9048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9049 if (SWIG_arg_fail(1)) SWIG_fail
;
9051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9052 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
9054 wxPyEndAllowThreads(__tstate
);
9055 if (PyErr_Occurred()) SWIG_fail
;
9058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9066 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9067 PyObject
*resultobj
;
9068 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9070 PyObject
* obj0
= 0 ;
9072 (char *) "self", NULL
9075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
9076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9077 if (SWIG_arg_fail(1)) SWIG_fail
;
9079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9080 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
9082 wxPyEndAllowThreads(__tstate
);
9083 if (PyErr_Occurred()) SWIG_fail
;
9086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9094 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9095 PyObject
*resultobj
;
9096 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9098 PyObject
* obj0
= 0 ;
9100 (char *) "self", NULL
9103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
9104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9105 if (SWIG_arg_fail(1)) SWIG_fail
;
9107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9108 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
9110 wxPyEndAllowThreads(__tstate
);
9111 if (PyErr_Occurred()) SWIG_fail
;
9114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9122 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9123 PyObject
*resultobj
;
9124 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9126 PyObject
* obj0
= 0 ;
9128 (char *) "self", NULL
9131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
9132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9133 if (SWIG_arg_fail(1)) SWIG_fail
;
9135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9136 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
9138 wxPyEndAllowThreads(__tstate
);
9139 if (PyErr_Occurred()) SWIG_fail
;
9142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9150 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9151 PyObject
*resultobj
;
9152 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9154 PyObject
* obj0
= 0 ;
9156 (char *) "self", NULL
9159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
9160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9161 if (SWIG_arg_fail(1)) SWIG_fail
;
9163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9164 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
9166 wxPyEndAllowThreads(__tstate
);
9167 if (PyErr_Occurred()) SWIG_fail
;
9170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9178 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9179 PyObject
*resultobj
;
9180 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9182 PyObject
* obj0
= 0 ;
9184 (char *) "self", NULL
9187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
9188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9189 if (SWIG_arg_fail(1)) SWIG_fail
;
9191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9192 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
9194 wxPyEndAllowThreads(__tstate
);
9195 if (PyErr_Occurred()) SWIG_fail
;
9198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9206 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9207 PyObject
*resultobj
;
9208 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9211 PyObject
* obj0
= 0 ;
9212 PyObject
* obj1
= 0 ;
9214 (char *) "self",(char *) "flag", NULL
9217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
9218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9219 if (SWIG_arg_fail(1)) SWIG_fail
;
9221 arg2
= (long)(SWIG_As_long(obj1
));
9222 if (SWIG_arg_fail(2)) SWIG_fail
;
9225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9226 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
9228 wxPyEndAllowThreads(__tstate
);
9229 if (PyErr_Occurred()) SWIG_fail
;
9232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9240 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9241 PyObject
*resultobj
;
9242 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9244 PyObject
* obj0
= 0 ;
9246 (char *) "self", NULL
9249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
9250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9251 if (SWIG_arg_fail(1)) SWIG_fail
;
9253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9255 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
9256 result
= (wxColour
*) &_result_ref
;
9259 wxPyEndAllowThreads(__tstate
);
9260 if (PyErr_Occurred()) SWIG_fail
;
9262 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9269 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9270 PyObject
*resultobj
;
9271 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9273 PyObject
* obj0
= 0 ;
9275 (char *) "self", NULL
9278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
9279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9280 if (SWIG_arg_fail(1)) SWIG_fail
;
9282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9284 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
9285 result
= (wxColour
*) &_result_ref
;
9288 wxPyEndAllowThreads(__tstate
);
9289 if (PyErr_Occurred()) SWIG_fail
;
9291 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9298 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9299 PyObject
*resultobj
;
9300 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9302 PyObject
* obj0
= 0 ;
9304 (char *) "self", NULL
9307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
9308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9309 if (SWIG_arg_fail(1)) SWIG_fail
;
9311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9313 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
9314 result
= (wxFont
*) &_result_ref
;
9317 wxPyEndAllowThreads(__tstate
);
9318 if (PyErr_Occurred()) SWIG_fail
;
9321 wxFont
* resultptr
= new wxFont(*result
);
9322 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
9330 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9331 PyObject
*resultobj
;
9332 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9333 wxTextAttrAlignment result
;
9334 PyObject
* obj0
= 0 ;
9336 (char *) "self", NULL
9339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
9340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9341 if (SWIG_arg_fail(1)) SWIG_fail
;
9343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9344 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
9346 wxPyEndAllowThreads(__tstate
);
9347 if (PyErr_Occurred()) SWIG_fail
;
9349 resultobj
= SWIG_From_int((result
));
9356 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9357 PyObject
*resultobj
;
9358 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9360 PyObject
* obj0
= 0 ;
9362 (char *) "self", NULL
9365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
9366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9367 if (SWIG_arg_fail(1)) SWIG_fail
;
9369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9371 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
9372 result
= (wxArrayInt
*) &_result_ref
;
9375 wxPyEndAllowThreads(__tstate
);
9376 if (PyErr_Occurred()) SWIG_fail
;
9379 resultobj
= PyList_New(0);
9381 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
9382 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
9383 PyList_Append(resultobj
, val
);
9393 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9394 PyObject
*resultobj
;
9395 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9397 PyObject
* obj0
= 0 ;
9399 (char *) "self", NULL
9402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
9403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9404 if (SWIG_arg_fail(1)) SWIG_fail
;
9406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9407 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
9409 wxPyEndAllowThreads(__tstate
);
9410 if (PyErr_Occurred()) SWIG_fail
;
9413 resultobj
= SWIG_From_long((long)(result
));
9421 static PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9422 PyObject
*resultobj
;
9423 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9425 PyObject
* obj0
= 0 ;
9427 (char *) "self", NULL
9430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftSubIndent",kwnames
,&obj0
)) goto fail
;
9431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9432 if (SWIG_arg_fail(1)) SWIG_fail
;
9434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9435 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
9437 wxPyEndAllowThreads(__tstate
);
9438 if (PyErr_Occurred()) SWIG_fail
;
9441 resultobj
= SWIG_From_long((long)(result
));
9449 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9450 PyObject
*resultobj
;
9451 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9453 PyObject
* obj0
= 0 ;
9455 (char *) "self", NULL
9458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
9459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9460 if (SWIG_arg_fail(1)) SWIG_fail
;
9462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9463 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
9465 wxPyEndAllowThreads(__tstate
);
9466 if (PyErr_Occurred()) SWIG_fail
;
9469 resultobj
= SWIG_From_long((long)(result
));
9477 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9478 PyObject
*resultobj
;
9479 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9481 PyObject
* obj0
= 0 ;
9483 (char *) "self", NULL
9486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
9487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9488 if (SWIG_arg_fail(1)) SWIG_fail
;
9490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9491 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
9493 wxPyEndAllowThreads(__tstate
);
9494 if (PyErr_Occurred()) SWIG_fail
;
9497 resultobj
= SWIG_From_long((long)(result
));
9505 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9506 PyObject
*resultobj
;
9507 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9509 PyObject
* obj0
= 0 ;
9511 (char *) "self", NULL
9514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
9515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9516 if (SWIG_arg_fail(1)) SWIG_fail
;
9518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9519 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
9521 wxPyEndAllowThreads(__tstate
);
9522 if (PyErr_Occurred()) SWIG_fail
;
9525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9533 static PyObject
*_wrap_TextAttr_Combine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9534 PyObject
*resultobj
;
9535 wxTextAttr
*arg1
= 0 ;
9536 wxTextAttr
*arg2
= 0 ;
9537 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
9539 PyObject
* obj0
= 0 ;
9540 PyObject
* obj1
= 0 ;
9541 PyObject
* obj2
= 0 ;
9543 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
9546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9549 if (SWIG_arg_fail(1)) SWIG_fail
;
9551 SWIG_null_ref("wxTextAttr");
9553 if (SWIG_arg_fail(1)) SWIG_fail
;
9556 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9557 if (SWIG_arg_fail(2)) SWIG_fail
;
9559 SWIG_null_ref("wxTextAttr");
9561 if (SWIG_arg_fail(2)) SWIG_fail
;
9563 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9564 if (SWIG_arg_fail(3)) SWIG_fail
;
9566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9567 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
9569 wxPyEndAllowThreads(__tstate
);
9570 if (PyErr_Occurred()) SWIG_fail
;
9573 wxTextAttr
* resultptr
;
9574 resultptr
= new wxTextAttr((wxTextAttr
&)(result
));
9575 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
9583 static PyObject
* TextAttr_swigregister(PyObject
*, PyObject
*args
) {
9585 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9586 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
9588 return Py_BuildValue((char *)"");
9590 static PyObject
*_wrap_new_TextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9591 PyObject
*resultobj
;
9592 wxWindow
*arg1
= (wxWindow
*) 0 ;
9593 int arg2
= (int) -1 ;
9594 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9595 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9596 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9597 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9598 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9599 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9600 long arg6
= (long) 0 ;
9601 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9602 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9603 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
9604 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9606 bool temp3
= false ;
9609 bool temp8
= false ;
9610 PyObject
* obj0
= 0 ;
9611 PyObject
* obj1
= 0 ;
9612 PyObject
* obj2
= 0 ;
9613 PyObject
* obj3
= 0 ;
9614 PyObject
* obj4
= 0 ;
9615 PyObject
* obj5
= 0 ;
9616 PyObject
* obj6
= 0 ;
9617 PyObject
* obj7
= 0 ;
9619 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9624 if (SWIG_arg_fail(1)) SWIG_fail
;
9627 arg2
= (int)(SWIG_As_int(obj1
));
9628 if (SWIG_arg_fail(2)) SWIG_fail
;
9633 arg3
= wxString_in_helper(obj2
);
9634 if (arg3
== NULL
) SWIG_fail
;
9641 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9647 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9652 arg6
= (long)(SWIG_As_long(obj5
));
9653 if (SWIG_arg_fail(6)) SWIG_fail
;
9658 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
9659 if (SWIG_arg_fail(7)) SWIG_fail
;
9661 SWIG_null_ref("wxValidator");
9663 if (SWIG_arg_fail(7)) SWIG_fail
;
9668 arg8
= wxString_in_helper(obj7
);
9669 if (arg8
== NULL
) SWIG_fail
;
9674 if (!wxPyCheckForApp()) SWIG_fail
;
9675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9676 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9678 wxPyEndAllowThreads(__tstate
);
9679 if (PyErr_Occurred()) SWIG_fail
;
9681 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
9704 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9705 PyObject
*resultobj
;
9711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
9713 if (!wxPyCheckForApp()) SWIG_fail
;
9714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9715 result
= (wxTextCtrl
*)new wxTextCtrl();
9717 wxPyEndAllowThreads(__tstate
);
9718 if (PyErr_Occurred()) SWIG_fail
;
9720 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
9727 static PyObject
*_wrap_TextCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9728 PyObject
*resultobj
;
9729 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9730 wxWindow
*arg2
= (wxWindow
*) 0 ;
9731 int arg3
= (int) -1 ;
9732 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9733 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9734 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
9735 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
9736 wxSize
const &arg6_defvalue
= wxDefaultSize
;
9737 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
9738 long arg7
= (long) 0 ;
9739 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
9740 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
9741 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
9742 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
9744 bool temp4
= false ;
9747 bool temp9
= false ;
9748 PyObject
* obj0
= 0 ;
9749 PyObject
* obj1
= 0 ;
9750 PyObject
* obj2
= 0 ;
9751 PyObject
* obj3
= 0 ;
9752 PyObject
* obj4
= 0 ;
9753 PyObject
* obj5
= 0 ;
9754 PyObject
* obj6
= 0 ;
9755 PyObject
* obj7
= 0 ;
9756 PyObject
* obj8
= 0 ;
9758 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
9762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9763 if (SWIG_arg_fail(1)) SWIG_fail
;
9764 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9765 if (SWIG_arg_fail(2)) SWIG_fail
;
9768 arg3
= (int)(SWIG_As_int(obj2
));
9769 if (SWIG_arg_fail(3)) SWIG_fail
;
9774 arg4
= wxString_in_helper(obj3
);
9775 if (arg4
== NULL
) SWIG_fail
;
9782 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
9788 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
9793 arg7
= (long)(SWIG_As_long(obj6
));
9794 if (SWIG_arg_fail(7)) SWIG_fail
;
9799 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
9800 if (SWIG_arg_fail(8)) SWIG_fail
;
9802 SWIG_null_ref("wxValidator");
9804 if (SWIG_arg_fail(8)) SWIG_fail
;
9809 arg9
= wxString_in_helper(obj8
);
9810 if (arg9
== NULL
) SWIG_fail
;
9815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9816 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9818 wxPyEndAllowThreads(__tstate
);
9819 if (PyErr_Occurred()) SWIG_fail
;
9822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9846 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9847 PyObject
*resultobj
;
9848 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9850 PyObject
* obj0
= 0 ;
9852 (char *) "self", NULL
9855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
9856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9857 if (SWIG_arg_fail(1)) SWIG_fail
;
9859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9860 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
9862 wxPyEndAllowThreads(__tstate
);
9863 if (PyErr_Occurred()) SWIG_fail
;
9867 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9869 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9878 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9879 PyObject
*resultobj
;
9880 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9881 wxString
*arg2
= 0 ;
9882 bool temp2
= false ;
9883 PyObject
* obj0
= 0 ;
9884 PyObject
* obj1
= 0 ;
9886 (char *) "self",(char *) "value", NULL
9889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
9890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9891 if (SWIG_arg_fail(1)) SWIG_fail
;
9893 arg2
= wxString_in_helper(obj1
);
9894 if (arg2
== NULL
) SWIG_fail
;
9898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9899 (arg1
)->SetValue((wxString
const &)*arg2
);
9901 wxPyEndAllowThreads(__tstate
);
9902 if (PyErr_Occurred()) SWIG_fail
;
9904 Py_INCREF(Py_None
); resultobj
= Py_None
;
9919 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9920 PyObject
*resultobj
;
9921 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9925 PyObject
* obj0
= 0 ;
9926 PyObject
* obj1
= 0 ;
9927 PyObject
* obj2
= 0 ;
9929 (char *) "self",(char *) "from",(char *) "to", NULL
9932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9934 if (SWIG_arg_fail(1)) SWIG_fail
;
9936 arg2
= (long)(SWIG_As_long(obj1
));
9937 if (SWIG_arg_fail(2)) SWIG_fail
;
9940 arg3
= (long)(SWIG_As_long(obj2
));
9941 if (SWIG_arg_fail(3)) SWIG_fail
;
9944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9945 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
9947 wxPyEndAllowThreads(__tstate
);
9948 if (PyErr_Occurred()) SWIG_fail
;
9952 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9954 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9963 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9964 PyObject
*resultobj
;
9965 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9968 PyObject
* obj0
= 0 ;
9969 PyObject
* obj1
= 0 ;
9971 (char *) "self",(char *) "lineNo", NULL
9974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
9975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9976 if (SWIG_arg_fail(1)) SWIG_fail
;
9978 arg2
= (long)(SWIG_As_long(obj1
));
9979 if (SWIG_arg_fail(2)) SWIG_fail
;
9982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9983 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
9985 wxPyEndAllowThreads(__tstate
);
9986 if (PyErr_Occurred()) SWIG_fail
;
9989 resultobj
= SWIG_From_int((int)(result
));
9997 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9998 PyObject
*resultobj
;
9999 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10002 PyObject
* obj0
= 0 ;
10003 PyObject
* obj1
= 0 ;
10004 char *kwnames
[] = {
10005 (char *) "self",(char *) "lineNo", NULL
10008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
10009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10010 if (SWIG_arg_fail(1)) SWIG_fail
;
10012 arg2
= (long)(SWIG_As_long(obj1
));
10013 if (SWIG_arg_fail(2)) SWIG_fail
;
10016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10017 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
10019 wxPyEndAllowThreads(__tstate
);
10020 if (PyErr_Occurred()) SWIG_fail
;
10024 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10026 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10035 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10036 PyObject
*resultobj
;
10037 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10039 PyObject
* obj0
= 0 ;
10040 char *kwnames
[] = {
10041 (char *) "self", NULL
10044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
10045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10046 if (SWIG_arg_fail(1)) SWIG_fail
;
10048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10049 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
10051 wxPyEndAllowThreads(__tstate
);
10052 if (PyErr_Occurred()) SWIG_fail
;
10055 resultobj
= SWIG_From_int((int)(result
));
10063 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10064 PyObject
*resultobj
;
10065 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10067 PyObject
* obj0
= 0 ;
10068 char *kwnames
[] = {
10069 (char *) "self", NULL
10072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
10073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10074 if (SWIG_arg_fail(1)) SWIG_fail
;
10076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10077 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
10079 wxPyEndAllowThreads(__tstate
);
10080 if (PyErr_Occurred()) SWIG_fail
;
10083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10091 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10092 PyObject
*resultobj
;
10093 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10095 PyObject
* obj0
= 0 ;
10096 char *kwnames
[] = {
10097 (char *) "self", NULL
10100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
10101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10102 if (SWIG_arg_fail(1)) SWIG_fail
;
10104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10105 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
10107 wxPyEndAllowThreads(__tstate
);
10108 if (PyErr_Occurred()) SWIG_fail
;
10111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10119 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10120 PyObject
*resultobj
;
10121 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10123 PyObject
* obj0
= 0 ;
10124 char *kwnames
[] = {
10125 (char *) "self", NULL
10128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
10129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10130 if (SWIG_arg_fail(1)) SWIG_fail
;
10132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10133 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
10135 wxPyEndAllowThreads(__tstate
);
10136 if (PyErr_Occurred()) SWIG_fail
;
10139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10147 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10148 PyObject
*resultobj
;
10149 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10151 PyObject
* obj0
= 0 ;
10152 char *kwnames
[] = {
10153 (char *) "self", NULL
10156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
10157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10158 if (SWIG_arg_fail(1)) SWIG_fail
;
10160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10161 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
10163 wxPyEndAllowThreads(__tstate
);
10164 if (PyErr_Occurred()) SWIG_fail
;
10167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10175 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10176 PyObject
*resultobj
;
10177 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10178 long *arg2
= (long *) 0 ;
10179 long *arg3
= (long *) 0 ;
10184 PyObject
* obj0
= 0 ;
10185 char *kwnames
[] = {
10186 (char *) "self", NULL
10189 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10190 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
10192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10193 if (SWIG_arg_fail(1)) SWIG_fail
;
10195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10196 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
10198 wxPyEndAllowThreads(__tstate
);
10199 if (PyErr_Occurred()) SWIG_fail
;
10201 Py_INCREF(Py_None
); resultobj
= Py_None
;
10202 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10203 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
10204 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10205 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10212 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10213 PyObject
*resultobj
;
10214 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10216 PyObject
* obj0
= 0 ;
10217 char *kwnames
[] = {
10218 (char *) "self", NULL
10221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
10222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10223 if (SWIG_arg_fail(1)) SWIG_fail
;
10225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10226 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
10228 wxPyEndAllowThreads(__tstate
);
10229 if (PyErr_Occurred()) SWIG_fail
;
10233 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10235 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10244 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10245 PyObject
*resultobj
;
10246 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10247 PyObject
* obj0
= 0 ;
10248 char *kwnames
[] = {
10249 (char *) "self", NULL
10252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
10253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10254 if (SWIG_arg_fail(1)) SWIG_fail
;
10256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10259 wxPyEndAllowThreads(__tstate
);
10260 if (PyErr_Occurred()) SWIG_fail
;
10262 Py_INCREF(Py_None
); resultobj
= Py_None
;
10269 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10270 PyObject
*resultobj
;
10271 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10274 wxString
*arg4
= 0 ;
10275 bool temp4
= false ;
10276 PyObject
* obj0
= 0 ;
10277 PyObject
* obj1
= 0 ;
10278 PyObject
* obj2
= 0 ;
10279 PyObject
* obj3
= 0 ;
10280 char *kwnames
[] = {
10281 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
10284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10286 if (SWIG_arg_fail(1)) SWIG_fail
;
10288 arg2
= (long)(SWIG_As_long(obj1
));
10289 if (SWIG_arg_fail(2)) SWIG_fail
;
10292 arg3
= (long)(SWIG_As_long(obj2
));
10293 if (SWIG_arg_fail(3)) SWIG_fail
;
10296 arg4
= wxString_in_helper(obj3
);
10297 if (arg4
== NULL
) SWIG_fail
;
10301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10302 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
10304 wxPyEndAllowThreads(__tstate
);
10305 if (PyErr_Occurred()) SWIG_fail
;
10307 Py_INCREF(Py_None
); resultobj
= Py_None
;
10322 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10323 PyObject
*resultobj
;
10324 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10327 PyObject
* obj0
= 0 ;
10328 PyObject
* obj1
= 0 ;
10329 PyObject
* obj2
= 0 ;
10330 char *kwnames
[] = {
10331 (char *) "self",(char *) "from",(char *) "to", NULL
10334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10336 if (SWIG_arg_fail(1)) SWIG_fail
;
10338 arg2
= (long)(SWIG_As_long(obj1
));
10339 if (SWIG_arg_fail(2)) SWIG_fail
;
10342 arg3
= (long)(SWIG_As_long(obj2
));
10343 if (SWIG_arg_fail(3)) SWIG_fail
;
10346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10347 (arg1
)->Remove(arg2
,arg3
);
10349 wxPyEndAllowThreads(__tstate
);
10350 if (PyErr_Occurred()) SWIG_fail
;
10352 Py_INCREF(Py_None
); resultobj
= Py_None
;
10359 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10360 PyObject
*resultobj
;
10361 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10362 wxString
*arg2
= 0 ;
10364 bool temp2
= false ;
10365 PyObject
* obj0
= 0 ;
10366 PyObject
* obj1
= 0 ;
10367 char *kwnames
[] = {
10368 (char *) "self",(char *) "file", NULL
10371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
10372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10373 if (SWIG_arg_fail(1)) SWIG_fail
;
10375 arg2
= wxString_in_helper(obj1
);
10376 if (arg2
== NULL
) SWIG_fail
;
10380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10381 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
10383 wxPyEndAllowThreads(__tstate
);
10384 if (PyErr_Occurred()) SWIG_fail
;
10387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10403 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10404 PyObject
*resultobj
;
10405 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10406 wxString
const &arg2_defvalue
= wxPyEmptyString
;
10407 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
10409 bool temp2
= false ;
10410 PyObject
* obj0
= 0 ;
10411 PyObject
* obj1
= 0 ;
10412 char *kwnames
[] = {
10413 (char *) "self",(char *) "file", NULL
10416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
10417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10418 if (SWIG_arg_fail(1)) SWIG_fail
;
10421 arg2
= wxString_in_helper(obj1
);
10422 if (arg2
== NULL
) SWIG_fail
;
10427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10428 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
10430 wxPyEndAllowThreads(__tstate
);
10431 if (PyErr_Occurred()) SWIG_fail
;
10434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10450 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10451 PyObject
*resultobj
;
10452 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10453 PyObject
* obj0
= 0 ;
10454 char *kwnames
[] = {
10455 (char *) "self", NULL
10458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
10459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10460 if (SWIG_arg_fail(1)) SWIG_fail
;
10462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10463 (arg1
)->MarkDirty();
10465 wxPyEndAllowThreads(__tstate
);
10466 if (PyErr_Occurred()) SWIG_fail
;
10468 Py_INCREF(Py_None
); resultobj
= Py_None
;
10475 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10476 PyObject
*resultobj
;
10477 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10478 PyObject
* obj0
= 0 ;
10479 char *kwnames
[] = {
10480 (char *) "self", NULL
10483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
10484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10485 if (SWIG_arg_fail(1)) SWIG_fail
;
10487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10488 (arg1
)->DiscardEdits();
10490 wxPyEndAllowThreads(__tstate
);
10491 if (PyErr_Occurred()) SWIG_fail
;
10493 Py_INCREF(Py_None
); resultobj
= Py_None
;
10500 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10501 PyObject
*resultobj
;
10502 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10503 unsigned long arg2
;
10504 PyObject
* obj0
= 0 ;
10505 PyObject
* obj1
= 0 ;
10506 char *kwnames
[] = {
10507 (char *) "self",(char *) "len", NULL
10510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
10511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10512 if (SWIG_arg_fail(1)) SWIG_fail
;
10514 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
10515 if (SWIG_arg_fail(2)) SWIG_fail
;
10518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10519 (arg1
)->SetMaxLength(arg2
);
10521 wxPyEndAllowThreads(__tstate
);
10522 if (PyErr_Occurred()) SWIG_fail
;
10524 Py_INCREF(Py_None
); resultobj
= Py_None
;
10531 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10532 PyObject
*resultobj
;
10533 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10534 wxString
*arg2
= 0 ;
10535 bool temp2
= false ;
10536 PyObject
* obj0
= 0 ;
10537 PyObject
* obj1
= 0 ;
10538 char *kwnames
[] = {
10539 (char *) "self",(char *) "text", NULL
10542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
10543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10544 if (SWIG_arg_fail(1)) SWIG_fail
;
10546 arg2
= wxString_in_helper(obj1
);
10547 if (arg2
== NULL
) SWIG_fail
;
10551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10552 (arg1
)->WriteText((wxString
const &)*arg2
);
10554 wxPyEndAllowThreads(__tstate
);
10555 if (PyErr_Occurred()) SWIG_fail
;
10557 Py_INCREF(Py_None
); resultobj
= Py_None
;
10572 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10573 PyObject
*resultobj
;
10574 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10575 wxString
*arg2
= 0 ;
10576 bool temp2
= false ;
10577 PyObject
* obj0
= 0 ;
10578 PyObject
* obj1
= 0 ;
10579 char *kwnames
[] = {
10580 (char *) "self",(char *) "text", NULL
10583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
10584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10585 if (SWIG_arg_fail(1)) SWIG_fail
;
10587 arg2
= wxString_in_helper(obj1
);
10588 if (arg2
== NULL
) SWIG_fail
;
10592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10593 (arg1
)->AppendText((wxString
const &)*arg2
);
10595 wxPyEndAllowThreads(__tstate
);
10596 if (PyErr_Occurred()) SWIG_fail
;
10598 Py_INCREF(Py_None
); resultobj
= Py_None
;
10613 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10614 PyObject
*resultobj
;
10615 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10616 wxKeyEvent
*arg2
= 0 ;
10618 PyObject
* obj0
= 0 ;
10619 PyObject
* obj1
= 0 ;
10620 char *kwnames
[] = {
10621 (char *) "self",(char *) "event", NULL
10624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
10625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10626 if (SWIG_arg_fail(1)) SWIG_fail
;
10628 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
10629 if (SWIG_arg_fail(2)) SWIG_fail
;
10630 if (arg2
== NULL
) {
10631 SWIG_null_ref("wxKeyEvent");
10633 if (SWIG_arg_fail(2)) SWIG_fail
;
10636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10637 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
10639 wxPyEndAllowThreads(__tstate
);
10640 if (PyErr_Occurred()) SWIG_fail
;
10643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10651 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10652 PyObject
*resultobj
;
10653 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10656 wxTextAttr
*arg4
= 0 ;
10658 PyObject
* obj0
= 0 ;
10659 PyObject
* obj1
= 0 ;
10660 PyObject
* obj2
= 0 ;
10661 PyObject
* obj3
= 0 ;
10662 char *kwnames
[] = {
10663 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
10666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10668 if (SWIG_arg_fail(1)) SWIG_fail
;
10670 arg2
= (long)(SWIG_As_long(obj1
));
10671 if (SWIG_arg_fail(2)) SWIG_fail
;
10674 arg3
= (long)(SWIG_As_long(obj2
));
10675 if (SWIG_arg_fail(3)) SWIG_fail
;
10678 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10679 if (SWIG_arg_fail(4)) SWIG_fail
;
10680 if (arg4
== NULL
) {
10681 SWIG_null_ref("wxTextAttr");
10683 if (SWIG_arg_fail(4)) SWIG_fail
;
10686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10687 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
10689 wxPyEndAllowThreads(__tstate
);
10690 if (PyErr_Occurred()) SWIG_fail
;
10693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10701 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10702 PyObject
*resultobj
;
10703 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10705 wxTextAttr
*arg3
= 0 ;
10707 PyObject
* obj0
= 0 ;
10708 PyObject
* obj1
= 0 ;
10709 PyObject
* obj2
= 0 ;
10710 char *kwnames
[] = {
10711 (char *) "self",(char *) "position",(char *) "style", NULL
10714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10716 if (SWIG_arg_fail(1)) SWIG_fail
;
10718 arg2
= (long)(SWIG_As_long(obj1
));
10719 if (SWIG_arg_fail(2)) SWIG_fail
;
10722 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10723 if (SWIG_arg_fail(3)) SWIG_fail
;
10724 if (arg3
== NULL
) {
10725 SWIG_null_ref("wxTextAttr");
10727 if (SWIG_arg_fail(3)) SWIG_fail
;
10730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10731 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
10733 wxPyEndAllowThreads(__tstate
);
10734 if (PyErr_Occurred()) SWIG_fail
;
10737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10745 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10746 PyObject
*resultobj
;
10747 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10748 wxTextAttr
*arg2
= 0 ;
10750 PyObject
* obj0
= 0 ;
10751 PyObject
* obj1
= 0 ;
10752 char *kwnames
[] = {
10753 (char *) "self",(char *) "style", NULL
10756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
10757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10758 if (SWIG_arg_fail(1)) SWIG_fail
;
10760 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10761 if (SWIG_arg_fail(2)) SWIG_fail
;
10762 if (arg2
== NULL
) {
10763 SWIG_null_ref("wxTextAttr");
10765 if (SWIG_arg_fail(2)) SWIG_fail
;
10768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10769 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
10771 wxPyEndAllowThreads(__tstate
);
10772 if (PyErr_Occurred()) SWIG_fail
;
10775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10783 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10784 PyObject
*resultobj
;
10785 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10786 wxTextAttr
*result
;
10787 PyObject
* obj0
= 0 ;
10788 char *kwnames
[] = {
10789 (char *) "self", NULL
10792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
10793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10794 if (SWIG_arg_fail(1)) SWIG_fail
;
10796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10798 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
10799 result
= (wxTextAttr
*) &_result_ref
;
10802 wxPyEndAllowThreads(__tstate
);
10803 if (PyErr_Occurred()) SWIG_fail
;
10805 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
10812 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10813 PyObject
*resultobj
;
10814 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10818 PyObject
* obj0
= 0 ;
10819 PyObject
* obj1
= 0 ;
10820 PyObject
* obj2
= 0 ;
10821 char *kwnames
[] = {
10822 (char *) "self",(char *) "x",(char *) "y", NULL
10825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10827 if (SWIG_arg_fail(1)) SWIG_fail
;
10829 arg2
= (long)(SWIG_As_long(obj1
));
10830 if (SWIG_arg_fail(2)) SWIG_fail
;
10833 arg3
= (long)(SWIG_As_long(obj2
));
10834 if (SWIG_arg_fail(3)) SWIG_fail
;
10837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10838 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
10840 wxPyEndAllowThreads(__tstate
);
10841 if (PyErr_Occurred()) SWIG_fail
;
10844 resultobj
= SWIG_From_long((long)(result
));
10852 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10853 PyObject
*resultobj
;
10854 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10856 long *arg3
= (long *) 0 ;
10857 long *arg4
= (long *) 0 ;
10862 PyObject
* obj0
= 0 ;
10863 PyObject
* obj1
= 0 ;
10864 char *kwnames
[] = {
10865 (char *) "self",(char *) "pos", NULL
10868 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10869 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
10871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10872 if (SWIG_arg_fail(1)) SWIG_fail
;
10874 arg2
= (long)(SWIG_As_long(obj1
));
10875 if (SWIG_arg_fail(2)) SWIG_fail
;
10878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10879 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
10881 wxPyEndAllowThreads(__tstate
);
10882 if (PyErr_Occurred()) SWIG_fail
;
10884 Py_INCREF(Py_None
); resultobj
= Py_None
;
10885 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10886 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10887 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10888 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
10895 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10896 PyObject
*resultobj
;
10897 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10899 PyObject
* obj0
= 0 ;
10900 PyObject
* obj1
= 0 ;
10901 char *kwnames
[] = {
10902 (char *) "self",(char *) "pos", NULL
10905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10907 if (SWIG_arg_fail(1)) SWIG_fail
;
10909 arg2
= (long)(SWIG_As_long(obj1
));
10910 if (SWIG_arg_fail(2)) SWIG_fail
;
10913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10914 (arg1
)->ShowPosition(arg2
);
10916 wxPyEndAllowThreads(__tstate
);
10917 if (PyErr_Occurred()) SWIG_fail
;
10919 Py_INCREF(Py_None
); resultobj
= Py_None
;
10926 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10927 PyObject
*resultobj
;
10928 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10929 wxPoint
*arg2
= 0 ;
10930 long *arg3
= (long *) 0 ;
10931 long *arg4
= (long *) 0 ;
10932 wxTextCtrlHitTestResult result
;
10938 PyObject
* obj0
= 0 ;
10939 PyObject
* obj1
= 0 ;
10940 char *kwnames
[] = {
10941 (char *) "self",(char *) "pt", NULL
10944 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10945 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
10947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10948 if (SWIG_arg_fail(1)) SWIG_fail
;
10951 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10955 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
10957 wxPyEndAllowThreads(__tstate
);
10958 if (PyErr_Occurred()) SWIG_fail
;
10960 resultobj
= SWIG_From_int((result
));
10961 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10962 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10963 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10964 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
10971 static PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10972 PyObject
*resultobj
;
10973 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10974 wxPoint
*arg2
= 0 ;
10975 long *arg3
= (long *) 0 ;
10976 wxTextCtrlHitTestResult result
;
10980 PyObject
* obj0
= 0 ;
10981 PyObject
* obj1
= 0 ;
10982 char *kwnames
[] = {
10983 (char *) "self",(char *) "pt", NULL
10986 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) goto fail
;
10988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10989 if (SWIG_arg_fail(1)) SWIG_fail
;
10992 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10996 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
10998 wxPyEndAllowThreads(__tstate
);
10999 if (PyErr_Occurred()) SWIG_fail
;
11001 resultobj
= SWIG_From_int((result
));
11002 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11003 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
11010 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11011 PyObject
*resultobj
;
11012 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11013 PyObject
* obj0
= 0 ;
11014 char *kwnames
[] = {
11015 (char *) "self", NULL
11018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
11019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11020 if (SWIG_arg_fail(1)) SWIG_fail
;
11022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11025 wxPyEndAllowThreads(__tstate
);
11026 if (PyErr_Occurred()) SWIG_fail
;
11028 Py_INCREF(Py_None
); resultobj
= Py_None
;
11035 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11036 PyObject
*resultobj
;
11037 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11038 PyObject
* obj0
= 0 ;
11039 char *kwnames
[] = {
11040 (char *) "self", NULL
11043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
11044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11045 if (SWIG_arg_fail(1)) SWIG_fail
;
11047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11050 wxPyEndAllowThreads(__tstate
);
11051 if (PyErr_Occurred()) SWIG_fail
;
11053 Py_INCREF(Py_None
); resultobj
= Py_None
;
11060 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11061 PyObject
*resultobj
;
11062 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11063 PyObject
* obj0
= 0 ;
11064 char *kwnames
[] = {
11065 (char *) "self", NULL
11068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
11069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11070 if (SWIG_arg_fail(1)) SWIG_fail
;
11072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11075 wxPyEndAllowThreads(__tstate
);
11076 if (PyErr_Occurred()) SWIG_fail
;
11078 Py_INCREF(Py_None
); resultobj
= Py_None
;
11085 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11086 PyObject
*resultobj
;
11087 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11089 PyObject
* obj0
= 0 ;
11090 char *kwnames
[] = {
11091 (char *) "self", NULL
11094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
11095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11096 if (SWIG_arg_fail(1)) SWIG_fail
;
11098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11099 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
11101 wxPyEndAllowThreads(__tstate
);
11102 if (PyErr_Occurred()) SWIG_fail
;
11105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11113 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11114 PyObject
*resultobj
;
11115 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11117 PyObject
* obj0
= 0 ;
11118 char *kwnames
[] = {
11119 (char *) "self", NULL
11122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
11123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11124 if (SWIG_arg_fail(1)) SWIG_fail
;
11126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11127 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
11129 wxPyEndAllowThreads(__tstate
);
11130 if (PyErr_Occurred()) SWIG_fail
;
11133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11141 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11142 PyObject
*resultobj
;
11143 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11145 PyObject
* obj0
= 0 ;
11146 char *kwnames
[] = {
11147 (char *) "self", NULL
11150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
11151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11152 if (SWIG_arg_fail(1)) SWIG_fail
;
11154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11155 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
11157 wxPyEndAllowThreads(__tstate
);
11158 if (PyErr_Occurred()) SWIG_fail
;
11161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11169 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11170 PyObject
*resultobj
;
11171 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11172 PyObject
* obj0
= 0 ;
11173 char *kwnames
[] = {
11174 (char *) "self", NULL
11177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
11178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11179 if (SWIG_arg_fail(1)) SWIG_fail
;
11181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11184 wxPyEndAllowThreads(__tstate
);
11185 if (PyErr_Occurred()) SWIG_fail
;
11187 Py_INCREF(Py_None
); resultobj
= Py_None
;
11194 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11195 PyObject
*resultobj
;
11196 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11197 PyObject
* obj0
= 0 ;
11198 char *kwnames
[] = {
11199 (char *) "self", NULL
11202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
11203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11204 if (SWIG_arg_fail(1)) SWIG_fail
;
11206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11209 wxPyEndAllowThreads(__tstate
);
11210 if (PyErr_Occurred()) SWIG_fail
;
11212 Py_INCREF(Py_None
); resultobj
= Py_None
;
11219 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11220 PyObject
*resultobj
;
11221 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11223 PyObject
* obj0
= 0 ;
11224 char *kwnames
[] = {
11225 (char *) "self", NULL
11228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
11229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11230 if (SWIG_arg_fail(1)) SWIG_fail
;
11232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11233 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
11235 wxPyEndAllowThreads(__tstate
);
11236 if (PyErr_Occurred()) SWIG_fail
;
11239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11247 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11248 PyObject
*resultobj
;
11249 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11251 PyObject
* obj0
= 0 ;
11252 char *kwnames
[] = {
11253 (char *) "self", NULL
11256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
11257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11258 if (SWIG_arg_fail(1)) SWIG_fail
;
11260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11261 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
11263 wxPyEndAllowThreads(__tstate
);
11264 if (PyErr_Occurred()) SWIG_fail
;
11267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11275 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11276 PyObject
*resultobj
;
11277 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11279 PyObject
* obj0
= 0 ;
11280 PyObject
* obj1
= 0 ;
11281 char *kwnames
[] = {
11282 (char *) "self",(char *) "pos", NULL
11285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11287 if (SWIG_arg_fail(1)) SWIG_fail
;
11289 arg2
= (long)(SWIG_As_long(obj1
));
11290 if (SWIG_arg_fail(2)) SWIG_fail
;
11293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11294 (arg1
)->SetInsertionPoint(arg2
);
11296 wxPyEndAllowThreads(__tstate
);
11297 if (PyErr_Occurred()) SWIG_fail
;
11299 Py_INCREF(Py_None
); resultobj
= Py_None
;
11306 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11307 PyObject
*resultobj
;
11308 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11309 PyObject
* obj0
= 0 ;
11310 char *kwnames
[] = {
11311 (char *) "self", NULL
11314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
11315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11316 if (SWIG_arg_fail(1)) SWIG_fail
;
11318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11319 (arg1
)->SetInsertionPointEnd();
11321 wxPyEndAllowThreads(__tstate
);
11322 if (PyErr_Occurred()) SWIG_fail
;
11324 Py_INCREF(Py_None
); resultobj
= Py_None
;
11331 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11332 PyObject
*resultobj
;
11333 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11335 PyObject
* obj0
= 0 ;
11336 char *kwnames
[] = {
11337 (char *) "self", NULL
11340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
11341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11342 if (SWIG_arg_fail(1)) SWIG_fail
;
11344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11345 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
11347 wxPyEndAllowThreads(__tstate
);
11348 if (PyErr_Occurred()) SWIG_fail
;
11351 resultobj
= SWIG_From_long((long)(result
));
11359 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11360 PyObject
*resultobj
;
11361 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11363 PyObject
* obj0
= 0 ;
11364 char *kwnames
[] = {
11365 (char *) "self", NULL
11368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
11369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11370 if (SWIG_arg_fail(1)) SWIG_fail
;
11372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11373 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
11375 wxPyEndAllowThreads(__tstate
);
11376 if (PyErr_Occurred()) SWIG_fail
;
11379 resultobj
= SWIG_From_long((long)(result
));
11387 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11388 PyObject
*resultobj
;
11389 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11392 PyObject
* obj0
= 0 ;
11393 PyObject
* obj1
= 0 ;
11394 PyObject
* obj2
= 0 ;
11395 char *kwnames
[] = {
11396 (char *) "self",(char *) "from",(char *) "to", NULL
11399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11401 if (SWIG_arg_fail(1)) SWIG_fail
;
11403 arg2
= (long)(SWIG_As_long(obj1
));
11404 if (SWIG_arg_fail(2)) SWIG_fail
;
11407 arg3
= (long)(SWIG_As_long(obj2
));
11408 if (SWIG_arg_fail(3)) SWIG_fail
;
11411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11412 (arg1
)->SetSelection(arg2
,arg3
);
11414 wxPyEndAllowThreads(__tstate
);
11415 if (PyErr_Occurred()) SWIG_fail
;
11417 Py_INCREF(Py_None
); resultobj
= Py_None
;
11424 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11425 PyObject
*resultobj
;
11426 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11427 PyObject
* obj0
= 0 ;
11428 char *kwnames
[] = {
11429 (char *) "self", NULL
11432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
11433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11434 if (SWIG_arg_fail(1)) SWIG_fail
;
11436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11437 (arg1
)->SelectAll();
11439 wxPyEndAllowThreads(__tstate
);
11440 if (PyErr_Occurred()) SWIG_fail
;
11442 Py_INCREF(Py_None
); resultobj
= Py_None
;
11449 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11450 PyObject
*resultobj
;
11451 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11453 PyObject
* obj0
= 0 ;
11454 PyObject
* obj1
= 0 ;
11455 char *kwnames
[] = {
11456 (char *) "self",(char *) "editable", NULL
11459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
11460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11461 if (SWIG_arg_fail(1)) SWIG_fail
;
11463 arg2
= (bool)(SWIG_As_bool(obj1
));
11464 if (SWIG_arg_fail(2)) SWIG_fail
;
11467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11468 (arg1
)->SetEditable(arg2
);
11470 wxPyEndAllowThreads(__tstate
);
11471 if (PyErr_Occurred()) SWIG_fail
;
11473 Py_INCREF(Py_None
); resultobj
= Py_None
;
11480 static PyObject
*_wrap_TextCtrl_ShowNativeCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11481 PyObject
*resultobj
;
11482 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11483 bool arg2
= (bool) true ;
11485 PyObject
* obj0
= 0 ;
11486 PyObject
* obj1
= 0 ;
11487 char *kwnames
[] = {
11488 (char *) "self",(char *) "show", NULL
11491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
11492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11493 if (SWIG_arg_fail(1)) SWIG_fail
;
11496 arg2
= (bool)(SWIG_As_bool(obj1
));
11497 if (SWIG_arg_fail(2)) SWIG_fail
;
11501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11502 result
= (bool)(arg1
)->ShowNativeCaret(arg2
);
11504 wxPyEndAllowThreads(__tstate
);
11505 if (PyErr_Occurred()) SWIG_fail
;
11508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11516 static PyObject
*_wrap_TextCtrl_HideNativeCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11517 PyObject
*resultobj
;
11518 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11520 PyObject
* obj0
= 0 ;
11521 char *kwnames
[] = {
11522 (char *) "self", NULL
11525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_HideNativeCaret",kwnames
,&obj0
)) goto fail
;
11526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11527 if (SWIG_arg_fail(1)) SWIG_fail
;
11529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11530 result
= (bool)(arg1
)->HideNativeCaret();
11532 wxPyEndAllowThreads(__tstate
);
11533 if (PyErr_Occurred()) SWIG_fail
;
11536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11544 static PyObject
*_wrap_TextCtrl_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11545 PyObject
*resultobj
;
11546 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11547 wxString
*arg2
= 0 ;
11548 bool temp2
= false ;
11549 PyObject
* obj0
= 0 ;
11550 PyObject
* obj1
= 0 ;
11551 char *kwnames
[] = {
11552 (char *) "self",(char *) "text", NULL
11555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
11556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11557 if (SWIG_arg_fail(1)) SWIG_fail
;
11559 arg2
= wxString_in_helper(obj1
);
11560 if (arg2
== NULL
) SWIG_fail
;
11564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11565 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
11567 wxPyEndAllowThreads(__tstate
);
11568 if (PyErr_Occurred()) SWIG_fail
;
11570 Py_INCREF(Py_None
); resultobj
= Py_None
;
11585 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11586 PyObject
*resultobj
;
11587 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11591 PyObject
* obj0
= 0 ;
11592 PyObject
* obj1
= 0 ;
11593 PyObject
* obj2
= 0 ;
11594 char *kwnames
[] = {
11595 (char *) "self",(char *) "from",(char *) "to", NULL
11598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11600 if (SWIG_arg_fail(1)) SWIG_fail
;
11602 arg2
= (long)(SWIG_As_long(obj1
));
11603 if (SWIG_arg_fail(2)) SWIG_fail
;
11606 arg3
= (long)(SWIG_As_long(obj2
));
11607 if (SWIG_arg_fail(3)) SWIG_fail
;
11610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11611 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
11613 wxPyEndAllowThreads(__tstate
);
11614 if (PyErr_Occurred()) SWIG_fail
;
11618 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11620 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11629 static PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11630 PyObject
*resultobj
;
11631 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
11632 wxVisualAttributes result
;
11633 PyObject
* obj0
= 0 ;
11634 char *kwnames
[] = {
11635 (char *) "variant", NULL
11638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11641 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
11642 if (SWIG_arg_fail(1)) SWIG_fail
;
11646 if (!wxPyCheckForApp()) SWIG_fail
;
11647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11648 result
= wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11650 wxPyEndAllowThreads(__tstate
);
11651 if (PyErr_Occurred()) SWIG_fail
;
11654 wxVisualAttributes
* resultptr
;
11655 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
11656 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11664 static PyObject
* TextCtrl_swigregister(PyObject
*, PyObject
*args
) {
11666 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11667 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
11669 return Py_BuildValue((char *)"");
11671 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11672 PyObject
*resultobj
;
11674 wxMouseEvent
*arg2
= 0 ;
11677 wxTextUrlEvent
*result
;
11678 PyObject
* obj0
= 0 ;
11679 PyObject
* obj1
= 0 ;
11680 PyObject
* obj2
= 0 ;
11681 PyObject
* obj3
= 0 ;
11682 char *kwnames
[] = {
11683 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
11686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11688 arg1
= (int)(SWIG_As_int(obj0
));
11689 if (SWIG_arg_fail(1)) SWIG_fail
;
11692 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
11693 if (SWIG_arg_fail(2)) SWIG_fail
;
11694 if (arg2
== NULL
) {
11695 SWIG_null_ref("wxMouseEvent");
11697 if (SWIG_arg_fail(2)) SWIG_fail
;
11700 arg3
= (long)(SWIG_As_long(obj2
));
11701 if (SWIG_arg_fail(3)) SWIG_fail
;
11704 arg4
= (long)(SWIG_As_long(obj3
));
11705 if (SWIG_arg_fail(4)) SWIG_fail
;
11708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11709 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
11711 wxPyEndAllowThreads(__tstate
);
11712 if (PyErr_Occurred()) SWIG_fail
;
11714 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
11721 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11722 PyObject
*resultobj
;
11723 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11724 wxMouseEvent
*result
;
11725 PyObject
* obj0
= 0 ;
11726 char *kwnames
[] = {
11727 (char *) "self", NULL
11730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
11731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11732 if (SWIG_arg_fail(1)) SWIG_fail
;
11734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11736 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
11737 result
= (wxMouseEvent
*) &_result_ref
;
11740 wxPyEndAllowThreads(__tstate
);
11741 if (PyErr_Occurred()) SWIG_fail
;
11743 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
11750 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11751 PyObject
*resultobj
;
11752 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11754 PyObject
* obj0
= 0 ;
11755 char *kwnames
[] = {
11756 (char *) "self", NULL
11759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
11760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11761 if (SWIG_arg_fail(1)) SWIG_fail
;
11763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11764 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
11766 wxPyEndAllowThreads(__tstate
);
11767 if (PyErr_Occurred()) SWIG_fail
;
11770 resultobj
= SWIG_From_long((long)(result
));
11778 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11779 PyObject
*resultobj
;
11780 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11782 PyObject
* obj0
= 0 ;
11783 char *kwnames
[] = {
11784 (char *) "self", NULL
11787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
11788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11789 if (SWIG_arg_fail(1)) SWIG_fail
;
11791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11792 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
11794 wxPyEndAllowThreads(__tstate
);
11795 if (PyErr_Occurred()) SWIG_fail
;
11798 resultobj
= SWIG_From_long((long)(result
));
11806 static PyObject
* TextUrlEvent_swigregister(PyObject
*, PyObject
*args
) {
11808 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11809 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
11811 return Py_BuildValue((char *)"");
11813 static int _wrap_ScrollBarNameStr_set(PyObject
*) {
11814 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
11819 static PyObject
*_wrap_ScrollBarNameStr_get(void) {
11824 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
11826 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
11833 static PyObject
*_wrap_new_ScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11834 PyObject
*resultobj
;
11835 wxWindow
*arg1
= (wxWindow
*) 0 ;
11836 int arg2
= (int) -1 ;
11837 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11838 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11839 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11840 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11841 long arg5
= (long) wxSB_HORIZONTAL
;
11842 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
11843 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
11844 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
11845 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11846 wxScrollBar
*result
;
11849 bool temp7
= false ;
11850 PyObject
* obj0
= 0 ;
11851 PyObject
* obj1
= 0 ;
11852 PyObject
* obj2
= 0 ;
11853 PyObject
* obj3
= 0 ;
11854 PyObject
* obj4
= 0 ;
11855 PyObject
* obj5
= 0 ;
11856 PyObject
* obj6
= 0 ;
11857 char *kwnames
[] = {
11858 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11863 if (SWIG_arg_fail(1)) SWIG_fail
;
11866 arg2
= (int)(SWIG_As_int(obj1
));
11867 if (SWIG_arg_fail(2)) SWIG_fail
;
11873 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11879 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11884 arg5
= (long)(SWIG_As_long(obj4
));
11885 if (SWIG_arg_fail(5)) SWIG_fail
;
11890 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
11891 if (SWIG_arg_fail(6)) SWIG_fail
;
11892 if (arg6
== NULL
) {
11893 SWIG_null_ref("wxValidator");
11895 if (SWIG_arg_fail(6)) SWIG_fail
;
11900 arg7
= wxString_in_helper(obj6
);
11901 if (arg7
== NULL
) SWIG_fail
;
11906 if (!wxPyCheckForApp()) SWIG_fail
;
11907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11908 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
11910 wxPyEndAllowThreads(__tstate
);
11911 if (PyErr_Occurred()) SWIG_fail
;
11913 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
11928 static PyObject
*_wrap_new_PreScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11929 PyObject
*resultobj
;
11930 wxScrollBar
*result
;
11931 char *kwnames
[] = {
11935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
11937 if (!wxPyCheckForApp()) SWIG_fail
;
11938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11939 result
= (wxScrollBar
*)new wxScrollBar();
11941 wxPyEndAllowThreads(__tstate
);
11942 if (PyErr_Occurred()) SWIG_fail
;
11944 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
11951 static PyObject
*_wrap_ScrollBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11952 PyObject
*resultobj
;
11953 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
11954 wxWindow
*arg2
= (wxWindow
*) 0 ;
11955 int arg3
= (int) -1 ;
11956 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11957 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11958 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11959 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11960 long arg6
= (long) wxSB_HORIZONTAL
;
11961 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11962 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11963 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
11964 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11968 bool temp8
= false ;
11969 PyObject
* obj0
= 0 ;
11970 PyObject
* obj1
= 0 ;
11971 PyObject
* obj2
= 0 ;
11972 PyObject
* obj3
= 0 ;
11973 PyObject
* obj4
= 0 ;
11974 PyObject
* obj5
= 0 ;
11975 PyObject
* obj6
= 0 ;
11976 PyObject
* obj7
= 0 ;
11977 char *kwnames
[] = {
11978 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
11983 if (SWIG_arg_fail(1)) SWIG_fail
;
11984 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11985 if (SWIG_arg_fail(2)) SWIG_fail
;
11988 arg3
= (int)(SWIG_As_int(obj2
));
11989 if (SWIG_arg_fail(3)) SWIG_fail
;
11995 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12001 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12006 arg6
= (long)(SWIG_As_long(obj5
));
12007 if (SWIG_arg_fail(6)) SWIG_fail
;
12012 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
12013 if (SWIG_arg_fail(7)) SWIG_fail
;
12014 if (arg7
== NULL
) {
12015 SWIG_null_ref("wxValidator");
12017 if (SWIG_arg_fail(7)) SWIG_fail
;
12022 arg8
= wxString_in_helper(obj7
);
12023 if (arg8
== NULL
) SWIG_fail
;
12028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12029 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12031 wxPyEndAllowThreads(__tstate
);
12032 if (PyErr_Occurred()) SWIG_fail
;
12035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12051 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12052 PyObject
*resultobj
;
12053 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12055 PyObject
* obj0
= 0 ;
12056 char *kwnames
[] = {
12057 (char *) "self", NULL
12060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
12061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12062 if (SWIG_arg_fail(1)) SWIG_fail
;
12064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12065 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
12067 wxPyEndAllowThreads(__tstate
);
12068 if (PyErr_Occurred()) SWIG_fail
;
12071 resultobj
= SWIG_From_int((int)(result
));
12079 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12080 PyObject
*resultobj
;
12081 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12083 PyObject
* obj0
= 0 ;
12084 char *kwnames
[] = {
12085 (char *) "self", NULL
12088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
12089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12090 if (SWIG_arg_fail(1)) SWIG_fail
;
12092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12093 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
12095 wxPyEndAllowThreads(__tstate
);
12096 if (PyErr_Occurred()) SWIG_fail
;
12099 resultobj
= SWIG_From_int((int)(result
));
12107 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12108 PyObject
*resultobj
;
12109 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12111 PyObject
* obj0
= 0 ;
12112 char *kwnames
[] = {
12113 (char *) "self", NULL
12116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
12117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12118 if (SWIG_arg_fail(1)) SWIG_fail
;
12120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12121 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
12123 wxPyEndAllowThreads(__tstate
);
12124 if (PyErr_Occurred()) SWIG_fail
;
12127 resultobj
= SWIG_From_int((int)(result
));
12135 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12136 PyObject
*resultobj
;
12137 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12139 PyObject
* obj0
= 0 ;
12140 char *kwnames
[] = {
12141 (char *) "self", NULL
12144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
12145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12146 if (SWIG_arg_fail(1)) SWIG_fail
;
12148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12149 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
12151 wxPyEndAllowThreads(__tstate
);
12152 if (PyErr_Occurred()) SWIG_fail
;
12155 resultobj
= SWIG_From_int((int)(result
));
12163 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12164 PyObject
*resultobj
;
12165 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12167 PyObject
* obj0
= 0 ;
12168 char *kwnames
[] = {
12169 (char *) "self", NULL
12172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
12173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12174 if (SWIG_arg_fail(1)) SWIG_fail
;
12176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12177 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
12179 wxPyEndAllowThreads(__tstate
);
12180 if (PyErr_Occurred()) SWIG_fail
;
12183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12191 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12192 PyObject
*resultobj
;
12193 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12195 PyObject
* obj0
= 0 ;
12196 PyObject
* obj1
= 0 ;
12197 char *kwnames
[] = {
12198 (char *) "self",(char *) "viewStart", NULL
12201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
12202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12203 if (SWIG_arg_fail(1)) SWIG_fail
;
12205 arg2
= (int)(SWIG_As_int(obj1
));
12206 if (SWIG_arg_fail(2)) SWIG_fail
;
12209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12210 (arg1
)->SetThumbPosition(arg2
);
12212 wxPyEndAllowThreads(__tstate
);
12213 if (PyErr_Occurred()) SWIG_fail
;
12215 Py_INCREF(Py_None
); resultobj
= Py_None
;
12222 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12223 PyObject
*resultobj
;
12224 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12229 bool arg6
= (bool) true ;
12230 PyObject
* obj0
= 0 ;
12231 PyObject
* obj1
= 0 ;
12232 PyObject
* obj2
= 0 ;
12233 PyObject
* obj3
= 0 ;
12234 PyObject
* obj4
= 0 ;
12235 PyObject
* obj5
= 0 ;
12236 char *kwnames
[] = {
12237 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
12240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12242 if (SWIG_arg_fail(1)) SWIG_fail
;
12244 arg2
= (int)(SWIG_As_int(obj1
));
12245 if (SWIG_arg_fail(2)) SWIG_fail
;
12248 arg3
= (int)(SWIG_As_int(obj2
));
12249 if (SWIG_arg_fail(3)) SWIG_fail
;
12252 arg4
= (int)(SWIG_As_int(obj3
));
12253 if (SWIG_arg_fail(4)) SWIG_fail
;
12256 arg5
= (int)(SWIG_As_int(obj4
));
12257 if (SWIG_arg_fail(5)) SWIG_fail
;
12261 arg6
= (bool)(SWIG_As_bool(obj5
));
12262 if (SWIG_arg_fail(6)) SWIG_fail
;
12266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12267 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
12269 wxPyEndAllowThreads(__tstate
);
12270 if (PyErr_Occurred()) SWIG_fail
;
12272 Py_INCREF(Py_None
); resultobj
= Py_None
;
12279 static PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12280 PyObject
*resultobj
;
12281 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
12282 wxVisualAttributes result
;
12283 PyObject
* obj0
= 0 ;
12284 char *kwnames
[] = {
12285 (char *) "variant", NULL
12288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12291 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
12292 if (SWIG_arg_fail(1)) SWIG_fail
;
12296 if (!wxPyCheckForApp()) SWIG_fail
;
12297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12298 result
= wxScrollBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12300 wxPyEndAllowThreads(__tstate
);
12301 if (PyErr_Occurred()) SWIG_fail
;
12304 wxVisualAttributes
* resultptr
;
12305 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
12306 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12314 static PyObject
* ScrollBar_swigregister(PyObject
*, PyObject
*args
) {
12316 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12317 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
12319 return Py_BuildValue((char *)"");
12321 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*) {
12322 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
12327 static PyObject
*_wrap_SPIN_BUTTON_NAME_get(void) {
12332 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
12334 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
12341 static int _wrap_SpinCtrlNameStr_set(PyObject
*) {
12342 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
12347 static PyObject
*_wrap_SpinCtrlNameStr_get(void) {
12352 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
12354 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
12361 static PyObject
*_wrap_new_SpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12362 PyObject
*resultobj
;
12363 wxWindow
*arg1
= (wxWindow
*) 0 ;
12364 int arg2
= (int) -1 ;
12365 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12366 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12367 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12368 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12369 long arg5
= (long) wxSP_HORIZONTAL
;
12370 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
12371 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12372 wxSpinButton
*result
;
12375 bool temp6
= false ;
12376 PyObject
* obj0
= 0 ;
12377 PyObject
* obj1
= 0 ;
12378 PyObject
* obj2
= 0 ;
12379 PyObject
* obj3
= 0 ;
12380 PyObject
* obj4
= 0 ;
12381 PyObject
* obj5
= 0 ;
12382 char *kwnames
[] = {
12383 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12388 if (SWIG_arg_fail(1)) SWIG_fail
;
12391 arg2
= (int)(SWIG_As_int(obj1
));
12392 if (SWIG_arg_fail(2)) SWIG_fail
;
12398 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12404 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12409 arg5
= (long)(SWIG_As_long(obj4
));
12410 if (SWIG_arg_fail(5)) SWIG_fail
;
12415 arg6
= wxString_in_helper(obj5
);
12416 if (arg6
== NULL
) SWIG_fail
;
12421 if (!wxPyCheckForApp()) SWIG_fail
;
12422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12423 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12425 wxPyEndAllowThreads(__tstate
);
12426 if (PyErr_Occurred()) SWIG_fail
;
12428 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
12443 static PyObject
*_wrap_new_PreSpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12444 PyObject
*resultobj
;
12445 wxSpinButton
*result
;
12446 char *kwnames
[] = {
12450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
12452 if (!wxPyCheckForApp()) SWIG_fail
;
12453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12454 result
= (wxSpinButton
*)new wxSpinButton();
12456 wxPyEndAllowThreads(__tstate
);
12457 if (PyErr_Occurred()) SWIG_fail
;
12459 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
12466 static PyObject
*_wrap_SpinButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12467 PyObject
*resultobj
;
12468 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12469 wxWindow
*arg2
= (wxWindow
*) 0 ;
12470 int arg3
= (int) -1 ;
12471 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12472 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12473 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12474 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12475 long arg6
= (long) wxSP_HORIZONTAL
;
12476 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
12477 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12481 bool temp7
= false ;
12482 PyObject
* obj0
= 0 ;
12483 PyObject
* obj1
= 0 ;
12484 PyObject
* obj2
= 0 ;
12485 PyObject
* obj3
= 0 ;
12486 PyObject
* obj4
= 0 ;
12487 PyObject
* obj5
= 0 ;
12488 PyObject
* obj6
= 0 ;
12489 char *kwnames
[] = {
12490 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12495 if (SWIG_arg_fail(1)) SWIG_fail
;
12496 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12497 if (SWIG_arg_fail(2)) SWIG_fail
;
12500 arg3
= (int)(SWIG_As_int(obj2
));
12501 if (SWIG_arg_fail(3)) SWIG_fail
;
12507 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12513 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12518 arg6
= (long)(SWIG_As_long(obj5
));
12519 if (SWIG_arg_fail(6)) SWIG_fail
;
12524 arg7
= wxString_in_helper(obj6
);
12525 if (arg7
== NULL
) SWIG_fail
;
12530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12531 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12533 wxPyEndAllowThreads(__tstate
);
12534 if (PyErr_Occurred()) SWIG_fail
;
12537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12553 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12554 PyObject
*resultobj
;
12555 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12557 PyObject
* obj0
= 0 ;
12558 char *kwnames
[] = {
12559 (char *) "self", NULL
12562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
12563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12564 if (SWIG_arg_fail(1)) SWIG_fail
;
12566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12567 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
12569 wxPyEndAllowThreads(__tstate
);
12570 if (PyErr_Occurred()) SWIG_fail
;
12573 resultobj
= SWIG_From_int((int)(result
));
12581 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12582 PyObject
*resultobj
;
12583 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12585 PyObject
* obj0
= 0 ;
12586 char *kwnames
[] = {
12587 (char *) "self", NULL
12590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
12591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12592 if (SWIG_arg_fail(1)) SWIG_fail
;
12594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12595 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
12597 wxPyEndAllowThreads(__tstate
);
12598 if (PyErr_Occurred()) SWIG_fail
;
12601 resultobj
= SWIG_From_int((int)(result
));
12609 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12610 PyObject
*resultobj
;
12611 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12613 PyObject
* obj0
= 0 ;
12614 char *kwnames
[] = {
12615 (char *) "self", NULL
12618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
12619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12620 if (SWIG_arg_fail(1)) SWIG_fail
;
12622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12623 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
12625 wxPyEndAllowThreads(__tstate
);
12626 if (PyErr_Occurred()) SWIG_fail
;
12629 resultobj
= SWIG_From_int((int)(result
));
12637 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12638 PyObject
*resultobj
;
12639 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12641 PyObject
* obj0
= 0 ;
12642 PyObject
* obj1
= 0 ;
12643 char *kwnames
[] = {
12644 (char *) "self",(char *) "val", NULL
12647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12649 if (SWIG_arg_fail(1)) SWIG_fail
;
12651 arg2
= (int)(SWIG_As_int(obj1
));
12652 if (SWIG_arg_fail(2)) SWIG_fail
;
12655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12656 (arg1
)->SetValue(arg2
);
12658 wxPyEndAllowThreads(__tstate
);
12659 if (PyErr_Occurred()) SWIG_fail
;
12661 Py_INCREF(Py_None
); resultobj
= Py_None
;
12668 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12669 PyObject
*resultobj
;
12670 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12672 PyObject
* obj0
= 0 ;
12673 PyObject
* obj1
= 0 ;
12674 char *kwnames
[] = {
12675 (char *) "self",(char *) "minVal", NULL
12678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
12679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12680 if (SWIG_arg_fail(1)) SWIG_fail
;
12682 arg2
= (int)(SWIG_As_int(obj1
));
12683 if (SWIG_arg_fail(2)) SWIG_fail
;
12686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12687 (arg1
)->SetMin(arg2
);
12689 wxPyEndAllowThreads(__tstate
);
12690 if (PyErr_Occurred()) SWIG_fail
;
12692 Py_INCREF(Py_None
); resultobj
= Py_None
;
12699 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12700 PyObject
*resultobj
;
12701 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12703 PyObject
* obj0
= 0 ;
12704 PyObject
* obj1
= 0 ;
12705 char *kwnames
[] = {
12706 (char *) "self",(char *) "maxVal", NULL
12709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
12710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12711 if (SWIG_arg_fail(1)) SWIG_fail
;
12713 arg2
= (int)(SWIG_As_int(obj1
));
12714 if (SWIG_arg_fail(2)) SWIG_fail
;
12717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12718 (arg1
)->SetMax(arg2
);
12720 wxPyEndAllowThreads(__tstate
);
12721 if (PyErr_Occurred()) SWIG_fail
;
12723 Py_INCREF(Py_None
); resultobj
= Py_None
;
12730 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12731 PyObject
*resultobj
;
12732 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12735 PyObject
* obj0
= 0 ;
12736 PyObject
* obj1
= 0 ;
12737 PyObject
* obj2
= 0 ;
12738 char *kwnames
[] = {
12739 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
12742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12744 if (SWIG_arg_fail(1)) SWIG_fail
;
12746 arg2
= (int)(SWIG_As_int(obj1
));
12747 if (SWIG_arg_fail(2)) SWIG_fail
;
12750 arg3
= (int)(SWIG_As_int(obj2
));
12751 if (SWIG_arg_fail(3)) SWIG_fail
;
12754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12755 (arg1
)->SetRange(arg2
,arg3
);
12757 wxPyEndAllowThreads(__tstate
);
12758 if (PyErr_Occurred()) SWIG_fail
;
12760 Py_INCREF(Py_None
); resultobj
= Py_None
;
12767 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12768 PyObject
*resultobj
;
12769 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12771 PyObject
* obj0
= 0 ;
12772 char *kwnames
[] = {
12773 (char *) "self", NULL
12776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
12777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12778 if (SWIG_arg_fail(1)) SWIG_fail
;
12780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12781 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
12783 wxPyEndAllowThreads(__tstate
);
12784 if (PyErr_Occurred()) SWIG_fail
;
12787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12795 static PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12796 PyObject
*resultobj
;
12797 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
12798 wxVisualAttributes result
;
12799 PyObject
* obj0
= 0 ;
12800 char *kwnames
[] = {
12801 (char *) "variant", NULL
12804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12807 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
12808 if (SWIG_arg_fail(1)) SWIG_fail
;
12812 if (!wxPyCheckForApp()) SWIG_fail
;
12813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12814 result
= wxSpinButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12816 wxPyEndAllowThreads(__tstate
);
12817 if (PyErr_Occurred()) SWIG_fail
;
12820 wxVisualAttributes
* resultptr
;
12821 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
12822 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12830 static PyObject
* SpinButton_swigregister(PyObject
*, PyObject
*args
) {
12832 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12833 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
12835 return Py_BuildValue((char *)"");
12837 static PyObject
*_wrap_new_SpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12838 PyObject
*resultobj
;
12839 wxWindow
*arg1
= (wxWindow
*) 0 ;
12840 int arg2
= (int) -1 ;
12841 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12842 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12843 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12844 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12845 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12846 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12847 long arg6
= (long) wxSP_ARROW_KEYS
;
12848 int arg7
= (int) 0 ;
12849 int arg8
= (int) 100 ;
12850 int arg9
= (int) 0 ;
12851 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
12852 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12853 wxSpinCtrl
*result
;
12854 bool temp3
= false ;
12857 bool temp10
= false ;
12858 PyObject
* obj0
= 0 ;
12859 PyObject
* obj1
= 0 ;
12860 PyObject
* obj2
= 0 ;
12861 PyObject
* obj3
= 0 ;
12862 PyObject
* obj4
= 0 ;
12863 PyObject
* obj5
= 0 ;
12864 PyObject
* obj6
= 0 ;
12865 PyObject
* obj7
= 0 ;
12866 PyObject
* obj8
= 0 ;
12867 PyObject
* obj9
= 0 ;
12868 char *kwnames
[] = {
12869 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
12872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12874 if (SWIG_arg_fail(1)) SWIG_fail
;
12877 arg2
= (int)(SWIG_As_int(obj1
));
12878 if (SWIG_arg_fail(2)) SWIG_fail
;
12883 arg3
= wxString_in_helper(obj2
);
12884 if (arg3
== NULL
) SWIG_fail
;
12891 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12897 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12902 arg6
= (long)(SWIG_As_long(obj5
));
12903 if (SWIG_arg_fail(6)) SWIG_fail
;
12908 arg7
= (int)(SWIG_As_int(obj6
));
12909 if (SWIG_arg_fail(7)) SWIG_fail
;
12914 arg8
= (int)(SWIG_As_int(obj7
));
12915 if (SWIG_arg_fail(8)) SWIG_fail
;
12920 arg9
= (int)(SWIG_As_int(obj8
));
12921 if (SWIG_arg_fail(9)) SWIG_fail
;
12926 arg10
= wxString_in_helper(obj9
);
12927 if (arg10
== NULL
) SWIG_fail
;
12932 if (!wxPyCheckForApp()) SWIG_fail
;
12933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12934 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
12936 wxPyEndAllowThreads(__tstate
);
12937 if (PyErr_Occurred()) SWIG_fail
;
12939 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
12962 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12963 PyObject
*resultobj
;
12964 wxSpinCtrl
*result
;
12965 char *kwnames
[] = {
12969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
12971 if (!wxPyCheckForApp()) SWIG_fail
;
12972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12973 result
= (wxSpinCtrl
*)new wxSpinCtrl();
12975 wxPyEndAllowThreads(__tstate
);
12976 if (PyErr_Occurred()) SWIG_fail
;
12978 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
12985 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12986 PyObject
*resultobj
;
12987 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
12988 wxWindow
*arg2
= (wxWindow
*) 0 ;
12989 int arg3
= (int) -1 ;
12990 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12991 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12992 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12993 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12994 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12995 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12996 long arg7
= (long) wxSP_ARROW_KEYS
;
12997 int arg8
= (int) 0 ;
12998 int arg9
= (int) 100 ;
12999 int arg10
= (int) 0 ;
13000 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
13001 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
13003 bool temp4
= false ;
13006 bool temp11
= false ;
13007 PyObject
* obj0
= 0 ;
13008 PyObject
* obj1
= 0 ;
13009 PyObject
* obj2
= 0 ;
13010 PyObject
* obj3
= 0 ;
13011 PyObject
* obj4
= 0 ;
13012 PyObject
* obj5
= 0 ;
13013 PyObject
* obj6
= 0 ;
13014 PyObject
* obj7
= 0 ;
13015 PyObject
* obj8
= 0 ;
13016 PyObject
* obj9
= 0 ;
13017 PyObject
* obj10
= 0 ;
13018 char *kwnames
[] = {
13019 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
13022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
13023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13024 if (SWIG_arg_fail(1)) SWIG_fail
;
13025 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13026 if (SWIG_arg_fail(2)) SWIG_fail
;
13029 arg3
= (int)(SWIG_As_int(obj2
));
13030 if (SWIG_arg_fail(3)) SWIG_fail
;
13035 arg4
= wxString_in_helper(obj3
);
13036 if (arg4
== NULL
) SWIG_fail
;
13043 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13049 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13054 arg7
= (long)(SWIG_As_long(obj6
));
13055 if (SWIG_arg_fail(7)) SWIG_fail
;
13060 arg8
= (int)(SWIG_As_int(obj7
));
13061 if (SWIG_arg_fail(8)) SWIG_fail
;
13066 arg9
= (int)(SWIG_As_int(obj8
));
13067 if (SWIG_arg_fail(9)) SWIG_fail
;
13072 arg10
= (int)(SWIG_As_int(obj9
));
13073 if (SWIG_arg_fail(10)) SWIG_fail
;
13078 arg11
= wxString_in_helper(obj10
);
13079 if (arg11
== NULL
) SWIG_fail
;
13084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13085 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
13087 wxPyEndAllowThreads(__tstate
);
13088 if (PyErr_Occurred()) SWIG_fail
;
13091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13115 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13116 PyObject
*resultobj
;
13117 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13119 PyObject
* obj0
= 0 ;
13120 char *kwnames
[] = {
13121 (char *) "self", NULL
13124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
13125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13126 if (SWIG_arg_fail(1)) SWIG_fail
;
13128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13129 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
13131 wxPyEndAllowThreads(__tstate
);
13132 if (PyErr_Occurred()) SWIG_fail
;
13135 resultobj
= SWIG_From_int((int)(result
));
13143 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13144 PyObject
*resultobj
;
13145 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13147 PyObject
* obj0
= 0 ;
13148 PyObject
* obj1
= 0 ;
13149 char *kwnames
[] = {
13150 (char *) "self",(char *) "value", NULL
13153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13155 if (SWIG_arg_fail(1)) SWIG_fail
;
13157 arg2
= (int)(SWIG_As_int(obj1
));
13158 if (SWIG_arg_fail(2)) SWIG_fail
;
13161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13162 (arg1
)->SetValue(arg2
);
13164 wxPyEndAllowThreads(__tstate
);
13165 if (PyErr_Occurred()) SWIG_fail
;
13167 Py_INCREF(Py_None
); resultobj
= Py_None
;
13174 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13175 PyObject
*resultobj
;
13176 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13177 wxString
*arg2
= 0 ;
13178 bool temp2
= false ;
13179 PyObject
* obj0
= 0 ;
13180 PyObject
* obj1
= 0 ;
13181 char *kwnames
[] = {
13182 (char *) "self",(char *) "text", NULL
13185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
13186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13187 if (SWIG_arg_fail(1)) SWIG_fail
;
13189 arg2
= wxString_in_helper(obj1
);
13190 if (arg2
== NULL
) SWIG_fail
;
13194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13195 (arg1
)->SetValue((wxString
const &)*arg2
);
13197 wxPyEndAllowThreads(__tstate
);
13198 if (PyErr_Occurred()) SWIG_fail
;
13200 Py_INCREF(Py_None
); resultobj
= Py_None
;
13215 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13216 PyObject
*resultobj
;
13217 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13220 PyObject
* obj0
= 0 ;
13221 PyObject
* obj1
= 0 ;
13222 PyObject
* obj2
= 0 ;
13223 char *kwnames
[] = {
13224 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
13227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13229 if (SWIG_arg_fail(1)) SWIG_fail
;
13231 arg2
= (int)(SWIG_As_int(obj1
));
13232 if (SWIG_arg_fail(2)) SWIG_fail
;
13235 arg3
= (int)(SWIG_As_int(obj2
));
13236 if (SWIG_arg_fail(3)) SWIG_fail
;
13239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13240 (arg1
)->SetRange(arg2
,arg3
);
13242 wxPyEndAllowThreads(__tstate
);
13243 if (PyErr_Occurred()) SWIG_fail
;
13245 Py_INCREF(Py_None
); resultobj
= Py_None
;
13252 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13253 PyObject
*resultobj
;
13254 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13256 PyObject
* obj0
= 0 ;
13257 char *kwnames
[] = {
13258 (char *) "self", NULL
13261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
13262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13263 if (SWIG_arg_fail(1)) SWIG_fail
;
13265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13266 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
13268 wxPyEndAllowThreads(__tstate
);
13269 if (PyErr_Occurred()) SWIG_fail
;
13272 resultobj
= SWIG_From_int((int)(result
));
13280 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13281 PyObject
*resultobj
;
13282 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13284 PyObject
* obj0
= 0 ;
13285 char *kwnames
[] = {
13286 (char *) "self", NULL
13289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
13290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13291 if (SWIG_arg_fail(1)) SWIG_fail
;
13293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13294 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
13296 wxPyEndAllowThreads(__tstate
);
13297 if (PyErr_Occurred()) SWIG_fail
;
13300 resultobj
= SWIG_From_int((int)(result
));
13308 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13309 PyObject
*resultobj
;
13310 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13313 PyObject
* obj0
= 0 ;
13314 PyObject
* obj1
= 0 ;
13315 PyObject
* obj2
= 0 ;
13316 char *kwnames
[] = {
13317 (char *) "self",(char *) "from",(char *) "to", NULL
13320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13322 if (SWIG_arg_fail(1)) SWIG_fail
;
13324 arg2
= (long)(SWIG_As_long(obj1
));
13325 if (SWIG_arg_fail(2)) SWIG_fail
;
13328 arg3
= (long)(SWIG_As_long(obj2
));
13329 if (SWIG_arg_fail(3)) SWIG_fail
;
13332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13333 (arg1
)->SetSelection(arg2
,arg3
);
13335 wxPyEndAllowThreads(__tstate
);
13336 if (PyErr_Occurred()) SWIG_fail
;
13338 Py_INCREF(Py_None
); resultobj
= Py_None
;
13345 static PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13346 PyObject
*resultobj
;
13347 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13348 wxVisualAttributes result
;
13349 PyObject
* obj0
= 0 ;
13350 char *kwnames
[] = {
13351 (char *) "variant", NULL
13354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13357 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
13358 if (SWIG_arg_fail(1)) SWIG_fail
;
13362 if (!wxPyCheckForApp()) SWIG_fail
;
13363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13364 result
= wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13366 wxPyEndAllowThreads(__tstate
);
13367 if (PyErr_Occurred()) SWIG_fail
;
13370 wxVisualAttributes
* resultptr
;
13371 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
13372 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13380 static PyObject
* SpinCtrl_swigregister(PyObject
*, PyObject
*args
) {
13382 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13383 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
13385 return Py_BuildValue((char *)"");
13387 static PyObject
*_wrap_new_SpinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13388 PyObject
*resultobj
;
13389 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13390 int arg2
= (int) 0 ;
13391 wxSpinEvent
*result
;
13392 PyObject
* obj0
= 0 ;
13393 PyObject
* obj1
= 0 ;
13394 char *kwnames
[] = {
13395 (char *) "commandType",(char *) "winid", NULL
13398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13401 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
13402 if (SWIG_arg_fail(1)) SWIG_fail
;
13407 arg2
= (int)(SWIG_As_int(obj1
));
13408 if (SWIG_arg_fail(2)) SWIG_fail
;
13412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13413 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
13415 wxPyEndAllowThreads(__tstate
);
13416 if (PyErr_Occurred()) SWIG_fail
;
13418 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
13425 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13426 PyObject
*resultobj
;
13427 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
13429 PyObject
* obj0
= 0 ;
13430 char *kwnames
[] = {
13431 (char *) "self", NULL
13434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_EXCEPTION
| 0);
13436 if (SWIG_arg_fail(1)) SWIG_fail
;
13438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13439 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
13441 wxPyEndAllowThreads(__tstate
);
13442 if (PyErr_Occurred()) SWIG_fail
;
13445 resultobj
= SWIG_From_int((int)(result
));
13453 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13454 PyObject
*resultobj
;
13455 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
13457 PyObject
* obj0
= 0 ;
13458 PyObject
* obj1
= 0 ;
13459 char *kwnames
[] = {
13460 (char *) "self",(char *) "pos", NULL
13463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_EXCEPTION
| 0);
13465 if (SWIG_arg_fail(1)) SWIG_fail
;
13467 arg2
= (int)(SWIG_As_int(obj1
));
13468 if (SWIG_arg_fail(2)) SWIG_fail
;
13471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13472 (arg1
)->SetPosition(arg2
);
13474 wxPyEndAllowThreads(__tstate
);
13475 if (PyErr_Occurred()) SWIG_fail
;
13477 Py_INCREF(Py_None
); resultobj
= Py_None
;
13484 static PyObject
* SpinEvent_swigregister(PyObject
*, PyObject
*args
) {
13486 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13487 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
13489 return Py_BuildValue((char *)"");
13491 static int _wrap_RadioBoxNameStr_set(PyObject
*) {
13492 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
13497 static PyObject
*_wrap_RadioBoxNameStr_get(void) {
13502 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
13504 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
13511 static int _wrap_RadioButtonNameStr_set(PyObject
*) {
13512 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
13517 static PyObject
*_wrap_RadioButtonNameStr_get(void) {
13522 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
13524 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
13531 static PyObject
*_wrap_new_RadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13532 PyObject
*resultobj
;
13533 wxWindow
*arg1
= (wxWindow
*) 0 ;
13534 int arg2
= (int) -1 ;
13535 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13536 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13537 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13538 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13539 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13540 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13541 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
13542 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
13543 int arg7
= (int) 0 ;
13544 long arg8
= (long) wxRA_HORIZONTAL
;
13545 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
13546 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
13547 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
13548 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
13549 wxRadioBox
*result
;
13550 bool temp3
= false ;
13553 bool temp6
= false ;
13554 bool temp10
= false ;
13555 PyObject
* obj0
= 0 ;
13556 PyObject
* obj1
= 0 ;
13557 PyObject
* obj2
= 0 ;
13558 PyObject
* obj3
= 0 ;
13559 PyObject
* obj4
= 0 ;
13560 PyObject
* obj5
= 0 ;
13561 PyObject
* obj6
= 0 ;
13562 PyObject
* obj7
= 0 ;
13563 PyObject
* obj8
= 0 ;
13564 PyObject
* obj9
= 0 ;
13565 char *kwnames
[] = {
13566 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
13570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13571 if (SWIG_arg_fail(1)) SWIG_fail
;
13574 arg2
= (int)(SWIG_As_int(obj1
));
13575 if (SWIG_arg_fail(2)) SWIG_fail
;
13580 arg3
= wxString_in_helper(obj2
);
13581 if (arg3
== NULL
) SWIG_fail
;
13588 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13594 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13599 if (! PySequence_Check(obj5
)) {
13600 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13603 arg6
= new wxArrayString
;
13605 int i
, len
=PySequence_Length(obj5
);
13606 for (i
=0; i
<len
; i
++) {
13607 PyObject
* item
= PySequence_GetItem(obj5
, i
);
13608 wxString
* s
= wxString_in_helper(item
);
13609 if (PyErr_Occurred()) SWIG_fail
;
13618 arg7
= (int)(SWIG_As_int(obj6
));
13619 if (SWIG_arg_fail(7)) SWIG_fail
;
13624 arg8
= (long)(SWIG_As_long(obj7
));
13625 if (SWIG_arg_fail(8)) SWIG_fail
;
13630 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
13631 if (SWIG_arg_fail(9)) SWIG_fail
;
13632 if (arg9
== NULL
) {
13633 SWIG_null_ref("wxValidator");
13635 if (SWIG_arg_fail(9)) SWIG_fail
;
13640 arg10
= wxString_in_helper(obj9
);
13641 if (arg10
== NULL
) SWIG_fail
;
13646 if (!wxPyCheckForApp()) SWIG_fail
;
13647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13648 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
);
13650 wxPyEndAllowThreads(__tstate
);
13651 if (PyErr_Occurred()) SWIG_fail
;
13653 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
13659 if (temp6
) delete arg6
;
13672 if (temp6
) delete arg6
;
13682 static PyObject
*_wrap_new_PreRadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13683 PyObject
*resultobj
;
13684 wxRadioBox
*result
;
13685 char *kwnames
[] = {
13689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
13691 if (!wxPyCheckForApp()) SWIG_fail
;
13692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13693 result
= (wxRadioBox
*)new wxRadioBox();
13695 wxPyEndAllowThreads(__tstate
);
13696 if (PyErr_Occurred()) SWIG_fail
;
13698 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
13705 static PyObject
*_wrap_RadioBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13706 PyObject
*resultobj
;
13707 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13708 wxWindow
*arg2
= (wxWindow
*) 0 ;
13709 int arg3
= (int) -1 ;
13710 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13711 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13712 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13713 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13714 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13715 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13716 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
13717 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
13718 int arg8
= (int) 0 ;
13719 long arg9
= (long) wxRA_HORIZONTAL
;
13720 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
13721 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
13722 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
13723 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
13725 bool temp4
= false ;
13728 bool temp7
= false ;
13729 bool temp11
= false ;
13730 PyObject
* obj0
= 0 ;
13731 PyObject
* obj1
= 0 ;
13732 PyObject
* obj2
= 0 ;
13733 PyObject
* obj3
= 0 ;
13734 PyObject
* obj4
= 0 ;
13735 PyObject
* obj5
= 0 ;
13736 PyObject
* obj6
= 0 ;
13737 PyObject
* obj7
= 0 ;
13738 PyObject
* obj8
= 0 ;
13739 PyObject
* obj9
= 0 ;
13740 PyObject
* obj10
= 0 ;
13741 char *kwnames
[] = {
13742 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
13746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13747 if (SWIG_arg_fail(1)) SWIG_fail
;
13748 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13749 if (SWIG_arg_fail(2)) SWIG_fail
;
13752 arg3
= (int)(SWIG_As_int(obj2
));
13753 if (SWIG_arg_fail(3)) SWIG_fail
;
13758 arg4
= wxString_in_helper(obj3
);
13759 if (arg4
== NULL
) SWIG_fail
;
13766 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13772 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13777 if (! PySequence_Check(obj6
)) {
13778 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13781 arg7
= new wxArrayString
;
13783 int i
, len
=PySequence_Length(obj6
);
13784 for (i
=0; i
<len
; i
++) {
13785 PyObject
* item
= PySequence_GetItem(obj6
, i
);
13786 wxString
* s
= wxString_in_helper(item
);
13787 if (PyErr_Occurred()) SWIG_fail
;
13796 arg8
= (int)(SWIG_As_int(obj7
));
13797 if (SWIG_arg_fail(8)) SWIG_fail
;
13802 arg9
= (long)(SWIG_As_long(obj8
));
13803 if (SWIG_arg_fail(9)) SWIG_fail
;
13808 SWIG_Python_ConvertPtr(obj9
, (void **)&arg10
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
13809 if (SWIG_arg_fail(10)) SWIG_fail
;
13810 if (arg10
== NULL
) {
13811 SWIG_null_ref("wxValidator");
13813 if (SWIG_arg_fail(10)) SWIG_fail
;
13818 arg11
= wxString_in_helper(obj10
);
13819 if (arg11
== NULL
) SWIG_fail
;
13824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13825 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
);
13827 wxPyEndAllowThreads(__tstate
);
13828 if (PyErr_Occurred()) SWIG_fail
;
13831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13838 if (temp7
) delete arg7
;
13851 if (temp7
) delete arg7
;
13861 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13862 PyObject
*resultobj
;
13863 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13865 PyObject
* obj0
= 0 ;
13866 PyObject
* obj1
= 0 ;
13867 char *kwnames
[] = {
13868 (char *) "self",(char *) "n", NULL
13871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13873 if (SWIG_arg_fail(1)) SWIG_fail
;
13875 arg2
= (int)(SWIG_As_int(obj1
));
13876 if (SWIG_arg_fail(2)) SWIG_fail
;
13879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13880 (arg1
)->SetSelection(arg2
);
13882 wxPyEndAllowThreads(__tstate
);
13883 if (PyErr_Occurred()) SWIG_fail
;
13885 Py_INCREF(Py_None
); resultobj
= Py_None
;
13892 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13893 PyObject
*resultobj
;
13894 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13896 PyObject
* obj0
= 0 ;
13897 char *kwnames
[] = {
13898 (char *) "self", NULL
13901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
13902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13903 if (SWIG_arg_fail(1)) SWIG_fail
;
13905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13906 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
13908 wxPyEndAllowThreads(__tstate
);
13909 if (PyErr_Occurred()) SWIG_fail
;
13912 resultobj
= SWIG_From_int((int)(result
));
13920 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13921 PyObject
*resultobj
;
13922 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13924 PyObject
* obj0
= 0 ;
13925 char *kwnames
[] = {
13926 (char *) "self", NULL
13929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
13930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13931 if (SWIG_arg_fail(1)) SWIG_fail
;
13933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13934 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
13936 wxPyEndAllowThreads(__tstate
);
13937 if (PyErr_Occurred()) SWIG_fail
;
13941 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13943 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13952 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13953 PyObject
*resultobj
;
13954 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13955 wxString
*arg2
= 0 ;
13957 bool temp2
= false ;
13958 PyObject
* obj0
= 0 ;
13959 PyObject
* obj1
= 0 ;
13960 char *kwnames
[] = {
13961 (char *) "self",(char *) "s", NULL
13964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) 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 arg2
= wxString_in_helper(obj1
);
13969 if (arg2
== NULL
) SWIG_fail
;
13973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13974 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
13976 wxPyEndAllowThreads(__tstate
);
13977 if (PyErr_Occurred()) SWIG_fail
;
13980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13996 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13997 PyObject
*resultobj
;
13998 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14000 PyObject
* obj0
= 0 ;
14001 char *kwnames
[] = {
14002 (char *) "self", NULL
14005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
14006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14007 if (SWIG_arg_fail(1)) SWIG_fail
;
14009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14010 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
14012 wxPyEndAllowThreads(__tstate
);
14013 if (PyErr_Occurred()) SWIG_fail
;
14016 resultobj
= SWIG_From_int((int)(result
));
14024 static PyObject
*_wrap_RadioBox_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14025 PyObject
*resultobj
;
14026 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14027 wxString
*arg2
= 0 ;
14029 bool temp2
= false ;
14030 PyObject
* obj0
= 0 ;
14031 PyObject
* obj1
= 0 ;
14032 char *kwnames
[] = {
14033 (char *) "self",(char *) "s", NULL
14036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14038 if (SWIG_arg_fail(1)) SWIG_fail
;
14040 arg2
= wxString_in_helper(obj1
);
14041 if (arg2
== NULL
) SWIG_fail
;
14045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14046 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
14048 wxPyEndAllowThreads(__tstate
);
14049 if (PyErr_Occurred()) SWIG_fail
;
14052 resultobj
= SWIG_From_int((int)(result
));
14068 static PyObject
*_wrap_RadioBox_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14069 PyObject
*resultobj
;
14070 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14073 PyObject
* obj0
= 0 ;
14074 PyObject
* obj1
= 0 ;
14075 char *kwnames
[] = {
14076 (char *) "self",(char *) "n", NULL
14079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
14080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14081 if (SWIG_arg_fail(1)) SWIG_fail
;
14083 arg2
= (int)(SWIG_As_int(obj1
));
14084 if (SWIG_arg_fail(2)) SWIG_fail
;
14087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14088 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
14090 wxPyEndAllowThreads(__tstate
);
14091 if (PyErr_Occurred()) SWIG_fail
;
14095 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14097 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14106 static PyObject
*_wrap_RadioBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14107 PyObject
*resultobj
;
14108 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14110 wxString
*arg3
= 0 ;
14111 bool temp3
= false ;
14112 PyObject
* obj0
= 0 ;
14113 PyObject
* obj1
= 0 ;
14114 PyObject
* obj2
= 0 ;
14115 char *kwnames
[] = {
14116 (char *) "self",(char *) "n",(char *) "label", NULL
14119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14121 if (SWIG_arg_fail(1)) SWIG_fail
;
14123 arg2
= (int)(SWIG_As_int(obj1
));
14124 if (SWIG_arg_fail(2)) SWIG_fail
;
14127 arg3
= wxString_in_helper(obj2
);
14128 if (arg3
== NULL
) SWIG_fail
;
14132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14133 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
14135 wxPyEndAllowThreads(__tstate
);
14136 if (PyErr_Occurred()) SWIG_fail
;
14138 Py_INCREF(Py_None
); resultobj
= Py_None
;
14153 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14154 PyObject
*resultobj
;
14155 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14157 bool arg3
= (bool) true ;
14158 PyObject
* obj0
= 0 ;
14159 PyObject
* obj1
= 0 ;
14160 PyObject
* obj2
= 0 ;
14161 char *kwnames
[] = {
14162 (char *) "self",(char *) "n",(char *) "enable", NULL
14165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14167 if (SWIG_arg_fail(1)) SWIG_fail
;
14169 arg2
= (int)(SWIG_As_int(obj1
));
14170 if (SWIG_arg_fail(2)) SWIG_fail
;
14174 arg3
= (bool)(SWIG_As_bool(obj2
));
14175 if (SWIG_arg_fail(3)) SWIG_fail
;
14179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14180 (arg1
)->Enable(arg2
,arg3
);
14182 wxPyEndAllowThreads(__tstate
);
14183 if (PyErr_Occurred()) SWIG_fail
;
14185 Py_INCREF(Py_None
); resultobj
= Py_None
;
14192 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14193 PyObject
*resultobj
;
14194 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14196 bool arg3
= (bool) true ;
14197 PyObject
* obj0
= 0 ;
14198 PyObject
* obj1
= 0 ;
14199 PyObject
* obj2
= 0 ;
14200 char *kwnames
[] = {
14201 (char *) "self",(char *) "n",(char *) "show", NULL
14204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14206 if (SWIG_arg_fail(1)) SWIG_fail
;
14208 arg2
= (int)(SWIG_As_int(obj1
));
14209 if (SWIG_arg_fail(2)) SWIG_fail
;
14213 arg3
= (bool)(SWIG_As_bool(obj2
));
14214 if (SWIG_arg_fail(3)) SWIG_fail
;
14218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14219 (arg1
)->Show(arg2
,arg3
);
14221 wxPyEndAllowThreads(__tstate
);
14222 if (PyErr_Occurred()) SWIG_fail
;
14224 Py_INCREF(Py_None
); resultobj
= Py_None
;
14231 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14232 PyObject
*resultobj
;
14233 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14235 PyObject
* obj0
= 0 ;
14236 char *kwnames
[] = {
14237 (char *) "self", NULL
14240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
14241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14242 if (SWIG_arg_fail(1)) SWIG_fail
;
14244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14245 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
14247 wxPyEndAllowThreads(__tstate
);
14248 if (PyErr_Occurred()) SWIG_fail
;
14251 resultobj
= SWIG_From_int((int)(result
));
14259 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14260 PyObject
*resultobj
;
14261 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14263 PyObject
* obj0
= 0 ;
14264 char *kwnames
[] = {
14265 (char *) "self", NULL
14268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
14269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14270 if (SWIG_arg_fail(1)) SWIG_fail
;
14272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14273 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
14275 wxPyEndAllowThreads(__tstate
);
14276 if (PyErr_Occurred()) SWIG_fail
;
14279 resultobj
= SWIG_From_int((int)(result
));
14287 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14288 PyObject
*resultobj
;
14289 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14294 PyObject
* obj0
= 0 ;
14295 PyObject
* obj1
= 0 ;
14296 PyObject
* obj2
= 0 ;
14297 PyObject
* obj3
= 0 ;
14298 char *kwnames
[] = {
14299 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
14302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14304 if (SWIG_arg_fail(1)) SWIG_fail
;
14306 arg2
= (int)(SWIG_As_int(obj1
));
14307 if (SWIG_arg_fail(2)) SWIG_fail
;
14310 arg3
= (wxDirection
)(SWIG_As_int(obj2
));
14311 if (SWIG_arg_fail(3)) SWIG_fail
;
14314 arg4
= (long)(SWIG_As_long(obj3
));
14315 if (SWIG_arg_fail(4)) SWIG_fail
;
14318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14319 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
14321 wxPyEndAllowThreads(__tstate
);
14322 if (PyErr_Occurred()) SWIG_fail
;
14325 resultobj
= SWIG_From_int((int)(result
));
14333 static PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14334 PyObject
*resultobj
;
14335 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14336 wxVisualAttributes result
;
14337 PyObject
* obj0
= 0 ;
14338 char *kwnames
[] = {
14339 (char *) "variant", NULL
14342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14345 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
14346 if (SWIG_arg_fail(1)) SWIG_fail
;
14350 if (!wxPyCheckForApp()) SWIG_fail
;
14351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14352 result
= wxRadioBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14354 wxPyEndAllowThreads(__tstate
);
14355 if (PyErr_Occurred()) SWIG_fail
;
14358 wxVisualAttributes
* resultptr
;
14359 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
14360 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14368 static PyObject
* RadioBox_swigregister(PyObject
*, PyObject
*args
) {
14370 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14371 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
14373 return Py_BuildValue((char *)"");
14375 static PyObject
*_wrap_new_RadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14376 PyObject
*resultobj
;
14377 wxWindow
*arg1
= (wxWindow
*) 0 ;
14378 int arg2
= (int) -1 ;
14379 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14380 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14381 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14382 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14383 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14384 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14385 long arg6
= (long) 0 ;
14386 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14387 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14388 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
14389 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14390 wxRadioButton
*result
;
14391 bool temp3
= false ;
14394 bool temp8
= false ;
14395 PyObject
* obj0
= 0 ;
14396 PyObject
* obj1
= 0 ;
14397 PyObject
* obj2
= 0 ;
14398 PyObject
* obj3
= 0 ;
14399 PyObject
* obj4
= 0 ;
14400 PyObject
* obj5
= 0 ;
14401 PyObject
* obj6
= 0 ;
14402 PyObject
* obj7
= 0 ;
14403 char *kwnames
[] = {
14404 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14409 if (SWIG_arg_fail(1)) SWIG_fail
;
14412 arg2
= (int)(SWIG_As_int(obj1
));
14413 if (SWIG_arg_fail(2)) SWIG_fail
;
14418 arg3
= wxString_in_helper(obj2
);
14419 if (arg3
== NULL
) SWIG_fail
;
14426 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14432 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14437 arg6
= (long)(SWIG_As_long(obj5
));
14438 if (SWIG_arg_fail(6)) SWIG_fail
;
14443 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14444 if (SWIG_arg_fail(7)) SWIG_fail
;
14445 if (arg7
== NULL
) {
14446 SWIG_null_ref("wxValidator");
14448 if (SWIG_arg_fail(7)) SWIG_fail
;
14453 arg8
= wxString_in_helper(obj7
);
14454 if (arg8
== NULL
) SWIG_fail
;
14459 if (!wxPyCheckForApp()) SWIG_fail
;
14460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14461 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14463 wxPyEndAllowThreads(__tstate
);
14464 if (PyErr_Occurred()) SWIG_fail
;
14466 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
14489 static PyObject
*_wrap_new_PreRadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14490 PyObject
*resultobj
;
14491 wxRadioButton
*result
;
14492 char *kwnames
[] = {
14496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
14498 if (!wxPyCheckForApp()) SWIG_fail
;
14499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14500 result
= (wxRadioButton
*)new wxRadioButton();
14502 wxPyEndAllowThreads(__tstate
);
14503 if (PyErr_Occurred()) SWIG_fail
;
14505 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
14512 static PyObject
*_wrap_RadioButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14513 PyObject
*resultobj
;
14514 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14515 wxWindow
*arg2
= (wxWindow
*) 0 ;
14516 int arg3
= (int) -1 ;
14517 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14518 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14519 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14520 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14521 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14522 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14523 long arg7
= (long) 0 ;
14524 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
14525 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
14526 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
14527 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
14529 bool temp4
= false ;
14532 bool temp9
= false ;
14533 PyObject
* obj0
= 0 ;
14534 PyObject
* obj1
= 0 ;
14535 PyObject
* obj2
= 0 ;
14536 PyObject
* obj3
= 0 ;
14537 PyObject
* obj4
= 0 ;
14538 PyObject
* obj5
= 0 ;
14539 PyObject
* obj6
= 0 ;
14540 PyObject
* obj7
= 0 ;
14541 PyObject
* obj8
= 0 ;
14542 char *kwnames
[] = {
14543 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
14547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14548 if (SWIG_arg_fail(1)) SWIG_fail
;
14549 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14550 if (SWIG_arg_fail(2)) SWIG_fail
;
14553 arg3
= (int)(SWIG_As_int(obj2
));
14554 if (SWIG_arg_fail(3)) SWIG_fail
;
14559 arg4
= wxString_in_helper(obj3
);
14560 if (arg4
== NULL
) SWIG_fail
;
14567 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14573 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14578 arg7
= (long)(SWIG_As_long(obj6
));
14579 if (SWIG_arg_fail(7)) SWIG_fail
;
14584 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14585 if (SWIG_arg_fail(8)) SWIG_fail
;
14586 if (arg8
== NULL
) {
14587 SWIG_null_ref("wxValidator");
14589 if (SWIG_arg_fail(8)) SWIG_fail
;
14594 arg9
= wxString_in_helper(obj8
);
14595 if (arg9
== NULL
) SWIG_fail
;
14600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14601 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
14603 wxPyEndAllowThreads(__tstate
);
14604 if (PyErr_Occurred()) SWIG_fail
;
14607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14631 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14632 PyObject
*resultobj
;
14633 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14635 PyObject
* obj0
= 0 ;
14636 char *kwnames
[] = {
14637 (char *) "self", NULL
14640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
14641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14642 if (SWIG_arg_fail(1)) SWIG_fail
;
14644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14645 result
= (bool)(arg1
)->GetValue();
14647 wxPyEndAllowThreads(__tstate
);
14648 if (PyErr_Occurred()) SWIG_fail
;
14651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14659 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14660 PyObject
*resultobj
;
14661 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14663 PyObject
* obj0
= 0 ;
14664 PyObject
* obj1
= 0 ;
14665 char *kwnames
[] = {
14666 (char *) "self",(char *) "value", NULL
14669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
14670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14671 if (SWIG_arg_fail(1)) SWIG_fail
;
14673 arg2
= (bool)(SWIG_As_bool(obj1
));
14674 if (SWIG_arg_fail(2)) SWIG_fail
;
14677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14678 (arg1
)->SetValue(arg2
);
14680 wxPyEndAllowThreads(__tstate
);
14681 if (PyErr_Occurred()) SWIG_fail
;
14683 Py_INCREF(Py_None
); resultobj
= Py_None
;
14690 static PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14691 PyObject
*resultobj
;
14692 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14693 wxVisualAttributes result
;
14694 PyObject
* obj0
= 0 ;
14695 char *kwnames
[] = {
14696 (char *) "variant", NULL
14699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14702 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
14703 if (SWIG_arg_fail(1)) SWIG_fail
;
14707 if (!wxPyCheckForApp()) SWIG_fail
;
14708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14709 result
= wxRadioButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14711 wxPyEndAllowThreads(__tstate
);
14712 if (PyErr_Occurred()) SWIG_fail
;
14715 wxVisualAttributes
* resultptr
;
14716 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
14717 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14725 static PyObject
* RadioButton_swigregister(PyObject
*, PyObject
*args
) {
14727 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14728 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
14730 return Py_BuildValue((char *)"");
14732 static int _wrap_SliderNameStr_set(PyObject
*) {
14733 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
14738 static PyObject
*_wrap_SliderNameStr_get(void) {
14743 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
14745 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
14752 static PyObject
*_wrap_new_Slider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14753 PyObject
*resultobj
;
14754 wxWindow
*arg1
= (wxWindow
*) 0 ;
14755 int arg2
= (int) -1 ;
14756 int arg3
= (int) 0 ;
14757 int arg4
= (int) 0 ;
14758 int arg5
= (int) 100 ;
14759 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
14760 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
14761 wxSize
const &arg7_defvalue
= wxDefaultSize
;
14762 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
14763 long arg8
= (long) wxSL_HORIZONTAL
;
14764 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
14765 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
14766 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
14767 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
14771 bool temp10
= false ;
14772 PyObject
* obj0
= 0 ;
14773 PyObject
* obj1
= 0 ;
14774 PyObject
* obj2
= 0 ;
14775 PyObject
* obj3
= 0 ;
14776 PyObject
* obj4
= 0 ;
14777 PyObject
* obj5
= 0 ;
14778 PyObject
* obj6
= 0 ;
14779 PyObject
* obj7
= 0 ;
14780 PyObject
* obj8
= 0 ;
14781 PyObject
* obj9
= 0 ;
14782 char *kwnames
[] = {
14783 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
14787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14788 if (SWIG_arg_fail(1)) SWIG_fail
;
14791 arg2
= (int)(SWIG_As_int(obj1
));
14792 if (SWIG_arg_fail(2)) SWIG_fail
;
14797 arg3
= (int)(SWIG_As_int(obj2
));
14798 if (SWIG_arg_fail(3)) SWIG_fail
;
14803 arg4
= (int)(SWIG_As_int(obj3
));
14804 if (SWIG_arg_fail(4)) SWIG_fail
;
14809 arg5
= (int)(SWIG_As_int(obj4
));
14810 if (SWIG_arg_fail(5)) SWIG_fail
;
14816 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
14822 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
14827 arg8
= (long)(SWIG_As_long(obj7
));
14828 if (SWIG_arg_fail(8)) SWIG_fail
;
14833 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14834 if (SWIG_arg_fail(9)) SWIG_fail
;
14835 if (arg9
== NULL
) {
14836 SWIG_null_ref("wxValidator");
14838 if (SWIG_arg_fail(9)) SWIG_fail
;
14843 arg10
= wxString_in_helper(obj9
);
14844 if (arg10
== NULL
) SWIG_fail
;
14849 if (!wxPyCheckForApp()) SWIG_fail
;
14850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14851 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
14853 wxPyEndAllowThreads(__tstate
);
14854 if (PyErr_Occurred()) SWIG_fail
;
14856 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
14871 static PyObject
*_wrap_new_PreSlider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14872 PyObject
*resultobj
;
14874 char *kwnames
[] = {
14878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
14880 if (!wxPyCheckForApp()) SWIG_fail
;
14881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14882 result
= (wxSlider
*)new wxSlider();
14884 wxPyEndAllowThreads(__tstate
);
14885 if (PyErr_Occurred()) SWIG_fail
;
14887 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
14894 static PyObject
*_wrap_Slider_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14895 PyObject
*resultobj
;
14896 wxSlider
*arg1
= (wxSlider
*) 0 ;
14897 wxWindow
*arg2
= (wxWindow
*) 0 ;
14898 int arg3
= (int) -1 ;
14899 int arg4
= (int) 0 ;
14900 int arg5
= (int) 0 ;
14901 int arg6
= (int) 100 ;
14902 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14903 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14904 wxSize
const &arg8_defvalue
= wxDefaultSize
;
14905 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
14906 long arg9
= (long) wxSL_HORIZONTAL
;
14907 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
14908 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
14909 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
14910 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
14914 bool temp11
= false ;
14915 PyObject
* obj0
= 0 ;
14916 PyObject
* obj1
= 0 ;
14917 PyObject
* obj2
= 0 ;
14918 PyObject
* obj3
= 0 ;
14919 PyObject
* obj4
= 0 ;
14920 PyObject
* obj5
= 0 ;
14921 PyObject
* obj6
= 0 ;
14922 PyObject
* obj7
= 0 ;
14923 PyObject
* obj8
= 0 ;
14924 PyObject
* obj9
= 0 ;
14925 PyObject
* obj10
= 0 ;
14926 char *kwnames
[] = {
14927 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
14931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
14932 if (SWIG_arg_fail(1)) SWIG_fail
;
14933 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14934 if (SWIG_arg_fail(2)) SWIG_fail
;
14937 arg3
= (int)(SWIG_As_int(obj2
));
14938 if (SWIG_arg_fail(3)) SWIG_fail
;
14943 arg4
= (int)(SWIG_As_int(obj3
));
14944 if (SWIG_arg_fail(4)) SWIG_fail
;
14949 arg5
= (int)(SWIG_As_int(obj4
));
14950 if (SWIG_arg_fail(5)) SWIG_fail
;
14955 arg6
= (int)(SWIG_As_int(obj5
));
14956 if (SWIG_arg_fail(6)) SWIG_fail
;
14962 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
14968 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
14973 arg9
= (long)(SWIG_As_long(obj8
));
14974 if (SWIG_arg_fail(9)) SWIG_fail
;
14979 SWIG_Python_ConvertPtr(obj9
, (void **)&arg10
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14980 if (SWIG_arg_fail(10)) SWIG_fail
;
14981 if (arg10
== NULL
) {
14982 SWIG_null_ref("wxValidator");
14984 if (SWIG_arg_fail(10)) SWIG_fail
;
14989 arg11
= wxString_in_helper(obj10
);
14990 if (arg11
== NULL
) SWIG_fail
;
14995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14996 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
14998 wxPyEndAllowThreads(__tstate
);
14999 if (PyErr_Occurred()) SWIG_fail
;
15002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15018 static PyObject
*_wrap_Slider_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15019 PyObject
*resultobj
;
15020 wxSlider
*arg1
= (wxSlider
*) 0 ;
15022 PyObject
* obj0
= 0 ;
15023 char *kwnames
[] = {
15024 (char *) "self", NULL
15027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
15028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15029 if (SWIG_arg_fail(1)) SWIG_fail
;
15031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15032 result
= (int)((wxSlider
const *)arg1
)->GetValue();
15034 wxPyEndAllowThreads(__tstate
);
15035 if (PyErr_Occurred()) SWIG_fail
;
15038 resultobj
= SWIG_From_int((int)(result
));
15046 static PyObject
*_wrap_Slider_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15047 PyObject
*resultobj
;
15048 wxSlider
*arg1
= (wxSlider
*) 0 ;
15050 PyObject
* obj0
= 0 ;
15051 PyObject
* obj1
= 0 ;
15052 char *kwnames
[] = {
15053 (char *) "self",(char *) "value", NULL
15056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
15057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15058 if (SWIG_arg_fail(1)) SWIG_fail
;
15060 arg2
= (int)(SWIG_As_int(obj1
));
15061 if (SWIG_arg_fail(2)) SWIG_fail
;
15064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15065 (arg1
)->SetValue(arg2
);
15067 wxPyEndAllowThreads(__tstate
);
15068 if (PyErr_Occurred()) SWIG_fail
;
15070 Py_INCREF(Py_None
); resultobj
= Py_None
;
15077 static PyObject
*_wrap_Slider_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15078 PyObject
*resultobj
;
15079 wxSlider
*arg1
= (wxSlider
*) 0 ;
15082 PyObject
* obj0
= 0 ;
15083 PyObject
* obj1
= 0 ;
15084 PyObject
* obj2
= 0 ;
15085 char *kwnames
[] = {
15086 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
15089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15091 if (SWIG_arg_fail(1)) SWIG_fail
;
15093 arg2
= (int)(SWIG_As_int(obj1
));
15094 if (SWIG_arg_fail(2)) SWIG_fail
;
15097 arg3
= (int)(SWIG_As_int(obj2
));
15098 if (SWIG_arg_fail(3)) SWIG_fail
;
15101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15102 (arg1
)->SetRange(arg2
,arg3
);
15104 wxPyEndAllowThreads(__tstate
);
15105 if (PyErr_Occurred()) SWIG_fail
;
15107 Py_INCREF(Py_None
); resultobj
= Py_None
;
15114 static PyObject
*_wrap_Slider_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15115 PyObject
*resultobj
;
15116 wxSlider
*arg1
= (wxSlider
*) 0 ;
15118 PyObject
* obj0
= 0 ;
15119 char *kwnames
[] = {
15120 (char *) "self", NULL
15123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
15124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15125 if (SWIG_arg_fail(1)) SWIG_fail
;
15127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15128 result
= (int)((wxSlider
const *)arg1
)->GetMin();
15130 wxPyEndAllowThreads(__tstate
);
15131 if (PyErr_Occurred()) SWIG_fail
;
15134 resultobj
= SWIG_From_int((int)(result
));
15142 static PyObject
*_wrap_Slider_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15143 PyObject
*resultobj
;
15144 wxSlider
*arg1
= (wxSlider
*) 0 ;
15146 PyObject
* obj0
= 0 ;
15147 char *kwnames
[] = {
15148 (char *) "self", NULL
15151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
15152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15153 if (SWIG_arg_fail(1)) SWIG_fail
;
15155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15156 result
= (int)((wxSlider
const *)arg1
)->GetMax();
15158 wxPyEndAllowThreads(__tstate
);
15159 if (PyErr_Occurred()) SWIG_fail
;
15162 resultobj
= SWIG_From_int((int)(result
));
15170 static PyObject
*_wrap_Slider_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15171 PyObject
*resultobj
;
15172 wxSlider
*arg1
= (wxSlider
*) 0 ;
15174 PyObject
* obj0
= 0 ;
15175 PyObject
* obj1
= 0 ;
15176 char *kwnames
[] = {
15177 (char *) "self",(char *) "minValue", NULL
15180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
15181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15182 if (SWIG_arg_fail(1)) SWIG_fail
;
15184 arg2
= (int)(SWIG_As_int(obj1
));
15185 if (SWIG_arg_fail(2)) SWIG_fail
;
15188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15189 (arg1
)->SetMin(arg2
);
15191 wxPyEndAllowThreads(__tstate
);
15192 if (PyErr_Occurred()) SWIG_fail
;
15194 Py_INCREF(Py_None
); resultobj
= Py_None
;
15201 static PyObject
*_wrap_Slider_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15202 PyObject
*resultobj
;
15203 wxSlider
*arg1
= (wxSlider
*) 0 ;
15205 PyObject
* obj0
= 0 ;
15206 PyObject
* obj1
= 0 ;
15207 char *kwnames
[] = {
15208 (char *) "self",(char *) "maxValue", NULL
15211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
15212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15213 if (SWIG_arg_fail(1)) SWIG_fail
;
15215 arg2
= (int)(SWIG_As_int(obj1
));
15216 if (SWIG_arg_fail(2)) SWIG_fail
;
15219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15220 (arg1
)->SetMax(arg2
);
15222 wxPyEndAllowThreads(__tstate
);
15223 if (PyErr_Occurred()) SWIG_fail
;
15225 Py_INCREF(Py_None
); resultobj
= Py_None
;
15232 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15233 PyObject
*resultobj
;
15234 wxSlider
*arg1
= (wxSlider
*) 0 ;
15236 PyObject
* obj0
= 0 ;
15237 PyObject
* obj1
= 0 ;
15238 char *kwnames
[] = {
15239 (char *) "self",(char *) "lineSize", NULL
15242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15244 if (SWIG_arg_fail(1)) SWIG_fail
;
15246 arg2
= (int)(SWIG_As_int(obj1
));
15247 if (SWIG_arg_fail(2)) SWIG_fail
;
15250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15251 (arg1
)->SetLineSize(arg2
);
15253 wxPyEndAllowThreads(__tstate
);
15254 if (PyErr_Occurred()) SWIG_fail
;
15256 Py_INCREF(Py_None
); resultobj
= Py_None
;
15263 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15264 PyObject
*resultobj
;
15265 wxSlider
*arg1
= (wxSlider
*) 0 ;
15267 PyObject
* obj0
= 0 ;
15268 PyObject
* obj1
= 0 ;
15269 char *kwnames
[] = {
15270 (char *) "self",(char *) "pageSize", NULL
15273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15275 if (SWIG_arg_fail(1)) SWIG_fail
;
15277 arg2
= (int)(SWIG_As_int(obj1
));
15278 if (SWIG_arg_fail(2)) SWIG_fail
;
15281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15282 (arg1
)->SetPageSize(arg2
);
15284 wxPyEndAllowThreads(__tstate
);
15285 if (PyErr_Occurred()) SWIG_fail
;
15287 Py_INCREF(Py_None
); resultobj
= Py_None
;
15294 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15295 PyObject
*resultobj
;
15296 wxSlider
*arg1
= (wxSlider
*) 0 ;
15298 PyObject
* obj0
= 0 ;
15299 char *kwnames
[] = {
15300 (char *) "self", NULL
15303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
15304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15305 if (SWIG_arg_fail(1)) SWIG_fail
;
15307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15308 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
15310 wxPyEndAllowThreads(__tstate
);
15311 if (PyErr_Occurred()) SWIG_fail
;
15314 resultobj
= SWIG_From_int((int)(result
));
15322 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15323 PyObject
*resultobj
;
15324 wxSlider
*arg1
= (wxSlider
*) 0 ;
15326 PyObject
* obj0
= 0 ;
15327 char *kwnames
[] = {
15328 (char *) "self", NULL
15331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
15332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15333 if (SWIG_arg_fail(1)) SWIG_fail
;
15335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15336 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
15338 wxPyEndAllowThreads(__tstate
);
15339 if (PyErr_Occurred()) SWIG_fail
;
15342 resultobj
= SWIG_From_int((int)(result
));
15350 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15351 PyObject
*resultobj
;
15352 wxSlider
*arg1
= (wxSlider
*) 0 ;
15354 PyObject
* obj0
= 0 ;
15355 PyObject
* obj1
= 0 ;
15356 char *kwnames
[] = {
15357 (char *) "self",(char *) "lenPixels", NULL
15360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
15361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15362 if (SWIG_arg_fail(1)) SWIG_fail
;
15364 arg2
= (int)(SWIG_As_int(obj1
));
15365 if (SWIG_arg_fail(2)) SWIG_fail
;
15368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15369 (arg1
)->SetThumbLength(arg2
);
15371 wxPyEndAllowThreads(__tstate
);
15372 if (PyErr_Occurred()) SWIG_fail
;
15374 Py_INCREF(Py_None
); resultobj
= Py_None
;
15381 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15382 PyObject
*resultobj
;
15383 wxSlider
*arg1
= (wxSlider
*) 0 ;
15385 PyObject
* obj0
= 0 ;
15386 char *kwnames
[] = {
15387 (char *) "self", NULL
15390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
15391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15392 if (SWIG_arg_fail(1)) SWIG_fail
;
15394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15395 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
15397 wxPyEndAllowThreads(__tstate
);
15398 if (PyErr_Occurred()) SWIG_fail
;
15401 resultobj
= SWIG_From_int((int)(result
));
15409 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15410 PyObject
*resultobj
;
15411 wxSlider
*arg1
= (wxSlider
*) 0 ;
15413 int arg3
= (int) 1 ;
15414 PyObject
* obj0
= 0 ;
15415 PyObject
* obj1
= 0 ;
15416 PyObject
* obj2
= 0 ;
15417 char *kwnames
[] = {
15418 (char *) "self",(char *) "n",(char *) "pos", NULL
15421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15423 if (SWIG_arg_fail(1)) SWIG_fail
;
15425 arg2
= (int)(SWIG_As_int(obj1
));
15426 if (SWIG_arg_fail(2)) SWIG_fail
;
15430 arg3
= (int)(SWIG_As_int(obj2
));
15431 if (SWIG_arg_fail(3)) SWIG_fail
;
15435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15436 (arg1
)->SetTickFreq(arg2
,arg3
);
15438 wxPyEndAllowThreads(__tstate
);
15439 if (PyErr_Occurred()) SWIG_fail
;
15441 Py_INCREF(Py_None
); resultobj
= Py_None
;
15448 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15449 PyObject
*resultobj
;
15450 wxSlider
*arg1
= (wxSlider
*) 0 ;
15452 PyObject
* obj0
= 0 ;
15453 char *kwnames
[] = {
15454 (char *) "self", NULL
15457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
15458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15459 if (SWIG_arg_fail(1)) SWIG_fail
;
15461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15462 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
15464 wxPyEndAllowThreads(__tstate
);
15465 if (PyErr_Occurred()) SWIG_fail
;
15468 resultobj
= SWIG_From_int((int)(result
));
15476 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15477 PyObject
*resultobj
;
15478 wxSlider
*arg1
= (wxSlider
*) 0 ;
15479 PyObject
* obj0
= 0 ;
15480 char *kwnames
[] = {
15481 (char *) "self", NULL
15484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
15485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15486 if (SWIG_arg_fail(1)) SWIG_fail
;
15488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15489 (arg1
)->ClearTicks();
15491 wxPyEndAllowThreads(__tstate
);
15492 if (PyErr_Occurred()) SWIG_fail
;
15494 Py_INCREF(Py_None
); resultobj
= Py_None
;
15501 static PyObject
*_wrap_Slider_SetTick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15502 PyObject
*resultobj
;
15503 wxSlider
*arg1
= (wxSlider
*) 0 ;
15505 PyObject
* obj0
= 0 ;
15506 PyObject
* obj1
= 0 ;
15507 char *kwnames
[] = {
15508 (char *) "self",(char *) "tickPos", NULL
15511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
15512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15513 if (SWIG_arg_fail(1)) SWIG_fail
;
15515 arg2
= (int)(SWIG_As_int(obj1
));
15516 if (SWIG_arg_fail(2)) SWIG_fail
;
15519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15520 (arg1
)->SetTick(arg2
);
15522 wxPyEndAllowThreads(__tstate
);
15523 if (PyErr_Occurred()) SWIG_fail
;
15525 Py_INCREF(Py_None
); resultobj
= Py_None
;
15532 static PyObject
*_wrap_Slider_ClearSel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15533 PyObject
*resultobj
;
15534 wxSlider
*arg1
= (wxSlider
*) 0 ;
15535 PyObject
* obj0
= 0 ;
15536 char *kwnames
[] = {
15537 (char *) "self", NULL
15540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
15541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15542 if (SWIG_arg_fail(1)) SWIG_fail
;
15544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15545 (arg1
)->ClearSel();
15547 wxPyEndAllowThreads(__tstate
);
15548 if (PyErr_Occurred()) SWIG_fail
;
15550 Py_INCREF(Py_None
); resultobj
= Py_None
;
15557 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15558 PyObject
*resultobj
;
15559 wxSlider
*arg1
= (wxSlider
*) 0 ;
15561 PyObject
* obj0
= 0 ;
15562 char *kwnames
[] = {
15563 (char *) "self", NULL
15566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
15567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15568 if (SWIG_arg_fail(1)) SWIG_fail
;
15570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15571 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
15573 wxPyEndAllowThreads(__tstate
);
15574 if (PyErr_Occurred()) SWIG_fail
;
15577 resultobj
= SWIG_From_int((int)(result
));
15585 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15586 PyObject
*resultobj
;
15587 wxSlider
*arg1
= (wxSlider
*) 0 ;
15589 PyObject
* obj0
= 0 ;
15590 char *kwnames
[] = {
15591 (char *) "self", NULL
15594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
15595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15596 if (SWIG_arg_fail(1)) SWIG_fail
;
15598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15599 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
15601 wxPyEndAllowThreads(__tstate
);
15602 if (PyErr_Occurred()) SWIG_fail
;
15605 resultobj
= SWIG_From_int((int)(result
));
15613 static PyObject
*_wrap_Slider_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15614 PyObject
*resultobj
;
15615 wxSlider
*arg1
= (wxSlider
*) 0 ;
15618 PyObject
* obj0
= 0 ;
15619 PyObject
* obj1
= 0 ;
15620 PyObject
* obj2
= 0 ;
15621 char *kwnames
[] = {
15622 (char *) "self",(char *) "min",(char *) "max", NULL
15625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15627 if (SWIG_arg_fail(1)) SWIG_fail
;
15629 arg2
= (int)(SWIG_As_int(obj1
));
15630 if (SWIG_arg_fail(2)) SWIG_fail
;
15633 arg3
= (int)(SWIG_As_int(obj2
));
15634 if (SWIG_arg_fail(3)) SWIG_fail
;
15637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15638 (arg1
)->SetSelection(arg2
,arg3
);
15640 wxPyEndAllowThreads(__tstate
);
15641 if (PyErr_Occurred()) SWIG_fail
;
15643 Py_INCREF(Py_None
); resultobj
= Py_None
;
15650 static PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15651 PyObject
*resultobj
;
15652 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15653 wxVisualAttributes result
;
15654 PyObject
* obj0
= 0 ;
15655 char *kwnames
[] = {
15656 (char *) "variant", NULL
15659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15662 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
15663 if (SWIG_arg_fail(1)) SWIG_fail
;
15667 if (!wxPyCheckForApp()) SWIG_fail
;
15668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15669 result
= wxSlider::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15671 wxPyEndAllowThreads(__tstate
);
15672 if (PyErr_Occurred()) SWIG_fail
;
15675 wxVisualAttributes
* resultptr
;
15676 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
15677 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15685 static PyObject
* Slider_swigregister(PyObject
*, PyObject
*args
) {
15687 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15688 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
15690 return Py_BuildValue((char *)"");
15692 static int _wrap_ToggleButtonNameStr_set(PyObject
*) {
15693 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
15698 static PyObject
*_wrap_ToggleButtonNameStr_get(void) {
15703 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
15705 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
15712 static PyObject
*_wrap_new_ToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15713 PyObject
*resultobj
;
15714 wxWindow
*arg1
= (wxWindow
*) 0 ;
15715 int arg2
= (int) -1 ;
15716 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15717 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15718 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15719 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15720 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15721 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15722 long arg6
= (long) 0 ;
15723 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
15724 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
15725 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
15726 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15727 wxToggleButton
*result
;
15728 bool temp3
= false ;
15731 bool temp8
= false ;
15732 PyObject
* obj0
= 0 ;
15733 PyObject
* obj1
= 0 ;
15734 PyObject
* obj2
= 0 ;
15735 PyObject
* obj3
= 0 ;
15736 PyObject
* obj4
= 0 ;
15737 PyObject
* obj5
= 0 ;
15738 PyObject
* obj6
= 0 ;
15739 PyObject
* obj7
= 0 ;
15740 char *kwnames
[] = {
15741 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
15745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15746 if (SWIG_arg_fail(1)) SWIG_fail
;
15749 arg2
= (int)(SWIG_As_int(obj1
));
15750 if (SWIG_arg_fail(2)) SWIG_fail
;
15755 arg3
= wxString_in_helper(obj2
);
15756 if (arg3
== NULL
) SWIG_fail
;
15763 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15769 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15774 arg6
= (long)(SWIG_As_long(obj5
));
15775 if (SWIG_arg_fail(6)) SWIG_fail
;
15780 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
15781 if (SWIG_arg_fail(7)) SWIG_fail
;
15782 if (arg7
== NULL
) {
15783 SWIG_null_ref("wxValidator");
15785 if (SWIG_arg_fail(7)) SWIG_fail
;
15790 arg8
= wxString_in_helper(obj7
);
15791 if (arg8
== NULL
) SWIG_fail
;
15796 if (!wxPyCheckForApp()) SWIG_fail
;
15797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15798 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
15800 wxPyEndAllowThreads(__tstate
);
15801 if (PyErr_Occurred()) SWIG_fail
;
15803 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
15826 static PyObject
*_wrap_new_PreToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15827 PyObject
*resultobj
;
15828 wxToggleButton
*result
;
15829 char *kwnames
[] = {
15833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
15835 if (!wxPyCheckForApp()) SWIG_fail
;
15836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15837 result
= (wxToggleButton
*)new wxToggleButton();
15839 wxPyEndAllowThreads(__tstate
);
15840 if (PyErr_Occurred()) SWIG_fail
;
15842 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
15849 static PyObject
*_wrap_ToggleButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15850 PyObject
*resultobj
;
15851 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
15852 wxWindow
*arg2
= (wxWindow
*) 0 ;
15853 int arg3
= (int) -1 ;
15854 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15855 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15856 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15857 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15858 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15859 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15860 long arg7
= (long) 0 ;
15861 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
15862 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
15863 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
15864 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
15866 bool temp4
= false ;
15869 bool temp9
= false ;
15870 PyObject
* obj0
= 0 ;
15871 PyObject
* obj1
= 0 ;
15872 PyObject
* obj2
= 0 ;
15873 PyObject
* obj3
= 0 ;
15874 PyObject
* obj4
= 0 ;
15875 PyObject
* obj5
= 0 ;
15876 PyObject
* obj6
= 0 ;
15877 PyObject
* obj7
= 0 ;
15878 PyObject
* obj8
= 0 ;
15879 char *kwnames
[] = {
15880 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
15884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
15885 if (SWIG_arg_fail(1)) SWIG_fail
;
15886 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15887 if (SWIG_arg_fail(2)) SWIG_fail
;
15890 arg3
= (int)(SWIG_As_int(obj2
));
15891 if (SWIG_arg_fail(3)) SWIG_fail
;
15896 arg4
= wxString_in_helper(obj3
);
15897 if (arg4
== NULL
) SWIG_fail
;
15904 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15910 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15915 arg7
= (long)(SWIG_As_long(obj6
));
15916 if (SWIG_arg_fail(7)) SWIG_fail
;
15921 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
15922 if (SWIG_arg_fail(8)) SWIG_fail
;
15923 if (arg8
== NULL
) {
15924 SWIG_null_ref("wxValidator");
15926 if (SWIG_arg_fail(8)) SWIG_fail
;
15931 arg9
= wxString_in_helper(obj8
);
15932 if (arg9
== NULL
) SWIG_fail
;
15937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15938 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
15940 wxPyEndAllowThreads(__tstate
);
15941 if (PyErr_Occurred()) SWIG_fail
;
15944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15968 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15969 PyObject
*resultobj
;
15970 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
15972 PyObject
* obj0
= 0 ;
15973 PyObject
* obj1
= 0 ;
15974 char *kwnames
[] = {
15975 (char *) "self",(char *) "value", NULL
15978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
15979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
15980 if (SWIG_arg_fail(1)) SWIG_fail
;
15982 arg2
= (bool)(SWIG_As_bool(obj1
));
15983 if (SWIG_arg_fail(2)) SWIG_fail
;
15986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15987 (arg1
)->SetValue(arg2
);
15989 wxPyEndAllowThreads(__tstate
);
15990 if (PyErr_Occurred()) SWIG_fail
;
15992 Py_INCREF(Py_None
); resultobj
= Py_None
;
15999 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16000 PyObject
*resultobj
;
16001 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
16003 PyObject
* obj0
= 0 ;
16004 char *kwnames
[] = {
16005 (char *) "self", NULL
16008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
16009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
16010 if (SWIG_arg_fail(1)) SWIG_fail
;
16012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16013 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
16015 wxPyEndAllowThreads(__tstate
);
16016 if (PyErr_Occurred()) SWIG_fail
;
16019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16027 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16028 PyObject
*resultobj
;
16029 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
16030 wxString
*arg2
= 0 ;
16031 bool temp2
= false ;
16032 PyObject
* obj0
= 0 ;
16033 PyObject
* obj1
= 0 ;
16034 char *kwnames
[] = {
16035 (char *) "self",(char *) "label", NULL
16038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
16039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
16040 if (SWIG_arg_fail(1)) SWIG_fail
;
16042 arg2
= wxString_in_helper(obj1
);
16043 if (arg2
== NULL
) SWIG_fail
;
16047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16048 (arg1
)->SetLabel((wxString
const &)*arg2
);
16050 wxPyEndAllowThreads(__tstate
);
16051 if (PyErr_Occurred()) SWIG_fail
;
16053 Py_INCREF(Py_None
); resultobj
= Py_None
;
16068 static PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16069 PyObject
*resultobj
;
16070 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16071 wxVisualAttributes result
;
16072 PyObject
* obj0
= 0 ;
16073 char *kwnames
[] = {
16074 (char *) "variant", NULL
16077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16080 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
16081 if (SWIG_arg_fail(1)) SWIG_fail
;
16085 if (!wxPyCheckForApp()) SWIG_fail
;
16086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16087 result
= wxToggleButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
16089 wxPyEndAllowThreads(__tstate
);
16090 if (PyErr_Occurred()) SWIG_fail
;
16093 wxVisualAttributes
* resultptr
;
16094 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
16095 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16103 static PyObject
* ToggleButton_swigregister(PyObject
*, PyObject
*args
) {
16105 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16106 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
16108 return Py_BuildValue((char *)"");
16110 static int _wrap_NotebookNameStr_set(PyObject
*) {
16111 PyErr_SetString(PyExc_TypeError
,"Variable NotebookNameStr is read-only.");
16116 static PyObject
*_wrap_NotebookNameStr_get(void) {
16121 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
16123 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
16130 static PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16131 PyObject
*resultobj
;
16132 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16134 PyObject
* obj0
= 0 ;
16135 char *kwnames
[] = {
16136 (char *) "self", NULL
16139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetPageCount",kwnames
,&obj0
)) goto fail
;
16140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16141 if (SWIG_arg_fail(1)) SWIG_fail
;
16143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16144 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
16146 wxPyEndAllowThreads(__tstate
);
16147 if (PyErr_Occurred()) SWIG_fail
;
16150 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
16158 static PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16159 PyObject
*resultobj
;
16160 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16163 PyObject
* obj0
= 0 ;
16164 PyObject
* obj1
= 0 ;
16165 char *kwnames
[] = {
16166 (char *) "self",(char *) "n", NULL
16169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
16170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16171 if (SWIG_arg_fail(1)) SWIG_fail
;
16173 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16174 if (SWIG_arg_fail(2)) SWIG_fail
;
16177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16178 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
16180 wxPyEndAllowThreads(__tstate
);
16181 if (PyErr_Occurred()) SWIG_fail
;
16184 resultobj
= wxPyMake_wxObject(result
, 0);
16192 static PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16193 PyObject
*resultobj
;
16194 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16196 PyObject
* obj0
= 0 ;
16197 char *kwnames
[] = {
16198 (char *) "self", NULL
16201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
16202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16203 if (SWIG_arg_fail(1)) SWIG_fail
;
16205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16206 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
16208 wxPyEndAllowThreads(__tstate
);
16209 if (PyErr_Occurred()) SWIG_fail
;
16212 resultobj
= wxPyMake_wxObject(result
, 0);
16220 static PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16221 PyObject
*resultobj
;
16222 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16224 PyObject
* obj0
= 0 ;
16225 char *kwnames
[] = {
16226 (char *) "self", NULL
16229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetSelection",kwnames
,&obj0
)) goto fail
;
16230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16231 if (SWIG_arg_fail(1)) SWIG_fail
;
16233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16234 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
16236 wxPyEndAllowThreads(__tstate
);
16237 if (PyErr_Occurred()) SWIG_fail
;
16240 resultobj
= SWIG_From_int((int)(result
));
16248 static PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16249 PyObject
*resultobj
;
16250 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16252 wxString
*arg3
= 0 ;
16254 bool temp3
= false ;
16255 PyObject
* obj0
= 0 ;
16256 PyObject
* obj1
= 0 ;
16257 PyObject
* obj2
= 0 ;
16258 char *kwnames
[] = {
16259 (char *) "self",(char *) "n",(char *) "strText", NULL
16262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16264 if (SWIG_arg_fail(1)) SWIG_fail
;
16266 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16267 if (SWIG_arg_fail(2)) SWIG_fail
;
16270 arg3
= wxString_in_helper(obj2
);
16271 if (arg3
== NULL
) SWIG_fail
;
16275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16276 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
16278 wxPyEndAllowThreads(__tstate
);
16279 if (PyErr_Occurred()) SWIG_fail
;
16282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16298 static PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16299 PyObject
*resultobj
;
16300 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16303 PyObject
* obj0
= 0 ;
16304 PyObject
* obj1
= 0 ;
16305 char *kwnames
[] = {
16306 (char *) "self",(char *) "n", NULL
16309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
16310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16311 if (SWIG_arg_fail(1)) SWIG_fail
;
16313 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16314 if (SWIG_arg_fail(2)) SWIG_fail
;
16317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16318 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
16320 wxPyEndAllowThreads(__tstate
);
16321 if (PyErr_Occurred()) SWIG_fail
;
16325 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16327 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16336 static PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16337 PyObject
*resultobj
;
16338 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16339 wxImageList
*arg2
= (wxImageList
*) 0 ;
16340 PyObject
* obj0
= 0 ;
16341 PyObject
* obj1
= 0 ;
16342 char *kwnames
[] = {
16343 (char *) "self",(char *) "imageList", NULL
16346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
16347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16348 if (SWIG_arg_fail(1)) SWIG_fail
;
16349 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
16350 if (SWIG_arg_fail(2)) SWIG_fail
;
16352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16353 (arg1
)->SetImageList(arg2
);
16355 wxPyEndAllowThreads(__tstate
);
16356 if (PyErr_Occurred()) SWIG_fail
;
16358 Py_INCREF(Py_None
); resultobj
= Py_None
;
16365 static PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16366 PyObject
*resultobj
;
16367 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16368 wxImageList
*arg2
= (wxImageList
*) 0 ;
16369 PyObject
* obj0
= 0 ;
16370 PyObject
* obj1
= 0 ;
16371 char *kwnames
[] = {
16372 (char *) "self",(char *) "imageList", NULL
16375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
16376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16377 if (SWIG_arg_fail(1)) SWIG_fail
;
16378 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
16379 if (SWIG_arg_fail(2)) SWIG_fail
;
16381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16382 (arg1
)->AssignImageList(arg2
);
16384 wxPyEndAllowThreads(__tstate
);
16385 if (PyErr_Occurred()) SWIG_fail
;
16387 Py_INCREF(Py_None
); resultobj
= Py_None
;
16394 static PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16395 PyObject
*resultobj
;
16396 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16397 wxImageList
*result
;
16398 PyObject
* obj0
= 0 ;
16399 char *kwnames
[] = {
16400 (char *) "self", NULL
16403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetImageList",kwnames
,&obj0
)) goto fail
;
16404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16405 if (SWIG_arg_fail(1)) SWIG_fail
;
16407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16408 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
16410 wxPyEndAllowThreads(__tstate
);
16411 if (PyErr_Occurred()) SWIG_fail
;
16414 resultobj
= wxPyMake_wxObject(result
, 0);
16422 static PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16423 PyObject
*resultobj
;
16424 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16427 PyObject
* obj0
= 0 ;
16428 PyObject
* obj1
= 0 ;
16429 char *kwnames
[] = {
16430 (char *) "self",(char *) "n", NULL
16433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
16434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16435 if (SWIG_arg_fail(1)) SWIG_fail
;
16437 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16438 if (SWIG_arg_fail(2)) SWIG_fail
;
16441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16442 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
16444 wxPyEndAllowThreads(__tstate
);
16445 if (PyErr_Occurred()) SWIG_fail
;
16448 resultobj
= SWIG_From_int((int)(result
));
16456 static PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16457 PyObject
*resultobj
;
16458 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16462 PyObject
* obj0
= 0 ;
16463 PyObject
* obj1
= 0 ;
16464 PyObject
* obj2
= 0 ;
16465 char *kwnames
[] = {
16466 (char *) "self",(char *) "n",(char *) "imageId", NULL
16469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16471 if (SWIG_arg_fail(1)) SWIG_fail
;
16473 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16474 if (SWIG_arg_fail(2)) SWIG_fail
;
16477 arg3
= (int)(SWIG_As_int(obj2
));
16478 if (SWIG_arg_fail(3)) SWIG_fail
;
16481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16482 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
16484 wxPyEndAllowThreads(__tstate
);
16485 if (PyErr_Occurred()) SWIG_fail
;
16488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16496 static PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16497 PyObject
*resultobj
;
16498 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16501 PyObject
* obj0
= 0 ;
16502 PyObject
* obj1
= 0 ;
16503 char *kwnames
[] = {
16504 (char *) "self",(char *) "size", NULL
16507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16509 if (SWIG_arg_fail(1)) SWIG_fail
;
16512 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16516 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
16518 wxPyEndAllowThreads(__tstate
);
16519 if (PyErr_Occurred()) SWIG_fail
;
16521 Py_INCREF(Py_None
); resultobj
= Py_None
;
16528 static PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16529 PyObject
*resultobj
;
16530 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16534 PyObject
* obj0
= 0 ;
16535 PyObject
* obj1
= 0 ;
16536 char *kwnames
[] = {
16537 (char *) "self",(char *) "sizePage", NULL
16540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
16541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16542 if (SWIG_arg_fail(1)) SWIG_fail
;
16545 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16549 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
16551 wxPyEndAllowThreads(__tstate
);
16552 if (PyErr_Occurred()) SWIG_fail
;
16555 wxSize
* resultptr
;
16556 resultptr
= new wxSize((wxSize
&)(result
));
16557 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16565 static PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16566 PyObject
*resultobj
;
16567 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16570 PyObject
* obj0
= 0 ;
16571 PyObject
* obj1
= 0 ;
16572 char *kwnames
[] = {
16573 (char *) "self",(char *) "n", NULL
16576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
16577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16578 if (SWIG_arg_fail(1)) SWIG_fail
;
16580 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16581 if (SWIG_arg_fail(2)) SWIG_fail
;
16584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16585 result
= (bool)(arg1
)->DeletePage(arg2
);
16587 wxPyEndAllowThreads(__tstate
);
16588 if (PyErr_Occurred()) SWIG_fail
;
16591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16599 static PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16600 PyObject
*resultobj
;
16601 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16604 PyObject
* obj0
= 0 ;
16605 PyObject
* obj1
= 0 ;
16606 char *kwnames
[] = {
16607 (char *) "self",(char *) "n", NULL
16610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
16611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16612 if (SWIG_arg_fail(1)) SWIG_fail
;
16614 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16615 if (SWIG_arg_fail(2)) SWIG_fail
;
16618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16619 result
= (bool)(arg1
)->RemovePage(arg2
);
16621 wxPyEndAllowThreads(__tstate
);
16622 if (PyErr_Occurred()) SWIG_fail
;
16625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16633 static PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16634 PyObject
*resultobj
;
16635 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16637 PyObject
* obj0
= 0 ;
16638 char *kwnames
[] = {
16639 (char *) "self", NULL
16642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
16643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16644 if (SWIG_arg_fail(1)) SWIG_fail
;
16646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16647 result
= (bool)(arg1
)->DeleteAllPages();
16649 wxPyEndAllowThreads(__tstate
);
16650 if (PyErr_Occurred()) SWIG_fail
;
16653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16661 static PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16662 PyObject
*resultobj
;
16663 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16664 wxWindow
*arg2
= (wxWindow
*) 0 ;
16665 wxString
*arg3
= 0 ;
16666 bool arg4
= (bool) false ;
16667 int arg5
= (int) -1 ;
16669 bool temp3
= false ;
16670 PyObject
* obj0
= 0 ;
16671 PyObject
* obj1
= 0 ;
16672 PyObject
* obj2
= 0 ;
16673 PyObject
* obj3
= 0 ;
16674 PyObject
* obj4
= 0 ;
16675 char *kwnames
[] = {
16676 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16681 if (SWIG_arg_fail(1)) SWIG_fail
;
16682 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16683 if (SWIG_arg_fail(2)) SWIG_fail
;
16685 arg3
= wxString_in_helper(obj2
);
16686 if (arg3
== NULL
) SWIG_fail
;
16691 arg4
= (bool)(SWIG_As_bool(obj3
));
16692 if (SWIG_arg_fail(4)) SWIG_fail
;
16697 arg5
= (int)(SWIG_As_int(obj4
));
16698 if (SWIG_arg_fail(5)) SWIG_fail
;
16702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16703 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
16705 wxPyEndAllowThreads(__tstate
);
16706 if (PyErr_Occurred()) SWIG_fail
;
16709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16725 static PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16726 PyObject
*resultobj
;
16727 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16729 wxWindow
*arg3
= (wxWindow
*) 0 ;
16730 wxString
*arg4
= 0 ;
16731 bool arg5
= (bool) false ;
16732 int arg6
= (int) -1 ;
16734 bool temp4
= false ;
16735 PyObject
* obj0
= 0 ;
16736 PyObject
* obj1
= 0 ;
16737 PyObject
* obj2
= 0 ;
16738 PyObject
* obj3
= 0 ;
16739 PyObject
* obj4
= 0 ;
16740 PyObject
* obj5
= 0 ;
16741 char *kwnames
[] = {
16742 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16747 if (SWIG_arg_fail(1)) SWIG_fail
;
16749 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16750 if (SWIG_arg_fail(2)) SWIG_fail
;
16752 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16753 if (SWIG_arg_fail(3)) SWIG_fail
;
16755 arg4
= wxString_in_helper(obj3
);
16756 if (arg4
== NULL
) SWIG_fail
;
16761 arg5
= (bool)(SWIG_As_bool(obj4
));
16762 if (SWIG_arg_fail(5)) SWIG_fail
;
16767 arg6
= (int)(SWIG_As_int(obj5
));
16768 if (SWIG_arg_fail(6)) SWIG_fail
;
16772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16773 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16775 wxPyEndAllowThreads(__tstate
);
16776 if (PyErr_Occurred()) SWIG_fail
;
16779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16795 static PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16796 PyObject
*resultobj
;
16797 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16800 PyObject
* obj0
= 0 ;
16801 PyObject
* obj1
= 0 ;
16802 char *kwnames
[] = {
16803 (char *) "self",(char *) "n", NULL
16806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16808 if (SWIG_arg_fail(1)) SWIG_fail
;
16810 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16811 if (SWIG_arg_fail(2)) SWIG_fail
;
16814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16815 result
= (int)(arg1
)->SetSelection(arg2
);
16817 wxPyEndAllowThreads(__tstate
);
16818 if (PyErr_Occurred()) SWIG_fail
;
16821 resultobj
= SWIG_From_int((int)(result
));
16829 static PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16830 PyObject
*resultobj
;
16831 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16832 bool arg2
= (bool) true ;
16833 PyObject
* obj0
= 0 ;
16834 PyObject
* obj1
= 0 ;
16835 char *kwnames
[] = {
16836 (char *) "self",(char *) "forward", NULL
16839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16841 if (SWIG_arg_fail(1)) SWIG_fail
;
16844 arg2
= (bool)(SWIG_As_bool(obj1
));
16845 if (SWIG_arg_fail(2)) SWIG_fail
;
16849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16850 (arg1
)->AdvanceSelection(arg2
);
16852 wxPyEndAllowThreads(__tstate
);
16853 if (PyErr_Occurred()) SWIG_fail
;
16855 Py_INCREF(Py_None
); resultobj
= Py_None
;
16862 static PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16863 PyObject
*resultobj
;
16864 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16865 wxVisualAttributes result
;
16866 PyObject
* obj0
= 0 ;
16867 char *kwnames
[] = {
16868 (char *) "variant", NULL
16871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16874 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
16875 if (SWIG_arg_fail(1)) SWIG_fail
;
16879 if (!wxPyCheckForApp()) SWIG_fail
;
16880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16881 result
= wxBookCtrlBase::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
16883 wxPyEndAllowThreads(__tstate
);
16884 if (PyErr_Occurred()) SWIG_fail
;
16887 wxVisualAttributes
* resultptr
;
16888 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
16889 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16897 static PyObject
* BookCtrlBase_swigregister(PyObject
*, PyObject
*args
) {
16899 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16900 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBase
, obj
);
16902 return Py_BuildValue((char *)"");
16904 static PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16905 PyObject
*resultobj
;
16906 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16907 int arg2
= (int) 0 ;
16908 int arg3
= (int) -1 ;
16909 int arg4
= (int) -1 ;
16910 wxBookCtrlBaseEvent
*result
;
16911 PyObject
* obj0
= 0 ;
16912 PyObject
* obj1
= 0 ;
16913 PyObject
* obj2
= 0 ;
16914 PyObject
* obj3
= 0 ;
16915 char *kwnames
[] = {
16916 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
16919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16922 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16923 if (SWIG_arg_fail(1)) SWIG_fail
;
16928 arg2
= (int)(SWIG_As_int(obj1
));
16929 if (SWIG_arg_fail(2)) SWIG_fail
;
16934 arg3
= (int)(SWIG_As_int(obj2
));
16935 if (SWIG_arg_fail(3)) SWIG_fail
;
16940 arg4
= (int)(SWIG_As_int(obj3
));
16941 if (SWIG_arg_fail(4)) SWIG_fail
;
16945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16946 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
16948 wxPyEndAllowThreads(__tstate
);
16949 if (PyErr_Occurred()) SWIG_fail
;
16951 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, 1);
16958 static PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16959 PyObject
*resultobj
;
16960 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
16962 PyObject
* obj0
= 0 ;
16963 char *kwnames
[] = {
16964 (char *) "self", NULL
16967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
16968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16969 if (SWIG_arg_fail(1)) SWIG_fail
;
16971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16972 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
16974 wxPyEndAllowThreads(__tstate
);
16975 if (PyErr_Occurred()) SWIG_fail
;
16978 resultobj
= SWIG_From_int((int)(result
));
16986 static PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16987 PyObject
*resultobj
;
16988 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
16990 PyObject
* obj0
= 0 ;
16991 PyObject
* obj1
= 0 ;
16992 char *kwnames
[] = {
16993 (char *) "self",(char *) "nSel", NULL
16996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16998 if (SWIG_arg_fail(1)) SWIG_fail
;
17000 arg2
= (int)(SWIG_As_int(obj1
));
17001 if (SWIG_arg_fail(2)) SWIG_fail
;
17004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17005 (arg1
)->SetSelection(arg2
);
17007 wxPyEndAllowThreads(__tstate
);
17008 if (PyErr_Occurred()) SWIG_fail
;
17010 Py_INCREF(Py_None
); resultobj
= Py_None
;
17017 static PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17018 PyObject
*resultobj
;
17019 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
17021 PyObject
* obj0
= 0 ;
17022 char *kwnames
[] = {
17023 (char *) "self", NULL
17026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
17027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17028 if (SWIG_arg_fail(1)) SWIG_fail
;
17030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17031 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
17033 wxPyEndAllowThreads(__tstate
);
17034 if (PyErr_Occurred()) SWIG_fail
;
17037 resultobj
= SWIG_From_int((int)(result
));
17045 static PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17046 PyObject
*resultobj
;
17047 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
17049 PyObject
* obj0
= 0 ;
17050 PyObject
* obj1
= 0 ;
17051 char *kwnames
[] = {
17052 (char *) "self",(char *) "nOldSel", NULL
17055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17057 if (SWIG_arg_fail(1)) SWIG_fail
;
17059 arg2
= (int)(SWIG_As_int(obj1
));
17060 if (SWIG_arg_fail(2)) SWIG_fail
;
17063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17064 (arg1
)->SetOldSelection(arg2
);
17066 wxPyEndAllowThreads(__tstate
);
17067 if (PyErr_Occurred()) SWIG_fail
;
17069 Py_INCREF(Py_None
); resultobj
= Py_None
;
17076 static PyObject
* BookCtrlBaseEvent_swigregister(PyObject
*, PyObject
*args
) {
17078 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17079 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, obj
);
17081 return Py_BuildValue((char *)"");
17083 static PyObject
*_wrap_new_Notebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17084 PyObject
*resultobj
;
17085 wxWindow
*arg1
= (wxWindow
*) 0 ;
17086 int arg2
= (int) -1 ;
17087 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17088 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17089 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17090 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17091 long arg5
= (long) 0 ;
17092 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
17093 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17094 wxNotebook
*result
;
17097 bool temp6
= false ;
17098 PyObject
* obj0
= 0 ;
17099 PyObject
* obj1
= 0 ;
17100 PyObject
* obj2
= 0 ;
17101 PyObject
* obj3
= 0 ;
17102 PyObject
* obj4
= 0 ;
17103 PyObject
* obj5
= 0 ;
17104 char *kwnames
[] = {
17105 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17110 if (SWIG_arg_fail(1)) SWIG_fail
;
17113 arg2
= (int)(SWIG_As_int(obj1
));
17114 if (SWIG_arg_fail(2)) SWIG_fail
;
17120 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17126 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17131 arg5
= (long)(SWIG_As_long(obj4
));
17132 if (SWIG_arg_fail(5)) SWIG_fail
;
17137 arg6
= wxString_in_helper(obj5
);
17138 if (arg6
== NULL
) SWIG_fail
;
17143 if (!wxPyCheckForApp()) SWIG_fail
;
17144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17145 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17147 wxPyEndAllowThreads(__tstate
);
17148 if (PyErr_Occurred()) SWIG_fail
;
17150 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
17165 static PyObject
*_wrap_new_PreNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17166 PyObject
*resultobj
;
17167 wxNotebook
*result
;
17168 char *kwnames
[] = {
17172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
17174 if (!wxPyCheckForApp()) SWIG_fail
;
17175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17176 result
= (wxNotebook
*)new wxNotebook();
17178 wxPyEndAllowThreads(__tstate
);
17179 if (PyErr_Occurred()) SWIG_fail
;
17181 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
17188 static PyObject
*_wrap_Notebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17189 PyObject
*resultobj
;
17190 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17191 wxWindow
*arg2
= (wxWindow
*) 0 ;
17192 int arg3
= (int) -1 ;
17193 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17194 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17195 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17196 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17197 long arg6
= (long) 0 ;
17198 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
17199 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17203 bool temp7
= false ;
17204 PyObject
* obj0
= 0 ;
17205 PyObject
* obj1
= 0 ;
17206 PyObject
* obj2
= 0 ;
17207 PyObject
* obj3
= 0 ;
17208 PyObject
* obj4
= 0 ;
17209 PyObject
* obj5
= 0 ;
17210 PyObject
* obj6
= 0 ;
17211 char *kwnames
[] = {
17212 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17217 if (SWIG_arg_fail(1)) SWIG_fail
;
17218 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17219 if (SWIG_arg_fail(2)) SWIG_fail
;
17222 arg3
= (int)(SWIG_As_int(obj2
));
17223 if (SWIG_arg_fail(3)) SWIG_fail
;
17229 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17235 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17240 arg6
= (long)(SWIG_As_long(obj5
));
17241 if (SWIG_arg_fail(6)) SWIG_fail
;
17246 arg7
= wxString_in_helper(obj6
);
17247 if (arg7
== NULL
) SWIG_fail
;
17252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17253 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17255 wxPyEndAllowThreads(__tstate
);
17256 if (PyErr_Occurred()) SWIG_fail
;
17259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17275 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17276 PyObject
*resultobj
;
17277 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17279 PyObject
* obj0
= 0 ;
17280 char *kwnames
[] = {
17281 (char *) "self", NULL
17284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
17285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17286 if (SWIG_arg_fail(1)) SWIG_fail
;
17288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17289 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
17291 wxPyEndAllowThreads(__tstate
);
17292 if (PyErr_Occurred()) SWIG_fail
;
17295 resultobj
= SWIG_From_int((int)(result
));
17303 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17304 PyObject
*resultobj
;
17305 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17308 PyObject
* obj0
= 0 ;
17309 PyObject
* obj1
= 0 ;
17310 char *kwnames
[] = {
17311 (char *) "self",(char *) "padding", NULL
17314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
17315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17316 if (SWIG_arg_fail(1)) SWIG_fail
;
17319 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17323 (arg1
)->SetPadding((wxSize
const &)*arg2
);
17325 wxPyEndAllowThreads(__tstate
);
17326 if (PyErr_Occurred()) SWIG_fail
;
17328 Py_INCREF(Py_None
); resultobj
= Py_None
;
17335 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17336 PyObject
*resultobj
;
17337 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17340 PyObject
* obj0
= 0 ;
17341 PyObject
* obj1
= 0 ;
17342 char *kwnames
[] = {
17343 (char *) "self",(char *) "sz", NULL
17346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17348 if (SWIG_arg_fail(1)) SWIG_fail
;
17351 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17355 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
17357 wxPyEndAllowThreads(__tstate
);
17358 if (PyErr_Occurred()) SWIG_fail
;
17360 Py_INCREF(Py_None
); resultobj
= Py_None
;
17367 static PyObject
*_wrap_Notebook_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17368 PyObject
*resultobj
;
17369 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17370 wxPoint
*arg2
= 0 ;
17371 long *arg3
= (long *) 0 ;
17376 PyObject
* obj0
= 0 ;
17377 PyObject
* obj1
= 0 ;
17378 char *kwnames
[] = {
17379 (char *) "self",(char *) "pt", NULL
17382 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
17384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17385 if (SWIG_arg_fail(1)) SWIG_fail
;
17388 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17392 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
17394 wxPyEndAllowThreads(__tstate
);
17395 if (PyErr_Occurred()) SWIG_fail
;
17398 resultobj
= SWIG_From_int((int)(result
));
17400 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17401 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
17408 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17409 PyObject
*resultobj
;
17410 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17414 PyObject
* obj0
= 0 ;
17415 PyObject
* obj1
= 0 ;
17416 char *kwnames
[] = {
17417 (char *) "self",(char *) "sizePage", NULL
17420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
17421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17422 if (SWIG_arg_fail(1)) SWIG_fail
;
17425 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17429 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
17431 wxPyEndAllowThreads(__tstate
);
17432 if (PyErr_Occurred()) SWIG_fail
;
17435 wxSize
* resultptr
;
17436 resultptr
= new wxSize((wxSize
&)(result
));
17437 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17445 static PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17446 PyObject
*resultobj
;
17447 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17449 PyObject
* obj0
= 0 ;
17450 char *kwnames
[] = {
17451 (char *) "self", NULL
17454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetThemeBackgroundColour",kwnames
,&obj0
)) goto fail
;
17455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17456 if (SWIG_arg_fail(1)) SWIG_fail
;
17458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17459 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
17461 wxPyEndAllowThreads(__tstate
);
17462 if (PyErr_Occurred()) SWIG_fail
;
17465 wxColour
* resultptr
;
17466 resultptr
= new wxColour((wxColour
&)(result
));
17467 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17475 static PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17476 PyObject
*resultobj
;
17477 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17478 wxVisualAttributes result
;
17479 PyObject
* obj0
= 0 ;
17480 char *kwnames
[] = {
17481 (char *) "variant", NULL
17484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17487 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
17488 if (SWIG_arg_fail(1)) SWIG_fail
;
17492 if (!wxPyCheckForApp()) SWIG_fail
;
17493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17494 result
= wxNotebook::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
17496 wxPyEndAllowThreads(__tstate
);
17497 if (PyErr_Occurred()) SWIG_fail
;
17500 wxVisualAttributes
* resultptr
;
17501 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
17502 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17510 static PyObject
* Notebook_swigregister(PyObject
*, PyObject
*args
) {
17512 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17513 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
17515 return Py_BuildValue((char *)"");
17517 static PyObject
*_wrap_new_NotebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17518 PyObject
*resultobj
;
17519 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17520 int arg2
= (int) 0 ;
17521 int arg3
= (int) -1 ;
17522 int arg4
= (int) -1 ;
17523 wxNotebookEvent
*result
;
17524 PyObject
* obj0
= 0 ;
17525 PyObject
* obj1
= 0 ;
17526 PyObject
* obj2
= 0 ;
17527 PyObject
* obj3
= 0 ;
17528 char *kwnames
[] = {
17529 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17535 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17536 if (SWIG_arg_fail(1)) SWIG_fail
;
17541 arg2
= (int)(SWIG_As_int(obj1
));
17542 if (SWIG_arg_fail(2)) SWIG_fail
;
17547 arg3
= (int)(SWIG_As_int(obj2
));
17548 if (SWIG_arg_fail(3)) SWIG_fail
;
17553 arg4
= (int)(SWIG_As_int(obj3
));
17554 if (SWIG_arg_fail(4)) SWIG_fail
;
17558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17559 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
17561 wxPyEndAllowThreads(__tstate
);
17562 if (PyErr_Occurred()) SWIG_fail
;
17564 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
17571 static PyObject
* NotebookEvent_swigregister(PyObject
*, PyObject
*args
) {
17573 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17574 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
17576 return Py_BuildValue((char *)"");
17578 static PyObject
*_wrap_new_Listbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17579 PyObject
*resultobj
;
17580 wxWindow
*arg1
= (wxWindow
*) 0 ;
17581 int arg2
= (int) -1 ;
17582 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17583 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17584 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17585 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17586 long arg5
= (long) 0 ;
17587 wxString
const &arg6_defvalue
= wxPyEmptyString
;
17588 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17589 wxListbook
*result
;
17592 bool temp6
= false ;
17593 PyObject
* obj0
= 0 ;
17594 PyObject
* obj1
= 0 ;
17595 PyObject
* obj2
= 0 ;
17596 PyObject
* obj3
= 0 ;
17597 PyObject
* obj4
= 0 ;
17598 PyObject
* obj5
= 0 ;
17599 char *kwnames
[] = {
17600 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17605 if (SWIG_arg_fail(1)) SWIG_fail
;
17608 arg2
= (int)(SWIG_As_int(obj1
));
17609 if (SWIG_arg_fail(2)) SWIG_fail
;
17615 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17621 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17626 arg5
= (long)(SWIG_As_long(obj4
));
17627 if (SWIG_arg_fail(5)) SWIG_fail
;
17632 arg6
= wxString_in_helper(obj5
);
17633 if (arg6
== NULL
) SWIG_fail
;
17638 if (!wxPyCheckForApp()) SWIG_fail
;
17639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17640 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17642 wxPyEndAllowThreads(__tstate
);
17643 if (PyErr_Occurred()) SWIG_fail
;
17645 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
17660 static PyObject
*_wrap_new_PreListbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17661 PyObject
*resultobj
;
17662 wxListbook
*result
;
17663 char *kwnames
[] = {
17667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
17669 if (!wxPyCheckForApp()) SWIG_fail
;
17670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17671 result
= (wxListbook
*)new wxListbook();
17673 wxPyEndAllowThreads(__tstate
);
17674 if (PyErr_Occurred()) SWIG_fail
;
17676 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
17683 static PyObject
*_wrap_Listbook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17684 PyObject
*resultobj
;
17685 wxListbook
*arg1
= (wxListbook
*) 0 ;
17686 wxWindow
*arg2
= (wxWindow
*) 0 ;
17687 int arg3
= (int) -1 ;
17688 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17689 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17690 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17691 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17692 long arg6
= (long) 0 ;
17693 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17694 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17698 bool temp7
= false ;
17699 PyObject
* obj0
= 0 ;
17700 PyObject
* obj1
= 0 ;
17701 PyObject
* obj2
= 0 ;
17702 PyObject
* obj3
= 0 ;
17703 PyObject
* obj4
= 0 ;
17704 PyObject
* obj5
= 0 ;
17705 PyObject
* obj6
= 0 ;
17706 char *kwnames
[] = {
17707 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17712 if (SWIG_arg_fail(1)) SWIG_fail
;
17713 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17714 if (SWIG_arg_fail(2)) SWIG_fail
;
17717 arg3
= (int)(SWIG_As_int(obj2
));
17718 if (SWIG_arg_fail(3)) SWIG_fail
;
17724 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17730 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17735 arg6
= (long)(SWIG_As_long(obj5
));
17736 if (SWIG_arg_fail(6)) SWIG_fail
;
17741 arg7
= wxString_in_helper(obj6
);
17742 if (arg7
== NULL
) SWIG_fail
;
17747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17748 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17750 wxPyEndAllowThreads(__tstate
);
17751 if (PyErr_Occurred()) SWIG_fail
;
17754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17770 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17771 PyObject
*resultobj
;
17772 wxListbook
*arg1
= (wxListbook
*) 0 ;
17774 PyObject
* obj0
= 0 ;
17775 char *kwnames
[] = {
17776 (char *) "self", NULL
17779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
17780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17781 if (SWIG_arg_fail(1)) SWIG_fail
;
17783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17784 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
17786 wxPyEndAllowThreads(__tstate
);
17787 if (PyErr_Occurred()) SWIG_fail
;
17790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17798 static PyObject
*_wrap_Listbook_GetListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17799 PyObject
*resultobj
;
17800 wxListbook
*arg1
= (wxListbook
*) 0 ;
17801 wxListView
*result
;
17802 PyObject
* obj0
= 0 ;
17803 char *kwnames
[] = {
17804 (char *) "self", NULL
17807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_GetListView",kwnames
,&obj0
)) goto fail
;
17808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17809 if (SWIG_arg_fail(1)) SWIG_fail
;
17811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17812 result
= (wxListView
*)(arg1
)->GetListView();
17814 wxPyEndAllowThreads(__tstate
);
17815 if (PyErr_Occurred()) SWIG_fail
;
17817 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 0);
17824 static PyObject
* Listbook_swigregister(PyObject
*, PyObject
*args
) {
17826 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17827 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
17829 return Py_BuildValue((char *)"");
17831 static PyObject
*_wrap_new_ListbookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17832 PyObject
*resultobj
;
17833 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17834 int arg2
= (int) 0 ;
17835 int arg3
= (int) -1 ;
17836 int arg4
= (int) -1 ;
17837 wxListbookEvent
*result
;
17838 PyObject
* obj0
= 0 ;
17839 PyObject
* obj1
= 0 ;
17840 PyObject
* obj2
= 0 ;
17841 PyObject
* obj3
= 0 ;
17842 char *kwnames
[] = {
17843 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17849 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17850 if (SWIG_arg_fail(1)) SWIG_fail
;
17855 arg2
= (int)(SWIG_As_int(obj1
));
17856 if (SWIG_arg_fail(2)) SWIG_fail
;
17861 arg3
= (int)(SWIG_As_int(obj2
));
17862 if (SWIG_arg_fail(3)) SWIG_fail
;
17867 arg4
= (int)(SWIG_As_int(obj3
));
17868 if (SWIG_arg_fail(4)) SWIG_fail
;
17872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17873 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
17875 wxPyEndAllowThreads(__tstate
);
17876 if (PyErr_Occurred()) SWIG_fail
;
17878 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
17885 static PyObject
* ListbookEvent_swigregister(PyObject
*, PyObject
*args
) {
17887 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17888 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
17890 return Py_BuildValue((char *)"");
17892 static PyObject
*_wrap_new_Choicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17893 PyObject
*resultobj
;
17894 wxWindow
*arg1
= (wxWindow
*) 0 ;
17896 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17897 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17898 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17899 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17900 long arg5
= (long) 0 ;
17901 wxString
const &arg6_defvalue
= wxPyEmptyString
;
17902 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17903 wxChoicebook
*result
;
17906 bool temp6
= false ;
17907 PyObject
* obj0
= 0 ;
17908 PyObject
* obj1
= 0 ;
17909 PyObject
* obj2
= 0 ;
17910 PyObject
* obj3
= 0 ;
17911 PyObject
* obj4
= 0 ;
17912 PyObject
* obj5
= 0 ;
17913 char *kwnames
[] = {
17914 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17919 if (SWIG_arg_fail(1)) SWIG_fail
;
17921 arg2
= (int)(SWIG_As_int(obj1
));
17922 if (SWIG_arg_fail(2)) SWIG_fail
;
17927 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17933 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17938 arg5
= (long)(SWIG_As_long(obj4
));
17939 if (SWIG_arg_fail(5)) SWIG_fail
;
17944 arg6
= wxString_in_helper(obj5
);
17945 if (arg6
== NULL
) SWIG_fail
;
17950 if (!wxPyCheckForApp()) SWIG_fail
;
17951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17952 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17954 wxPyEndAllowThreads(__tstate
);
17955 if (PyErr_Occurred()) SWIG_fail
;
17957 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
17972 static PyObject
*_wrap_new_PreChoicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17973 PyObject
*resultobj
;
17974 wxChoicebook
*result
;
17975 char *kwnames
[] = {
17979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoicebook",kwnames
)) goto fail
;
17981 if (!wxPyCheckForApp()) SWIG_fail
;
17982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17983 result
= (wxChoicebook
*)new wxChoicebook();
17985 wxPyEndAllowThreads(__tstate
);
17986 if (PyErr_Occurred()) SWIG_fail
;
17988 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
17995 static PyObject
*_wrap_Choicebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17996 PyObject
*resultobj
;
17997 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
17998 wxWindow
*arg2
= (wxWindow
*) 0 ;
18000 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18001 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18002 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18003 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18004 long arg6
= (long) 0 ;
18005 wxString
const &arg7_defvalue
= wxPyEmptyString
;
18006 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18010 bool temp7
= false ;
18011 PyObject
* obj0
= 0 ;
18012 PyObject
* obj1
= 0 ;
18013 PyObject
* obj2
= 0 ;
18014 PyObject
* obj3
= 0 ;
18015 PyObject
* obj4
= 0 ;
18016 PyObject
* obj5
= 0 ;
18017 PyObject
* obj6
= 0 ;
18018 char *kwnames
[] = {
18019 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18024 if (SWIG_arg_fail(1)) SWIG_fail
;
18025 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18026 if (SWIG_arg_fail(2)) SWIG_fail
;
18028 arg3
= (int)(SWIG_As_int(obj2
));
18029 if (SWIG_arg_fail(3)) SWIG_fail
;
18034 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18040 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18045 arg6
= (long)(SWIG_As_long(obj5
));
18046 if (SWIG_arg_fail(6)) SWIG_fail
;
18051 arg7
= wxString_in_helper(obj6
);
18052 if (arg7
== NULL
) SWIG_fail
;
18057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18058 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18060 wxPyEndAllowThreads(__tstate
);
18061 if (PyErr_Occurred()) SWIG_fail
;
18064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18080 static PyObject
*_wrap_Choicebook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18081 PyObject
*resultobj
;
18082 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18084 PyObject
* obj0
= 0 ;
18085 char *kwnames
[] = {
18086 (char *) "self", NULL
18089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_IsVertical",kwnames
,&obj0
)) goto fail
;
18090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18091 if (SWIG_arg_fail(1)) SWIG_fail
;
18093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18094 result
= (bool)((wxChoicebook
const *)arg1
)->IsVertical();
18096 wxPyEndAllowThreads(__tstate
);
18097 if (PyErr_Occurred()) SWIG_fail
;
18100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18108 static PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18109 PyObject
*resultobj
;
18110 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18112 PyObject
* obj0
= 0 ;
18113 char *kwnames
[] = {
18114 (char *) "self", NULL
18117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_GetChoiceCtrl",kwnames
,&obj0
)) goto fail
;
18118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18119 if (SWIG_arg_fail(1)) SWIG_fail
;
18121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18122 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
18124 wxPyEndAllowThreads(__tstate
);
18125 if (PyErr_Occurred()) SWIG_fail
;
18127 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 0);
18134 static PyObject
*_wrap_Choicebook_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18135 PyObject
*resultobj
;
18136 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18138 PyObject
* obj0
= 0 ;
18139 char *kwnames
[] = {
18140 (char *) "self", NULL
18143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
18144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18145 if (SWIG_arg_fail(1)) SWIG_fail
;
18147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18148 result
= (bool)(arg1
)->DeleteAllPages();
18150 wxPyEndAllowThreads(__tstate
);
18151 if (PyErr_Occurred()) SWIG_fail
;
18154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18162 static PyObject
* Choicebook_swigregister(PyObject
*, PyObject
*args
) {
18164 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18165 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook
, obj
);
18167 return Py_BuildValue((char *)"");
18169 static PyObject
*_wrap_new_ChoicebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18170 PyObject
*resultobj
;
18171 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18172 int arg2
= (int) 0 ;
18173 int arg3
= (int) -1 ;
18174 int arg4
= (int) -1 ;
18175 wxChoicebookEvent
*result
;
18176 PyObject
* obj0
= 0 ;
18177 PyObject
* obj1
= 0 ;
18178 PyObject
* obj2
= 0 ;
18179 PyObject
* obj3
= 0 ;
18180 char *kwnames
[] = {
18181 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18187 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
18188 if (SWIG_arg_fail(1)) SWIG_fail
;
18193 arg2
= (int)(SWIG_As_int(obj1
));
18194 if (SWIG_arg_fail(2)) SWIG_fail
;
18199 arg3
= (int)(SWIG_As_int(obj2
));
18200 if (SWIG_arg_fail(3)) SWIG_fail
;
18205 arg4
= (int)(SWIG_As_int(obj3
));
18206 if (SWIG_arg_fail(4)) SWIG_fail
;
18210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18211 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
18213 wxPyEndAllowThreads(__tstate
);
18214 if (PyErr_Occurred()) SWIG_fail
;
18216 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebookEvent
, 1);
18223 static PyObject
* ChoicebookEvent_swigregister(PyObject
*, PyObject
*args
) {
18225 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18226 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent
, obj
);
18228 return Py_BuildValue((char *)"");
18230 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18231 PyObject
*resultobj
;
18232 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18233 wxBookCtrlSizer
*result
;
18234 PyObject
* obj0
= 0 ;
18235 char *kwnames
[] = {
18236 (char *) "nb", NULL
18239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
18240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
18241 if (SWIG_arg_fail(1)) SWIG_fail
;
18243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18244 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
18246 wxPyEndAllowThreads(__tstate
);
18247 if (PyErr_Occurred()) SWIG_fail
;
18249 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
18256 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18257 PyObject
*resultobj
;
18258 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
18259 PyObject
* obj0
= 0 ;
18260 char *kwnames
[] = {
18261 (char *) "self", NULL
18264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
18265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION
| 0);
18266 if (SWIG_arg_fail(1)) SWIG_fail
;
18268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18269 (arg1
)->RecalcSizes();
18271 wxPyEndAllowThreads(__tstate
);
18272 if (PyErr_Occurred()) SWIG_fail
;
18274 Py_INCREF(Py_None
); resultobj
= Py_None
;
18281 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18282 PyObject
*resultobj
;
18283 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
18285 PyObject
* obj0
= 0 ;
18286 char *kwnames
[] = {
18287 (char *) "self", NULL
18290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
18291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION
| 0);
18292 if (SWIG_arg_fail(1)) SWIG_fail
;
18294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18295 result
= (arg1
)->CalcMin();
18297 wxPyEndAllowThreads(__tstate
);
18298 if (PyErr_Occurred()) SWIG_fail
;
18301 wxSize
* resultptr
;
18302 resultptr
= new wxSize((wxSize
&)(result
));
18303 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18311 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18312 PyObject
*resultobj
;
18313 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
18314 wxBookCtrlBase
*result
;
18315 PyObject
* obj0
= 0 ;
18316 char *kwnames
[] = {
18317 (char *) "self", NULL
18320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
18321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION
| 0);
18322 if (SWIG_arg_fail(1)) SWIG_fail
;
18324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18325 result
= (wxBookCtrlBase
*)(arg1
)->GetControl();
18327 wxPyEndAllowThreads(__tstate
);
18328 if (PyErr_Occurred()) SWIG_fail
;
18330 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlBase
, 0);
18337 static PyObject
* BookCtrlSizer_swigregister(PyObject
*, PyObject
*args
) {
18339 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18340 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
18342 return Py_BuildValue((char *)"");
18344 static PyObject
*_wrap_new_NotebookSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18345 PyObject
*resultobj
;
18346 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
18347 wxNotebookSizer
*result
;
18348 PyObject
* obj0
= 0 ;
18349 char *kwnames
[] = {
18350 (char *) "nb", NULL
18353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
18354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
18355 if (SWIG_arg_fail(1)) SWIG_fail
;
18357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18358 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
18360 wxPyEndAllowThreads(__tstate
);
18361 if (PyErr_Occurred()) SWIG_fail
;
18363 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
18370 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18371 PyObject
*resultobj
;
18372 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
18373 PyObject
* obj0
= 0 ;
18374 char *kwnames
[] = {
18375 (char *) "self", NULL
18378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
18379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION
| 0);
18380 if (SWIG_arg_fail(1)) SWIG_fail
;
18382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18383 (arg1
)->RecalcSizes();
18385 wxPyEndAllowThreads(__tstate
);
18386 if (PyErr_Occurred()) SWIG_fail
;
18388 Py_INCREF(Py_None
); resultobj
= Py_None
;
18395 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18396 PyObject
*resultobj
;
18397 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
18399 PyObject
* obj0
= 0 ;
18400 char *kwnames
[] = {
18401 (char *) "self", NULL
18404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
18405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION
| 0);
18406 if (SWIG_arg_fail(1)) SWIG_fail
;
18408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18409 result
= (arg1
)->CalcMin();
18411 wxPyEndAllowThreads(__tstate
);
18412 if (PyErr_Occurred()) SWIG_fail
;
18415 wxSize
* resultptr
;
18416 resultptr
= new wxSize((wxSize
&)(result
));
18417 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18425 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18426 PyObject
*resultobj
;
18427 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
18428 wxNotebook
*result
;
18429 PyObject
* obj0
= 0 ;
18430 char *kwnames
[] = {
18431 (char *) "self", NULL
18434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
18435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION
| 0);
18436 if (SWIG_arg_fail(1)) SWIG_fail
;
18438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18439 result
= (wxNotebook
*)(arg1
)->GetNotebook();
18441 wxPyEndAllowThreads(__tstate
);
18442 if (PyErr_Occurred()) SWIG_fail
;
18445 resultobj
= wxPyMake_wxObject(result
, 0);
18453 static PyObject
* NotebookSizer_swigregister(PyObject
*, PyObject
*args
) {
18455 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18456 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
18458 return Py_BuildValue((char *)"");
18460 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18461 PyObject
*resultobj
;
18462 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18464 PyObject
* obj0
= 0 ;
18465 char *kwnames
[] = {
18466 (char *) "self", NULL
18469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
18470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18471 if (SWIG_arg_fail(1)) SWIG_fail
;
18473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18474 result
= (int)(arg1
)->GetId();
18476 wxPyEndAllowThreads(__tstate
);
18477 if (PyErr_Occurred()) SWIG_fail
;
18480 resultobj
= SWIG_From_int((int)(result
));
18488 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18489 PyObject
*resultobj
;
18490 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18492 PyObject
* obj0
= 0 ;
18493 char *kwnames
[] = {
18494 (char *) "self", NULL
18497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
18498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18499 if (SWIG_arg_fail(1)) SWIG_fail
;
18501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18502 result
= (wxControl
*)(arg1
)->GetControl();
18504 wxPyEndAllowThreads(__tstate
);
18505 if (PyErr_Occurred()) SWIG_fail
;
18508 resultobj
= wxPyMake_wxObject(result
, 0);
18516 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18517 PyObject
*resultobj
;
18518 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18519 wxToolBarBase
*result
;
18520 PyObject
* obj0
= 0 ;
18521 char *kwnames
[] = {
18522 (char *) "self", NULL
18525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
18526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18527 if (SWIG_arg_fail(1)) SWIG_fail
;
18529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18530 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
18532 wxPyEndAllowThreads(__tstate
);
18533 if (PyErr_Occurred()) SWIG_fail
;
18536 resultobj
= wxPyMake_wxObject(result
, 0);
18544 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18545 PyObject
*resultobj
;
18546 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18548 PyObject
* obj0
= 0 ;
18549 char *kwnames
[] = {
18550 (char *) "self", NULL
18553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
18554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18555 if (SWIG_arg_fail(1)) SWIG_fail
;
18557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18558 result
= (int)(arg1
)->IsButton();
18560 wxPyEndAllowThreads(__tstate
);
18561 if (PyErr_Occurred()) SWIG_fail
;
18564 resultobj
= SWIG_From_int((int)(result
));
18572 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18573 PyObject
*resultobj
;
18574 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18576 PyObject
* obj0
= 0 ;
18577 char *kwnames
[] = {
18578 (char *) "self", NULL
18581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
18582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18583 if (SWIG_arg_fail(1)) SWIG_fail
;
18585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18586 result
= (int)(arg1
)->IsControl();
18588 wxPyEndAllowThreads(__tstate
);
18589 if (PyErr_Occurred()) SWIG_fail
;
18592 resultobj
= SWIG_From_int((int)(result
));
18600 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18601 PyObject
*resultobj
;
18602 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18604 PyObject
* obj0
= 0 ;
18605 char *kwnames
[] = {
18606 (char *) "self", NULL
18609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
18610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18611 if (SWIG_arg_fail(1)) SWIG_fail
;
18613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18614 result
= (int)(arg1
)->IsSeparator();
18616 wxPyEndAllowThreads(__tstate
);
18617 if (PyErr_Occurred()) SWIG_fail
;
18620 resultobj
= SWIG_From_int((int)(result
));
18628 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18629 PyObject
*resultobj
;
18630 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18632 PyObject
* obj0
= 0 ;
18633 char *kwnames
[] = {
18634 (char *) "self", NULL
18637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
18638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18639 if (SWIG_arg_fail(1)) SWIG_fail
;
18641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18642 result
= (int)(arg1
)->GetStyle();
18644 wxPyEndAllowThreads(__tstate
);
18645 if (PyErr_Occurred()) SWIG_fail
;
18648 resultobj
= SWIG_From_int((int)(result
));
18656 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18657 PyObject
*resultobj
;
18658 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18660 PyObject
* obj0
= 0 ;
18661 char *kwnames
[] = {
18662 (char *) "self", NULL
18665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
18666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18667 if (SWIG_arg_fail(1)) SWIG_fail
;
18669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18670 result
= (wxItemKind
)(arg1
)->GetKind();
18672 wxPyEndAllowThreads(__tstate
);
18673 if (PyErr_Occurred()) SWIG_fail
;
18675 resultobj
= SWIG_From_int((result
));
18682 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18683 PyObject
*resultobj
;
18684 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18686 PyObject
* obj0
= 0 ;
18687 char *kwnames
[] = {
18688 (char *) "self", NULL
18691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
18692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18693 if (SWIG_arg_fail(1)) SWIG_fail
;
18695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18696 result
= (bool)(arg1
)->IsEnabled();
18698 wxPyEndAllowThreads(__tstate
);
18699 if (PyErr_Occurred()) SWIG_fail
;
18702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18710 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18711 PyObject
*resultobj
;
18712 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18714 PyObject
* obj0
= 0 ;
18715 char *kwnames
[] = {
18716 (char *) "self", NULL
18719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
18720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18721 if (SWIG_arg_fail(1)) SWIG_fail
;
18723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18724 result
= (bool)(arg1
)->IsToggled();
18726 wxPyEndAllowThreads(__tstate
);
18727 if (PyErr_Occurred()) SWIG_fail
;
18730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18738 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18739 PyObject
*resultobj
;
18740 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18742 PyObject
* obj0
= 0 ;
18743 char *kwnames
[] = {
18744 (char *) "self", NULL
18747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
18748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18749 if (SWIG_arg_fail(1)) SWIG_fail
;
18751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18752 result
= (bool)(arg1
)->CanBeToggled();
18754 wxPyEndAllowThreads(__tstate
);
18755 if (PyErr_Occurred()) SWIG_fail
;
18758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18766 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18767 PyObject
*resultobj
;
18768 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18770 PyObject
* obj0
= 0 ;
18771 char *kwnames
[] = {
18772 (char *) "self", NULL
18775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
18776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18777 if (SWIG_arg_fail(1)) SWIG_fail
;
18779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18781 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
18782 result
= (wxBitmap
*) &_result_ref
;
18785 wxPyEndAllowThreads(__tstate
);
18786 if (PyErr_Occurred()) SWIG_fail
;
18789 wxBitmap
* resultptr
= new wxBitmap(*result
);
18790 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18798 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18799 PyObject
*resultobj
;
18800 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18802 PyObject
* obj0
= 0 ;
18803 char *kwnames
[] = {
18804 (char *) "self", NULL
18807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
18808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18809 if (SWIG_arg_fail(1)) SWIG_fail
;
18811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18813 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
18814 result
= (wxBitmap
*) &_result_ref
;
18817 wxPyEndAllowThreads(__tstate
);
18818 if (PyErr_Occurred()) SWIG_fail
;
18821 wxBitmap
* resultptr
= new wxBitmap(*result
);
18822 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18830 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18831 PyObject
*resultobj
;
18832 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18834 PyObject
* obj0
= 0 ;
18835 char *kwnames
[] = {
18836 (char *) "self", NULL
18839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
18840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18841 if (SWIG_arg_fail(1)) SWIG_fail
;
18843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18844 result
= (arg1
)->GetBitmap();
18846 wxPyEndAllowThreads(__tstate
);
18847 if (PyErr_Occurred()) SWIG_fail
;
18850 wxBitmap
* resultptr
;
18851 resultptr
= new wxBitmap((wxBitmap
&)(result
));
18852 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18860 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18861 PyObject
*resultobj
;
18862 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18864 PyObject
* obj0
= 0 ;
18865 char *kwnames
[] = {
18866 (char *) "self", NULL
18869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
18870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18871 if (SWIG_arg_fail(1)) SWIG_fail
;
18873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18874 result
= (arg1
)->GetLabel();
18876 wxPyEndAllowThreads(__tstate
);
18877 if (PyErr_Occurred()) SWIG_fail
;
18881 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18883 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18892 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18893 PyObject
*resultobj
;
18894 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18896 PyObject
* obj0
= 0 ;
18897 char *kwnames
[] = {
18898 (char *) "self", NULL
18901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
18902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18903 if (SWIG_arg_fail(1)) SWIG_fail
;
18905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18906 result
= (arg1
)->GetShortHelp();
18908 wxPyEndAllowThreads(__tstate
);
18909 if (PyErr_Occurred()) SWIG_fail
;
18913 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18915 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18924 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18925 PyObject
*resultobj
;
18926 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18928 PyObject
* obj0
= 0 ;
18929 char *kwnames
[] = {
18930 (char *) "self", NULL
18933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
18934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18935 if (SWIG_arg_fail(1)) SWIG_fail
;
18937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18938 result
= (arg1
)->GetLongHelp();
18940 wxPyEndAllowThreads(__tstate
);
18941 if (PyErr_Occurred()) SWIG_fail
;
18945 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18947 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18956 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18957 PyObject
*resultobj
;
18958 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18961 PyObject
* obj0
= 0 ;
18962 PyObject
* obj1
= 0 ;
18963 char *kwnames
[] = {
18964 (char *) "self",(char *) "enable", NULL
18967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
18968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18969 if (SWIG_arg_fail(1)) SWIG_fail
;
18971 arg2
= (bool)(SWIG_As_bool(obj1
));
18972 if (SWIG_arg_fail(2)) SWIG_fail
;
18975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18976 result
= (bool)(arg1
)->Enable(arg2
);
18978 wxPyEndAllowThreads(__tstate
);
18979 if (PyErr_Occurred()) SWIG_fail
;
18982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18990 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18991 PyObject
*resultobj
;
18992 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18993 PyObject
* obj0
= 0 ;
18994 char *kwnames
[] = {
18995 (char *) "self", NULL
18998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
18999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19000 if (SWIG_arg_fail(1)) SWIG_fail
;
19002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19005 wxPyEndAllowThreads(__tstate
);
19006 if (PyErr_Occurred()) SWIG_fail
;
19008 Py_INCREF(Py_None
); resultobj
= Py_None
;
19015 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19016 PyObject
*resultobj
;
19017 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19020 PyObject
* obj0
= 0 ;
19021 PyObject
* obj1
= 0 ;
19022 char *kwnames
[] = {
19023 (char *) "self",(char *) "toggle", NULL
19026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
19027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19028 if (SWIG_arg_fail(1)) SWIG_fail
;
19030 arg2
= (bool)(SWIG_As_bool(obj1
));
19031 if (SWIG_arg_fail(2)) SWIG_fail
;
19034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19035 result
= (bool)(arg1
)->SetToggle(arg2
);
19037 wxPyEndAllowThreads(__tstate
);
19038 if (PyErr_Occurred()) SWIG_fail
;
19041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19049 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19050 PyObject
*resultobj
;
19051 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19052 wxString
*arg2
= 0 ;
19054 bool temp2
= false ;
19055 PyObject
* obj0
= 0 ;
19056 PyObject
* obj1
= 0 ;
19057 char *kwnames
[] = {
19058 (char *) "self",(char *) "help", NULL
19061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19063 if (SWIG_arg_fail(1)) SWIG_fail
;
19065 arg2
= wxString_in_helper(obj1
);
19066 if (arg2
== NULL
) SWIG_fail
;
19070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19071 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
19073 wxPyEndAllowThreads(__tstate
);
19074 if (PyErr_Occurred()) SWIG_fail
;
19077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19093 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19094 PyObject
*resultobj
;
19095 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19096 wxString
*arg2
= 0 ;
19098 bool temp2
= false ;
19099 PyObject
* obj0
= 0 ;
19100 PyObject
* obj1
= 0 ;
19101 char *kwnames
[] = {
19102 (char *) "self",(char *) "help", NULL
19105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19107 if (SWIG_arg_fail(1)) SWIG_fail
;
19109 arg2
= wxString_in_helper(obj1
);
19110 if (arg2
== NULL
) SWIG_fail
;
19114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19115 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
19117 wxPyEndAllowThreads(__tstate
);
19118 if (PyErr_Occurred()) SWIG_fail
;
19121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19137 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19138 PyObject
*resultobj
;
19139 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19140 wxBitmap
*arg2
= 0 ;
19141 PyObject
* obj0
= 0 ;
19142 PyObject
* obj1
= 0 ;
19143 char *kwnames
[] = {
19144 (char *) "self",(char *) "bmp", NULL
19147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
19148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19149 if (SWIG_arg_fail(1)) SWIG_fail
;
19151 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19152 if (SWIG_arg_fail(2)) SWIG_fail
;
19153 if (arg2
== NULL
) {
19154 SWIG_null_ref("wxBitmap");
19156 if (SWIG_arg_fail(2)) SWIG_fail
;
19159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19160 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
19162 wxPyEndAllowThreads(__tstate
);
19163 if (PyErr_Occurred()) SWIG_fail
;
19165 Py_INCREF(Py_None
); resultobj
= Py_None
;
19172 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19173 PyObject
*resultobj
;
19174 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19175 wxBitmap
*arg2
= 0 ;
19176 PyObject
* obj0
= 0 ;
19177 PyObject
* obj1
= 0 ;
19178 char *kwnames
[] = {
19179 (char *) "self",(char *) "bmp", NULL
19182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
19183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19184 if (SWIG_arg_fail(1)) SWIG_fail
;
19186 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19187 if (SWIG_arg_fail(2)) SWIG_fail
;
19188 if (arg2
== NULL
) {
19189 SWIG_null_ref("wxBitmap");
19191 if (SWIG_arg_fail(2)) SWIG_fail
;
19194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19195 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
19197 wxPyEndAllowThreads(__tstate
);
19198 if (PyErr_Occurred()) SWIG_fail
;
19200 Py_INCREF(Py_None
); resultobj
= Py_None
;
19207 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19208 PyObject
*resultobj
;
19209 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19210 wxString
*arg2
= 0 ;
19211 bool temp2
= false ;
19212 PyObject
* obj0
= 0 ;
19213 PyObject
* obj1
= 0 ;
19214 char *kwnames
[] = {
19215 (char *) "self",(char *) "label", NULL
19218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
19219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19220 if (SWIG_arg_fail(1)) SWIG_fail
;
19222 arg2
= wxString_in_helper(obj1
);
19223 if (arg2
== NULL
) SWIG_fail
;
19227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19228 (arg1
)->SetLabel((wxString
const &)*arg2
);
19230 wxPyEndAllowThreads(__tstate
);
19231 if (PyErr_Occurred()) SWIG_fail
;
19233 Py_INCREF(Py_None
); resultobj
= Py_None
;
19248 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19249 PyObject
*resultobj
;
19250 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19251 PyObject
* obj0
= 0 ;
19252 char *kwnames
[] = {
19253 (char *) "self", NULL
19256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
19257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19258 if (SWIG_arg_fail(1)) SWIG_fail
;
19260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19263 wxPyEndAllowThreads(__tstate
);
19264 if (PyErr_Occurred()) SWIG_fail
;
19266 Py_INCREF(Py_None
); resultobj
= Py_None
;
19273 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19274 PyObject
*resultobj
;
19275 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19276 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
19277 PyObject
* obj0
= 0 ;
19278 PyObject
* obj1
= 0 ;
19279 char *kwnames
[] = {
19280 (char *) "self",(char *) "tbar", NULL
19283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
19284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19285 if (SWIG_arg_fail(1)) SWIG_fail
;
19286 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19287 if (SWIG_arg_fail(2)) SWIG_fail
;
19289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19290 (arg1
)->Attach(arg2
);
19292 wxPyEndAllowThreads(__tstate
);
19293 if (PyErr_Occurred()) SWIG_fail
;
19295 Py_INCREF(Py_None
); resultobj
= Py_None
;
19302 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19303 PyObject
*resultobj
;
19304 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19306 PyObject
* obj0
= 0 ;
19307 char *kwnames
[] = {
19308 (char *) "self", NULL
19311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
19312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19313 if (SWIG_arg_fail(1)) SWIG_fail
;
19315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19316 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
19318 wxPyEndAllowThreads(__tstate
);
19319 if (PyErr_Occurred()) SWIG_fail
;
19321 resultobj
= result
;
19328 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19329 PyObject
*resultobj
;
19330 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19331 PyObject
*arg2
= (PyObject
*) 0 ;
19332 PyObject
* obj0
= 0 ;
19333 PyObject
* obj1
= 0 ;
19334 char *kwnames
[] = {
19335 (char *) "self",(char *) "clientData", NULL
19338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
19339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19340 if (SWIG_arg_fail(1)) SWIG_fail
;
19343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19344 wxToolBarToolBase_SetClientData(arg1
,arg2
);
19346 wxPyEndAllowThreads(__tstate
);
19347 if (PyErr_Occurred()) SWIG_fail
;
19349 Py_INCREF(Py_None
); resultobj
= Py_None
;
19356 static PyObject
* ToolBarToolBase_swigregister(PyObject
*, PyObject
*args
) {
19358 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19359 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
19361 return Py_BuildValue((char *)"");
19363 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19364 PyObject
*resultobj
;
19365 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19367 wxString
*arg3
= 0 ;
19368 wxBitmap
*arg4
= 0 ;
19369 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
19370 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
19371 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
19372 wxString
const &arg7_defvalue
= wxPyEmptyString
;
19373 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19374 wxString
const &arg8_defvalue
= wxPyEmptyString
;
19375 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19376 PyObject
*arg9
= (PyObject
*) NULL
;
19377 wxToolBarToolBase
*result
;
19378 bool temp3
= false ;
19379 bool temp7
= false ;
19380 bool temp8
= false ;
19381 PyObject
* obj0
= 0 ;
19382 PyObject
* obj1
= 0 ;
19383 PyObject
* obj2
= 0 ;
19384 PyObject
* obj3
= 0 ;
19385 PyObject
* obj4
= 0 ;
19386 PyObject
* obj5
= 0 ;
19387 PyObject
* obj6
= 0 ;
19388 PyObject
* obj7
= 0 ;
19389 PyObject
* obj8
= 0 ;
19390 char *kwnames
[] = {
19391 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
19395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19396 if (SWIG_arg_fail(1)) SWIG_fail
;
19398 arg2
= (int)(SWIG_As_int(obj1
));
19399 if (SWIG_arg_fail(2)) SWIG_fail
;
19402 arg3
= wxString_in_helper(obj2
);
19403 if (arg3
== NULL
) SWIG_fail
;
19407 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19408 if (SWIG_arg_fail(4)) SWIG_fail
;
19409 if (arg4
== NULL
) {
19410 SWIG_null_ref("wxBitmap");
19412 if (SWIG_arg_fail(4)) SWIG_fail
;
19416 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19417 if (SWIG_arg_fail(5)) SWIG_fail
;
19418 if (arg5
== NULL
) {
19419 SWIG_null_ref("wxBitmap");
19421 if (SWIG_arg_fail(5)) SWIG_fail
;
19426 arg6
= (wxItemKind
)(SWIG_As_int(obj5
));
19427 if (SWIG_arg_fail(6)) SWIG_fail
;
19432 arg7
= wxString_in_helper(obj6
);
19433 if (arg7
== NULL
) SWIG_fail
;
19439 arg8
= wxString_in_helper(obj7
);
19440 if (arg8
== NULL
) SWIG_fail
;
19448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19449 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
19451 wxPyEndAllowThreads(__tstate
);
19452 if (PyErr_Occurred()) SWIG_fail
;
19455 resultobj
= wxPyMake_wxObject(result
, 0);
19487 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19488 PyObject
*resultobj
;
19489 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19492 wxString
*arg4
= 0 ;
19493 wxBitmap
*arg5
= 0 ;
19494 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
19495 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
19496 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
19497 wxString
const &arg8_defvalue
= wxPyEmptyString
;
19498 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19499 wxString
const &arg9_defvalue
= wxPyEmptyString
;
19500 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
19501 PyObject
*arg10
= (PyObject
*) NULL
;
19502 wxToolBarToolBase
*result
;
19503 bool temp4
= false ;
19504 bool temp8
= false ;
19505 bool temp9
= false ;
19506 PyObject
* obj0
= 0 ;
19507 PyObject
* obj1
= 0 ;
19508 PyObject
* obj2
= 0 ;
19509 PyObject
* obj3
= 0 ;
19510 PyObject
* obj4
= 0 ;
19511 PyObject
* obj5
= 0 ;
19512 PyObject
* obj6
= 0 ;
19513 PyObject
* obj7
= 0 ;
19514 PyObject
* obj8
= 0 ;
19515 PyObject
* obj9
= 0 ;
19516 char *kwnames
[] = {
19517 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
19521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19522 if (SWIG_arg_fail(1)) SWIG_fail
;
19524 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19525 if (SWIG_arg_fail(2)) SWIG_fail
;
19528 arg3
= (int)(SWIG_As_int(obj2
));
19529 if (SWIG_arg_fail(3)) SWIG_fail
;
19532 arg4
= wxString_in_helper(obj3
);
19533 if (arg4
== NULL
) SWIG_fail
;
19537 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19538 if (SWIG_arg_fail(5)) SWIG_fail
;
19539 if (arg5
== NULL
) {
19540 SWIG_null_ref("wxBitmap");
19542 if (SWIG_arg_fail(5)) SWIG_fail
;
19546 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19547 if (SWIG_arg_fail(6)) SWIG_fail
;
19548 if (arg6
== NULL
) {
19549 SWIG_null_ref("wxBitmap");
19551 if (SWIG_arg_fail(6)) SWIG_fail
;
19556 arg7
= (wxItemKind
)(SWIG_As_int(obj6
));
19557 if (SWIG_arg_fail(7)) SWIG_fail
;
19562 arg8
= wxString_in_helper(obj7
);
19563 if (arg8
== NULL
) SWIG_fail
;
19569 arg9
= wxString_in_helper(obj8
);
19570 if (arg9
== NULL
) SWIG_fail
;
19578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19579 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
);
19581 wxPyEndAllowThreads(__tstate
);
19582 if (PyErr_Occurred()) SWIG_fail
;
19585 resultobj
= wxPyMake_wxObject(result
, 0);
19617 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19618 PyObject
*resultobj
;
19619 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19620 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
19621 wxToolBarToolBase
*result
;
19622 PyObject
* obj0
= 0 ;
19623 PyObject
* obj1
= 0 ;
19624 char *kwnames
[] = {
19625 (char *) "self",(char *) "tool", NULL
19628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
19629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19630 if (SWIG_arg_fail(1)) SWIG_fail
;
19631 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19632 if (SWIG_arg_fail(2)) SWIG_fail
;
19634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19635 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
19637 wxPyEndAllowThreads(__tstate
);
19638 if (PyErr_Occurred()) SWIG_fail
;
19641 resultobj
= wxPyMake_wxObject(result
, 0);
19649 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19650 PyObject
*resultobj
;
19651 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19653 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
19654 wxToolBarToolBase
*result
;
19655 PyObject
* obj0
= 0 ;
19656 PyObject
* obj1
= 0 ;
19657 PyObject
* obj2
= 0 ;
19658 char *kwnames
[] = {
19659 (char *) "self",(char *) "pos",(char *) "tool", NULL
19662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19664 if (SWIG_arg_fail(1)) SWIG_fail
;
19666 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19667 if (SWIG_arg_fail(2)) SWIG_fail
;
19669 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19670 if (SWIG_arg_fail(3)) SWIG_fail
;
19672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19673 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
19675 wxPyEndAllowThreads(__tstate
);
19676 if (PyErr_Occurred()) SWIG_fail
;
19679 resultobj
= wxPyMake_wxObject(result
, 0);
19687 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19688 PyObject
*resultobj
;
19689 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19690 wxControl
*arg2
= (wxControl
*) 0 ;
19691 wxToolBarToolBase
*result
;
19692 PyObject
* obj0
= 0 ;
19693 PyObject
* obj1
= 0 ;
19694 char *kwnames
[] = {
19695 (char *) "self",(char *) "control", NULL
19698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
19699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19700 if (SWIG_arg_fail(1)) SWIG_fail
;
19701 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
19702 if (SWIG_arg_fail(2)) SWIG_fail
;
19704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19705 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
19707 wxPyEndAllowThreads(__tstate
);
19708 if (PyErr_Occurred()) SWIG_fail
;
19711 resultobj
= wxPyMake_wxObject(result
, 0);
19719 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19720 PyObject
*resultobj
;
19721 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19723 wxControl
*arg3
= (wxControl
*) 0 ;
19724 wxToolBarToolBase
*result
;
19725 PyObject
* obj0
= 0 ;
19726 PyObject
* obj1
= 0 ;
19727 PyObject
* obj2
= 0 ;
19728 char *kwnames
[] = {
19729 (char *) "self",(char *) "pos",(char *) "control", NULL
19732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19734 if (SWIG_arg_fail(1)) SWIG_fail
;
19736 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19737 if (SWIG_arg_fail(2)) SWIG_fail
;
19739 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
19740 if (SWIG_arg_fail(3)) SWIG_fail
;
19742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19743 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
19745 wxPyEndAllowThreads(__tstate
);
19746 if (PyErr_Occurred()) SWIG_fail
;
19749 resultobj
= wxPyMake_wxObject(result
, 0);
19757 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19758 PyObject
*resultobj
;
19759 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19762 PyObject
* obj0
= 0 ;
19763 PyObject
* obj1
= 0 ;
19764 char *kwnames
[] = {
19765 (char *) "self",(char *) "id", NULL
19768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
19769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19770 if (SWIG_arg_fail(1)) SWIG_fail
;
19772 arg2
= (int)(SWIG_As_int(obj1
));
19773 if (SWIG_arg_fail(2)) SWIG_fail
;
19776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19777 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
19779 wxPyEndAllowThreads(__tstate
);
19780 if (PyErr_Occurred()) SWIG_fail
;
19783 resultobj
= wxPyMake_wxObject(result
, 0);
19791 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19792 PyObject
*resultobj
;
19793 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19794 wxToolBarToolBase
*result
;
19795 PyObject
* obj0
= 0 ;
19796 char *kwnames
[] = {
19797 (char *) "self", NULL
19800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
19801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19802 if (SWIG_arg_fail(1)) SWIG_fail
;
19804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19805 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
19807 wxPyEndAllowThreads(__tstate
);
19808 if (PyErr_Occurred()) SWIG_fail
;
19811 resultobj
= wxPyMake_wxObject(result
, 0);
19819 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19820 PyObject
*resultobj
;
19821 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19823 wxToolBarToolBase
*result
;
19824 PyObject
* obj0
= 0 ;
19825 PyObject
* obj1
= 0 ;
19826 char *kwnames
[] = {
19827 (char *) "self",(char *) "pos", NULL
19830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
19831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19832 if (SWIG_arg_fail(1)) SWIG_fail
;
19834 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19835 if (SWIG_arg_fail(2)) SWIG_fail
;
19838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19839 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
19841 wxPyEndAllowThreads(__tstate
);
19842 if (PyErr_Occurred()) SWIG_fail
;
19845 resultobj
= wxPyMake_wxObject(result
, 0);
19853 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19854 PyObject
*resultobj
;
19855 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19857 wxToolBarToolBase
*result
;
19858 PyObject
* obj0
= 0 ;
19859 PyObject
* obj1
= 0 ;
19860 char *kwnames
[] = {
19861 (char *) "self",(char *) "id", NULL
19864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
19865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19866 if (SWIG_arg_fail(1)) SWIG_fail
;
19868 arg2
= (int)(SWIG_As_int(obj1
));
19869 if (SWIG_arg_fail(2)) SWIG_fail
;
19872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19873 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
19875 wxPyEndAllowThreads(__tstate
);
19876 if (PyErr_Occurred()) SWIG_fail
;
19879 resultobj
= wxPyMake_wxObject(result
, 0);
19887 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19888 PyObject
*resultobj
;
19889 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19892 PyObject
* obj0
= 0 ;
19893 PyObject
* obj1
= 0 ;
19894 char *kwnames
[] = {
19895 (char *) "self",(char *) "pos", NULL
19898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
19899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19900 if (SWIG_arg_fail(1)) SWIG_fail
;
19902 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19903 if (SWIG_arg_fail(2)) SWIG_fail
;
19906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19907 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
19909 wxPyEndAllowThreads(__tstate
);
19910 if (PyErr_Occurred()) SWIG_fail
;
19913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19921 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19922 PyObject
*resultobj
;
19923 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19926 PyObject
* obj0
= 0 ;
19927 PyObject
* obj1
= 0 ;
19928 char *kwnames
[] = {
19929 (char *) "self",(char *) "id", NULL
19932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
19933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19934 if (SWIG_arg_fail(1)) SWIG_fail
;
19936 arg2
= (int)(SWIG_As_int(obj1
));
19937 if (SWIG_arg_fail(2)) SWIG_fail
;
19940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19941 result
= (bool)(arg1
)->DeleteTool(arg2
);
19943 wxPyEndAllowThreads(__tstate
);
19944 if (PyErr_Occurred()) SWIG_fail
;
19947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19955 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19956 PyObject
*resultobj
;
19957 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19958 PyObject
* obj0
= 0 ;
19959 char *kwnames
[] = {
19960 (char *) "self", NULL
19963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
19964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19965 if (SWIG_arg_fail(1)) SWIG_fail
;
19967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19968 (arg1
)->ClearTools();
19970 wxPyEndAllowThreads(__tstate
);
19971 if (PyErr_Occurred()) SWIG_fail
;
19973 Py_INCREF(Py_None
); resultobj
= Py_None
;
19980 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19981 PyObject
*resultobj
;
19982 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19984 PyObject
* obj0
= 0 ;
19985 char *kwnames
[] = {
19986 (char *) "self", NULL
19989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
19990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19991 if (SWIG_arg_fail(1)) SWIG_fail
;
19993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19994 result
= (bool)(arg1
)->Realize();
19996 wxPyEndAllowThreads(__tstate
);
19997 if (PyErr_Occurred()) SWIG_fail
;
20000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20008 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20009 PyObject
*resultobj
;
20010 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20013 PyObject
* obj0
= 0 ;
20014 PyObject
* obj1
= 0 ;
20015 PyObject
* obj2
= 0 ;
20016 char *kwnames
[] = {
20017 (char *) "self",(char *) "id",(char *) "enable", NULL
20020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20022 if (SWIG_arg_fail(1)) SWIG_fail
;
20024 arg2
= (int)(SWIG_As_int(obj1
));
20025 if (SWIG_arg_fail(2)) SWIG_fail
;
20028 arg3
= (bool)(SWIG_As_bool(obj2
));
20029 if (SWIG_arg_fail(3)) SWIG_fail
;
20032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20033 (arg1
)->EnableTool(arg2
,arg3
);
20035 wxPyEndAllowThreads(__tstate
);
20036 if (PyErr_Occurred()) SWIG_fail
;
20038 Py_INCREF(Py_None
); resultobj
= Py_None
;
20045 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20046 PyObject
*resultobj
;
20047 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20050 PyObject
* obj0
= 0 ;
20051 PyObject
* obj1
= 0 ;
20052 PyObject
* obj2
= 0 ;
20053 char *kwnames
[] = {
20054 (char *) "self",(char *) "id",(char *) "toggle", NULL
20057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20059 if (SWIG_arg_fail(1)) SWIG_fail
;
20061 arg2
= (int)(SWIG_As_int(obj1
));
20062 if (SWIG_arg_fail(2)) SWIG_fail
;
20065 arg3
= (bool)(SWIG_As_bool(obj2
));
20066 if (SWIG_arg_fail(3)) SWIG_fail
;
20069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20070 (arg1
)->ToggleTool(arg2
,arg3
);
20072 wxPyEndAllowThreads(__tstate
);
20073 if (PyErr_Occurred()) SWIG_fail
;
20075 Py_INCREF(Py_None
); resultobj
= Py_None
;
20082 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20083 PyObject
*resultobj
;
20084 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20087 PyObject
* obj0
= 0 ;
20088 PyObject
* obj1
= 0 ;
20089 PyObject
* obj2
= 0 ;
20090 char *kwnames
[] = {
20091 (char *) "self",(char *) "id",(char *) "toggle", NULL
20094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20096 if (SWIG_arg_fail(1)) SWIG_fail
;
20098 arg2
= (int)(SWIG_As_int(obj1
));
20099 if (SWIG_arg_fail(2)) SWIG_fail
;
20102 arg3
= (bool)(SWIG_As_bool(obj2
));
20103 if (SWIG_arg_fail(3)) SWIG_fail
;
20106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20107 (arg1
)->SetToggle(arg2
,arg3
);
20109 wxPyEndAllowThreads(__tstate
);
20110 if (PyErr_Occurred()) SWIG_fail
;
20112 Py_INCREF(Py_None
); resultobj
= Py_None
;
20119 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20120 PyObject
*resultobj
;
20121 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20124 PyObject
* obj0
= 0 ;
20125 PyObject
* obj1
= 0 ;
20126 char *kwnames
[] = {
20127 (char *) "self",(char *) "id", NULL
20130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
20131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20132 if (SWIG_arg_fail(1)) SWIG_fail
;
20134 arg2
= (int)(SWIG_As_int(obj1
));
20135 if (SWIG_arg_fail(2)) SWIG_fail
;
20138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20139 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
20141 wxPyEndAllowThreads(__tstate
);
20142 if (PyErr_Occurred()) SWIG_fail
;
20144 resultobj
= result
;
20151 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20152 PyObject
*resultobj
;
20153 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20155 PyObject
*arg3
= (PyObject
*) 0 ;
20156 PyObject
* obj0
= 0 ;
20157 PyObject
* obj1
= 0 ;
20158 PyObject
* obj2
= 0 ;
20159 char *kwnames
[] = {
20160 (char *) "self",(char *) "id",(char *) "clientData", NULL
20163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20165 if (SWIG_arg_fail(1)) SWIG_fail
;
20167 arg2
= (int)(SWIG_As_int(obj1
));
20168 if (SWIG_arg_fail(2)) SWIG_fail
;
20172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20173 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
20175 wxPyEndAllowThreads(__tstate
);
20176 if (PyErr_Occurred()) SWIG_fail
;
20178 Py_INCREF(Py_None
); resultobj
= Py_None
;
20185 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20186 PyObject
*resultobj
;
20187 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20190 PyObject
* obj0
= 0 ;
20191 PyObject
* obj1
= 0 ;
20192 char *kwnames
[] = {
20193 (char *) "self",(char *) "id", NULL
20196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
20197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20198 if (SWIG_arg_fail(1)) SWIG_fail
;
20200 arg2
= (int)(SWIG_As_int(obj1
));
20201 if (SWIG_arg_fail(2)) SWIG_fail
;
20204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20205 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
20207 wxPyEndAllowThreads(__tstate
);
20208 if (PyErr_Occurred()) SWIG_fail
;
20211 resultobj
= SWIG_From_int((int)(result
));
20219 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20220 PyObject
*resultobj
;
20221 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20224 PyObject
* obj0
= 0 ;
20225 PyObject
* obj1
= 0 ;
20226 char *kwnames
[] = {
20227 (char *) "self",(char *) "id", NULL
20230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
20231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20232 if (SWIG_arg_fail(1)) SWIG_fail
;
20234 arg2
= (int)(SWIG_As_int(obj1
));
20235 if (SWIG_arg_fail(2)) SWIG_fail
;
20238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20239 result
= (bool)(arg1
)->GetToolState(arg2
);
20241 wxPyEndAllowThreads(__tstate
);
20242 if (PyErr_Occurred()) SWIG_fail
;
20245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20253 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20254 PyObject
*resultobj
;
20255 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20258 PyObject
* obj0
= 0 ;
20259 PyObject
* obj1
= 0 ;
20260 char *kwnames
[] = {
20261 (char *) "self",(char *) "id", NULL
20264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
20265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20266 if (SWIG_arg_fail(1)) SWIG_fail
;
20268 arg2
= (int)(SWIG_As_int(obj1
));
20269 if (SWIG_arg_fail(2)) SWIG_fail
;
20272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20273 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
20275 wxPyEndAllowThreads(__tstate
);
20276 if (PyErr_Occurred()) SWIG_fail
;
20279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20287 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20288 PyObject
*resultobj
;
20289 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20291 wxString
*arg3
= 0 ;
20292 bool temp3
= false ;
20293 PyObject
* obj0
= 0 ;
20294 PyObject
* obj1
= 0 ;
20295 PyObject
* obj2
= 0 ;
20296 char *kwnames
[] = {
20297 (char *) "self",(char *) "id",(char *) "helpString", NULL
20300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20302 if (SWIG_arg_fail(1)) SWIG_fail
;
20304 arg2
= (int)(SWIG_As_int(obj1
));
20305 if (SWIG_arg_fail(2)) SWIG_fail
;
20308 arg3
= wxString_in_helper(obj2
);
20309 if (arg3
== NULL
) SWIG_fail
;
20313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20314 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
20316 wxPyEndAllowThreads(__tstate
);
20317 if (PyErr_Occurred()) SWIG_fail
;
20319 Py_INCREF(Py_None
); resultobj
= Py_None
;
20334 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20335 PyObject
*resultobj
;
20336 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20339 PyObject
* obj0
= 0 ;
20340 PyObject
* obj1
= 0 ;
20341 char *kwnames
[] = {
20342 (char *) "self",(char *) "id", NULL
20345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20347 if (SWIG_arg_fail(1)) SWIG_fail
;
20349 arg2
= (int)(SWIG_As_int(obj1
));
20350 if (SWIG_arg_fail(2)) SWIG_fail
;
20353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20354 result
= (arg1
)->GetToolShortHelp(arg2
);
20356 wxPyEndAllowThreads(__tstate
);
20357 if (PyErr_Occurred()) SWIG_fail
;
20361 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20363 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20372 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20373 PyObject
*resultobj
;
20374 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20376 wxString
*arg3
= 0 ;
20377 bool temp3
= false ;
20378 PyObject
* obj0
= 0 ;
20379 PyObject
* obj1
= 0 ;
20380 PyObject
* obj2
= 0 ;
20381 char *kwnames
[] = {
20382 (char *) "self",(char *) "id",(char *) "helpString", NULL
20385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20387 if (SWIG_arg_fail(1)) SWIG_fail
;
20389 arg2
= (int)(SWIG_As_int(obj1
));
20390 if (SWIG_arg_fail(2)) SWIG_fail
;
20393 arg3
= wxString_in_helper(obj2
);
20394 if (arg3
== NULL
) SWIG_fail
;
20398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20399 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
20401 wxPyEndAllowThreads(__tstate
);
20402 if (PyErr_Occurred()) SWIG_fail
;
20404 Py_INCREF(Py_None
); resultobj
= Py_None
;
20419 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20420 PyObject
*resultobj
;
20421 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20424 PyObject
* obj0
= 0 ;
20425 PyObject
* obj1
= 0 ;
20426 char *kwnames
[] = {
20427 (char *) "self",(char *) "id", NULL
20430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20432 if (SWIG_arg_fail(1)) SWIG_fail
;
20434 arg2
= (int)(SWIG_As_int(obj1
));
20435 if (SWIG_arg_fail(2)) SWIG_fail
;
20438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20439 result
= (arg1
)->GetToolLongHelp(arg2
);
20441 wxPyEndAllowThreads(__tstate
);
20442 if (PyErr_Occurred()) SWIG_fail
;
20446 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20448 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20457 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20458 PyObject
*resultobj
;
20459 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20462 PyObject
* obj0
= 0 ;
20463 PyObject
* obj1
= 0 ;
20464 PyObject
* obj2
= 0 ;
20465 char *kwnames
[] = {
20466 (char *) "self",(char *) "x",(char *) "y", NULL
20469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20471 if (SWIG_arg_fail(1)) SWIG_fail
;
20473 arg2
= (int)(SWIG_As_int(obj1
));
20474 if (SWIG_arg_fail(2)) SWIG_fail
;
20477 arg3
= (int)(SWIG_As_int(obj2
));
20478 if (SWIG_arg_fail(3)) SWIG_fail
;
20481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20482 (arg1
)->SetMargins(arg2
,arg3
);
20484 wxPyEndAllowThreads(__tstate
);
20485 if (PyErr_Occurred()) SWIG_fail
;
20487 Py_INCREF(Py_None
); resultobj
= Py_None
;
20494 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20495 PyObject
*resultobj
;
20496 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20499 PyObject
* obj0
= 0 ;
20500 PyObject
* obj1
= 0 ;
20501 char *kwnames
[] = {
20502 (char *) "self",(char *) "size", NULL
20505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
20506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20507 if (SWIG_arg_fail(1)) SWIG_fail
;
20510 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20514 (arg1
)->SetMargins((wxSize
const &)*arg2
);
20516 wxPyEndAllowThreads(__tstate
);
20517 if (PyErr_Occurred()) SWIG_fail
;
20519 Py_INCREF(Py_None
); resultobj
= Py_None
;
20526 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20527 PyObject
*resultobj
;
20528 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20530 PyObject
* obj0
= 0 ;
20531 PyObject
* obj1
= 0 ;
20532 char *kwnames
[] = {
20533 (char *) "self",(char *) "packing", NULL
20536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
20537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20538 if (SWIG_arg_fail(1)) SWIG_fail
;
20540 arg2
= (int)(SWIG_As_int(obj1
));
20541 if (SWIG_arg_fail(2)) SWIG_fail
;
20544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20545 (arg1
)->SetToolPacking(arg2
);
20547 wxPyEndAllowThreads(__tstate
);
20548 if (PyErr_Occurred()) SWIG_fail
;
20550 Py_INCREF(Py_None
); resultobj
= Py_None
;
20557 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20558 PyObject
*resultobj
;
20559 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20561 PyObject
* obj0
= 0 ;
20562 PyObject
* obj1
= 0 ;
20563 char *kwnames
[] = {
20564 (char *) "self",(char *) "separation", NULL
20567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
20568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20569 if (SWIG_arg_fail(1)) SWIG_fail
;
20571 arg2
= (int)(SWIG_As_int(obj1
));
20572 if (SWIG_arg_fail(2)) SWIG_fail
;
20575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20576 (arg1
)->SetToolSeparation(arg2
);
20578 wxPyEndAllowThreads(__tstate
);
20579 if (PyErr_Occurred()) SWIG_fail
;
20581 Py_INCREF(Py_None
); resultobj
= Py_None
;
20588 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20589 PyObject
*resultobj
;
20590 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20592 PyObject
* obj0
= 0 ;
20593 char *kwnames
[] = {
20594 (char *) "self", NULL
20597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
20598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20599 if (SWIG_arg_fail(1)) SWIG_fail
;
20601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20602 result
= (arg1
)->GetToolMargins();
20604 wxPyEndAllowThreads(__tstate
);
20605 if (PyErr_Occurred()) SWIG_fail
;
20608 wxSize
* resultptr
;
20609 resultptr
= new wxSize((wxSize
&)(result
));
20610 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20618 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20619 PyObject
*resultobj
;
20620 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20622 PyObject
* obj0
= 0 ;
20623 char *kwnames
[] = {
20624 (char *) "self", NULL
20627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
20628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20629 if (SWIG_arg_fail(1)) SWIG_fail
;
20631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20632 result
= (arg1
)->GetMargins();
20634 wxPyEndAllowThreads(__tstate
);
20635 if (PyErr_Occurred()) SWIG_fail
;
20638 wxSize
* resultptr
;
20639 resultptr
= new wxSize((wxSize
&)(result
));
20640 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20648 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20649 PyObject
*resultobj
;
20650 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20652 PyObject
* obj0
= 0 ;
20653 char *kwnames
[] = {
20654 (char *) "self", NULL
20657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
20658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20659 if (SWIG_arg_fail(1)) SWIG_fail
;
20661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20662 result
= (int)(arg1
)->GetToolPacking();
20664 wxPyEndAllowThreads(__tstate
);
20665 if (PyErr_Occurred()) SWIG_fail
;
20668 resultobj
= SWIG_From_int((int)(result
));
20676 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20677 PyObject
*resultobj
;
20678 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20680 PyObject
* obj0
= 0 ;
20681 char *kwnames
[] = {
20682 (char *) "self", NULL
20685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
20686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20687 if (SWIG_arg_fail(1)) SWIG_fail
;
20689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20690 result
= (int)(arg1
)->GetToolSeparation();
20692 wxPyEndAllowThreads(__tstate
);
20693 if (PyErr_Occurred()) SWIG_fail
;
20696 resultobj
= SWIG_From_int((int)(result
));
20704 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20705 PyObject
*resultobj
;
20706 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20708 PyObject
* obj0
= 0 ;
20709 PyObject
* obj1
= 0 ;
20710 char *kwnames
[] = {
20711 (char *) "self",(char *) "nRows", NULL
20714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
20715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20716 if (SWIG_arg_fail(1)) SWIG_fail
;
20718 arg2
= (int)(SWIG_As_int(obj1
));
20719 if (SWIG_arg_fail(2)) SWIG_fail
;
20722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20723 (arg1
)->SetRows(arg2
);
20725 wxPyEndAllowThreads(__tstate
);
20726 if (PyErr_Occurred()) SWIG_fail
;
20728 Py_INCREF(Py_None
); resultobj
= Py_None
;
20735 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20736 PyObject
*resultobj
;
20737 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20740 PyObject
* obj0
= 0 ;
20741 PyObject
* obj1
= 0 ;
20742 PyObject
* obj2
= 0 ;
20743 char *kwnames
[] = {
20744 (char *) "self",(char *) "rows",(char *) "cols", NULL
20747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20749 if (SWIG_arg_fail(1)) SWIG_fail
;
20751 arg2
= (int)(SWIG_As_int(obj1
));
20752 if (SWIG_arg_fail(2)) SWIG_fail
;
20755 arg3
= (int)(SWIG_As_int(obj2
));
20756 if (SWIG_arg_fail(3)) SWIG_fail
;
20759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20760 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
20762 wxPyEndAllowThreads(__tstate
);
20763 if (PyErr_Occurred()) SWIG_fail
;
20765 Py_INCREF(Py_None
); resultobj
= Py_None
;
20772 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20773 PyObject
*resultobj
;
20774 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20776 PyObject
* obj0
= 0 ;
20777 char *kwnames
[] = {
20778 (char *) "self", NULL
20781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
20782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20783 if (SWIG_arg_fail(1)) SWIG_fail
;
20785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20786 result
= (int)(arg1
)->GetMaxRows();
20788 wxPyEndAllowThreads(__tstate
);
20789 if (PyErr_Occurred()) SWIG_fail
;
20792 resultobj
= SWIG_From_int((int)(result
));
20800 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20801 PyObject
*resultobj
;
20802 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20804 PyObject
* obj0
= 0 ;
20805 char *kwnames
[] = {
20806 (char *) "self", NULL
20809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
20810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20811 if (SWIG_arg_fail(1)) SWIG_fail
;
20813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20814 result
= (int)(arg1
)->GetMaxCols();
20816 wxPyEndAllowThreads(__tstate
);
20817 if (PyErr_Occurred()) SWIG_fail
;
20820 resultobj
= SWIG_From_int((int)(result
));
20828 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20829 PyObject
*resultobj
;
20830 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20833 PyObject
* obj0
= 0 ;
20834 PyObject
* obj1
= 0 ;
20835 char *kwnames
[] = {
20836 (char *) "self",(char *) "size", NULL
20839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20841 if (SWIG_arg_fail(1)) SWIG_fail
;
20844 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20848 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
20850 wxPyEndAllowThreads(__tstate
);
20851 if (PyErr_Occurred()) SWIG_fail
;
20853 Py_INCREF(Py_None
); resultobj
= Py_None
;
20860 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20861 PyObject
*resultobj
;
20862 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20864 PyObject
* obj0
= 0 ;
20865 char *kwnames
[] = {
20866 (char *) "self", NULL
20869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
20870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20871 if (SWIG_arg_fail(1)) SWIG_fail
;
20873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20874 result
= (arg1
)->GetToolBitmapSize();
20876 wxPyEndAllowThreads(__tstate
);
20877 if (PyErr_Occurred()) SWIG_fail
;
20880 wxSize
* resultptr
;
20881 resultptr
= new wxSize((wxSize
&)(result
));
20882 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20890 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20891 PyObject
*resultobj
;
20892 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20894 PyObject
* obj0
= 0 ;
20895 char *kwnames
[] = {
20896 (char *) "self", NULL
20899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
20900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20901 if (SWIG_arg_fail(1)) SWIG_fail
;
20903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20904 result
= (arg1
)->GetToolSize();
20906 wxPyEndAllowThreads(__tstate
);
20907 if (PyErr_Occurred()) SWIG_fail
;
20910 wxSize
* resultptr
;
20911 resultptr
= new wxSize((wxSize
&)(result
));
20912 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20920 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20921 PyObject
*resultobj
;
20922 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20925 wxToolBarToolBase
*result
;
20926 PyObject
* obj0
= 0 ;
20927 PyObject
* obj1
= 0 ;
20928 PyObject
* obj2
= 0 ;
20929 char *kwnames
[] = {
20930 (char *) "self",(char *) "x",(char *) "y", NULL
20933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20935 if (SWIG_arg_fail(1)) SWIG_fail
;
20937 arg2
= (int)(SWIG_As_int(obj1
));
20938 if (SWIG_arg_fail(2)) SWIG_fail
;
20941 arg3
= (int)(SWIG_As_int(obj2
));
20942 if (SWIG_arg_fail(3)) SWIG_fail
;
20945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20946 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
20948 wxPyEndAllowThreads(__tstate
);
20949 if (PyErr_Occurred()) SWIG_fail
;
20952 resultobj
= wxPyMake_wxObject(result
, 0);
20960 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20961 PyObject
*resultobj
;
20962 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20964 wxToolBarToolBase
*result
;
20965 PyObject
* obj0
= 0 ;
20966 PyObject
* obj1
= 0 ;
20967 char *kwnames
[] = {
20968 (char *) "self",(char *) "toolid", NULL
20971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
20972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20973 if (SWIG_arg_fail(1)) SWIG_fail
;
20975 arg2
= (int)(SWIG_As_int(obj1
));
20976 if (SWIG_arg_fail(2)) SWIG_fail
;
20979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20980 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
20982 wxPyEndAllowThreads(__tstate
);
20983 if (PyErr_Occurred()) SWIG_fail
;
20986 resultobj
= wxPyMake_wxObject(result
, 0);
20994 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20995 PyObject
*resultobj
;
20996 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20998 PyObject
* obj0
= 0 ;
20999 char *kwnames
[] = {
21000 (char *) "self", NULL
21003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
21004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21005 if (SWIG_arg_fail(1)) SWIG_fail
;
21007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21008 result
= (bool)(arg1
)->IsVertical();
21010 wxPyEndAllowThreads(__tstate
);
21011 if (PyErr_Occurred()) SWIG_fail
;
21014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21022 static PyObject
* ToolBarBase_swigregister(PyObject
*, PyObject
*args
) {
21024 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21025 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
21027 return Py_BuildValue((char *)"");
21029 static PyObject
*_wrap_new_ToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21030 PyObject
*resultobj
;
21031 wxWindow
*arg1
= (wxWindow
*) 0 ;
21032 int arg2
= (int) -1 ;
21033 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21034 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21035 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21036 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21037 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
21038 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
21039 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21043 bool temp6
= false ;
21044 PyObject
* obj0
= 0 ;
21045 PyObject
* obj1
= 0 ;
21046 PyObject
* obj2
= 0 ;
21047 PyObject
* obj3
= 0 ;
21048 PyObject
* obj4
= 0 ;
21049 PyObject
* obj5
= 0 ;
21050 char *kwnames
[] = {
21051 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21056 if (SWIG_arg_fail(1)) SWIG_fail
;
21059 arg2
= (int)(SWIG_As_int(obj1
));
21060 if (SWIG_arg_fail(2)) SWIG_fail
;
21066 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21072 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21077 arg5
= (long)(SWIG_As_long(obj4
));
21078 if (SWIG_arg_fail(5)) SWIG_fail
;
21083 arg6
= wxString_in_helper(obj5
);
21084 if (arg6
== NULL
) SWIG_fail
;
21089 if (!wxPyCheckForApp()) SWIG_fail
;
21090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21091 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21093 wxPyEndAllowThreads(__tstate
);
21094 if (PyErr_Occurred()) SWIG_fail
;
21096 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
21111 static PyObject
*_wrap_new_PreToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21112 PyObject
*resultobj
;
21114 char *kwnames
[] = {
21118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
21120 if (!wxPyCheckForApp()) SWIG_fail
;
21121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21122 result
= (wxToolBar
*)new wxToolBar();
21124 wxPyEndAllowThreads(__tstate
);
21125 if (PyErr_Occurred()) SWIG_fail
;
21127 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
21134 static PyObject
*_wrap_ToolBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21135 PyObject
*resultobj
;
21136 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
21137 wxWindow
*arg2
= (wxWindow
*) 0 ;
21138 int arg3
= (int) -1 ;
21139 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21140 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21141 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21142 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21143 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
21144 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
21145 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21149 bool temp7
= false ;
21150 PyObject
* obj0
= 0 ;
21151 PyObject
* obj1
= 0 ;
21152 PyObject
* obj2
= 0 ;
21153 PyObject
* obj3
= 0 ;
21154 PyObject
* obj4
= 0 ;
21155 PyObject
* obj5
= 0 ;
21156 PyObject
* obj6
= 0 ;
21157 char *kwnames
[] = {
21158 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
21163 if (SWIG_arg_fail(1)) SWIG_fail
;
21164 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21165 if (SWIG_arg_fail(2)) SWIG_fail
;
21168 arg3
= (int)(SWIG_As_int(obj2
));
21169 if (SWIG_arg_fail(3)) SWIG_fail
;
21175 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21181 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21186 arg6
= (long)(SWIG_As_long(obj5
));
21187 if (SWIG_arg_fail(6)) SWIG_fail
;
21192 arg7
= wxString_in_helper(obj6
);
21193 if (arg7
== NULL
) SWIG_fail
;
21198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21199 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21201 wxPyEndAllowThreads(__tstate
);
21202 if (PyErr_Occurred()) SWIG_fail
;
21205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21221 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21222 PyObject
*resultobj
;
21223 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
21226 wxToolBarToolBase
*result
;
21227 PyObject
* obj0
= 0 ;
21228 PyObject
* obj1
= 0 ;
21229 PyObject
* obj2
= 0 ;
21230 char *kwnames
[] = {
21231 (char *) "self",(char *) "x",(char *) "y", NULL
21234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
21236 if (SWIG_arg_fail(1)) SWIG_fail
;
21238 arg2
= (int)(SWIG_As_int(obj1
));
21239 if (SWIG_arg_fail(2)) SWIG_fail
;
21242 arg3
= (int)(SWIG_As_int(obj2
));
21243 if (SWIG_arg_fail(3)) SWIG_fail
;
21246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21247 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
21249 wxPyEndAllowThreads(__tstate
);
21250 if (PyErr_Occurred()) SWIG_fail
;
21253 resultobj
= wxPyMake_wxObject(result
, 0);
21261 static PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21262 PyObject
*resultobj
;
21263 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
21264 wxVisualAttributes result
;
21265 PyObject
* obj0
= 0 ;
21266 char *kwnames
[] = {
21267 (char *) "variant", NULL
21270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
21273 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
21274 if (SWIG_arg_fail(1)) SWIG_fail
;
21278 if (!wxPyCheckForApp()) SWIG_fail
;
21279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21280 result
= wxToolBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
21282 wxPyEndAllowThreads(__tstate
);
21283 if (PyErr_Occurred()) SWIG_fail
;
21286 wxVisualAttributes
* resultptr
;
21287 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
21288 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
21296 static PyObject
* ToolBar_swigregister(PyObject
*, PyObject
*args
) {
21298 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21299 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
21301 return Py_BuildValue((char *)"");
21303 static int _wrap_ListCtrlNameStr_set(PyObject
*) {
21304 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
21309 static PyObject
*_wrap_ListCtrlNameStr_get(void) {
21314 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
21316 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
21323 static PyObject
*_wrap_new_ListItemAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21324 PyObject
*resultobj
;
21325 wxColour
const &arg1_defvalue
= wxNullColour
;
21326 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
21327 wxColour
const &arg2_defvalue
= wxNullColour
;
21328 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
21329 wxFont
const &arg3_defvalue
= wxNullFont
;
21330 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
21331 wxListItemAttr
*result
;
21334 PyObject
* obj0
= 0 ;
21335 PyObject
* obj1
= 0 ;
21336 PyObject
* obj2
= 0 ;
21337 char *kwnames
[] = {
21338 (char *) "colText",(char *) "colBack",(char *) "font", NULL
21341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21345 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
21351 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21356 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
21357 if (SWIG_arg_fail(3)) SWIG_fail
;
21358 if (arg3
== NULL
) {
21359 SWIG_null_ref("wxFont");
21361 if (SWIG_arg_fail(3)) SWIG_fail
;
21365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21366 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
21368 wxPyEndAllowThreads(__tstate
);
21369 if (PyErr_Occurred()) SWIG_fail
;
21371 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
21378 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21379 PyObject
*resultobj
;
21380 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21381 wxColour
*arg2
= 0 ;
21383 PyObject
* obj0
= 0 ;
21384 PyObject
* obj1
= 0 ;
21385 char *kwnames
[] = {
21386 (char *) "self",(char *) "colText", NULL
21389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21391 if (SWIG_arg_fail(1)) SWIG_fail
;
21394 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21398 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
21400 wxPyEndAllowThreads(__tstate
);
21401 if (PyErr_Occurred()) SWIG_fail
;
21403 Py_INCREF(Py_None
); resultobj
= Py_None
;
21410 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21411 PyObject
*resultobj
;
21412 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21413 wxColour
*arg2
= 0 ;
21415 PyObject
* obj0
= 0 ;
21416 PyObject
* obj1
= 0 ;
21417 char *kwnames
[] = {
21418 (char *) "self",(char *) "colBack", NULL
21421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21423 if (SWIG_arg_fail(1)) SWIG_fail
;
21426 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21430 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
21432 wxPyEndAllowThreads(__tstate
);
21433 if (PyErr_Occurred()) SWIG_fail
;
21435 Py_INCREF(Py_None
); resultobj
= Py_None
;
21442 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21443 PyObject
*resultobj
;
21444 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21446 PyObject
* obj0
= 0 ;
21447 PyObject
* obj1
= 0 ;
21448 char *kwnames
[] = {
21449 (char *) "self",(char *) "font", NULL
21452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
21453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21454 if (SWIG_arg_fail(1)) SWIG_fail
;
21456 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
21457 if (SWIG_arg_fail(2)) SWIG_fail
;
21458 if (arg2
== NULL
) {
21459 SWIG_null_ref("wxFont");
21461 if (SWIG_arg_fail(2)) SWIG_fail
;
21464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21465 (arg1
)->SetFont((wxFont
const &)*arg2
);
21467 wxPyEndAllowThreads(__tstate
);
21468 if (PyErr_Occurred()) SWIG_fail
;
21470 Py_INCREF(Py_None
); resultobj
= Py_None
;
21477 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21478 PyObject
*resultobj
;
21479 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21481 PyObject
* obj0
= 0 ;
21482 char *kwnames
[] = {
21483 (char *) "self", NULL
21486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
21487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21488 if (SWIG_arg_fail(1)) SWIG_fail
;
21490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21491 result
= (bool)(arg1
)->HasTextColour();
21493 wxPyEndAllowThreads(__tstate
);
21494 if (PyErr_Occurred()) SWIG_fail
;
21497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21505 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21506 PyObject
*resultobj
;
21507 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21509 PyObject
* obj0
= 0 ;
21510 char *kwnames
[] = {
21511 (char *) "self", NULL
21514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
21515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21516 if (SWIG_arg_fail(1)) SWIG_fail
;
21518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21519 result
= (bool)(arg1
)->HasBackgroundColour();
21521 wxPyEndAllowThreads(__tstate
);
21522 if (PyErr_Occurred()) SWIG_fail
;
21525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21533 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21534 PyObject
*resultobj
;
21535 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21537 PyObject
* obj0
= 0 ;
21538 char *kwnames
[] = {
21539 (char *) "self", NULL
21542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
21543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21544 if (SWIG_arg_fail(1)) SWIG_fail
;
21546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21547 result
= (bool)(arg1
)->HasFont();
21549 wxPyEndAllowThreads(__tstate
);
21550 if (PyErr_Occurred()) SWIG_fail
;
21553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21561 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21562 PyObject
*resultobj
;
21563 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21565 PyObject
* obj0
= 0 ;
21566 char *kwnames
[] = {
21567 (char *) "self", NULL
21570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
21571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21572 if (SWIG_arg_fail(1)) SWIG_fail
;
21574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21575 result
= (arg1
)->GetTextColour();
21577 wxPyEndAllowThreads(__tstate
);
21578 if (PyErr_Occurred()) SWIG_fail
;
21581 wxColour
* resultptr
;
21582 resultptr
= new wxColour((wxColour
&)(result
));
21583 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21591 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21592 PyObject
*resultobj
;
21593 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21595 PyObject
* obj0
= 0 ;
21596 char *kwnames
[] = {
21597 (char *) "self", NULL
21600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
21601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21602 if (SWIG_arg_fail(1)) SWIG_fail
;
21604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21605 result
= (arg1
)->GetBackgroundColour();
21607 wxPyEndAllowThreads(__tstate
);
21608 if (PyErr_Occurred()) SWIG_fail
;
21611 wxColour
* resultptr
;
21612 resultptr
= new wxColour((wxColour
&)(result
));
21613 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21621 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21622 PyObject
*resultobj
;
21623 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21625 PyObject
* obj0
= 0 ;
21626 char *kwnames
[] = {
21627 (char *) "self", NULL
21630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
21631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21632 if (SWIG_arg_fail(1)) SWIG_fail
;
21634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21635 result
= (arg1
)->GetFont();
21637 wxPyEndAllowThreads(__tstate
);
21638 if (PyErr_Occurred()) SWIG_fail
;
21641 wxFont
* resultptr
;
21642 resultptr
= new wxFont((wxFont
&)(result
));
21643 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
21651 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21652 PyObject
*resultobj
;
21653 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21654 PyObject
* obj0
= 0 ;
21655 char *kwnames
[] = {
21656 (char *) "self", NULL
21659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
21660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21661 if (SWIG_arg_fail(1)) SWIG_fail
;
21663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21664 wxListItemAttr_Destroy(arg1
);
21666 wxPyEndAllowThreads(__tstate
);
21667 if (PyErr_Occurred()) SWIG_fail
;
21669 Py_INCREF(Py_None
); resultobj
= Py_None
;
21676 static PyObject
* ListItemAttr_swigregister(PyObject
*, PyObject
*args
) {
21678 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21679 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
21681 return Py_BuildValue((char *)"");
21683 static PyObject
*_wrap_new_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21684 PyObject
*resultobj
;
21685 wxListItem
*result
;
21686 char *kwnames
[] = {
21690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
21692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21693 result
= (wxListItem
*)new wxListItem();
21695 wxPyEndAllowThreads(__tstate
);
21696 if (PyErr_Occurred()) SWIG_fail
;
21699 resultobj
= wxPyMake_wxObject(result
, 1);
21707 static PyObject
*_wrap_delete_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21708 PyObject
*resultobj
;
21709 wxListItem
*arg1
= (wxListItem
*) 0 ;
21710 PyObject
* obj0
= 0 ;
21711 char *kwnames
[] = {
21712 (char *) "self", NULL
21715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
21716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21717 if (SWIG_arg_fail(1)) SWIG_fail
;
21719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21722 wxPyEndAllowThreads(__tstate
);
21723 if (PyErr_Occurred()) SWIG_fail
;
21725 Py_INCREF(Py_None
); resultobj
= Py_None
;
21732 static PyObject
*_wrap_ListItem_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21733 PyObject
*resultobj
;
21734 wxListItem
*arg1
= (wxListItem
*) 0 ;
21735 PyObject
* obj0
= 0 ;
21736 char *kwnames
[] = {
21737 (char *) "self", NULL
21740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
21741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21742 if (SWIG_arg_fail(1)) SWIG_fail
;
21744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21747 wxPyEndAllowThreads(__tstate
);
21748 if (PyErr_Occurred()) SWIG_fail
;
21750 Py_INCREF(Py_None
); resultobj
= Py_None
;
21757 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21758 PyObject
*resultobj
;
21759 wxListItem
*arg1
= (wxListItem
*) 0 ;
21760 PyObject
* obj0
= 0 ;
21761 char *kwnames
[] = {
21762 (char *) "self", NULL
21765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
21766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21767 if (SWIG_arg_fail(1)) SWIG_fail
;
21769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21770 (arg1
)->ClearAttributes();
21772 wxPyEndAllowThreads(__tstate
);
21773 if (PyErr_Occurred()) SWIG_fail
;
21775 Py_INCREF(Py_None
); resultobj
= Py_None
;
21782 static PyObject
*_wrap_ListItem_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21783 PyObject
*resultobj
;
21784 wxListItem
*arg1
= (wxListItem
*) 0 ;
21786 PyObject
* obj0
= 0 ;
21787 PyObject
* obj1
= 0 ;
21788 char *kwnames
[] = {
21789 (char *) "self",(char *) "mask", NULL
21792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
21793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21794 if (SWIG_arg_fail(1)) SWIG_fail
;
21796 arg2
= (long)(SWIG_As_long(obj1
));
21797 if (SWIG_arg_fail(2)) SWIG_fail
;
21800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21801 (arg1
)->SetMask(arg2
);
21803 wxPyEndAllowThreads(__tstate
);
21804 if (PyErr_Occurred()) SWIG_fail
;
21806 Py_INCREF(Py_None
); resultobj
= Py_None
;
21813 static PyObject
*_wrap_ListItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21814 PyObject
*resultobj
;
21815 wxListItem
*arg1
= (wxListItem
*) 0 ;
21817 PyObject
* obj0
= 0 ;
21818 PyObject
* obj1
= 0 ;
21819 char *kwnames
[] = {
21820 (char *) "self",(char *) "id", NULL
21823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
21824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21825 if (SWIG_arg_fail(1)) SWIG_fail
;
21827 arg2
= (long)(SWIG_As_long(obj1
));
21828 if (SWIG_arg_fail(2)) SWIG_fail
;
21831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21832 (arg1
)->SetId(arg2
);
21834 wxPyEndAllowThreads(__tstate
);
21835 if (PyErr_Occurred()) SWIG_fail
;
21837 Py_INCREF(Py_None
); resultobj
= Py_None
;
21844 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21845 PyObject
*resultobj
;
21846 wxListItem
*arg1
= (wxListItem
*) 0 ;
21848 PyObject
* obj0
= 0 ;
21849 PyObject
* obj1
= 0 ;
21850 char *kwnames
[] = {
21851 (char *) "self",(char *) "col", NULL
21854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21856 if (SWIG_arg_fail(1)) SWIG_fail
;
21858 arg2
= (int)(SWIG_As_int(obj1
));
21859 if (SWIG_arg_fail(2)) SWIG_fail
;
21862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21863 (arg1
)->SetColumn(arg2
);
21865 wxPyEndAllowThreads(__tstate
);
21866 if (PyErr_Occurred()) SWIG_fail
;
21868 Py_INCREF(Py_None
); resultobj
= Py_None
;
21875 static PyObject
*_wrap_ListItem_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21876 PyObject
*resultobj
;
21877 wxListItem
*arg1
= (wxListItem
*) 0 ;
21879 PyObject
* obj0
= 0 ;
21880 PyObject
* obj1
= 0 ;
21881 char *kwnames
[] = {
21882 (char *) "self",(char *) "state", NULL
21885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
21886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21887 if (SWIG_arg_fail(1)) SWIG_fail
;
21889 arg2
= (long)(SWIG_As_long(obj1
));
21890 if (SWIG_arg_fail(2)) SWIG_fail
;
21893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21894 (arg1
)->SetState(arg2
);
21896 wxPyEndAllowThreads(__tstate
);
21897 if (PyErr_Occurred()) SWIG_fail
;
21899 Py_INCREF(Py_None
); resultobj
= Py_None
;
21906 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21907 PyObject
*resultobj
;
21908 wxListItem
*arg1
= (wxListItem
*) 0 ;
21910 PyObject
* obj0
= 0 ;
21911 PyObject
* obj1
= 0 ;
21912 char *kwnames
[] = {
21913 (char *) "self",(char *) "stateMask", NULL
21916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
21917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21918 if (SWIG_arg_fail(1)) SWIG_fail
;
21920 arg2
= (long)(SWIG_As_long(obj1
));
21921 if (SWIG_arg_fail(2)) SWIG_fail
;
21924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21925 (arg1
)->SetStateMask(arg2
);
21927 wxPyEndAllowThreads(__tstate
);
21928 if (PyErr_Occurred()) SWIG_fail
;
21930 Py_INCREF(Py_None
); resultobj
= Py_None
;
21937 static PyObject
*_wrap_ListItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21938 PyObject
*resultobj
;
21939 wxListItem
*arg1
= (wxListItem
*) 0 ;
21940 wxString
*arg2
= 0 ;
21941 bool temp2
= false ;
21942 PyObject
* obj0
= 0 ;
21943 PyObject
* obj1
= 0 ;
21944 char *kwnames
[] = {
21945 (char *) "self",(char *) "text", NULL
21948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
21949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21950 if (SWIG_arg_fail(1)) SWIG_fail
;
21952 arg2
= wxString_in_helper(obj1
);
21953 if (arg2
== NULL
) SWIG_fail
;
21957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21958 (arg1
)->SetText((wxString
const &)*arg2
);
21960 wxPyEndAllowThreads(__tstate
);
21961 if (PyErr_Occurred()) SWIG_fail
;
21963 Py_INCREF(Py_None
); resultobj
= Py_None
;
21978 static PyObject
*_wrap_ListItem_SetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21979 PyObject
*resultobj
;
21980 wxListItem
*arg1
= (wxListItem
*) 0 ;
21982 PyObject
* obj0
= 0 ;
21983 PyObject
* obj1
= 0 ;
21984 char *kwnames
[] = {
21985 (char *) "self",(char *) "image", NULL
21988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
21989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21990 if (SWIG_arg_fail(1)) SWIG_fail
;
21992 arg2
= (int)(SWIG_As_int(obj1
));
21993 if (SWIG_arg_fail(2)) SWIG_fail
;
21996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21997 (arg1
)->SetImage(arg2
);
21999 wxPyEndAllowThreads(__tstate
);
22000 if (PyErr_Occurred()) SWIG_fail
;
22002 Py_INCREF(Py_None
); resultobj
= Py_None
;
22009 static PyObject
*_wrap_ListItem_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22010 PyObject
*resultobj
;
22011 wxListItem
*arg1
= (wxListItem
*) 0 ;
22013 PyObject
* obj0
= 0 ;
22014 PyObject
* obj1
= 0 ;
22015 char *kwnames
[] = {
22016 (char *) "self",(char *) "data", NULL
22019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
22020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22021 if (SWIG_arg_fail(1)) SWIG_fail
;
22023 arg2
= (long)(SWIG_As_long(obj1
));
22024 if (SWIG_arg_fail(2)) SWIG_fail
;
22027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22028 (arg1
)->SetData(arg2
);
22030 wxPyEndAllowThreads(__tstate
);
22031 if (PyErr_Occurred()) SWIG_fail
;
22033 Py_INCREF(Py_None
); resultobj
= Py_None
;
22040 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22041 PyObject
*resultobj
;
22042 wxListItem
*arg1
= (wxListItem
*) 0 ;
22044 PyObject
* obj0
= 0 ;
22045 PyObject
* obj1
= 0 ;
22046 char *kwnames
[] = {
22047 (char *) "self",(char *) "width", NULL
22050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
22051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22052 if (SWIG_arg_fail(1)) SWIG_fail
;
22054 arg2
= (int)(SWIG_As_int(obj1
));
22055 if (SWIG_arg_fail(2)) SWIG_fail
;
22058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22059 (arg1
)->SetWidth(arg2
);
22061 wxPyEndAllowThreads(__tstate
);
22062 if (PyErr_Occurred()) SWIG_fail
;
22064 Py_INCREF(Py_None
); resultobj
= Py_None
;
22071 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22072 PyObject
*resultobj
;
22073 wxListItem
*arg1
= (wxListItem
*) 0 ;
22074 wxListColumnFormat arg2
;
22075 PyObject
* obj0
= 0 ;
22076 PyObject
* obj1
= 0 ;
22077 char *kwnames
[] = {
22078 (char *) "self",(char *) "align", NULL
22081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
22082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22083 if (SWIG_arg_fail(1)) SWIG_fail
;
22085 arg2
= (wxListColumnFormat
)(SWIG_As_int(obj1
));
22086 if (SWIG_arg_fail(2)) SWIG_fail
;
22089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22090 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
22092 wxPyEndAllowThreads(__tstate
);
22093 if (PyErr_Occurred()) SWIG_fail
;
22095 Py_INCREF(Py_None
); resultobj
= Py_None
;
22102 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22103 PyObject
*resultobj
;
22104 wxListItem
*arg1
= (wxListItem
*) 0 ;
22105 wxColour
*arg2
= 0 ;
22107 PyObject
* obj0
= 0 ;
22108 PyObject
* obj1
= 0 ;
22109 char *kwnames
[] = {
22110 (char *) "self",(char *) "colText", NULL
22113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22115 if (SWIG_arg_fail(1)) SWIG_fail
;
22118 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22122 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
22124 wxPyEndAllowThreads(__tstate
);
22125 if (PyErr_Occurred()) SWIG_fail
;
22127 Py_INCREF(Py_None
); resultobj
= Py_None
;
22134 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22135 PyObject
*resultobj
;
22136 wxListItem
*arg1
= (wxListItem
*) 0 ;
22137 wxColour
*arg2
= 0 ;
22139 PyObject
* obj0
= 0 ;
22140 PyObject
* obj1
= 0 ;
22141 char *kwnames
[] = {
22142 (char *) "self",(char *) "colBack", NULL
22145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22147 if (SWIG_arg_fail(1)) SWIG_fail
;
22150 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22154 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
22156 wxPyEndAllowThreads(__tstate
);
22157 if (PyErr_Occurred()) SWIG_fail
;
22159 Py_INCREF(Py_None
); resultobj
= Py_None
;
22166 static PyObject
*_wrap_ListItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22167 PyObject
*resultobj
;
22168 wxListItem
*arg1
= (wxListItem
*) 0 ;
22170 PyObject
* obj0
= 0 ;
22171 PyObject
* obj1
= 0 ;
22172 char *kwnames
[] = {
22173 (char *) "self",(char *) "font", NULL
22176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
22177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22178 if (SWIG_arg_fail(1)) SWIG_fail
;
22180 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
22181 if (SWIG_arg_fail(2)) SWIG_fail
;
22182 if (arg2
== NULL
) {
22183 SWIG_null_ref("wxFont");
22185 if (SWIG_arg_fail(2)) SWIG_fail
;
22188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22189 (arg1
)->SetFont((wxFont
const &)*arg2
);
22191 wxPyEndAllowThreads(__tstate
);
22192 if (PyErr_Occurred()) SWIG_fail
;
22194 Py_INCREF(Py_None
); resultobj
= Py_None
;
22201 static PyObject
*_wrap_ListItem_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22202 PyObject
*resultobj
;
22203 wxListItem
*arg1
= (wxListItem
*) 0 ;
22205 PyObject
* obj0
= 0 ;
22206 char *kwnames
[] = {
22207 (char *) "self", NULL
22210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
22211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22212 if (SWIG_arg_fail(1)) SWIG_fail
;
22214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22215 result
= (long)(arg1
)->GetMask();
22217 wxPyEndAllowThreads(__tstate
);
22218 if (PyErr_Occurred()) SWIG_fail
;
22221 resultobj
= SWIG_From_long((long)(result
));
22229 static PyObject
*_wrap_ListItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22230 PyObject
*resultobj
;
22231 wxListItem
*arg1
= (wxListItem
*) 0 ;
22233 PyObject
* obj0
= 0 ;
22234 char *kwnames
[] = {
22235 (char *) "self", NULL
22238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
22239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22240 if (SWIG_arg_fail(1)) SWIG_fail
;
22242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22243 result
= (long)(arg1
)->GetId();
22245 wxPyEndAllowThreads(__tstate
);
22246 if (PyErr_Occurred()) SWIG_fail
;
22249 resultobj
= SWIG_From_long((long)(result
));
22257 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22258 PyObject
*resultobj
;
22259 wxListItem
*arg1
= (wxListItem
*) 0 ;
22261 PyObject
* obj0
= 0 ;
22262 char *kwnames
[] = {
22263 (char *) "self", NULL
22266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
22267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22268 if (SWIG_arg_fail(1)) SWIG_fail
;
22270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22271 result
= (int)(arg1
)->GetColumn();
22273 wxPyEndAllowThreads(__tstate
);
22274 if (PyErr_Occurred()) SWIG_fail
;
22277 resultobj
= SWIG_From_int((int)(result
));
22285 static PyObject
*_wrap_ListItem_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22286 PyObject
*resultobj
;
22287 wxListItem
*arg1
= (wxListItem
*) 0 ;
22289 PyObject
* obj0
= 0 ;
22290 char *kwnames
[] = {
22291 (char *) "self", NULL
22294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
22295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22296 if (SWIG_arg_fail(1)) SWIG_fail
;
22298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22299 result
= (long)(arg1
)->GetState();
22301 wxPyEndAllowThreads(__tstate
);
22302 if (PyErr_Occurred()) SWIG_fail
;
22305 resultobj
= SWIG_From_long((long)(result
));
22313 static PyObject
*_wrap_ListItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22314 PyObject
*resultobj
;
22315 wxListItem
*arg1
= (wxListItem
*) 0 ;
22317 PyObject
* obj0
= 0 ;
22318 char *kwnames
[] = {
22319 (char *) "self", NULL
22322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
22323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22324 if (SWIG_arg_fail(1)) SWIG_fail
;
22326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22328 wxString
const &_result_ref
= (arg1
)->GetText();
22329 result
= (wxString
*) &_result_ref
;
22332 wxPyEndAllowThreads(__tstate
);
22333 if (PyErr_Occurred()) SWIG_fail
;
22337 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22339 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22348 static PyObject
*_wrap_ListItem_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22349 PyObject
*resultobj
;
22350 wxListItem
*arg1
= (wxListItem
*) 0 ;
22352 PyObject
* obj0
= 0 ;
22353 char *kwnames
[] = {
22354 (char *) "self", NULL
22357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
22358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22359 if (SWIG_arg_fail(1)) SWIG_fail
;
22361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22362 result
= (int)(arg1
)->GetImage();
22364 wxPyEndAllowThreads(__tstate
);
22365 if (PyErr_Occurred()) SWIG_fail
;
22368 resultobj
= SWIG_From_int((int)(result
));
22376 static PyObject
*_wrap_ListItem_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22377 PyObject
*resultobj
;
22378 wxListItem
*arg1
= (wxListItem
*) 0 ;
22380 PyObject
* obj0
= 0 ;
22381 char *kwnames
[] = {
22382 (char *) "self", NULL
22385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
22386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22387 if (SWIG_arg_fail(1)) SWIG_fail
;
22389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22390 result
= (long)(arg1
)->GetData();
22392 wxPyEndAllowThreads(__tstate
);
22393 if (PyErr_Occurred()) SWIG_fail
;
22396 resultobj
= SWIG_From_long((long)(result
));
22404 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22405 PyObject
*resultobj
;
22406 wxListItem
*arg1
= (wxListItem
*) 0 ;
22408 PyObject
* obj0
= 0 ;
22409 char *kwnames
[] = {
22410 (char *) "self", NULL
22413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
22414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22415 if (SWIG_arg_fail(1)) SWIG_fail
;
22417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22418 result
= (int)(arg1
)->GetWidth();
22420 wxPyEndAllowThreads(__tstate
);
22421 if (PyErr_Occurred()) SWIG_fail
;
22424 resultobj
= SWIG_From_int((int)(result
));
22432 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22433 PyObject
*resultobj
;
22434 wxListItem
*arg1
= (wxListItem
*) 0 ;
22435 wxListColumnFormat result
;
22436 PyObject
* obj0
= 0 ;
22437 char *kwnames
[] = {
22438 (char *) "self", NULL
22441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
22442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22443 if (SWIG_arg_fail(1)) SWIG_fail
;
22445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22446 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
22448 wxPyEndAllowThreads(__tstate
);
22449 if (PyErr_Occurred()) SWIG_fail
;
22451 resultobj
= SWIG_From_int((result
));
22458 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22459 PyObject
*resultobj
;
22460 wxListItem
*arg1
= (wxListItem
*) 0 ;
22461 wxListItemAttr
*result
;
22462 PyObject
* obj0
= 0 ;
22463 char *kwnames
[] = {
22464 (char *) "self", NULL
22467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
22468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22469 if (SWIG_arg_fail(1)) SWIG_fail
;
22471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22472 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
22474 wxPyEndAllowThreads(__tstate
);
22475 if (PyErr_Occurred()) SWIG_fail
;
22477 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
22484 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22485 PyObject
*resultobj
;
22486 wxListItem
*arg1
= (wxListItem
*) 0 ;
22488 PyObject
* obj0
= 0 ;
22489 char *kwnames
[] = {
22490 (char *) "self", NULL
22493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
22494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22495 if (SWIG_arg_fail(1)) SWIG_fail
;
22497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22498 result
= (bool)(arg1
)->HasAttributes();
22500 wxPyEndAllowThreads(__tstate
);
22501 if (PyErr_Occurred()) SWIG_fail
;
22504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22512 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22513 PyObject
*resultobj
;
22514 wxListItem
*arg1
= (wxListItem
*) 0 ;
22516 PyObject
* obj0
= 0 ;
22517 char *kwnames
[] = {
22518 (char *) "self", NULL
22521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
22522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22523 if (SWIG_arg_fail(1)) SWIG_fail
;
22525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22526 result
= ((wxListItem
const *)arg1
)->GetTextColour();
22528 wxPyEndAllowThreads(__tstate
);
22529 if (PyErr_Occurred()) SWIG_fail
;
22532 wxColour
* resultptr
;
22533 resultptr
= new wxColour((wxColour
&)(result
));
22534 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22542 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22543 PyObject
*resultobj
;
22544 wxListItem
*arg1
= (wxListItem
*) 0 ;
22546 PyObject
* obj0
= 0 ;
22547 char *kwnames
[] = {
22548 (char *) "self", NULL
22551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
22552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22553 if (SWIG_arg_fail(1)) SWIG_fail
;
22555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22556 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
22558 wxPyEndAllowThreads(__tstate
);
22559 if (PyErr_Occurred()) SWIG_fail
;
22562 wxColour
* resultptr
;
22563 resultptr
= new wxColour((wxColour
&)(result
));
22564 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22572 static PyObject
*_wrap_ListItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22573 PyObject
*resultobj
;
22574 wxListItem
*arg1
= (wxListItem
*) 0 ;
22576 PyObject
* obj0
= 0 ;
22577 char *kwnames
[] = {
22578 (char *) "self", NULL
22581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
22582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22583 if (SWIG_arg_fail(1)) SWIG_fail
;
22585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22586 result
= ((wxListItem
const *)arg1
)->GetFont();
22588 wxPyEndAllowThreads(__tstate
);
22589 if (PyErr_Occurred()) SWIG_fail
;
22592 wxFont
* resultptr
;
22593 resultptr
= new wxFont((wxFont
&)(result
));
22594 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22602 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22603 PyObject
*resultobj
;
22604 wxListItem
*arg1
= (wxListItem
*) 0 ;
22606 PyObject
* obj0
= 0 ;
22607 PyObject
* obj1
= 0 ;
22608 char *kwnames
[] = {
22609 (char *) "self",(char *) "m_mask", NULL
22612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22614 if (SWIG_arg_fail(1)) SWIG_fail
;
22616 arg2
= (long)(SWIG_As_long(obj1
));
22617 if (SWIG_arg_fail(2)) SWIG_fail
;
22619 if (arg1
) (arg1
)->m_mask
= arg2
;
22621 Py_INCREF(Py_None
); resultobj
= Py_None
;
22628 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22629 PyObject
*resultobj
;
22630 wxListItem
*arg1
= (wxListItem
*) 0 ;
22632 PyObject
* obj0
= 0 ;
22633 char *kwnames
[] = {
22634 (char *) "self", NULL
22637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
22638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22639 if (SWIG_arg_fail(1)) SWIG_fail
;
22640 result
= (long) ((arg1
)->m_mask
);
22643 resultobj
= SWIG_From_long((long)(result
));
22651 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22652 PyObject
*resultobj
;
22653 wxListItem
*arg1
= (wxListItem
*) 0 ;
22655 PyObject
* obj0
= 0 ;
22656 PyObject
* obj1
= 0 ;
22657 char *kwnames
[] = {
22658 (char *) "self",(char *) "m_itemId", NULL
22661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22663 if (SWIG_arg_fail(1)) SWIG_fail
;
22665 arg2
= (long)(SWIG_As_long(obj1
));
22666 if (SWIG_arg_fail(2)) SWIG_fail
;
22668 if (arg1
) (arg1
)->m_itemId
= arg2
;
22670 Py_INCREF(Py_None
); resultobj
= Py_None
;
22677 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22678 PyObject
*resultobj
;
22679 wxListItem
*arg1
= (wxListItem
*) 0 ;
22681 PyObject
* obj0
= 0 ;
22682 char *kwnames
[] = {
22683 (char *) "self", NULL
22686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
22687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22688 if (SWIG_arg_fail(1)) SWIG_fail
;
22689 result
= (long) ((arg1
)->m_itemId
);
22692 resultobj
= SWIG_From_long((long)(result
));
22700 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22701 PyObject
*resultobj
;
22702 wxListItem
*arg1
= (wxListItem
*) 0 ;
22704 PyObject
* obj0
= 0 ;
22705 PyObject
* obj1
= 0 ;
22706 char *kwnames
[] = {
22707 (char *) "self",(char *) "m_col", NULL
22710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22712 if (SWIG_arg_fail(1)) SWIG_fail
;
22714 arg2
= (int)(SWIG_As_int(obj1
));
22715 if (SWIG_arg_fail(2)) SWIG_fail
;
22717 if (arg1
) (arg1
)->m_col
= arg2
;
22719 Py_INCREF(Py_None
); resultobj
= Py_None
;
22726 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22727 PyObject
*resultobj
;
22728 wxListItem
*arg1
= (wxListItem
*) 0 ;
22730 PyObject
* obj0
= 0 ;
22731 char *kwnames
[] = {
22732 (char *) "self", NULL
22735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
22736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22737 if (SWIG_arg_fail(1)) SWIG_fail
;
22738 result
= (int) ((arg1
)->m_col
);
22741 resultobj
= SWIG_From_int((int)(result
));
22749 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22750 PyObject
*resultobj
;
22751 wxListItem
*arg1
= (wxListItem
*) 0 ;
22753 PyObject
* obj0
= 0 ;
22754 PyObject
* obj1
= 0 ;
22755 char *kwnames
[] = {
22756 (char *) "self",(char *) "m_state", NULL
22759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22761 if (SWIG_arg_fail(1)) SWIG_fail
;
22763 arg2
= (long)(SWIG_As_long(obj1
));
22764 if (SWIG_arg_fail(2)) SWIG_fail
;
22766 if (arg1
) (arg1
)->m_state
= arg2
;
22768 Py_INCREF(Py_None
); resultobj
= Py_None
;
22775 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22776 PyObject
*resultobj
;
22777 wxListItem
*arg1
= (wxListItem
*) 0 ;
22779 PyObject
* obj0
= 0 ;
22780 char *kwnames
[] = {
22781 (char *) "self", NULL
22784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
22785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22786 if (SWIG_arg_fail(1)) SWIG_fail
;
22787 result
= (long) ((arg1
)->m_state
);
22790 resultobj
= SWIG_From_long((long)(result
));
22798 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22799 PyObject
*resultobj
;
22800 wxListItem
*arg1
= (wxListItem
*) 0 ;
22802 PyObject
* obj0
= 0 ;
22803 PyObject
* obj1
= 0 ;
22804 char *kwnames
[] = {
22805 (char *) "self",(char *) "m_stateMask", NULL
22808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22810 if (SWIG_arg_fail(1)) SWIG_fail
;
22812 arg2
= (long)(SWIG_As_long(obj1
));
22813 if (SWIG_arg_fail(2)) SWIG_fail
;
22815 if (arg1
) (arg1
)->m_stateMask
= arg2
;
22817 Py_INCREF(Py_None
); resultobj
= Py_None
;
22824 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22825 PyObject
*resultobj
;
22826 wxListItem
*arg1
= (wxListItem
*) 0 ;
22828 PyObject
* obj0
= 0 ;
22829 char *kwnames
[] = {
22830 (char *) "self", NULL
22833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
22834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22835 if (SWIG_arg_fail(1)) SWIG_fail
;
22836 result
= (long) ((arg1
)->m_stateMask
);
22839 resultobj
= SWIG_From_long((long)(result
));
22847 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22848 PyObject
*resultobj
;
22849 wxListItem
*arg1
= (wxListItem
*) 0 ;
22850 wxString
*arg2
= (wxString
*) 0 ;
22851 bool temp2
= false ;
22852 PyObject
* obj0
= 0 ;
22853 PyObject
* obj1
= 0 ;
22854 char *kwnames
[] = {
22855 (char *) "self",(char *) "m_text", NULL
22858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22860 if (SWIG_arg_fail(1)) SWIG_fail
;
22862 arg2
= wxString_in_helper(obj1
);
22863 if (arg2
== NULL
) SWIG_fail
;
22866 if (arg1
) (arg1
)->m_text
= *arg2
;
22868 Py_INCREF(Py_None
); resultobj
= Py_None
;
22883 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22884 PyObject
*resultobj
;
22885 wxListItem
*arg1
= (wxListItem
*) 0 ;
22887 PyObject
* obj0
= 0 ;
22888 char *kwnames
[] = {
22889 (char *) "self", NULL
22892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
22893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22894 if (SWIG_arg_fail(1)) SWIG_fail
;
22895 result
= (wxString
*)& ((arg1
)->m_text
);
22899 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22901 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22910 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22911 PyObject
*resultobj
;
22912 wxListItem
*arg1
= (wxListItem
*) 0 ;
22914 PyObject
* obj0
= 0 ;
22915 PyObject
* obj1
= 0 ;
22916 char *kwnames
[] = {
22917 (char *) "self",(char *) "m_image", NULL
22920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22922 if (SWIG_arg_fail(1)) SWIG_fail
;
22924 arg2
= (int)(SWIG_As_int(obj1
));
22925 if (SWIG_arg_fail(2)) SWIG_fail
;
22927 if (arg1
) (arg1
)->m_image
= arg2
;
22929 Py_INCREF(Py_None
); resultobj
= Py_None
;
22936 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22937 PyObject
*resultobj
;
22938 wxListItem
*arg1
= (wxListItem
*) 0 ;
22940 PyObject
* obj0
= 0 ;
22941 char *kwnames
[] = {
22942 (char *) "self", NULL
22945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
22946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22947 if (SWIG_arg_fail(1)) SWIG_fail
;
22948 result
= (int) ((arg1
)->m_image
);
22951 resultobj
= SWIG_From_int((int)(result
));
22959 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22960 PyObject
*resultobj
;
22961 wxListItem
*arg1
= (wxListItem
*) 0 ;
22963 PyObject
* obj0
= 0 ;
22964 PyObject
* obj1
= 0 ;
22965 char *kwnames
[] = {
22966 (char *) "self",(char *) "m_data", NULL
22969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22971 if (SWIG_arg_fail(1)) SWIG_fail
;
22973 arg2
= (long)(SWIG_As_long(obj1
));
22974 if (SWIG_arg_fail(2)) SWIG_fail
;
22976 if (arg1
) (arg1
)->m_data
= arg2
;
22978 Py_INCREF(Py_None
); resultobj
= Py_None
;
22985 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22986 PyObject
*resultobj
;
22987 wxListItem
*arg1
= (wxListItem
*) 0 ;
22989 PyObject
* obj0
= 0 ;
22990 char *kwnames
[] = {
22991 (char *) "self", NULL
22994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
22995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22996 if (SWIG_arg_fail(1)) SWIG_fail
;
22997 result
= (long) ((arg1
)->m_data
);
23000 resultobj
= SWIG_From_long((long)(result
));
23008 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23009 PyObject
*resultobj
;
23010 wxListItem
*arg1
= (wxListItem
*) 0 ;
23012 PyObject
* obj0
= 0 ;
23013 PyObject
* obj1
= 0 ;
23014 char *kwnames
[] = {
23015 (char *) "self",(char *) "m_format", NULL
23018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23020 if (SWIG_arg_fail(1)) SWIG_fail
;
23022 arg2
= (int)(SWIG_As_int(obj1
));
23023 if (SWIG_arg_fail(2)) SWIG_fail
;
23025 if (arg1
) (arg1
)->m_format
= arg2
;
23027 Py_INCREF(Py_None
); resultobj
= Py_None
;
23034 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23035 PyObject
*resultobj
;
23036 wxListItem
*arg1
= (wxListItem
*) 0 ;
23038 PyObject
* obj0
= 0 ;
23039 char *kwnames
[] = {
23040 (char *) "self", NULL
23043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
23044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23045 if (SWIG_arg_fail(1)) SWIG_fail
;
23046 result
= (int) ((arg1
)->m_format
);
23049 resultobj
= SWIG_From_int((int)(result
));
23057 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23058 PyObject
*resultobj
;
23059 wxListItem
*arg1
= (wxListItem
*) 0 ;
23061 PyObject
* obj0
= 0 ;
23062 PyObject
* obj1
= 0 ;
23063 char *kwnames
[] = {
23064 (char *) "self",(char *) "m_width", NULL
23067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23069 if (SWIG_arg_fail(1)) SWIG_fail
;
23071 arg2
= (int)(SWIG_As_int(obj1
));
23072 if (SWIG_arg_fail(2)) SWIG_fail
;
23074 if (arg1
) (arg1
)->m_width
= arg2
;
23076 Py_INCREF(Py_None
); resultobj
= Py_None
;
23083 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23084 PyObject
*resultobj
;
23085 wxListItem
*arg1
= (wxListItem
*) 0 ;
23087 PyObject
* obj0
= 0 ;
23088 char *kwnames
[] = {
23089 (char *) "self", NULL
23092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
23093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23094 if (SWIG_arg_fail(1)) SWIG_fail
;
23095 result
= (int) ((arg1
)->m_width
);
23098 resultobj
= SWIG_From_int((int)(result
));
23106 static PyObject
* ListItem_swigregister(PyObject
*, PyObject
*args
) {
23108 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23109 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
23111 return Py_BuildValue((char *)"");
23113 static PyObject
*_wrap_new_ListEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23114 PyObject
*resultobj
;
23115 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23116 int arg2
= (int) 0 ;
23117 wxListEvent
*result
;
23118 PyObject
* obj0
= 0 ;
23119 PyObject
* obj1
= 0 ;
23120 char *kwnames
[] = {
23121 (char *) "commandType",(char *) "id", NULL
23124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23127 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
23128 if (SWIG_arg_fail(1)) SWIG_fail
;
23133 arg2
= (int)(SWIG_As_int(obj1
));
23134 if (SWIG_arg_fail(2)) SWIG_fail
;
23138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23139 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
23141 wxPyEndAllowThreads(__tstate
);
23142 if (PyErr_Occurred()) SWIG_fail
;
23144 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
23151 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23152 PyObject
*resultobj
;
23153 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23155 PyObject
* obj0
= 0 ;
23156 PyObject
* obj1
= 0 ;
23157 char *kwnames
[] = {
23158 (char *) "self",(char *) "m_code", NULL
23161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23163 if (SWIG_arg_fail(1)) SWIG_fail
;
23165 arg2
= (int)(SWIG_As_int(obj1
));
23166 if (SWIG_arg_fail(2)) SWIG_fail
;
23168 if (arg1
) (arg1
)->m_code
= arg2
;
23170 Py_INCREF(Py_None
); resultobj
= Py_None
;
23177 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23178 PyObject
*resultobj
;
23179 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23181 PyObject
* obj0
= 0 ;
23182 char *kwnames
[] = {
23183 (char *) "self", NULL
23186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
23187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23188 if (SWIG_arg_fail(1)) SWIG_fail
;
23189 result
= (int) ((arg1
)->m_code
);
23192 resultobj
= SWIG_From_int((int)(result
));
23200 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23201 PyObject
*resultobj
;
23202 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23204 PyObject
* obj0
= 0 ;
23205 PyObject
* obj1
= 0 ;
23206 char *kwnames
[] = {
23207 (char *) "self",(char *) "m_oldItemIndex", NULL
23210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23212 if (SWIG_arg_fail(1)) SWIG_fail
;
23214 arg2
= (long)(SWIG_As_long(obj1
));
23215 if (SWIG_arg_fail(2)) SWIG_fail
;
23217 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
23219 Py_INCREF(Py_None
); resultobj
= Py_None
;
23226 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23227 PyObject
*resultobj
;
23228 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23230 PyObject
* obj0
= 0 ;
23231 char *kwnames
[] = {
23232 (char *) "self", NULL
23235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
23236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23237 if (SWIG_arg_fail(1)) SWIG_fail
;
23238 result
= (long) ((arg1
)->m_oldItemIndex
);
23241 resultobj
= SWIG_From_long((long)(result
));
23249 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23250 PyObject
*resultobj
;
23251 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23253 PyObject
* obj0
= 0 ;
23254 PyObject
* obj1
= 0 ;
23255 char *kwnames
[] = {
23256 (char *) "self",(char *) "m_itemIndex", NULL
23259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23261 if (SWIG_arg_fail(1)) SWIG_fail
;
23263 arg2
= (long)(SWIG_As_long(obj1
));
23264 if (SWIG_arg_fail(2)) SWIG_fail
;
23266 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
23268 Py_INCREF(Py_None
); resultobj
= Py_None
;
23275 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23276 PyObject
*resultobj
;
23277 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23279 PyObject
* obj0
= 0 ;
23280 char *kwnames
[] = {
23281 (char *) "self", NULL
23284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
23285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23286 if (SWIG_arg_fail(1)) SWIG_fail
;
23287 result
= (long) ((arg1
)->m_itemIndex
);
23290 resultobj
= SWIG_From_long((long)(result
));
23298 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23299 PyObject
*resultobj
;
23300 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23302 PyObject
* obj0
= 0 ;
23303 PyObject
* obj1
= 0 ;
23304 char *kwnames
[] = {
23305 (char *) "self",(char *) "m_col", NULL
23308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23310 if (SWIG_arg_fail(1)) SWIG_fail
;
23312 arg2
= (int)(SWIG_As_int(obj1
));
23313 if (SWIG_arg_fail(2)) SWIG_fail
;
23315 if (arg1
) (arg1
)->m_col
= arg2
;
23317 Py_INCREF(Py_None
); resultobj
= Py_None
;
23324 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23325 PyObject
*resultobj
;
23326 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23328 PyObject
* obj0
= 0 ;
23329 char *kwnames
[] = {
23330 (char *) "self", NULL
23333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
23334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23335 if (SWIG_arg_fail(1)) SWIG_fail
;
23336 result
= (int) ((arg1
)->m_col
);
23339 resultobj
= SWIG_From_int((int)(result
));
23347 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23348 PyObject
*resultobj
;
23349 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23350 wxPoint
*arg2
= (wxPoint
*) 0 ;
23351 PyObject
* obj0
= 0 ;
23352 PyObject
* obj1
= 0 ;
23353 char *kwnames
[] = {
23354 (char *) "self",(char *) "m_pointDrag", NULL
23357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23359 if (SWIG_arg_fail(1)) SWIG_fail
;
23360 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
23361 if (SWIG_arg_fail(2)) SWIG_fail
;
23362 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
23364 Py_INCREF(Py_None
); resultobj
= Py_None
;
23371 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23372 PyObject
*resultobj
;
23373 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23375 PyObject
* obj0
= 0 ;
23376 char *kwnames
[] = {
23377 (char *) "self", NULL
23380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
23381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23382 if (SWIG_arg_fail(1)) SWIG_fail
;
23383 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
23385 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
23392 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23393 PyObject
*resultobj
;
23394 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23395 wxListItem
*result
;
23396 PyObject
* obj0
= 0 ;
23397 char *kwnames
[] = {
23398 (char *) "self", NULL
23401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
23402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23403 if (SWIG_arg_fail(1)) SWIG_fail
;
23404 result
= (wxListItem
*)& ((arg1
)->m_item
);
23407 resultobj
= wxPyMake_wxObject(result
, 0);
23415 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23416 PyObject
*resultobj
;
23417 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23419 PyObject
* obj0
= 0 ;
23420 char *kwnames
[] = {
23421 (char *) "self", NULL
23424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
23425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23426 if (SWIG_arg_fail(1)) SWIG_fail
;
23428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23429 result
= (int)(arg1
)->GetKeyCode();
23431 wxPyEndAllowThreads(__tstate
);
23432 if (PyErr_Occurred()) SWIG_fail
;
23435 resultobj
= SWIG_From_int((int)(result
));
23443 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23444 PyObject
*resultobj
;
23445 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23447 PyObject
* obj0
= 0 ;
23448 char *kwnames
[] = {
23449 (char *) "self", NULL
23452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
23453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23454 if (SWIG_arg_fail(1)) SWIG_fail
;
23456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23457 result
= (long)(arg1
)->GetIndex();
23459 wxPyEndAllowThreads(__tstate
);
23460 if (PyErr_Occurred()) SWIG_fail
;
23463 resultobj
= SWIG_From_long((long)(result
));
23471 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23472 PyObject
*resultobj
;
23473 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23475 PyObject
* obj0
= 0 ;
23476 char *kwnames
[] = {
23477 (char *) "self", NULL
23480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
23481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23482 if (SWIG_arg_fail(1)) SWIG_fail
;
23484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23485 result
= (int)(arg1
)->GetColumn();
23487 wxPyEndAllowThreads(__tstate
);
23488 if (PyErr_Occurred()) SWIG_fail
;
23491 resultobj
= SWIG_From_int((int)(result
));
23499 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23500 PyObject
*resultobj
;
23501 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23503 PyObject
* obj0
= 0 ;
23504 char *kwnames
[] = {
23505 (char *) "self", NULL
23508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
23509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23510 if (SWIG_arg_fail(1)) SWIG_fail
;
23512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23513 result
= (arg1
)->GetPoint();
23515 wxPyEndAllowThreads(__tstate
);
23516 if (PyErr_Occurred()) SWIG_fail
;
23519 wxPoint
* resultptr
;
23520 resultptr
= new wxPoint((wxPoint
&)(result
));
23521 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23529 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23530 PyObject
*resultobj
;
23531 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23533 PyObject
* obj0
= 0 ;
23534 char *kwnames
[] = {
23535 (char *) "self", NULL
23538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
23539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23540 if (SWIG_arg_fail(1)) SWIG_fail
;
23542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23544 wxString
const &_result_ref
= (arg1
)->GetLabel();
23545 result
= (wxString
*) &_result_ref
;
23548 wxPyEndAllowThreads(__tstate
);
23549 if (PyErr_Occurred()) SWIG_fail
;
23553 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23555 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23564 static PyObject
*_wrap_ListEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23565 PyObject
*resultobj
;
23566 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23568 PyObject
* obj0
= 0 ;
23569 char *kwnames
[] = {
23570 (char *) "self", NULL
23573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
23574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23575 if (SWIG_arg_fail(1)) SWIG_fail
;
23577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23579 wxString
const &_result_ref
= (arg1
)->GetText();
23580 result
= (wxString
*) &_result_ref
;
23583 wxPyEndAllowThreads(__tstate
);
23584 if (PyErr_Occurred()) SWIG_fail
;
23588 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23590 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23599 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23600 PyObject
*resultobj
;
23601 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23603 PyObject
* obj0
= 0 ;
23604 char *kwnames
[] = {
23605 (char *) "self", NULL
23608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
23609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23610 if (SWIG_arg_fail(1)) SWIG_fail
;
23612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23613 result
= (int)(arg1
)->GetImage();
23615 wxPyEndAllowThreads(__tstate
);
23616 if (PyErr_Occurred()) SWIG_fail
;
23619 resultobj
= SWIG_From_int((int)(result
));
23627 static PyObject
*_wrap_ListEvent_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23628 PyObject
*resultobj
;
23629 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23631 PyObject
* obj0
= 0 ;
23632 char *kwnames
[] = {
23633 (char *) "self", NULL
23636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
23637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23638 if (SWIG_arg_fail(1)) SWIG_fail
;
23640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23641 result
= (long)(arg1
)->GetData();
23643 wxPyEndAllowThreads(__tstate
);
23644 if (PyErr_Occurred()) SWIG_fail
;
23647 resultobj
= SWIG_From_long((long)(result
));
23655 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23656 PyObject
*resultobj
;
23657 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23659 PyObject
* obj0
= 0 ;
23660 char *kwnames
[] = {
23661 (char *) "self", NULL
23664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
23665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23666 if (SWIG_arg_fail(1)) SWIG_fail
;
23668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23669 result
= (long)(arg1
)->GetMask();
23671 wxPyEndAllowThreads(__tstate
);
23672 if (PyErr_Occurred()) SWIG_fail
;
23675 resultobj
= SWIG_From_long((long)(result
));
23683 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23684 PyObject
*resultobj
;
23685 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23686 wxListItem
*result
;
23687 PyObject
* obj0
= 0 ;
23688 char *kwnames
[] = {
23689 (char *) "self", NULL
23692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
23693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23694 if (SWIG_arg_fail(1)) SWIG_fail
;
23696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23698 wxListItem
const &_result_ref
= (arg1
)->GetItem();
23699 result
= (wxListItem
*) &_result_ref
;
23702 wxPyEndAllowThreads(__tstate
);
23703 if (PyErr_Occurred()) SWIG_fail
;
23705 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
23712 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23713 PyObject
*resultobj
;
23714 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23716 PyObject
* obj0
= 0 ;
23717 char *kwnames
[] = {
23718 (char *) "self", NULL
23721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
23722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23723 if (SWIG_arg_fail(1)) SWIG_fail
;
23725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23726 result
= (long)(arg1
)->GetCacheFrom();
23728 wxPyEndAllowThreads(__tstate
);
23729 if (PyErr_Occurred()) SWIG_fail
;
23732 resultobj
= SWIG_From_long((long)(result
));
23740 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23741 PyObject
*resultobj
;
23742 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23744 PyObject
* obj0
= 0 ;
23745 char *kwnames
[] = {
23746 (char *) "self", NULL
23749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
23750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23751 if (SWIG_arg_fail(1)) SWIG_fail
;
23753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23754 result
= (long)(arg1
)->GetCacheTo();
23756 wxPyEndAllowThreads(__tstate
);
23757 if (PyErr_Occurred()) SWIG_fail
;
23760 resultobj
= SWIG_From_long((long)(result
));
23768 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23769 PyObject
*resultobj
;
23770 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23772 PyObject
* obj0
= 0 ;
23773 char *kwnames
[] = {
23774 (char *) "self", NULL
23777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
23778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23779 if (SWIG_arg_fail(1)) SWIG_fail
;
23781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23782 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
23784 wxPyEndAllowThreads(__tstate
);
23785 if (PyErr_Occurred()) SWIG_fail
;
23788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23796 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23797 PyObject
*resultobj
;
23798 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23800 PyObject
* obj0
= 0 ;
23801 PyObject
* obj1
= 0 ;
23802 char *kwnames
[] = {
23803 (char *) "self",(char *) "editCancelled", NULL
23806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
23807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23808 if (SWIG_arg_fail(1)) SWIG_fail
;
23810 arg2
= (bool)(SWIG_As_bool(obj1
));
23811 if (SWIG_arg_fail(2)) SWIG_fail
;
23814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23815 (arg1
)->SetEditCanceled(arg2
);
23817 wxPyEndAllowThreads(__tstate
);
23818 if (PyErr_Occurred()) SWIG_fail
;
23820 Py_INCREF(Py_None
); resultobj
= Py_None
;
23827 static PyObject
* ListEvent_swigregister(PyObject
*, PyObject
*args
) {
23829 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23830 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
23832 return Py_BuildValue((char *)"");
23834 static PyObject
*_wrap_new_ListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23835 PyObject
*resultobj
;
23836 wxWindow
*arg1
= (wxWindow
*) 0 ;
23837 int arg2
= (int) -1 ;
23838 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23839 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23840 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23841 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23842 long arg5
= (long) wxLC_ICON
;
23843 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23844 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23845 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
23846 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23847 wxPyListCtrl
*result
;
23850 bool temp7
= false ;
23851 PyObject
* obj0
= 0 ;
23852 PyObject
* obj1
= 0 ;
23853 PyObject
* obj2
= 0 ;
23854 PyObject
* obj3
= 0 ;
23855 PyObject
* obj4
= 0 ;
23856 PyObject
* obj5
= 0 ;
23857 PyObject
* obj6
= 0 ;
23858 char *kwnames
[] = {
23859 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23864 if (SWIG_arg_fail(1)) SWIG_fail
;
23867 arg2
= (int)(SWIG_As_int(obj1
));
23868 if (SWIG_arg_fail(2)) SWIG_fail
;
23874 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23880 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23885 arg5
= (long)(SWIG_As_long(obj4
));
23886 if (SWIG_arg_fail(5)) SWIG_fail
;
23891 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
23892 if (SWIG_arg_fail(6)) SWIG_fail
;
23893 if (arg6
== NULL
) {
23894 SWIG_null_ref("wxValidator");
23896 if (SWIG_arg_fail(6)) SWIG_fail
;
23901 arg7
= wxString_in_helper(obj6
);
23902 if (arg7
== NULL
) SWIG_fail
;
23907 if (!wxPyCheckForApp()) SWIG_fail
;
23908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23909 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23911 wxPyEndAllowThreads(__tstate
);
23912 if (PyErr_Occurred()) SWIG_fail
;
23914 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
23929 static PyObject
*_wrap_new_PreListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23930 PyObject
*resultobj
;
23931 wxPyListCtrl
*result
;
23932 char *kwnames
[] = {
23936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
23938 if (!wxPyCheckForApp()) SWIG_fail
;
23939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23940 result
= (wxPyListCtrl
*)new wxPyListCtrl();
23942 wxPyEndAllowThreads(__tstate
);
23943 if (PyErr_Occurred()) SWIG_fail
;
23945 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
23952 static PyObject
*_wrap_ListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23953 PyObject
*resultobj
;
23954 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23955 wxWindow
*arg2
= (wxWindow
*) 0 ;
23956 int arg3
= (int) -1 ;
23957 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23958 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23959 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23960 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23961 long arg6
= (long) wxLC_ICON
;
23962 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23963 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23964 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
23965 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23969 bool temp8
= false ;
23970 PyObject
* obj0
= 0 ;
23971 PyObject
* obj1
= 0 ;
23972 PyObject
* obj2
= 0 ;
23973 PyObject
* obj3
= 0 ;
23974 PyObject
* obj4
= 0 ;
23975 PyObject
* obj5
= 0 ;
23976 PyObject
* obj6
= 0 ;
23977 PyObject
* obj7
= 0 ;
23978 char *kwnames
[] = {
23979 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
23984 if (SWIG_arg_fail(1)) SWIG_fail
;
23985 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23986 if (SWIG_arg_fail(2)) SWIG_fail
;
23989 arg3
= (int)(SWIG_As_int(obj2
));
23990 if (SWIG_arg_fail(3)) SWIG_fail
;
23996 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24002 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24007 arg6
= (long)(SWIG_As_long(obj5
));
24008 if (SWIG_arg_fail(6)) SWIG_fail
;
24013 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
24014 if (SWIG_arg_fail(7)) SWIG_fail
;
24015 if (arg7
== NULL
) {
24016 SWIG_null_ref("wxValidator");
24018 if (SWIG_arg_fail(7)) SWIG_fail
;
24023 arg8
= wxString_in_helper(obj7
);
24024 if (arg8
== NULL
) SWIG_fail
;
24029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24030 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
24032 wxPyEndAllowThreads(__tstate
);
24033 if (PyErr_Occurred()) SWIG_fail
;
24036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24052 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24053 PyObject
*resultobj
;
24054 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24055 PyObject
*arg2
= (PyObject
*) 0 ;
24056 PyObject
*arg3
= (PyObject
*) 0 ;
24057 PyObject
* obj0
= 0 ;
24058 PyObject
* obj1
= 0 ;
24059 PyObject
* obj2
= 0 ;
24060 char *kwnames
[] = {
24061 (char *) "self",(char *) "self",(char *) "_class", NULL
24064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24066 if (SWIG_arg_fail(1)) SWIG_fail
;
24070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24071 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24073 wxPyEndAllowThreads(__tstate
);
24074 if (PyErr_Occurred()) SWIG_fail
;
24076 Py_INCREF(Py_None
); resultobj
= Py_None
;
24083 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24084 PyObject
*resultobj
;
24085 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24086 wxColour
*arg2
= 0 ;
24089 PyObject
* obj0
= 0 ;
24090 PyObject
* obj1
= 0 ;
24091 char *kwnames
[] = {
24092 (char *) "self",(char *) "col", NULL
24095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24097 if (SWIG_arg_fail(1)) SWIG_fail
;
24100 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24104 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
24106 wxPyEndAllowThreads(__tstate
);
24107 if (PyErr_Occurred()) SWIG_fail
;
24110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24118 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24119 PyObject
*resultobj
;
24120 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24121 wxColour
*arg2
= 0 ;
24124 PyObject
* obj0
= 0 ;
24125 PyObject
* obj1
= 0 ;
24126 char *kwnames
[] = {
24127 (char *) "self",(char *) "col", NULL
24130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24132 if (SWIG_arg_fail(1)) SWIG_fail
;
24135 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24139 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
24141 wxPyEndAllowThreads(__tstate
);
24142 if (PyErr_Occurred()) SWIG_fail
;
24145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24153 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24154 PyObject
*resultobj
;
24155 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24157 wxListItem
*result
;
24158 PyObject
* obj0
= 0 ;
24159 PyObject
* obj1
= 0 ;
24160 char *kwnames
[] = {
24161 (char *) "self",(char *) "col", NULL
24164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
24165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24166 if (SWIG_arg_fail(1)) SWIG_fail
;
24168 arg2
= (int)(SWIG_As_int(obj1
));
24169 if (SWIG_arg_fail(2)) SWIG_fail
;
24172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24173 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
24175 wxPyEndAllowThreads(__tstate
);
24176 if (PyErr_Occurred()) SWIG_fail
;
24179 resultobj
= wxPyMake_wxObject(result
, 0);
24187 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24188 PyObject
*resultobj
;
24189 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24191 wxListItem
*arg3
= 0 ;
24193 PyObject
* obj0
= 0 ;
24194 PyObject
* obj1
= 0 ;
24195 PyObject
* obj2
= 0 ;
24196 char *kwnames
[] = {
24197 (char *) "self",(char *) "col",(char *) "item", NULL
24200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24202 if (SWIG_arg_fail(1)) SWIG_fail
;
24204 arg2
= (int)(SWIG_As_int(obj1
));
24205 if (SWIG_arg_fail(2)) SWIG_fail
;
24208 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24209 if (SWIG_arg_fail(3)) SWIG_fail
;
24210 if (arg3
== NULL
) {
24211 SWIG_null_ref("wxListItem");
24213 if (SWIG_arg_fail(3)) SWIG_fail
;
24216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24217 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
24219 wxPyEndAllowThreads(__tstate
);
24220 if (PyErr_Occurred()) SWIG_fail
;
24223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24231 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24232 PyObject
*resultobj
;
24233 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24236 PyObject
* obj0
= 0 ;
24237 PyObject
* obj1
= 0 ;
24238 char *kwnames
[] = {
24239 (char *) "self",(char *) "col", NULL
24242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
24243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24244 if (SWIG_arg_fail(1)) SWIG_fail
;
24246 arg2
= (int)(SWIG_As_int(obj1
));
24247 if (SWIG_arg_fail(2)) SWIG_fail
;
24250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24251 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
24253 wxPyEndAllowThreads(__tstate
);
24254 if (PyErr_Occurred()) SWIG_fail
;
24257 resultobj
= SWIG_From_int((int)(result
));
24265 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24266 PyObject
*resultobj
;
24267 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24271 PyObject
* obj0
= 0 ;
24272 PyObject
* obj1
= 0 ;
24273 PyObject
* obj2
= 0 ;
24274 char *kwnames
[] = {
24275 (char *) "self",(char *) "col",(char *) "width", NULL
24278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24280 if (SWIG_arg_fail(1)) SWIG_fail
;
24282 arg2
= (int)(SWIG_As_int(obj1
));
24283 if (SWIG_arg_fail(2)) SWIG_fail
;
24286 arg3
= (int)(SWIG_As_int(obj2
));
24287 if (SWIG_arg_fail(3)) SWIG_fail
;
24290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24291 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
24293 wxPyEndAllowThreads(__tstate
);
24294 if (PyErr_Occurred()) SWIG_fail
;
24297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24305 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24306 PyObject
*resultobj
;
24307 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24309 PyObject
* obj0
= 0 ;
24310 char *kwnames
[] = {
24311 (char *) "self", NULL
24314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
24315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24316 if (SWIG_arg_fail(1)) SWIG_fail
;
24318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24319 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
24321 wxPyEndAllowThreads(__tstate
);
24322 if (PyErr_Occurred()) SWIG_fail
;
24325 resultobj
= SWIG_From_int((int)(result
));
24333 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24334 PyObject
*resultobj
;
24335 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24337 PyObject
* obj0
= 0 ;
24338 char *kwnames
[] = {
24339 (char *) "self", NULL
24342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
24343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24344 if (SWIG_arg_fail(1)) SWIG_fail
;
24346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24347 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
24349 wxPyEndAllowThreads(__tstate
);
24350 if (PyErr_Occurred()) SWIG_fail
;
24353 wxRect
* resultptr
;
24354 resultptr
= new wxRect((wxRect
&)(result
));
24355 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
24363 static PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24364 PyObject
*resultobj
;
24365 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24366 wxTextCtrl
*result
;
24367 PyObject
* obj0
= 0 ;
24368 char *kwnames
[] = {
24369 (char *) "self", NULL
24372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
24373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24374 if (SWIG_arg_fail(1)) SWIG_fail
;
24376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24377 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
24379 wxPyEndAllowThreads(__tstate
);
24380 if (PyErr_Occurred()) SWIG_fail
;
24383 resultobj
= wxPyMake_wxObject(result
, 0);
24391 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24392 PyObject
*resultobj
;
24393 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24395 int arg3
= (int) 0 ;
24396 wxListItem
*result
;
24397 PyObject
* obj0
= 0 ;
24398 PyObject
* obj1
= 0 ;
24399 PyObject
* obj2
= 0 ;
24400 char *kwnames
[] = {
24401 (char *) "self",(char *) "itemId",(char *) "col", NULL
24404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24406 if (SWIG_arg_fail(1)) SWIG_fail
;
24408 arg2
= (long)(SWIG_As_long(obj1
));
24409 if (SWIG_arg_fail(2)) SWIG_fail
;
24413 arg3
= (int)(SWIG_As_int(obj2
));
24414 if (SWIG_arg_fail(3)) SWIG_fail
;
24418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24419 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
24421 wxPyEndAllowThreads(__tstate
);
24422 if (PyErr_Occurred()) SWIG_fail
;
24425 resultobj
= wxPyMake_wxObject(result
, 0);
24433 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24434 PyObject
*resultobj
;
24435 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24436 wxListItem
*arg2
= 0 ;
24438 PyObject
* obj0
= 0 ;
24439 PyObject
* obj1
= 0 ;
24440 char *kwnames
[] = {
24441 (char *) "self",(char *) "info", NULL
24444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24446 if (SWIG_arg_fail(1)) SWIG_fail
;
24448 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24449 if (SWIG_arg_fail(2)) SWIG_fail
;
24450 if (arg2
== NULL
) {
24451 SWIG_null_ref("wxListItem");
24453 if (SWIG_arg_fail(2)) SWIG_fail
;
24456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24457 result
= (bool)(arg1
)->SetItem(*arg2
);
24459 wxPyEndAllowThreads(__tstate
);
24460 if (PyErr_Occurred()) SWIG_fail
;
24463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24471 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24472 PyObject
*resultobj
;
24473 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24476 wxString
*arg4
= 0 ;
24477 int arg5
= (int) -1 ;
24479 bool temp4
= false ;
24480 PyObject
* obj0
= 0 ;
24481 PyObject
* obj1
= 0 ;
24482 PyObject
* obj2
= 0 ;
24483 PyObject
* obj3
= 0 ;
24484 PyObject
* obj4
= 0 ;
24485 char *kwnames
[] = {
24486 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
24489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24491 if (SWIG_arg_fail(1)) SWIG_fail
;
24493 arg2
= (long)(SWIG_As_long(obj1
));
24494 if (SWIG_arg_fail(2)) SWIG_fail
;
24497 arg3
= (int)(SWIG_As_int(obj2
));
24498 if (SWIG_arg_fail(3)) SWIG_fail
;
24501 arg4
= wxString_in_helper(obj3
);
24502 if (arg4
== NULL
) SWIG_fail
;
24507 arg5
= (int)(SWIG_As_int(obj4
));
24508 if (SWIG_arg_fail(5)) SWIG_fail
;
24512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24513 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
24515 wxPyEndAllowThreads(__tstate
);
24516 if (PyErr_Occurred()) SWIG_fail
;
24519 resultobj
= SWIG_From_long((long)(result
));
24535 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24536 PyObject
*resultobj
;
24537 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24541 PyObject
* obj0
= 0 ;
24542 PyObject
* obj1
= 0 ;
24543 PyObject
* obj2
= 0 ;
24544 char *kwnames
[] = {
24545 (char *) "self",(char *) "item",(char *) "stateMask", NULL
24548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24550 if (SWIG_arg_fail(1)) SWIG_fail
;
24552 arg2
= (long)(SWIG_As_long(obj1
));
24553 if (SWIG_arg_fail(2)) SWIG_fail
;
24556 arg3
= (long)(SWIG_As_long(obj2
));
24557 if (SWIG_arg_fail(3)) SWIG_fail
;
24560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24561 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
24563 wxPyEndAllowThreads(__tstate
);
24564 if (PyErr_Occurred()) SWIG_fail
;
24567 resultobj
= SWIG_From_int((int)(result
));
24575 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24576 PyObject
*resultobj
;
24577 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24582 PyObject
* obj0
= 0 ;
24583 PyObject
* obj1
= 0 ;
24584 PyObject
* obj2
= 0 ;
24585 PyObject
* obj3
= 0 ;
24586 char *kwnames
[] = {
24587 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
24590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24592 if (SWIG_arg_fail(1)) SWIG_fail
;
24594 arg2
= (long)(SWIG_As_long(obj1
));
24595 if (SWIG_arg_fail(2)) SWIG_fail
;
24598 arg3
= (long)(SWIG_As_long(obj2
));
24599 if (SWIG_arg_fail(3)) SWIG_fail
;
24602 arg4
= (long)(SWIG_As_long(obj3
));
24603 if (SWIG_arg_fail(4)) SWIG_fail
;
24606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24607 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
24609 wxPyEndAllowThreads(__tstate
);
24610 if (PyErr_Occurred()) SWIG_fail
;
24613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24621 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24622 PyObject
*resultobj
;
24623 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24626 int arg4
= (int) -1 ;
24628 PyObject
* obj0
= 0 ;
24629 PyObject
* obj1
= 0 ;
24630 PyObject
* obj2
= 0 ;
24631 PyObject
* obj3
= 0 ;
24632 char *kwnames
[] = {
24633 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
24636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24638 if (SWIG_arg_fail(1)) SWIG_fail
;
24640 arg2
= (long)(SWIG_As_long(obj1
));
24641 if (SWIG_arg_fail(2)) SWIG_fail
;
24644 arg3
= (int)(SWIG_As_int(obj2
));
24645 if (SWIG_arg_fail(3)) SWIG_fail
;
24649 arg4
= (int)(SWIG_As_int(obj3
));
24650 if (SWIG_arg_fail(4)) SWIG_fail
;
24654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24655 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
24657 wxPyEndAllowThreads(__tstate
);
24658 if (PyErr_Occurred()) SWIG_fail
;
24661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24669 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24670 PyObject
*resultobj
;
24671 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24674 PyObject
* obj0
= 0 ;
24675 PyObject
* obj1
= 0 ;
24676 char *kwnames
[] = {
24677 (char *) "self",(char *) "item", NULL
24680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
24681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24682 if (SWIG_arg_fail(1)) SWIG_fail
;
24684 arg2
= (long)(SWIG_As_long(obj1
));
24685 if (SWIG_arg_fail(2)) SWIG_fail
;
24688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24689 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
24691 wxPyEndAllowThreads(__tstate
);
24692 if (PyErr_Occurred()) SWIG_fail
;
24696 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24698 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24707 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24708 PyObject
*resultobj
;
24709 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24711 wxString
*arg3
= 0 ;
24712 bool temp3
= false ;
24713 PyObject
* obj0
= 0 ;
24714 PyObject
* obj1
= 0 ;
24715 PyObject
* obj2
= 0 ;
24716 char *kwnames
[] = {
24717 (char *) "self",(char *) "item",(char *) "str", NULL
24720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24722 if (SWIG_arg_fail(1)) SWIG_fail
;
24724 arg2
= (long)(SWIG_As_long(obj1
));
24725 if (SWIG_arg_fail(2)) SWIG_fail
;
24728 arg3
= wxString_in_helper(obj2
);
24729 if (arg3
== NULL
) SWIG_fail
;
24733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24734 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
24736 wxPyEndAllowThreads(__tstate
);
24737 if (PyErr_Occurred()) SWIG_fail
;
24739 Py_INCREF(Py_None
); resultobj
= Py_None
;
24754 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24755 PyObject
*resultobj
;
24756 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24759 PyObject
* obj0
= 0 ;
24760 PyObject
* obj1
= 0 ;
24761 char *kwnames
[] = {
24762 (char *) "self",(char *) "item", NULL
24765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
24766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24767 if (SWIG_arg_fail(1)) SWIG_fail
;
24769 arg2
= (long)(SWIG_As_long(obj1
));
24770 if (SWIG_arg_fail(2)) SWIG_fail
;
24773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24774 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
24776 wxPyEndAllowThreads(__tstate
);
24777 if (PyErr_Occurred()) SWIG_fail
;
24780 resultobj
= SWIG_From_long((long)(result
));
24788 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24789 PyObject
*resultobj
;
24790 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24794 PyObject
* obj0
= 0 ;
24795 PyObject
* obj1
= 0 ;
24796 PyObject
* obj2
= 0 ;
24797 char *kwnames
[] = {
24798 (char *) "self",(char *) "item",(char *) "data", NULL
24801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24803 if (SWIG_arg_fail(1)) SWIG_fail
;
24805 arg2
= (long)(SWIG_As_long(obj1
));
24806 if (SWIG_arg_fail(2)) SWIG_fail
;
24809 arg3
= (long)(SWIG_As_long(obj2
));
24810 if (SWIG_arg_fail(3)) SWIG_fail
;
24813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24814 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
24816 wxPyEndAllowThreads(__tstate
);
24817 if (PyErr_Occurred()) SWIG_fail
;
24820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24828 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24829 PyObject
*resultobj
;
24830 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24833 PyObject
* obj0
= 0 ;
24834 PyObject
* obj1
= 0 ;
24835 char *kwnames
[] = {
24836 (char *) "self",(char *) "item", NULL
24839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
24840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24841 if (SWIG_arg_fail(1)) SWIG_fail
;
24843 arg2
= (long)(SWIG_As_long(obj1
));
24844 if (SWIG_arg_fail(2)) SWIG_fail
;
24847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24848 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
24850 wxPyEndAllowThreads(__tstate
);
24851 if (PyErr_Occurred()) SWIG_fail
;
24854 wxPoint
* resultptr
;
24855 resultptr
= new wxPoint((wxPoint
&)(result
));
24856 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24864 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24865 PyObject
*resultobj
;
24866 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24868 int arg3
= (int) wxLIST_RECT_BOUNDS
;
24870 PyObject
* obj0
= 0 ;
24871 PyObject
* obj1
= 0 ;
24872 PyObject
* obj2
= 0 ;
24873 char *kwnames
[] = {
24874 (char *) "self",(char *) "item",(char *) "code", NULL
24877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24879 if (SWIG_arg_fail(1)) SWIG_fail
;
24881 arg2
= (long)(SWIG_As_long(obj1
));
24882 if (SWIG_arg_fail(2)) SWIG_fail
;
24886 arg3
= (int)(SWIG_As_int(obj2
));
24887 if (SWIG_arg_fail(3)) SWIG_fail
;
24891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24892 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
24894 wxPyEndAllowThreads(__tstate
);
24895 if (PyErr_Occurred()) SWIG_fail
;
24898 wxRect
* resultptr
;
24899 resultptr
= new wxRect((wxRect
&)(result
));
24900 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
24908 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24909 PyObject
*resultobj
;
24910 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24912 wxPoint
*arg3
= 0 ;
24915 PyObject
* obj0
= 0 ;
24916 PyObject
* obj1
= 0 ;
24917 PyObject
* obj2
= 0 ;
24918 char *kwnames
[] = {
24919 (char *) "self",(char *) "item",(char *) "pos", NULL
24922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24924 if (SWIG_arg_fail(1)) SWIG_fail
;
24926 arg2
= (long)(SWIG_As_long(obj1
));
24927 if (SWIG_arg_fail(2)) SWIG_fail
;
24931 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24935 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
24937 wxPyEndAllowThreads(__tstate
);
24938 if (PyErr_Occurred()) SWIG_fail
;
24941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24949 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24950 PyObject
*resultobj
;
24951 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24953 PyObject
* obj0
= 0 ;
24954 char *kwnames
[] = {
24955 (char *) "self", NULL
24958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
24959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24960 if (SWIG_arg_fail(1)) SWIG_fail
;
24962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24963 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
24965 wxPyEndAllowThreads(__tstate
);
24966 if (PyErr_Occurred()) SWIG_fail
;
24969 resultobj
= SWIG_From_int((int)(result
));
24977 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24978 PyObject
*resultobj
;
24979 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24981 PyObject
* obj0
= 0 ;
24982 char *kwnames
[] = {
24983 (char *) "self", NULL
24986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
24987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24988 if (SWIG_arg_fail(1)) SWIG_fail
;
24990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24991 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
24993 wxPyEndAllowThreads(__tstate
);
24994 if (PyErr_Occurred()) SWIG_fail
;
24997 resultobj
= SWIG_From_int((int)(result
));
25005 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25006 PyObject
*resultobj
;
25007 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25009 PyObject
* obj0
= 0 ;
25010 char *kwnames
[] = {
25011 (char *) "self", NULL
25014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
25015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25016 if (SWIG_arg_fail(1)) SWIG_fail
;
25018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25019 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
25021 wxPyEndAllowThreads(__tstate
);
25022 if (PyErr_Occurred()) SWIG_fail
;
25025 wxSize
* resultptr
;
25026 resultptr
= new wxSize((wxSize
&)(result
));
25027 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25035 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25036 PyObject
*resultobj
;
25037 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25039 PyObject
* obj0
= 0 ;
25040 char *kwnames
[] = {
25041 (char *) "self", NULL
25044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
25045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25046 if (SWIG_arg_fail(1)) SWIG_fail
;
25048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25049 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
25051 wxPyEndAllowThreads(__tstate
);
25052 if (PyErr_Occurred()) SWIG_fail
;
25055 resultobj
= SWIG_From_int((int)(result
));
25063 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25064 PyObject
*resultobj
;
25065 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25067 PyObject
* obj0
= 0 ;
25068 char *kwnames
[] = {
25069 (char *) "self", NULL
25072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
25073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25074 if (SWIG_arg_fail(1)) SWIG_fail
;
25076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25077 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
25079 wxPyEndAllowThreads(__tstate
);
25080 if (PyErr_Occurred()) SWIG_fail
;
25083 wxColour
* resultptr
;
25084 resultptr
= new wxColour((wxColour
&)(result
));
25085 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25093 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25094 PyObject
*resultobj
;
25095 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25096 wxColour
*arg2
= 0 ;
25098 PyObject
* obj0
= 0 ;
25099 PyObject
* obj1
= 0 ;
25100 char *kwnames
[] = {
25101 (char *) "self",(char *) "col", NULL
25104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25106 if (SWIG_arg_fail(1)) SWIG_fail
;
25109 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25113 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
25115 wxPyEndAllowThreads(__tstate
);
25116 if (PyErr_Occurred()) SWIG_fail
;
25118 Py_INCREF(Py_None
); resultobj
= Py_None
;
25125 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25126 PyObject
*resultobj
;
25127 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25129 PyObject
* obj0
= 0 ;
25130 char *kwnames
[] = {
25131 (char *) "self", NULL
25134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
25135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25136 if (SWIG_arg_fail(1)) SWIG_fail
;
25138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25139 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
25141 wxPyEndAllowThreads(__tstate
);
25142 if (PyErr_Occurred()) SWIG_fail
;
25145 resultobj
= SWIG_From_long((long)(result
));
25153 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25154 PyObject
*resultobj
;
25155 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25157 bool arg3
= (bool) true ;
25158 PyObject
* obj0
= 0 ;
25159 PyObject
* obj1
= 0 ;
25160 PyObject
* obj2
= 0 ;
25161 char *kwnames
[] = {
25162 (char *) "self",(char *) "style",(char *) "add", NULL
25165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25167 if (SWIG_arg_fail(1)) SWIG_fail
;
25169 arg2
= (long)(SWIG_As_long(obj1
));
25170 if (SWIG_arg_fail(2)) SWIG_fail
;
25174 arg3
= (bool)(SWIG_As_bool(obj2
));
25175 if (SWIG_arg_fail(3)) SWIG_fail
;
25179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25180 (arg1
)->SetSingleStyle(arg2
,arg3
);
25182 wxPyEndAllowThreads(__tstate
);
25183 if (PyErr_Occurred()) SWIG_fail
;
25185 Py_INCREF(Py_None
); resultobj
= Py_None
;
25192 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25193 PyObject
*resultobj
;
25194 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25196 PyObject
* obj0
= 0 ;
25197 PyObject
* obj1
= 0 ;
25198 char *kwnames
[] = {
25199 (char *) "self",(char *) "style", NULL
25202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
25203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25204 if (SWIG_arg_fail(1)) SWIG_fail
;
25206 arg2
= (long)(SWIG_As_long(obj1
));
25207 if (SWIG_arg_fail(2)) SWIG_fail
;
25210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25211 (arg1
)->SetWindowStyleFlag(arg2
);
25213 wxPyEndAllowThreads(__tstate
);
25214 if (PyErr_Occurred()) SWIG_fail
;
25216 Py_INCREF(Py_None
); resultobj
= Py_None
;
25223 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25224 PyObject
*resultobj
;
25225 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25227 int arg3
= (int) wxLIST_NEXT_ALL
;
25228 int arg4
= (int) wxLIST_STATE_DONTCARE
;
25230 PyObject
* obj0
= 0 ;
25231 PyObject
* obj1
= 0 ;
25232 PyObject
* obj2
= 0 ;
25233 PyObject
* obj3
= 0 ;
25234 char *kwnames
[] = {
25235 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
25238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25240 if (SWIG_arg_fail(1)) SWIG_fail
;
25242 arg2
= (long)(SWIG_As_long(obj1
));
25243 if (SWIG_arg_fail(2)) SWIG_fail
;
25247 arg3
= (int)(SWIG_As_int(obj2
));
25248 if (SWIG_arg_fail(3)) SWIG_fail
;
25253 arg4
= (int)(SWIG_As_int(obj3
));
25254 if (SWIG_arg_fail(4)) SWIG_fail
;
25258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25259 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
25261 wxPyEndAllowThreads(__tstate
);
25262 if (PyErr_Occurred()) SWIG_fail
;
25265 resultobj
= SWIG_From_long((long)(result
));
25273 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25274 PyObject
*resultobj
;
25275 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25277 wxImageList
*result
;
25278 PyObject
* obj0
= 0 ;
25279 PyObject
* obj1
= 0 ;
25280 char *kwnames
[] = {
25281 (char *) "self",(char *) "which", NULL
25284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25286 if (SWIG_arg_fail(1)) SWIG_fail
;
25288 arg2
= (int)(SWIG_As_int(obj1
));
25289 if (SWIG_arg_fail(2)) SWIG_fail
;
25292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25293 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
25295 wxPyEndAllowThreads(__tstate
);
25296 if (PyErr_Occurred()) SWIG_fail
;
25299 resultobj
= wxPyMake_wxObject(result
, 0);
25307 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25308 PyObject
*resultobj
;
25309 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25310 wxImageList
*arg2
= (wxImageList
*) 0 ;
25312 PyObject
* obj0
= 0 ;
25313 PyObject
* obj1
= 0 ;
25314 PyObject
* obj2
= 0 ;
25315 char *kwnames
[] = {
25316 (char *) "self",(char *) "imageList",(char *) "which", NULL
25319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25321 if (SWIG_arg_fail(1)) SWIG_fail
;
25322 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
25323 if (SWIG_arg_fail(2)) SWIG_fail
;
25325 arg3
= (int)(SWIG_As_int(obj2
));
25326 if (SWIG_arg_fail(3)) SWIG_fail
;
25329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25330 (arg1
)->SetImageList(arg2
,arg3
);
25332 wxPyEndAllowThreads(__tstate
);
25333 if (PyErr_Occurred()) SWIG_fail
;
25335 Py_INCREF(Py_None
); resultobj
= Py_None
;
25342 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25343 PyObject
*resultobj
;
25344 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25345 wxImageList
*arg2
= (wxImageList
*) 0 ;
25347 PyObject
* obj0
= 0 ;
25348 PyObject
* obj1
= 0 ;
25349 PyObject
* obj2
= 0 ;
25350 char *kwnames
[] = {
25351 (char *) "self",(char *) "imageList",(char *) "which", NULL
25354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25356 if (SWIG_arg_fail(1)) SWIG_fail
;
25357 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25358 if (SWIG_arg_fail(2)) SWIG_fail
;
25360 arg3
= (int)(SWIG_As_int(obj2
));
25361 if (SWIG_arg_fail(3)) SWIG_fail
;
25364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25365 (arg1
)->AssignImageList(arg2
,arg3
);
25367 wxPyEndAllowThreads(__tstate
);
25368 if (PyErr_Occurred()) SWIG_fail
;
25370 Py_INCREF(Py_None
); resultobj
= Py_None
;
25377 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25378 PyObject
*resultobj
;
25379 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25381 PyObject
* obj0
= 0 ;
25382 char *kwnames
[] = {
25383 (char *) "self", NULL
25386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
25387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25388 if (SWIG_arg_fail(1)) SWIG_fail
;
25390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25391 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
25393 wxPyEndAllowThreads(__tstate
);
25394 if (PyErr_Occurred()) SWIG_fail
;
25397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25405 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25406 PyObject
*resultobj
;
25407 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25409 PyObject
* obj0
= 0 ;
25410 char *kwnames
[] = {
25411 (char *) "self", NULL
25414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
25415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25416 if (SWIG_arg_fail(1)) SWIG_fail
;
25418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25419 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
25421 wxPyEndAllowThreads(__tstate
);
25422 if (PyErr_Occurred()) SWIG_fail
;
25425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25433 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25434 PyObject
*resultobj
;
25435 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25437 PyObject
* obj0
= 0 ;
25438 PyObject
* obj1
= 0 ;
25439 char *kwnames
[] = {
25440 (char *) "self",(char *) "item", NULL
25443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25445 if (SWIG_arg_fail(1)) SWIG_fail
;
25447 arg2
= (long)(SWIG_As_long(obj1
));
25448 if (SWIG_arg_fail(2)) SWIG_fail
;
25451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25452 (arg1
)->RefreshItem(arg2
);
25454 wxPyEndAllowThreads(__tstate
);
25455 if (PyErr_Occurred()) SWIG_fail
;
25457 Py_INCREF(Py_None
); resultobj
= Py_None
;
25464 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25465 PyObject
*resultobj
;
25466 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25469 PyObject
* obj0
= 0 ;
25470 PyObject
* obj1
= 0 ;
25471 PyObject
* obj2
= 0 ;
25472 char *kwnames
[] = {
25473 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
25476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25478 if (SWIG_arg_fail(1)) SWIG_fail
;
25480 arg2
= (long)(SWIG_As_long(obj1
));
25481 if (SWIG_arg_fail(2)) SWIG_fail
;
25484 arg3
= (long)(SWIG_As_long(obj2
));
25485 if (SWIG_arg_fail(3)) SWIG_fail
;
25488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25489 (arg1
)->RefreshItems(arg2
,arg3
);
25491 wxPyEndAllowThreads(__tstate
);
25492 if (PyErr_Occurred()) SWIG_fail
;
25494 Py_INCREF(Py_None
); resultobj
= Py_None
;
25501 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25502 PyObject
*resultobj
;
25503 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25504 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
25506 PyObject
* obj0
= 0 ;
25507 PyObject
* obj1
= 0 ;
25508 char *kwnames
[] = {
25509 (char *) "self",(char *) "flag", NULL
25512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
25513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25514 if (SWIG_arg_fail(1)) SWIG_fail
;
25517 arg2
= (int)(SWIG_As_int(obj1
));
25518 if (SWIG_arg_fail(2)) SWIG_fail
;
25522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25523 result
= (bool)(arg1
)->Arrange(arg2
);
25525 wxPyEndAllowThreads(__tstate
);
25526 if (PyErr_Occurred()) SWIG_fail
;
25529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25537 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25538 PyObject
*resultobj
;
25539 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25542 PyObject
* obj0
= 0 ;
25543 PyObject
* obj1
= 0 ;
25544 char *kwnames
[] = {
25545 (char *) "self",(char *) "item", NULL
25548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25550 if (SWIG_arg_fail(1)) SWIG_fail
;
25552 arg2
= (long)(SWIG_As_long(obj1
));
25553 if (SWIG_arg_fail(2)) SWIG_fail
;
25556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25557 result
= (bool)(arg1
)->DeleteItem(arg2
);
25559 wxPyEndAllowThreads(__tstate
);
25560 if (PyErr_Occurred()) SWIG_fail
;
25563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25571 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25572 PyObject
*resultobj
;
25573 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25575 PyObject
* obj0
= 0 ;
25576 char *kwnames
[] = {
25577 (char *) "self", NULL
25580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
25581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25582 if (SWIG_arg_fail(1)) SWIG_fail
;
25584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25585 result
= (bool)(arg1
)->DeleteAllItems();
25587 wxPyEndAllowThreads(__tstate
);
25588 if (PyErr_Occurred()) SWIG_fail
;
25591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25599 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25600 PyObject
*resultobj
;
25601 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25604 PyObject
* obj0
= 0 ;
25605 PyObject
* obj1
= 0 ;
25606 char *kwnames
[] = {
25607 (char *) "self",(char *) "col", NULL
25610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
25611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25612 if (SWIG_arg_fail(1)) SWIG_fail
;
25614 arg2
= (int)(SWIG_As_int(obj1
));
25615 if (SWIG_arg_fail(2)) SWIG_fail
;
25618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25619 result
= (bool)(arg1
)->DeleteColumn(arg2
);
25621 wxPyEndAllowThreads(__tstate
);
25622 if (PyErr_Occurred()) SWIG_fail
;
25625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25633 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25634 PyObject
*resultobj
;
25635 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25637 PyObject
* obj0
= 0 ;
25638 char *kwnames
[] = {
25639 (char *) "self", NULL
25642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
25643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25644 if (SWIG_arg_fail(1)) SWIG_fail
;
25646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25647 result
= (bool)(arg1
)->DeleteAllColumns();
25649 wxPyEndAllowThreads(__tstate
);
25650 if (PyErr_Occurred()) SWIG_fail
;
25653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25661 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25662 PyObject
*resultobj
;
25663 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25664 PyObject
* obj0
= 0 ;
25665 char *kwnames
[] = {
25666 (char *) "self", NULL
25669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
25670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25671 if (SWIG_arg_fail(1)) SWIG_fail
;
25673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25674 (arg1
)->ClearAll();
25676 wxPyEndAllowThreads(__tstate
);
25677 if (PyErr_Occurred()) SWIG_fail
;
25679 Py_INCREF(Py_None
); resultobj
= Py_None
;
25686 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25687 PyObject
*resultobj
;
25688 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25690 wxTextCtrl
*result
;
25691 PyObject
* obj0
= 0 ;
25692 PyObject
* obj1
= 0 ;
25693 char *kwnames
[] = {
25694 (char *) "self",(char *) "item", NULL
25697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25699 if (SWIG_arg_fail(1)) SWIG_fail
;
25701 arg2
= (long)(SWIG_As_long(obj1
));
25702 if (SWIG_arg_fail(2)) SWIG_fail
;
25705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25706 result
= (wxTextCtrl
*)(arg1
)->EditLabel(arg2
);
25708 wxPyEndAllowThreads(__tstate
);
25709 if (PyErr_Occurred()) SWIG_fail
;
25712 resultobj
= wxPyMake_wxObject(result
, 0);
25720 static PyObject
*_wrap_ListCtrl_EndEditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25721 PyObject
*resultobj
;
25722 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25725 PyObject
* obj0
= 0 ;
25726 PyObject
* obj1
= 0 ;
25727 char *kwnames
[] = {
25728 (char *) "self",(char *) "cancel", NULL
25731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25733 if (SWIG_arg_fail(1)) SWIG_fail
;
25735 arg2
= (bool)(SWIG_As_bool(obj1
));
25736 if (SWIG_arg_fail(2)) SWIG_fail
;
25739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25740 result
= (bool)(arg1
)->EndEditLabel(arg2
);
25742 wxPyEndAllowThreads(__tstate
);
25743 if (PyErr_Occurred()) SWIG_fail
;
25746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25754 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25755 PyObject
*resultobj
;
25756 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25759 PyObject
* obj0
= 0 ;
25760 PyObject
* obj1
= 0 ;
25761 char *kwnames
[] = {
25762 (char *) "self",(char *) "item", NULL
25765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25767 if (SWIG_arg_fail(1)) SWIG_fail
;
25769 arg2
= (long)(SWIG_As_long(obj1
));
25770 if (SWIG_arg_fail(2)) SWIG_fail
;
25773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25774 result
= (bool)(arg1
)->EnsureVisible(arg2
);
25776 wxPyEndAllowThreads(__tstate
);
25777 if (PyErr_Occurred()) SWIG_fail
;
25780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25788 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25789 PyObject
*resultobj
;
25790 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25792 wxString
*arg3
= 0 ;
25793 bool arg4
= (bool) false ;
25795 bool temp3
= false ;
25796 PyObject
* obj0
= 0 ;
25797 PyObject
* obj1
= 0 ;
25798 PyObject
* obj2
= 0 ;
25799 PyObject
* obj3
= 0 ;
25800 char *kwnames
[] = {
25801 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
25804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25806 if (SWIG_arg_fail(1)) SWIG_fail
;
25808 arg2
= (long)(SWIG_As_long(obj1
));
25809 if (SWIG_arg_fail(2)) SWIG_fail
;
25812 arg3
= wxString_in_helper(obj2
);
25813 if (arg3
== NULL
) SWIG_fail
;
25818 arg4
= (bool)(SWIG_As_bool(obj3
));
25819 if (SWIG_arg_fail(4)) SWIG_fail
;
25823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25824 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
25826 wxPyEndAllowThreads(__tstate
);
25827 if (PyErr_Occurred()) SWIG_fail
;
25830 resultobj
= SWIG_From_long((long)(result
));
25846 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25847 PyObject
*resultobj
;
25848 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25852 PyObject
* obj0
= 0 ;
25853 PyObject
* obj1
= 0 ;
25854 PyObject
* obj2
= 0 ;
25855 char *kwnames
[] = {
25856 (char *) "self",(char *) "start",(char *) "data", NULL
25859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25861 if (SWIG_arg_fail(1)) SWIG_fail
;
25863 arg2
= (long)(SWIG_As_long(obj1
));
25864 if (SWIG_arg_fail(2)) SWIG_fail
;
25867 arg3
= (long)(SWIG_As_long(obj2
));
25868 if (SWIG_arg_fail(3)) SWIG_fail
;
25871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25872 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
25874 wxPyEndAllowThreads(__tstate
);
25875 if (PyErr_Occurred()) SWIG_fail
;
25878 resultobj
= SWIG_From_long((long)(result
));
25886 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25887 PyObject
*resultobj
;
25888 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25890 wxPoint
*arg3
= 0 ;
25894 PyObject
* obj0
= 0 ;
25895 PyObject
* obj1
= 0 ;
25896 PyObject
* obj2
= 0 ;
25897 PyObject
* obj3
= 0 ;
25898 char *kwnames
[] = {
25899 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
25902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25904 if (SWIG_arg_fail(1)) SWIG_fail
;
25906 arg2
= (long)(SWIG_As_long(obj1
));
25907 if (SWIG_arg_fail(2)) SWIG_fail
;
25911 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25914 arg4
= (int)(SWIG_As_int(obj3
));
25915 if (SWIG_arg_fail(4)) SWIG_fail
;
25918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25919 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
25921 wxPyEndAllowThreads(__tstate
);
25922 if (PyErr_Occurred()) SWIG_fail
;
25925 resultobj
= SWIG_From_long((long)(result
));
25933 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25934 PyObject
*resultobj
;
25935 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25936 wxPoint
*arg2
= 0 ;
25942 PyObject
* obj0
= 0 ;
25943 PyObject
* obj1
= 0 ;
25944 char *kwnames
[] = {
25945 (char *) "self",(char *) "point", NULL
25948 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
25950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25951 if (SWIG_arg_fail(1)) SWIG_fail
;
25954 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25958 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
25960 wxPyEndAllowThreads(__tstate
);
25961 if (PyErr_Occurred()) SWIG_fail
;
25964 resultobj
= SWIG_From_long((long)(result
));
25966 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25967 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25974 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25975 PyObject
*resultobj
;
25976 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25977 wxListItem
*arg2
= 0 ;
25979 PyObject
* obj0
= 0 ;
25980 PyObject
* obj1
= 0 ;
25981 char *kwnames
[] = {
25982 (char *) "self",(char *) "info", NULL
25985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25987 if (SWIG_arg_fail(1)) SWIG_fail
;
25989 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
25990 if (SWIG_arg_fail(2)) SWIG_fail
;
25991 if (arg2
== NULL
) {
25992 SWIG_null_ref("wxListItem");
25994 if (SWIG_arg_fail(2)) SWIG_fail
;
25997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25998 result
= (long)(arg1
)->InsertItem(*arg2
);
26000 wxPyEndAllowThreads(__tstate
);
26001 if (PyErr_Occurred()) SWIG_fail
;
26004 resultobj
= SWIG_From_long((long)(result
));
26012 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26013 PyObject
*resultobj
;
26014 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26016 wxString
*arg3
= 0 ;
26018 bool temp3
= false ;
26019 PyObject
* obj0
= 0 ;
26020 PyObject
* obj1
= 0 ;
26021 PyObject
* obj2
= 0 ;
26022 char *kwnames
[] = {
26023 (char *) "self",(char *) "index",(char *) "label", NULL
26026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26028 if (SWIG_arg_fail(1)) SWIG_fail
;
26030 arg2
= (long)(SWIG_As_long(obj1
));
26031 if (SWIG_arg_fail(2)) SWIG_fail
;
26034 arg3
= wxString_in_helper(obj2
);
26035 if (arg3
== NULL
) SWIG_fail
;
26039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26040 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
26042 wxPyEndAllowThreads(__tstate
);
26043 if (PyErr_Occurred()) SWIG_fail
;
26046 resultobj
= SWIG_From_long((long)(result
));
26062 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26063 PyObject
*resultobj
;
26064 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26068 PyObject
* obj0
= 0 ;
26069 PyObject
* obj1
= 0 ;
26070 PyObject
* obj2
= 0 ;
26071 char *kwnames
[] = {
26072 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
26075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26077 if (SWIG_arg_fail(1)) SWIG_fail
;
26079 arg2
= (long)(SWIG_As_long(obj1
));
26080 if (SWIG_arg_fail(2)) SWIG_fail
;
26083 arg3
= (int)(SWIG_As_int(obj2
));
26084 if (SWIG_arg_fail(3)) SWIG_fail
;
26087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26088 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
26090 wxPyEndAllowThreads(__tstate
);
26091 if (PyErr_Occurred()) SWIG_fail
;
26094 resultobj
= SWIG_From_long((long)(result
));
26102 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26103 PyObject
*resultobj
;
26104 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26106 wxString
*arg3
= 0 ;
26109 bool temp3
= false ;
26110 PyObject
* obj0
= 0 ;
26111 PyObject
* obj1
= 0 ;
26112 PyObject
* obj2
= 0 ;
26113 PyObject
* obj3
= 0 ;
26114 char *kwnames
[] = {
26115 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
26118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26120 if (SWIG_arg_fail(1)) SWIG_fail
;
26122 arg2
= (long)(SWIG_As_long(obj1
));
26123 if (SWIG_arg_fail(2)) SWIG_fail
;
26126 arg3
= wxString_in_helper(obj2
);
26127 if (arg3
== NULL
) SWIG_fail
;
26131 arg4
= (int)(SWIG_As_int(obj3
));
26132 if (SWIG_arg_fail(4)) SWIG_fail
;
26135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26136 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
26138 wxPyEndAllowThreads(__tstate
);
26139 if (PyErr_Occurred()) SWIG_fail
;
26142 resultobj
= SWIG_From_long((long)(result
));
26158 static PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26159 PyObject
*resultobj
;
26160 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26162 wxListItem
*arg3
= 0 ;
26164 PyObject
* obj0
= 0 ;
26165 PyObject
* obj1
= 0 ;
26166 PyObject
* obj2
= 0 ;
26167 char *kwnames
[] = {
26168 (char *) "self",(char *) "col",(char *) "info", NULL
26171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26173 if (SWIG_arg_fail(1)) SWIG_fail
;
26175 arg2
= (long)(SWIG_As_long(obj1
));
26176 if (SWIG_arg_fail(2)) SWIG_fail
;
26179 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
26180 if (SWIG_arg_fail(3)) SWIG_fail
;
26181 if (arg3
== NULL
) {
26182 SWIG_null_ref("wxListItem");
26184 if (SWIG_arg_fail(3)) SWIG_fail
;
26187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26188 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
26190 wxPyEndAllowThreads(__tstate
);
26191 if (PyErr_Occurred()) SWIG_fail
;
26194 resultobj
= SWIG_From_long((long)(result
));
26202 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26203 PyObject
*resultobj
;
26204 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26206 wxString
*arg3
= 0 ;
26207 int arg4
= (int) wxLIST_FORMAT_LEFT
;
26208 int arg5
= (int) -1 ;
26210 bool temp3
= false ;
26211 PyObject
* obj0
= 0 ;
26212 PyObject
* obj1
= 0 ;
26213 PyObject
* obj2
= 0 ;
26214 PyObject
* obj3
= 0 ;
26215 PyObject
* obj4
= 0 ;
26216 char *kwnames
[] = {
26217 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
26220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26222 if (SWIG_arg_fail(1)) SWIG_fail
;
26224 arg2
= (long)(SWIG_As_long(obj1
));
26225 if (SWIG_arg_fail(2)) SWIG_fail
;
26228 arg3
= wxString_in_helper(obj2
);
26229 if (arg3
== NULL
) SWIG_fail
;
26234 arg4
= (int)(SWIG_As_int(obj3
));
26235 if (SWIG_arg_fail(4)) SWIG_fail
;
26240 arg5
= (int)(SWIG_As_int(obj4
));
26241 if (SWIG_arg_fail(5)) SWIG_fail
;
26245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26246 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
26248 wxPyEndAllowThreads(__tstate
);
26249 if (PyErr_Occurred()) SWIG_fail
;
26252 resultobj
= SWIG_From_long((long)(result
));
26268 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26269 PyObject
*resultobj
;
26270 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26272 PyObject
* obj0
= 0 ;
26273 PyObject
* obj1
= 0 ;
26274 char *kwnames
[] = {
26275 (char *) "self",(char *) "count", NULL
26278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",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
;
26282 arg2
= (long)(SWIG_As_long(obj1
));
26283 if (SWIG_arg_fail(2)) SWIG_fail
;
26286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26287 (arg1
)->SetItemCount(arg2
);
26289 wxPyEndAllowThreads(__tstate
);
26290 if (PyErr_Occurred()) SWIG_fail
;
26292 Py_INCREF(Py_None
); resultobj
= Py_None
;
26299 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26300 PyObject
*resultobj
;
26301 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26305 PyObject
* obj0
= 0 ;
26306 PyObject
* obj1
= 0 ;
26307 PyObject
* obj2
= 0 ;
26308 char *kwnames
[] = {
26309 (char *) "self",(char *) "dx",(char *) "dy", NULL
26312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26314 if (SWIG_arg_fail(1)) SWIG_fail
;
26316 arg2
= (int)(SWIG_As_int(obj1
));
26317 if (SWIG_arg_fail(2)) SWIG_fail
;
26320 arg3
= (int)(SWIG_As_int(obj2
));
26321 if (SWIG_arg_fail(3)) SWIG_fail
;
26324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26325 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
26327 wxPyEndAllowThreads(__tstate
);
26328 if (PyErr_Occurred()) SWIG_fail
;
26331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26339 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26340 PyObject
*resultobj
;
26341 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26343 wxColour
*arg3
= 0 ;
26345 PyObject
* obj0
= 0 ;
26346 PyObject
* obj1
= 0 ;
26347 PyObject
* obj2
= 0 ;
26348 char *kwnames
[] = {
26349 (char *) "self",(char *) "item",(char *) "col", NULL
26352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26354 if (SWIG_arg_fail(1)) SWIG_fail
;
26356 arg2
= (long)(SWIG_As_long(obj1
));
26357 if (SWIG_arg_fail(2)) SWIG_fail
;
26361 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26365 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
26367 wxPyEndAllowThreads(__tstate
);
26368 if (PyErr_Occurred()) SWIG_fail
;
26370 Py_INCREF(Py_None
); resultobj
= Py_None
;
26377 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26378 PyObject
*resultobj
;
26379 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26382 PyObject
* obj0
= 0 ;
26383 PyObject
* obj1
= 0 ;
26384 char *kwnames
[] = {
26385 (char *) "self",(char *) "item", NULL
26388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26390 if (SWIG_arg_fail(1)) SWIG_fail
;
26392 arg2
= (long)(SWIG_As_long(obj1
));
26393 if (SWIG_arg_fail(2)) SWIG_fail
;
26396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26397 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
26399 wxPyEndAllowThreads(__tstate
);
26400 if (PyErr_Occurred()) SWIG_fail
;
26403 wxColour
* resultptr
;
26404 resultptr
= new wxColour((wxColour
&)(result
));
26405 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26413 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26414 PyObject
*resultobj
;
26415 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26417 wxColour
*arg3
= 0 ;
26419 PyObject
* obj0
= 0 ;
26420 PyObject
* obj1
= 0 ;
26421 PyObject
* obj2
= 0 ;
26422 char *kwnames
[] = {
26423 (char *) "self",(char *) "item",(char *) "col", NULL
26426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26428 if (SWIG_arg_fail(1)) SWIG_fail
;
26430 arg2
= (long)(SWIG_As_long(obj1
));
26431 if (SWIG_arg_fail(2)) SWIG_fail
;
26435 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26439 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
26441 wxPyEndAllowThreads(__tstate
);
26442 if (PyErr_Occurred()) SWIG_fail
;
26444 Py_INCREF(Py_None
); resultobj
= Py_None
;
26451 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26452 PyObject
*resultobj
;
26453 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26456 PyObject
* obj0
= 0 ;
26457 PyObject
* obj1
= 0 ;
26458 char *kwnames
[] = {
26459 (char *) "self",(char *) "item", NULL
26462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26464 if (SWIG_arg_fail(1)) SWIG_fail
;
26466 arg2
= (long)(SWIG_As_long(obj1
));
26467 if (SWIG_arg_fail(2)) SWIG_fail
;
26470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26471 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
26473 wxPyEndAllowThreads(__tstate
);
26474 if (PyErr_Occurred()) SWIG_fail
;
26477 wxColour
* resultptr
;
26478 resultptr
= new wxColour((wxColour
&)(result
));
26479 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26487 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26488 PyObject
*resultobj
;
26489 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26490 PyObject
*arg2
= (PyObject
*) 0 ;
26492 PyObject
* obj0
= 0 ;
26493 PyObject
* obj1
= 0 ;
26494 char *kwnames
[] = {
26495 (char *) "self",(char *) "func", NULL
26498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
26499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26500 if (SWIG_arg_fail(1)) SWIG_fail
;
26503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26504 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
26506 wxPyEndAllowThreads(__tstate
);
26507 if (PyErr_Occurred()) SWIG_fail
;
26510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26518 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26519 PyObject
*resultobj
;
26520 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26522 PyObject
* obj0
= 0 ;
26523 char *kwnames
[] = {
26524 (char *) "self", NULL
26527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
26528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26529 if (SWIG_arg_fail(1)) SWIG_fail
;
26531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26532 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
26534 wxPyEndAllowThreads(__tstate
);
26535 if (PyErr_Occurred()) SWIG_fail
;
26538 resultobj
= wxPyMake_wxObject(result
, 0);
26546 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26547 PyObject
*resultobj
;
26548 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
26549 wxVisualAttributes result
;
26550 PyObject
* obj0
= 0 ;
26551 char *kwnames
[] = {
26552 (char *) "variant", NULL
26555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26558 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
26559 if (SWIG_arg_fail(1)) SWIG_fail
;
26563 if (!wxPyCheckForApp()) SWIG_fail
;
26564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26565 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
26567 wxPyEndAllowThreads(__tstate
);
26568 if (PyErr_Occurred()) SWIG_fail
;
26571 wxVisualAttributes
* resultptr
;
26572 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
26573 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26581 static PyObject
* ListCtrl_swigregister(PyObject
*, PyObject
*args
) {
26583 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26584 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
26586 return Py_BuildValue((char *)"");
26588 static PyObject
*_wrap_new_ListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26589 PyObject
*resultobj
;
26590 wxWindow
*arg1
= (wxWindow
*) 0 ;
26591 int arg2
= (int) -1 ;
26592 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
26593 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
26594 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26595 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26596 long arg5
= (long) wxLC_REPORT
;
26597 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
26598 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
26599 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
26600 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26601 wxListView
*result
;
26604 bool temp7
= false ;
26605 PyObject
* obj0
= 0 ;
26606 PyObject
* obj1
= 0 ;
26607 PyObject
* obj2
= 0 ;
26608 PyObject
* obj3
= 0 ;
26609 PyObject
* obj4
= 0 ;
26610 PyObject
* obj5
= 0 ;
26611 PyObject
* obj6
= 0 ;
26612 char *kwnames
[] = {
26613 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26618 if (SWIG_arg_fail(1)) SWIG_fail
;
26621 arg2
= (int)(SWIG_As_int(obj1
));
26622 if (SWIG_arg_fail(2)) SWIG_fail
;
26628 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26634 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26639 arg5
= (long)(SWIG_As_long(obj4
));
26640 if (SWIG_arg_fail(5)) SWIG_fail
;
26645 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
26646 if (SWIG_arg_fail(6)) SWIG_fail
;
26647 if (arg6
== NULL
) {
26648 SWIG_null_ref("wxValidator");
26650 if (SWIG_arg_fail(6)) SWIG_fail
;
26655 arg7
= wxString_in_helper(obj6
);
26656 if (arg7
== NULL
) SWIG_fail
;
26661 if (!wxPyCheckForApp()) SWIG_fail
;
26662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26663 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
26665 wxPyEndAllowThreads(__tstate
);
26666 if (PyErr_Occurred()) SWIG_fail
;
26668 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
26683 static PyObject
*_wrap_new_PreListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26684 PyObject
*resultobj
;
26685 wxListView
*result
;
26686 char *kwnames
[] = {
26690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
26692 if (!wxPyCheckForApp()) SWIG_fail
;
26693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26694 result
= (wxListView
*)new wxListView();
26696 wxPyEndAllowThreads(__tstate
);
26697 if (PyErr_Occurred()) SWIG_fail
;
26699 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
26706 static PyObject
*_wrap_ListView_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26707 PyObject
*resultobj
;
26708 wxListView
*arg1
= (wxListView
*) 0 ;
26709 wxWindow
*arg2
= (wxWindow
*) 0 ;
26710 int arg3
= (int) -1 ;
26711 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26712 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26713 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26714 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26715 long arg6
= (long) wxLC_REPORT
;
26716 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
26717 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
26718 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
26719 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
26723 bool temp8
= false ;
26724 PyObject
* obj0
= 0 ;
26725 PyObject
* obj1
= 0 ;
26726 PyObject
* obj2
= 0 ;
26727 PyObject
* obj3
= 0 ;
26728 PyObject
* obj4
= 0 ;
26729 PyObject
* obj5
= 0 ;
26730 PyObject
* obj6
= 0 ;
26731 PyObject
* obj7
= 0 ;
26732 char *kwnames
[] = {
26733 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
26737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26738 if (SWIG_arg_fail(1)) SWIG_fail
;
26739 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26740 if (SWIG_arg_fail(2)) SWIG_fail
;
26743 arg3
= (int)(SWIG_As_int(obj2
));
26744 if (SWIG_arg_fail(3)) SWIG_fail
;
26750 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26756 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26761 arg6
= (long)(SWIG_As_long(obj5
));
26762 if (SWIG_arg_fail(6)) SWIG_fail
;
26767 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
26768 if (SWIG_arg_fail(7)) SWIG_fail
;
26769 if (arg7
== NULL
) {
26770 SWIG_null_ref("wxValidator");
26772 if (SWIG_arg_fail(7)) SWIG_fail
;
26777 arg8
= wxString_in_helper(obj7
);
26778 if (arg8
== NULL
) SWIG_fail
;
26783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26784 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
26786 wxPyEndAllowThreads(__tstate
);
26787 if (PyErr_Occurred()) SWIG_fail
;
26790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26806 static PyObject
*_wrap_ListView_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26807 PyObject
*resultobj
;
26808 wxListView
*arg1
= (wxListView
*) 0 ;
26810 bool arg3
= (bool) true ;
26811 PyObject
* obj0
= 0 ;
26812 PyObject
* obj1
= 0 ;
26813 PyObject
* obj2
= 0 ;
26814 char *kwnames
[] = {
26815 (char *) "self",(char *) "n",(char *) "on", NULL
26818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26820 if (SWIG_arg_fail(1)) SWIG_fail
;
26822 arg2
= (long)(SWIG_As_long(obj1
));
26823 if (SWIG_arg_fail(2)) SWIG_fail
;
26827 arg3
= (bool)(SWIG_As_bool(obj2
));
26828 if (SWIG_arg_fail(3)) SWIG_fail
;
26832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26833 (arg1
)->Select(arg2
,arg3
);
26835 wxPyEndAllowThreads(__tstate
);
26836 if (PyErr_Occurred()) SWIG_fail
;
26838 Py_INCREF(Py_None
); resultobj
= Py_None
;
26845 static PyObject
*_wrap_ListView_Focus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26846 PyObject
*resultobj
;
26847 wxListView
*arg1
= (wxListView
*) 0 ;
26849 PyObject
* obj0
= 0 ;
26850 PyObject
* obj1
= 0 ;
26851 char *kwnames
[] = {
26852 (char *) "self",(char *) "index", NULL
26855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
26856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26857 if (SWIG_arg_fail(1)) SWIG_fail
;
26859 arg2
= (long)(SWIG_As_long(obj1
));
26860 if (SWIG_arg_fail(2)) SWIG_fail
;
26863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26864 (arg1
)->Focus(arg2
);
26866 wxPyEndAllowThreads(__tstate
);
26867 if (PyErr_Occurred()) SWIG_fail
;
26869 Py_INCREF(Py_None
); resultobj
= Py_None
;
26876 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26877 PyObject
*resultobj
;
26878 wxListView
*arg1
= (wxListView
*) 0 ;
26880 PyObject
* obj0
= 0 ;
26881 char *kwnames
[] = {
26882 (char *) "self", NULL
26885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
26886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26887 if (SWIG_arg_fail(1)) SWIG_fail
;
26889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26890 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
26892 wxPyEndAllowThreads(__tstate
);
26893 if (PyErr_Occurred()) SWIG_fail
;
26896 resultobj
= SWIG_From_long((long)(result
));
26904 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26905 PyObject
*resultobj
;
26906 wxListView
*arg1
= (wxListView
*) 0 ;
26909 PyObject
* obj0
= 0 ;
26910 PyObject
* obj1
= 0 ;
26911 char *kwnames
[] = {
26912 (char *) "self",(char *) "item", NULL
26915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26917 if (SWIG_arg_fail(1)) SWIG_fail
;
26919 arg2
= (long)(SWIG_As_long(obj1
));
26920 if (SWIG_arg_fail(2)) SWIG_fail
;
26923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26924 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
26926 wxPyEndAllowThreads(__tstate
);
26927 if (PyErr_Occurred()) SWIG_fail
;
26930 resultobj
= SWIG_From_long((long)(result
));
26938 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26939 PyObject
*resultobj
;
26940 wxListView
*arg1
= (wxListView
*) 0 ;
26942 PyObject
* obj0
= 0 ;
26943 char *kwnames
[] = {
26944 (char *) "self", NULL
26947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
26948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26949 if (SWIG_arg_fail(1)) SWIG_fail
;
26951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26952 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
26954 wxPyEndAllowThreads(__tstate
);
26955 if (PyErr_Occurred()) SWIG_fail
;
26958 resultobj
= SWIG_From_long((long)(result
));
26966 static PyObject
*_wrap_ListView_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26967 PyObject
*resultobj
;
26968 wxListView
*arg1
= (wxListView
*) 0 ;
26971 PyObject
* obj0
= 0 ;
26972 PyObject
* obj1
= 0 ;
26973 char *kwnames
[] = {
26974 (char *) "self",(char *) "index", NULL
26977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26979 if (SWIG_arg_fail(1)) SWIG_fail
;
26981 arg2
= (long)(SWIG_As_long(obj1
));
26982 if (SWIG_arg_fail(2)) SWIG_fail
;
26985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26986 result
= (bool)(arg1
)->IsSelected(arg2
);
26988 wxPyEndAllowThreads(__tstate
);
26989 if (PyErr_Occurred()) SWIG_fail
;
26992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27000 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27001 PyObject
*resultobj
;
27002 wxListView
*arg1
= (wxListView
*) 0 ;
27005 PyObject
* obj0
= 0 ;
27006 PyObject
* obj1
= 0 ;
27007 PyObject
* obj2
= 0 ;
27008 char *kwnames
[] = {
27009 (char *) "self",(char *) "col",(char *) "image", NULL
27012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
27014 if (SWIG_arg_fail(1)) SWIG_fail
;
27016 arg2
= (int)(SWIG_As_int(obj1
));
27017 if (SWIG_arg_fail(2)) SWIG_fail
;
27020 arg3
= (int)(SWIG_As_int(obj2
));
27021 if (SWIG_arg_fail(3)) SWIG_fail
;
27024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27025 (arg1
)->SetColumnImage(arg2
,arg3
);
27027 wxPyEndAllowThreads(__tstate
);
27028 if (PyErr_Occurred()) SWIG_fail
;
27030 Py_INCREF(Py_None
); resultobj
= Py_None
;
27037 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27038 PyObject
*resultobj
;
27039 wxListView
*arg1
= (wxListView
*) 0 ;
27041 PyObject
* obj0
= 0 ;
27042 PyObject
* obj1
= 0 ;
27043 char *kwnames
[] = {
27044 (char *) "self",(char *) "col", NULL
27047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
27048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
27049 if (SWIG_arg_fail(1)) SWIG_fail
;
27051 arg2
= (int)(SWIG_As_int(obj1
));
27052 if (SWIG_arg_fail(2)) SWIG_fail
;
27055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27056 (arg1
)->ClearColumnImage(arg2
);
27058 wxPyEndAllowThreads(__tstate
);
27059 if (PyErr_Occurred()) SWIG_fail
;
27061 Py_INCREF(Py_None
); resultobj
= Py_None
;
27068 static PyObject
* ListView_swigregister(PyObject
*, PyObject
*args
) {
27070 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27071 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
27073 return Py_BuildValue((char *)"");
27075 static int _wrap_TreeCtrlNameStr_set(PyObject
*) {
27076 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
27081 static PyObject
*_wrap_TreeCtrlNameStr_get(void) {
27086 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
27088 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
27095 static PyObject
*_wrap_new_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27096 PyObject
*resultobj
;
27097 wxTreeItemId
*result
;
27098 char *kwnames
[] = {
27102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
27104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27105 result
= (wxTreeItemId
*)new wxTreeItemId();
27107 wxPyEndAllowThreads(__tstate
);
27108 if (PyErr_Occurred()) SWIG_fail
;
27110 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
27117 static PyObject
*_wrap_delete_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27118 PyObject
*resultobj
;
27119 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27120 PyObject
* obj0
= 0 ;
27121 char *kwnames
[] = {
27122 (char *) "self", NULL
27125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
27126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27127 if (SWIG_arg_fail(1)) SWIG_fail
;
27129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27132 wxPyEndAllowThreads(__tstate
);
27133 if (PyErr_Occurred()) SWIG_fail
;
27135 Py_INCREF(Py_None
); resultobj
= Py_None
;
27142 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27143 PyObject
*resultobj
;
27144 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27146 PyObject
* obj0
= 0 ;
27147 char *kwnames
[] = {
27148 (char *) "self", NULL
27151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
27152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27153 if (SWIG_arg_fail(1)) SWIG_fail
;
27155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27156 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
27158 wxPyEndAllowThreads(__tstate
);
27159 if (PyErr_Occurred()) SWIG_fail
;
27162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27170 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27171 PyObject
*resultobj
;
27172 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27173 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
27175 PyObject
* obj0
= 0 ;
27176 PyObject
* obj1
= 0 ;
27177 char *kwnames
[] = {
27178 (char *) "self",(char *) "other", NULL
27181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27183 if (SWIG_arg_fail(1)) SWIG_fail
;
27184 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27185 if (SWIG_arg_fail(2)) SWIG_fail
;
27187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27188 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
27190 wxPyEndAllowThreads(__tstate
);
27191 if (PyErr_Occurred()) SWIG_fail
;
27194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27202 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27203 PyObject
*resultobj
;
27204 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27205 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
27207 PyObject
* obj0
= 0 ;
27208 PyObject
* obj1
= 0 ;
27209 char *kwnames
[] = {
27210 (char *) "self",(char *) "other", NULL
27213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27215 if (SWIG_arg_fail(1)) SWIG_fail
;
27216 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27217 if (SWIG_arg_fail(2)) SWIG_fail
;
27219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27220 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
27222 wxPyEndAllowThreads(__tstate
);
27223 if (PyErr_Occurred()) SWIG_fail
;
27226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27234 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27235 PyObject
*resultobj
;
27236 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27237 void *arg2
= (void *) 0 ;
27238 PyObject
* obj0
= 0 ;
27239 PyObject
* obj1
= 0 ;
27240 char *kwnames
[] = {
27241 (char *) "self",(char *) "m_pItem", NULL
27244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27246 if (SWIG_arg_fail(1)) SWIG_fail
;
27248 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),0,SWIG_POINTER_EXCEPTION
|SWIG_POINTER_DISOWN
))== -1) {
27249 SWIG_arg_fail(2);SWIG_fail
;
27252 if (arg1
) (arg1
)->m_pItem
= arg2
;
27254 Py_INCREF(Py_None
); resultobj
= Py_None
;
27261 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27262 PyObject
*resultobj
;
27263 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27265 PyObject
* obj0
= 0 ;
27266 char *kwnames
[] = {
27267 (char *) "self", NULL
27270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
27271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27272 if (SWIG_arg_fail(1)) SWIG_fail
;
27273 result
= (void *) ((arg1
)->m_pItem
);
27275 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
27282 static PyObject
* TreeItemId_swigregister(PyObject
*, PyObject
*args
) {
27284 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27285 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
27287 return Py_BuildValue((char *)"");
27289 static PyObject
*_wrap_new_TreeItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27290 PyObject
*resultobj
;
27291 PyObject
*arg1
= (PyObject
*) NULL
;
27292 wxPyTreeItemData
*result
;
27293 PyObject
* obj0
= 0 ;
27294 char *kwnames
[] = {
27295 (char *) "obj", NULL
27298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
27303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27304 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
27306 wxPyEndAllowThreads(__tstate
);
27307 if (PyErr_Occurred()) SWIG_fail
;
27309 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
27316 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27317 PyObject
*resultobj
;
27318 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27320 PyObject
* obj0
= 0 ;
27321 char *kwnames
[] = {
27322 (char *) "self", NULL
27325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
27326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27327 if (SWIG_arg_fail(1)) SWIG_fail
;
27329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27330 result
= (PyObject
*)(arg1
)->GetData();
27332 wxPyEndAllowThreads(__tstate
);
27333 if (PyErr_Occurred()) SWIG_fail
;
27335 resultobj
= result
;
27342 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27343 PyObject
*resultobj
;
27344 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27345 PyObject
*arg2
= (PyObject
*) 0 ;
27346 PyObject
* obj0
= 0 ;
27347 PyObject
* obj1
= 0 ;
27348 char *kwnames
[] = {
27349 (char *) "self",(char *) "obj", NULL
27352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27354 if (SWIG_arg_fail(1)) SWIG_fail
;
27357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27358 (arg1
)->SetData(arg2
);
27360 wxPyEndAllowThreads(__tstate
);
27361 if (PyErr_Occurred()) SWIG_fail
;
27363 Py_INCREF(Py_None
); resultobj
= Py_None
;
27370 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27371 PyObject
*resultobj
;
27372 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27373 wxTreeItemId
*result
;
27374 PyObject
* obj0
= 0 ;
27375 char *kwnames
[] = {
27376 (char *) "self", NULL
27379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
27380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27381 if (SWIG_arg_fail(1)) SWIG_fail
;
27383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27385 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
27386 result
= (wxTreeItemId
*) &_result_ref
;
27389 wxPyEndAllowThreads(__tstate
);
27390 if (PyErr_Occurred()) SWIG_fail
;
27392 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
27399 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27400 PyObject
*resultobj
;
27401 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27402 wxTreeItemId
*arg2
= 0 ;
27403 PyObject
* obj0
= 0 ;
27404 PyObject
* obj1
= 0 ;
27405 char *kwnames
[] = {
27406 (char *) "self",(char *) "id", NULL
27409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
27410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27411 if (SWIG_arg_fail(1)) SWIG_fail
;
27413 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27414 if (SWIG_arg_fail(2)) SWIG_fail
;
27415 if (arg2
== NULL
) {
27416 SWIG_null_ref("wxTreeItemId");
27418 if (SWIG_arg_fail(2)) SWIG_fail
;
27421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27422 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
27424 wxPyEndAllowThreads(__tstate
);
27425 if (PyErr_Occurred()) SWIG_fail
;
27427 Py_INCREF(Py_None
); resultobj
= Py_None
;
27434 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27435 PyObject
*resultobj
;
27436 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27437 PyObject
* obj0
= 0 ;
27438 char *kwnames
[] = {
27439 (char *) "self", NULL
27442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
27443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27444 if (SWIG_arg_fail(1)) SWIG_fail
;
27446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27447 wxPyTreeItemData_Destroy(arg1
);
27449 wxPyEndAllowThreads(__tstate
);
27450 if (PyErr_Occurred()) SWIG_fail
;
27452 Py_INCREF(Py_None
); resultobj
= Py_None
;
27459 static PyObject
* TreeItemData_swigregister(PyObject
*, PyObject
*args
) {
27461 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27462 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
27464 return Py_BuildValue((char *)"");
27466 static PyObject
*_wrap_new_TreeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27467 PyObject
*resultobj
;
27468 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27469 int arg2
= (int) 0 ;
27470 wxTreeEvent
*result
;
27471 PyObject
* obj0
= 0 ;
27472 PyObject
* obj1
= 0 ;
27473 char *kwnames
[] = {
27474 (char *) "commandType",(char *) "id", NULL
27477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
27480 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
27481 if (SWIG_arg_fail(1)) SWIG_fail
;
27486 arg2
= (int)(SWIG_As_int(obj1
));
27487 if (SWIG_arg_fail(2)) SWIG_fail
;
27491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27492 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
27494 wxPyEndAllowThreads(__tstate
);
27495 if (PyErr_Occurred()) SWIG_fail
;
27497 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
27504 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27505 PyObject
*resultobj
;
27506 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27507 wxTreeItemId result
;
27508 PyObject
* obj0
= 0 ;
27509 char *kwnames
[] = {
27510 (char *) "self", NULL
27513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
27514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27515 if (SWIG_arg_fail(1)) SWIG_fail
;
27517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27518 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
27520 wxPyEndAllowThreads(__tstate
);
27521 if (PyErr_Occurred()) SWIG_fail
;
27524 wxTreeItemId
* resultptr
;
27525 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
27526 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27534 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27535 PyObject
*resultobj
;
27536 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27537 wxTreeItemId
*arg2
= 0 ;
27538 PyObject
* obj0
= 0 ;
27539 PyObject
* obj1
= 0 ;
27540 char *kwnames
[] = {
27541 (char *) "self",(char *) "item", NULL
27544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27546 if (SWIG_arg_fail(1)) SWIG_fail
;
27548 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27549 if (SWIG_arg_fail(2)) SWIG_fail
;
27550 if (arg2
== NULL
) {
27551 SWIG_null_ref("wxTreeItemId");
27553 if (SWIG_arg_fail(2)) SWIG_fail
;
27556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27557 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
27559 wxPyEndAllowThreads(__tstate
);
27560 if (PyErr_Occurred()) SWIG_fail
;
27562 Py_INCREF(Py_None
); resultobj
= Py_None
;
27569 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27570 PyObject
*resultobj
;
27571 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27572 wxTreeItemId result
;
27573 PyObject
* obj0
= 0 ;
27574 char *kwnames
[] = {
27575 (char *) "self", NULL
27578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
27579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27580 if (SWIG_arg_fail(1)) SWIG_fail
;
27582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27583 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
27585 wxPyEndAllowThreads(__tstate
);
27586 if (PyErr_Occurred()) SWIG_fail
;
27589 wxTreeItemId
* resultptr
;
27590 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
27591 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27599 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27600 PyObject
*resultobj
;
27601 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27602 wxTreeItemId
*arg2
= 0 ;
27603 PyObject
* obj0
= 0 ;
27604 PyObject
* obj1
= 0 ;
27605 char *kwnames
[] = {
27606 (char *) "self",(char *) "item", NULL
27609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27611 if (SWIG_arg_fail(1)) SWIG_fail
;
27613 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27614 if (SWIG_arg_fail(2)) SWIG_fail
;
27615 if (arg2
== NULL
) {
27616 SWIG_null_ref("wxTreeItemId");
27618 if (SWIG_arg_fail(2)) SWIG_fail
;
27621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27622 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
27624 wxPyEndAllowThreads(__tstate
);
27625 if (PyErr_Occurred()) SWIG_fail
;
27627 Py_INCREF(Py_None
); resultobj
= Py_None
;
27634 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27635 PyObject
*resultobj
;
27636 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27638 PyObject
* obj0
= 0 ;
27639 char *kwnames
[] = {
27640 (char *) "self", NULL
27643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
27644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27645 if (SWIG_arg_fail(1)) SWIG_fail
;
27647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27648 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
27650 wxPyEndAllowThreads(__tstate
);
27651 if (PyErr_Occurred()) SWIG_fail
;
27654 wxPoint
* resultptr
;
27655 resultptr
= new wxPoint((wxPoint
&)(result
));
27656 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
27664 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27665 PyObject
*resultobj
;
27666 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27667 wxPoint
*arg2
= 0 ;
27669 PyObject
* obj0
= 0 ;
27670 PyObject
* obj1
= 0 ;
27671 char *kwnames
[] = {
27672 (char *) "self",(char *) "pt", NULL
27675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
27676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27677 if (SWIG_arg_fail(1)) SWIG_fail
;
27680 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27684 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
27686 wxPyEndAllowThreads(__tstate
);
27687 if (PyErr_Occurred()) SWIG_fail
;
27689 Py_INCREF(Py_None
); resultobj
= Py_None
;
27696 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27697 PyObject
*resultobj
;
27698 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27699 wxKeyEvent
*result
;
27700 PyObject
* obj0
= 0 ;
27701 char *kwnames
[] = {
27702 (char *) "self", NULL
27705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
27706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27707 if (SWIG_arg_fail(1)) SWIG_fail
;
27709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27711 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
27712 result
= (wxKeyEvent
*) &_result_ref
;
27715 wxPyEndAllowThreads(__tstate
);
27716 if (PyErr_Occurred()) SWIG_fail
;
27718 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
27725 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27726 PyObject
*resultobj
;
27727 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27729 PyObject
* obj0
= 0 ;
27730 char *kwnames
[] = {
27731 (char *) "self", NULL
27734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
27735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27736 if (SWIG_arg_fail(1)) SWIG_fail
;
27738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27739 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
27741 wxPyEndAllowThreads(__tstate
);
27742 if (PyErr_Occurred()) SWIG_fail
;
27745 resultobj
= SWIG_From_int((int)(result
));
27753 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27754 PyObject
*resultobj
;
27755 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27756 wxKeyEvent
*arg2
= 0 ;
27757 PyObject
* obj0
= 0 ;
27758 PyObject
* obj1
= 0 ;
27759 char *kwnames
[] = {
27760 (char *) "self",(char *) "evt", NULL
27763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
27764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27765 if (SWIG_arg_fail(1)) SWIG_fail
;
27767 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
27768 if (SWIG_arg_fail(2)) SWIG_fail
;
27769 if (arg2
== NULL
) {
27770 SWIG_null_ref("wxKeyEvent");
27772 if (SWIG_arg_fail(2)) SWIG_fail
;
27775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27776 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
27778 wxPyEndAllowThreads(__tstate
);
27779 if (PyErr_Occurred()) SWIG_fail
;
27781 Py_INCREF(Py_None
); resultobj
= Py_None
;
27788 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27789 PyObject
*resultobj
;
27790 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27792 PyObject
* obj0
= 0 ;
27793 char *kwnames
[] = {
27794 (char *) "self", NULL
27797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
27798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27799 if (SWIG_arg_fail(1)) SWIG_fail
;
27801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27803 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
27804 result
= (wxString
*) &_result_ref
;
27807 wxPyEndAllowThreads(__tstate
);
27808 if (PyErr_Occurred()) SWIG_fail
;
27812 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27814 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27823 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27824 PyObject
*resultobj
;
27825 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27826 wxString
*arg2
= 0 ;
27827 bool temp2
= false ;
27828 PyObject
* obj0
= 0 ;
27829 PyObject
* obj1
= 0 ;
27830 char *kwnames
[] = {
27831 (char *) "self",(char *) "label", NULL
27834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
27835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27836 if (SWIG_arg_fail(1)) SWIG_fail
;
27838 arg2
= wxString_in_helper(obj1
);
27839 if (arg2
== NULL
) SWIG_fail
;
27843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27844 (arg1
)->SetLabel((wxString
const &)*arg2
);
27846 wxPyEndAllowThreads(__tstate
);
27847 if (PyErr_Occurred()) SWIG_fail
;
27849 Py_INCREF(Py_None
); resultobj
= Py_None
;
27864 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27865 PyObject
*resultobj
;
27866 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27868 PyObject
* obj0
= 0 ;
27869 char *kwnames
[] = {
27870 (char *) "self", NULL
27873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
27874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27875 if (SWIG_arg_fail(1)) SWIG_fail
;
27877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27878 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
27880 wxPyEndAllowThreads(__tstate
);
27881 if (PyErr_Occurred()) SWIG_fail
;
27884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27892 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27893 PyObject
*resultobj
;
27894 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27896 PyObject
* obj0
= 0 ;
27897 PyObject
* obj1
= 0 ;
27898 char *kwnames
[] = {
27899 (char *) "self",(char *) "editCancelled", NULL
27902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
27903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27904 if (SWIG_arg_fail(1)) SWIG_fail
;
27906 arg2
= (bool)(SWIG_As_bool(obj1
));
27907 if (SWIG_arg_fail(2)) SWIG_fail
;
27910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27911 (arg1
)->SetEditCanceled(arg2
);
27913 wxPyEndAllowThreads(__tstate
);
27914 if (PyErr_Occurred()) SWIG_fail
;
27916 Py_INCREF(Py_None
); resultobj
= Py_None
;
27923 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27924 PyObject
*resultobj
;
27925 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27926 wxString
*arg2
= 0 ;
27927 bool temp2
= false ;
27928 PyObject
* obj0
= 0 ;
27929 PyObject
* obj1
= 0 ;
27930 char *kwnames
[] = {
27931 (char *) "self",(char *) "toolTip", NULL
27934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
27935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27936 if (SWIG_arg_fail(1)) SWIG_fail
;
27938 arg2
= wxString_in_helper(obj1
);
27939 if (arg2
== NULL
) SWIG_fail
;
27943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27944 (arg1
)->SetToolTip((wxString
const &)*arg2
);
27946 wxPyEndAllowThreads(__tstate
);
27947 if (PyErr_Occurred()) SWIG_fail
;
27949 Py_INCREF(Py_None
); resultobj
= Py_None
;
27964 static PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27965 PyObject
*resultobj
;
27966 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27968 PyObject
* obj0
= 0 ;
27969 char *kwnames
[] = {
27970 (char *) "self", NULL
27973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetToolTip",kwnames
,&obj0
)) goto fail
;
27974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27975 if (SWIG_arg_fail(1)) SWIG_fail
;
27977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27978 result
= (arg1
)->GetToolTip();
27980 wxPyEndAllowThreads(__tstate
);
27981 if (PyErr_Occurred()) SWIG_fail
;
27985 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27987 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27996 static PyObject
* TreeEvent_swigregister(PyObject
*, PyObject
*args
) {
27998 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27999 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
28001 return Py_BuildValue((char *)"");
28003 static PyObject
*_wrap_new_TreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28004 PyObject
*resultobj
;
28005 wxWindow
*arg1
= (wxWindow
*) 0 ;
28006 int arg2
= (int) -1 ;
28007 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28008 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28009 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28010 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28011 long arg5
= (long) wxTR_DEFAULT_STYLE
;
28012 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28013 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28014 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
28015 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28016 wxPyTreeCtrl
*result
;
28019 bool temp7
= false ;
28020 PyObject
* obj0
= 0 ;
28021 PyObject
* obj1
= 0 ;
28022 PyObject
* obj2
= 0 ;
28023 PyObject
* obj3
= 0 ;
28024 PyObject
* obj4
= 0 ;
28025 PyObject
* obj5
= 0 ;
28026 PyObject
* obj6
= 0 ;
28027 char *kwnames
[] = {
28028 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
28032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28033 if (SWIG_arg_fail(1)) SWIG_fail
;
28036 arg2
= (int)(SWIG_As_int(obj1
));
28037 if (SWIG_arg_fail(2)) SWIG_fail
;
28043 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28049 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28054 arg5
= (long)(SWIG_As_long(obj4
));
28055 if (SWIG_arg_fail(5)) SWIG_fail
;
28060 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
28061 if (SWIG_arg_fail(6)) SWIG_fail
;
28062 if (arg6
== NULL
) {
28063 SWIG_null_ref("wxValidator");
28065 if (SWIG_arg_fail(6)) SWIG_fail
;
28070 arg7
= wxString_in_helper(obj6
);
28071 if (arg7
== NULL
) SWIG_fail
;
28076 if (!wxPyCheckForApp()) SWIG_fail
;
28077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28078 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28080 wxPyEndAllowThreads(__tstate
);
28081 if (PyErr_Occurred()) SWIG_fail
;
28083 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
28098 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28099 PyObject
*resultobj
;
28100 wxPyTreeCtrl
*result
;
28101 char *kwnames
[] = {
28105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
28107 if (!wxPyCheckForApp()) SWIG_fail
;
28108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28109 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
28111 wxPyEndAllowThreads(__tstate
);
28112 if (PyErr_Occurred()) SWIG_fail
;
28114 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
28121 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28122 PyObject
*resultobj
;
28123 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28124 wxWindow
*arg2
= (wxWindow
*) 0 ;
28125 int arg3
= (int) -1 ;
28126 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28127 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28128 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28129 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28130 long arg6
= (long) wxTR_DEFAULT_STYLE
;
28131 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28132 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28133 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
28134 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28138 bool temp8
= false ;
28139 PyObject
* obj0
= 0 ;
28140 PyObject
* obj1
= 0 ;
28141 PyObject
* obj2
= 0 ;
28142 PyObject
* obj3
= 0 ;
28143 PyObject
* obj4
= 0 ;
28144 PyObject
* obj5
= 0 ;
28145 PyObject
* obj6
= 0 ;
28146 PyObject
* obj7
= 0 ;
28147 char *kwnames
[] = {
28148 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
28152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28153 if (SWIG_arg_fail(1)) SWIG_fail
;
28154 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28155 if (SWIG_arg_fail(2)) SWIG_fail
;
28158 arg3
= (int)(SWIG_As_int(obj2
));
28159 if (SWIG_arg_fail(3)) SWIG_fail
;
28165 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28171 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28176 arg6
= (long)(SWIG_As_long(obj5
));
28177 if (SWIG_arg_fail(6)) SWIG_fail
;
28182 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
28183 if (SWIG_arg_fail(7)) SWIG_fail
;
28184 if (arg7
== NULL
) {
28185 SWIG_null_ref("wxValidator");
28187 if (SWIG_arg_fail(7)) SWIG_fail
;
28192 arg8
= wxString_in_helper(obj7
);
28193 if (arg8
== NULL
) SWIG_fail
;
28198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28199 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28201 wxPyEndAllowThreads(__tstate
);
28202 if (PyErr_Occurred()) SWIG_fail
;
28205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28221 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28222 PyObject
*resultobj
;
28223 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28224 PyObject
*arg2
= (PyObject
*) 0 ;
28225 PyObject
*arg3
= (PyObject
*) 0 ;
28226 PyObject
* obj0
= 0 ;
28227 PyObject
* obj1
= 0 ;
28228 PyObject
* obj2
= 0 ;
28229 char *kwnames
[] = {
28230 (char *) "self",(char *) "self",(char *) "_class", NULL
28233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28235 if (SWIG_arg_fail(1)) SWIG_fail
;
28239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28240 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28242 wxPyEndAllowThreads(__tstate
);
28243 if (PyErr_Occurred()) SWIG_fail
;
28245 Py_INCREF(Py_None
); resultobj
= Py_None
;
28252 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28253 PyObject
*resultobj
;
28254 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28256 PyObject
* obj0
= 0 ;
28257 char *kwnames
[] = {
28258 (char *) "self", NULL
28261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
28262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28263 if (SWIG_arg_fail(1)) SWIG_fail
;
28265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28266 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
28268 wxPyEndAllowThreads(__tstate
);
28269 if (PyErr_Occurred()) SWIG_fail
;
28272 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
28280 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28281 PyObject
*resultobj
;
28282 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28283 unsigned int result
;
28284 PyObject
* obj0
= 0 ;
28285 char *kwnames
[] = {
28286 (char *) "self", NULL
28289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
28290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28291 if (SWIG_arg_fail(1)) SWIG_fail
;
28293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28294 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
28296 wxPyEndAllowThreads(__tstate
);
28297 if (PyErr_Occurred()) SWIG_fail
;
28300 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
28308 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28309 PyObject
*resultobj
;
28310 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28311 unsigned int arg2
;
28312 PyObject
* obj0
= 0 ;
28313 PyObject
* obj1
= 0 ;
28314 char *kwnames
[] = {
28315 (char *) "self",(char *) "indent", NULL
28318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
28319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28320 if (SWIG_arg_fail(1)) SWIG_fail
;
28322 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
28323 if (SWIG_arg_fail(2)) SWIG_fail
;
28326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28327 (arg1
)->SetIndent(arg2
);
28329 wxPyEndAllowThreads(__tstate
);
28330 if (PyErr_Occurred()) SWIG_fail
;
28332 Py_INCREF(Py_None
); resultobj
= Py_None
;
28339 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28340 PyObject
*resultobj
;
28341 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28342 unsigned int result
;
28343 PyObject
* obj0
= 0 ;
28344 char *kwnames
[] = {
28345 (char *) "self", NULL
28348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
28349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28350 if (SWIG_arg_fail(1)) SWIG_fail
;
28352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28353 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
28355 wxPyEndAllowThreads(__tstate
);
28356 if (PyErr_Occurred()) SWIG_fail
;
28359 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
28367 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28368 PyObject
*resultobj
;
28369 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28370 unsigned int arg2
;
28371 PyObject
* obj0
= 0 ;
28372 PyObject
* obj1
= 0 ;
28373 char *kwnames
[] = {
28374 (char *) "self",(char *) "spacing", NULL
28377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
28378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28379 if (SWIG_arg_fail(1)) SWIG_fail
;
28381 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
28382 if (SWIG_arg_fail(2)) SWIG_fail
;
28385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28386 (arg1
)->SetSpacing(arg2
);
28388 wxPyEndAllowThreads(__tstate
);
28389 if (PyErr_Occurred()) SWIG_fail
;
28391 Py_INCREF(Py_None
); resultobj
= Py_None
;
28398 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28399 PyObject
*resultobj
;
28400 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28401 wxImageList
*result
;
28402 PyObject
* obj0
= 0 ;
28403 char *kwnames
[] = {
28404 (char *) "self", NULL
28407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
28408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28409 if (SWIG_arg_fail(1)) SWIG_fail
;
28411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28412 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
28414 wxPyEndAllowThreads(__tstate
);
28415 if (PyErr_Occurred()) SWIG_fail
;
28418 resultobj
= wxPyMake_wxObject(result
, 0);
28426 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28427 PyObject
*resultobj
;
28428 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28429 wxImageList
*result
;
28430 PyObject
* obj0
= 0 ;
28431 char *kwnames
[] = {
28432 (char *) "self", NULL
28435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
28436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28437 if (SWIG_arg_fail(1)) SWIG_fail
;
28439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28440 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
28442 wxPyEndAllowThreads(__tstate
);
28443 if (PyErr_Occurred()) SWIG_fail
;
28446 resultobj
= wxPyMake_wxObject(result
, 0);
28454 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28455 PyObject
*resultobj
;
28456 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28457 wxImageList
*arg2
= (wxImageList
*) 0 ;
28458 PyObject
* obj0
= 0 ;
28459 PyObject
* obj1
= 0 ;
28460 char *kwnames
[] = {
28461 (char *) "self",(char *) "imageList", NULL
28464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28466 if (SWIG_arg_fail(1)) SWIG_fail
;
28467 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
28468 if (SWIG_arg_fail(2)) SWIG_fail
;
28470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28471 (arg1
)->SetImageList(arg2
);
28473 wxPyEndAllowThreads(__tstate
);
28474 if (PyErr_Occurred()) SWIG_fail
;
28476 Py_INCREF(Py_None
); resultobj
= Py_None
;
28483 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28484 PyObject
*resultobj
;
28485 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28486 wxImageList
*arg2
= (wxImageList
*) 0 ;
28487 PyObject
* obj0
= 0 ;
28488 PyObject
* obj1
= 0 ;
28489 char *kwnames
[] = {
28490 (char *) "self",(char *) "imageList", NULL
28493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28495 if (SWIG_arg_fail(1)) SWIG_fail
;
28496 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
28497 if (SWIG_arg_fail(2)) SWIG_fail
;
28499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28500 (arg1
)->SetStateImageList(arg2
);
28502 wxPyEndAllowThreads(__tstate
);
28503 if (PyErr_Occurred()) SWIG_fail
;
28505 Py_INCREF(Py_None
); resultobj
= Py_None
;
28512 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28513 PyObject
*resultobj
;
28514 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28515 wxImageList
*arg2
= (wxImageList
*) 0 ;
28516 PyObject
* obj0
= 0 ;
28517 PyObject
* obj1
= 0 ;
28518 char *kwnames
[] = {
28519 (char *) "self",(char *) "imageList", NULL
28522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28524 if (SWIG_arg_fail(1)) SWIG_fail
;
28525 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28526 if (SWIG_arg_fail(2)) SWIG_fail
;
28528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28529 (arg1
)->AssignImageList(arg2
);
28531 wxPyEndAllowThreads(__tstate
);
28532 if (PyErr_Occurred()) SWIG_fail
;
28534 Py_INCREF(Py_None
); resultobj
= Py_None
;
28541 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28542 PyObject
*resultobj
;
28543 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28544 wxImageList
*arg2
= (wxImageList
*) 0 ;
28545 PyObject
* obj0
= 0 ;
28546 PyObject
* obj1
= 0 ;
28547 char *kwnames
[] = {
28548 (char *) "self",(char *) "imageList", NULL
28551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28553 if (SWIG_arg_fail(1)) SWIG_fail
;
28554 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28555 if (SWIG_arg_fail(2)) SWIG_fail
;
28557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28558 (arg1
)->AssignStateImageList(arg2
);
28560 wxPyEndAllowThreads(__tstate
);
28561 if (PyErr_Occurred()) SWIG_fail
;
28563 Py_INCREF(Py_None
); resultobj
= Py_None
;
28570 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28571 PyObject
*resultobj
;
28572 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28573 wxTreeItemId
*arg2
= 0 ;
28575 PyObject
* obj0
= 0 ;
28576 PyObject
* obj1
= 0 ;
28577 char *kwnames
[] = {
28578 (char *) "self",(char *) "item", NULL
28581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
28582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28583 if (SWIG_arg_fail(1)) SWIG_fail
;
28585 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28586 if (SWIG_arg_fail(2)) SWIG_fail
;
28587 if (arg2
== NULL
) {
28588 SWIG_null_ref("wxTreeItemId");
28590 if (SWIG_arg_fail(2)) SWIG_fail
;
28593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28594 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
28596 wxPyEndAllowThreads(__tstate
);
28597 if (PyErr_Occurred()) SWIG_fail
;
28601 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28603 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28612 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28613 PyObject
*resultobj
;
28614 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28615 wxTreeItemId
*arg2
= 0 ;
28616 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
28618 PyObject
* obj0
= 0 ;
28619 PyObject
* obj1
= 0 ;
28620 PyObject
* obj2
= 0 ;
28621 char *kwnames
[] = {
28622 (char *) "self",(char *) "item",(char *) "which", NULL
28625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28627 if (SWIG_arg_fail(1)) SWIG_fail
;
28629 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28630 if (SWIG_arg_fail(2)) SWIG_fail
;
28631 if (arg2
== NULL
) {
28632 SWIG_null_ref("wxTreeItemId");
28634 if (SWIG_arg_fail(2)) SWIG_fail
;
28638 arg3
= (wxTreeItemIcon
)(SWIG_As_int(obj2
));
28639 if (SWIG_arg_fail(3)) SWIG_fail
;
28643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28644 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
28646 wxPyEndAllowThreads(__tstate
);
28647 if (PyErr_Occurred()) SWIG_fail
;
28650 resultobj
= SWIG_From_int((int)(result
));
28658 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28659 PyObject
*resultobj
;
28660 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28661 wxTreeItemId
*arg2
= 0 ;
28662 wxPyTreeItemData
*result
;
28663 PyObject
* obj0
= 0 ;
28664 PyObject
* obj1
= 0 ;
28665 char *kwnames
[] = {
28666 (char *) "self",(char *) "item", NULL
28669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
28670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28671 if (SWIG_arg_fail(1)) SWIG_fail
;
28673 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28674 if (SWIG_arg_fail(2)) SWIG_fail
;
28675 if (arg2
== NULL
) {
28676 SWIG_null_ref("wxTreeItemId");
28678 if (SWIG_arg_fail(2)) SWIG_fail
;
28681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28682 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
28684 wxPyEndAllowThreads(__tstate
);
28685 if (PyErr_Occurred()) SWIG_fail
;
28687 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
28694 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28695 PyObject
*resultobj
;
28696 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28697 wxTreeItemId
*arg2
= 0 ;
28699 PyObject
* obj0
= 0 ;
28700 PyObject
* obj1
= 0 ;
28701 char *kwnames
[] = {
28702 (char *) "self",(char *) "item", NULL
28705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
28706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28707 if (SWIG_arg_fail(1)) SWIG_fail
;
28709 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28710 if (SWIG_arg_fail(2)) SWIG_fail
;
28711 if (arg2
== NULL
) {
28712 SWIG_null_ref("wxTreeItemId");
28714 if (SWIG_arg_fail(2)) SWIG_fail
;
28717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28718 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
28720 wxPyEndAllowThreads(__tstate
);
28721 if (PyErr_Occurred()) SWIG_fail
;
28723 resultobj
= result
;
28730 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28731 PyObject
*resultobj
;
28732 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28733 wxTreeItemId
*arg2
= 0 ;
28735 PyObject
* obj0
= 0 ;
28736 PyObject
* obj1
= 0 ;
28737 char *kwnames
[] = {
28738 (char *) "self",(char *) "item", NULL
28741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28743 if (SWIG_arg_fail(1)) SWIG_fail
;
28745 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28746 if (SWIG_arg_fail(2)) SWIG_fail
;
28747 if (arg2
== NULL
) {
28748 SWIG_null_ref("wxTreeItemId");
28750 if (SWIG_arg_fail(2)) SWIG_fail
;
28753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28754 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
28756 wxPyEndAllowThreads(__tstate
);
28757 if (PyErr_Occurred()) SWIG_fail
;
28760 wxColour
* resultptr
;
28761 resultptr
= new wxColour((wxColour
&)(result
));
28762 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
28770 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28771 PyObject
*resultobj
;
28772 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28773 wxTreeItemId
*arg2
= 0 ;
28775 PyObject
* obj0
= 0 ;
28776 PyObject
* obj1
= 0 ;
28777 char *kwnames
[] = {
28778 (char *) "self",(char *) "item", NULL
28781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) 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
;
28793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28794 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
28796 wxPyEndAllowThreads(__tstate
);
28797 if (PyErr_Occurred()) SWIG_fail
;
28800 wxColour
* resultptr
;
28801 resultptr
= new wxColour((wxColour
&)(result
));
28802 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
28810 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28811 PyObject
*resultobj
;
28812 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28813 wxTreeItemId
*arg2
= 0 ;
28815 PyObject
* obj0
= 0 ;
28816 PyObject
* obj1
= 0 ;
28817 char *kwnames
[] = {
28818 (char *) "self",(char *) "item", NULL
28821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
28822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28823 if (SWIG_arg_fail(1)) SWIG_fail
;
28825 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28826 if (SWIG_arg_fail(2)) SWIG_fail
;
28827 if (arg2
== NULL
) {
28828 SWIG_null_ref("wxTreeItemId");
28830 if (SWIG_arg_fail(2)) SWIG_fail
;
28833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28834 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
28836 wxPyEndAllowThreads(__tstate
);
28837 if (PyErr_Occurred()) SWIG_fail
;
28840 wxFont
* resultptr
;
28841 resultptr
= new wxFont((wxFont
&)(result
));
28842 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
28850 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28851 PyObject
*resultobj
;
28852 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28853 wxTreeItemId
*arg2
= 0 ;
28854 wxString
*arg3
= 0 ;
28855 bool temp3
= false ;
28856 PyObject
* obj0
= 0 ;
28857 PyObject
* obj1
= 0 ;
28858 PyObject
* obj2
= 0 ;
28859 char *kwnames
[] = {
28860 (char *) "self",(char *) "item",(char *) "text", NULL
28863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28865 if (SWIG_arg_fail(1)) SWIG_fail
;
28867 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28868 if (SWIG_arg_fail(2)) SWIG_fail
;
28869 if (arg2
== NULL
) {
28870 SWIG_null_ref("wxTreeItemId");
28872 if (SWIG_arg_fail(2)) SWIG_fail
;
28875 arg3
= wxString_in_helper(obj2
);
28876 if (arg3
== NULL
) SWIG_fail
;
28880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28881 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
28883 wxPyEndAllowThreads(__tstate
);
28884 if (PyErr_Occurred()) SWIG_fail
;
28886 Py_INCREF(Py_None
); resultobj
= Py_None
;
28901 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28902 PyObject
*resultobj
;
28903 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28904 wxTreeItemId
*arg2
= 0 ;
28906 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
28907 PyObject
* obj0
= 0 ;
28908 PyObject
* obj1
= 0 ;
28909 PyObject
* obj2
= 0 ;
28910 PyObject
* obj3
= 0 ;
28911 char *kwnames
[] = {
28912 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
28915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28917 if (SWIG_arg_fail(1)) SWIG_fail
;
28919 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28920 if (SWIG_arg_fail(2)) SWIG_fail
;
28921 if (arg2
== NULL
) {
28922 SWIG_null_ref("wxTreeItemId");
28924 if (SWIG_arg_fail(2)) SWIG_fail
;
28927 arg3
= (int)(SWIG_As_int(obj2
));
28928 if (SWIG_arg_fail(3)) SWIG_fail
;
28932 arg4
= (wxTreeItemIcon
)(SWIG_As_int(obj3
));
28933 if (SWIG_arg_fail(4)) SWIG_fail
;
28937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28938 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
28940 wxPyEndAllowThreads(__tstate
);
28941 if (PyErr_Occurred()) SWIG_fail
;
28943 Py_INCREF(Py_None
); resultobj
= Py_None
;
28950 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28951 PyObject
*resultobj
;
28952 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28953 wxTreeItemId
*arg2
= 0 ;
28954 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
28955 PyObject
* obj0
= 0 ;
28956 PyObject
* obj1
= 0 ;
28957 PyObject
* obj2
= 0 ;
28958 char *kwnames
[] = {
28959 (char *) "self",(char *) "item",(char *) "data", NULL
28962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28964 if (SWIG_arg_fail(1)) SWIG_fail
;
28966 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28967 if (SWIG_arg_fail(2)) SWIG_fail
;
28968 if (arg2
== NULL
) {
28969 SWIG_null_ref("wxTreeItemId");
28971 if (SWIG_arg_fail(2)) SWIG_fail
;
28973 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
28974 if (SWIG_arg_fail(3)) SWIG_fail
;
28976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28977 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
28979 wxPyEndAllowThreads(__tstate
);
28980 if (PyErr_Occurred()) SWIG_fail
;
28982 Py_INCREF(Py_None
); resultobj
= Py_None
;
28989 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28990 PyObject
*resultobj
;
28991 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28992 wxTreeItemId
*arg2
= 0 ;
28993 PyObject
*arg3
= (PyObject
*) 0 ;
28994 PyObject
* obj0
= 0 ;
28995 PyObject
* obj1
= 0 ;
28996 PyObject
* obj2
= 0 ;
28997 char *kwnames
[] = {
28998 (char *) "self",(char *) "item",(char *) "obj", NULL
29001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29003 if (SWIG_arg_fail(1)) SWIG_fail
;
29005 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29006 if (SWIG_arg_fail(2)) SWIG_fail
;
29007 if (arg2
== NULL
) {
29008 SWIG_null_ref("wxTreeItemId");
29010 if (SWIG_arg_fail(2)) SWIG_fail
;
29014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29015 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
29017 wxPyEndAllowThreads(__tstate
);
29018 if (PyErr_Occurred()) SWIG_fail
;
29020 Py_INCREF(Py_None
); resultobj
= Py_None
;
29027 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29028 PyObject
*resultobj
;
29029 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29030 wxTreeItemId
*arg2
= 0 ;
29031 bool arg3
= (bool) true ;
29032 PyObject
* obj0
= 0 ;
29033 PyObject
* obj1
= 0 ;
29034 PyObject
* obj2
= 0 ;
29035 char *kwnames
[] = {
29036 (char *) "self",(char *) "item",(char *) "has", NULL
29039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29041 if (SWIG_arg_fail(1)) SWIG_fail
;
29043 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29044 if (SWIG_arg_fail(2)) SWIG_fail
;
29045 if (arg2
== NULL
) {
29046 SWIG_null_ref("wxTreeItemId");
29048 if (SWIG_arg_fail(2)) SWIG_fail
;
29052 arg3
= (bool)(SWIG_As_bool(obj2
));
29053 if (SWIG_arg_fail(3)) SWIG_fail
;
29057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29058 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
29060 wxPyEndAllowThreads(__tstate
);
29061 if (PyErr_Occurred()) SWIG_fail
;
29063 Py_INCREF(Py_None
); resultobj
= Py_None
;
29070 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29071 PyObject
*resultobj
;
29072 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29073 wxTreeItemId
*arg2
= 0 ;
29074 bool arg3
= (bool) true ;
29075 PyObject
* obj0
= 0 ;
29076 PyObject
* obj1
= 0 ;
29077 PyObject
* obj2
= 0 ;
29078 char *kwnames
[] = {
29079 (char *) "self",(char *) "item",(char *) "bold", NULL
29082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29084 if (SWIG_arg_fail(1)) SWIG_fail
;
29086 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29087 if (SWIG_arg_fail(2)) SWIG_fail
;
29088 if (arg2
== NULL
) {
29089 SWIG_null_ref("wxTreeItemId");
29091 if (SWIG_arg_fail(2)) SWIG_fail
;
29095 arg3
= (bool)(SWIG_As_bool(obj2
));
29096 if (SWIG_arg_fail(3)) SWIG_fail
;
29100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29101 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
29103 wxPyEndAllowThreads(__tstate
);
29104 if (PyErr_Occurred()) SWIG_fail
;
29106 Py_INCREF(Py_None
); resultobj
= Py_None
;
29113 static PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29114 PyObject
*resultobj
;
29115 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29116 wxTreeItemId
*arg2
= 0 ;
29117 bool arg3
= (bool) true ;
29118 PyObject
* obj0
= 0 ;
29119 PyObject
* obj1
= 0 ;
29120 PyObject
* obj2
= 0 ;
29121 char *kwnames
[] = {
29122 (char *) "self",(char *) "item",(char *) "highlight", NULL
29125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29127 if (SWIG_arg_fail(1)) SWIG_fail
;
29129 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29130 if (SWIG_arg_fail(2)) SWIG_fail
;
29131 if (arg2
== NULL
) {
29132 SWIG_null_ref("wxTreeItemId");
29134 if (SWIG_arg_fail(2)) SWIG_fail
;
29138 arg3
= (bool)(SWIG_As_bool(obj2
));
29139 if (SWIG_arg_fail(3)) SWIG_fail
;
29143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29144 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
29146 wxPyEndAllowThreads(__tstate
);
29147 if (PyErr_Occurred()) SWIG_fail
;
29149 Py_INCREF(Py_None
); resultobj
= Py_None
;
29156 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29157 PyObject
*resultobj
;
29158 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29159 wxTreeItemId
*arg2
= 0 ;
29160 wxColour
*arg3
= 0 ;
29162 PyObject
* obj0
= 0 ;
29163 PyObject
* obj1
= 0 ;
29164 PyObject
* obj2
= 0 ;
29165 char *kwnames
[] = {
29166 (char *) "self",(char *) "item",(char *) "col", NULL
29169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29171 if (SWIG_arg_fail(1)) SWIG_fail
;
29173 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29174 if (SWIG_arg_fail(2)) SWIG_fail
;
29175 if (arg2
== NULL
) {
29176 SWIG_null_ref("wxTreeItemId");
29178 if (SWIG_arg_fail(2)) SWIG_fail
;
29182 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29186 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
29188 wxPyEndAllowThreads(__tstate
);
29189 if (PyErr_Occurred()) SWIG_fail
;
29191 Py_INCREF(Py_None
); resultobj
= Py_None
;
29198 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29199 PyObject
*resultobj
;
29200 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29201 wxTreeItemId
*arg2
= 0 ;
29202 wxColour
*arg3
= 0 ;
29204 PyObject
* obj0
= 0 ;
29205 PyObject
* obj1
= 0 ;
29206 PyObject
* obj2
= 0 ;
29207 char *kwnames
[] = {
29208 (char *) "self",(char *) "item",(char *) "col", NULL
29211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29213 if (SWIG_arg_fail(1)) SWIG_fail
;
29215 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29216 if (SWIG_arg_fail(2)) SWIG_fail
;
29217 if (arg2
== NULL
) {
29218 SWIG_null_ref("wxTreeItemId");
29220 if (SWIG_arg_fail(2)) SWIG_fail
;
29224 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29228 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
29230 wxPyEndAllowThreads(__tstate
);
29231 if (PyErr_Occurred()) SWIG_fail
;
29233 Py_INCREF(Py_None
); resultobj
= Py_None
;
29240 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29241 PyObject
*resultobj
;
29242 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29243 wxTreeItemId
*arg2
= 0 ;
29245 PyObject
* obj0
= 0 ;
29246 PyObject
* obj1
= 0 ;
29247 PyObject
* obj2
= 0 ;
29248 char *kwnames
[] = {
29249 (char *) "self",(char *) "item",(char *) "font", NULL
29252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29254 if (SWIG_arg_fail(1)) SWIG_fail
;
29256 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29257 if (SWIG_arg_fail(2)) SWIG_fail
;
29258 if (arg2
== NULL
) {
29259 SWIG_null_ref("wxTreeItemId");
29261 if (SWIG_arg_fail(2)) SWIG_fail
;
29264 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29265 if (SWIG_arg_fail(3)) SWIG_fail
;
29266 if (arg3
== NULL
) {
29267 SWIG_null_ref("wxFont");
29269 if (SWIG_arg_fail(3)) SWIG_fail
;
29272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29273 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
29275 wxPyEndAllowThreads(__tstate
);
29276 if (PyErr_Occurred()) SWIG_fail
;
29278 Py_INCREF(Py_None
); resultobj
= Py_None
;
29285 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29286 PyObject
*resultobj
;
29287 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29288 wxTreeItemId
*arg2
= 0 ;
29290 PyObject
* obj0
= 0 ;
29291 PyObject
* obj1
= 0 ;
29292 char *kwnames
[] = {
29293 (char *) "self",(char *) "item", NULL
29296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29298 if (SWIG_arg_fail(1)) SWIG_fail
;
29300 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29301 if (SWIG_arg_fail(2)) SWIG_fail
;
29302 if (arg2
== NULL
) {
29303 SWIG_null_ref("wxTreeItemId");
29305 if (SWIG_arg_fail(2)) SWIG_fail
;
29308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29309 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
29311 wxPyEndAllowThreads(__tstate
);
29312 if (PyErr_Occurred()) SWIG_fail
;
29315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29323 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29324 PyObject
*resultobj
;
29325 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29326 wxTreeItemId
*arg2
= 0 ;
29328 PyObject
* obj0
= 0 ;
29329 PyObject
* obj1
= 0 ;
29330 char *kwnames
[] = {
29331 (char *) "self",(char *) "item", NULL
29334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
29335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29336 if (SWIG_arg_fail(1)) SWIG_fail
;
29338 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29339 if (SWIG_arg_fail(2)) SWIG_fail
;
29340 if (arg2
== NULL
) {
29341 SWIG_null_ref("wxTreeItemId");
29343 if (SWIG_arg_fail(2)) SWIG_fail
;
29346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29347 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
29349 wxPyEndAllowThreads(__tstate
);
29350 if (PyErr_Occurred()) SWIG_fail
;
29353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29361 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29362 PyObject
*resultobj
;
29363 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29364 wxTreeItemId
*arg2
= 0 ;
29366 PyObject
* obj0
= 0 ;
29367 PyObject
* obj1
= 0 ;
29368 char *kwnames
[] = {
29369 (char *) "self",(char *) "item", NULL
29372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
29373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29374 if (SWIG_arg_fail(1)) SWIG_fail
;
29376 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29377 if (SWIG_arg_fail(2)) SWIG_fail
;
29378 if (arg2
== NULL
) {
29379 SWIG_null_ref("wxTreeItemId");
29381 if (SWIG_arg_fail(2)) SWIG_fail
;
29384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29385 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
29387 wxPyEndAllowThreads(__tstate
);
29388 if (PyErr_Occurred()) SWIG_fail
;
29391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29399 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29400 PyObject
*resultobj
;
29401 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29402 wxTreeItemId
*arg2
= 0 ;
29404 PyObject
* obj0
= 0 ;
29405 PyObject
* obj1
= 0 ;
29406 char *kwnames
[] = {
29407 (char *) "self",(char *) "item", NULL
29410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
29411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29412 if (SWIG_arg_fail(1)) SWIG_fail
;
29414 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29415 if (SWIG_arg_fail(2)) SWIG_fail
;
29416 if (arg2
== NULL
) {
29417 SWIG_null_ref("wxTreeItemId");
29419 if (SWIG_arg_fail(2)) SWIG_fail
;
29422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29423 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
29425 wxPyEndAllowThreads(__tstate
);
29426 if (PyErr_Occurred()) SWIG_fail
;
29429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29437 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29438 PyObject
*resultobj
;
29439 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29440 wxTreeItemId
*arg2
= 0 ;
29442 PyObject
* obj0
= 0 ;
29443 PyObject
* obj1
= 0 ;
29444 char *kwnames
[] = {
29445 (char *) "self",(char *) "item", NULL
29448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
29449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29450 if (SWIG_arg_fail(1)) SWIG_fail
;
29452 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29453 if (SWIG_arg_fail(2)) SWIG_fail
;
29454 if (arg2
== NULL
) {
29455 SWIG_null_ref("wxTreeItemId");
29457 if (SWIG_arg_fail(2)) SWIG_fail
;
29460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29461 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
29463 wxPyEndAllowThreads(__tstate
);
29464 if (PyErr_Occurred()) SWIG_fail
;
29467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29475 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29476 PyObject
*resultobj
;
29477 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29478 wxTreeItemId
*arg2
= 0 ;
29479 bool arg3
= (bool) true ;
29481 PyObject
* obj0
= 0 ;
29482 PyObject
* obj1
= 0 ;
29483 PyObject
* obj2
= 0 ;
29484 char *kwnames
[] = {
29485 (char *) "self",(char *) "item",(char *) "recursively", NULL
29488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29490 if (SWIG_arg_fail(1)) SWIG_fail
;
29492 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29493 if (SWIG_arg_fail(2)) SWIG_fail
;
29494 if (arg2
== NULL
) {
29495 SWIG_null_ref("wxTreeItemId");
29497 if (SWIG_arg_fail(2)) SWIG_fail
;
29501 arg3
= (bool)(SWIG_As_bool(obj2
));
29502 if (SWIG_arg_fail(3)) SWIG_fail
;
29506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29507 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
29509 wxPyEndAllowThreads(__tstate
);
29510 if (PyErr_Occurred()) SWIG_fail
;
29513 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
29521 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29522 PyObject
*resultobj
;
29523 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29524 wxTreeItemId result
;
29525 PyObject
* obj0
= 0 ;
29526 char *kwnames
[] = {
29527 (char *) "self", NULL
29530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
29531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29532 if (SWIG_arg_fail(1)) SWIG_fail
;
29534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29535 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
29537 wxPyEndAllowThreads(__tstate
);
29538 if (PyErr_Occurred()) SWIG_fail
;
29541 wxTreeItemId
* resultptr
;
29542 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29543 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29551 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29552 PyObject
*resultobj
;
29553 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29554 wxTreeItemId result
;
29555 PyObject
* obj0
= 0 ;
29556 char *kwnames
[] = {
29557 (char *) "self", NULL
29560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
29561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29562 if (SWIG_arg_fail(1)) SWIG_fail
;
29564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29565 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
29567 wxPyEndAllowThreads(__tstate
);
29568 if (PyErr_Occurred()) SWIG_fail
;
29571 wxTreeItemId
* resultptr
;
29572 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29573 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29581 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29582 PyObject
*resultobj
;
29583 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29585 PyObject
* obj0
= 0 ;
29586 char *kwnames
[] = {
29587 (char *) "self", NULL
29590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
29591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29592 if (SWIG_arg_fail(1)) SWIG_fail
;
29594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29595 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
29597 wxPyEndAllowThreads(__tstate
);
29598 if (PyErr_Occurred()) SWIG_fail
;
29600 resultobj
= result
;
29607 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29608 PyObject
*resultobj
;
29609 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29610 wxTreeItemId
*arg2
= 0 ;
29611 wxTreeItemId result
;
29612 PyObject
* obj0
= 0 ;
29613 PyObject
* obj1
= 0 ;
29614 char *kwnames
[] = {
29615 (char *) "self",(char *) "item", NULL
29618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
29619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29620 if (SWIG_arg_fail(1)) SWIG_fail
;
29622 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29623 if (SWIG_arg_fail(2)) SWIG_fail
;
29624 if (arg2
== NULL
) {
29625 SWIG_null_ref("wxTreeItemId");
29627 if (SWIG_arg_fail(2)) SWIG_fail
;
29630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29631 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
29633 wxPyEndAllowThreads(__tstate
);
29634 if (PyErr_Occurred()) SWIG_fail
;
29637 wxTreeItemId
* resultptr
;
29638 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29639 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29647 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29648 PyObject
*resultobj
;
29649 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29650 wxTreeItemId
*arg2
= 0 ;
29652 PyObject
* obj0
= 0 ;
29653 PyObject
* obj1
= 0 ;
29654 char *kwnames
[] = {
29655 (char *) "self",(char *) "item", NULL
29658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29660 if (SWIG_arg_fail(1)) SWIG_fail
;
29662 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29663 if (SWIG_arg_fail(2)) SWIG_fail
;
29664 if (arg2
== NULL
) {
29665 SWIG_null_ref("wxTreeItemId");
29667 if (SWIG_arg_fail(2)) SWIG_fail
;
29670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29671 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
29673 wxPyEndAllowThreads(__tstate
);
29674 if (PyErr_Occurred()) SWIG_fail
;
29676 resultobj
= result
;
29683 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29684 PyObject
*resultobj
;
29685 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29686 wxTreeItemId
*arg2
= 0 ;
29687 void *arg3
= (void *) 0 ;
29689 PyObject
* obj0
= 0 ;
29690 PyObject
* obj1
= 0 ;
29691 PyObject
* obj2
= 0 ;
29692 char *kwnames
[] = {
29693 (char *) "self",(char *) "item",(char *) "cookie", NULL
29696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29698 if (SWIG_arg_fail(1)) SWIG_fail
;
29700 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29701 if (SWIG_arg_fail(2)) SWIG_fail
;
29702 if (arg2
== NULL
) {
29703 SWIG_null_ref("wxTreeItemId");
29705 if (SWIG_arg_fail(2)) SWIG_fail
;
29708 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),0,SWIG_POINTER_EXCEPTION
|0))== -1) {
29709 SWIG_arg_fail(3);SWIG_fail
;
29713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29714 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
29716 wxPyEndAllowThreads(__tstate
);
29717 if (PyErr_Occurred()) SWIG_fail
;
29719 resultobj
= result
;
29726 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29727 PyObject
*resultobj
;
29728 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29729 wxTreeItemId
*arg2
= 0 ;
29730 wxTreeItemId result
;
29731 PyObject
* obj0
= 0 ;
29732 PyObject
* obj1
= 0 ;
29733 char *kwnames
[] = {
29734 (char *) "self",(char *) "item", NULL
29737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29739 if (SWIG_arg_fail(1)) SWIG_fail
;
29741 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29742 if (SWIG_arg_fail(2)) SWIG_fail
;
29743 if (arg2
== NULL
) {
29744 SWIG_null_ref("wxTreeItemId");
29746 if (SWIG_arg_fail(2)) SWIG_fail
;
29749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29750 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
29752 wxPyEndAllowThreads(__tstate
);
29753 if (PyErr_Occurred()) SWIG_fail
;
29756 wxTreeItemId
* resultptr
;
29757 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29758 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29766 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29767 PyObject
*resultobj
;
29768 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29769 wxTreeItemId
*arg2
= 0 ;
29770 wxTreeItemId result
;
29771 PyObject
* obj0
= 0 ;
29772 PyObject
* obj1
= 0 ;
29773 char *kwnames
[] = {
29774 (char *) "self",(char *) "item", NULL
29777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
29778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29779 if (SWIG_arg_fail(1)) SWIG_fail
;
29781 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29782 if (SWIG_arg_fail(2)) SWIG_fail
;
29783 if (arg2
== NULL
) {
29784 SWIG_null_ref("wxTreeItemId");
29786 if (SWIG_arg_fail(2)) SWIG_fail
;
29789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29790 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
29792 wxPyEndAllowThreads(__tstate
);
29793 if (PyErr_Occurred()) SWIG_fail
;
29796 wxTreeItemId
* resultptr
;
29797 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29798 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29806 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29807 PyObject
*resultobj
;
29808 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29809 wxTreeItemId
*arg2
= 0 ;
29810 wxTreeItemId result
;
29811 PyObject
* obj0
= 0 ;
29812 PyObject
* obj1
= 0 ;
29813 char *kwnames
[] = {
29814 (char *) "self",(char *) "item", NULL
29817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
29818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29819 if (SWIG_arg_fail(1)) SWIG_fail
;
29821 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29822 if (SWIG_arg_fail(2)) SWIG_fail
;
29823 if (arg2
== NULL
) {
29824 SWIG_null_ref("wxTreeItemId");
29826 if (SWIG_arg_fail(2)) SWIG_fail
;
29829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29830 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
29832 wxPyEndAllowThreads(__tstate
);
29833 if (PyErr_Occurred()) SWIG_fail
;
29836 wxTreeItemId
* resultptr
;
29837 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29838 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29846 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29847 PyObject
*resultobj
;
29848 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29849 wxTreeItemId result
;
29850 PyObject
* obj0
= 0 ;
29851 char *kwnames
[] = {
29852 (char *) "self", NULL
29855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
29856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29857 if (SWIG_arg_fail(1)) SWIG_fail
;
29859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29860 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
29862 wxPyEndAllowThreads(__tstate
);
29863 if (PyErr_Occurred()) SWIG_fail
;
29866 wxTreeItemId
* resultptr
;
29867 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29868 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29876 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29877 PyObject
*resultobj
;
29878 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29879 wxTreeItemId
*arg2
= 0 ;
29880 wxTreeItemId result
;
29881 PyObject
* obj0
= 0 ;
29882 PyObject
* obj1
= 0 ;
29883 char *kwnames
[] = {
29884 (char *) "self",(char *) "item", NULL
29887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29889 if (SWIG_arg_fail(1)) SWIG_fail
;
29891 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29892 if (SWIG_arg_fail(2)) SWIG_fail
;
29893 if (arg2
== NULL
) {
29894 SWIG_null_ref("wxTreeItemId");
29896 if (SWIG_arg_fail(2)) SWIG_fail
;
29899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29900 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
29902 wxPyEndAllowThreads(__tstate
);
29903 if (PyErr_Occurred()) SWIG_fail
;
29906 wxTreeItemId
* resultptr
;
29907 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29908 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29916 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29917 PyObject
*resultobj
;
29918 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29919 wxTreeItemId
*arg2
= 0 ;
29920 wxTreeItemId result
;
29921 PyObject
* obj0
= 0 ;
29922 PyObject
* obj1
= 0 ;
29923 char *kwnames
[] = {
29924 (char *) "self",(char *) "item", NULL
29927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29929 if (SWIG_arg_fail(1)) SWIG_fail
;
29931 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29932 if (SWIG_arg_fail(2)) SWIG_fail
;
29933 if (arg2
== NULL
) {
29934 SWIG_null_ref("wxTreeItemId");
29936 if (SWIG_arg_fail(2)) SWIG_fail
;
29939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29940 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
29942 wxPyEndAllowThreads(__tstate
);
29943 if (PyErr_Occurred()) SWIG_fail
;
29946 wxTreeItemId
* resultptr
;
29947 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29948 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29956 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29957 PyObject
*resultobj
;
29958 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29959 wxString
*arg2
= 0 ;
29960 int arg3
= (int) -1 ;
29961 int arg4
= (int) -1 ;
29962 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
29963 wxTreeItemId result
;
29964 bool temp2
= false ;
29965 PyObject
* obj0
= 0 ;
29966 PyObject
* obj1
= 0 ;
29967 PyObject
* obj2
= 0 ;
29968 PyObject
* obj3
= 0 ;
29969 PyObject
* obj4
= 0 ;
29970 char *kwnames
[] = {
29971 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29976 if (SWIG_arg_fail(1)) SWIG_fail
;
29978 arg2
= wxString_in_helper(obj1
);
29979 if (arg2
== NULL
) SWIG_fail
;
29984 arg3
= (int)(SWIG_As_int(obj2
));
29985 if (SWIG_arg_fail(3)) SWIG_fail
;
29990 arg4
= (int)(SWIG_As_int(obj3
));
29991 if (SWIG_arg_fail(4)) SWIG_fail
;
29995 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
29996 if (SWIG_arg_fail(5)) SWIG_fail
;
29999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30000 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
30002 wxPyEndAllowThreads(__tstate
);
30003 if (PyErr_Occurred()) SWIG_fail
;
30006 wxTreeItemId
* resultptr
;
30007 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30008 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30024 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30025 PyObject
*resultobj
;
30026 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30027 wxTreeItemId
*arg2
= 0 ;
30028 wxString
*arg3
= 0 ;
30029 int arg4
= (int) -1 ;
30030 int arg5
= (int) -1 ;
30031 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
30032 wxTreeItemId result
;
30033 bool temp3
= false ;
30034 PyObject
* obj0
= 0 ;
30035 PyObject
* obj1
= 0 ;
30036 PyObject
* obj2
= 0 ;
30037 PyObject
* obj3
= 0 ;
30038 PyObject
* obj4
= 0 ;
30039 PyObject
* obj5
= 0 ;
30040 char *kwnames
[] = {
30041 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30046 if (SWIG_arg_fail(1)) SWIG_fail
;
30048 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30049 if (SWIG_arg_fail(2)) SWIG_fail
;
30050 if (arg2
== NULL
) {
30051 SWIG_null_ref("wxTreeItemId");
30053 if (SWIG_arg_fail(2)) SWIG_fail
;
30056 arg3
= wxString_in_helper(obj2
);
30057 if (arg3
== NULL
) SWIG_fail
;
30062 arg4
= (int)(SWIG_As_int(obj3
));
30063 if (SWIG_arg_fail(4)) SWIG_fail
;
30068 arg5
= (int)(SWIG_As_int(obj4
));
30069 if (SWIG_arg_fail(5)) SWIG_fail
;
30073 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30074 if (SWIG_arg_fail(6)) SWIG_fail
;
30077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30078 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
30080 wxPyEndAllowThreads(__tstate
);
30081 if (PyErr_Occurred()) SWIG_fail
;
30084 wxTreeItemId
* resultptr
;
30085 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30086 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30102 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30103 PyObject
*resultobj
;
30104 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30105 wxTreeItemId
*arg2
= 0 ;
30106 wxTreeItemId
*arg3
= 0 ;
30107 wxString
*arg4
= 0 ;
30108 int arg5
= (int) -1 ;
30109 int arg6
= (int) -1 ;
30110 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
30111 wxTreeItemId result
;
30112 bool temp4
= false ;
30113 PyObject
* obj0
= 0 ;
30114 PyObject
* obj1
= 0 ;
30115 PyObject
* obj2
= 0 ;
30116 PyObject
* obj3
= 0 ;
30117 PyObject
* obj4
= 0 ;
30118 PyObject
* obj5
= 0 ;
30119 PyObject
* obj6
= 0 ;
30120 char *kwnames
[] = {
30121 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30126 if (SWIG_arg_fail(1)) SWIG_fail
;
30128 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30129 if (SWIG_arg_fail(2)) SWIG_fail
;
30130 if (arg2
== NULL
) {
30131 SWIG_null_ref("wxTreeItemId");
30133 if (SWIG_arg_fail(2)) SWIG_fail
;
30136 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30137 if (SWIG_arg_fail(3)) SWIG_fail
;
30138 if (arg3
== NULL
) {
30139 SWIG_null_ref("wxTreeItemId");
30141 if (SWIG_arg_fail(3)) SWIG_fail
;
30144 arg4
= wxString_in_helper(obj3
);
30145 if (arg4
== NULL
) SWIG_fail
;
30150 arg5
= (int)(SWIG_As_int(obj4
));
30151 if (SWIG_arg_fail(5)) SWIG_fail
;
30156 arg6
= (int)(SWIG_As_int(obj5
));
30157 if (SWIG_arg_fail(6)) SWIG_fail
;
30161 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30162 if (SWIG_arg_fail(7)) SWIG_fail
;
30165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30166 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
30168 wxPyEndAllowThreads(__tstate
);
30169 if (PyErr_Occurred()) SWIG_fail
;
30172 wxTreeItemId
* resultptr
;
30173 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30174 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30190 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30191 PyObject
*resultobj
;
30192 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30193 wxTreeItemId
*arg2
= 0 ;
30195 wxString
*arg4
= 0 ;
30196 int arg5
= (int) -1 ;
30197 int arg6
= (int) -1 ;
30198 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
30199 wxTreeItemId result
;
30200 bool temp4
= false ;
30201 PyObject
* obj0
= 0 ;
30202 PyObject
* obj1
= 0 ;
30203 PyObject
* obj2
= 0 ;
30204 PyObject
* obj3
= 0 ;
30205 PyObject
* obj4
= 0 ;
30206 PyObject
* obj5
= 0 ;
30207 PyObject
* obj6
= 0 ;
30208 char *kwnames
[] = {
30209 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30214 if (SWIG_arg_fail(1)) SWIG_fail
;
30216 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30217 if (SWIG_arg_fail(2)) SWIG_fail
;
30218 if (arg2
== NULL
) {
30219 SWIG_null_ref("wxTreeItemId");
30221 if (SWIG_arg_fail(2)) SWIG_fail
;
30224 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
30225 if (SWIG_arg_fail(3)) SWIG_fail
;
30228 arg4
= wxString_in_helper(obj3
);
30229 if (arg4
== NULL
) SWIG_fail
;
30234 arg5
= (int)(SWIG_As_int(obj4
));
30235 if (SWIG_arg_fail(5)) SWIG_fail
;
30240 arg6
= (int)(SWIG_As_int(obj5
));
30241 if (SWIG_arg_fail(6)) SWIG_fail
;
30245 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30246 if (SWIG_arg_fail(7)) SWIG_fail
;
30249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30250 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
30252 wxPyEndAllowThreads(__tstate
);
30253 if (PyErr_Occurred()) SWIG_fail
;
30256 wxTreeItemId
* resultptr
;
30257 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30258 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30274 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30275 PyObject
*resultobj
;
30276 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30277 wxTreeItemId
*arg2
= 0 ;
30278 wxString
*arg3
= 0 ;
30279 int arg4
= (int) -1 ;
30280 int arg5
= (int) -1 ;
30281 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
30282 wxTreeItemId result
;
30283 bool temp3
= false ;
30284 PyObject
* obj0
= 0 ;
30285 PyObject
* obj1
= 0 ;
30286 PyObject
* obj2
= 0 ;
30287 PyObject
* obj3
= 0 ;
30288 PyObject
* obj4
= 0 ;
30289 PyObject
* obj5
= 0 ;
30290 char *kwnames
[] = {
30291 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30296 if (SWIG_arg_fail(1)) SWIG_fail
;
30298 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30299 if (SWIG_arg_fail(2)) SWIG_fail
;
30300 if (arg2
== NULL
) {
30301 SWIG_null_ref("wxTreeItemId");
30303 if (SWIG_arg_fail(2)) SWIG_fail
;
30306 arg3
= wxString_in_helper(obj2
);
30307 if (arg3
== NULL
) SWIG_fail
;
30312 arg4
= (int)(SWIG_As_int(obj3
));
30313 if (SWIG_arg_fail(4)) SWIG_fail
;
30318 arg5
= (int)(SWIG_As_int(obj4
));
30319 if (SWIG_arg_fail(5)) SWIG_fail
;
30323 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30324 if (SWIG_arg_fail(6)) SWIG_fail
;
30327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30328 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
30330 wxPyEndAllowThreads(__tstate
);
30331 if (PyErr_Occurred()) SWIG_fail
;
30334 wxTreeItemId
* resultptr
;
30335 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30336 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30352 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30353 PyObject
*resultobj
;
30354 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30355 wxTreeItemId
*arg2
= 0 ;
30356 PyObject
* obj0
= 0 ;
30357 PyObject
* obj1
= 0 ;
30358 char *kwnames
[] = {
30359 (char *) "self",(char *) "item", NULL
30362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
30363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30364 if (SWIG_arg_fail(1)) SWIG_fail
;
30366 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30367 if (SWIG_arg_fail(2)) SWIG_fail
;
30368 if (arg2
== NULL
) {
30369 SWIG_null_ref("wxTreeItemId");
30371 if (SWIG_arg_fail(2)) SWIG_fail
;
30374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30375 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
30377 wxPyEndAllowThreads(__tstate
);
30378 if (PyErr_Occurred()) SWIG_fail
;
30380 Py_INCREF(Py_None
); resultobj
= Py_None
;
30387 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30388 PyObject
*resultobj
;
30389 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30390 wxTreeItemId
*arg2
= 0 ;
30391 PyObject
* obj0
= 0 ;
30392 PyObject
* obj1
= 0 ;
30393 char *kwnames
[] = {
30394 (char *) "self",(char *) "item", NULL
30397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
30398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30399 if (SWIG_arg_fail(1)) SWIG_fail
;
30401 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30402 if (SWIG_arg_fail(2)) SWIG_fail
;
30403 if (arg2
== NULL
) {
30404 SWIG_null_ref("wxTreeItemId");
30406 if (SWIG_arg_fail(2)) SWIG_fail
;
30409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30410 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
30412 wxPyEndAllowThreads(__tstate
);
30413 if (PyErr_Occurred()) SWIG_fail
;
30415 Py_INCREF(Py_None
); resultobj
= Py_None
;
30422 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30423 PyObject
*resultobj
;
30424 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30425 PyObject
* obj0
= 0 ;
30426 char *kwnames
[] = {
30427 (char *) "self", NULL
30430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
30431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30432 if (SWIG_arg_fail(1)) SWIG_fail
;
30434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30435 (arg1
)->DeleteAllItems();
30437 wxPyEndAllowThreads(__tstate
);
30438 if (PyErr_Occurred()) SWIG_fail
;
30440 Py_INCREF(Py_None
); resultobj
= Py_None
;
30447 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30448 PyObject
*resultobj
;
30449 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30450 wxTreeItemId
*arg2
= 0 ;
30451 PyObject
* obj0
= 0 ;
30452 PyObject
* obj1
= 0 ;
30453 char *kwnames
[] = {
30454 (char *) "self",(char *) "item", NULL
30457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
30458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30459 if (SWIG_arg_fail(1)) SWIG_fail
;
30461 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30462 if (SWIG_arg_fail(2)) SWIG_fail
;
30463 if (arg2
== NULL
) {
30464 SWIG_null_ref("wxTreeItemId");
30466 if (SWIG_arg_fail(2)) SWIG_fail
;
30469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30470 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
30472 wxPyEndAllowThreads(__tstate
);
30473 if (PyErr_Occurred()) SWIG_fail
;
30475 Py_INCREF(Py_None
); resultobj
= Py_None
;
30482 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30483 PyObject
*resultobj
;
30484 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30485 wxTreeItemId
*arg2
= 0 ;
30486 PyObject
* obj0
= 0 ;
30487 PyObject
* obj1
= 0 ;
30488 char *kwnames
[] = {
30489 (char *) "self",(char *) "item", NULL
30492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
30493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30494 if (SWIG_arg_fail(1)) SWIG_fail
;
30496 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30497 if (SWIG_arg_fail(2)) SWIG_fail
;
30498 if (arg2
== NULL
) {
30499 SWIG_null_ref("wxTreeItemId");
30501 if (SWIG_arg_fail(2)) SWIG_fail
;
30504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30505 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
30507 wxPyEndAllowThreads(__tstate
);
30508 if (PyErr_Occurred()) SWIG_fail
;
30510 Py_INCREF(Py_None
); resultobj
= Py_None
;
30517 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30518 PyObject
*resultobj
;
30519 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30520 wxTreeItemId
*arg2
= 0 ;
30521 PyObject
* obj0
= 0 ;
30522 PyObject
* obj1
= 0 ;
30523 char *kwnames
[] = {
30524 (char *) "self",(char *) "item", NULL
30527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
30528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30529 if (SWIG_arg_fail(1)) SWIG_fail
;
30531 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30532 if (SWIG_arg_fail(2)) SWIG_fail
;
30533 if (arg2
== NULL
) {
30534 SWIG_null_ref("wxTreeItemId");
30536 if (SWIG_arg_fail(2)) SWIG_fail
;
30539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30540 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
30542 wxPyEndAllowThreads(__tstate
);
30543 if (PyErr_Occurred()) SWIG_fail
;
30545 Py_INCREF(Py_None
); resultobj
= Py_None
;
30552 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30553 PyObject
*resultobj
;
30554 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30555 wxTreeItemId
*arg2
= 0 ;
30556 PyObject
* obj0
= 0 ;
30557 PyObject
* obj1
= 0 ;
30558 char *kwnames
[] = {
30559 (char *) "self",(char *) "item", NULL
30562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
30563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30564 if (SWIG_arg_fail(1)) SWIG_fail
;
30566 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30567 if (SWIG_arg_fail(2)) SWIG_fail
;
30568 if (arg2
== NULL
) {
30569 SWIG_null_ref("wxTreeItemId");
30571 if (SWIG_arg_fail(2)) SWIG_fail
;
30574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30575 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
30577 wxPyEndAllowThreads(__tstate
);
30578 if (PyErr_Occurred()) SWIG_fail
;
30580 Py_INCREF(Py_None
); resultobj
= Py_None
;
30587 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30588 PyObject
*resultobj
;
30589 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30590 PyObject
* obj0
= 0 ;
30591 char *kwnames
[] = {
30592 (char *) "self", NULL
30595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
30596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30597 if (SWIG_arg_fail(1)) SWIG_fail
;
30599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30600 (arg1
)->Unselect();
30602 wxPyEndAllowThreads(__tstate
);
30603 if (PyErr_Occurred()) SWIG_fail
;
30605 Py_INCREF(Py_None
); resultobj
= Py_None
;
30612 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30613 PyObject
*resultobj
;
30614 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30615 wxTreeItemId
*arg2
= 0 ;
30616 PyObject
* obj0
= 0 ;
30617 PyObject
* obj1
= 0 ;
30618 char *kwnames
[] = {
30619 (char *) "self",(char *) "item", NULL
30622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30624 if (SWIG_arg_fail(1)) SWIG_fail
;
30626 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30627 if (SWIG_arg_fail(2)) SWIG_fail
;
30628 if (arg2
== NULL
) {
30629 SWIG_null_ref("wxTreeItemId");
30631 if (SWIG_arg_fail(2)) SWIG_fail
;
30634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30635 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
30637 wxPyEndAllowThreads(__tstate
);
30638 if (PyErr_Occurred()) SWIG_fail
;
30640 Py_INCREF(Py_None
); resultobj
= Py_None
;
30647 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30648 PyObject
*resultobj
;
30649 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30650 PyObject
* obj0
= 0 ;
30651 char *kwnames
[] = {
30652 (char *) "self", NULL
30655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
30656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30657 if (SWIG_arg_fail(1)) SWIG_fail
;
30659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30660 (arg1
)->UnselectAll();
30662 wxPyEndAllowThreads(__tstate
);
30663 if (PyErr_Occurred()) SWIG_fail
;
30665 Py_INCREF(Py_None
); resultobj
= Py_None
;
30672 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30673 PyObject
*resultobj
;
30674 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30675 wxTreeItemId
*arg2
= 0 ;
30676 bool arg3
= (bool) true ;
30677 PyObject
* obj0
= 0 ;
30678 PyObject
* obj1
= 0 ;
30679 PyObject
* obj2
= 0 ;
30680 char *kwnames
[] = {
30681 (char *) "self",(char *) "item",(char *) "select", NULL
30684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30686 if (SWIG_arg_fail(1)) SWIG_fail
;
30688 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30689 if (SWIG_arg_fail(2)) SWIG_fail
;
30690 if (arg2
== NULL
) {
30691 SWIG_null_ref("wxTreeItemId");
30693 if (SWIG_arg_fail(2)) SWIG_fail
;
30697 arg3
= (bool)(SWIG_As_bool(obj2
));
30698 if (SWIG_arg_fail(3)) SWIG_fail
;
30702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30703 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
30705 wxPyEndAllowThreads(__tstate
);
30706 if (PyErr_Occurred()) SWIG_fail
;
30708 Py_INCREF(Py_None
); resultobj
= Py_None
;
30715 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30716 PyObject
*resultobj
;
30717 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30718 wxTreeItemId
*arg2
= 0 ;
30719 PyObject
* obj0
= 0 ;
30720 PyObject
* obj1
= 0 ;
30721 char *kwnames
[] = {
30722 (char *) "self",(char *) "item", NULL
30725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
30726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30727 if (SWIG_arg_fail(1)) SWIG_fail
;
30729 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30730 if (SWIG_arg_fail(2)) SWIG_fail
;
30731 if (arg2
== NULL
) {
30732 SWIG_null_ref("wxTreeItemId");
30734 if (SWIG_arg_fail(2)) SWIG_fail
;
30737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30738 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
30740 wxPyEndAllowThreads(__tstate
);
30741 if (PyErr_Occurred()) SWIG_fail
;
30743 Py_INCREF(Py_None
); resultobj
= Py_None
;
30750 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30751 PyObject
*resultobj
;
30752 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30753 wxTreeItemId
*arg2
= 0 ;
30754 PyObject
* obj0
= 0 ;
30755 PyObject
* obj1
= 0 ;
30756 char *kwnames
[] = {
30757 (char *) "self",(char *) "item", NULL
30760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
30761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30762 if (SWIG_arg_fail(1)) SWIG_fail
;
30764 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30765 if (SWIG_arg_fail(2)) SWIG_fail
;
30766 if (arg2
== NULL
) {
30767 SWIG_null_ref("wxTreeItemId");
30769 if (SWIG_arg_fail(2)) SWIG_fail
;
30772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30773 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
30775 wxPyEndAllowThreads(__tstate
);
30776 if (PyErr_Occurred()) SWIG_fail
;
30778 Py_INCREF(Py_None
); resultobj
= Py_None
;
30785 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30786 PyObject
*resultobj
;
30787 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30788 wxTreeItemId
*arg2
= 0 ;
30789 PyObject
* obj0
= 0 ;
30790 PyObject
* obj1
= 0 ;
30791 char *kwnames
[] = {
30792 (char *) "self",(char *) "item", NULL
30795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
30796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30797 if (SWIG_arg_fail(1)) SWIG_fail
;
30799 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30800 if (SWIG_arg_fail(2)) SWIG_fail
;
30801 if (arg2
== NULL
) {
30802 SWIG_null_ref("wxTreeItemId");
30804 if (SWIG_arg_fail(2)) SWIG_fail
;
30807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30808 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
30810 wxPyEndAllowThreads(__tstate
);
30811 if (PyErr_Occurred()) SWIG_fail
;
30813 Py_INCREF(Py_None
); resultobj
= Py_None
;
30820 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30821 PyObject
*resultobj
;
30822 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30823 wxTreeItemId
*arg2
= 0 ;
30824 PyObject
* obj0
= 0 ;
30825 PyObject
* obj1
= 0 ;
30826 char *kwnames
[] = {
30827 (char *) "self",(char *) "item", NULL
30830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
30831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30832 if (SWIG_arg_fail(1)) SWIG_fail
;
30834 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30835 if (SWIG_arg_fail(2)) SWIG_fail
;
30836 if (arg2
== NULL
) {
30837 SWIG_null_ref("wxTreeItemId");
30839 if (SWIG_arg_fail(2)) SWIG_fail
;
30842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30843 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
30845 wxPyEndAllowThreads(__tstate
);
30846 if (PyErr_Occurred()) SWIG_fail
;
30848 Py_INCREF(Py_None
); resultobj
= Py_None
;
30855 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30856 PyObject
*resultobj
;
30857 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30858 wxTextCtrl
*result
;
30859 PyObject
* obj0
= 0 ;
30860 char *kwnames
[] = {
30861 (char *) "self", NULL
30864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
30865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30866 if (SWIG_arg_fail(1)) SWIG_fail
;
30868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30869 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
30871 wxPyEndAllowThreads(__tstate
);
30872 if (PyErr_Occurred()) SWIG_fail
;
30875 resultobj
= wxPyMake_wxObject(result
, 0);
30883 static PyObject
*_wrap_TreeCtrl_EndEditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30884 PyObject
*resultobj
;
30885 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30886 wxTreeItemId
*arg2
= 0 ;
30887 bool arg3
= (bool) false ;
30888 PyObject
* obj0
= 0 ;
30889 PyObject
* obj1
= 0 ;
30890 PyObject
* obj2
= 0 ;
30891 char *kwnames
[] = {
30892 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
30895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30897 if (SWIG_arg_fail(1)) SWIG_fail
;
30899 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30900 if (SWIG_arg_fail(2)) SWIG_fail
;
30901 if (arg2
== NULL
) {
30902 SWIG_null_ref("wxTreeItemId");
30904 if (SWIG_arg_fail(2)) SWIG_fail
;
30908 arg3
= (bool)(SWIG_As_bool(obj2
));
30909 if (SWIG_arg_fail(3)) SWIG_fail
;
30913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30914 (arg1
)->EndEditLabel((wxTreeItemId
const &)*arg2
,arg3
);
30916 wxPyEndAllowThreads(__tstate
);
30917 if (PyErr_Occurred()) SWIG_fail
;
30919 Py_INCREF(Py_None
); resultobj
= Py_None
;
30926 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30927 PyObject
*resultobj
;
30928 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30929 wxTreeItemId
*arg2
= 0 ;
30930 PyObject
* obj0
= 0 ;
30931 PyObject
* obj1
= 0 ;
30932 char *kwnames
[] = {
30933 (char *) "self",(char *) "item", NULL
30936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
30937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30938 if (SWIG_arg_fail(1)) SWIG_fail
;
30940 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30941 if (SWIG_arg_fail(2)) SWIG_fail
;
30942 if (arg2
== NULL
) {
30943 SWIG_null_ref("wxTreeItemId");
30945 if (SWIG_arg_fail(2)) SWIG_fail
;
30948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30949 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
30951 wxPyEndAllowThreads(__tstate
);
30952 if (PyErr_Occurred()) SWIG_fail
;
30954 Py_INCREF(Py_None
); resultobj
= Py_None
;
30961 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30962 PyObject
*resultobj
;
30963 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30964 wxPoint
*arg2
= 0 ;
30966 wxTreeItemId result
;
30970 PyObject
* obj0
= 0 ;
30971 PyObject
* obj1
= 0 ;
30972 char *kwnames
[] = {
30973 (char *) "self",(char *) "point", NULL
30976 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
30978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30979 if (SWIG_arg_fail(1)) SWIG_fail
;
30982 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30986 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
30988 wxPyEndAllowThreads(__tstate
);
30989 if (PyErr_Occurred()) SWIG_fail
;
30992 wxTreeItemId
* resultptr
;
30993 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30994 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30996 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30997 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
31004 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31005 PyObject
*resultobj
;
31006 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31007 wxTreeItemId
*arg2
= 0 ;
31008 bool arg3
= (bool) false ;
31010 PyObject
* obj0
= 0 ;
31011 PyObject
* obj1
= 0 ;
31012 PyObject
* obj2
= 0 ;
31013 char *kwnames
[] = {
31014 (char *) "self",(char *) "item",(char *) "textOnly", NULL
31017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31019 if (SWIG_arg_fail(1)) SWIG_fail
;
31021 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31022 if (SWIG_arg_fail(2)) SWIG_fail
;
31023 if (arg2
== NULL
) {
31024 SWIG_null_ref("wxTreeItemId");
31026 if (SWIG_arg_fail(2)) SWIG_fail
;
31030 arg3
= (bool)(SWIG_As_bool(obj2
));
31031 if (SWIG_arg_fail(3)) SWIG_fail
;
31035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31036 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
31038 wxPyEndAllowThreads(__tstate
);
31039 if (PyErr_Occurred()) SWIG_fail
;
31041 resultobj
= result
;
31048 static PyObject
*_wrap_TreeCtrl_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31049 PyObject
*resultobj
;
31050 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31051 wxTreeItemId
*arg2
= 0 ;
31053 PyObject
* obj0
= 0 ;
31054 PyObject
* obj1
= 0 ;
31055 PyObject
* obj2
= 0 ;
31056 char *kwnames
[] = {
31057 (char *) "self",(char *) "node",(char *) "state", NULL
31060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31062 if (SWIG_arg_fail(1)) SWIG_fail
;
31064 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31065 if (SWIG_arg_fail(2)) SWIG_fail
;
31066 if (arg2
== NULL
) {
31067 SWIG_null_ref("wxTreeItemId");
31069 if (SWIG_arg_fail(2)) SWIG_fail
;
31072 arg3
= (int)(SWIG_As_int(obj2
));
31073 if (SWIG_arg_fail(3)) SWIG_fail
;
31076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31077 (arg1
)->SetState((wxTreeItemId
const &)*arg2
,arg3
);
31079 wxPyEndAllowThreads(__tstate
);
31080 if (PyErr_Occurred()) SWIG_fail
;
31082 Py_INCREF(Py_None
); resultobj
= Py_None
;
31089 static PyObject
*_wrap_TreeCtrl_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31090 PyObject
*resultobj
;
31091 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31092 wxTreeItemId
*arg2
= 0 ;
31094 PyObject
* obj0
= 0 ;
31095 PyObject
* obj1
= 0 ;
31096 char *kwnames
[] = {
31097 (char *) "self",(char *) "node", NULL
31100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetState",kwnames
,&obj0
,&obj1
)) goto fail
;
31101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31102 if (SWIG_arg_fail(1)) SWIG_fail
;
31104 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31105 if (SWIG_arg_fail(2)) SWIG_fail
;
31106 if (arg2
== NULL
) {
31107 SWIG_null_ref("wxTreeItemId");
31109 if (SWIG_arg_fail(2)) SWIG_fail
;
31112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31113 result
= (int)(arg1
)->GetState((wxTreeItemId
const &)*arg2
);
31115 wxPyEndAllowThreads(__tstate
);
31116 if (PyErr_Occurred()) SWIG_fail
;
31119 resultobj
= SWIG_From_int((int)(result
));
31127 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31128 PyObject
*resultobj
;
31129 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
31130 wxVisualAttributes result
;
31131 PyObject
* obj0
= 0 ;
31132 char *kwnames
[] = {
31133 (char *) "variant", NULL
31136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
31139 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
31140 if (SWIG_arg_fail(1)) SWIG_fail
;
31144 if (!wxPyCheckForApp()) SWIG_fail
;
31145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31146 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
31148 wxPyEndAllowThreads(__tstate
);
31149 if (PyErr_Occurred()) SWIG_fail
;
31152 wxVisualAttributes
* resultptr
;
31153 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
31154 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
31162 static PyObject
* TreeCtrl_swigregister(PyObject
*, PyObject
*args
) {
31164 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31165 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
31167 return Py_BuildValue((char *)"");
31169 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*) {
31170 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
31175 static PyObject
*_wrap_DirDialogDefaultFolderStr_get(void) {
31180 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
31182 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
31189 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31190 PyObject
*resultobj
;
31191 wxWindow
*arg1
= (wxWindow
*) 0 ;
31192 int arg2
= (int) (int)-1 ;
31193 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
31194 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
31195 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31196 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31197 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31198 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31199 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
31200 wxString
const &arg7_defvalue
= wxPyEmptyString
;
31201 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31202 int arg8
= (int) 0 ;
31203 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
31204 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
31205 wxGenericDirCtrl
*result
;
31206 bool temp3
= false ;
31209 bool temp7
= false ;
31210 bool temp9
= false ;
31211 PyObject
* obj0
= 0 ;
31212 PyObject
* obj1
= 0 ;
31213 PyObject
* obj2
= 0 ;
31214 PyObject
* obj3
= 0 ;
31215 PyObject
* obj4
= 0 ;
31216 PyObject
* obj5
= 0 ;
31217 PyObject
* obj6
= 0 ;
31218 PyObject
* obj7
= 0 ;
31219 PyObject
* obj8
= 0 ;
31220 char *kwnames
[] = {
31221 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
31225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31226 if (SWIG_arg_fail(1)) SWIG_fail
;
31229 arg2
= (int const)(SWIG_As_int(obj1
));
31230 if (SWIG_arg_fail(2)) SWIG_fail
;
31235 arg3
= wxString_in_helper(obj2
);
31236 if (arg3
== NULL
) SWIG_fail
;
31243 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31249 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31254 arg6
= (long)(SWIG_As_long(obj5
));
31255 if (SWIG_arg_fail(6)) SWIG_fail
;
31260 arg7
= wxString_in_helper(obj6
);
31261 if (arg7
== NULL
) SWIG_fail
;
31267 arg8
= (int)(SWIG_As_int(obj7
));
31268 if (SWIG_arg_fail(8)) SWIG_fail
;
31273 arg9
= wxString_in_helper(obj8
);
31274 if (arg9
== NULL
) SWIG_fail
;
31279 if (!wxPyCheckForApp()) SWIG_fail
;
31280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31281 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
31283 wxPyEndAllowThreads(__tstate
);
31284 if (PyErr_Occurred()) SWIG_fail
;
31286 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
31317 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31318 PyObject
*resultobj
;
31319 wxGenericDirCtrl
*result
;
31320 char *kwnames
[] = {
31324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
31326 if (!wxPyCheckForApp()) SWIG_fail
;
31327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31328 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
31330 wxPyEndAllowThreads(__tstate
);
31331 if (PyErr_Occurred()) SWIG_fail
;
31333 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
31340 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31341 PyObject
*resultobj
;
31342 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31343 wxWindow
*arg2
= (wxWindow
*) 0 ;
31344 int arg3
= (int) (int)-1 ;
31345 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
31346 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
31347 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
31348 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
31349 wxSize
const &arg6_defvalue
= wxDefaultSize
;
31350 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
31351 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
31352 wxString
const &arg8_defvalue
= wxPyEmptyString
;
31353 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
31354 int arg9
= (int) 0 ;
31355 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
31356 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
31358 bool temp4
= false ;
31361 bool temp8
= false ;
31362 bool temp10
= false ;
31363 PyObject
* obj0
= 0 ;
31364 PyObject
* obj1
= 0 ;
31365 PyObject
* obj2
= 0 ;
31366 PyObject
* obj3
= 0 ;
31367 PyObject
* obj4
= 0 ;
31368 PyObject
* obj5
= 0 ;
31369 PyObject
* obj6
= 0 ;
31370 PyObject
* obj7
= 0 ;
31371 PyObject
* obj8
= 0 ;
31372 PyObject
* obj9
= 0 ;
31373 char *kwnames
[] = {
31374 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
31378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31379 if (SWIG_arg_fail(1)) SWIG_fail
;
31380 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31381 if (SWIG_arg_fail(2)) SWIG_fail
;
31384 arg3
= (int const)(SWIG_As_int(obj2
));
31385 if (SWIG_arg_fail(3)) SWIG_fail
;
31390 arg4
= wxString_in_helper(obj3
);
31391 if (arg4
== NULL
) SWIG_fail
;
31398 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
31404 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
31409 arg7
= (long)(SWIG_As_long(obj6
));
31410 if (SWIG_arg_fail(7)) SWIG_fail
;
31415 arg8
= wxString_in_helper(obj7
);
31416 if (arg8
== NULL
) SWIG_fail
;
31422 arg9
= (int)(SWIG_As_int(obj8
));
31423 if (SWIG_arg_fail(9)) SWIG_fail
;
31428 arg10
= wxString_in_helper(obj9
);
31429 if (arg10
== NULL
) SWIG_fail
;
31434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31435 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
31437 wxPyEndAllowThreads(__tstate
);
31438 if (PyErr_Occurred()) SWIG_fail
;
31441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31473 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31474 PyObject
*resultobj
;
31475 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31476 wxString
*arg2
= 0 ;
31478 bool temp2
= false ;
31479 PyObject
* obj0
= 0 ;
31480 PyObject
* obj1
= 0 ;
31481 char *kwnames
[] = {
31482 (char *) "self",(char *) "path", NULL
31485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31487 if (SWIG_arg_fail(1)) SWIG_fail
;
31489 arg2
= wxString_in_helper(obj1
);
31490 if (arg2
== NULL
) SWIG_fail
;
31494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31495 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
31497 wxPyEndAllowThreads(__tstate
);
31498 if (PyErr_Occurred()) SWIG_fail
;
31501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31517 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31518 PyObject
*resultobj
;
31519 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31521 PyObject
* obj0
= 0 ;
31522 char *kwnames
[] = {
31523 (char *) "self", NULL
31526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
31527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31528 if (SWIG_arg_fail(1)) SWIG_fail
;
31530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31531 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
31533 wxPyEndAllowThreads(__tstate
);
31534 if (PyErr_Occurred()) SWIG_fail
;
31538 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31540 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31549 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31550 PyObject
*resultobj
;
31551 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31552 wxString
*arg2
= 0 ;
31553 bool temp2
= false ;
31554 PyObject
* obj0
= 0 ;
31555 PyObject
* obj1
= 0 ;
31556 char *kwnames
[] = {
31557 (char *) "self",(char *) "path", NULL
31560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31562 if (SWIG_arg_fail(1)) SWIG_fail
;
31564 arg2
= wxString_in_helper(obj1
);
31565 if (arg2
== NULL
) SWIG_fail
;
31569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31570 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
31572 wxPyEndAllowThreads(__tstate
);
31573 if (PyErr_Occurred()) SWIG_fail
;
31575 Py_INCREF(Py_None
); resultobj
= Py_None
;
31590 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31591 PyObject
*resultobj
;
31592 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31594 PyObject
* obj0
= 0 ;
31595 char *kwnames
[] = {
31596 (char *) "self", NULL
31599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
31600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31601 if (SWIG_arg_fail(1)) SWIG_fail
;
31603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31604 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
31606 wxPyEndAllowThreads(__tstate
);
31607 if (PyErr_Occurred()) SWIG_fail
;
31611 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31613 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31622 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31623 PyObject
*resultobj
;
31624 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31626 PyObject
* obj0
= 0 ;
31627 char *kwnames
[] = {
31628 (char *) "self", NULL
31631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
31632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31633 if (SWIG_arg_fail(1)) SWIG_fail
;
31635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31636 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
31638 wxPyEndAllowThreads(__tstate
);
31639 if (PyErr_Occurred()) SWIG_fail
;
31643 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31645 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31654 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31655 PyObject
*resultobj
;
31656 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31657 wxString
*arg2
= 0 ;
31658 bool temp2
= false ;
31659 PyObject
* obj0
= 0 ;
31660 PyObject
* obj1
= 0 ;
31661 char *kwnames
[] = {
31662 (char *) "self",(char *) "path", NULL
31665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31667 if (SWIG_arg_fail(1)) SWIG_fail
;
31669 arg2
= wxString_in_helper(obj1
);
31670 if (arg2
== NULL
) SWIG_fail
;
31674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31675 (arg1
)->SetPath((wxString
const &)*arg2
);
31677 wxPyEndAllowThreads(__tstate
);
31678 if (PyErr_Occurred()) SWIG_fail
;
31680 Py_INCREF(Py_None
); resultobj
= Py_None
;
31695 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31696 PyObject
*resultobj
;
31697 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31699 PyObject
* obj0
= 0 ;
31700 PyObject
* obj1
= 0 ;
31701 char *kwnames
[] = {
31702 (char *) "self",(char *) "show", NULL
31705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
31706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31707 if (SWIG_arg_fail(1)) SWIG_fail
;
31709 arg2
= (bool)(SWIG_As_bool(obj1
));
31710 if (SWIG_arg_fail(2)) SWIG_fail
;
31713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31714 (arg1
)->ShowHidden(arg2
);
31716 wxPyEndAllowThreads(__tstate
);
31717 if (PyErr_Occurred()) SWIG_fail
;
31719 Py_INCREF(Py_None
); resultobj
= Py_None
;
31726 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31727 PyObject
*resultobj
;
31728 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31730 PyObject
* obj0
= 0 ;
31731 char *kwnames
[] = {
31732 (char *) "self", NULL
31735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
31736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31737 if (SWIG_arg_fail(1)) SWIG_fail
;
31739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31740 result
= (bool)(arg1
)->GetShowHidden();
31742 wxPyEndAllowThreads(__tstate
);
31743 if (PyErr_Occurred()) SWIG_fail
;
31746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31754 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31755 PyObject
*resultobj
;
31756 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31758 PyObject
* obj0
= 0 ;
31759 char *kwnames
[] = {
31760 (char *) "self", NULL
31763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
31764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31765 if (SWIG_arg_fail(1)) SWIG_fail
;
31767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31768 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
31770 wxPyEndAllowThreads(__tstate
);
31771 if (PyErr_Occurred()) SWIG_fail
;
31775 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31777 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31786 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31787 PyObject
*resultobj
;
31788 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31789 wxString
*arg2
= 0 ;
31790 bool temp2
= false ;
31791 PyObject
* obj0
= 0 ;
31792 PyObject
* obj1
= 0 ;
31793 char *kwnames
[] = {
31794 (char *) "self",(char *) "filter", NULL
31797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
31798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31799 if (SWIG_arg_fail(1)) SWIG_fail
;
31801 arg2
= wxString_in_helper(obj1
);
31802 if (arg2
== NULL
) SWIG_fail
;
31806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31807 (arg1
)->SetFilter((wxString
const &)*arg2
);
31809 wxPyEndAllowThreads(__tstate
);
31810 if (PyErr_Occurred()) SWIG_fail
;
31812 Py_INCREF(Py_None
); resultobj
= Py_None
;
31827 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31828 PyObject
*resultobj
;
31829 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31831 PyObject
* obj0
= 0 ;
31832 char *kwnames
[] = {
31833 (char *) "self", NULL
31836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
31837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31838 if (SWIG_arg_fail(1)) SWIG_fail
;
31840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31841 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
31843 wxPyEndAllowThreads(__tstate
);
31844 if (PyErr_Occurred()) SWIG_fail
;
31847 resultobj
= SWIG_From_int((int)(result
));
31855 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31856 PyObject
*resultobj
;
31857 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31859 PyObject
* obj0
= 0 ;
31860 PyObject
* obj1
= 0 ;
31861 char *kwnames
[] = {
31862 (char *) "self",(char *) "n", NULL
31865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
31866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31867 if (SWIG_arg_fail(1)) SWIG_fail
;
31869 arg2
= (int)(SWIG_As_int(obj1
));
31870 if (SWIG_arg_fail(2)) SWIG_fail
;
31873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31874 (arg1
)->SetFilterIndex(arg2
);
31876 wxPyEndAllowThreads(__tstate
);
31877 if (PyErr_Occurred()) SWIG_fail
;
31879 Py_INCREF(Py_None
); resultobj
= Py_None
;
31886 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31887 PyObject
*resultobj
;
31888 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31889 wxTreeItemId result
;
31890 PyObject
* obj0
= 0 ;
31891 char *kwnames
[] = {
31892 (char *) "self", NULL
31895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
31896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31897 if (SWIG_arg_fail(1)) SWIG_fail
;
31899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31900 result
= (arg1
)->GetRootId();
31902 wxPyEndAllowThreads(__tstate
);
31903 if (PyErr_Occurred()) SWIG_fail
;
31906 wxTreeItemId
* resultptr
;
31907 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
31908 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31916 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31917 PyObject
*resultobj
;
31918 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31919 wxPyTreeCtrl
*result
;
31920 PyObject
* obj0
= 0 ;
31921 char *kwnames
[] = {
31922 (char *) "self", NULL
31925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
31926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31927 if (SWIG_arg_fail(1)) SWIG_fail
;
31929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31930 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
31932 wxPyEndAllowThreads(__tstate
);
31933 if (PyErr_Occurred()) SWIG_fail
;
31936 resultobj
= wxPyMake_wxObject(result
, 0);
31944 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31945 PyObject
*resultobj
;
31946 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31947 wxDirFilterListCtrl
*result
;
31948 PyObject
* obj0
= 0 ;
31949 char *kwnames
[] = {
31950 (char *) "self", NULL
31953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
31954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31955 if (SWIG_arg_fail(1)) SWIG_fail
;
31957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31958 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
31960 wxPyEndAllowThreads(__tstate
);
31961 if (PyErr_Occurred()) SWIG_fail
;
31963 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
31970 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31971 PyObject
*resultobj
;
31972 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31973 wxTreeItemId arg2
;
31974 wxString
*arg3
= 0 ;
31976 wxTreeItemId result
;
31977 bool temp3
= false ;
31980 PyObject
* obj0
= 0 ;
31981 PyObject
* obj1
= 0 ;
31982 PyObject
* obj2
= 0 ;
31983 char *kwnames
[] = {
31984 (char *) "self",(char *) "parentId",(char *) "path", NULL
31987 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
31988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31990 if (SWIG_arg_fail(1)) SWIG_fail
;
31992 wxTreeItemId
* argp
;
31993 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
);
31994 if (SWIG_arg_fail(2)) SWIG_fail
;
31995 if (argp
== NULL
) {
31996 SWIG_null_ref("wxTreeItemId");
31998 if (SWIG_arg_fail(2)) SWIG_fail
;
32002 arg3
= wxString_in_helper(obj2
);
32003 if (arg3
== NULL
) SWIG_fail
;
32007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32008 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
32010 wxPyEndAllowThreads(__tstate
);
32011 if (PyErr_Occurred()) SWIG_fail
;
32014 wxTreeItemId
* resultptr
;
32015 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
32016 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
32018 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
32019 SWIG_From_bool((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, 0)));
32034 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32035 PyObject
*resultobj
;
32036 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32037 PyObject
* obj0
= 0 ;
32038 char *kwnames
[] = {
32039 (char *) "self", NULL
32042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
32043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32044 if (SWIG_arg_fail(1)) SWIG_fail
;
32046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32047 (arg1
)->DoResize();
32049 wxPyEndAllowThreads(__tstate
);
32050 if (PyErr_Occurred()) SWIG_fail
;
32052 Py_INCREF(Py_None
); resultobj
= Py_None
;
32059 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32060 PyObject
*resultobj
;
32061 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32062 PyObject
* obj0
= 0 ;
32063 char *kwnames
[] = {
32064 (char *) "self", NULL
32067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
32068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32069 if (SWIG_arg_fail(1)) SWIG_fail
;
32071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32072 (arg1
)->ReCreateTree();
32074 wxPyEndAllowThreads(__tstate
);
32075 if (PyErr_Occurred()) SWIG_fail
;
32077 Py_INCREF(Py_None
); resultobj
= Py_None
;
32084 static PyObject
* GenericDirCtrl_swigregister(PyObject
*, PyObject
*args
) {
32086 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32087 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
32089 return Py_BuildValue((char *)"");
32091 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32092 PyObject
*resultobj
;
32093 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32094 int arg2
= (int) (int)-1 ;
32095 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32096 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32097 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32098 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32099 long arg5
= (long) 0 ;
32100 wxDirFilterListCtrl
*result
;
32103 PyObject
* obj0
= 0 ;
32104 PyObject
* obj1
= 0 ;
32105 PyObject
* obj2
= 0 ;
32106 PyObject
* obj3
= 0 ;
32107 PyObject
* obj4
= 0 ;
32108 char *kwnames
[] = {
32109 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
32112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32114 if (SWIG_arg_fail(1)) SWIG_fail
;
32117 arg2
= (int const)(SWIG_As_int(obj1
));
32118 if (SWIG_arg_fail(2)) SWIG_fail
;
32124 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32130 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32135 arg5
= (long)(SWIG_As_long(obj4
));
32136 if (SWIG_arg_fail(5)) SWIG_fail
;
32140 if (!wxPyCheckForApp()) SWIG_fail
;
32141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32142 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
32144 wxPyEndAllowThreads(__tstate
);
32145 if (PyErr_Occurred()) SWIG_fail
;
32147 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
32154 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32155 PyObject
*resultobj
;
32156 wxDirFilterListCtrl
*result
;
32157 char *kwnames
[] = {
32161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
32163 if (!wxPyCheckForApp()) SWIG_fail
;
32164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32165 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
32167 wxPyEndAllowThreads(__tstate
);
32168 if (PyErr_Occurred()) SWIG_fail
;
32170 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
32177 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32178 PyObject
*resultobj
;
32179 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
32180 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
32181 int arg3
= (int) (int)-1 ;
32182 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32183 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32184 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32185 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32186 long arg6
= (long) 0 ;
32190 PyObject
* obj0
= 0 ;
32191 PyObject
* obj1
= 0 ;
32192 PyObject
* obj2
= 0 ;
32193 PyObject
* obj3
= 0 ;
32194 PyObject
* obj4
= 0 ;
32195 PyObject
* obj5
= 0 ;
32196 char *kwnames
[] = {
32197 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
32200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32202 if (SWIG_arg_fail(1)) SWIG_fail
;
32203 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32204 if (SWIG_arg_fail(2)) SWIG_fail
;
32207 arg3
= (int const)(SWIG_As_int(obj2
));
32208 if (SWIG_arg_fail(3)) SWIG_fail
;
32214 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32220 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32225 arg6
= (long)(SWIG_As_long(obj5
));
32226 if (SWIG_arg_fail(6)) SWIG_fail
;
32230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32231 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
32233 wxPyEndAllowThreads(__tstate
);
32234 if (PyErr_Occurred()) SWIG_fail
;
32237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32245 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32246 PyObject
*resultobj
;
32247 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
32248 wxString
*arg2
= 0 ;
32250 bool temp2
= false ;
32251 PyObject
* obj0
= 0 ;
32252 PyObject
* obj1
= 0 ;
32253 PyObject
* obj2
= 0 ;
32254 char *kwnames
[] = {
32255 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
32258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32260 if (SWIG_arg_fail(1)) SWIG_fail
;
32262 arg2
= wxString_in_helper(obj1
);
32263 if (arg2
== NULL
) SWIG_fail
;
32267 arg3
= (int)(SWIG_As_int(obj2
));
32268 if (SWIG_arg_fail(3)) SWIG_fail
;
32271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32272 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
32274 wxPyEndAllowThreads(__tstate
);
32275 if (PyErr_Occurred()) SWIG_fail
;
32277 Py_INCREF(Py_None
); resultobj
= Py_None
;
32292 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*, PyObject
*args
) {
32294 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32295 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
32297 return Py_BuildValue((char *)"");
32299 static PyObject
*_wrap_new_PyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32300 PyObject
*resultobj
;
32301 wxWindow
*arg1
= (wxWindow
*) 0 ;
32302 int arg2
= (int) (int)-1 ;
32303 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32304 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32305 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32306 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32307 long arg5
= (long) 0 ;
32308 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32309 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32310 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
32311 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32312 wxPyControl
*result
;
32315 bool temp7
= false ;
32316 PyObject
* obj0
= 0 ;
32317 PyObject
* obj1
= 0 ;
32318 PyObject
* obj2
= 0 ;
32319 PyObject
* obj3
= 0 ;
32320 PyObject
* obj4
= 0 ;
32321 PyObject
* obj5
= 0 ;
32322 PyObject
* obj6
= 0 ;
32323 char *kwnames
[] = {
32324 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
32328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32329 if (SWIG_arg_fail(1)) SWIG_fail
;
32332 arg2
= (int const)(SWIG_As_int(obj1
));
32333 if (SWIG_arg_fail(2)) SWIG_fail
;
32339 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32345 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32350 arg5
= (long)(SWIG_As_long(obj4
));
32351 if (SWIG_arg_fail(5)) SWIG_fail
;
32356 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32357 if (SWIG_arg_fail(6)) SWIG_fail
;
32358 if (arg6
== NULL
) {
32359 SWIG_null_ref("wxValidator");
32361 if (SWIG_arg_fail(6)) SWIG_fail
;
32366 arg7
= wxString_in_helper(obj6
);
32367 if (arg7
== NULL
) SWIG_fail
;
32372 if (!wxPyCheckForApp()) SWIG_fail
;
32373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32374 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32376 wxPyEndAllowThreads(__tstate
);
32377 if (PyErr_Occurred()) SWIG_fail
;
32379 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
32394 static PyObject
*_wrap_new_PrePyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32395 PyObject
*resultobj
;
32396 wxPyControl
*result
;
32397 char *kwnames
[] = {
32401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
32403 if (!wxPyCheckForApp()) SWIG_fail
;
32404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32405 result
= (wxPyControl
*)new wxPyControl();
32407 wxPyEndAllowThreads(__tstate
);
32408 if (PyErr_Occurred()) SWIG_fail
;
32410 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
32417 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32418 PyObject
*resultobj
;
32419 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32420 PyObject
*arg2
= (PyObject
*) 0 ;
32421 PyObject
*arg3
= (PyObject
*) 0 ;
32422 PyObject
* obj0
= 0 ;
32423 PyObject
* obj1
= 0 ;
32424 PyObject
* obj2
= 0 ;
32425 char *kwnames
[] = {
32426 (char *) "self",(char *) "self",(char *) "_class", NULL
32429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32431 if (SWIG_arg_fail(1)) SWIG_fail
;
32435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32436 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32438 wxPyEndAllowThreads(__tstate
);
32439 if (PyErr_Occurred()) SWIG_fail
;
32441 Py_INCREF(Py_None
); resultobj
= Py_None
;
32448 static PyObject
*_wrap_PyControl_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32449 PyObject
*resultobj
;
32450 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32453 PyObject
* obj0
= 0 ;
32454 PyObject
* obj1
= 0 ;
32455 char *kwnames
[] = {
32456 (char *) "self",(char *) "size", NULL
32459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
32460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32461 if (SWIG_arg_fail(1)) SWIG_fail
;
32464 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
32467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32468 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
32470 wxPyEndAllowThreads(__tstate
);
32471 if (PyErr_Occurred()) SWIG_fail
;
32473 Py_INCREF(Py_None
); resultobj
= Py_None
;
32480 static PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32481 PyObject
*resultobj
;
32482 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32483 wxDC
*arg2
= (wxDC
*) 0 ;
32485 PyObject
* obj0
= 0 ;
32486 PyObject
* obj1
= 0 ;
32487 char *kwnames
[] = {
32488 (char *) "self",(char *) "dc", NULL
32491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
32492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32493 if (SWIG_arg_fail(1)) SWIG_fail
;
32494 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
32495 if (SWIG_arg_fail(2)) SWIG_fail
;
32497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32498 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
32500 wxPyEndAllowThreads(__tstate
);
32501 if (PyErr_Occurred()) SWIG_fail
;
32504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32512 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32513 PyObject
*resultobj
;
32514 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32519 PyObject
* obj0
= 0 ;
32520 PyObject
* obj1
= 0 ;
32521 PyObject
* obj2
= 0 ;
32522 PyObject
* obj3
= 0 ;
32523 PyObject
* obj4
= 0 ;
32524 char *kwnames
[] = {
32525 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32530 if (SWIG_arg_fail(1)) SWIG_fail
;
32532 arg2
= (int)(SWIG_As_int(obj1
));
32533 if (SWIG_arg_fail(2)) SWIG_fail
;
32536 arg3
= (int)(SWIG_As_int(obj2
));
32537 if (SWIG_arg_fail(3)) SWIG_fail
;
32540 arg4
= (int)(SWIG_As_int(obj3
));
32541 if (SWIG_arg_fail(4)) SWIG_fail
;
32544 arg5
= (int)(SWIG_As_int(obj4
));
32545 if (SWIG_arg_fail(5)) SWIG_fail
;
32548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32549 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
32551 wxPyEndAllowThreads(__tstate
);
32552 if (PyErr_Occurred()) SWIG_fail
;
32554 Py_INCREF(Py_None
); resultobj
= Py_None
;
32561 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32562 PyObject
*resultobj
;
32563 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32568 int arg6
= (int) wxSIZE_AUTO
;
32569 PyObject
* obj0
= 0 ;
32570 PyObject
* obj1
= 0 ;
32571 PyObject
* obj2
= 0 ;
32572 PyObject
* obj3
= 0 ;
32573 PyObject
* obj4
= 0 ;
32574 PyObject
* obj5
= 0 ;
32575 char *kwnames
[] = {
32576 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
32579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32581 if (SWIG_arg_fail(1)) SWIG_fail
;
32583 arg2
= (int)(SWIG_As_int(obj1
));
32584 if (SWIG_arg_fail(2)) SWIG_fail
;
32587 arg3
= (int)(SWIG_As_int(obj2
));
32588 if (SWIG_arg_fail(3)) SWIG_fail
;
32591 arg4
= (int)(SWIG_As_int(obj3
));
32592 if (SWIG_arg_fail(4)) SWIG_fail
;
32595 arg5
= (int)(SWIG_As_int(obj4
));
32596 if (SWIG_arg_fail(5)) SWIG_fail
;
32600 arg6
= (int)(SWIG_As_int(obj5
));
32601 if (SWIG_arg_fail(6)) SWIG_fail
;
32605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32606 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
32608 wxPyEndAllowThreads(__tstate
);
32609 if (PyErr_Occurred()) SWIG_fail
;
32611 Py_INCREF(Py_None
); resultobj
= Py_None
;
32618 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32619 PyObject
*resultobj
;
32620 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32623 PyObject
* obj0
= 0 ;
32624 PyObject
* obj1
= 0 ;
32625 PyObject
* obj2
= 0 ;
32626 char *kwnames
[] = {
32627 (char *) "self",(char *) "width",(char *) "height", NULL
32630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32632 if (SWIG_arg_fail(1)) SWIG_fail
;
32634 arg2
= (int)(SWIG_As_int(obj1
));
32635 if (SWIG_arg_fail(2)) SWIG_fail
;
32638 arg3
= (int)(SWIG_As_int(obj2
));
32639 if (SWIG_arg_fail(3)) SWIG_fail
;
32642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32643 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
32645 wxPyEndAllowThreads(__tstate
);
32646 if (PyErr_Occurred()) SWIG_fail
;
32648 Py_INCREF(Py_None
); resultobj
= Py_None
;
32655 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32656 PyObject
*resultobj
;
32657 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32660 PyObject
* obj0
= 0 ;
32661 PyObject
* obj1
= 0 ;
32662 PyObject
* obj2
= 0 ;
32663 char *kwnames
[] = {
32664 (char *) "self",(char *) "x",(char *) "y", NULL
32667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) 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 arg2
= (int)(SWIG_As_int(obj1
));
32672 if (SWIG_arg_fail(2)) SWIG_fail
;
32675 arg3
= (int)(SWIG_As_int(obj2
));
32676 if (SWIG_arg_fail(3)) SWIG_fail
;
32679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32680 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
32682 wxPyEndAllowThreads(__tstate
);
32683 if (PyErr_Occurred()) SWIG_fail
;
32685 Py_INCREF(Py_None
); resultobj
= Py_None
;
32692 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32693 PyObject
*resultobj
;
32694 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32695 int *arg2
= (int *) 0 ;
32696 int *arg3
= (int *) 0 ;
32701 PyObject
* obj0
= 0 ;
32702 char *kwnames
[] = {
32703 (char *) "self", NULL
32706 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32707 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
32709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32710 if (SWIG_arg_fail(1)) SWIG_fail
;
32712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32713 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
32715 wxPyEndAllowThreads(__tstate
);
32716 if (PyErr_Occurred()) SWIG_fail
;
32718 Py_INCREF(Py_None
); resultobj
= Py_None
;
32719 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32720 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32721 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32722 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32729 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32730 PyObject
*resultobj
;
32731 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32732 int *arg2
= (int *) 0 ;
32733 int *arg3
= (int *) 0 ;
32738 PyObject
* obj0
= 0 ;
32739 char *kwnames
[] = {
32740 (char *) "self", NULL
32743 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32744 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
32746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32747 if (SWIG_arg_fail(1)) SWIG_fail
;
32749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32750 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
32752 wxPyEndAllowThreads(__tstate
);
32753 if (PyErr_Occurred()) SWIG_fail
;
32755 Py_INCREF(Py_None
); resultobj
= Py_None
;
32756 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32757 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32758 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32759 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32766 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32767 PyObject
*resultobj
;
32768 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32769 int *arg2
= (int *) 0 ;
32770 int *arg3
= (int *) 0 ;
32775 PyObject
* obj0
= 0 ;
32776 char *kwnames
[] = {
32777 (char *) "self", NULL
32780 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32781 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
32783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32784 if (SWIG_arg_fail(1)) SWIG_fail
;
32786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32787 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
32789 wxPyEndAllowThreads(__tstate
);
32790 if (PyErr_Occurred()) SWIG_fail
;
32792 Py_INCREF(Py_None
); resultobj
= Py_None
;
32793 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32794 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32795 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32796 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32803 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32804 PyObject
*resultobj
;
32805 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32807 PyObject
* obj0
= 0 ;
32808 char *kwnames
[] = {
32809 (char *) "self", NULL
32812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
32813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32814 if (SWIG_arg_fail(1)) SWIG_fail
;
32816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32817 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
32819 wxPyEndAllowThreads(__tstate
);
32820 if (PyErr_Occurred()) SWIG_fail
;
32823 wxSize
* resultptr
;
32824 resultptr
= new wxSize((wxSize
&)(result
));
32825 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32833 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32834 PyObject
*resultobj
;
32835 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32837 PyObject
* obj0
= 0 ;
32838 char *kwnames
[] = {
32839 (char *) "self", NULL
32842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
32843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32844 if (SWIG_arg_fail(1)) SWIG_fail
;
32846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32847 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
32849 wxPyEndAllowThreads(__tstate
);
32850 if (PyErr_Occurred()) SWIG_fail
;
32853 wxSize
* resultptr
;
32854 resultptr
= new wxSize((wxSize
&)(result
));
32855 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32863 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32864 PyObject
*resultobj
;
32865 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32866 PyObject
* obj0
= 0 ;
32867 char *kwnames
[] = {
32868 (char *) "self", NULL
32871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
32872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32873 if (SWIG_arg_fail(1)) SWIG_fail
;
32875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32876 (arg1
)->base_InitDialog();
32878 wxPyEndAllowThreads(__tstate
);
32879 if (PyErr_Occurred()) SWIG_fail
;
32881 Py_INCREF(Py_None
); resultobj
= Py_None
;
32888 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32889 PyObject
*resultobj
;
32890 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32892 PyObject
* obj0
= 0 ;
32893 char *kwnames
[] = {
32894 (char *) "self", NULL
32897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
32898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32899 if (SWIG_arg_fail(1)) SWIG_fail
;
32901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32902 result
= (bool)(arg1
)->base_TransferDataToWindow();
32904 wxPyEndAllowThreads(__tstate
);
32905 if (PyErr_Occurred()) SWIG_fail
;
32908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32916 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32917 PyObject
*resultobj
;
32918 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32920 PyObject
* obj0
= 0 ;
32921 char *kwnames
[] = {
32922 (char *) "self", NULL
32925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
32926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32927 if (SWIG_arg_fail(1)) SWIG_fail
;
32929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32930 result
= (bool)(arg1
)->base_TransferDataFromWindow();
32932 wxPyEndAllowThreads(__tstate
);
32933 if (PyErr_Occurred()) SWIG_fail
;
32936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32944 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32945 PyObject
*resultobj
;
32946 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32948 PyObject
* obj0
= 0 ;
32949 char *kwnames
[] = {
32950 (char *) "self", NULL
32953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
32954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32955 if (SWIG_arg_fail(1)) SWIG_fail
;
32957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32958 result
= (bool)(arg1
)->base_Validate();
32960 wxPyEndAllowThreads(__tstate
);
32961 if (PyErr_Occurred()) SWIG_fail
;
32964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32972 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32973 PyObject
*resultobj
;
32974 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32976 PyObject
* obj0
= 0 ;
32977 char *kwnames
[] = {
32978 (char *) "self", NULL
32981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
32982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32983 if (SWIG_arg_fail(1)) SWIG_fail
;
32985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32986 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
32988 wxPyEndAllowThreads(__tstate
);
32989 if (PyErr_Occurred()) SWIG_fail
;
32992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33000 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33001 PyObject
*resultobj
;
33002 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33004 PyObject
* obj0
= 0 ;
33005 char *kwnames
[] = {
33006 (char *) "self", NULL
33009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
33010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33011 if (SWIG_arg_fail(1)) SWIG_fail
;
33013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33014 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
33016 wxPyEndAllowThreads(__tstate
);
33017 if (PyErr_Occurred()) SWIG_fail
;
33020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33028 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33029 PyObject
*resultobj
;
33030 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33032 PyObject
* obj0
= 0 ;
33033 char *kwnames
[] = {
33034 (char *) "self", NULL
33037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
33038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33039 if (SWIG_arg_fail(1)) SWIG_fail
;
33041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33042 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
33044 wxPyEndAllowThreads(__tstate
);
33045 if (PyErr_Occurred()) SWIG_fail
;
33048 wxSize
* resultptr
;
33049 resultptr
= new wxSize((wxSize
&)(result
));
33050 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
33058 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33059 PyObject
*resultobj
;
33060 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33061 wxWindow
*arg2
= (wxWindow
*) 0 ;
33062 PyObject
* obj0
= 0 ;
33063 PyObject
* obj1
= 0 ;
33064 char *kwnames
[] = {
33065 (char *) "self",(char *) "child", NULL
33068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
33069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33070 if (SWIG_arg_fail(1)) SWIG_fail
;
33071 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33072 if (SWIG_arg_fail(2)) SWIG_fail
;
33074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33075 (arg1
)->base_AddChild(arg2
);
33077 wxPyEndAllowThreads(__tstate
);
33078 if (PyErr_Occurred()) SWIG_fail
;
33080 Py_INCREF(Py_None
); resultobj
= Py_None
;
33087 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33088 PyObject
*resultobj
;
33089 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33090 wxWindow
*arg2
= (wxWindow
*) 0 ;
33091 PyObject
* obj0
= 0 ;
33092 PyObject
* obj1
= 0 ;
33093 char *kwnames
[] = {
33094 (char *) "self",(char *) "child", NULL
33097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
33098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33099 if (SWIG_arg_fail(1)) SWIG_fail
;
33100 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33101 if (SWIG_arg_fail(2)) SWIG_fail
;
33103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33104 (arg1
)->base_RemoveChild(arg2
);
33106 wxPyEndAllowThreads(__tstate
);
33107 if (PyErr_Occurred()) SWIG_fail
;
33109 Py_INCREF(Py_None
); resultobj
= Py_None
;
33116 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33117 PyObject
*resultobj
;
33118 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33120 PyObject
* obj0
= 0 ;
33121 char *kwnames
[] = {
33122 (char *) "self", NULL
33125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
33126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33127 if (SWIG_arg_fail(1)) SWIG_fail
;
33129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33130 result
= (bool)((wxPyControl
const *)arg1
)->base_ShouldInheritColours();
33132 wxPyEndAllowThreads(__tstate
);
33133 if (PyErr_Occurred()) SWIG_fail
;
33136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33144 static PyObject
*_wrap_PyControl_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33145 PyObject
*resultobj
;
33146 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33147 wxVisualAttributes result
;
33148 PyObject
* obj0
= 0 ;
33149 char *kwnames
[] = {
33150 (char *) "self", NULL
33153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
33154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33155 if (SWIG_arg_fail(1)) SWIG_fail
;
33157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33158 result
= (arg1
)->base_GetDefaultAttributes();
33160 wxPyEndAllowThreads(__tstate
);
33161 if (PyErr_Occurred()) SWIG_fail
;
33164 wxVisualAttributes
* resultptr
;
33165 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
33166 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
33174 static PyObject
* PyControl_swigregister(PyObject
*, PyObject
*args
) {
33176 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33177 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
33179 return Py_BuildValue((char *)"");
33181 static PyObject
*_wrap_new_HelpEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33182 PyObject
*resultobj
;
33183 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
33184 int arg2
= (int) 0 ;
33185 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33186 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33187 wxHelpEvent
*result
;
33189 PyObject
* obj0
= 0 ;
33190 PyObject
* obj1
= 0 ;
33191 PyObject
* obj2
= 0 ;
33192 char *kwnames
[] = {
33193 (char *) "type",(char *) "winid",(char *) "pt", NULL
33196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33199 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
33200 if (SWIG_arg_fail(1)) SWIG_fail
;
33205 arg2
= (int)(SWIG_As_int(obj1
));
33206 if (SWIG_arg_fail(2)) SWIG_fail
;
33212 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33217 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
33219 wxPyEndAllowThreads(__tstate
);
33220 if (PyErr_Occurred()) SWIG_fail
;
33222 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
33229 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33230 PyObject
*resultobj
;
33231 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33233 PyObject
* obj0
= 0 ;
33234 char *kwnames
[] = {
33235 (char *) "self", NULL
33238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
33239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33240 if (SWIG_arg_fail(1)) SWIG_fail
;
33242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33243 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
33245 wxPyEndAllowThreads(__tstate
);
33246 if (PyErr_Occurred()) SWIG_fail
;
33249 wxPoint
* resultptr
;
33250 resultptr
= new wxPoint((wxPoint
const &)(result
));
33251 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
33259 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33260 PyObject
*resultobj
;
33261 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33262 wxPoint
*arg2
= 0 ;
33264 PyObject
* obj0
= 0 ;
33265 PyObject
* obj1
= 0 ;
33266 char *kwnames
[] = {
33267 (char *) "self",(char *) "pos", NULL
33270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
33271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33272 if (SWIG_arg_fail(1)) SWIG_fail
;
33275 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33279 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
33281 wxPyEndAllowThreads(__tstate
);
33282 if (PyErr_Occurred()) SWIG_fail
;
33284 Py_INCREF(Py_None
); resultobj
= Py_None
;
33291 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33292 PyObject
*resultobj
;
33293 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33295 PyObject
* obj0
= 0 ;
33296 char *kwnames
[] = {
33297 (char *) "self", NULL
33300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
33301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33302 if (SWIG_arg_fail(1)) SWIG_fail
;
33304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33306 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
33307 result
= (wxString
*) &_result_ref
;
33310 wxPyEndAllowThreads(__tstate
);
33311 if (PyErr_Occurred()) SWIG_fail
;
33315 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33317 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33326 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33327 PyObject
*resultobj
;
33328 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33329 wxString
*arg2
= 0 ;
33330 bool temp2
= false ;
33331 PyObject
* obj0
= 0 ;
33332 PyObject
* obj1
= 0 ;
33333 char *kwnames
[] = {
33334 (char *) "self",(char *) "link", NULL
33337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
33338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33339 if (SWIG_arg_fail(1)) SWIG_fail
;
33341 arg2
= wxString_in_helper(obj1
);
33342 if (arg2
== NULL
) SWIG_fail
;
33346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33347 (arg1
)->SetLink((wxString
const &)*arg2
);
33349 wxPyEndAllowThreads(__tstate
);
33350 if (PyErr_Occurred()) SWIG_fail
;
33352 Py_INCREF(Py_None
); resultobj
= Py_None
;
33367 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33368 PyObject
*resultobj
;
33369 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33371 PyObject
* obj0
= 0 ;
33372 char *kwnames
[] = {
33373 (char *) "self", NULL
33376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
33377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33378 if (SWIG_arg_fail(1)) SWIG_fail
;
33380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33382 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
33383 result
= (wxString
*) &_result_ref
;
33386 wxPyEndAllowThreads(__tstate
);
33387 if (PyErr_Occurred()) SWIG_fail
;
33391 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33393 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33402 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33403 PyObject
*resultobj
;
33404 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33405 wxString
*arg2
= 0 ;
33406 bool temp2
= false ;
33407 PyObject
* obj0
= 0 ;
33408 PyObject
* obj1
= 0 ;
33409 char *kwnames
[] = {
33410 (char *) "self",(char *) "target", NULL
33413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
33414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33415 if (SWIG_arg_fail(1)) SWIG_fail
;
33417 arg2
= wxString_in_helper(obj1
);
33418 if (arg2
== NULL
) SWIG_fail
;
33422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33423 (arg1
)->SetTarget((wxString
const &)*arg2
);
33425 wxPyEndAllowThreads(__tstate
);
33426 if (PyErr_Occurred()) SWIG_fail
;
33428 Py_INCREF(Py_None
); resultobj
= Py_None
;
33443 static PyObject
* HelpEvent_swigregister(PyObject
*, PyObject
*args
) {
33445 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33446 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
33448 return Py_BuildValue((char *)"");
33450 static PyObject
*_wrap_new_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33451 PyObject
*resultobj
;
33452 wxWindow
*arg1
= (wxWindow
*) NULL
;
33453 bool arg2
= (bool) true ;
33454 wxContextHelp
*result
;
33455 PyObject
* obj0
= 0 ;
33456 PyObject
* obj1
= 0 ;
33457 char *kwnames
[] = {
33458 (char *) "window",(char *) "doNow", NULL
33461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33464 if (SWIG_arg_fail(1)) SWIG_fail
;
33468 arg2
= (bool)(SWIG_As_bool(obj1
));
33469 if (SWIG_arg_fail(2)) SWIG_fail
;
33473 if (!wxPyCheckForApp()) SWIG_fail
;
33474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33475 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
33477 wxPyEndAllowThreads(__tstate
);
33478 if (PyErr_Occurred()) SWIG_fail
;
33480 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
33487 static PyObject
*_wrap_delete_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33488 PyObject
*resultobj
;
33489 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33490 PyObject
* obj0
= 0 ;
33491 char *kwnames
[] = {
33492 (char *) "self", NULL
33495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
33496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33497 if (SWIG_arg_fail(1)) SWIG_fail
;
33499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33502 wxPyEndAllowThreads(__tstate
);
33503 if (PyErr_Occurred()) SWIG_fail
;
33505 Py_INCREF(Py_None
); resultobj
= Py_None
;
33512 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33513 PyObject
*resultobj
;
33514 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33515 wxWindow
*arg2
= (wxWindow
*) NULL
;
33517 PyObject
* obj0
= 0 ;
33518 PyObject
* obj1
= 0 ;
33519 char *kwnames
[] = {
33520 (char *) "self",(char *) "window", NULL
33523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33525 if (SWIG_arg_fail(1)) SWIG_fail
;
33527 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33528 if (SWIG_arg_fail(2)) SWIG_fail
;
33531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33532 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
33534 wxPyEndAllowThreads(__tstate
);
33535 if (PyErr_Occurred()) SWIG_fail
;
33538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33546 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33547 PyObject
*resultobj
;
33548 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33550 PyObject
* obj0
= 0 ;
33551 char *kwnames
[] = {
33552 (char *) "self", NULL
33555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
33556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33557 if (SWIG_arg_fail(1)) SWIG_fail
;
33559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33560 result
= (bool)(arg1
)->EndContextHelp();
33562 wxPyEndAllowThreads(__tstate
);
33563 if (PyErr_Occurred()) SWIG_fail
;
33566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33574 static PyObject
* ContextHelp_swigregister(PyObject
*, PyObject
*args
) {
33576 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33577 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
33579 return Py_BuildValue((char *)"");
33581 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33582 PyObject
*resultobj
;
33583 wxWindow
*arg1
= (wxWindow
*) 0 ;
33584 int arg2
= (int) wxID_CONTEXT_HELP
;
33585 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33586 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33587 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33588 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33589 long arg5
= (long) wxBU_AUTODRAW
;
33590 wxContextHelpButton
*result
;
33593 PyObject
* obj0
= 0 ;
33594 PyObject
* obj1
= 0 ;
33595 PyObject
* obj2
= 0 ;
33596 PyObject
* obj3
= 0 ;
33597 PyObject
* obj4
= 0 ;
33598 char *kwnames
[] = {
33599 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33604 if (SWIG_arg_fail(1)) SWIG_fail
;
33607 arg2
= (int)(SWIG_As_int(obj1
));
33608 if (SWIG_arg_fail(2)) SWIG_fail
;
33614 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33620 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33625 arg5
= (long)(SWIG_As_long(obj4
));
33626 if (SWIG_arg_fail(5)) SWIG_fail
;
33630 if (!wxPyCheckForApp()) SWIG_fail
;
33631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33632 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
33634 wxPyEndAllowThreads(__tstate
);
33635 if (PyErr_Occurred()) SWIG_fail
;
33637 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
33644 static PyObject
* ContextHelpButton_swigregister(PyObject
*, PyObject
*args
) {
33646 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33647 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
33649 return Py_BuildValue((char *)"");
33651 static PyObject
*_wrap_HelpProvider_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33652 PyObject
*resultobj
;
33653 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33654 wxHelpProvider
*result
;
33655 PyObject
* obj0
= 0 ;
33656 char *kwnames
[] = {
33657 (char *) "helpProvider", NULL
33660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
33661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33662 if (SWIG_arg_fail(1)) SWIG_fail
;
33664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33665 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
33667 wxPyEndAllowThreads(__tstate
);
33668 if (PyErr_Occurred()) SWIG_fail
;
33670 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
33677 static PyObject
*_wrap_HelpProvider_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33678 PyObject
*resultobj
;
33679 wxHelpProvider
*result
;
33680 char *kwnames
[] = {
33684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
33686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33687 result
= (wxHelpProvider
*)wxHelpProvider::Get();
33689 wxPyEndAllowThreads(__tstate
);
33690 if (PyErr_Occurred()) SWIG_fail
;
33692 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
33699 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33700 PyObject
*resultobj
;
33701 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33702 wxWindow
*arg2
= (wxWindow
*) 0 ;
33704 PyObject
* obj0
= 0 ;
33705 PyObject
* obj1
= 0 ;
33706 char *kwnames
[] = {
33707 (char *) "self",(char *) "window", NULL
33710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33712 if (SWIG_arg_fail(1)) SWIG_fail
;
33713 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33714 if (SWIG_arg_fail(2)) SWIG_fail
;
33716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33717 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
33719 wxPyEndAllowThreads(__tstate
);
33720 if (PyErr_Occurred()) SWIG_fail
;
33724 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33726 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33735 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33736 PyObject
*resultobj
;
33737 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33738 wxWindow
*arg2
= (wxWindow
*) 0 ;
33740 PyObject
* obj0
= 0 ;
33741 PyObject
* obj1
= 0 ;
33742 char *kwnames
[] = {
33743 (char *) "self",(char *) "window", NULL
33746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33748 if (SWIG_arg_fail(1)) SWIG_fail
;
33749 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33750 if (SWIG_arg_fail(2)) SWIG_fail
;
33752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33753 result
= (bool)(arg1
)->ShowHelp(arg2
);
33755 wxPyEndAllowThreads(__tstate
);
33756 if (PyErr_Occurred()) SWIG_fail
;
33759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33767 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33768 PyObject
*resultobj
;
33769 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33770 wxWindow
*arg2
= (wxWindow
*) 0 ;
33771 wxString
*arg3
= 0 ;
33772 bool temp3
= false ;
33773 PyObject
* obj0
= 0 ;
33774 PyObject
* obj1
= 0 ;
33775 PyObject
* obj2
= 0 ;
33776 char *kwnames
[] = {
33777 (char *) "self",(char *) "window",(char *) "text", NULL
33780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33782 if (SWIG_arg_fail(1)) SWIG_fail
;
33783 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33784 if (SWIG_arg_fail(2)) SWIG_fail
;
33786 arg3
= wxString_in_helper(obj2
);
33787 if (arg3
== NULL
) SWIG_fail
;
33791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33792 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
33794 wxPyEndAllowThreads(__tstate
);
33795 if (PyErr_Occurred()) SWIG_fail
;
33797 Py_INCREF(Py_None
); resultobj
= Py_None
;
33812 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33813 PyObject
*resultobj
;
33814 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33816 wxString
*arg3
= 0 ;
33817 bool temp3
= false ;
33818 PyObject
* obj0
= 0 ;
33819 PyObject
* obj1
= 0 ;
33820 PyObject
* obj2
= 0 ;
33821 char *kwnames
[] = {
33822 (char *) "self",(char *) "id",(char *) "text", NULL
33825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33827 if (SWIG_arg_fail(1)) SWIG_fail
;
33829 arg2
= (int)(SWIG_As_int(obj1
));
33830 if (SWIG_arg_fail(2)) SWIG_fail
;
33833 arg3
= wxString_in_helper(obj2
);
33834 if (arg3
== NULL
) SWIG_fail
;
33838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33839 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
33841 wxPyEndAllowThreads(__tstate
);
33842 if (PyErr_Occurred()) SWIG_fail
;
33844 Py_INCREF(Py_None
); resultobj
= Py_None
;
33859 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33860 PyObject
*resultobj
;
33861 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33862 wxWindow
*arg2
= (wxWindow
*) 0 ;
33863 PyObject
* obj0
= 0 ;
33864 PyObject
* obj1
= 0 ;
33865 char *kwnames
[] = {
33866 (char *) "self",(char *) "window", NULL
33869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33871 if (SWIG_arg_fail(1)) SWIG_fail
;
33872 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33873 if (SWIG_arg_fail(2)) SWIG_fail
;
33875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33876 (arg1
)->RemoveHelp(arg2
);
33878 wxPyEndAllowThreads(__tstate
);
33879 if (PyErr_Occurred()) SWIG_fail
;
33881 Py_INCREF(Py_None
); resultobj
= Py_None
;
33888 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33889 PyObject
*resultobj
;
33890 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33891 PyObject
* obj0
= 0 ;
33892 char *kwnames
[] = {
33893 (char *) "self", NULL
33896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
33897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33898 if (SWIG_arg_fail(1)) SWIG_fail
;
33900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33901 wxHelpProvider_Destroy(arg1
);
33903 wxPyEndAllowThreads(__tstate
);
33904 if (PyErr_Occurred()) SWIG_fail
;
33906 Py_INCREF(Py_None
); resultobj
= Py_None
;
33913 static PyObject
* HelpProvider_swigregister(PyObject
*, PyObject
*args
) {
33915 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33916 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
33918 return Py_BuildValue((char *)"");
33920 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33921 PyObject
*resultobj
;
33922 wxSimpleHelpProvider
*result
;
33923 char *kwnames
[] = {
33927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
33929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33930 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
33932 wxPyEndAllowThreads(__tstate
);
33933 if (PyErr_Occurred()) SWIG_fail
;
33935 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
33942 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*, PyObject
*args
) {
33944 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33945 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
33947 return Py_BuildValue((char *)"");
33949 static PyObject
*_wrap_new_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33950 PyObject
*resultobj
;
33951 wxBitmap
*arg1
= 0 ;
33952 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33953 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
33954 wxGenericDragImage
*result
;
33955 PyObject
* obj0
= 0 ;
33956 PyObject
* obj1
= 0 ;
33957 char *kwnames
[] = {
33958 (char *) "image",(char *) "cursor", NULL
33961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
33963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
33964 if (SWIG_arg_fail(1)) SWIG_fail
;
33965 if (arg1
== NULL
) {
33966 SWIG_null_ref("wxBitmap");
33968 if (SWIG_arg_fail(1)) SWIG_fail
;
33972 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
33973 if (SWIG_arg_fail(2)) SWIG_fail
;
33974 if (arg2
== NULL
) {
33975 SWIG_null_ref("wxCursor");
33977 if (SWIG_arg_fail(2)) SWIG_fail
;
33981 if (!wxPyCheckForApp()) SWIG_fail
;
33982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33983 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
33985 wxPyEndAllowThreads(__tstate
);
33986 if (PyErr_Occurred()) SWIG_fail
;
33988 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33995 static PyObject
*_wrap_new_DragIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33996 PyObject
*resultobj
;
33998 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33999 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
34000 wxGenericDragImage
*result
;
34001 PyObject
* obj0
= 0 ;
34002 PyObject
* obj1
= 0 ;
34003 char *kwnames
[] = {
34004 (char *) "image",(char *) "cursor", NULL
34007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
34009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
34010 if (SWIG_arg_fail(1)) SWIG_fail
;
34011 if (arg1
== NULL
) {
34012 SWIG_null_ref("wxIcon");
34014 if (SWIG_arg_fail(1)) SWIG_fail
;
34018 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
34019 if (SWIG_arg_fail(2)) SWIG_fail
;
34020 if (arg2
== NULL
) {
34021 SWIG_null_ref("wxCursor");
34023 if (SWIG_arg_fail(2)) SWIG_fail
;
34027 if (!wxPyCheckForApp()) SWIG_fail
;
34028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34029 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
34031 wxPyEndAllowThreads(__tstate
);
34032 if (PyErr_Occurred()) SWIG_fail
;
34034 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
34041 static PyObject
*_wrap_new_DragString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34042 PyObject
*resultobj
;
34043 wxString
*arg1
= 0 ;
34044 wxCursor
const &arg2_defvalue
= wxNullCursor
;
34045 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
34046 wxGenericDragImage
*result
;
34047 bool temp1
= false ;
34048 PyObject
* obj0
= 0 ;
34049 PyObject
* obj1
= 0 ;
34050 char *kwnames
[] = {
34051 (char *) "str",(char *) "cursor", NULL
34054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
34056 arg1
= wxString_in_helper(obj0
);
34057 if (arg1
== NULL
) SWIG_fail
;
34062 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
34063 if (SWIG_arg_fail(2)) SWIG_fail
;
34064 if (arg2
== NULL
) {
34065 SWIG_null_ref("wxCursor");
34067 if (SWIG_arg_fail(2)) SWIG_fail
;
34071 if (!wxPyCheckForApp()) SWIG_fail
;
34072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34073 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
34075 wxPyEndAllowThreads(__tstate
);
34076 if (PyErr_Occurred()) SWIG_fail
;
34078 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
34093 static PyObject
*_wrap_new_DragTreeItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34094 PyObject
*resultobj
;
34095 wxPyTreeCtrl
*arg1
= 0 ;
34096 wxTreeItemId
*arg2
= 0 ;
34097 wxGenericDragImage
*result
;
34098 PyObject
* obj0
= 0 ;
34099 PyObject
* obj1
= 0 ;
34100 char *kwnames
[] = {
34101 (char *) "treeCtrl",(char *) "id", NULL
34104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34107 if (SWIG_arg_fail(1)) SWIG_fail
;
34108 if (arg1
== NULL
) {
34109 SWIG_null_ref("wxPyTreeCtrl");
34111 if (SWIG_arg_fail(1)) SWIG_fail
;
34114 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
34115 if (SWIG_arg_fail(2)) SWIG_fail
;
34116 if (arg2
== NULL
) {
34117 SWIG_null_ref("wxTreeItemId");
34119 if (SWIG_arg_fail(2)) SWIG_fail
;
34122 if (!wxPyCheckForApp()) SWIG_fail
;
34123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34124 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
34126 wxPyEndAllowThreads(__tstate
);
34127 if (PyErr_Occurred()) SWIG_fail
;
34129 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
34136 static PyObject
*_wrap_new_DragListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34137 PyObject
*resultobj
;
34138 wxPyListCtrl
*arg1
= 0 ;
34140 wxGenericDragImage
*result
;
34141 PyObject
* obj0
= 0 ;
34142 PyObject
* obj1
= 0 ;
34143 char *kwnames
[] = {
34144 (char *) "listCtrl",(char *) "id", NULL
34147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34150 if (SWIG_arg_fail(1)) SWIG_fail
;
34151 if (arg1
== NULL
) {
34152 SWIG_null_ref("wxPyListCtrl");
34154 if (SWIG_arg_fail(1)) SWIG_fail
;
34157 arg2
= (long)(SWIG_As_long(obj1
));
34158 if (SWIG_arg_fail(2)) SWIG_fail
;
34161 if (!wxPyCheckForApp()) SWIG_fail
;
34162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34163 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
34165 wxPyEndAllowThreads(__tstate
);
34166 if (PyErr_Occurred()) SWIG_fail
;
34168 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
34175 static PyObject
*_wrap_delete_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34176 PyObject
*resultobj
;
34177 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34178 PyObject
* obj0
= 0 ;
34179 char *kwnames
[] = {
34180 (char *) "self", NULL
34183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
34184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34185 if (SWIG_arg_fail(1)) SWIG_fail
;
34187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34190 wxPyEndAllowThreads(__tstate
);
34191 if (PyErr_Occurred()) SWIG_fail
;
34193 Py_INCREF(Py_None
); resultobj
= Py_None
;
34200 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34201 PyObject
*resultobj
;
34202 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34203 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
34204 PyObject
* obj0
= 0 ;
34205 PyObject
* obj1
= 0 ;
34206 char *kwnames
[] = {
34207 (char *) "self",(char *) "bitmap", NULL
34210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
34211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34212 if (SWIG_arg_fail(1)) SWIG_fail
;
34213 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
34214 if (SWIG_arg_fail(2)) SWIG_fail
;
34216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34217 (arg1
)->SetBackingBitmap(arg2
);
34219 wxPyEndAllowThreads(__tstate
);
34220 if (PyErr_Occurred()) SWIG_fail
;
34222 Py_INCREF(Py_None
); resultobj
= Py_None
;
34229 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34230 PyObject
*resultobj
;
34231 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34232 wxPoint
*arg2
= 0 ;
34233 wxWindow
*arg3
= (wxWindow
*) 0 ;
34234 bool arg4
= (bool) false ;
34235 wxRect
*arg5
= (wxRect
*) NULL
;
34238 PyObject
* obj0
= 0 ;
34239 PyObject
* obj1
= 0 ;
34240 PyObject
* obj2
= 0 ;
34241 PyObject
* obj3
= 0 ;
34242 PyObject
* obj4
= 0 ;
34243 char *kwnames
[] = {
34244 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
34247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34249 if (SWIG_arg_fail(1)) SWIG_fail
;
34252 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34254 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34255 if (SWIG_arg_fail(3)) SWIG_fail
;
34258 arg4
= (bool)(SWIG_As_bool(obj3
));
34259 if (SWIG_arg_fail(4)) SWIG_fail
;
34263 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
34264 if (SWIG_arg_fail(5)) SWIG_fail
;
34267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34268 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
34270 wxPyEndAllowThreads(__tstate
);
34271 if (PyErr_Occurred()) SWIG_fail
;
34274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34282 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34283 PyObject
*resultobj
;
34284 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34285 wxPoint
*arg2
= 0 ;
34286 wxWindow
*arg3
= (wxWindow
*) 0 ;
34287 wxWindow
*arg4
= (wxWindow
*) 0 ;
34290 PyObject
* obj0
= 0 ;
34291 PyObject
* obj1
= 0 ;
34292 PyObject
* obj2
= 0 ;
34293 PyObject
* obj3
= 0 ;
34294 char *kwnames
[] = {
34295 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
34298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34300 if (SWIG_arg_fail(1)) SWIG_fail
;
34303 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34305 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34306 if (SWIG_arg_fail(3)) SWIG_fail
;
34307 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34308 if (SWIG_arg_fail(4)) SWIG_fail
;
34310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34311 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
34313 wxPyEndAllowThreads(__tstate
);
34314 if (PyErr_Occurred()) SWIG_fail
;
34317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34325 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34326 PyObject
*resultobj
;
34327 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34329 PyObject
* obj0
= 0 ;
34330 char *kwnames
[] = {
34331 (char *) "self", NULL
34334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
34335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34336 if (SWIG_arg_fail(1)) SWIG_fail
;
34338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34339 result
= (bool)(arg1
)->EndDrag();
34341 wxPyEndAllowThreads(__tstate
);
34342 if (PyErr_Occurred()) SWIG_fail
;
34345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34353 static PyObject
*_wrap_DragImage_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34354 PyObject
*resultobj
;
34355 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34356 wxPoint
*arg2
= 0 ;
34359 PyObject
* obj0
= 0 ;
34360 PyObject
* obj1
= 0 ;
34361 char *kwnames
[] = {
34362 (char *) "self",(char *) "pt", NULL
34365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
34366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34367 if (SWIG_arg_fail(1)) SWIG_fail
;
34370 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34374 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
34376 wxPyEndAllowThreads(__tstate
);
34377 if (PyErr_Occurred()) SWIG_fail
;
34380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34388 static PyObject
*_wrap_DragImage_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34389 PyObject
*resultobj
;
34390 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34392 PyObject
* obj0
= 0 ;
34393 char *kwnames
[] = {
34394 (char *) "self", NULL
34397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
34398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34399 if (SWIG_arg_fail(1)) SWIG_fail
;
34401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34402 result
= (bool)(arg1
)->Show();
34404 wxPyEndAllowThreads(__tstate
);
34405 if (PyErr_Occurred()) SWIG_fail
;
34408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34416 static PyObject
*_wrap_DragImage_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34417 PyObject
*resultobj
;
34418 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34420 PyObject
* obj0
= 0 ;
34421 char *kwnames
[] = {
34422 (char *) "self", NULL
34425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
34426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34427 if (SWIG_arg_fail(1)) SWIG_fail
;
34429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34430 result
= (bool)(arg1
)->Hide();
34432 wxPyEndAllowThreads(__tstate
);
34433 if (PyErr_Occurred()) SWIG_fail
;
34436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34444 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34445 PyObject
*resultobj
;
34446 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34447 wxPoint
*arg2
= 0 ;
34450 PyObject
* obj0
= 0 ;
34451 PyObject
* obj1
= 0 ;
34452 char *kwnames
[] = {
34453 (char *) "self",(char *) "pos", NULL
34456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
34457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34458 if (SWIG_arg_fail(1)) SWIG_fail
;
34461 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34465 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
34467 wxPyEndAllowThreads(__tstate
);
34468 if (PyErr_Occurred()) SWIG_fail
;
34471 wxRect
* resultptr
;
34472 resultptr
= new wxRect((wxRect
&)(result
));
34473 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
34481 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34482 PyObject
*resultobj
;
34483 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34485 wxPoint
*arg3
= 0 ;
34488 PyObject
* obj0
= 0 ;
34489 PyObject
* obj1
= 0 ;
34490 PyObject
* obj2
= 0 ;
34491 char *kwnames
[] = {
34492 (char *) "self",(char *) "dc",(char *) "pos", NULL
34495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34497 if (SWIG_arg_fail(1)) SWIG_fail
;
34499 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
34500 if (SWIG_arg_fail(2)) SWIG_fail
;
34501 if (arg2
== NULL
) {
34502 SWIG_null_ref("wxDC");
34504 if (SWIG_arg_fail(2)) SWIG_fail
;
34508 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34512 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
34514 wxPyEndAllowThreads(__tstate
);
34515 if (PyErr_Occurred()) SWIG_fail
;
34518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34526 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34527 PyObject
*resultobj
;
34528 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34530 wxMemoryDC
*arg3
= 0 ;
34536 PyObject
* obj0
= 0 ;
34537 PyObject
* obj1
= 0 ;
34538 PyObject
* obj2
= 0 ;
34539 PyObject
* obj3
= 0 ;
34540 PyObject
* obj4
= 0 ;
34541 char *kwnames
[] = {
34542 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
34545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34547 if (SWIG_arg_fail(1)) SWIG_fail
;
34549 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
34550 if (SWIG_arg_fail(2)) SWIG_fail
;
34551 if (arg2
== NULL
) {
34552 SWIG_null_ref("wxDC");
34554 if (SWIG_arg_fail(2)) SWIG_fail
;
34557 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_EXCEPTION
| 0);
34558 if (SWIG_arg_fail(3)) SWIG_fail
;
34559 if (arg3
== NULL
) {
34560 SWIG_null_ref("wxMemoryDC");
34562 if (SWIG_arg_fail(3)) SWIG_fail
;
34566 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34570 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
34573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34574 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
34576 wxPyEndAllowThreads(__tstate
);
34577 if (PyErr_Occurred()) SWIG_fail
;
34580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34588 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34589 PyObject
*resultobj
;
34590 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34591 wxPoint
*arg2
= 0 ;
34592 wxPoint
*arg3
= 0 ;
34598 PyObject
* obj0
= 0 ;
34599 PyObject
* obj1
= 0 ;
34600 PyObject
* obj2
= 0 ;
34601 PyObject
* obj3
= 0 ;
34602 PyObject
* obj4
= 0 ;
34603 char *kwnames
[] = {
34604 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
34607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34609 if (SWIG_arg_fail(1)) SWIG_fail
;
34612 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34616 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34619 arg4
= (bool)(SWIG_As_bool(obj3
));
34620 if (SWIG_arg_fail(4)) SWIG_fail
;
34623 arg5
= (bool)(SWIG_As_bool(obj4
));
34624 if (SWIG_arg_fail(5)) SWIG_fail
;
34627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34628 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
34630 wxPyEndAllowThreads(__tstate
);
34631 if (PyErr_Occurred()) SWIG_fail
;
34634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34642 static PyObject
* DragImage_swigregister(PyObject
*, PyObject
*args
) {
34644 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34645 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
34647 return Py_BuildValue((char *)"");
34649 static int _wrap_DatePickerCtrlNameStr_set(PyObject
*) {
34650 PyErr_SetString(PyExc_TypeError
,"Variable DatePickerCtrlNameStr is read-only.");
34655 static PyObject
*_wrap_DatePickerCtrlNameStr_get(void) {
34660 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
34662 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
34669 static PyObject
*_wrap_new_DatePickerCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34670 PyObject
*resultobj
;
34671 wxWindow
*arg1
= (wxWindow
*) 0 ;
34672 int arg2
= (int) -1 ;
34673 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
34674 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
34675 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
34676 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
34677 wxSize
const &arg5_defvalue
= wxDefaultSize
;
34678 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
34679 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
34680 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
34681 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
34682 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
34683 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
34684 wxDatePickerCtrl
*result
;
34687 bool temp8
= false ;
34688 PyObject
* obj0
= 0 ;
34689 PyObject
* obj1
= 0 ;
34690 PyObject
* obj2
= 0 ;
34691 PyObject
* obj3
= 0 ;
34692 PyObject
* obj4
= 0 ;
34693 PyObject
* obj5
= 0 ;
34694 PyObject
* obj6
= 0 ;
34695 PyObject
* obj7
= 0 ;
34696 char *kwnames
[] = {
34697 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
34701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34702 if (SWIG_arg_fail(1)) SWIG_fail
;
34705 arg2
= (int)(SWIG_As_int(obj1
));
34706 if (SWIG_arg_fail(2)) SWIG_fail
;
34711 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34712 if (SWIG_arg_fail(3)) SWIG_fail
;
34713 if (arg3
== NULL
) {
34714 SWIG_null_ref("wxDateTime");
34716 if (SWIG_arg_fail(3)) SWIG_fail
;
34722 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
34728 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
34733 arg6
= (long)(SWIG_As_long(obj5
));
34734 if (SWIG_arg_fail(6)) SWIG_fail
;
34739 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
34740 if (SWIG_arg_fail(7)) SWIG_fail
;
34741 if (arg7
== NULL
) {
34742 SWIG_null_ref("wxValidator");
34744 if (SWIG_arg_fail(7)) SWIG_fail
;
34749 arg8
= wxString_in_helper(obj7
);
34750 if (arg8
== NULL
) SWIG_fail
;
34755 if (!wxPyCheckForApp()) SWIG_fail
;
34756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34757 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
34759 wxPyEndAllowThreads(__tstate
);
34760 if (PyErr_Occurred()) SWIG_fail
;
34762 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDatePickerCtrl
, 1);
34777 static PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34778 PyObject
*resultobj
;
34779 wxDatePickerCtrl
*result
;
34780 char *kwnames
[] = {
34784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDatePickerCtrl",kwnames
)) goto fail
;
34786 if (!wxPyCheckForApp()) SWIG_fail
;
34787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34788 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
34790 wxPyEndAllowThreads(__tstate
);
34791 if (PyErr_Occurred()) SWIG_fail
;
34793 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDatePickerCtrl
, 1);
34800 static PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34801 PyObject
*resultobj
;
34802 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34803 wxWindow
*arg2
= (wxWindow
*) 0 ;
34804 int arg3
= (int) -1 ;
34805 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
34806 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
34807 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
34808 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
34809 wxSize
const &arg6_defvalue
= wxDefaultSize
;
34810 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
34811 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
34812 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
34813 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
34814 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
34815 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
34819 bool temp9
= false ;
34820 PyObject
* obj0
= 0 ;
34821 PyObject
* obj1
= 0 ;
34822 PyObject
* obj2
= 0 ;
34823 PyObject
* obj3
= 0 ;
34824 PyObject
* obj4
= 0 ;
34825 PyObject
* obj5
= 0 ;
34826 PyObject
* obj6
= 0 ;
34827 PyObject
* obj7
= 0 ;
34828 PyObject
* obj8
= 0 ;
34829 char *kwnames
[] = {
34830 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
34834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34835 if (SWIG_arg_fail(1)) SWIG_fail
;
34836 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34837 if (SWIG_arg_fail(2)) SWIG_fail
;
34840 arg3
= (int)(SWIG_As_int(obj2
));
34841 if (SWIG_arg_fail(3)) SWIG_fail
;
34846 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34847 if (SWIG_arg_fail(4)) SWIG_fail
;
34848 if (arg4
== NULL
) {
34849 SWIG_null_ref("wxDateTime");
34851 if (SWIG_arg_fail(4)) SWIG_fail
;
34857 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
34863 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
34868 arg7
= (long)(SWIG_As_long(obj6
));
34869 if (SWIG_arg_fail(7)) SWIG_fail
;
34874 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
34875 if (SWIG_arg_fail(8)) SWIG_fail
;
34876 if (arg8
== NULL
) {
34877 SWIG_null_ref("wxValidator");
34879 if (SWIG_arg_fail(8)) SWIG_fail
;
34884 arg9
= wxString_in_helper(obj8
);
34885 if (arg9
== NULL
) SWIG_fail
;
34890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34891 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
34893 wxPyEndAllowThreads(__tstate
);
34894 if (PyErr_Occurred()) SWIG_fail
;
34897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34913 static PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34914 PyObject
*resultobj
;
34915 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34916 wxDateTime
*arg2
= 0 ;
34917 PyObject
* obj0
= 0 ;
34918 PyObject
* obj1
= 0 ;
34919 char *kwnames
[] = {
34920 (char *) "self",(char *) "dt", NULL
34923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
34924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34925 if (SWIG_arg_fail(1)) SWIG_fail
;
34927 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34928 if (SWIG_arg_fail(2)) SWIG_fail
;
34929 if (arg2
== NULL
) {
34930 SWIG_null_ref("wxDateTime");
34932 if (SWIG_arg_fail(2)) SWIG_fail
;
34935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34936 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
34938 wxPyEndAllowThreads(__tstate
);
34939 if (PyErr_Occurred()) SWIG_fail
;
34941 Py_INCREF(Py_None
); resultobj
= Py_None
;
34948 static PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34949 PyObject
*resultobj
;
34950 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34952 PyObject
* obj0
= 0 ;
34953 char *kwnames
[] = {
34954 (char *) "self", NULL
34957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
34958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34959 if (SWIG_arg_fail(1)) SWIG_fail
;
34961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34962 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
34964 wxPyEndAllowThreads(__tstate
);
34965 if (PyErr_Occurred()) SWIG_fail
;
34968 wxDateTime
* resultptr
;
34969 resultptr
= new wxDateTime((wxDateTime
&)(result
));
34970 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
34978 static PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34979 PyObject
*resultobj
;
34980 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34981 wxDateTime
*arg2
= 0 ;
34982 wxDateTime
*arg3
= 0 ;
34983 PyObject
* obj0
= 0 ;
34984 PyObject
* obj1
= 0 ;
34985 PyObject
* obj2
= 0 ;
34986 char *kwnames
[] = {
34987 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
34990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34992 if (SWIG_arg_fail(1)) SWIG_fail
;
34994 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34995 if (SWIG_arg_fail(2)) SWIG_fail
;
34996 if (arg2
== NULL
) {
34997 SWIG_null_ref("wxDateTime");
34999 if (SWIG_arg_fail(2)) SWIG_fail
;
35002 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
35003 if (SWIG_arg_fail(3)) SWIG_fail
;
35004 if (arg3
== NULL
) {
35005 SWIG_null_ref("wxDateTime");
35007 if (SWIG_arg_fail(3)) SWIG_fail
;
35010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35011 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
35013 wxPyEndAllowThreads(__tstate
);
35014 if (PyErr_Occurred()) SWIG_fail
;
35016 Py_INCREF(Py_None
); resultobj
= Py_None
;
35023 static PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35024 PyObject
*resultobj
;
35025 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
35027 PyObject
* obj0
= 0 ;
35028 char *kwnames
[] = {
35029 (char *) "self", NULL
35032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetLowerLimit",kwnames
,&obj0
)) goto fail
;
35033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
35034 if (SWIG_arg_fail(1)) SWIG_fail
;
35036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35037 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
35039 wxPyEndAllowThreads(__tstate
);
35040 if (PyErr_Occurred()) SWIG_fail
;
35043 wxDateTime
* resultptr
;
35044 resultptr
= new wxDateTime((wxDateTime
&)(result
));
35045 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
35053 static PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35054 PyObject
*resultobj
;
35055 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
35057 PyObject
* obj0
= 0 ;
35058 char *kwnames
[] = {
35059 (char *) "self", NULL
35062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetUpperLimit",kwnames
,&obj0
)) goto fail
;
35063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
35064 if (SWIG_arg_fail(1)) SWIG_fail
;
35066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35067 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
35069 wxPyEndAllowThreads(__tstate
);
35070 if (PyErr_Occurred()) SWIG_fail
;
35073 wxDateTime
* resultptr
;
35074 resultptr
= new wxDateTime((wxDateTime
&)(result
));
35075 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
35083 static PyObject
* DatePickerCtrl_swigregister(PyObject
*, PyObject
*args
) {
35085 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35086 SWIG_TypeClientData(SWIGTYPE_p_wxDatePickerCtrl
, obj
);
35088 return Py_BuildValue((char *)"");
35090 static PyMethodDef SwigMethods
[] = {
35091 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35092 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35093 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35094 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35095 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35096 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35097 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
35098 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35099 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35100 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35101 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35102 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35103 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35104 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35105 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35106 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35107 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35108 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35109 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35110 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35111 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35112 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
35113 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35114 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35115 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35116 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35117 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35118 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35119 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35120 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35121 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35122 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35123 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35124 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
35125 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35126 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35127 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35128 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35129 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
35130 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35131 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35132 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35133 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35134 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35135 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35136 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35137 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35138 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35139 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35140 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35141 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35142 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35143 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35144 { (char *)"ComboBox_GetMark", (PyCFunction
) _wrap_ComboBox_GetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35145 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35146 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35147 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35148 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35149 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35150 { (char *)"ComboBox_IsEditable", (PyCFunction
) _wrap_ComboBox_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35151 { (char *)"ComboBox_Undo", (PyCFunction
) _wrap_ComboBox_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35152 { (char *)"ComboBox_Redo", (PyCFunction
) _wrap_ComboBox_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35153 { (char *)"ComboBox_SelectAll", (PyCFunction
) _wrap_ComboBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35154 { (char *)"ComboBox_CanCopy", (PyCFunction
) _wrap_ComboBox_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35155 { (char *)"ComboBox_CanCut", (PyCFunction
) _wrap_ComboBox_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35156 { (char *)"ComboBox_CanPaste", (PyCFunction
) _wrap_ComboBox_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35157 { (char *)"ComboBox_CanUndo", (PyCFunction
) _wrap_ComboBox_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35158 { (char *)"ComboBox_CanRedo", (PyCFunction
) _wrap_ComboBox_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35159 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35160 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
35161 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35162 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35163 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35164 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35165 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35166 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35167 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35168 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35169 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35170 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35171 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35172 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35173 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35174 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
35175 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35176 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35177 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35178 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35179 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
35180 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35181 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35182 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35183 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35184 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35185 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35186 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
35187 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35188 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35189 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35190 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35191 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
35192 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35193 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35194 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35195 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35196 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35197 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35198 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35199 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
35200 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35201 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35202 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35203 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35204 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35205 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35206 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35207 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35208 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35209 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35210 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35211 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35212 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35213 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35214 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35215 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35216 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35217 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35218 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35219 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35220 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35221 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35222 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
35223 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35224 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35225 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35226 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35227 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35228 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35229 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35230 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35231 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
35232 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35233 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35234 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35235 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35236 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35237 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35238 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35239 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35240 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35241 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35242 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35243 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35244 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35245 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35246 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35247 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35248 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35249 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35250 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35251 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35252 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35253 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35254 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35255 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35256 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35257 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
) _wrap_TextAttr_GetLeftSubIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35258 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35259 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35260 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35261 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35262 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
35263 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35264 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35265 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35266 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35267 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35268 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35269 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35270 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35271 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35272 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35273 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35274 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35275 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35276 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35277 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35278 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35279 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35280 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35281 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35282 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35283 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35284 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35285 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35286 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35287 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35288 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35289 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35290 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35291 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35292 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35293 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35294 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35295 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35296 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35297 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35298 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35299 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35300 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35301 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35302 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35303 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35304 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35305 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35306 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35307 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35308 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35309 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35310 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35311 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35312 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35313 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35314 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35315 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction
) _wrap_TextCtrl_ShowNativeCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35316 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction
) _wrap_TextCtrl_HideNativeCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35317 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35318 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35319 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35320 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
35321 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35322 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35323 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35324 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35325 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
35326 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35327 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35328 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35329 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35330 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35331 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35332 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35333 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35334 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35335 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35336 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35337 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
35338 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35339 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35340 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35341 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35342 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35343 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35344 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35345 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35346 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35347 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35348 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35349 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35350 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
35351 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35352 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35353 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35354 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35355 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35356 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35357 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35358 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35359 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35360 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35361 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35362 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
35363 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35364 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35365 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35366 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
35367 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35368 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35369 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35370 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35371 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35372 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35373 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35374 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35375 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35376 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35377 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35378 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35379 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35380 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35381 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35382 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35383 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35384 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
35385 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35386 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35387 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35388 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35389 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35390 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35391 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
35392 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35393 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35394 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35395 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35396 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35397 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35398 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35399 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35400 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35401 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35402 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35403 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35404 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35405 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35406 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35407 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35408 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35409 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35410 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35411 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35412 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35413 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35414 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35415 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35416 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35417 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
35418 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35419 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35420 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35421 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35422 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35423 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35424 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35425 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
35426 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
) _wrap_BookCtrlBase_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35427 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35428 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35429 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
) _wrap_BookCtrlBase_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35430 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35431 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35432 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35433 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35434 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
) _wrap_BookCtrlBase_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35435 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35436 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35437 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35438 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35439 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35440 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35441 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
) _wrap_BookCtrlBase_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35442 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35443 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35444 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35445 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35446 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35447 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
35448 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35449 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35450 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35451 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35452 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35453 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
35454 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35455 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35456 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35457 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35458 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35459 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35460 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35461 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35462 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
) _wrap_Notebook_GetThemeBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35463 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35464 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
35465 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35466 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
35467 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35468 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35469 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35470 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35471 { (char *)"Listbook_GetListView", (PyCFunction
) _wrap_Listbook_GetListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35472 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
35473 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35474 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
35475 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35476 { (char *)"new_PreChoicebook", (PyCFunction
) _wrap_new_PreChoicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35477 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35478 { (char *)"Choicebook_IsVertical", (PyCFunction
) _wrap_Choicebook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35479 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
) _wrap_Choicebook_GetChoiceCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35480 { (char *)"Choicebook_DeleteAllPages", (PyCFunction
) _wrap_Choicebook_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35481 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
35482 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35483 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
35484 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35485 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35486 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35487 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35488 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
, NULL
},
35489 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35490 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35491 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35492 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35493 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
, NULL
},
35494 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35495 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35496 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35497 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35498 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35499 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35500 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35501 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35502 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35503 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35504 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35505 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35506 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35507 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35508 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35509 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35510 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35511 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35512 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35513 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35514 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35515 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35516 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35517 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35518 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35519 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35520 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35521 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35522 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35523 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
35524 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35525 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35526 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35527 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35528 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35529 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35530 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35531 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35532 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35533 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35534 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35535 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35536 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35537 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35538 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35539 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35540 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35541 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35542 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35543 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35544 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35545 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35546 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35547 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35548 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35549 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35550 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35551 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35552 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35553 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35554 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35555 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35556 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35557 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35558 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35559 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35560 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35561 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35562 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35563 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35564 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35565 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35566 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35567 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35568 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
35569 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35570 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35571 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35572 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35573 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35574 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
35575 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35576 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35577 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35578 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35579 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35580 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35581 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35582 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35583 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35584 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35585 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35586 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
35587 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35588 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35589 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35590 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35591 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35592 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35593 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35594 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35595 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35596 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35597 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35598 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35599 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35600 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35601 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35602 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35603 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35604 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35605 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35606 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35607 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35608 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35609 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35610 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35611 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35612 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35613 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35614 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35615 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35616 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35617 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35618 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35619 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35620 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35621 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35622 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35623 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35624 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35625 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35626 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35627 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35628 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35629 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35630 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35631 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35632 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35633 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35634 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35635 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35636 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35637 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35638 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
35639 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35640 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35641 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35642 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35643 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35644 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35645 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35646 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35647 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35648 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35649 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35650 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35651 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35652 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35653 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35654 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35655 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35656 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35657 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35658 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35659 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35660 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35661 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35662 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35663 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35664 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35665 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
35666 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35667 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35668 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35669 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35670 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35671 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35672 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35673 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35674 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35675 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35676 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35677 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35678 { (char *)"ListCtrl_GetEditControl", (PyCFunction
) _wrap_ListCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35679 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35680 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35681 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35682 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35683 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35684 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35685 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35686 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35687 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35688 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35689 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35690 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35691 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35692 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35693 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35694 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35695 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35696 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35697 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35698 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35699 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35700 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35701 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35702 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35703 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35704 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35705 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35706 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35707 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35708 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35709 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35710 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35711 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35712 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35713 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35714 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35715 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35716 { (char *)"ListCtrl_EndEditLabel", (PyCFunction
) _wrap_ListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35717 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35718 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35719 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35720 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35721 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35722 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35723 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35724 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35725 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35726 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35727 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35728 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35729 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35730 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35731 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35732 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35733 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35734 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35735 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35736 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35737 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
35738 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35739 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35740 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35741 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35742 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35743 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35744 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35745 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35746 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35747 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35748 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35749 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
35750 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35751 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35752 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35753 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35754 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35755 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35756 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35757 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
35758 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35759 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35760 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35761 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35762 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35763 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35764 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
35765 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35766 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35767 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35768 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35769 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35770 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35771 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35772 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35773 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35774 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35775 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35776 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35777 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35778 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35779 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35780 { (char *)"TreeEvent_GetToolTip", (PyCFunction
) _wrap_TreeEvent_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35781 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
35782 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35783 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35784 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35785 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35786 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35787 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35788 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35789 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35790 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35791 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35792 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35793 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35794 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35795 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35796 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35797 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35798 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35799 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35800 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35801 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35802 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35803 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35804 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35805 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35806 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35807 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35808 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35809 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35810 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35811 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35812 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35813 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35814 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35815 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35816 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35817 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35818 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35819 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35820 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35821 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35822 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35823 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35824 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35825 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35826 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35827 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35828 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35829 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35830 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35831 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35832 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35833 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35834 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35835 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35836 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35837 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35838 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35839 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35840 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35841 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35842 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35843 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35844 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35845 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35846 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35847 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35848 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35849 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35850 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35851 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35852 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35853 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction
) _wrap_TreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35854 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35855 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35856 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35857 { (char *)"TreeCtrl_SetState", (PyCFunction
) _wrap_TreeCtrl_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35858 { (char *)"TreeCtrl_GetState", (PyCFunction
) _wrap_TreeCtrl_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35859 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35860 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
35861 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35862 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35863 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35864 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35865 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35866 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35867 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35868 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35869 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35870 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35871 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35872 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35873 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35874 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35875 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35876 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35877 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35878 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35879 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35880 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35881 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35882 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
35883 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35884 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35885 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35886 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35887 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
35888 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35889 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35890 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35891 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35892 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35893 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35894 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35895 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35896 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35897 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35898 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35899 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35900 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35901 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35902 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35903 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35904 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35905 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35906 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35907 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35908 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35909 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35910 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35911 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35912 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyControl_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35913 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
35914 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35915 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35916 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35917 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35918 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35919 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35920 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35921 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
35922 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35923 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35924 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35925 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35926 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
35927 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35928 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
35929 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35930 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35931 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35932 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35933 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35934 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35935 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35936 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35937 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
35938 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35939 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
35940 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35941 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35942 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35943 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35944 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35945 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35946 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35947 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35948 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35949 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35950 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35951 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35952 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35953 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35954 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35955 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35956 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35957 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
35958 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35959 { (char *)"new_PreDatePickerCtrl", (PyCFunction
) _wrap_new_PreDatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35960 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35961 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35962 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
) _wrap_DatePickerCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35963 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35964 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
) _wrap_DatePickerCtrl_GetLowerLimit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35965 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
) _wrap_DatePickerCtrl_GetUpperLimit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35966 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
35967 { NULL
, NULL
, 0, NULL
}
35971 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
35973 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
35974 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
35976 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
35977 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
35979 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
35980 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
35982 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
35983 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
35985 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
35986 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
35988 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
35989 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
35991 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
35992 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
35994 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
35995 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
35997 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
35998 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
36000 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
36001 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36003 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
36004 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
36006 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
36007 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
36009 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
36010 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
36012 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
36013 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
36015 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
36016 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36018 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
36019 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36021 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
36022 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
36024 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
36025 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
36027 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
36028 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
36030 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
36031 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
36033 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
36034 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
36036 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
36037 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36039 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
36040 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
36042 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
36043 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36045 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
36046 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36048 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
36049 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36051 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
36052 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
36054 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
36055 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
36057 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
36058 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36060 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
36061 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
36063 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
36064 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
36066 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
36067 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
36069 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
36070 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
36072 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
36073 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
36075 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
36076 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
36078 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
36079 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
36081 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
36082 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
36084 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
36085 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
36087 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
36088 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36090 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
36091 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
36093 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
36094 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
36096 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
36097 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
36099 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
36100 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
36102 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
36103 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
36105 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
36106 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
36108 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
36109 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36111 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
36112 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
36114 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
36115 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
36117 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
36118 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36120 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
36121 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36123 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
36124 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
36126 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
36127 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
36129 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
36130 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
36132 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
36133 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36135 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
36136 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
36138 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
36139 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36141 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
36142 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
36144 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
36145 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
36147 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
36148 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
36150 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
36151 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36153 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
36154 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
36156 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
36157 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
36159 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
36160 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
36162 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
36163 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
36165 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
36166 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
36168 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
36169 return (void *)((wxControl
*) ((wxPyControl
*) x
));
36171 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
36172 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
36174 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
36175 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36177 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
36178 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
36180 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
36181 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
36183 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
36184 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
36186 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
36187 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
36189 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
36190 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
36192 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
36193 return (void *)((wxControl
*) ((wxGauge
*) x
));
36195 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
36196 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
36198 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
36199 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36201 static void *_p_wxListbookTo_p_wxControl(void *x
) {
36202 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
36204 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
36205 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
36207 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
36208 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
36210 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
36211 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
36213 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
36214 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
36216 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
36217 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
36219 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
36220 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36222 static void *_p_wxListViewTo_p_wxControl(void *x
) {
36223 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
36225 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
36226 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
36228 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
36229 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
36231 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
36232 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
36234 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
36235 return (void *)((wxControl
*) ((wxStaticText
*) x
));
36237 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
36238 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
36240 static void *_p_wxSliderTo_p_wxControl(void *x
) {
36241 return (void *)((wxControl
*) ((wxSlider
*) x
));
36243 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
36244 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36246 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
36247 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
36249 static void *_p_wxButtonTo_p_wxControl(void *x
) {
36250 return (void *)((wxControl
*) ((wxButton
*) x
));
36252 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
36253 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
36255 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
36256 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
36258 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
36259 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
36261 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
36262 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
36264 static void *_p_wxComboBoxTo_p_wxChoice(void *x
) {
36265 return (void *)((wxChoice
*) ((wxComboBox
*) x
));
36267 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
36268 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36270 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
36271 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36273 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
36274 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36276 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
36277 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
36279 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
36280 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36282 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
36283 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36285 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
36286 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36288 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
36289 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36291 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
36292 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36294 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
36295 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
36297 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
36298 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
36300 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
36301 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
36303 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
36304 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
36306 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
36307 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
36309 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
36310 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
36312 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
36313 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36315 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
36316 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
36318 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
36319 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
36321 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
36322 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
36324 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
36325 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
36327 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
36328 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
36330 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
36331 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
36333 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
36334 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
36336 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
36337 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
36339 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
36340 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36342 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
36343 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
36345 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
36346 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
36348 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
36349 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
36351 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
36352 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
36354 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
36355 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
36357 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
36358 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
36360 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
36361 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
36363 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
36364 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36366 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
36367 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36369 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
36370 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
36372 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
36373 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
36375 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
36376 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
36378 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
36379 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36381 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
36382 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36384 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
36385 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36387 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
36388 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36390 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
36391 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
36393 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
36394 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36396 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
36397 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
36399 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
36400 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
36402 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
36403 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
36405 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
36406 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
36408 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
36409 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
36411 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
36412 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
36414 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
36415 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36417 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
36418 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36420 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
36421 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
36423 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
36424 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
36426 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
36427 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
36429 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
36430 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
36432 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
36433 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36435 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
36436 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36438 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
36439 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
36441 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
36442 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
36444 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
36445 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
36447 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
36448 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
36450 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
36451 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
36453 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
36454 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
36456 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
36457 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
36459 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
36460 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
36462 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
36463 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
36465 static void *_p_wxSizerTo_p_wxObject(void *x
) {
36466 return (void *)((wxObject
*) ((wxSizer
*) x
));
36468 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
36469 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
36471 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
36472 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
36474 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
36475 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
36477 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
36478 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36480 static void *_p_wxEventTo_p_wxObject(void *x
) {
36481 return (void *)((wxObject
*) ((wxEvent
*) x
));
36483 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
36484 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
36486 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
36487 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
36489 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
36490 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
36492 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
36493 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
36495 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
36496 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
36498 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
36499 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36501 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
36502 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
36504 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
36505 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
36507 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
36508 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
36510 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
36511 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
36513 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
36514 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
36516 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
36517 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
36519 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
36520 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
36522 static void *_p_wxControlTo_p_wxObject(void *x
) {
36523 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
36525 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
36526 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
36528 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
36529 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
36531 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
36532 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
36534 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
36535 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
36537 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
36538 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
36540 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
36541 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
36543 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
36544 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36546 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
36547 return (void *)((wxObject
*) ((wxFSFile
*) x
));
36549 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
36550 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
36552 static void *_p_wxListViewTo_p_wxObject(void *x
) {
36553 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36555 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
36556 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
36558 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
36559 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36561 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
36562 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
36564 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
36565 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36567 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
36568 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36570 static void *_p_wxListbookTo_p_wxObject(void *x
) {
36571 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36573 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
36574 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
36576 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
36577 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
36579 static void *_p_wxSliderTo_p_wxObject(void *x
) {
36580 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
36582 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
36583 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
36585 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
36586 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
36588 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
36589 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
36591 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
36592 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36594 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
36595 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
36597 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
36598 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
36600 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
36601 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
36603 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
36604 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
36606 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
36607 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
36609 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
36610 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
36612 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
36613 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
36615 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
36616 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
36618 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
36619 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
36621 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
36622 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
36624 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
36625 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
36627 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
36628 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
36630 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
36631 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
36633 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
36634 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
36636 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
36637 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
36639 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
36640 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
36642 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
36643 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
36645 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
36646 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
36648 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
36649 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
36651 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
36652 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
36654 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
36655 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
36657 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
36658 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
36660 static void *_p_wxListEventTo_p_wxObject(void *x
) {
36661 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
36663 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
36664 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36666 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
36667 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36669 static void *_p_wxButtonTo_p_wxObject(void *x
) {
36670 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
36672 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
36673 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36675 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
36676 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
36678 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
36679 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36681 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
36682 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
36684 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
36685 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
36687 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
36688 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
36690 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
36691 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
36693 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
36694 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
36696 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
36697 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
36699 static void *_p_wxListItemTo_p_wxObject(void *x
) {
36700 return (void *)((wxObject
*) ((wxListItem
*) x
));
36702 static void *_p_wxImageTo_p_wxObject(void *x
) {
36703 return (void *)((wxObject
*) ((wxImage
*) x
));
36705 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
36706 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
36708 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
36709 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
36711 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
36712 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36714 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
36715 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
36717 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
36718 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
36720 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
36721 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36723 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
36724 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36726 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
36727 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36729 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
36730 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36732 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
36733 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
36735 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
36736 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
36738 static void *_p_wxWindowTo_p_wxObject(void *x
) {
36739 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
36741 static void *_p_wxMenuTo_p_wxObject(void *x
) {
36742 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
36744 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
36745 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
36747 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
36748 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
36750 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
36751 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36753 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
36754 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
36756 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
36757 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
36759 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
36760 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
36762 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
36763 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
36765 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
36766 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
36768 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
36769 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36771 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
36772 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36774 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
36775 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36777 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
36778 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
36780 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
36781 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
36783 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
36784 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
36786 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
36787 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
36789 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
36790 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36792 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
36793 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
36795 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
36796 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
36798 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
36799 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
36801 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
36802 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36804 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
36805 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
36807 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
36808 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
36810 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
36811 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
36813 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
36814 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
36816 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
36817 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
36819 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
36820 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36822 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
36823 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
36825 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
36826 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
36828 static void *_p_wxControlTo_p_wxWindow(void *x
) {
36829 return (void *)((wxWindow
*) ((wxControl
*) x
));
36831 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
36832 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
36834 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
36835 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36837 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
36838 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
36840 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
36841 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
36843 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
36844 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
36846 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
36847 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
36849 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
36850 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
36852 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
36853 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
36855 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
36856 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
36858 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
36859 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
36861 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
36862 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36864 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
36865 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36867 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
36868 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
36870 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
36871 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
36873 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
36874 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
36876 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
36877 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36879 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
36880 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36882 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
36883 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36885 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
36886 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36888 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
36889 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36891 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
36892 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
36894 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
36895 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
36897 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
36898 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
36900 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
36901 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
36903 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
36904 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
36906 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
36907 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
36909 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
36910 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
36912 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
36913 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36915 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
36916 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36918 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
36919 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
36921 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
36922 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
36924 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36925 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36927 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36928 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36930 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36931 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36933 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
36934 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36936 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
36937 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
36939 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
36940 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
36942 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
36943 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36945 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
36946 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36948 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
36949 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36951 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
36952 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36954 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
36955 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36957 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
36958 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36960 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
36961 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
36963 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
36964 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36966 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
36967 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
36969 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
36970 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36972 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
36973 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36975 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
36976 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36978 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
36979 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
36981 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
36982 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36984 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
36985 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36987 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x
) {
36988 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxComboBox
*) x
));
36990 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
36991 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36993 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
36994 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
36996 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
36997 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
36999 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
37000 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
37002 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
37003 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
37005 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}};
37006 static swig_type_info _swigt__p_wxSizer
[] = {{"_p_wxSizer", 0, "wxSizer *", 0, 0, 0, 0},{"_p_wxSizer", 0, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
37007 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}};
37008 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}};
37009 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}};
37010 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}};
37011 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}};
37012 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}};
37013 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}};
37014 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}};
37015 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}};
37016 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}};
37017 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}};
37018 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}};
37019 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}};
37020 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}};
37021 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}};
37022 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}};
37023 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}};
37024 static swig_type_info _swigt__p_wxChoice
[] = {{"_p_wxChoice", 0, "wxChoice *", 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxChoice
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice
, 0, 0, 0, 0, 0},{"_p_wxChoice", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
37025 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}};
37026 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}};
37027 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}};
37028 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}};
37029 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}};
37030 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}};
37031 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}};
37032 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}};
37033 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}};
37034 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}};
37035 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}};
37036 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}};
37037 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}};
37038 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}};
37039 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}};
37040 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}};
37041 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}};
37042 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}};
37043 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}};
37044 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}};
37045 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}};
37046 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}};
37047 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}};
37048 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}};
37049 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}};
37050 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}};
37051 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}};
37052 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}};
37053 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}};
37054 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}};
37055 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}};
37056 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}};
37057 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}};
37058 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}};
37059 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}};
37060 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}};
37061 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}};
37062 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}};
37063 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}};
37064 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}};
37065 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}};
37066 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}};
37067 static swig_type_info _swigt__p_wxNotebookSizer
[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0, 0, 0, 0},{"_p_wxNotebookSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
37068 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}};
37069 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}};
37070 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}};
37071 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}};
37072 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}};
37073 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}};
37074 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}};
37075 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}};
37076 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}};
37077 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}};
37078 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}};
37079 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}};
37080 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_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_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextHelp", _p_wxContextHelpTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListItem", _p_wxListItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGenericDragImage", _p_wxGenericDragImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_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_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
37081 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}};
37082 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}};
37083 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}};
37084 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}};
37085 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}};
37086 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}};
37087 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}};
37088 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}};
37089 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}};
37090 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}};
37091 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}};
37092 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}};
37093 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}};
37094 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}};
37095 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}};
37096 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}};
37097 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", 0, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
37098 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}};
37099 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}};
37100 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}};
37101 static swig_type_info _swigt__p_wxBookCtrlSizer
[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0, 0, 0, 0},{"_p_wxBookCtrlSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
37102 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}};
37104 static swig_type_info
*swig_types_initial
[] = {
37105 _swigt__p_wxTextUrlEvent
,
37107 _swigt__p_wxCheckBox
,
37108 _swigt__p_wxPyTreeCtrl
,
37110 _swigt__p_wxGenericDirCtrl
,
37112 _swigt__p_wxItemContainer
,
37113 _swigt__p_wxPyListCtrl
,
37114 _swigt__p_wxPyTreeItemData
,
37115 _swigt__p_wxDirFilterListCtrl
,
37116 _swigt__p_wxStaticLine
,
37117 _swigt__p_wxControl
,
37118 _swigt__p_wxPyControl
,
37120 _swigt__p_wxToolBarBase
,
37122 _swigt__p_wxToggleButton
,
37123 _swigt__p_wxRadioButton
,
37124 _swigt__p_wxChoice
,
37125 _swigt__p_wxMemoryDC
,
37127 _swigt__std__ptrdiff_t
,
37128 _swigt__p_wxListItemAttr
,
37133 _swigt__p_wxListView
,
37135 _swigt__p_wxVisualAttributes
,
37136 _swigt__p_wxTextCtrl
,
37137 _swigt__p_wxNotebook
,
37138 _swigt__p_wxChoicebook
,
37139 _swigt__p_wxNotifyEvent
,
37140 _swigt__p_wxArrayString
,
37141 _swigt__p_form_ops_t
,
37142 _swigt__p_wxListbook
,
37143 _swigt__p_wxStaticBitmap
,
37144 _swigt__p_wxSlider
,
37145 _swigt__p_wxStaticBox
,
37146 _swigt__p_wxArrayInt
,
37147 _swigt__p_wxContextHelp
,
37149 _swigt__p_wxDuplexMode
,
37150 _swigt__p_wxBookCtrlBase
,
37151 _swigt__p_wxEvtHandler
,
37152 _swigt__p_wxListEvent
,
37153 _swigt__p_wxCheckListBox
,
37154 _swigt__p_wxListBox
,
37155 _swigt__p_wxSpinButton
,
37156 _swigt__p_wxButton
,
37157 _swigt__p_wxBitmapButton
,
37159 _swigt__p_wxContextHelpButton
,
37160 _swigt__p_wxRadioBox
,
37161 _swigt__p_wxScrollBar
,
37163 _swigt__p_wxComboBox
,
37164 _swigt__p_wxTreeItemId
,
37165 _swigt__p_wxHelpEvent
,
37166 _swigt__p_wxListItem
,
37167 _swigt__p_wxNotebookSizer
,
37168 _swigt__p_wxSpinEvent
,
37169 _swigt__p_wxGenericDragImage
,
37170 _swigt__p_wxSpinCtrl
,
37171 _swigt__p_wxPaperSize
,
37172 _swigt__p_wxImageList
,
37173 _swigt__p_wxHelpProvider
,
37174 _swigt__p_wxTextAttr
,
37175 _swigt__p_wxSimpleHelpProvider
,
37176 _swigt__p_wxChoicebookEvent
,
37177 _swigt__p_wxListbookEvent
,
37178 _swigt__p_wxNotebookEvent
,
37180 _swigt__p_wxObject
,
37181 _swigt__p_wxCursor
,
37182 _swigt__p_wxDateTime
,
37183 _swigt__p_wxKeyEvent
,
37184 _swigt__p_unsigned_long
,
37185 _swigt__p_wxWindow
,
37186 _swigt__p_wxString
,
37187 _swigt__p_wxBitmap
,
37188 _swigt__unsigned_int
,
37189 _swigt__p_unsigned_int
,
37190 _swigt__p_unsigned_char
,
37191 _swigt__p_wxMouseEvent
,
37192 _swigt__p_wxBookCtrlBaseEvent
,
37193 _swigt__p_wxTreeEvent
,
37194 _swigt__p_wxCommandEvent
,
37195 _swigt__p_wxStaticText
,
37196 _swigt__p_wxDatePickerCtrl
,
37197 _swigt__p_wxControlWithItems
,
37198 _swigt__p_wxToolBarToolBase
,
37199 _swigt__p_wxColour
,
37200 _swigt__p_wxToolBar
,
37201 _swigt__p_wxBookCtrlSizer
,
37202 _swigt__p_wxValidator
,
37207 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
37209 static swig_const_info swig_const_table
[] = {
37210 {0, 0, 0, 0.0, 0, 0}};
37221 /* Python-specific SWIG API */
37222 #define SWIG_newvarlink() SWIG_Python_newvarlink()
37223 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
37224 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
37226 /* -----------------------------------------------------------------------------
37227 * global variable support code.
37228 * ----------------------------------------------------------------------------- */
37230 typedef struct swig_globalvar
{
37231 char *name
; /* Name of global variable */
37232 PyObject
*(*get_attr
)(); /* Return the current value */
37233 int (*set_attr
)(PyObject
*); /* Set the value */
37234 struct swig_globalvar
*next
;
37237 typedef struct swig_varlinkobject
{
37239 swig_globalvar
*vars
;
37240 } swig_varlinkobject
;
37243 swig_varlink_repr(swig_varlinkobject
*v
) {
37245 return PyString_FromString("<Swig global variables>");
37249 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
37250 swig_globalvar
*var
;
37252 fprintf(fp
,"Swig global variables { ");
37253 for (var
= v
->vars
; var
; var
=var
->next
) {
37254 fprintf(fp
,"%s", var
->name
);
37255 if (var
->next
) fprintf(fp
,", ");
37257 fprintf(fp
," }\n");
37262 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
37263 swig_globalvar
*var
= v
->vars
;
37265 if (strcmp(var
->name
,n
) == 0) {
37266 return (*var
->get_attr
)();
37270 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
37275 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
37276 swig_globalvar
*var
= v
->vars
;
37278 if (strcmp(var
->name
,n
) == 0) {
37279 return (*var
->set_attr
)(p
);
37283 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
37287 static PyTypeObject varlinktype
= {
37288 PyObject_HEAD_INIT(0)
37289 0, /* Number of items in variable part (ob_size) */
37290 (char *)"swigvarlink", /* Type name (tp_name) */
37291 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
37292 0, /* Itemsize (tp_itemsize) */
37293 0, /* Deallocator (tp_dealloc) */
37294 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
37295 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
37296 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
37297 0, /* tp_compare */
37298 (reprfunc
) swig_varlink_repr
, /* tp_repr */
37299 0, /* tp_as_number */
37300 0, /* tp_as_sequence */
37301 0, /* tp_as_mapping */
37305 0, /* tp_getattro */
37306 0, /* tp_setattro */
37307 0, /* tp_as_buffer */
37310 #if PY_VERSION_HEX >= 0x02000000
37311 0, /* tp_traverse */
37314 #if PY_VERSION_HEX >= 0x02010000
37315 0, /* tp_richcompare */
37316 0, /* tp_weaklistoffset */
37318 #if PY_VERSION_HEX >= 0x02020000
37319 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
37321 #if PY_VERSION_HEX >= 0x02030000
37324 #ifdef COUNT_ALLOCS
37325 0,0,0,0 /* tp_alloc -> tp_next */
37329 /* Create a variable linking object for use later */
37331 SWIG_Python_newvarlink(void) {
37332 swig_varlinkobject
*result
= 0;
37333 result
= PyMem_NEW(swig_varlinkobject
,1);
37334 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
37335 result
->ob_type
= &varlinktype
;
37337 result
->ob_refcnt
= 0;
37338 Py_XINCREF((PyObject
*) result
);
37339 return ((PyObject
*) result
);
37343 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
37344 swig_varlinkobject
*v
;
37345 swig_globalvar
*gv
;
37346 v
= (swig_varlinkobject
*) p
;
37347 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
37348 gv
->name
= (char *) malloc(strlen(name
)+1);
37349 strcpy(gv
->name
,name
);
37350 gv
->get_attr
= get_attr
;
37351 gv
->set_attr
= set_attr
;
37352 gv
->next
= v
->vars
;
37356 /* -----------------------------------------------------------------------------
37357 * constants/methods manipulation
37358 * ----------------------------------------------------------------------------- */
37360 /* Install Constants */
37362 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
37365 for (i
= 0; constants
[i
].type
; i
++) {
37366 switch(constants
[i
].type
) {
37368 obj
= PyInt_FromLong(constants
[i
].lvalue
);
37370 case SWIG_PY_FLOAT
:
37371 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
37373 case SWIG_PY_STRING
:
37374 if (constants
[i
].pvalue
) {
37375 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
37377 Py_INCREF(Py_None
);
37381 case SWIG_PY_POINTER
:
37382 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
37384 case SWIG_PY_BINARY
:
37385 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
37392 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
37398 /* -----------------------------------------------------------------------------*/
37399 /* Fix SwigMethods to carry the callback ptrs when needed */
37400 /* -----------------------------------------------------------------------------*/
37403 SWIG_Python_FixMethods(PyMethodDef
*methods
,
37404 swig_const_info
*const_table
,
37405 swig_type_info
**types
,
37406 swig_type_info
**types_initial
) {
37408 for (i
= 0; methods
[i
].ml_name
; ++i
) {
37409 char *c
= methods
[i
].ml_doc
;
37410 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
37412 swig_const_info
*ci
= 0;
37413 char *name
= c
+ 10;
37414 for (j
= 0; const_table
[j
].type
; j
++) {
37415 if (strncmp(const_table
[j
].name
, name
,
37416 strlen(const_table
[j
].name
)) == 0) {
37417 ci
= &(const_table
[j
]);
37422 size_t shift
= (ci
->ptype
) - types
;
37423 swig_type_info
*ty
= types_initial
[shift
];
37424 size_t ldoc
= (c
- methods
[i
].ml_doc
);
37425 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
37426 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
37428 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
37429 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
37431 strncpy(buff
, "swig_ptr: ", 10);
37433 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
37434 methods
[i
].ml_doc
= ndoc
;
37440 /* -----------------------------------------------------------------------------*
37441 * Initialize type list
37442 * -----------------------------------------------------------------------------*/
37444 #if PY_MAJOR_VERSION < 2
37445 /* PyModule_AddObject function was introduced in Python 2.0. The following function
37446 is copied out of Python/modsupport.c in python version 2.3.4 */
37448 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
37451 if (!PyModule_Check(m
)) {
37452 PyErr_SetString(PyExc_TypeError
,
37453 "PyModule_AddObject() needs module as first arg");
37457 PyErr_SetString(PyExc_TypeError
,
37458 "PyModule_AddObject() needs non-NULL value");
37462 dict
= PyModule_GetDict(m
);
37463 if (dict
== NULL
) {
37464 /* Internal error -- modules must have a dict! */
37465 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
37466 PyModule_GetName(m
));
37469 if (PyDict_SetItemString(dict
, name
, o
))
37476 static swig_type_info
**
37477 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
37478 static PyMethodDef swig_empty_runtime_method_table
[] = {
37480 NULL
, NULL
, 0, NULL
37484 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
37485 swig_empty_runtime_method_table
);
37486 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
37487 if (pointer
&& module) {
37488 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
37490 return type_list_handle
;
37493 static swig_type_info
**
37494 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
37495 swig_type_info
**type_pointer
;
37497 /* first check if module already created */
37498 type_pointer
= SWIG_Python_GetTypeListHandle();
37499 if (type_pointer
) {
37500 return type_pointer
;
37502 /* create a new module and variable */
37503 return SWIG_Python_SetTypeListHandle(type_list_handle
);
37511 /* -----------------------------------------------------------------------------*
37512 * Partial Init method
37513 * -----------------------------------------------------------------------------*/
37515 #ifdef SWIG_LINK_RUNTIME
37519 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
37525 SWIGEXPORT(void) SWIG_init(void) {
37526 static PyObject
*SWIG_globals
= 0;
37527 static int typeinit
= 0;
37530 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
37532 /* Fix SwigMethods to carry the callback ptrs when needed */
37533 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
37535 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
37536 d
= PyModule_GetDict(m
);
37539 #ifdef SWIG_LINK_RUNTIME
37540 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
37542 # ifndef SWIG_STATIC_RUNTIME
37543 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
37546 for (i
= 0; swig_types_initial
[i
]; i
++) {
37547 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
37551 SWIG_InstallConstants(d
,swig_const_table
);
37553 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
37554 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
37556 PyDict_SetItemString(d
,"BU_LEFT", SWIG_From_int((int)(wxBU_LEFT
)));
37559 PyDict_SetItemString(d
,"BU_TOP", SWIG_From_int((int)(wxBU_TOP
)));
37562 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_From_int((int)(wxBU_RIGHT
)));
37565 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_From_int((int)(wxBU_BOTTOM
)));
37568 PyDict_SetItemString(d
,"BU_ALIGN_MASK", SWIG_From_int((int)(wxBU_ALIGN_MASK
)));
37571 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_From_int((int)(wxBU_EXACTFIT
)));
37574 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_From_int((int)(wxBU_AUTODRAW
)));
37576 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
37578 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_From_int((int)(wxCHK_2STATE
)));
37581 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_From_int((int)(wxCHK_3STATE
)));
37584 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int((int)(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
37587 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_From_int((int)(wxCHK_UNCHECKED
)));
37590 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_From_int((int)(wxCHK_CHECKED
)));
37593 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_From_int((int)(wxCHK_UNDETERMINED
)));
37595 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
37596 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
37597 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
37599 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_From_int((int)(wxGA_HORIZONTAL
)));
37602 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_From_int((int)(wxGA_VERTICAL
)));
37605 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_From_int((int)(wxGA_SMOOTH
)));
37608 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_From_int((int)(wxGA_PROGRESSBAR
)));
37610 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
37611 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
37612 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
37613 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
37614 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
37616 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_From_int((int)(wxTE_NO_VSCROLL
)));
37619 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_From_int((int)(wxTE_AUTO_SCROLL
)));
37622 PyDict_SetItemString(d
,"TE_READONLY", SWIG_From_int((int)(wxTE_READONLY
)));
37625 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_From_int((int)(wxTE_MULTILINE
)));
37628 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_From_int((int)(wxTE_PROCESS_TAB
)));
37631 PyDict_SetItemString(d
,"TE_LEFT", SWIG_From_int((int)(wxTE_LEFT
)));
37634 PyDict_SetItemString(d
,"TE_CENTER", SWIG_From_int((int)(wxTE_CENTER
)));
37637 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_From_int((int)(wxTE_RIGHT
)));
37640 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_From_int((int)(wxTE_CENTRE
)));
37643 PyDict_SetItemString(d
,"TE_RICH", SWIG_From_int((int)(wxTE_RICH
)));
37646 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_From_int((int)(wxTE_PROCESS_ENTER
)));
37649 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_From_int((int)(wxTE_PASSWORD
)));
37652 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_From_int((int)(wxTE_AUTO_URL
)));
37655 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_From_int((int)(wxTE_NOHIDESEL
)));
37658 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_From_int((int)(wxTE_DONTWRAP
)));
37661 PyDict_SetItemString(d
,"TE_CHARWRAP", SWIG_From_int((int)(wxTE_CHARWRAP
)));
37664 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_From_int((int)(wxTE_WORDWRAP
)));
37667 PyDict_SetItemString(d
,"TE_BESTWRAP", SWIG_From_int((int)(wxTE_BESTWRAP
)));
37670 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_From_int((int)(wxTE_LINEWRAP
)));
37673 PyDict_SetItemString(d
,"TE_RICH2", SWIG_From_int((int)(wxTE_RICH2
)));
37676 PyDict_SetItemString(d
,"TE_CAPITALIZE", SWIG_From_int((int)(wxTE_CAPITALIZE
)));
37679 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_DEFAULT
)));
37682 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_LEFT
)));
37685 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTRE
)));
37688 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTER
)));
37691 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_RIGHT
)));
37694 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)(wxTEXT_ALIGNMENT_JUSTIFIED
)));
37697 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_TEXT_COLOUR
)));
37700 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
37703 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_FACE
)));
37706 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_SIZE
)));
37709 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)(wxTEXT_ATTR_FONT_WEIGHT
)));
37712 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)(wxTEXT_ATTR_FONT_ITALIC
)));
37715 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_UNDERLINE
)));
37718 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_From_int((int)(wxTEXT_ATTR_FONT
)));
37721 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)(wxTEXT_ATTR_ALIGNMENT
)));
37724 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_LEFT_INDENT
)));
37727 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_RIGHT_INDENT
)));
37730 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_From_int((int)(wxTEXT_ATTR_TABS
)));
37733 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_From_int((int)(wxTE_HT_UNKNOWN
)));
37736 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_From_int((int)(wxTE_HT_BEFORE
)));
37739 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_From_int((int)(wxTE_HT_ON_TEXT
)));
37742 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_From_int((int)(wxTE_HT_BELOW
)));
37745 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_From_int((int)(wxTE_HT_BEYOND
)));
37748 PyDict_SetItemString(d
,"OutOfRangeTextCoord", SWIG_From_int((int)(wxOutOfRangeTextCoord
)));
37751 PyDict_SetItemString(d
,"InvalidTextCoord", SWIG_From_int((int)(wxInvalidTextCoord
)));
37753 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
37754 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
37755 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
37756 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
37757 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
37758 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
37759 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
37761 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_From_int((int)(wxSP_HORIZONTAL
)));
37764 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_From_int((int)(wxSP_VERTICAL
)));
37767 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_From_int((int)(wxSP_ARROW_KEYS
)));
37770 PyDict_SetItemString(d
,"SP_WRAP", SWIG_From_int((int)(wxSP_WRAP
)));
37772 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
37773 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
37774 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
37775 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
37777 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_From_int((int)(wxSL_HORIZONTAL
)));
37780 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_From_int((int)(wxSL_VERTICAL
)));
37783 PyDict_SetItemString(d
,"SL_TICKS", SWIG_From_int((int)(wxSL_TICKS
)));
37786 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_From_int((int)(wxSL_AUTOTICKS
)));
37789 PyDict_SetItemString(d
,"SL_LABELS", SWIG_From_int((int)(wxSL_LABELS
)));
37792 PyDict_SetItemString(d
,"SL_LEFT", SWIG_From_int((int)(wxSL_LEFT
)));
37795 PyDict_SetItemString(d
,"SL_TOP", SWIG_From_int((int)(wxSL_TOP
)));
37798 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_From_int((int)(wxSL_RIGHT
)));
37801 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_From_int((int)(wxSL_BOTTOM
)));
37804 PyDict_SetItemString(d
,"SL_BOTH", SWIG_From_int((int)(wxSL_BOTH
)));
37807 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_From_int((int)(wxSL_SELRANGE
)));
37810 PyDict_SetItemString(d
,"SL_INVERSE", SWIG_From_int((int)(wxSL_INVERSE
)));
37812 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
37813 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
37814 SWIG_addvarlink(SWIG_globals
,(char*)"NotebookNameStr",_wrap_NotebookNameStr_get
, _wrap_NotebookNameStr_set
);
37816 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_From_int((int)(wxNB_FIXEDWIDTH
)));
37819 PyDict_SetItemString(d
,"NB_TOP", SWIG_From_int((int)(wxNB_TOP
)));
37822 PyDict_SetItemString(d
,"NB_LEFT", SWIG_From_int((int)(wxNB_LEFT
)));
37825 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_From_int((int)(wxNB_RIGHT
)));
37828 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_From_int((int)(wxNB_BOTTOM
)));
37831 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_From_int((int)(wxNB_MULTILINE
)));
37834 PyDict_SetItemString(d
,"NB_NOPAGETHEME", SWIG_From_int((int)(wxNB_NOPAGETHEME
)));
37837 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_From_int((int)(wxNB_HITTEST_NOWHERE
)));
37840 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_From_int((int)(wxNB_HITTEST_ONICON
)));
37843 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_From_int((int)(wxNB_HITTEST_ONLABEL
)));
37846 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_From_int((int)(wxNB_HITTEST_ONITEM
)));
37848 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
37849 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
37851 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_From_int((int)(wxLB_DEFAULT
)));
37854 PyDict_SetItemString(d
,"LB_TOP", SWIG_From_int((int)(wxLB_TOP
)));
37857 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_From_int((int)(wxLB_BOTTOM
)));
37860 PyDict_SetItemString(d
,"LB_LEFT", SWIG_From_int((int)(wxLB_LEFT
)));
37863 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_From_int((int)(wxLB_RIGHT
)));
37866 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_From_int((int)(wxLB_ALIGN_MASK
)));
37868 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
37869 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
37871 PyDict_SetItemString(d
,"CHB_DEFAULT", SWIG_From_int((int)(wxCHB_DEFAULT
)));
37874 PyDict_SetItemString(d
,"CHB_TOP", SWIG_From_int((int)(wxCHB_TOP
)));
37877 PyDict_SetItemString(d
,"CHB_BOTTOM", SWIG_From_int((int)(wxCHB_BOTTOM
)));
37880 PyDict_SetItemString(d
,"CHB_LEFT", SWIG_From_int((int)(wxCHB_LEFT
)));
37883 PyDict_SetItemString(d
,"CHB_RIGHT", SWIG_From_int((int)(wxCHB_RIGHT
)));
37886 PyDict_SetItemString(d
,"CHB_ALIGN_MASK", SWIG_From_int((int)(wxCHB_ALIGN_MASK
)));
37888 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
37889 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
37891 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_From_int((int)(wxTOOL_STYLE_BUTTON
)));
37894 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_From_int((int)(wxTOOL_STYLE_SEPARATOR
)));
37897 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_From_int((int)(wxTOOL_STYLE_CONTROL
)));
37900 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_From_int((int)(wxTB_HORIZONTAL
)));
37903 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_From_int((int)(wxTB_VERTICAL
)));
37906 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_From_int((int)(wxTB_3DBUTTONS
)));
37909 PyDict_SetItemString(d
,"TB_FLAT", SWIG_From_int((int)(wxTB_FLAT
)));
37912 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_From_int((int)(wxTB_DOCKABLE
)));
37915 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_From_int((int)(wxTB_NOICONS
)));
37918 PyDict_SetItemString(d
,"TB_TEXT", SWIG_From_int((int)(wxTB_TEXT
)));
37921 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_From_int((int)(wxTB_NODIVIDER
)));
37924 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_From_int((int)(wxTB_NOALIGN
)));
37927 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_From_int((int)(wxTB_HORZ_LAYOUT
)));
37930 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_From_int((int)(wxTB_HORZ_TEXT
)));
37932 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
37934 PyDict_SetItemString(d
,"LC_VRULES", SWIG_From_int((int)(wxLC_VRULES
)));
37937 PyDict_SetItemString(d
,"LC_HRULES", SWIG_From_int((int)(wxLC_HRULES
)));
37940 PyDict_SetItemString(d
,"LC_ICON", SWIG_From_int((int)(wxLC_ICON
)));
37943 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_From_int((int)(wxLC_SMALL_ICON
)));
37946 PyDict_SetItemString(d
,"LC_LIST", SWIG_From_int((int)(wxLC_LIST
)));
37949 PyDict_SetItemString(d
,"LC_REPORT", SWIG_From_int((int)(wxLC_REPORT
)));
37952 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_From_int((int)(wxLC_ALIGN_TOP
)));
37955 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_From_int((int)(wxLC_ALIGN_LEFT
)));
37958 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_From_int((int)(wxLC_AUTOARRANGE
)));
37961 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_From_int((int)(wxLC_VIRTUAL
)));
37964 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_From_int((int)(wxLC_EDIT_LABELS
)));
37967 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_From_int((int)(wxLC_NO_HEADER
)));
37970 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_From_int((int)(wxLC_NO_SORT_HEADER
)));
37973 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_From_int((int)(wxLC_SINGLE_SEL
)));
37976 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_From_int((int)(wxLC_SORT_ASCENDING
)));
37979 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_From_int((int)(wxLC_SORT_DESCENDING
)));
37982 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_From_int((int)(wxLC_MASK_TYPE
)));
37985 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_From_int((int)(wxLC_MASK_ALIGN
)));
37988 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_From_int((int)(wxLC_MASK_SORT
)));
37991 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_From_int((int)(wxLIST_MASK_STATE
)));
37994 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_From_int((int)(wxLIST_MASK_TEXT
)));
37997 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_From_int((int)(wxLIST_MASK_IMAGE
)));
38000 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_From_int((int)(wxLIST_MASK_DATA
)));
38003 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_From_int((int)(wxLIST_SET_ITEM
)));
38006 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_From_int((int)(wxLIST_MASK_WIDTH
)));
38009 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_From_int((int)(wxLIST_MASK_FORMAT
)));
38012 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_From_int((int)(wxLIST_STATE_DONTCARE
)));
38015 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_From_int((int)(wxLIST_STATE_DROPHILITED
)));
38018 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_From_int((int)(wxLIST_STATE_FOCUSED
)));
38021 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_From_int((int)(wxLIST_STATE_SELECTED
)));
38024 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_From_int((int)(wxLIST_STATE_CUT
)));
38027 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_From_int((int)(wxLIST_STATE_DISABLED
)));
38030 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_From_int((int)(wxLIST_STATE_FILTERED
)));
38033 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_From_int((int)(wxLIST_STATE_INUSE
)));
38036 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_From_int((int)(wxLIST_STATE_PICKED
)));
38039 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_From_int((int)(wxLIST_STATE_SOURCE
)));
38042 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_From_int((int)(wxLIST_HITTEST_ABOVE
)));
38045 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_From_int((int)(wxLIST_HITTEST_BELOW
)));
38048 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_From_int((int)(wxLIST_HITTEST_NOWHERE
)));
38051 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMICON
)));
38054 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMLABEL
)));
38057 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMRIGHT
)));
38060 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMSTATEICON
)));
38063 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_From_int((int)(wxLIST_HITTEST_TOLEFT
)));
38066 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_From_int((int)(wxLIST_HITTEST_TORIGHT
)));
38069 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_From_int((int)(wxLIST_HITTEST_ONITEM
)));
38072 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_From_int((int)(wxLIST_NEXT_ABOVE
)));
38075 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_From_int((int)(wxLIST_NEXT_ALL
)));
38078 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_From_int((int)(wxLIST_NEXT_BELOW
)));
38081 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_From_int((int)(wxLIST_NEXT_LEFT
)));
38084 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_From_int((int)(wxLIST_NEXT_RIGHT
)));
38087 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_From_int((int)(wxLIST_ALIGN_DEFAULT
)));
38090 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_From_int((int)(wxLIST_ALIGN_LEFT
)));
38093 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_From_int((int)(wxLIST_ALIGN_TOP
)));
38096 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int((int)(wxLIST_ALIGN_SNAP_TO_GRID
)));
38099 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_From_int((int)(wxLIST_FORMAT_LEFT
)));
38102 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_From_int((int)(wxLIST_FORMAT_RIGHT
)));
38105 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_From_int((int)(wxLIST_FORMAT_CENTRE
)));
38108 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_From_int((int)(wxLIST_FORMAT_CENTER
)));
38111 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_From_int((int)(wxLIST_AUTOSIZE
)));
38114 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int((int)(wxLIST_AUTOSIZE_USEHEADER
)));
38117 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_From_int((int)(wxLIST_RECT_BOUNDS
)));
38120 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_From_int((int)(wxLIST_RECT_ICON
)));
38123 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_From_int((int)(wxLIST_RECT_LABEL
)));
38126 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_From_int((int)(wxLIST_FIND_UP
)));
38129 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_From_int((int)(wxLIST_FIND_DOWN
)));
38132 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_From_int((int)(wxLIST_FIND_LEFT
)));
38135 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_From_int((int)(wxLIST_FIND_RIGHT
)));
38137 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
38138 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
38139 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
38140 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
38141 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
38142 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
38143 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
38144 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
38145 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
38146 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
38147 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
38148 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
38149 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
38150 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
38151 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
38152 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
38153 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
38154 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
38155 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
38156 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
38157 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
38158 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
38160 // Map renamed classes back to their common name for OOR
38161 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
38163 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
38165 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_From_int((int)(wxTR_NO_BUTTONS
)));
38168 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_From_int((int)(wxTR_HAS_BUTTONS
)));
38171 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_From_int((int)(wxTR_NO_LINES
)));
38174 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_From_int((int)(wxTR_LINES_AT_ROOT
)));
38177 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_From_int((int)(wxTR_SINGLE
)));
38180 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_From_int((int)(wxTR_MULTIPLE
)));
38183 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_From_int((int)(wxTR_EXTENDED
)));
38186 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int((int)(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
38189 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_From_int((int)(wxTR_EDIT_LABELS
)));
38192 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_From_int((int)(wxTR_HIDE_ROOT
)));
38195 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_From_int((int)(wxTR_ROW_LINES
)));
38198 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int((int)(wxTR_FULL_ROW_HIGHLIGHT
)));
38201 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_From_int((int)(wxTR_DEFAULT_STYLE
)));
38204 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_From_int((int)(wxTR_TWIST_BUTTONS
)));
38207 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_From_int((int)(wxTR_MAC_BUTTONS
)));
38210 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_From_int((int)(wxTR_AQUA_BUTTONS
)));
38213 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_From_int((int)(wxTreeItemIcon_Normal
)));
38216 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_From_int((int)(wxTreeItemIcon_Selected
)));
38219 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_From_int((int)(wxTreeItemIcon_Expanded
)));
38222 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)(wxTreeItemIcon_SelectedExpanded
)));
38225 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_From_int((int)(wxTreeItemIcon_Max
)));
38228 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_From_int((int)(wxTREE_HITTEST_ABOVE
)));
38231 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_From_int((int)(wxTREE_HITTEST_BELOW
)));
38234 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_From_int((int)(wxTREE_HITTEST_NOWHERE
)));
38237 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMBUTTON
)));
38240 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMICON
)));
38243 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMINDENT
)));
38246 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLABEL
)));
38249 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMRIGHT
)));
38252 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMSTATEICON
)));
38255 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_From_int((int)(wxTREE_HITTEST_TOLEFT
)));
38258 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_From_int((int)(wxTREE_HITTEST_TORIGHT
)));
38261 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMUPPERPART
)));
38264 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLOWERPART
)));
38267 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_From_int((int)(wxTREE_HITTEST_ONITEM
)));
38269 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
38270 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
38271 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
38272 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
38273 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
38274 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
38275 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
38276 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
38277 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
38278 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
38279 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
38280 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
38281 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
38282 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
38283 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
38284 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
38285 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
38286 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
38287 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
38288 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
38289 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
38291 // Map renamed classes back to their common name for OOR
38292 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
38293 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
38295 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
38297 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_From_int((int)(wxDIRCTRL_DIR_ONLY
)));
38300 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_From_int((int)(wxDIRCTRL_SELECT_FIRST
)));
38303 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_From_int((int)(wxDIRCTRL_SHOW_FILTERS
)));
38306 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_From_int((int)(wxDIRCTRL_3D_INTERNAL
)));
38309 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_From_int((int)(wxDIRCTRL_EDIT_LABELS
)));
38312 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_From_int((int)(wxFRAME_EX_CONTEXTHELP
)));
38315 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_From_int((int)(wxDIALOG_EX_CONTEXTHELP
)));
38317 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
38318 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
38320 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
38322 SWIG_addvarlink(SWIG_globals
,(char*)"DatePickerCtrlNameStr",_wrap_DatePickerCtrlNameStr_get
, _wrap_DatePickerCtrlNameStr_set
);
38324 PyDict_SetItemString(d
,"DP_DEFAULT", SWIG_From_int((int)(wxDP_DEFAULT
)));
38327 PyDict_SetItemString(d
,"DP_SPIN", SWIG_From_int((int)(wxDP_SPIN
)));
38330 PyDict_SetItemString(d
,"DP_DROPDOWN", SWIG_From_int((int)(wxDP_DROPDOWN
)));
38333 PyDict_SetItemString(d
,"DP_SHOWCENTURY", SWIG_From_int((int)(wxDP_SHOWCENTURY
)));
38336 PyDict_SetItemString(d
,"DP_ALLOWNONE", SWIG_From_int((int)(wxDP_ALLOWNONE
)));