1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1044 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1046 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1050 SWIGRUNTIMEINLINE
void
1051 SWIG_Python_NullRef(const char *type
)
1054 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1056 PyErr_Format(PyExc_TypeError
, "null reference was received");
1061 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1063 if (PyErr_Occurred()) {
1065 PyObject
*value
= 0;
1066 PyObject
*traceback
= 0;
1067 PyErr_Fetch(&type
, &value
, &traceback
);
1069 PyObject
*old_str
= PyObject_Str(value
);
1073 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1075 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1086 SWIG_Python_ArgFail(int argnum
)
1088 if (PyErr_Occurred()) {
1089 /* add information about failing argument */
1091 sprintf(mesg
, "argument number %d:", argnum
);
1092 return SWIG_Python_AddErrMesg(mesg
, 1);
1099 /* -----------------------------------------------------------------------------
1100 * pointers/data manipulation
1101 * ----------------------------------------------------------------------------- */
1103 /* Convert a pointer value */
1105 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1108 static PyObject
*SWIG_this
= 0;
1110 PyObject
*pyobj
= 0;
1114 if (obj
== Py_None
) {
1119 #ifdef SWIG_COBJECT_TYPES
1120 if (!(PySwigObject_Check(obj
))) {
1122 SWIG_this
= PyString_FromString("this");
1124 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1126 if (!obj
) goto type_error
;
1127 if (!PySwigObject_Check(obj
)) {
1132 vptr
= PySwigObject_AsVoidPtr(obj
);
1133 c
= (const char *) PySwigObject_GetDesc(obj
);
1134 if (newref
) { Py_DECREF(obj
); }
1137 if (!(PyString_Check(obj
))) {
1139 SWIG_this
= PyString_FromString("this");
1141 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1143 if (!obj
) goto type_error
;
1144 if (!PyString_Check(obj
)) {
1149 c
= PyString_AS_STRING(obj
);
1150 /* Pointer values must start with leading underscore */
1151 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1152 if (newref
) { Py_DECREF(obj
); }
1153 if (!c
) goto type_error
;
1159 tc
= SWIG_TypeCheck(c
,ty
);
1160 if (!tc
) goto type_error
;
1161 *ptr
= SWIG_TypeCast(tc
,vptr
);
1166 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1167 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1173 if (pyobj
&& !obj
) {
1175 if (PyCFunction_Check(obj
)) {
1176 /* here we get the method pointer for callbacks */
1177 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1178 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1180 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1181 if (!c
) goto type_error
;
1186 if (flags
& SWIG_POINTER_EXCEPTION
) {
1188 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1190 SWIG_Python_TypeError("C/C++ pointer", obj
);
1196 /* Convert a pointer value, signal an exception on a type mismatch */
1198 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1200 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1202 if (flags
& SWIG_POINTER_EXCEPTION
) {
1203 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1204 SWIG_Python_ArgFail(argnum
);
1210 /* Convert a packed value value */
1212 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1216 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1217 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1219 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1220 c
= PyString_AS_STRING(obj
);
1221 /* Pointer values must start with leading underscore */
1222 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1224 if (!c
) goto type_error
;
1226 tc
= SWIG_TypeCheck(c
,ty
);
1227 if (!tc
) goto type_error
;
1233 if (flags
& SWIG_POINTER_EXCEPTION
) {
1235 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1237 SWIG_Python_TypeError("C/C++ packed data", obj
);
1243 /* Create a new array object */
1244 SWIGRUNTIME PyObject
*
1245 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1251 #ifdef SWIG_COBJECT_TYPES
1252 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1255 char result
[SWIG_BUFFER_SIZE
];
1256 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1257 PyString_FromString(result
) : 0;
1260 if (!robj
|| (robj
== Py_None
)) return robj
;
1261 if (type
->clientdata
) {
1263 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1265 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1269 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1277 SWIGRUNTIME PyObject
*
1278 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1284 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1285 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1288 char result
[SWIG_BUFFER_SIZE
];
1289 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1290 PyString_FromString(result
) : 0;
1296 /* -----------------------------------------------------------------------------*
1298 * -----------------------------------------------------------------------------*/
1300 #ifdef SWIG_LINK_RUNTIME
1301 void *SWIG_ReturnGlobalTypeList(void *);
1304 SWIGRUNTIME swig_type_info
**
1305 SWIG_Python_GetTypeListHandle() {
1306 static void *type_pointer
= (void *)0;
1307 /* first check if module already created */
1308 if (!type_pointer
) {
1309 #ifdef SWIG_LINK_RUNTIME
1310 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1312 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1313 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1314 if (PyErr_Occurred()) {
1316 type_pointer
= (void *)0;
1320 return (swig_type_info
**) type_pointer
;
1324 Search for a swig_type_info structure
1326 SWIGRUNTIMEINLINE swig_type_info
*
1327 SWIG_Python_GetTypeList() {
1328 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1329 return tlh
? *tlh
: (swig_type_info
*)0;
1332 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1339 /* -------- TYPES TABLE (BEGIN) -------- */
1341 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
1342 #define SWIGTYPE_p_wxSizer swig_types[1]
1343 #define SWIGTYPE_p_wxCheckBox swig_types[2]
1344 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[3]
1345 #define SWIGTYPE_p_wxEvent swig_types[4]
1346 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[5]
1347 #define SWIGTYPE_p_bool swig_types[6]
1348 #define SWIGTYPE_p_wxItemContainer swig_types[7]
1349 #define SWIGTYPE_p_wxPyListCtrl swig_types[8]
1350 #define SWIGTYPE_p_wxPyTreeItemData swig_types[9]
1351 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[10]
1352 #define SWIGTYPE_p_wxStaticLine swig_types[11]
1353 #define SWIGTYPE_p_wxControl swig_types[12]
1354 #define SWIGTYPE_p_wxPyControl swig_types[13]
1355 #define SWIGTYPE_p_wxGauge swig_types[14]
1356 #define SWIGTYPE_p_wxToolBarBase swig_types[15]
1357 #define SWIGTYPE_p_wxFont swig_types[16]
1358 #define SWIGTYPE_p_wxToggleButton swig_types[17]
1359 #define SWIGTYPE_p_wxRadioButton swig_types[18]
1360 #define SWIGTYPE_p_wxChoice swig_types[19]
1361 #define SWIGTYPE_p_wxMemoryDC swig_types[20]
1362 #define SWIGTYPE_ptrdiff_t swig_types[21]
1363 #define SWIGTYPE_std__ptrdiff_t swig_types[22]
1364 #define SWIGTYPE_p_wxListItemAttr swig_types[23]
1365 #define SWIGTYPE_p_void swig_types[24]
1366 #define SWIGTYPE_p_int swig_types[25]
1367 #define SWIGTYPE_p_wxSize swig_types[26]
1368 #define SWIGTYPE_p_wxDC swig_types[27]
1369 #define SWIGTYPE_p_wxListView swig_types[28]
1370 #define SWIGTYPE_p_wxIcon swig_types[29]
1371 #define SWIGTYPE_p_wxVisualAttributes swig_types[30]
1372 #define SWIGTYPE_p_wxTextCtrl swig_types[31]
1373 #define SWIGTYPE_p_wxNotebook swig_types[32]
1374 #define SWIGTYPE_p_wxChoicebook swig_types[33]
1375 #define SWIGTYPE_p_wxNotifyEvent swig_types[34]
1376 #define SWIGTYPE_p_wxArrayString swig_types[35]
1377 #define SWIGTYPE_p_form_ops_t swig_types[36]
1378 #define SWIGTYPE_p_wxListbook swig_types[37]
1379 #define SWIGTYPE_p_wxStaticBitmap swig_types[38]
1380 #define SWIGTYPE_p_wxSlider swig_types[39]
1381 #define SWIGTYPE_p_wxStaticBox swig_types[40]
1382 #define SWIGTYPE_p_wxArrayInt swig_types[41]
1383 #define SWIGTYPE_p_wxContextHelp swig_types[42]
1384 #define SWIGTYPE_p_long swig_types[43]
1385 #define SWIGTYPE_p_wxDuplexMode swig_types[44]
1386 #define SWIGTYPE_p_wxBookCtrlBase swig_types[45]
1387 #define SWIGTYPE_p_wxEvtHandler swig_types[46]
1388 #define SWIGTYPE_p_wxListEvent swig_types[47]
1389 #define SWIGTYPE_p_wxCheckListBox swig_types[48]
1390 #define SWIGTYPE_p_wxListBox swig_types[49]
1391 #define SWIGTYPE_p_wxSpinButton swig_types[50]
1392 #define SWIGTYPE_p_wxButton swig_types[51]
1393 #define SWIGTYPE_p_wxBitmapButton swig_types[52]
1394 #define SWIGTYPE_p_wxRect swig_types[53]
1395 #define SWIGTYPE_p_wxContextHelpButton swig_types[54]
1396 #define SWIGTYPE_p_wxRadioBox swig_types[55]
1397 #define SWIGTYPE_p_wxScrollBar swig_types[56]
1398 #define SWIGTYPE_p_char swig_types[57]
1399 #define SWIGTYPE_p_wxComboBox swig_types[58]
1400 #define SWIGTYPE_p_wxTreeItemId swig_types[59]
1401 #define SWIGTYPE_p_wxHelpEvent swig_types[60]
1402 #define SWIGTYPE_p_wxListItem swig_types[61]
1403 #define SWIGTYPE_p_wxNotebookSizer swig_types[62]
1404 #define SWIGTYPE_p_wxSpinEvent swig_types[63]
1405 #define SWIGTYPE_p_wxGenericDragImage swig_types[64]
1406 #define SWIGTYPE_p_wxSpinCtrl swig_types[65]
1407 #define SWIGTYPE_p_wxPaperSize swig_types[66]
1408 #define SWIGTYPE_p_wxImageList swig_types[67]
1409 #define SWIGTYPE_p_wxHelpProvider swig_types[68]
1410 #define SWIGTYPE_p_wxTextAttr swig_types[69]
1411 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[70]
1412 #define SWIGTYPE_p_wxChoicebookEvent swig_types[71]
1413 #define SWIGTYPE_p_wxListbookEvent swig_types[72]
1414 #define SWIGTYPE_p_wxNotebookEvent swig_types[73]
1415 #define SWIGTYPE_p_wxPoint swig_types[74]
1416 #define SWIGTYPE_p_wxObject swig_types[75]
1417 #define SWIGTYPE_p_wxCursor swig_types[76]
1418 #define SWIGTYPE_p_wxKeyEvent swig_types[77]
1419 #define SWIGTYPE_p_unsigned_long swig_types[78]
1420 #define SWIGTYPE_p_wxWindow swig_types[79]
1421 #define SWIGTYPE_p_wxString swig_types[80]
1422 #define SWIGTYPE_p_wxBitmap swig_types[81]
1423 #define SWIGTYPE_unsigned_int swig_types[82]
1424 #define SWIGTYPE_p_unsigned_int swig_types[83]
1425 #define SWIGTYPE_p_unsigned_char swig_types[84]
1426 #define SWIGTYPE_p_wxMouseEvent swig_types[85]
1427 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[86]
1428 #define SWIGTYPE_p_wxTreeEvent swig_types[87]
1429 #define SWIGTYPE_p_wxCommandEvent swig_types[88]
1430 #define SWIGTYPE_p_wxStaticText swig_types[89]
1431 #define SWIGTYPE_p_wxControlWithItems swig_types[90]
1432 #define SWIGTYPE_p_wxToolBarToolBase swig_types[91]
1433 #define SWIGTYPE_p_wxColour swig_types[92]
1434 #define SWIGTYPE_p_wxToolBar swig_types[93]
1435 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[94]
1436 #define SWIGTYPE_p_wxValidator swig_types[95]
1437 static swig_type_info
*swig_types
[97];
1439 /* -------- TYPES TABLE (END) -------- */
1442 /*-----------------------------------------------
1443 @(target):= _controls_.so
1444 ------------------------------------------------*/
1445 #define SWIG_init init_controls_
1447 #define SWIG_name "_controls_"
1449 #include "wx/wxPython/wxPython.h"
1450 #include "wx/wxPython/pyclasses.h"
1452 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1453 static const wxString
wxPyEmptyString(wxEmptyString
);
1454 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1456 const wxArrayString wxPyEmptyStringArray
;
1458 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
1460 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1461 #define SWIG_From_int PyInt_FromLong
1469 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1472 if (value
< min_value
) {
1474 PyErr_Format(PyExc_OverflowError
,
1475 "value %ld is less than '%s' minimum %ld",
1476 value
, errmsg
, min_value
);
1479 } else if (value
> max_value
) {
1481 PyErr_Format(PyExc_OverflowError
,
1482 "value %ld is greater than '%s' maximum %ld",
1483 value
, errmsg
, max_value
);
1492 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1494 if (PyNumber_Check(obj
)) {
1495 if (val
) *val
= PyInt_AsLong(obj
);
1499 SWIG_type_error("number", obj
);
1505 #if INT_MAX != LONG_MAX
1507 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1509 const char* errmsg
= val
? "int" : (char*)0;
1511 if (SWIG_AsVal_long(obj
, &v
)) {
1512 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1513 if (val
) *val
= (int)(v
);
1522 SWIG_type_error(errmsg
, obj
);
1528 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1530 return SWIG_AsVal_long(obj
,(long*)val
);
1536 SWIG_As_int(PyObject
* obj
)
1539 if (!SWIG_AsVal_int(obj
, &v
)) {
1541 this is needed to make valgrind/purify happier.
1543 memset((void*)&v
, 0, sizeof(int));
1549 SWIGINTERNSHORT
long
1550 SWIG_As_long(PyObject
* obj
)
1553 if (!SWIG_AsVal_long(obj
, &v
)) {
1555 this is needed to make valgrind/purify happier.
1557 memset((void*)&v
, 0, sizeof(long));
1564 SWIG_Check_int(PyObject
* obj
)
1566 return SWIG_AsVal_int(obj
, (int*)0);
1571 SWIG_Check_long(PyObject
* obj
)
1573 return SWIG_AsVal_long(obj
, (long*)0);
1576 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
1579 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1581 if (obj
== Py_True
) {
1582 if (val
) *val
= true;
1585 if (obj
== Py_False
) {
1586 if (val
) *val
= false;
1590 if (SWIG_AsVal_int(obj
, &res
)) {
1591 if (val
) *val
= res
? true : false;
1597 SWIG_type_error("bool", obj
);
1603 SWIGINTERNSHORT
bool
1604 SWIG_As_bool(PyObject
* obj
)
1607 if (!SWIG_AsVal_bool(obj
, &v
)) {
1609 this is needed to make valgrind/purify happier.
1611 memset((void*)&v
, 0, sizeof(bool));
1618 SWIG_Check_bool(PyObject
* obj
)
1620 return SWIG_AsVal_bool(obj
, (bool*)0);
1623 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
1624 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
1626 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1627 #define SWIG_From_long PyInt_FromLong
1631 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1637 } else if (target
== Py_None
) {
1641 if (!PyTuple_Check(target
)) {
1643 target
= PyTuple_New(1);
1644 PyTuple_SetItem(target
, 0, o2
);
1646 o3
= PyTuple_New(1);
1647 PyTuple_SetItem(o3
, 0, o
);
1650 target
= PySequence_Concat(o2
, o3
);
1658 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
1659 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
1660 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
1661 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
1663 #include <wx/checklst.h>
1666 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
1667 static void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
1669 wxPyClientData
* data
= new wxPyClientData(clientData
);
1670 self
->Insert(item
, pos
, data
);
1672 self
->Insert(item
, pos
);
1674 static PyObject
*wxListBox_GetSelections(wxListBox
*self
){
1676 self
->GetSelections(lst
);
1677 PyObject
*tup
= PyTuple_New(lst
.GetCount());
1678 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
1679 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
1683 static void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
1685 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1686 self
->GetItem(item
)->SetTextColour(c
);
1689 static void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
1691 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1692 self
->GetItem(item
)->SetBackgroundColour(c
);
1695 static void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
1697 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1698 self
->GetItem(item
)->SetFont(f
);
1701 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
1704 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1707 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1708 SWIG_type_error("unsigned number", obj
);
1711 *val
= (unsigned long)v
;
1716 SWIGINTERNSHORT
unsigned long
1717 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1720 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1722 this is needed to make valgrind/purify happier.
1724 memset((void*)&v
, 0, sizeof(unsigned long));
1731 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1733 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1736 static void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
1737 self
->AppendText(text
);
1739 static wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
1740 return self
->GetValue().Mid(from
, to
- from
);
1742 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
1743 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
1744 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
1745 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
1746 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
1748 #include <wx/slider.h>
1751 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
1752 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
1754 #if !wxUSE_TOGGLEBTN
1755 // implement dummy items for platforms that don't have this class
1757 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
1759 class wxToggleButton
: public wxControl
1762 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
1763 const wxPoint
&, const wxSize
&, long,
1764 const wxValidator
&, const wxString
&)
1765 { wxPyRaiseNotImplemented(); }
1768 { wxPyRaiseNotImplemented(); }
1772 static const wxString
wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME
);
1774 SWIGINTERNSHORT PyObject
*
1775 SWIG_From_unsigned_SS_long(unsigned long value
)
1777 return (value
> LONG_MAX
) ?
1778 PyLong_FromUnsignedLong(value
)
1779 : PyInt_FromLong((long)(value
));
1782 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
1783 static PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
1784 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
1786 Py_INCREF(udata
->m_obj
);
1787 return udata
->m_obj
;
1793 static void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
1794 self
->SetClientData(new wxPyUserData(clientData
));
1796 static wxToolBarToolBase
*wxToolBarBase_DoAddTool(wxToolBarBase
*self
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString
const &shortHelp
=wxPyEmptyString
,wxString
const &longHelp
=wxPyEmptyString
,PyObject
*clientData
=NULL
){
1797 wxPyUserData
* udata
= NULL
;
1798 if (clientData
&& clientData
!= Py_None
)
1799 udata
= new wxPyUserData(clientData
);
1800 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
1801 shortHelp
, longHelp
, udata
);
1803 static wxToolBarToolBase
*wxToolBarBase_DoInsertTool(wxToolBarBase
*self
,size_t pos
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString
const &shortHelp
=wxPyEmptyString
,wxString
const &longHelp
=wxPyEmptyString
,PyObject
*clientData
=NULL
){
1804 wxPyUserData
* udata
= NULL
;
1805 if (clientData
&& clientData
!= Py_None
)
1806 udata
= new wxPyUserData(clientData
);
1807 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
1808 shortHelp
, longHelp
, udata
);
1810 static PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
1811 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
1813 Py_INCREF(udata
->m_obj
);
1814 return udata
->m_obj
;
1820 static void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
1821 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
1824 #include <wx/listctrl.h>
1826 static const wxString
wxPyListCtrlNameStr(_T("wxListCtrl"));
1827 static void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
1828 // Python aware sorting function for wxPyListCtrl
1829 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
1831 PyObject
* func
= (PyObject
*)funcPtr
;
1832 bool blocked
= wxPyBeginBlockThreads();
1834 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
1835 PyObject
* result
= PyEval_CallObject(func
, args
);
1838 retval
= PyInt_AsLong(result
);
1842 wxPyEndBlockThreads(blocked
);
1846 // C++ Version of a Python aware class
1847 class wxPyListCtrl
: public wxListCtrl
{
1848 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
1850 wxPyListCtrl() : wxListCtrl() {}
1851 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
1855 const wxValidator
& validator
,
1856 const wxString
& name
) :
1857 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
1859 bool Create(wxWindow
* parent
, wxWindowID id
,
1863 const wxValidator
& validator
,
1864 const wxString
& name
) {
1865 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
1868 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
1869 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
1871 // use the virtual version to avoid a confusing assert in the base class
1872 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
1877 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
1879 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
1880 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
1881 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
1884 static wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
1886 item
.SetMask( wxLIST_MASK_STATE
|
1894 if (self
->GetColumn(col
, item
))
1895 return new wxListItem(item
);
1899 static wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
1900 wxListItem
* info
= new wxListItem
;
1901 info
->m_itemId
= itemId
;
1903 info
->m_mask
= 0xFFFF;
1904 self
->GetItem(*info
);
1907 static wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
1909 self
->GetItemPosition(item
, pos
);
1912 static wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
1914 self
->GetItemRect(item
, rect
, code
);
1918 static bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
1919 if (!PyCallable_Check(func
))
1921 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
1923 static wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
1931 #include <wx/treectrl.h>
1932 #include "wx/wxPython/pytree.h"
1934 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
1935 static bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
1936 static bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
1937 static void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
1938 // C++ version of Python aware wxTreeCtrl
1939 class wxPyTreeCtrl
: public wxTreeCtrl
{
1940 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
1942 wxPyTreeCtrl() : wxTreeCtrl() {}
1943 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
1947 const wxValidator
& validator
,
1948 const wxString
& name
) :
1949 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
1951 bool Create(wxWindow
*parent
, wxWindowID id
,
1955 const wxValidator
& validator
,
1956 const wxString
& name
) {
1957 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
1961 int OnCompareItems(const wxTreeItemId
& item1
,
1962 const wxTreeItemId
& item2
) {
1965 bool blocked
= wxPyBeginBlockThreads();
1966 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
1967 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
1968 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
1969 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
1973 wxPyEndBlockThreads(blocked
);
1975 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
1981 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
1985 #if UINT_MAX < LONG_MAX
1986 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1987 #define SWIG_From_unsigned_SS_int SWIG_From_long
1990 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1991 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1997 SWIG_CheckUnsignedLongInRange(unsigned long value
,
1998 unsigned long max_value
,
2001 if (value
> max_value
) {
2003 PyErr_Format(PyExc_OverflowError
,
2004 "value %lu is greater than '%s' minimum %lu",
2005 value
, errmsg
, max_value
);
2013 #if UINT_MAX != ULONG_MAX
2015 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2017 const char* errmsg
= val
? "unsigned int" : (char*)0;
2019 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2020 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
2021 if (val
) *val
= (unsigned int)(v
);
2028 SWIG_type_error(errmsg
, obj
);
2033 SWIGINTERNSHORT
unsigned int
2034 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2036 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
2041 SWIGINTERNSHORT
unsigned int
2042 SWIG_As_unsigned_SS_int(PyObject
* obj
)
2045 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
2047 this is needed to make valgrind/purify happier.
2049 memset((void*)&v
, 0, sizeof(unsigned int));
2056 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
2058 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
2061 static wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2062 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2064 data
= new wxPyTreeItemData();
2065 data
->SetId(item
); // set the id
2066 self
->SetItemData(item
, data
);
2070 static PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2071 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2073 data
= new wxPyTreeItemData();
2074 data
->SetId(item
); // set the id
2075 self
->SetItemData(item
, data
);
2077 return data
->GetData();
2079 static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
2080 data
->SetId(item
); // set the id
2081 self
->SetItemData(item
, data
);
2083 static void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
2084 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2086 data
= new wxPyTreeItemData(obj
);
2087 data
->SetId(item
); // set the id
2088 self
->SetItemData(item
, data
);
2092 static PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
2093 bool blocked
= wxPyBeginBlockThreads();
2094 PyObject
* rval
= PyList_New(0);
2095 wxArrayTreeItemIds array
;
2097 num
= self
->GetSelections(array
);
2098 for (x
=0; x
< num
; x
++) {
2099 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
2100 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
2101 PyList_Append(rval
, item
);
2104 wxPyEndBlockThreads(blocked
);
2107 static PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2109 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
2110 bool blocked
= wxPyBeginBlockThreads();
2111 PyObject
* tup
= PyTuple_New(2);
2112 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
2113 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
2114 wxPyEndBlockThreads(blocked
);
2117 static PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
2118 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
2119 bool blocked
= wxPyBeginBlockThreads();
2120 PyObject
* tup
= PyTuple_New(2);
2121 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
2122 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
2123 wxPyEndBlockThreads(blocked
);
2126 static PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
2128 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
2129 bool blocked
= wxPyBeginBlockThreads();
2130 wxRect
* r
= new wxRect(rect
);
2131 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
2132 wxPyEndBlockThreads(blocked
);
2138 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
2140 SWIGINTERNSHORT PyObject
*
2141 SWIG_From_bool(bool value
)
2143 PyObject
*obj
= value
? Py_True
: Py_False
;
2149 // C++ version of Python aware wxControl
2150 class wxPyControl
: public wxControl
2152 DECLARE_DYNAMIC_CLASS(wxPyControl
)
2154 wxPyControl() : wxControl() {}
2155 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
2156 const wxPoint
& pos
= wxDefaultPosition
,
2157 const wxSize
& size
= wxDefaultSize
,
2159 const wxValidator
& validator
=wxDefaultValidator
,
2160 const wxString
& name
= wxPyControlNameStr
)
2161 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
2163 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
2165 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2166 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2167 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2168 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2170 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2171 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2172 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2174 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2175 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2177 DEC_PYCALLBACK__(InitDialog
);
2178 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2179 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2180 DEC_PYCALLBACK_BOOL_(Validate
);
2182 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2183 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2184 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2186 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2187 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2189 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2190 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
2191 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2196 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
2198 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
2199 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
2200 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
2201 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
2203 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
2204 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
2205 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
2207 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
2208 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
2210 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
2211 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
2212 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
2213 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
2215 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
2216 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
2217 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
2219 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
2220 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
2222 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
2223 IMP_PYCALLBACK__COLOUR(wxPyControl
, wxControl
, ApplyParentThemeBackground
);
2224 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
2228 static void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
2230 #include <wx/generic/dragimgg.h>
2235 static int _wrap_ButtonNameStr_set(PyObject
*) {
2236 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
2241 static PyObject
*_wrap_ButtonNameStr_get(void) {
2246 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
2248 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
2255 static PyObject
*_wrap_new_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2256 PyObject
*resultobj
;
2257 wxWindow
*arg1
= (wxWindow
*) 0 ;
2258 int arg2
= (int) -1 ;
2259 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2260 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2261 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2262 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2263 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2264 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2265 long arg6
= (long) 0 ;
2266 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2267 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2268 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
2269 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2271 bool temp3
= false ;
2274 bool temp8
= false ;
2275 PyObject
* obj0
= 0 ;
2276 PyObject
* obj1
= 0 ;
2277 PyObject
* obj2
= 0 ;
2278 PyObject
* obj3
= 0 ;
2279 PyObject
* obj4
= 0 ;
2280 PyObject
* obj5
= 0 ;
2281 PyObject
* obj6
= 0 ;
2282 PyObject
* obj7
= 0 ;
2284 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2289 if (SWIG_arg_fail(1)) SWIG_fail
;
2292 arg2
= (int)(SWIG_As_int(obj1
));
2293 if (SWIG_arg_fail(2)) SWIG_fail
;
2298 arg3
= wxString_in_helper(obj2
);
2299 if (arg3
== NULL
) SWIG_fail
;
2306 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2312 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2317 arg6
= (long)(SWIG_As_long(obj5
));
2318 if (SWIG_arg_fail(6)) SWIG_fail
;
2323 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2324 if (SWIG_arg_fail(7)) SWIG_fail
;
2326 SWIG_null_ref("wxValidator");
2328 if (SWIG_arg_fail(7)) SWIG_fail
;
2333 arg8
= wxString_in_helper(obj7
);
2334 if (arg8
== NULL
) SWIG_fail
;
2339 if (!wxPyCheckForApp()) SWIG_fail
;
2340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2341 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2343 wxPyEndAllowThreads(__tstate
);
2344 if (PyErr_Occurred()) SWIG_fail
;
2346 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
2369 static PyObject
*_wrap_new_PreButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2370 PyObject
*resultobj
;
2376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
2378 if (!wxPyCheckForApp()) SWIG_fail
;
2379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2380 result
= (wxButton
*)new wxButton();
2382 wxPyEndAllowThreads(__tstate
);
2383 if (PyErr_Occurred()) SWIG_fail
;
2385 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
2392 static PyObject
*_wrap_Button_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2393 PyObject
*resultobj
;
2394 wxButton
*arg1
= (wxButton
*) 0 ;
2395 wxWindow
*arg2
= (wxWindow
*) 0 ;
2396 int arg3
= (int) -1 ;
2397 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2398 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2399 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2400 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2401 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2402 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2403 long arg7
= (long) 0 ;
2404 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2405 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2406 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
2407 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2409 bool temp4
= false ;
2412 bool temp9
= false ;
2413 PyObject
* obj0
= 0 ;
2414 PyObject
* obj1
= 0 ;
2415 PyObject
* obj2
= 0 ;
2416 PyObject
* obj3
= 0 ;
2417 PyObject
* obj4
= 0 ;
2418 PyObject
* obj5
= 0 ;
2419 PyObject
* obj6
= 0 ;
2420 PyObject
* obj7
= 0 ;
2421 PyObject
* obj8
= 0 ;
2423 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
2428 if (SWIG_arg_fail(1)) SWIG_fail
;
2429 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2430 if (SWIG_arg_fail(2)) SWIG_fail
;
2433 arg3
= (int)(SWIG_As_int(obj2
));
2434 if (SWIG_arg_fail(3)) SWIG_fail
;
2439 arg4
= wxString_in_helper(obj3
);
2440 if (arg4
== NULL
) SWIG_fail
;
2447 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2453 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2458 arg7
= (long)(SWIG_As_long(obj6
));
2459 if (SWIG_arg_fail(7)) SWIG_fail
;
2464 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2465 if (SWIG_arg_fail(8)) SWIG_fail
;
2467 SWIG_null_ref("wxValidator");
2469 if (SWIG_arg_fail(8)) SWIG_fail
;
2474 arg9
= wxString_in_helper(obj8
);
2475 if (arg9
== NULL
) SWIG_fail
;
2480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2481 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2483 wxPyEndAllowThreads(__tstate
);
2484 if (PyErr_Occurred()) SWIG_fail
;
2487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2511 static PyObject
*_wrap_Button_SetDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2512 PyObject
*resultobj
;
2513 wxButton
*arg1
= (wxButton
*) 0 ;
2514 PyObject
* obj0
= 0 ;
2516 (char *) "self", NULL
2519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
2520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
2521 if (SWIG_arg_fail(1)) SWIG_fail
;
2523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2524 (arg1
)->SetDefault();
2526 wxPyEndAllowThreads(__tstate
);
2527 if (PyErr_Occurred()) SWIG_fail
;
2529 Py_INCREF(Py_None
); resultobj
= Py_None
;
2536 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2537 PyObject
*resultobj
;
2543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
2545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2546 result
= wxButton::GetDefaultSize();
2548 wxPyEndAllowThreads(__tstate
);
2549 if (PyErr_Occurred()) SWIG_fail
;
2553 resultptr
= new wxSize((wxSize
&)(result
));
2554 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2562 static PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2563 PyObject
*resultobj
;
2564 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
2565 wxVisualAttributes result
;
2566 PyObject
* obj0
= 0 ;
2568 (char *) "variant", NULL
2571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2574 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
2575 if (SWIG_arg_fail(1)) SWIG_fail
;
2579 if (!wxPyCheckForApp()) SWIG_fail
;
2580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2581 result
= wxButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2583 wxPyEndAllowThreads(__tstate
);
2584 if (PyErr_Occurred()) SWIG_fail
;
2587 wxVisualAttributes
* resultptr
;
2588 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
2589 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2597 static PyObject
* Button_swigregister(PyObject
*, PyObject
*args
) {
2599 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2600 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
2602 return Py_BuildValue((char *)"");
2604 static PyObject
*_wrap_new_BitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2605 PyObject
*resultobj
;
2606 wxWindow
*arg1
= (wxWindow
*) 0 ;
2607 int arg2
= (int) -1 ;
2608 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
2609 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
2610 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2611 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2612 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2613 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2614 long arg6
= (long) wxBU_AUTODRAW
;
2615 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2616 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2617 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
2618 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2619 wxBitmapButton
*result
;
2622 bool temp8
= false ;
2623 PyObject
* obj0
= 0 ;
2624 PyObject
* obj1
= 0 ;
2625 PyObject
* obj2
= 0 ;
2626 PyObject
* obj3
= 0 ;
2627 PyObject
* obj4
= 0 ;
2628 PyObject
* obj5
= 0 ;
2629 PyObject
* obj6
= 0 ;
2630 PyObject
* obj7
= 0 ;
2632 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2637 if (SWIG_arg_fail(1)) SWIG_fail
;
2640 arg2
= (int)(SWIG_As_int(obj1
));
2641 if (SWIG_arg_fail(2)) SWIG_fail
;
2646 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
2647 if (SWIG_arg_fail(3)) SWIG_fail
;
2649 SWIG_null_ref("wxBitmap");
2651 if (SWIG_arg_fail(3)) SWIG_fail
;
2657 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2663 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2668 arg6
= (long)(SWIG_As_long(obj5
));
2669 if (SWIG_arg_fail(6)) SWIG_fail
;
2674 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2675 if (SWIG_arg_fail(7)) SWIG_fail
;
2677 SWIG_null_ref("wxValidator");
2679 if (SWIG_arg_fail(7)) SWIG_fail
;
2684 arg8
= wxString_in_helper(obj7
);
2685 if (arg8
== NULL
) SWIG_fail
;
2690 if (!wxPyCheckForApp()) SWIG_fail
;
2691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2692 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2694 wxPyEndAllowThreads(__tstate
);
2695 if (PyErr_Occurred()) SWIG_fail
;
2697 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
2712 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2713 PyObject
*resultobj
;
2714 wxBitmapButton
*result
;
2719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
2721 if (!wxPyCheckForApp()) SWIG_fail
;
2722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2723 result
= (wxBitmapButton
*)new wxBitmapButton();
2725 wxPyEndAllowThreads(__tstate
);
2726 if (PyErr_Occurred()) SWIG_fail
;
2728 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
2735 static PyObject
*_wrap_BitmapButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2736 PyObject
*resultobj
;
2737 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2738 wxWindow
*arg2
= (wxWindow
*) 0 ;
2739 int arg3
= (int) -1 ;
2740 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
2741 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
2742 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2743 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2744 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2745 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2746 long arg7
= (long) wxBU_AUTODRAW
;
2747 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2748 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2749 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
2750 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2754 bool temp9
= false ;
2755 PyObject
* obj0
= 0 ;
2756 PyObject
* obj1
= 0 ;
2757 PyObject
* obj2
= 0 ;
2758 PyObject
* obj3
= 0 ;
2759 PyObject
* obj4
= 0 ;
2760 PyObject
* obj5
= 0 ;
2761 PyObject
* obj6
= 0 ;
2762 PyObject
* obj7
= 0 ;
2763 PyObject
* obj8
= 0 ;
2765 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2770 if (SWIG_arg_fail(1)) SWIG_fail
;
2771 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2772 if (SWIG_arg_fail(2)) SWIG_fail
;
2775 arg3
= (int)(SWIG_As_int(obj2
));
2776 if (SWIG_arg_fail(3)) SWIG_fail
;
2781 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
2782 if (SWIG_arg_fail(4)) SWIG_fail
;
2784 SWIG_null_ref("wxBitmap");
2786 if (SWIG_arg_fail(4)) SWIG_fail
;
2792 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2798 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2803 arg7
= (long)(SWIG_As_long(obj6
));
2804 if (SWIG_arg_fail(7)) SWIG_fail
;
2809 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2810 if (SWIG_arg_fail(8)) SWIG_fail
;
2812 SWIG_null_ref("wxValidator");
2814 if (SWIG_arg_fail(8)) SWIG_fail
;
2819 arg9
= wxString_in_helper(obj8
);
2820 if (arg9
== NULL
) SWIG_fail
;
2825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2826 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2828 wxPyEndAllowThreads(__tstate
);
2829 if (PyErr_Occurred()) SWIG_fail
;
2832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2848 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2849 PyObject
*resultobj
;
2850 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2852 PyObject
* obj0
= 0 ;
2854 (char *) "self", NULL
2857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
2858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2859 if (SWIG_arg_fail(1)) SWIG_fail
;
2861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2862 result
= (arg1
)->GetBitmapLabel();
2864 wxPyEndAllowThreads(__tstate
);
2865 if (PyErr_Occurred()) SWIG_fail
;
2868 wxBitmap
* resultptr
;
2869 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2870 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2878 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2879 PyObject
*resultobj
;
2880 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2882 PyObject
* obj0
= 0 ;
2884 (char *) "self", NULL
2887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
2888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2889 if (SWIG_arg_fail(1)) SWIG_fail
;
2891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2892 result
= (arg1
)->GetBitmapDisabled();
2894 wxPyEndAllowThreads(__tstate
);
2895 if (PyErr_Occurred()) SWIG_fail
;
2898 wxBitmap
* resultptr
;
2899 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2900 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2908 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2909 PyObject
*resultobj
;
2910 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2912 PyObject
* obj0
= 0 ;
2914 (char *) "self", NULL
2917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
2918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2919 if (SWIG_arg_fail(1)) SWIG_fail
;
2921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2922 result
= (arg1
)->GetBitmapFocus();
2924 wxPyEndAllowThreads(__tstate
);
2925 if (PyErr_Occurred()) SWIG_fail
;
2928 wxBitmap
* resultptr
;
2929 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2930 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2938 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2939 PyObject
*resultobj
;
2940 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2942 PyObject
* obj0
= 0 ;
2944 (char *) "self", NULL
2947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
2948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2949 if (SWIG_arg_fail(1)) SWIG_fail
;
2951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2952 result
= (arg1
)->GetBitmapSelected();
2954 wxPyEndAllowThreads(__tstate
);
2955 if (PyErr_Occurred()) SWIG_fail
;
2958 wxBitmap
* resultptr
;
2959 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2960 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2968 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2969 PyObject
*resultobj
;
2970 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2971 wxBitmap
*arg2
= 0 ;
2972 PyObject
* obj0
= 0 ;
2973 PyObject
* obj1
= 0 ;
2975 (char *) "self",(char *) "bitmap", NULL
2978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
2979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2980 if (SWIG_arg_fail(1)) SWIG_fail
;
2982 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
2983 if (SWIG_arg_fail(2)) SWIG_fail
;
2985 SWIG_null_ref("wxBitmap");
2987 if (SWIG_arg_fail(2)) SWIG_fail
;
2990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2991 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
2993 wxPyEndAllowThreads(__tstate
);
2994 if (PyErr_Occurred()) SWIG_fail
;
2996 Py_INCREF(Py_None
); resultobj
= Py_None
;
3003 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3004 PyObject
*resultobj
;
3005 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3006 wxBitmap
*arg2
= 0 ;
3007 PyObject
* obj0
= 0 ;
3008 PyObject
* obj1
= 0 ;
3010 (char *) "self",(char *) "bitmap", NULL
3013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
3014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3015 if (SWIG_arg_fail(1)) SWIG_fail
;
3017 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3018 if (SWIG_arg_fail(2)) SWIG_fail
;
3020 SWIG_null_ref("wxBitmap");
3022 if (SWIG_arg_fail(2)) SWIG_fail
;
3025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3026 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
3028 wxPyEndAllowThreads(__tstate
);
3029 if (PyErr_Occurred()) SWIG_fail
;
3031 Py_INCREF(Py_None
); resultobj
= Py_None
;
3038 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3039 PyObject
*resultobj
;
3040 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3041 wxBitmap
*arg2
= 0 ;
3042 PyObject
* obj0
= 0 ;
3043 PyObject
* obj1
= 0 ;
3045 (char *) "self",(char *) "bitmap", NULL
3048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
3049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3050 if (SWIG_arg_fail(1)) SWIG_fail
;
3052 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3053 if (SWIG_arg_fail(2)) SWIG_fail
;
3055 SWIG_null_ref("wxBitmap");
3057 if (SWIG_arg_fail(2)) SWIG_fail
;
3060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3061 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
3063 wxPyEndAllowThreads(__tstate
);
3064 if (PyErr_Occurred()) SWIG_fail
;
3066 Py_INCREF(Py_None
); resultobj
= Py_None
;
3073 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3074 PyObject
*resultobj
;
3075 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3076 wxBitmap
*arg2
= 0 ;
3077 PyObject
* obj0
= 0 ;
3078 PyObject
* obj1
= 0 ;
3080 (char *) "self",(char *) "bitmap", NULL
3083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
3084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3085 if (SWIG_arg_fail(1)) SWIG_fail
;
3087 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3088 if (SWIG_arg_fail(2)) SWIG_fail
;
3090 SWIG_null_ref("wxBitmap");
3092 if (SWIG_arg_fail(2)) SWIG_fail
;
3095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3096 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
3098 wxPyEndAllowThreads(__tstate
);
3099 if (PyErr_Occurred()) SWIG_fail
;
3101 Py_INCREF(Py_None
); resultobj
= Py_None
;
3108 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3109 PyObject
*resultobj
;
3110 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3113 PyObject
* obj0
= 0 ;
3114 PyObject
* obj1
= 0 ;
3115 PyObject
* obj2
= 0 ;
3117 (char *) "self",(char *) "x",(char *) "y", NULL
3120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3122 if (SWIG_arg_fail(1)) SWIG_fail
;
3124 arg2
= (int)(SWIG_As_int(obj1
));
3125 if (SWIG_arg_fail(2)) SWIG_fail
;
3128 arg3
= (int)(SWIG_As_int(obj2
));
3129 if (SWIG_arg_fail(3)) SWIG_fail
;
3132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3133 (arg1
)->SetMargins(arg2
,arg3
);
3135 wxPyEndAllowThreads(__tstate
);
3136 if (PyErr_Occurred()) SWIG_fail
;
3138 Py_INCREF(Py_None
); resultobj
= Py_None
;
3145 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3146 PyObject
*resultobj
;
3147 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3149 PyObject
* obj0
= 0 ;
3151 (char *) "self", NULL
3154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
3155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3156 if (SWIG_arg_fail(1)) SWIG_fail
;
3158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3159 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
3161 wxPyEndAllowThreads(__tstate
);
3162 if (PyErr_Occurred()) SWIG_fail
;
3165 resultobj
= SWIG_From_int((int)(result
));
3173 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3174 PyObject
*resultobj
;
3175 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3177 PyObject
* obj0
= 0 ;
3179 (char *) "self", NULL
3182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
3183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3184 if (SWIG_arg_fail(1)) SWIG_fail
;
3186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3187 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
3189 wxPyEndAllowThreads(__tstate
);
3190 if (PyErr_Occurred()) SWIG_fail
;
3193 resultobj
= SWIG_From_int((int)(result
));
3201 static PyObject
* BitmapButton_swigregister(PyObject
*, PyObject
*args
) {
3203 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3204 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
3206 return Py_BuildValue((char *)"");
3208 static int _wrap_CheckBoxNameStr_set(PyObject
*) {
3209 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
3214 static PyObject
*_wrap_CheckBoxNameStr_get(void) {
3219 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
3221 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
3228 static PyObject
*_wrap_new_CheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3229 PyObject
*resultobj
;
3230 wxWindow
*arg1
= (wxWindow
*) 0 ;
3231 int arg2
= (int) -1 ;
3232 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3233 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3234 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3235 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3236 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3237 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3238 long arg6
= (long) 0 ;
3239 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3240 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3241 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
3242 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3244 bool temp3
= false ;
3247 bool temp8
= false ;
3248 PyObject
* obj0
= 0 ;
3249 PyObject
* obj1
= 0 ;
3250 PyObject
* obj2
= 0 ;
3251 PyObject
* obj3
= 0 ;
3252 PyObject
* obj4
= 0 ;
3253 PyObject
* obj5
= 0 ;
3254 PyObject
* obj6
= 0 ;
3255 PyObject
* obj7
= 0 ;
3257 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3262 if (SWIG_arg_fail(1)) SWIG_fail
;
3265 arg2
= (int)(SWIG_As_int(obj1
));
3266 if (SWIG_arg_fail(2)) SWIG_fail
;
3271 arg3
= wxString_in_helper(obj2
);
3272 if (arg3
== NULL
) SWIG_fail
;
3279 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3285 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3290 arg6
= (long)(SWIG_As_long(obj5
));
3291 if (SWIG_arg_fail(6)) SWIG_fail
;
3296 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3297 if (SWIG_arg_fail(7)) SWIG_fail
;
3299 SWIG_null_ref("wxValidator");
3301 if (SWIG_arg_fail(7)) SWIG_fail
;
3306 arg8
= wxString_in_helper(obj7
);
3307 if (arg8
== NULL
) SWIG_fail
;
3312 if (!wxPyCheckForApp()) SWIG_fail
;
3313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3314 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3316 wxPyEndAllowThreads(__tstate
);
3317 if (PyErr_Occurred()) SWIG_fail
;
3319 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
3342 static PyObject
*_wrap_new_PreCheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3343 PyObject
*resultobj
;
3349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
3351 if (!wxPyCheckForApp()) SWIG_fail
;
3352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3353 result
= (wxCheckBox
*)new wxCheckBox();
3355 wxPyEndAllowThreads(__tstate
);
3356 if (PyErr_Occurred()) SWIG_fail
;
3358 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
3365 static PyObject
*_wrap_CheckBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3366 PyObject
*resultobj
;
3367 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3368 wxWindow
*arg2
= (wxWindow
*) 0 ;
3369 int arg3
= (int) -1 ;
3370 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3371 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3372 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3373 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3374 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3375 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3376 long arg7
= (long) 0 ;
3377 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3378 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3379 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
3380 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3382 bool temp4
= false ;
3385 bool temp9
= false ;
3386 PyObject
* obj0
= 0 ;
3387 PyObject
* obj1
= 0 ;
3388 PyObject
* obj2
= 0 ;
3389 PyObject
* obj3
= 0 ;
3390 PyObject
* obj4
= 0 ;
3391 PyObject
* obj5
= 0 ;
3392 PyObject
* obj6
= 0 ;
3393 PyObject
* obj7
= 0 ;
3394 PyObject
* obj8
= 0 ;
3396 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3401 if (SWIG_arg_fail(1)) SWIG_fail
;
3402 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3403 if (SWIG_arg_fail(2)) SWIG_fail
;
3406 arg3
= (int)(SWIG_As_int(obj2
));
3407 if (SWIG_arg_fail(3)) SWIG_fail
;
3412 arg4
= wxString_in_helper(obj3
);
3413 if (arg4
== NULL
) SWIG_fail
;
3420 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3426 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3431 arg7
= (long)(SWIG_As_long(obj6
));
3432 if (SWIG_arg_fail(7)) SWIG_fail
;
3437 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3438 if (SWIG_arg_fail(8)) SWIG_fail
;
3440 SWIG_null_ref("wxValidator");
3442 if (SWIG_arg_fail(8)) SWIG_fail
;
3447 arg9
= wxString_in_helper(obj8
);
3448 if (arg9
== NULL
) SWIG_fail
;
3453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3454 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3456 wxPyEndAllowThreads(__tstate
);
3457 if (PyErr_Occurred()) SWIG_fail
;
3460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3484 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3485 PyObject
*resultobj
;
3486 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3488 PyObject
* obj0
= 0 ;
3490 (char *) "self", NULL
3493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
3494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3495 if (SWIG_arg_fail(1)) SWIG_fail
;
3497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3498 result
= (bool)(arg1
)->GetValue();
3500 wxPyEndAllowThreads(__tstate
);
3501 if (PyErr_Occurred()) SWIG_fail
;
3504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3512 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3513 PyObject
*resultobj
;
3514 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3516 PyObject
* obj0
= 0 ;
3518 (char *) "self", NULL
3521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
3522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3523 if (SWIG_arg_fail(1)) SWIG_fail
;
3525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3526 result
= (bool)(arg1
)->IsChecked();
3528 wxPyEndAllowThreads(__tstate
);
3529 if (PyErr_Occurred()) SWIG_fail
;
3532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3540 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3541 PyObject
*resultobj
;
3542 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3544 PyObject
* obj0
= 0 ;
3545 PyObject
* obj1
= 0 ;
3547 (char *) "self",(char *) "state", NULL
3550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3552 if (SWIG_arg_fail(1)) SWIG_fail
;
3554 arg2
= (bool const)(SWIG_As_bool(obj1
));
3555 if (SWIG_arg_fail(2)) SWIG_fail
;
3558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3559 (arg1
)->SetValue(arg2
);
3561 wxPyEndAllowThreads(__tstate
);
3562 if (PyErr_Occurred()) SWIG_fail
;
3564 Py_INCREF(Py_None
); resultobj
= Py_None
;
3571 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3572 PyObject
*resultobj
;
3573 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3574 wxCheckBoxState result
;
3575 PyObject
* obj0
= 0 ;
3577 (char *) "self", NULL
3580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
3581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3582 if (SWIG_arg_fail(1)) SWIG_fail
;
3584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3585 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
3587 wxPyEndAllowThreads(__tstate
);
3588 if (PyErr_Occurred()) SWIG_fail
;
3590 resultobj
= SWIG_From_int((result
));
3597 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3598 PyObject
*resultobj
;
3599 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3600 wxCheckBoxState arg2
;
3601 PyObject
* obj0
= 0 ;
3602 PyObject
* obj1
= 0 ;
3604 (char *) "self",(char *) "state", NULL
3607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3609 if (SWIG_arg_fail(1)) SWIG_fail
;
3611 arg2
= (wxCheckBoxState
)(SWIG_As_int(obj1
));
3612 if (SWIG_arg_fail(2)) SWIG_fail
;
3615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3616 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
3618 wxPyEndAllowThreads(__tstate
);
3619 if (PyErr_Occurred()) SWIG_fail
;
3621 Py_INCREF(Py_None
); resultobj
= Py_None
;
3628 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3629 PyObject
*resultobj
;
3630 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3632 PyObject
* obj0
= 0 ;
3634 (char *) "self", NULL
3637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
3638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3639 if (SWIG_arg_fail(1)) SWIG_fail
;
3641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3642 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
3644 wxPyEndAllowThreads(__tstate
);
3645 if (PyErr_Occurred()) SWIG_fail
;
3648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3656 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3657 PyObject
*resultobj
;
3658 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3660 PyObject
* obj0
= 0 ;
3662 (char *) "self", NULL
3665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
3666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3667 if (SWIG_arg_fail(1)) SWIG_fail
;
3669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3670 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
3672 wxPyEndAllowThreads(__tstate
);
3673 if (PyErr_Occurred()) SWIG_fail
;
3676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3684 static PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3685 PyObject
*resultobj
;
3686 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3687 wxVisualAttributes result
;
3688 PyObject
* obj0
= 0 ;
3690 (char *) "variant", NULL
3693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3696 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
3697 if (SWIG_arg_fail(1)) SWIG_fail
;
3701 if (!wxPyCheckForApp()) SWIG_fail
;
3702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3703 result
= wxCheckBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3705 wxPyEndAllowThreads(__tstate
);
3706 if (PyErr_Occurred()) SWIG_fail
;
3709 wxVisualAttributes
* resultptr
;
3710 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
3711 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3719 static PyObject
* CheckBox_swigregister(PyObject
*, PyObject
*args
) {
3721 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3722 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
3724 return Py_BuildValue((char *)"");
3726 static int _wrap_ChoiceNameStr_set(PyObject
*) {
3727 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
3732 static PyObject
*_wrap_ChoiceNameStr_get(void) {
3737 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
3739 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
3746 static PyObject
*_wrap_new_Choice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3747 PyObject
*resultobj
;
3748 wxWindow
*arg1
= (wxWindow
*) 0 ;
3749 int arg2
= (int) -1 ;
3750 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3751 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3752 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3753 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3754 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
3755 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
3756 long arg6
= (long) 0 ;
3757 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3758 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3759 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
3760 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3764 bool temp5
= false ;
3765 bool temp8
= false ;
3766 PyObject
* obj0
= 0 ;
3767 PyObject
* obj1
= 0 ;
3768 PyObject
* obj2
= 0 ;
3769 PyObject
* obj3
= 0 ;
3770 PyObject
* obj4
= 0 ;
3771 PyObject
* obj5
= 0 ;
3772 PyObject
* obj6
= 0 ;
3773 PyObject
* obj7
= 0 ;
3775 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3780 if (SWIG_arg_fail(1)) SWIG_fail
;
3783 arg2
= (int)(SWIG_As_int(obj1
));
3784 if (SWIG_arg_fail(2)) SWIG_fail
;
3790 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3796 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3801 if (! PySequence_Check(obj4
)) {
3802 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3805 arg5
= new wxArrayString
;
3807 int i
, len
=PySequence_Length(obj4
);
3808 for (i
=0; i
<len
; i
++) {
3809 PyObject
* item
= PySequence_GetItem(obj4
, i
);
3811 PyObject
* str
= PyObject_Unicode(item
);
3813 PyObject
* str
= PyObject_Str(item
);
3815 if (PyErr_Occurred()) SWIG_fail
;
3816 arg5
->Add(Py2wxString(str
));
3824 arg6
= (long)(SWIG_As_long(obj5
));
3825 if (SWIG_arg_fail(6)) SWIG_fail
;
3830 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3831 if (SWIG_arg_fail(7)) SWIG_fail
;
3833 SWIG_null_ref("wxValidator");
3835 if (SWIG_arg_fail(7)) SWIG_fail
;
3840 arg8
= wxString_in_helper(obj7
);
3841 if (arg8
== NULL
) SWIG_fail
;
3846 if (!wxPyCheckForApp()) SWIG_fail
;
3847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3848 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3850 wxPyEndAllowThreads(__tstate
);
3851 if (PyErr_Occurred()) SWIG_fail
;
3853 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
3855 if (temp5
) delete arg5
;
3864 if (temp5
) delete arg5
;
3874 static PyObject
*_wrap_new_PreChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3875 PyObject
*resultobj
;
3881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
3883 if (!wxPyCheckForApp()) SWIG_fail
;
3884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3885 result
= (wxChoice
*)new wxChoice();
3887 wxPyEndAllowThreads(__tstate
);
3888 if (PyErr_Occurred()) SWIG_fail
;
3890 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
3897 static PyObject
*_wrap_Choice_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3898 PyObject
*resultobj
;
3899 wxChoice
*arg1
= (wxChoice
*) 0 ;
3900 wxWindow
*arg2
= (wxWindow
*) 0 ;
3901 int arg3
= (int) -1 ;
3902 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3903 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3904 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3905 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3906 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
3907 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
3908 long arg7
= (long) 0 ;
3909 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3910 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3911 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
3912 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3916 bool temp6
= false ;
3917 bool temp9
= false ;
3918 PyObject
* obj0
= 0 ;
3919 PyObject
* obj1
= 0 ;
3920 PyObject
* obj2
= 0 ;
3921 PyObject
* obj3
= 0 ;
3922 PyObject
* obj4
= 0 ;
3923 PyObject
* obj5
= 0 ;
3924 PyObject
* obj6
= 0 ;
3925 PyObject
* obj7
= 0 ;
3926 PyObject
* obj8
= 0 ;
3928 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoice
, SWIG_POINTER_EXCEPTION
| 0);
3933 if (SWIG_arg_fail(1)) SWIG_fail
;
3934 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3935 if (SWIG_arg_fail(2)) SWIG_fail
;
3938 arg3
= (int)(SWIG_As_int(obj2
));
3939 if (SWIG_arg_fail(3)) SWIG_fail
;
3945 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3951 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3956 if (! PySequence_Check(obj5
)) {
3957 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3960 arg6
= new wxArrayString
;
3962 int i
, len
=PySequence_Length(obj5
);
3963 for (i
=0; i
<len
; i
++) {
3964 PyObject
* item
= PySequence_GetItem(obj5
, i
);
3966 PyObject
* str
= PyObject_Unicode(item
);
3968 PyObject
* str
= PyObject_Str(item
);
3970 if (PyErr_Occurred()) SWIG_fail
;
3971 arg6
->Add(Py2wxString(str
));
3979 arg7
= (long)(SWIG_As_long(obj6
));
3980 if (SWIG_arg_fail(7)) SWIG_fail
;
3985 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3986 if (SWIG_arg_fail(8)) SWIG_fail
;
3988 SWIG_null_ref("wxValidator");
3990 if (SWIG_arg_fail(8)) SWIG_fail
;
3995 arg9
= wxString_in_helper(obj8
);
3996 if (arg9
== NULL
) SWIG_fail
;
4001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4002 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4004 wxPyEndAllowThreads(__tstate
);
4005 if (PyErr_Occurred()) SWIG_fail
;
4008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4011 if (temp6
) delete arg6
;
4020 if (temp6
) delete arg6
;
4030 static PyObject
*_wrap_Choice_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4031 PyObject
*resultobj
;
4032 wxChoice
*arg1
= (wxChoice
*) 0 ;
4034 PyObject
* obj0
= 0 ;
4035 PyObject
* obj1
= 0 ;
4037 (char *) "self",(char *) "n", NULL
4040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
4041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoice
, SWIG_POINTER_EXCEPTION
| 0);
4042 if (SWIG_arg_fail(1)) SWIG_fail
;
4044 arg2
= (int const)(SWIG_As_int(obj1
));
4045 if (SWIG_arg_fail(2)) SWIG_fail
;
4048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4049 (arg1
)->SetSelection(arg2
);
4051 wxPyEndAllowThreads(__tstate
);
4052 if (PyErr_Occurred()) SWIG_fail
;
4054 Py_INCREF(Py_None
); resultobj
= Py_None
;
4061 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4062 PyObject
*resultobj
;
4063 wxChoice
*arg1
= (wxChoice
*) 0 ;
4064 wxString
*arg2
= 0 ;
4066 bool temp2
= false ;
4067 PyObject
* obj0
= 0 ;
4068 PyObject
* obj1
= 0 ;
4070 (char *) "self",(char *) "string", NULL
4073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
4074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoice
, SWIG_POINTER_EXCEPTION
| 0);
4075 if (SWIG_arg_fail(1)) SWIG_fail
;
4077 arg2
= wxString_in_helper(obj1
);
4078 if (arg2
== NULL
) SWIG_fail
;
4082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4083 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
4085 wxPyEndAllowThreads(__tstate
);
4086 if (PyErr_Occurred()) SWIG_fail
;
4089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4105 static PyObject
*_wrap_Choice_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4106 PyObject
*resultobj
;
4107 wxChoice
*arg1
= (wxChoice
*) 0 ;
4109 wxString
*arg3
= 0 ;
4110 bool temp3
= false ;
4111 PyObject
* obj0
= 0 ;
4112 PyObject
* obj1
= 0 ;
4113 PyObject
* obj2
= 0 ;
4115 (char *) "self",(char *) "n",(char *) "string", NULL
4118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoice
, SWIG_POINTER_EXCEPTION
| 0);
4120 if (SWIG_arg_fail(1)) SWIG_fail
;
4122 arg2
= (int)(SWIG_As_int(obj1
));
4123 if (SWIG_arg_fail(2)) SWIG_fail
;
4126 arg3
= wxString_in_helper(obj2
);
4127 if (arg3
== NULL
) SWIG_fail
;
4131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4132 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
4134 wxPyEndAllowThreads(__tstate
);
4135 if (PyErr_Occurred()) SWIG_fail
;
4137 Py_INCREF(Py_None
); resultobj
= Py_None
;
4152 static PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4153 PyObject
*resultobj
;
4154 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
4155 wxVisualAttributes result
;
4156 PyObject
* obj0
= 0 ;
4158 (char *) "variant", NULL
4161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4164 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
4165 if (SWIG_arg_fail(1)) SWIG_fail
;
4169 if (!wxPyCheckForApp()) SWIG_fail
;
4170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4171 result
= wxChoice::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4173 wxPyEndAllowThreads(__tstate
);
4174 if (PyErr_Occurred()) SWIG_fail
;
4177 wxVisualAttributes
* resultptr
;
4178 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
4179 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4187 static PyObject
* Choice_swigregister(PyObject
*, PyObject
*args
) {
4189 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4190 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
4192 return Py_BuildValue((char *)"");
4194 static int _wrap_ComboBoxNameStr_set(PyObject
*) {
4195 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
4200 static PyObject
*_wrap_ComboBoxNameStr_get(void) {
4205 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
4207 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
4214 static PyObject
*_wrap_new_ComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4215 PyObject
*resultobj
;
4216 wxWindow
*arg1
= (wxWindow
*) 0 ;
4217 int arg2
= (int) -1 ;
4218 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4219 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4220 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4221 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4222 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4223 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4224 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
4225 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
4226 long arg7
= (long) 0 ;
4227 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4228 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4229 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
4230 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4232 bool temp3
= false ;
4235 bool temp6
= false ;
4236 bool temp9
= false ;
4237 PyObject
* obj0
= 0 ;
4238 PyObject
* obj1
= 0 ;
4239 PyObject
* obj2
= 0 ;
4240 PyObject
* obj3
= 0 ;
4241 PyObject
* obj4
= 0 ;
4242 PyObject
* obj5
= 0 ;
4243 PyObject
* obj6
= 0 ;
4244 PyObject
* obj7
= 0 ;
4245 PyObject
* obj8
= 0 ;
4247 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4252 if (SWIG_arg_fail(1)) SWIG_fail
;
4255 arg2
= (int)(SWIG_As_int(obj1
));
4256 if (SWIG_arg_fail(2)) SWIG_fail
;
4261 arg3
= wxString_in_helper(obj2
);
4262 if (arg3
== NULL
) SWIG_fail
;
4269 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4275 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4280 if (! PySequence_Check(obj5
)) {
4281 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4284 arg6
= new wxArrayString
;
4286 int i
, len
=PySequence_Length(obj5
);
4287 for (i
=0; i
<len
; i
++) {
4288 PyObject
* item
= PySequence_GetItem(obj5
, i
);
4290 PyObject
* str
= PyObject_Unicode(item
);
4292 PyObject
* str
= PyObject_Str(item
);
4294 if (PyErr_Occurred()) SWIG_fail
;
4295 arg6
->Add(Py2wxString(str
));
4303 arg7
= (long)(SWIG_As_long(obj6
));
4304 if (SWIG_arg_fail(7)) SWIG_fail
;
4309 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4310 if (SWIG_arg_fail(8)) SWIG_fail
;
4312 SWIG_null_ref("wxValidator");
4314 if (SWIG_arg_fail(8)) SWIG_fail
;
4319 arg9
= wxString_in_helper(obj8
);
4320 if (arg9
== NULL
) SWIG_fail
;
4325 if (!wxPyCheckForApp()) SWIG_fail
;
4326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4327 result
= (wxComboBox
*)new wxComboBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4329 wxPyEndAllowThreads(__tstate
);
4330 if (PyErr_Occurred()) SWIG_fail
;
4332 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
4338 if (temp6
) delete arg6
;
4351 if (temp6
) delete arg6
;
4361 static PyObject
*_wrap_new_PreComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4362 PyObject
*resultobj
;
4368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
4370 if (!wxPyCheckForApp()) SWIG_fail
;
4371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4372 result
= (wxComboBox
*)new wxComboBox();
4374 wxPyEndAllowThreads(__tstate
);
4375 if (PyErr_Occurred()) SWIG_fail
;
4377 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
4384 static PyObject
*_wrap_ComboBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4385 PyObject
*resultobj
;
4386 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4387 wxWindow
*arg2
= (wxWindow
*) 0 ;
4388 int arg3
= (int) -1 ;
4389 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4390 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4391 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4392 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4393 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4394 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4395 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
4396 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
4397 long arg8
= (long) 0 ;
4398 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
4399 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
4400 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
4401 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
4403 bool temp4
= false ;
4406 bool temp7
= false ;
4407 bool temp10
= false ;
4408 PyObject
* obj0
= 0 ;
4409 PyObject
* obj1
= 0 ;
4410 PyObject
* obj2
= 0 ;
4411 PyObject
* obj3
= 0 ;
4412 PyObject
* obj4
= 0 ;
4413 PyObject
* obj5
= 0 ;
4414 PyObject
* obj6
= 0 ;
4415 PyObject
* obj7
= 0 ;
4416 PyObject
* obj8
= 0 ;
4417 PyObject
* obj9
= 0 ;
4419 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
4423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4424 if (SWIG_arg_fail(1)) SWIG_fail
;
4425 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4426 if (SWIG_arg_fail(2)) SWIG_fail
;
4429 arg3
= (int)(SWIG_As_int(obj2
));
4430 if (SWIG_arg_fail(3)) SWIG_fail
;
4435 arg4
= wxString_in_helper(obj3
);
4436 if (arg4
== NULL
) SWIG_fail
;
4443 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4449 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4454 if (! PySequence_Check(obj6
)) {
4455 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4458 arg7
= new wxArrayString
;
4460 int i
, len
=PySequence_Length(obj6
);
4461 for (i
=0; i
<len
; i
++) {
4462 PyObject
* item
= PySequence_GetItem(obj6
, i
);
4464 PyObject
* str
= PyObject_Unicode(item
);
4466 PyObject
* str
= PyObject_Str(item
);
4468 if (PyErr_Occurred()) SWIG_fail
;
4469 arg7
->Add(Py2wxString(str
));
4477 arg8
= (long)(SWIG_As_long(obj7
));
4478 if (SWIG_arg_fail(8)) SWIG_fail
;
4483 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4484 if (SWIG_arg_fail(9)) SWIG_fail
;
4486 SWIG_null_ref("wxValidator");
4488 if (SWIG_arg_fail(9)) SWIG_fail
;
4493 arg10
= wxString_in_helper(obj9
);
4494 if (arg10
== NULL
) SWIG_fail
;
4499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4500 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxArrayString
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
4502 wxPyEndAllowThreads(__tstate
);
4503 if (PyErr_Occurred()) SWIG_fail
;
4506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4513 if (temp7
) delete arg7
;
4526 if (temp7
) delete arg7
;
4536 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4537 PyObject
*resultobj
;
4538 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4540 PyObject
* obj0
= 0 ;
4542 (char *) "self", NULL
4545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
4546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4547 if (SWIG_arg_fail(1)) SWIG_fail
;
4549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4550 result
= ((wxComboBox
const *)arg1
)->GetValue();
4552 wxPyEndAllowThreads(__tstate
);
4553 if (PyErr_Occurred()) SWIG_fail
;
4557 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4559 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4568 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4569 PyObject
*resultobj
;
4570 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4571 wxString
*arg2
= 0 ;
4572 bool temp2
= false ;
4573 PyObject
* obj0
= 0 ;
4574 PyObject
* obj1
= 0 ;
4576 (char *) "self",(char *) "value", NULL
4579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
4580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4581 if (SWIG_arg_fail(1)) SWIG_fail
;
4583 arg2
= wxString_in_helper(obj1
);
4584 if (arg2
== NULL
) SWIG_fail
;
4588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4589 (arg1
)->SetValue((wxString
const &)*arg2
);
4591 wxPyEndAllowThreads(__tstate
);
4592 if (PyErr_Occurred()) SWIG_fail
;
4594 Py_INCREF(Py_None
); resultobj
= Py_None
;
4609 static PyObject
*_wrap_ComboBox_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4610 PyObject
*resultobj
;
4611 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4612 PyObject
* obj0
= 0 ;
4614 (char *) "self", NULL
4617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
4618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4619 if (SWIG_arg_fail(1)) SWIG_fail
;
4621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4624 wxPyEndAllowThreads(__tstate
);
4625 if (PyErr_Occurred()) SWIG_fail
;
4627 Py_INCREF(Py_None
); resultobj
= Py_None
;
4634 static PyObject
*_wrap_ComboBox_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4635 PyObject
*resultobj
;
4636 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4637 PyObject
* obj0
= 0 ;
4639 (char *) "self", NULL
4642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
4643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4644 if (SWIG_arg_fail(1)) SWIG_fail
;
4646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4649 wxPyEndAllowThreads(__tstate
);
4650 if (PyErr_Occurred()) SWIG_fail
;
4652 Py_INCREF(Py_None
); resultobj
= Py_None
;
4659 static PyObject
*_wrap_ComboBox_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4660 PyObject
*resultobj
;
4661 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4662 PyObject
* obj0
= 0 ;
4664 (char *) "self", NULL
4667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
4668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4669 if (SWIG_arg_fail(1)) SWIG_fail
;
4671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4674 wxPyEndAllowThreads(__tstate
);
4675 if (PyErr_Occurred()) SWIG_fail
;
4677 Py_INCREF(Py_None
); resultobj
= Py_None
;
4684 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4685 PyObject
*resultobj
;
4686 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4688 PyObject
* obj0
= 0 ;
4689 PyObject
* obj1
= 0 ;
4691 (char *) "self",(char *) "pos", NULL
4694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4696 if (SWIG_arg_fail(1)) SWIG_fail
;
4698 arg2
= (long)(SWIG_As_long(obj1
));
4699 if (SWIG_arg_fail(2)) SWIG_fail
;
4702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4703 (arg1
)->SetInsertionPoint(arg2
);
4705 wxPyEndAllowThreads(__tstate
);
4706 if (PyErr_Occurred()) SWIG_fail
;
4708 Py_INCREF(Py_None
); resultobj
= Py_None
;
4715 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4716 PyObject
*resultobj
;
4717 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4719 PyObject
* obj0
= 0 ;
4721 (char *) "self", NULL
4724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
4725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4726 if (SWIG_arg_fail(1)) SWIG_fail
;
4728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4729 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
4731 wxPyEndAllowThreads(__tstate
);
4732 if (PyErr_Occurred()) SWIG_fail
;
4735 resultobj
= SWIG_From_long((long)(result
));
4743 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4744 PyObject
*resultobj
;
4745 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4747 PyObject
* obj0
= 0 ;
4749 (char *) "self", NULL
4752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
4753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4754 if (SWIG_arg_fail(1)) SWIG_fail
;
4756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4757 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
4759 wxPyEndAllowThreads(__tstate
);
4760 if (PyErr_Occurred()) SWIG_fail
;
4763 resultobj
= SWIG_From_long((long)(result
));
4771 static PyObject
*_wrap_ComboBox_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4772 PyObject
*resultobj
;
4773 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4776 wxString
*arg4
= 0 ;
4777 bool temp4
= false ;
4778 PyObject
* obj0
= 0 ;
4779 PyObject
* obj1
= 0 ;
4780 PyObject
* obj2
= 0 ;
4781 PyObject
* obj3
= 0 ;
4783 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
4786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4788 if (SWIG_arg_fail(1)) SWIG_fail
;
4790 arg2
= (long)(SWIG_As_long(obj1
));
4791 if (SWIG_arg_fail(2)) SWIG_fail
;
4794 arg3
= (long)(SWIG_As_long(obj2
));
4795 if (SWIG_arg_fail(3)) SWIG_fail
;
4798 arg4
= wxString_in_helper(obj3
);
4799 if (arg4
== NULL
) SWIG_fail
;
4803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4804 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
4806 wxPyEndAllowThreads(__tstate
);
4807 if (PyErr_Occurred()) SWIG_fail
;
4809 Py_INCREF(Py_None
); resultobj
= Py_None
;
4824 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4825 PyObject
*resultobj
;
4826 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4828 PyObject
* obj0
= 0 ;
4829 PyObject
* obj1
= 0 ;
4831 (char *) "self",(char *) "n", NULL
4834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
4835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4836 if (SWIG_arg_fail(1)) SWIG_fail
;
4838 arg2
= (int)(SWIG_As_int(obj1
));
4839 if (SWIG_arg_fail(2)) SWIG_fail
;
4842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4843 (arg1
)->SetSelection(arg2
);
4845 wxPyEndAllowThreads(__tstate
);
4846 if (PyErr_Occurred()) SWIG_fail
;
4848 Py_INCREF(Py_None
); resultobj
= Py_None
;
4855 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4856 PyObject
*resultobj
;
4857 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4860 PyObject
* obj0
= 0 ;
4861 PyObject
* obj1
= 0 ;
4862 PyObject
* obj2
= 0 ;
4864 (char *) "self",(char *) "from",(char *) "to", NULL
4867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4869 if (SWIG_arg_fail(1)) SWIG_fail
;
4871 arg2
= (long)(SWIG_As_long(obj1
));
4872 if (SWIG_arg_fail(2)) SWIG_fail
;
4875 arg3
= (long)(SWIG_As_long(obj2
));
4876 if (SWIG_arg_fail(3)) SWIG_fail
;
4879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4880 (arg1
)->SetSelection(arg2
,arg3
);
4882 wxPyEndAllowThreads(__tstate
);
4883 if (PyErr_Occurred()) SWIG_fail
;
4885 Py_INCREF(Py_None
); resultobj
= Py_None
;
4892 static PyObject
*_wrap_ComboBox_GetMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4893 PyObject
*resultobj
;
4894 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4895 long *arg2
= (long *) 0 ;
4896 long *arg3
= (long *) 0 ;
4901 PyObject
* obj0
= 0 ;
4903 (char *) "self", NULL
4906 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4907 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
4908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetMark",kwnames
,&obj0
)) goto fail
;
4909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4910 if (SWIG_arg_fail(1)) SWIG_fail
;
4912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4913 (arg1
)->GetSelection(arg2
,arg3
);
4915 wxPyEndAllowThreads(__tstate
);
4916 if (PyErr_Occurred()) SWIG_fail
;
4918 Py_INCREF(Py_None
); resultobj
= Py_None
;
4919 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4920 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
4921 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
4922 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
4929 static PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4930 PyObject
*resultobj
;
4931 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4932 wxString
*arg2
= 0 ;
4934 bool temp2
= false ;
4935 PyObject
* obj0
= 0 ;
4936 PyObject
* obj1
= 0 ;
4938 (char *) "self",(char *) "string", NULL
4941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
4942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4943 if (SWIG_arg_fail(1)) SWIG_fail
;
4945 arg2
= wxString_in_helper(obj1
);
4946 if (arg2
== NULL
) SWIG_fail
;
4950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4951 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
4953 wxPyEndAllowThreads(__tstate
);
4954 if (PyErr_Occurred()) SWIG_fail
;
4957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4973 static PyObject
*_wrap_ComboBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4974 PyObject
*resultobj
;
4975 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4977 wxString
*arg3
= 0 ;
4978 bool temp3
= false ;
4979 PyObject
* obj0
= 0 ;
4980 PyObject
* obj1
= 0 ;
4981 PyObject
* obj2
= 0 ;
4983 (char *) "self",(char *) "n",(char *) "string", NULL
4986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4988 if (SWIG_arg_fail(1)) SWIG_fail
;
4990 arg2
= (int)(SWIG_As_int(obj1
));
4991 if (SWIG_arg_fail(2)) SWIG_fail
;
4994 arg3
= wxString_in_helper(obj2
);
4995 if (arg3
== NULL
) SWIG_fail
;
4999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5000 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
5002 wxPyEndAllowThreads(__tstate
);
5003 if (PyErr_Occurred()) SWIG_fail
;
5005 Py_INCREF(Py_None
); resultobj
= Py_None
;
5020 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5021 PyObject
*resultobj
;
5022 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5024 PyObject
* obj0
= 0 ;
5025 PyObject
* obj1
= 0 ;
5027 (char *) "self",(char *) "editable", NULL
5030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
5031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5032 if (SWIG_arg_fail(1)) SWIG_fail
;
5034 arg2
= (bool)(SWIG_As_bool(obj1
));
5035 if (SWIG_arg_fail(2)) SWIG_fail
;
5038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5039 (arg1
)->SetEditable(arg2
);
5041 wxPyEndAllowThreads(__tstate
);
5042 if (PyErr_Occurred()) SWIG_fail
;
5044 Py_INCREF(Py_None
); resultobj
= Py_None
;
5051 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5052 PyObject
*resultobj
;
5053 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5054 PyObject
* obj0
= 0 ;
5056 (char *) "self", NULL
5059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
5060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5061 if (SWIG_arg_fail(1)) SWIG_fail
;
5063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5064 (arg1
)->SetInsertionPointEnd();
5066 wxPyEndAllowThreads(__tstate
);
5067 if (PyErr_Occurred()) SWIG_fail
;
5069 Py_INCREF(Py_None
); resultobj
= Py_None
;
5076 static PyObject
*_wrap_ComboBox_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5077 PyObject
*resultobj
;
5078 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5081 PyObject
* obj0
= 0 ;
5082 PyObject
* obj1
= 0 ;
5083 PyObject
* obj2
= 0 ;
5085 (char *) "self",(char *) "from",(char *) "to", NULL
5088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5090 if (SWIG_arg_fail(1)) SWIG_fail
;
5092 arg2
= (long)(SWIG_As_long(obj1
));
5093 if (SWIG_arg_fail(2)) SWIG_fail
;
5096 arg3
= (long)(SWIG_As_long(obj2
));
5097 if (SWIG_arg_fail(3)) SWIG_fail
;
5100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5101 (arg1
)->Remove(arg2
,arg3
);
5103 wxPyEndAllowThreads(__tstate
);
5104 if (PyErr_Occurred()) SWIG_fail
;
5106 Py_INCREF(Py_None
); resultobj
= Py_None
;
5113 static PyObject
*_wrap_ComboBox_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5114 PyObject
*resultobj
;
5115 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5117 PyObject
* obj0
= 0 ;
5119 (char *) "self", NULL
5122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_IsEditable",kwnames
,&obj0
)) goto fail
;
5123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5124 if (SWIG_arg_fail(1)) SWIG_fail
;
5126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5127 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
5129 wxPyEndAllowThreads(__tstate
);
5130 if (PyErr_Occurred()) SWIG_fail
;
5133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5141 static PyObject
*_wrap_ComboBox_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5142 PyObject
*resultobj
;
5143 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5144 PyObject
* obj0
= 0 ;
5146 (char *) "self", NULL
5149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Undo",kwnames
,&obj0
)) goto fail
;
5150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5151 if (SWIG_arg_fail(1)) SWIG_fail
;
5153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5156 wxPyEndAllowThreads(__tstate
);
5157 if (PyErr_Occurred()) SWIG_fail
;
5159 Py_INCREF(Py_None
); resultobj
= Py_None
;
5166 static PyObject
*_wrap_ComboBox_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5167 PyObject
*resultobj
;
5168 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5169 PyObject
* obj0
= 0 ;
5171 (char *) "self", NULL
5174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Redo",kwnames
,&obj0
)) goto fail
;
5175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5176 if (SWIG_arg_fail(1)) SWIG_fail
;
5178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5181 wxPyEndAllowThreads(__tstate
);
5182 if (PyErr_Occurred()) SWIG_fail
;
5184 Py_INCREF(Py_None
); resultobj
= Py_None
;
5191 static PyObject
*_wrap_ComboBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5192 PyObject
*resultobj
;
5193 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5194 PyObject
* obj0
= 0 ;
5196 (char *) "self", NULL
5199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SelectAll",kwnames
,&obj0
)) goto fail
;
5200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5201 if (SWIG_arg_fail(1)) SWIG_fail
;
5203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5204 (arg1
)->SelectAll();
5206 wxPyEndAllowThreads(__tstate
);
5207 if (PyErr_Occurred()) SWIG_fail
;
5209 Py_INCREF(Py_None
); resultobj
= Py_None
;
5216 static PyObject
*_wrap_ComboBox_CanCopy(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_CanCopy",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
)->CanCopy();
5232 wxPyEndAllowThreads(__tstate
);
5233 if (PyErr_Occurred()) SWIG_fail
;
5236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5244 static PyObject
*_wrap_ComboBox_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5245 PyObject
*resultobj
;
5246 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5248 PyObject
* obj0
= 0 ;
5250 (char *) "self", NULL
5253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanCut",kwnames
,&obj0
)) goto fail
;
5254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5255 if (SWIG_arg_fail(1)) SWIG_fail
;
5257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5258 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
5260 wxPyEndAllowThreads(__tstate
);
5261 if (PyErr_Occurred()) SWIG_fail
;
5264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5272 static PyObject
*_wrap_ComboBox_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5273 PyObject
*resultobj
;
5274 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5276 PyObject
* obj0
= 0 ;
5278 (char *) "self", NULL
5281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanPaste",kwnames
,&obj0
)) goto fail
;
5282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5283 if (SWIG_arg_fail(1)) SWIG_fail
;
5285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5286 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
5288 wxPyEndAllowThreads(__tstate
);
5289 if (PyErr_Occurred()) SWIG_fail
;
5292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5300 static PyObject
*_wrap_ComboBox_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5301 PyObject
*resultobj
;
5302 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5304 PyObject
* obj0
= 0 ;
5306 (char *) "self", NULL
5309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanUndo",kwnames
,&obj0
)) goto fail
;
5310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5311 if (SWIG_arg_fail(1)) SWIG_fail
;
5313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5314 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
5316 wxPyEndAllowThreads(__tstate
);
5317 if (PyErr_Occurred()) SWIG_fail
;
5320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5328 static PyObject
*_wrap_ComboBox_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5329 PyObject
*resultobj
;
5330 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5332 PyObject
* obj0
= 0 ;
5334 (char *) "self", NULL
5337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanRedo",kwnames
,&obj0
)) goto fail
;
5338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5339 if (SWIG_arg_fail(1)) SWIG_fail
;
5341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5342 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
5344 wxPyEndAllowThreads(__tstate
);
5345 if (PyErr_Occurred()) SWIG_fail
;
5348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5356 static PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5357 PyObject
*resultobj
;
5358 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5359 wxVisualAttributes result
;
5360 PyObject
* obj0
= 0 ;
5362 (char *) "variant", NULL
5365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5368 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
5369 if (SWIG_arg_fail(1)) SWIG_fail
;
5373 if (!wxPyCheckForApp()) SWIG_fail
;
5374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5375 result
= wxComboBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5377 wxPyEndAllowThreads(__tstate
);
5378 if (PyErr_Occurred()) SWIG_fail
;
5381 wxVisualAttributes
* resultptr
;
5382 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
5383 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5391 static PyObject
* ComboBox_swigregister(PyObject
*, PyObject
*args
) {
5393 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5394 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
5396 return Py_BuildValue((char *)"");
5398 static int _wrap_GaugeNameStr_set(PyObject
*) {
5399 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
5404 static PyObject
*_wrap_GaugeNameStr_get(void) {
5409 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
5411 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
5418 static PyObject
*_wrap_new_Gauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5419 PyObject
*resultobj
;
5420 wxWindow
*arg1
= (wxWindow
*) 0 ;
5421 int arg2
= (int) -1 ;
5422 int arg3
= (int) 100 ;
5423 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5424 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5425 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5426 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5427 long arg6
= (long) wxGA_HORIZONTAL
;
5428 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5429 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5430 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
5431 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5435 bool temp8
= false ;
5436 PyObject
* obj0
= 0 ;
5437 PyObject
* obj1
= 0 ;
5438 PyObject
* obj2
= 0 ;
5439 PyObject
* obj3
= 0 ;
5440 PyObject
* obj4
= 0 ;
5441 PyObject
* obj5
= 0 ;
5442 PyObject
* obj6
= 0 ;
5443 PyObject
* obj7
= 0 ;
5445 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5450 if (SWIG_arg_fail(1)) SWIG_fail
;
5453 arg2
= (int)(SWIG_As_int(obj1
));
5454 if (SWIG_arg_fail(2)) SWIG_fail
;
5459 arg3
= (int)(SWIG_As_int(obj2
));
5460 if (SWIG_arg_fail(3)) SWIG_fail
;
5466 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5472 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5477 arg6
= (long)(SWIG_As_long(obj5
));
5478 if (SWIG_arg_fail(6)) SWIG_fail
;
5483 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
5484 if (SWIG_arg_fail(7)) SWIG_fail
;
5486 SWIG_null_ref("wxValidator");
5488 if (SWIG_arg_fail(7)) SWIG_fail
;
5493 arg8
= wxString_in_helper(obj7
);
5494 if (arg8
== NULL
) SWIG_fail
;
5499 if (!wxPyCheckForApp()) SWIG_fail
;
5500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5501 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5503 wxPyEndAllowThreads(__tstate
);
5504 if (PyErr_Occurred()) SWIG_fail
;
5506 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
5521 static PyObject
*_wrap_new_PreGauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5522 PyObject
*resultobj
;
5528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
5530 if (!wxPyCheckForApp()) SWIG_fail
;
5531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5532 result
= (wxGauge
*)new wxGauge();
5534 wxPyEndAllowThreads(__tstate
);
5535 if (PyErr_Occurred()) SWIG_fail
;
5537 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
5544 static PyObject
*_wrap_Gauge_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5545 PyObject
*resultobj
;
5546 wxGauge
*arg1
= (wxGauge
*) 0 ;
5547 wxWindow
*arg2
= (wxWindow
*) 0 ;
5548 int arg3
= (int) -1 ;
5549 int arg4
= (int) 100 ;
5550 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5551 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5552 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5553 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5554 long arg7
= (long) wxGA_HORIZONTAL
;
5555 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5556 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5557 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
5558 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5562 bool temp9
= false ;
5563 PyObject
* obj0
= 0 ;
5564 PyObject
* obj1
= 0 ;
5565 PyObject
* obj2
= 0 ;
5566 PyObject
* obj3
= 0 ;
5567 PyObject
* obj4
= 0 ;
5568 PyObject
* obj5
= 0 ;
5569 PyObject
* obj6
= 0 ;
5570 PyObject
* obj7
= 0 ;
5571 PyObject
* obj8
= 0 ;
5573 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5578 if (SWIG_arg_fail(1)) SWIG_fail
;
5579 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5580 if (SWIG_arg_fail(2)) SWIG_fail
;
5583 arg3
= (int)(SWIG_As_int(obj2
));
5584 if (SWIG_arg_fail(3)) SWIG_fail
;
5589 arg4
= (int)(SWIG_As_int(obj3
));
5590 if (SWIG_arg_fail(4)) SWIG_fail
;
5596 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5602 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5607 arg7
= (long)(SWIG_As_long(obj6
));
5608 if (SWIG_arg_fail(7)) SWIG_fail
;
5613 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
5614 if (SWIG_arg_fail(8)) SWIG_fail
;
5616 SWIG_null_ref("wxValidator");
5618 if (SWIG_arg_fail(8)) SWIG_fail
;
5623 arg9
= wxString_in_helper(obj8
);
5624 if (arg9
== NULL
) SWIG_fail
;
5629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5630 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5632 wxPyEndAllowThreads(__tstate
);
5633 if (PyErr_Occurred()) SWIG_fail
;
5636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5652 static PyObject
*_wrap_Gauge_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5653 PyObject
*resultobj
;
5654 wxGauge
*arg1
= (wxGauge
*) 0 ;
5656 PyObject
* obj0
= 0 ;
5657 PyObject
* obj1
= 0 ;
5659 (char *) "self",(char *) "range", NULL
5662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
5663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5664 if (SWIG_arg_fail(1)) SWIG_fail
;
5666 arg2
= (int)(SWIG_As_int(obj1
));
5667 if (SWIG_arg_fail(2)) SWIG_fail
;
5670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5671 (arg1
)->SetRange(arg2
);
5673 wxPyEndAllowThreads(__tstate
);
5674 if (PyErr_Occurred()) SWIG_fail
;
5676 Py_INCREF(Py_None
); resultobj
= Py_None
;
5683 static PyObject
*_wrap_Gauge_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5684 PyObject
*resultobj
;
5685 wxGauge
*arg1
= (wxGauge
*) 0 ;
5687 PyObject
* obj0
= 0 ;
5689 (char *) "self", NULL
5692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
5693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5694 if (SWIG_arg_fail(1)) SWIG_fail
;
5696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5697 result
= (int)((wxGauge
const *)arg1
)->GetRange();
5699 wxPyEndAllowThreads(__tstate
);
5700 if (PyErr_Occurred()) SWIG_fail
;
5703 resultobj
= SWIG_From_int((int)(result
));
5711 static PyObject
*_wrap_Gauge_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5712 PyObject
*resultobj
;
5713 wxGauge
*arg1
= (wxGauge
*) 0 ;
5715 PyObject
* obj0
= 0 ;
5716 PyObject
* obj1
= 0 ;
5718 (char *) "self",(char *) "pos", NULL
5721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
5722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5723 if (SWIG_arg_fail(1)) SWIG_fail
;
5725 arg2
= (int)(SWIG_As_int(obj1
));
5726 if (SWIG_arg_fail(2)) SWIG_fail
;
5729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5730 (arg1
)->SetValue(arg2
);
5732 wxPyEndAllowThreads(__tstate
);
5733 if (PyErr_Occurred()) SWIG_fail
;
5735 Py_INCREF(Py_None
); resultobj
= Py_None
;
5742 static PyObject
*_wrap_Gauge_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5743 PyObject
*resultobj
;
5744 wxGauge
*arg1
= (wxGauge
*) 0 ;
5746 PyObject
* obj0
= 0 ;
5748 (char *) "self", NULL
5751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
5752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5753 if (SWIG_arg_fail(1)) SWIG_fail
;
5755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5756 result
= (int)((wxGauge
const *)arg1
)->GetValue();
5758 wxPyEndAllowThreads(__tstate
);
5759 if (PyErr_Occurred()) SWIG_fail
;
5762 resultobj
= SWIG_From_int((int)(result
));
5770 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5771 PyObject
*resultobj
;
5772 wxGauge
*arg1
= (wxGauge
*) 0 ;
5774 PyObject
* obj0
= 0 ;
5776 (char *) "self", NULL
5779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
5780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5781 if (SWIG_arg_fail(1)) SWIG_fail
;
5783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5784 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
5786 wxPyEndAllowThreads(__tstate
);
5787 if (PyErr_Occurred()) SWIG_fail
;
5790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5798 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5799 PyObject
*resultobj
;
5800 wxGauge
*arg1
= (wxGauge
*) 0 ;
5802 PyObject
* obj0
= 0 ;
5803 PyObject
* obj1
= 0 ;
5805 (char *) "self",(char *) "w", NULL
5808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5810 if (SWIG_arg_fail(1)) SWIG_fail
;
5812 arg2
= (int)(SWIG_As_int(obj1
));
5813 if (SWIG_arg_fail(2)) SWIG_fail
;
5816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5817 (arg1
)->SetShadowWidth(arg2
);
5819 wxPyEndAllowThreads(__tstate
);
5820 if (PyErr_Occurred()) SWIG_fail
;
5822 Py_INCREF(Py_None
); resultobj
= Py_None
;
5829 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5830 PyObject
*resultobj
;
5831 wxGauge
*arg1
= (wxGauge
*) 0 ;
5833 PyObject
* obj0
= 0 ;
5835 (char *) "self", NULL
5838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
5839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5840 if (SWIG_arg_fail(1)) SWIG_fail
;
5842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5843 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
5845 wxPyEndAllowThreads(__tstate
);
5846 if (PyErr_Occurred()) SWIG_fail
;
5849 resultobj
= SWIG_From_int((int)(result
));
5857 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5858 PyObject
*resultobj
;
5859 wxGauge
*arg1
= (wxGauge
*) 0 ;
5861 PyObject
* obj0
= 0 ;
5862 PyObject
* obj1
= 0 ;
5864 (char *) "self",(char *) "w", NULL
5867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
5868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5869 if (SWIG_arg_fail(1)) SWIG_fail
;
5871 arg2
= (int)(SWIG_As_int(obj1
));
5872 if (SWIG_arg_fail(2)) SWIG_fail
;
5875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5876 (arg1
)->SetBezelFace(arg2
);
5878 wxPyEndAllowThreads(__tstate
);
5879 if (PyErr_Occurred()) SWIG_fail
;
5881 Py_INCREF(Py_None
); resultobj
= Py_None
;
5888 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5889 PyObject
*resultobj
;
5890 wxGauge
*arg1
= (wxGauge
*) 0 ;
5892 PyObject
* obj0
= 0 ;
5894 (char *) "self", NULL
5897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
5898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5899 if (SWIG_arg_fail(1)) SWIG_fail
;
5901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5902 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
5904 wxPyEndAllowThreads(__tstate
);
5905 if (PyErr_Occurred()) SWIG_fail
;
5908 resultobj
= SWIG_From_int((int)(result
));
5916 static PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5917 PyObject
*resultobj
;
5918 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5919 wxVisualAttributes result
;
5920 PyObject
* obj0
= 0 ;
5922 (char *) "variant", NULL
5925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5928 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
5929 if (SWIG_arg_fail(1)) SWIG_fail
;
5933 if (!wxPyCheckForApp()) SWIG_fail
;
5934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5935 result
= wxGauge::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5937 wxPyEndAllowThreads(__tstate
);
5938 if (PyErr_Occurred()) SWIG_fail
;
5941 wxVisualAttributes
* resultptr
;
5942 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
5943 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5951 static PyObject
* Gauge_swigregister(PyObject
*, PyObject
*args
) {
5953 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5954 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
5956 return Py_BuildValue((char *)"");
5958 static int _wrap_StaticBitmapNameStr_set(PyObject
*) {
5959 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
5964 static PyObject
*_wrap_StaticBitmapNameStr_get(void) {
5969 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
5971 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
5978 static int _wrap_StaticBoxNameStr_set(PyObject
*) {
5979 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
5984 static PyObject
*_wrap_StaticBoxNameStr_get(void) {
5989 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
5991 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
5998 static int _wrap_StaticTextNameStr_set(PyObject
*) {
5999 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
6004 static PyObject
*_wrap_StaticTextNameStr_get(void) {
6009 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
6011 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
6018 static PyObject
*_wrap_new_StaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6019 PyObject
*resultobj
;
6020 wxWindow
*arg1
= (wxWindow
*) 0 ;
6021 int arg2
= (int) -1 ;
6022 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6023 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6024 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6025 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6026 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6027 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6028 long arg6
= (long) 0 ;
6029 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
6030 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6031 wxStaticBox
*result
;
6032 bool temp3
= false ;
6035 bool temp7
= false ;
6036 PyObject
* obj0
= 0 ;
6037 PyObject
* obj1
= 0 ;
6038 PyObject
* obj2
= 0 ;
6039 PyObject
* obj3
= 0 ;
6040 PyObject
* obj4
= 0 ;
6041 PyObject
* obj5
= 0 ;
6042 PyObject
* obj6
= 0 ;
6044 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6049 if (SWIG_arg_fail(1)) SWIG_fail
;
6052 arg2
= (int)(SWIG_As_int(obj1
));
6053 if (SWIG_arg_fail(2)) SWIG_fail
;
6058 arg3
= wxString_in_helper(obj2
);
6059 if (arg3
== NULL
) SWIG_fail
;
6066 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6072 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6077 arg6
= (long)(SWIG_As_long(obj5
));
6078 if (SWIG_arg_fail(6)) SWIG_fail
;
6083 arg7
= wxString_in_helper(obj6
);
6084 if (arg7
== NULL
) SWIG_fail
;
6089 if (!wxPyCheckForApp()) SWIG_fail
;
6090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6091 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6093 wxPyEndAllowThreads(__tstate
);
6094 if (PyErr_Occurred()) SWIG_fail
;
6096 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
6119 static PyObject
*_wrap_new_PreStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6120 PyObject
*resultobj
;
6121 wxStaticBox
*result
;
6126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
6128 if (!wxPyCheckForApp()) SWIG_fail
;
6129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6130 result
= (wxStaticBox
*)new wxStaticBox();
6132 wxPyEndAllowThreads(__tstate
);
6133 if (PyErr_Occurred()) SWIG_fail
;
6135 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
6142 static PyObject
*_wrap_StaticBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6143 PyObject
*resultobj
;
6144 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
6145 wxWindow
*arg2
= (wxWindow
*) 0 ;
6146 int arg3
= (int) -1 ;
6147 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6148 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6149 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6150 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6151 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6152 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6153 long arg7
= (long) 0 ;
6154 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
6155 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6157 bool temp4
= false ;
6160 bool temp8
= false ;
6161 PyObject
* obj0
= 0 ;
6162 PyObject
* obj1
= 0 ;
6163 PyObject
* obj2
= 0 ;
6164 PyObject
* obj3
= 0 ;
6165 PyObject
* obj4
= 0 ;
6166 PyObject
* obj5
= 0 ;
6167 PyObject
* obj6
= 0 ;
6168 PyObject
* obj7
= 0 ;
6170 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
6175 if (SWIG_arg_fail(1)) SWIG_fail
;
6176 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6177 if (SWIG_arg_fail(2)) SWIG_fail
;
6180 arg3
= (int)(SWIG_As_int(obj2
));
6181 if (SWIG_arg_fail(3)) SWIG_fail
;
6186 arg4
= wxString_in_helper(obj3
);
6187 if (arg4
== NULL
) SWIG_fail
;
6194 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6200 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6205 arg7
= (long)(SWIG_As_long(obj6
));
6206 if (SWIG_arg_fail(7)) SWIG_fail
;
6211 arg8
= wxString_in_helper(obj7
);
6212 if (arg8
== NULL
) SWIG_fail
;
6217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6218 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6220 wxPyEndAllowThreads(__tstate
);
6221 if (PyErr_Occurred()) SWIG_fail
;
6224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6248 static PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6249 PyObject
*resultobj
;
6250 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6251 wxVisualAttributes result
;
6252 PyObject
* obj0
= 0 ;
6254 (char *) "variant", NULL
6257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6260 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6261 if (SWIG_arg_fail(1)) SWIG_fail
;
6265 if (!wxPyCheckForApp()) SWIG_fail
;
6266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6267 result
= wxStaticBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6269 wxPyEndAllowThreads(__tstate
);
6270 if (PyErr_Occurred()) SWIG_fail
;
6273 wxVisualAttributes
* resultptr
;
6274 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6275 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6283 static PyObject
* StaticBox_swigregister(PyObject
*, PyObject
*args
) {
6285 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6286 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
6288 return Py_BuildValue((char *)"");
6290 static PyObject
*_wrap_new_StaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6291 PyObject
*resultobj
;
6292 wxWindow
*arg1
= (wxWindow
*) 0 ;
6293 int arg2
= (int) -1 ;
6294 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6295 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6296 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6297 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6298 long arg5
= (long) wxLI_HORIZONTAL
;
6299 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
6300 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6301 wxStaticLine
*result
;
6304 bool temp6
= false ;
6305 PyObject
* obj0
= 0 ;
6306 PyObject
* obj1
= 0 ;
6307 PyObject
* obj2
= 0 ;
6308 PyObject
* obj3
= 0 ;
6309 PyObject
* obj4
= 0 ;
6310 PyObject
* obj5
= 0 ;
6312 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6317 if (SWIG_arg_fail(1)) SWIG_fail
;
6320 arg2
= (int)(SWIG_As_int(obj1
));
6321 if (SWIG_arg_fail(2)) SWIG_fail
;
6327 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6333 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6338 arg5
= (long)(SWIG_As_long(obj4
));
6339 if (SWIG_arg_fail(5)) SWIG_fail
;
6344 arg6
= wxString_in_helper(obj5
);
6345 if (arg6
== NULL
) SWIG_fail
;
6350 if (!wxPyCheckForApp()) SWIG_fail
;
6351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6352 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6354 wxPyEndAllowThreads(__tstate
);
6355 if (PyErr_Occurred()) SWIG_fail
;
6357 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
6372 static PyObject
*_wrap_new_PreStaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6373 PyObject
*resultobj
;
6374 wxStaticLine
*result
;
6379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
6381 if (!wxPyCheckForApp()) SWIG_fail
;
6382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6383 result
= (wxStaticLine
*)new wxStaticLine();
6385 wxPyEndAllowThreads(__tstate
);
6386 if (PyErr_Occurred()) SWIG_fail
;
6388 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
6395 static PyObject
*_wrap_StaticLine_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6396 PyObject
*resultobj
;
6397 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
6398 wxWindow
*arg2
= (wxWindow
*) 0 ;
6399 int arg3
= (int) -1 ;
6400 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6401 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6402 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6403 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6404 long arg6
= (long) wxLI_HORIZONTAL
;
6405 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
6406 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6410 bool temp7
= false ;
6411 PyObject
* obj0
= 0 ;
6412 PyObject
* obj1
= 0 ;
6413 PyObject
* obj2
= 0 ;
6414 PyObject
* obj3
= 0 ;
6415 PyObject
* obj4
= 0 ;
6416 PyObject
* obj5
= 0 ;
6417 PyObject
* obj6
= 0 ;
6419 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_EXCEPTION
| 0);
6424 if (SWIG_arg_fail(1)) SWIG_fail
;
6425 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6426 if (SWIG_arg_fail(2)) SWIG_fail
;
6429 arg3
= (int)(SWIG_As_int(obj2
));
6430 if (SWIG_arg_fail(3)) SWIG_fail
;
6436 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6442 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6447 arg6
= (long)(SWIG_As_long(obj5
));
6448 if (SWIG_arg_fail(6)) SWIG_fail
;
6453 arg7
= wxString_in_helper(obj6
);
6454 if (arg7
== NULL
) SWIG_fail
;
6459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6460 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6462 wxPyEndAllowThreads(__tstate
);
6463 if (PyErr_Occurred()) SWIG_fail
;
6466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6482 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6483 PyObject
*resultobj
;
6484 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
6486 PyObject
* obj0
= 0 ;
6488 (char *) "self", NULL
6491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
6492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_EXCEPTION
| 0);
6493 if (SWIG_arg_fail(1)) SWIG_fail
;
6495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6496 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
6498 wxPyEndAllowThreads(__tstate
);
6499 if (PyErr_Occurred()) SWIG_fail
;
6502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6510 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6511 PyObject
*resultobj
;
6517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
6519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6520 result
= (int)wxStaticLine::GetDefaultSize();
6522 wxPyEndAllowThreads(__tstate
);
6523 if (PyErr_Occurred()) SWIG_fail
;
6526 resultobj
= SWIG_From_int((int)(result
));
6534 static PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6535 PyObject
*resultobj
;
6536 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6537 wxVisualAttributes result
;
6538 PyObject
* obj0
= 0 ;
6540 (char *) "variant", NULL
6543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6546 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6547 if (SWIG_arg_fail(1)) SWIG_fail
;
6551 if (!wxPyCheckForApp()) SWIG_fail
;
6552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6553 result
= wxStaticLine::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6555 wxPyEndAllowThreads(__tstate
);
6556 if (PyErr_Occurred()) SWIG_fail
;
6559 wxVisualAttributes
* resultptr
;
6560 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6561 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6569 static PyObject
* StaticLine_swigregister(PyObject
*, PyObject
*args
) {
6571 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6572 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
6574 return Py_BuildValue((char *)"");
6576 static PyObject
*_wrap_new_StaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6577 PyObject
*resultobj
;
6578 wxWindow
*arg1
= (wxWindow
*) 0 ;
6579 int arg2
= (int) -1 ;
6580 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6581 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6582 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6583 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6584 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6585 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6586 long arg6
= (long) 0 ;
6587 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
6588 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6589 wxStaticText
*result
;
6590 bool temp3
= false ;
6593 bool temp7
= false ;
6594 PyObject
* obj0
= 0 ;
6595 PyObject
* obj1
= 0 ;
6596 PyObject
* obj2
= 0 ;
6597 PyObject
* obj3
= 0 ;
6598 PyObject
* obj4
= 0 ;
6599 PyObject
* obj5
= 0 ;
6600 PyObject
* obj6
= 0 ;
6602 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6607 if (SWIG_arg_fail(1)) SWIG_fail
;
6610 arg2
= (int)(SWIG_As_int(obj1
));
6611 if (SWIG_arg_fail(2)) SWIG_fail
;
6616 arg3
= wxString_in_helper(obj2
);
6617 if (arg3
== NULL
) SWIG_fail
;
6624 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6630 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6635 arg6
= (long)(SWIG_As_long(obj5
));
6636 if (SWIG_arg_fail(6)) SWIG_fail
;
6641 arg7
= wxString_in_helper(obj6
);
6642 if (arg7
== NULL
) SWIG_fail
;
6647 if (!wxPyCheckForApp()) SWIG_fail
;
6648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6649 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6651 wxPyEndAllowThreads(__tstate
);
6652 if (PyErr_Occurred()) SWIG_fail
;
6654 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
6677 static PyObject
*_wrap_new_PreStaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6678 PyObject
*resultobj
;
6679 wxStaticText
*result
;
6684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
6686 if (!wxPyCheckForApp()) SWIG_fail
;
6687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6688 result
= (wxStaticText
*)new wxStaticText();
6690 wxPyEndAllowThreads(__tstate
);
6691 if (PyErr_Occurred()) SWIG_fail
;
6693 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
6700 static PyObject
*_wrap_StaticText_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6701 PyObject
*resultobj
;
6702 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
6703 wxWindow
*arg2
= (wxWindow
*) 0 ;
6704 int arg3
= (int) -1 ;
6705 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6706 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6707 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6708 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6709 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6710 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6711 long arg7
= (long) 0 ;
6712 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
6713 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6715 bool temp4
= false ;
6718 bool temp8
= false ;
6719 PyObject
* obj0
= 0 ;
6720 PyObject
* obj1
= 0 ;
6721 PyObject
* obj2
= 0 ;
6722 PyObject
* obj3
= 0 ;
6723 PyObject
* obj4
= 0 ;
6724 PyObject
* obj5
= 0 ;
6725 PyObject
* obj6
= 0 ;
6726 PyObject
* obj7
= 0 ;
6728 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticText
, SWIG_POINTER_EXCEPTION
| 0);
6733 if (SWIG_arg_fail(1)) SWIG_fail
;
6734 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6735 if (SWIG_arg_fail(2)) SWIG_fail
;
6738 arg3
= (int)(SWIG_As_int(obj2
));
6739 if (SWIG_arg_fail(3)) SWIG_fail
;
6744 arg4
= wxString_in_helper(obj3
);
6745 if (arg4
== NULL
) SWIG_fail
;
6752 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6758 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6763 arg7
= (long)(SWIG_As_long(obj6
));
6764 if (SWIG_arg_fail(7)) SWIG_fail
;
6769 arg8
= wxString_in_helper(obj7
);
6770 if (arg8
== NULL
) SWIG_fail
;
6775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6776 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6778 wxPyEndAllowThreads(__tstate
);
6779 if (PyErr_Occurred()) SWIG_fail
;
6782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6806 static PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6807 PyObject
*resultobj
;
6808 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6809 wxVisualAttributes result
;
6810 PyObject
* obj0
= 0 ;
6812 (char *) "variant", NULL
6815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6818 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6819 if (SWIG_arg_fail(1)) SWIG_fail
;
6823 if (!wxPyCheckForApp()) SWIG_fail
;
6824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6825 result
= wxStaticText::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6827 wxPyEndAllowThreads(__tstate
);
6828 if (PyErr_Occurred()) SWIG_fail
;
6831 wxVisualAttributes
* resultptr
;
6832 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6833 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6841 static PyObject
* StaticText_swigregister(PyObject
*, PyObject
*args
) {
6843 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6844 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
6846 return Py_BuildValue((char *)"");
6848 static PyObject
*_wrap_new_StaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6849 PyObject
*resultobj
;
6850 wxWindow
*arg1
= (wxWindow
*) 0 ;
6851 int arg2
= (int) -1 ;
6852 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
6853 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
6854 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6855 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6856 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6857 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6858 long arg6
= (long) 0 ;
6859 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
6860 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6861 wxStaticBitmap
*result
;
6864 bool temp7
= false ;
6865 PyObject
* obj0
= 0 ;
6866 PyObject
* obj1
= 0 ;
6867 PyObject
* obj2
= 0 ;
6868 PyObject
* obj3
= 0 ;
6869 PyObject
* obj4
= 0 ;
6870 PyObject
* obj5
= 0 ;
6871 PyObject
* obj6
= 0 ;
6873 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6878 if (SWIG_arg_fail(1)) SWIG_fail
;
6881 arg2
= (int)(SWIG_As_int(obj1
));
6882 if (SWIG_arg_fail(2)) SWIG_fail
;
6887 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6888 if (SWIG_arg_fail(3)) SWIG_fail
;
6890 SWIG_null_ref("wxBitmap");
6892 if (SWIG_arg_fail(3)) SWIG_fail
;
6898 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6904 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6909 arg6
= (long)(SWIG_As_long(obj5
));
6910 if (SWIG_arg_fail(6)) SWIG_fail
;
6915 arg7
= wxString_in_helper(obj6
);
6916 if (arg7
== NULL
) SWIG_fail
;
6921 if (!wxPyCheckForApp()) SWIG_fail
;
6922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6923 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6925 wxPyEndAllowThreads(__tstate
);
6926 if (PyErr_Occurred()) SWIG_fail
;
6928 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
6943 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6944 PyObject
*resultobj
;
6945 wxStaticBitmap
*result
;
6950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
6952 if (!wxPyCheckForApp()) SWIG_fail
;
6953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6954 result
= (wxStaticBitmap
*)new wxStaticBitmap();
6956 wxPyEndAllowThreads(__tstate
);
6957 if (PyErr_Occurred()) SWIG_fail
;
6959 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
6966 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6967 PyObject
*resultobj
;
6968 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
6969 wxWindow
*arg2
= (wxWindow
*) 0 ;
6970 int arg3
= (int) -1 ;
6971 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
6972 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
6973 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6974 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6975 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6976 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6977 long arg7
= (long) 0 ;
6978 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
6979 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6983 bool temp8
= false ;
6984 PyObject
* obj0
= 0 ;
6985 PyObject
* obj1
= 0 ;
6986 PyObject
* obj2
= 0 ;
6987 PyObject
* obj3
= 0 ;
6988 PyObject
* obj4
= 0 ;
6989 PyObject
* obj5
= 0 ;
6990 PyObject
* obj6
= 0 ;
6991 PyObject
* obj7
= 0 ;
6993 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6998 if (SWIG_arg_fail(1)) SWIG_fail
;
6999 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7000 if (SWIG_arg_fail(2)) SWIG_fail
;
7003 arg3
= (int)(SWIG_As_int(obj2
));
7004 if (SWIG_arg_fail(3)) SWIG_fail
;
7009 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7010 if (SWIG_arg_fail(4)) SWIG_fail
;
7012 SWIG_null_ref("wxBitmap");
7014 if (SWIG_arg_fail(4)) SWIG_fail
;
7020 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7026 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7031 arg7
= (long)(SWIG_As_long(obj6
));
7032 if (SWIG_arg_fail(7)) SWIG_fail
;
7037 arg8
= wxString_in_helper(obj7
);
7038 if (arg8
== NULL
) SWIG_fail
;
7043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7044 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7046 wxPyEndAllowThreads(__tstate
);
7047 if (PyErr_Occurred()) SWIG_fail
;
7050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7066 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7067 PyObject
*resultobj
;
7068 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
7070 PyObject
* obj0
= 0 ;
7072 (char *) "self", NULL
7075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
7076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7077 if (SWIG_arg_fail(1)) SWIG_fail
;
7079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7080 result
= (arg1
)->GetBitmap();
7082 wxPyEndAllowThreads(__tstate
);
7083 if (PyErr_Occurred()) SWIG_fail
;
7086 wxBitmap
* resultptr
;
7087 resultptr
= new wxBitmap((wxBitmap
&)(result
));
7088 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
7096 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7097 PyObject
*resultobj
;
7098 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
7099 wxBitmap
*arg2
= 0 ;
7100 PyObject
* obj0
= 0 ;
7101 PyObject
* obj1
= 0 ;
7103 (char *) "self",(char *) "bitmap", NULL
7106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
7107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7108 if (SWIG_arg_fail(1)) SWIG_fail
;
7110 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7111 if (SWIG_arg_fail(2)) SWIG_fail
;
7113 SWIG_null_ref("wxBitmap");
7115 if (SWIG_arg_fail(2)) SWIG_fail
;
7118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7119 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
7121 wxPyEndAllowThreads(__tstate
);
7122 if (PyErr_Occurred()) SWIG_fail
;
7124 Py_INCREF(Py_None
); resultobj
= Py_None
;
7131 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7132 PyObject
*resultobj
;
7133 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
7135 PyObject
* obj0
= 0 ;
7136 PyObject
* obj1
= 0 ;
7138 (char *) "self",(char *) "icon", NULL
7141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
7142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7143 if (SWIG_arg_fail(1)) SWIG_fail
;
7145 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
7146 if (SWIG_arg_fail(2)) SWIG_fail
;
7148 SWIG_null_ref("wxIcon");
7150 if (SWIG_arg_fail(2)) SWIG_fail
;
7153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7154 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
7156 wxPyEndAllowThreads(__tstate
);
7157 if (PyErr_Occurred()) SWIG_fail
;
7159 Py_INCREF(Py_None
); resultobj
= Py_None
;
7166 static PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7167 PyObject
*resultobj
;
7168 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7169 wxVisualAttributes result
;
7170 PyObject
* obj0
= 0 ;
7172 (char *) "variant", NULL
7175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
7178 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
7179 if (SWIG_arg_fail(1)) SWIG_fail
;
7183 if (!wxPyCheckForApp()) SWIG_fail
;
7184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7185 result
= wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
7187 wxPyEndAllowThreads(__tstate
);
7188 if (PyErr_Occurred()) SWIG_fail
;
7191 wxVisualAttributes
* resultptr
;
7192 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
7193 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
7201 static PyObject
* StaticBitmap_swigregister(PyObject
*, PyObject
*args
) {
7203 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7204 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
7206 return Py_BuildValue((char *)"");
7208 static int _wrap_ListBoxNameStr_set(PyObject
*) {
7209 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
7214 static PyObject
*_wrap_ListBoxNameStr_get(void) {
7219 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
7221 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
7228 static PyObject
*_wrap_new_ListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7229 PyObject
*resultobj
;
7230 wxWindow
*arg1
= (wxWindow
*) 0 ;
7231 int arg2
= (int) -1 ;
7232 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7233 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7234 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7235 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7236 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
7237 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
7238 long arg6
= (long) 0 ;
7239 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7240 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7241 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
7242 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7246 bool temp5
= false ;
7247 bool temp8
= false ;
7248 PyObject
* obj0
= 0 ;
7249 PyObject
* obj1
= 0 ;
7250 PyObject
* obj2
= 0 ;
7251 PyObject
* obj3
= 0 ;
7252 PyObject
* obj4
= 0 ;
7253 PyObject
* obj5
= 0 ;
7254 PyObject
* obj6
= 0 ;
7255 PyObject
* obj7
= 0 ;
7257 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7262 if (SWIG_arg_fail(1)) SWIG_fail
;
7265 arg2
= (int)(SWIG_As_int(obj1
));
7266 if (SWIG_arg_fail(2)) SWIG_fail
;
7272 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7278 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7283 if (! PySequence_Check(obj4
)) {
7284 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7287 arg5
= new wxArrayString
;
7289 int i
, len
=PySequence_Length(obj4
);
7290 for (i
=0; i
<len
; i
++) {
7291 PyObject
* item
= PySequence_GetItem(obj4
, i
);
7293 PyObject
* str
= PyObject_Unicode(item
);
7295 PyObject
* str
= PyObject_Str(item
);
7297 if (PyErr_Occurred()) SWIG_fail
;
7298 arg5
->Add(Py2wxString(str
));
7306 arg6
= (long)(SWIG_As_long(obj5
));
7307 if (SWIG_arg_fail(6)) SWIG_fail
;
7312 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
7313 if (SWIG_arg_fail(7)) SWIG_fail
;
7315 SWIG_null_ref("wxValidator");
7317 if (SWIG_arg_fail(7)) SWIG_fail
;
7322 arg8
= wxString_in_helper(obj7
);
7323 if (arg8
== NULL
) SWIG_fail
;
7328 if (!wxPyCheckForApp()) SWIG_fail
;
7329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7330 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7332 wxPyEndAllowThreads(__tstate
);
7333 if (PyErr_Occurred()) SWIG_fail
;
7335 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
7337 if (temp5
) delete arg5
;
7346 if (temp5
) delete arg5
;
7356 static PyObject
*_wrap_new_PreListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7357 PyObject
*resultobj
;
7363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
7365 if (!wxPyCheckForApp()) SWIG_fail
;
7366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7367 result
= (wxListBox
*)new wxListBox();
7369 wxPyEndAllowThreads(__tstate
);
7370 if (PyErr_Occurred()) SWIG_fail
;
7372 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
7379 static PyObject
*_wrap_ListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7380 PyObject
*resultobj
;
7381 wxListBox
*arg1
= (wxListBox
*) 0 ;
7382 wxWindow
*arg2
= (wxWindow
*) 0 ;
7383 int arg3
= (int) -1 ;
7384 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7385 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7386 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7387 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7388 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
7389 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
7390 long arg7
= (long) 0 ;
7391 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
7392 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
7393 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
7394 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
7398 bool temp6
= false ;
7399 bool temp9
= false ;
7400 PyObject
* obj0
= 0 ;
7401 PyObject
* obj1
= 0 ;
7402 PyObject
* obj2
= 0 ;
7403 PyObject
* obj3
= 0 ;
7404 PyObject
* obj4
= 0 ;
7405 PyObject
* obj5
= 0 ;
7406 PyObject
* obj6
= 0 ;
7407 PyObject
* obj7
= 0 ;
7408 PyObject
* obj8
= 0 ;
7410 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
7414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7415 if (SWIG_arg_fail(1)) SWIG_fail
;
7416 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7417 if (SWIG_arg_fail(2)) SWIG_fail
;
7420 arg3
= (int)(SWIG_As_int(obj2
));
7421 if (SWIG_arg_fail(3)) SWIG_fail
;
7427 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7433 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7438 if (! PySequence_Check(obj5
)) {
7439 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7442 arg6
= new wxArrayString
;
7444 int i
, len
=PySequence_Length(obj5
);
7445 for (i
=0; i
<len
; i
++) {
7446 PyObject
* item
= PySequence_GetItem(obj5
, i
);
7448 PyObject
* str
= PyObject_Unicode(item
);
7450 PyObject
* str
= PyObject_Str(item
);
7452 if (PyErr_Occurred()) SWIG_fail
;
7453 arg6
->Add(Py2wxString(str
));
7461 arg7
= (long)(SWIG_As_long(obj6
));
7462 if (SWIG_arg_fail(7)) SWIG_fail
;
7467 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
7468 if (SWIG_arg_fail(8)) SWIG_fail
;
7470 SWIG_null_ref("wxValidator");
7472 if (SWIG_arg_fail(8)) SWIG_fail
;
7477 arg9
= wxString_in_helper(obj8
);
7478 if (arg9
== NULL
) SWIG_fail
;
7483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7484 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7486 wxPyEndAllowThreads(__tstate
);
7487 if (PyErr_Occurred()) SWIG_fail
;
7490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7493 if (temp6
) delete arg6
;
7502 if (temp6
) delete arg6
;
7512 static PyObject
*_wrap_ListBox_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7513 PyObject
*resultobj
;
7514 wxListBox
*arg1
= (wxListBox
*) 0 ;
7515 wxString
*arg2
= 0 ;
7517 PyObject
*arg4
= (PyObject
*) NULL
;
7518 bool temp2
= false ;
7519 PyObject
* obj0
= 0 ;
7520 PyObject
* obj1
= 0 ;
7521 PyObject
* obj2
= 0 ;
7522 PyObject
* obj3
= 0 ;
7524 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
7527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7529 if (SWIG_arg_fail(1)) SWIG_fail
;
7531 arg2
= wxString_in_helper(obj1
);
7532 if (arg2
== NULL
) SWIG_fail
;
7536 arg3
= (int)(SWIG_As_int(obj2
));
7537 if (SWIG_arg_fail(3)) SWIG_fail
;
7543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7544 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7546 wxPyEndAllowThreads(__tstate
);
7547 if (PyErr_Occurred()) SWIG_fail
;
7549 Py_INCREF(Py_None
); resultobj
= Py_None
;
7564 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7565 PyObject
*resultobj
;
7566 wxListBox
*arg1
= (wxListBox
*) 0 ;
7567 wxArrayString
*arg2
= 0 ;
7569 bool temp2
= false ;
7570 PyObject
* obj0
= 0 ;
7571 PyObject
* obj1
= 0 ;
7572 PyObject
* obj2
= 0 ;
7574 (char *) "self",(char *) "items",(char *) "pos", NULL
7577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7579 if (SWIG_arg_fail(1)) SWIG_fail
;
7581 if (! PySequence_Check(obj1
)) {
7582 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7585 arg2
= new wxArrayString
;
7587 int i
, len
=PySequence_Length(obj1
);
7588 for (i
=0; i
<len
; i
++) {
7589 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7591 PyObject
* str
= PyObject_Unicode(item
);
7593 PyObject
* str
= PyObject_Str(item
);
7595 if (PyErr_Occurred()) SWIG_fail
;
7596 arg2
->Add(Py2wxString(str
));
7602 arg3
= (int)(SWIG_As_int(obj2
));
7603 if (SWIG_arg_fail(3)) SWIG_fail
;
7606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7607 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
7609 wxPyEndAllowThreads(__tstate
);
7610 if (PyErr_Occurred()) SWIG_fail
;
7612 Py_INCREF(Py_None
); resultobj
= Py_None
;
7614 if (temp2
) delete arg2
;
7619 if (temp2
) delete arg2
;
7625 static PyObject
*_wrap_ListBox_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7626 PyObject
*resultobj
;
7627 wxListBox
*arg1
= (wxListBox
*) 0 ;
7628 wxArrayString
*arg2
= 0 ;
7629 bool temp2
= false ;
7630 PyObject
* obj0
= 0 ;
7631 PyObject
* obj1
= 0 ;
7633 (char *) "self",(char *) "items", NULL
7636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
7637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7638 if (SWIG_arg_fail(1)) SWIG_fail
;
7640 if (! PySequence_Check(obj1
)) {
7641 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7644 arg2
= new wxArrayString
;
7646 int i
, len
=PySequence_Length(obj1
);
7647 for (i
=0; i
<len
; i
++) {
7648 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7650 PyObject
* str
= PyObject_Unicode(item
);
7652 PyObject
* str
= PyObject_Str(item
);
7654 if (PyErr_Occurred()) SWIG_fail
;
7655 arg2
->Add(Py2wxString(str
));
7661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7662 (arg1
)->Set((wxArrayString
const &)*arg2
);
7664 wxPyEndAllowThreads(__tstate
);
7665 if (PyErr_Occurred()) SWIG_fail
;
7667 Py_INCREF(Py_None
); resultobj
= Py_None
;
7669 if (temp2
) delete arg2
;
7674 if (temp2
) delete arg2
;
7680 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7681 PyObject
*resultobj
;
7682 wxListBox
*arg1
= (wxListBox
*) 0 ;
7685 PyObject
* obj0
= 0 ;
7686 PyObject
* obj1
= 0 ;
7688 (char *) "self",(char *) "n", NULL
7691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
7692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7693 if (SWIG_arg_fail(1)) SWIG_fail
;
7695 arg2
= (int)(SWIG_As_int(obj1
));
7696 if (SWIG_arg_fail(2)) SWIG_fail
;
7699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7700 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
7702 wxPyEndAllowThreads(__tstate
);
7703 if (PyErr_Occurred()) SWIG_fail
;
7706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7714 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7715 PyObject
*resultobj
;
7716 wxListBox
*arg1
= (wxListBox
*) 0 ;
7718 bool arg3
= (bool) true ;
7719 PyObject
* obj0
= 0 ;
7720 PyObject
* obj1
= 0 ;
7721 PyObject
* obj2
= 0 ;
7723 (char *) "self",(char *) "n",(char *) "select", NULL
7726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7728 if (SWIG_arg_fail(1)) SWIG_fail
;
7730 arg2
= (int)(SWIG_As_int(obj1
));
7731 if (SWIG_arg_fail(2)) SWIG_fail
;
7735 arg3
= (bool)(SWIG_As_bool(obj2
));
7736 if (SWIG_arg_fail(3)) SWIG_fail
;
7740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7741 (arg1
)->SetSelection(arg2
,arg3
);
7743 wxPyEndAllowThreads(__tstate
);
7744 if (PyErr_Occurred()) SWIG_fail
;
7746 Py_INCREF(Py_None
); resultobj
= Py_None
;
7753 static PyObject
*_wrap_ListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7754 PyObject
*resultobj
;
7755 wxListBox
*arg1
= (wxListBox
*) 0 ;
7757 PyObject
* obj0
= 0 ;
7758 PyObject
* obj1
= 0 ;
7760 (char *) "self",(char *) "n", NULL
7763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
7764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7765 if (SWIG_arg_fail(1)) SWIG_fail
;
7767 arg2
= (int)(SWIG_As_int(obj1
));
7768 if (SWIG_arg_fail(2)) SWIG_fail
;
7771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7772 (arg1
)->Select(arg2
);
7774 wxPyEndAllowThreads(__tstate
);
7775 if (PyErr_Occurred()) SWIG_fail
;
7777 Py_INCREF(Py_None
); resultobj
= Py_None
;
7784 static PyObject
*_wrap_ListBox_Deselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7785 PyObject
*resultobj
;
7786 wxListBox
*arg1
= (wxListBox
*) 0 ;
7788 PyObject
* obj0
= 0 ;
7789 PyObject
* obj1
= 0 ;
7791 (char *) "self",(char *) "n", NULL
7794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
7795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7796 if (SWIG_arg_fail(1)) SWIG_fail
;
7798 arg2
= (int)(SWIG_As_int(obj1
));
7799 if (SWIG_arg_fail(2)) SWIG_fail
;
7802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7803 (arg1
)->Deselect(arg2
);
7805 wxPyEndAllowThreads(__tstate
);
7806 if (PyErr_Occurred()) SWIG_fail
;
7808 Py_INCREF(Py_None
); resultobj
= Py_None
;
7815 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7816 PyObject
*resultobj
;
7817 wxListBox
*arg1
= (wxListBox
*) 0 ;
7818 int arg2
= (int) -1 ;
7819 PyObject
* obj0
= 0 ;
7820 PyObject
* obj1
= 0 ;
7822 (char *) "self",(char *) "itemToLeaveSelected", NULL
7825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
7826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7827 if (SWIG_arg_fail(1)) SWIG_fail
;
7830 arg2
= (int)(SWIG_As_int(obj1
));
7831 if (SWIG_arg_fail(2)) SWIG_fail
;
7835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7836 (arg1
)->DeselectAll(arg2
);
7838 wxPyEndAllowThreads(__tstate
);
7839 if (PyErr_Occurred()) SWIG_fail
;
7841 Py_INCREF(Py_None
); resultobj
= Py_None
;
7848 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7849 PyObject
*resultobj
;
7850 wxListBox
*arg1
= (wxListBox
*) 0 ;
7851 wxString
*arg2
= 0 ;
7852 bool arg3
= (bool) true ;
7854 bool temp2
= false ;
7855 PyObject
* obj0
= 0 ;
7856 PyObject
* obj1
= 0 ;
7857 PyObject
* obj2
= 0 ;
7859 (char *) "self",(char *) "s",(char *) "select", NULL
7862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7864 if (SWIG_arg_fail(1)) SWIG_fail
;
7866 arg2
= wxString_in_helper(obj1
);
7867 if (arg2
== NULL
) SWIG_fail
;
7872 arg3
= (bool)(SWIG_As_bool(obj2
));
7873 if (SWIG_arg_fail(3)) SWIG_fail
;
7877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7878 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
7880 wxPyEndAllowThreads(__tstate
);
7881 if (PyErr_Occurred()) SWIG_fail
;
7884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7900 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7901 PyObject
*resultobj
;
7902 wxListBox
*arg1
= (wxListBox
*) 0 ;
7904 PyObject
* obj0
= 0 ;
7906 (char *) "self", NULL
7909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
7910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7911 if (SWIG_arg_fail(1)) SWIG_fail
;
7913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7914 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
7916 wxPyEndAllowThreads(__tstate
);
7917 if (PyErr_Occurred()) SWIG_fail
;
7926 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7927 PyObject
*resultobj
;
7928 wxListBox
*arg1
= (wxListBox
*) 0 ;
7930 PyObject
* obj0
= 0 ;
7931 PyObject
* obj1
= 0 ;
7933 (char *) "self",(char *) "n", NULL
7936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
7937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7938 if (SWIG_arg_fail(1)) SWIG_fail
;
7940 arg2
= (int)(SWIG_As_int(obj1
));
7941 if (SWIG_arg_fail(2)) SWIG_fail
;
7944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7945 (arg1
)->SetFirstItem(arg2
);
7947 wxPyEndAllowThreads(__tstate
);
7948 if (PyErr_Occurred()) SWIG_fail
;
7950 Py_INCREF(Py_None
); resultobj
= Py_None
;
7957 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7958 PyObject
*resultobj
;
7959 wxListBox
*arg1
= (wxListBox
*) 0 ;
7960 wxString
*arg2
= 0 ;
7961 bool temp2
= false ;
7962 PyObject
* obj0
= 0 ;
7963 PyObject
* obj1
= 0 ;
7965 (char *) "self",(char *) "s", NULL
7968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
7969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7970 if (SWIG_arg_fail(1)) SWIG_fail
;
7972 arg2
= wxString_in_helper(obj1
);
7973 if (arg2
== NULL
) SWIG_fail
;
7977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7978 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
7980 wxPyEndAllowThreads(__tstate
);
7981 if (PyErr_Occurred()) SWIG_fail
;
7983 Py_INCREF(Py_None
); resultobj
= Py_None
;
7998 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7999 PyObject
*resultobj
;
8000 wxListBox
*arg1
= (wxListBox
*) 0 ;
8002 PyObject
* obj0
= 0 ;
8003 PyObject
* obj1
= 0 ;
8005 (char *) "self",(char *) "n", NULL
8008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
8009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8010 if (SWIG_arg_fail(1)) SWIG_fail
;
8012 arg2
= (int)(SWIG_As_int(obj1
));
8013 if (SWIG_arg_fail(2)) SWIG_fail
;
8016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8017 (arg1
)->EnsureVisible(arg2
);
8019 wxPyEndAllowThreads(__tstate
);
8020 if (PyErr_Occurred()) SWIG_fail
;
8022 Py_INCREF(Py_None
); resultobj
= Py_None
;
8029 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8030 PyObject
*resultobj
;
8031 wxListBox
*arg1
= (wxListBox
*) 0 ;
8032 wxString
*arg2
= 0 ;
8033 bool temp2
= false ;
8034 PyObject
* obj0
= 0 ;
8035 PyObject
* obj1
= 0 ;
8037 (char *) "self",(char *) "s", NULL
8040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
8041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8042 if (SWIG_arg_fail(1)) SWIG_fail
;
8044 arg2
= wxString_in_helper(obj1
);
8045 if (arg2
== NULL
) SWIG_fail
;
8049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8050 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
8052 wxPyEndAllowThreads(__tstate
);
8053 if (PyErr_Occurred()) SWIG_fail
;
8055 Py_INCREF(Py_None
); resultobj
= Py_None
;
8070 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8071 PyObject
*resultobj
;
8072 wxListBox
*arg1
= (wxListBox
*) 0 ;
8074 PyObject
* obj0
= 0 ;
8076 (char *) "self", NULL
8079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
8080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8081 if (SWIG_arg_fail(1)) SWIG_fail
;
8083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8084 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
8086 wxPyEndAllowThreads(__tstate
);
8087 if (PyErr_Occurred()) SWIG_fail
;
8090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8098 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8099 PyObject
*resultobj
;
8100 wxListBox
*arg1
= (wxListBox
*) 0 ;
8102 wxColour
*arg3
= 0 ;
8104 PyObject
* obj0
= 0 ;
8105 PyObject
* obj1
= 0 ;
8106 PyObject
* obj2
= 0 ;
8108 (char *) "self",(char *) "item",(char *) "c", NULL
8111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8113 if (SWIG_arg_fail(1)) SWIG_fail
;
8115 arg2
= (int)(SWIG_As_int(obj1
));
8116 if (SWIG_arg_fail(2)) SWIG_fail
;
8120 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8124 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
8126 wxPyEndAllowThreads(__tstate
);
8127 if (PyErr_Occurred()) SWIG_fail
;
8129 Py_INCREF(Py_None
); resultobj
= Py_None
;
8136 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8137 PyObject
*resultobj
;
8138 wxListBox
*arg1
= (wxListBox
*) 0 ;
8140 wxColour
*arg3
= 0 ;
8142 PyObject
* obj0
= 0 ;
8143 PyObject
* obj1
= 0 ;
8144 PyObject
* obj2
= 0 ;
8146 (char *) "self",(char *) "item",(char *) "c", NULL
8149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8151 if (SWIG_arg_fail(1)) SWIG_fail
;
8153 arg2
= (int)(SWIG_As_int(obj1
));
8154 if (SWIG_arg_fail(2)) SWIG_fail
;
8158 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8162 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
8164 wxPyEndAllowThreads(__tstate
);
8165 if (PyErr_Occurred()) SWIG_fail
;
8167 Py_INCREF(Py_None
); resultobj
= Py_None
;
8174 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8175 PyObject
*resultobj
;
8176 wxListBox
*arg1
= (wxListBox
*) 0 ;
8179 PyObject
* obj0
= 0 ;
8180 PyObject
* obj1
= 0 ;
8181 PyObject
* obj2
= 0 ;
8183 (char *) "self",(char *) "item",(char *) "f", NULL
8186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8188 if (SWIG_arg_fail(1)) SWIG_fail
;
8190 arg2
= (int)(SWIG_As_int(obj1
));
8191 if (SWIG_arg_fail(2)) SWIG_fail
;
8194 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8195 if (SWIG_arg_fail(3)) SWIG_fail
;
8197 SWIG_null_ref("wxFont");
8199 if (SWIG_arg_fail(3)) SWIG_fail
;
8202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8203 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
8205 wxPyEndAllowThreads(__tstate
);
8206 if (PyErr_Occurred()) SWIG_fail
;
8208 Py_INCREF(Py_None
); resultobj
= Py_None
;
8215 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8216 PyObject
*resultobj
;
8217 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8218 wxVisualAttributes result
;
8219 PyObject
* obj0
= 0 ;
8221 (char *) "variant", NULL
8224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
8227 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
8228 if (SWIG_arg_fail(1)) SWIG_fail
;
8232 if (!wxPyCheckForApp()) SWIG_fail
;
8233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8234 result
= wxListBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
8236 wxPyEndAllowThreads(__tstate
);
8237 if (PyErr_Occurred()) SWIG_fail
;
8240 wxVisualAttributes
* resultptr
;
8241 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
8242 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
8250 static PyObject
* ListBox_swigregister(PyObject
*, PyObject
*args
) {
8252 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8253 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
8255 return Py_BuildValue((char *)"");
8257 static PyObject
*_wrap_new_CheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8258 PyObject
*resultobj
;
8259 wxWindow
*arg1
= (wxWindow
*) 0 ;
8260 int arg2
= (int) -1 ;
8261 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8262 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8263 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8264 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8265 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8266 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8267 long arg6
= (long) 0 ;
8268 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8269 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8270 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8271 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8272 wxCheckListBox
*result
;
8275 bool temp5
= false ;
8276 bool temp8
= false ;
8277 PyObject
* obj0
= 0 ;
8278 PyObject
* obj1
= 0 ;
8279 PyObject
* obj2
= 0 ;
8280 PyObject
* obj3
= 0 ;
8281 PyObject
* obj4
= 0 ;
8282 PyObject
* obj5
= 0 ;
8283 PyObject
* obj6
= 0 ;
8284 PyObject
* obj7
= 0 ;
8286 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
8290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8291 if (SWIG_arg_fail(1)) SWIG_fail
;
8294 arg2
= (int)(SWIG_As_int(obj1
));
8295 if (SWIG_arg_fail(2)) SWIG_fail
;
8301 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8307 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8312 if (! PySequence_Check(obj4
)) {
8313 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8316 arg5
= new wxArrayString
;
8318 int i
, len
=PySequence_Length(obj4
);
8319 for (i
=0; i
<len
; i
++) {
8320 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8322 PyObject
* str
= PyObject_Unicode(item
);
8324 PyObject
* str
= PyObject_Str(item
);
8326 if (PyErr_Occurred()) SWIG_fail
;
8327 arg5
->Add(Py2wxString(str
));
8335 arg6
= (long)(SWIG_As_long(obj5
));
8336 if (SWIG_arg_fail(6)) SWIG_fail
;
8341 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
8342 if (SWIG_arg_fail(7)) SWIG_fail
;
8344 SWIG_null_ref("wxValidator");
8346 if (SWIG_arg_fail(7)) SWIG_fail
;
8351 arg8
= wxString_in_helper(obj7
);
8352 if (arg8
== NULL
) SWIG_fail
;
8357 if (!wxPyCheckForApp()) SWIG_fail
;
8358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8359 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8361 wxPyEndAllowThreads(__tstate
);
8362 if (PyErr_Occurred()) SWIG_fail
;
8364 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
8366 if (temp5
) delete arg5
;
8375 if (temp5
) delete arg5
;
8385 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8386 PyObject
*resultobj
;
8387 wxCheckListBox
*result
;
8392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
8394 if (!wxPyCheckForApp()) SWIG_fail
;
8395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8396 result
= (wxCheckListBox
*)new wxCheckListBox();
8398 wxPyEndAllowThreads(__tstate
);
8399 if (PyErr_Occurred()) SWIG_fail
;
8401 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
8408 static PyObject
*_wrap_CheckListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8409 PyObject
*resultobj
;
8410 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8411 wxWindow
*arg2
= (wxWindow
*) 0 ;
8412 int arg3
= (int) -1 ;
8413 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8414 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8415 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8416 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8417 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8418 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8419 long arg7
= (long) 0 ;
8420 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8421 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8422 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8423 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8427 bool temp6
= false ;
8428 bool temp9
= false ;
8429 PyObject
* obj0
= 0 ;
8430 PyObject
* obj1
= 0 ;
8431 PyObject
* obj2
= 0 ;
8432 PyObject
* obj3
= 0 ;
8433 PyObject
* obj4
= 0 ;
8434 PyObject
* obj5
= 0 ;
8435 PyObject
* obj6
= 0 ;
8436 PyObject
* obj7
= 0 ;
8437 PyObject
* obj8
= 0 ;
8439 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
8443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8444 if (SWIG_arg_fail(1)) SWIG_fail
;
8445 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8446 if (SWIG_arg_fail(2)) SWIG_fail
;
8449 arg3
= (int)(SWIG_As_int(obj2
));
8450 if (SWIG_arg_fail(3)) SWIG_fail
;
8456 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8462 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8467 if (! PySequence_Check(obj5
)) {
8468 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8471 arg6
= new wxArrayString
;
8473 int i
, len
=PySequence_Length(obj5
);
8474 for (i
=0; i
<len
; i
++) {
8475 PyObject
* item
= PySequence_GetItem(obj5
, i
);
8477 PyObject
* str
= PyObject_Unicode(item
);
8479 PyObject
* str
= PyObject_Str(item
);
8481 if (PyErr_Occurred()) SWIG_fail
;
8482 arg6
->Add(Py2wxString(str
));
8490 arg7
= (long)(SWIG_As_long(obj6
));
8491 if (SWIG_arg_fail(7)) SWIG_fail
;
8496 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
8497 if (SWIG_arg_fail(8)) SWIG_fail
;
8499 SWIG_null_ref("wxValidator");
8501 if (SWIG_arg_fail(8)) SWIG_fail
;
8506 arg9
= wxString_in_helper(obj8
);
8507 if (arg9
== NULL
) SWIG_fail
;
8512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8513 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
8515 wxPyEndAllowThreads(__tstate
);
8516 if (PyErr_Occurred()) SWIG_fail
;
8519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8522 if (temp6
) delete arg6
;
8531 if (temp6
) delete arg6
;
8541 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8542 PyObject
*resultobj
;
8543 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8546 PyObject
* obj0
= 0 ;
8547 PyObject
* obj1
= 0 ;
8549 (char *) "self",(char *) "index", NULL
8552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
8553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8554 if (SWIG_arg_fail(1)) SWIG_fail
;
8556 arg2
= (int)(SWIG_As_int(obj1
));
8557 if (SWIG_arg_fail(2)) SWIG_fail
;
8560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8561 result
= (bool)(arg1
)->IsChecked(arg2
);
8563 wxPyEndAllowThreads(__tstate
);
8564 if (PyErr_Occurred()) SWIG_fail
;
8567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8575 static PyObject
*_wrap_CheckListBox_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8576 PyObject
*resultobj
;
8577 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8579 int arg3
= (int) true ;
8580 PyObject
* obj0
= 0 ;
8581 PyObject
* obj1
= 0 ;
8582 PyObject
* obj2
= 0 ;
8584 (char *) "self",(char *) "index",(char *) "check", NULL
8587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8589 if (SWIG_arg_fail(1)) SWIG_fail
;
8591 arg2
= (int)(SWIG_As_int(obj1
));
8592 if (SWIG_arg_fail(2)) SWIG_fail
;
8596 arg3
= (int)(SWIG_As_int(obj2
));
8597 if (SWIG_arg_fail(3)) SWIG_fail
;
8601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8602 (arg1
)->Check(arg2
,arg3
);
8604 wxPyEndAllowThreads(__tstate
);
8605 if (PyErr_Occurred()) SWIG_fail
;
8607 Py_INCREF(Py_None
); resultobj
= Py_None
;
8614 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8615 PyObject
*resultobj
;
8616 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8618 PyObject
* obj0
= 0 ;
8620 (char *) "self", NULL
8623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
8624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8625 if (SWIG_arg_fail(1)) SWIG_fail
;
8627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8628 result
= (int)(arg1
)->GetItemHeight();
8630 wxPyEndAllowThreads(__tstate
);
8631 if (PyErr_Occurred()) SWIG_fail
;
8634 resultobj
= SWIG_From_int((int)(result
));
8642 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8643 PyObject
*resultobj
;
8644 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8648 PyObject
* obj0
= 0 ;
8649 PyObject
* obj1
= 0 ;
8651 (char *) "self",(char *) "pt", NULL
8654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8656 if (SWIG_arg_fail(1)) SWIG_fail
;
8659 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8663 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
8665 wxPyEndAllowThreads(__tstate
);
8666 if (PyErr_Occurred()) SWIG_fail
;
8669 resultobj
= SWIG_From_int((int)(result
));
8677 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8678 PyObject
*resultobj
;
8679 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8683 PyObject
* obj0
= 0 ;
8684 PyObject
* obj1
= 0 ;
8685 PyObject
* obj2
= 0 ;
8687 (char *) "self",(char *) "x",(char *) "y", NULL
8690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8692 if (SWIG_arg_fail(1)) SWIG_fail
;
8694 arg2
= (int)(SWIG_As_int(obj1
));
8695 if (SWIG_arg_fail(2)) SWIG_fail
;
8698 arg3
= (int)(SWIG_As_int(obj2
));
8699 if (SWIG_arg_fail(3)) SWIG_fail
;
8702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8703 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
8705 wxPyEndAllowThreads(__tstate
);
8706 if (PyErr_Occurred()) SWIG_fail
;
8709 resultobj
= SWIG_From_int((int)(result
));
8717 static PyObject
* CheckListBox_swigregister(PyObject
*, PyObject
*args
) {
8719 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8720 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
8722 return Py_BuildValue((char *)"");
8724 static int _wrap_TextCtrlNameStr_set(PyObject
*) {
8725 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
8730 static PyObject
*_wrap_TextCtrlNameStr_get(void) {
8735 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
8737 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
8744 static PyObject
*_wrap_new_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8745 PyObject
*resultobj
;
8746 wxColour
const &arg1_defvalue
= wxNullColour
;
8747 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
8748 wxColour
const &arg2_defvalue
= wxNullColour
;
8749 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8750 wxFont
const &arg3_defvalue
= wxNullFont
;
8751 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
8752 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
8756 PyObject
* obj0
= 0 ;
8757 PyObject
* obj1
= 0 ;
8758 PyObject
* obj2
= 0 ;
8759 PyObject
* obj3
= 0 ;
8761 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
8764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8768 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
8774 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8779 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8780 if (SWIG_arg_fail(3)) SWIG_fail
;
8782 SWIG_null_ref("wxFont");
8784 if (SWIG_arg_fail(3)) SWIG_fail
;
8789 arg4
= (wxTextAttrAlignment
)(SWIG_As_int(obj3
));
8790 if (SWIG_arg_fail(4)) SWIG_fail
;
8794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8795 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
8797 wxPyEndAllowThreads(__tstate
);
8798 if (PyErr_Occurred()) SWIG_fail
;
8800 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
8807 static PyObject
*_wrap_delete_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8808 PyObject
*resultobj
;
8809 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8810 PyObject
* obj0
= 0 ;
8812 (char *) "self", NULL
8815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
8816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8817 if (SWIG_arg_fail(1)) SWIG_fail
;
8819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8822 wxPyEndAllowThreads(__tstate
);
8823 if (PyErr_Occurred()) SWIG_fail
;
8825 Py_INCREF(Py_None
); resultobj
= Py_None
;
8832 static PyObject
*_wrap_TextAttr_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8833 PyObject
*resultobj
;
8834 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8835 PyObject
* obj0
= 0 ;
8837 (char *) "self", NULL
8840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
8841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8842 if (SWIG_arg_fail(1)) SWIG_fail
;
8844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8847 wxPyEndAllowThreads(__tstate
);
8848 if (PyErr_Occurred()) SWIG_fail
;
8850 Py_INCREF(Py_None
); resultobj
= Py_None
;
8857 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8858 PyObject
*resultobj
;
8859 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8860 wxColour
*arg2
= 0 ;
8862 PyObject
* obj0
= 0 ;
8863 PyObject
* obj1
= 0 ;
8865 (char *) "self",(char *) "colText", NULL
8868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
8869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8870 if (SWIG_arg_fail(1)) SWIG_fail
;
8873 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8877 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
8879 wxPyEndAllowThreads(__tstate
);
8880 if (PyErr_Occurred()) SWIG_fail
;
8882 Py_INCREF(Py_None
); resultobj
= Py_None
;
8889 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8890 PyObject
*resultobj
;
8891 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8892 wxColour
*arg2
= 0 ;
8894 PyObject
* obj0
= 0 ;
8895 PyObject
* obj1
= 0 ;
8897 (char *) "self",(char *) "colBack", NULL
8900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
8901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8902 if (SWIG_arg_fail(1)) SWIG_fail
;
8905 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8909 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
8911 wxPyEndAllowThreads(__tstate
);
8912 if (PyErr_Occurred()) SWIG_fail
;
8914 Py_INCREF(Py_None
); resultobj
= Py_None
;
8921 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8922 PyObject
*resultobj
;
8923 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8925 long arg3
= (long) wxTEXT_ATTR_FONT
;
8926 PyObject
* obj0
= 0 ;
8927 PyObject
* obj1
= 0 ;
8928 PyObject
* obj2
= 0 ;
8930 (char *) "self",(char *) "font",(char *) "flags", NULL
8933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8935 if (SWIG_arg_fail(1)) SWIG_fail
;
8937 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8938 if (SWIG_arg_fail(2)) SWIG_fail
;
8940 SWIG_null_ref("wxFont");
8942 if (SWIG_arg_fail(2)) SWIG_fail
;
8946 arg3
= (long)(SWIG_As_long(obj2
));
8947 if (SWIG_arg_fail(3)) SWIG_fail
;
8951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8952 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
8954 wxPyEndAllowThreads(__tstate
);
8955 if (PyErr_Occurred()) SWIG_fail
;
8957 Py_INCREF(Py_None
); resultobj
= Py_None
;
8964 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8965 PyObject
*resultobj
;
8966 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8967 wxTextAttrAlignment arg2
;
8968 PyObject
* obj0
= 0 ;
8969 PyObject
* obj1
= 0 ;
8971 (char *) "self",(char *) "alignment", NULL
8974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8976 if (SWIG_arg_fail(1)) SWIG_fail
;
8978 arg2
= (wxTextAttrAlignment
)(SWIG_As_int(obj1
));
8979 if (SWIG_arg_fail(2)) SWIG_fail
;
8982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8983 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
8985 wxPyEndAllowThreads(__tstate
);
8986 if (PyErr_Occurred()) SWIG_fail
;
8988 Py_INCREF(Py_None
); resultobj
= Py_None
;
8995 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8996 PyObject
*resultobj
;
8997 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8998 wxArrayInt
*arg2
= 0 ;
8999 bool temp2
= false ;
9000 PyObject
* obj0
= 0 ;
9001 PyObject
* obj1
= 0 ;
9003 (char *) "self",(char *) "tabs", NULL
9006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
9007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9008 if (SWIG_arg_fail(1)) SWIG_fail
;
9010 if (! PySequence_Check(obj1
)) {
9011 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
9014 arg2
= new wxArrayInt
;
9016 int i
, len
=PySequence_Length(obj1
);
9017 for (i
=0; i
<len
; i
++) {
9018 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9019 PyObject
* number
= PyNumber_Int(item
);
9020 arg2
->Add(PyInt_AS_LONG(number
));
9026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9027 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
9029 wxPyEndAllowThreads(__tstate
);
9030 if (PyErr_Occurred()) SWIG_fail
;
9032 Py_INCREF(Py_None
); resultobj
= Py_None
;
9034 if (temp2
) delete arg2
;
9039 if (temp2
) delete arg2
;
9045 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9046 PyObject
*resultobj
;
9047 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9049 int arg3
= (int) 0 ;
9050 PyObject
* obj0
= 0 ;
9051 PyObject
* obj1
= 0 ;
9052 PyObject
* obj2
= 0 ;
9054 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
9057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9059 if (SWIG_arg_fail(1)) SWIG_fail
;
9061 arg2
= (int)(SWIG_As_int(obj1
));
9062 if (SWIG_arg_fail(2)) SWIG_fail
;
9066 arg3
= (int)(SWIG_As_int(obj2
));
9067 if (SWIG_arg_fail(3)) SWIG_fail
;
9071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9072 (arg1
)->SetLeftIndent(arg2
,arg3
);
9074 wxPyEndAllowThreads(__tstate
);
9075 if (PyErr_Occurred()) SWIG_fail
;
9077 Py_INCREF(Py_None
); resultobj
= Py_None
;
9084 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9085 PyObject
*resultobj
;
9086 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9088 PyObject
* obj0
= 0 ;
9089 PyObject
* obj1
= 0 ;
9091 (char *) "self",(char *) "indent", NULL
9094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
9095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9096 if (SWIG_arg_fail(1)) SWIG_fail
;
9098 arg2
= (int)(SWIG_As_int(obj1
));
9099 if (SWIG_arg_fail(2)) SWIG_fail
;
9102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9103 (arg1
)->SetRightIndent(arg2
);
9105 wxPyEndAllowThreads(__tstate
);
9106 if (PyErr_Occurred()) SWIG_fail
;
9108 Py_INCREF(Py_None
); resultobj
= Py_None
;
9115 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9116 PyObject
*resultobj
;
9117 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9119 PyObject
* obj0
= 0 ;
9120 PyObject
* obj1
= 0 ;
9122 (char *) "self",(char *) "flags", NULL
9125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
9126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9127 if (SWIG_arg_fail(1)) SWIG_fail
;
9129 arg2
= (long)(SWIG_As_long(obj1
));
9130 if (SWIG_arg_fail(2)) SWIG_fail
;
9133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9134 (arg1
)->SetFlags(arg2
);
9136 wxPyEndAllowThreads(__tstate
);
9137 if (PyErr_Occurred()) SWIG_fail
;
9139 Py_INCREF(Py_None
); resultobj
= Py_None
;
9146 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9147 PyObject
*resultobj
;
9148 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9150 PyObject
* obj0
= 0 ;
9152 (char *) "self", NULL
9155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
9156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9157 if (SWIG_arg_fail(1)) SWIG_fail
;
9159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9160 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
9162 wxPyEndAllowThreads(__tstate
);
9163 if (PyErr_Occurred()) SWIG_fail
;
9166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9174 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9175 PyObject
*resultobj
;
9176 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9178 PyObject
* obj0
= 0 ;
9180 (char *) "self", NULL
9183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
9184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9185 if (SWIG_arg_fail(1)) SWIG_fail
;
9187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9188 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
9190 wxPyEndAllowThreads(__tstate
);
9191 if (PyErr_Occurred()) SWIG_fail
;
9194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9202 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9203 PyObject
*resultobj
;
9204 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9206 PyObject
* obj0
= 0 ;
9208 (char *) "self", NULL
9211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
9212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9213 if (SWIG_arg_fail(1)) SWIG_fail
;
9215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9216 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
9218 wxPyEndAllowThreads(__tstate
);
9219 if (PyErr_Occurred()) SWIG_fail
;
9222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9230 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9231 PyObject
*resultobj
;
9232 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9234 PyObject
* obj0
= 0 ;
9236 (char *) "self", NULL
9239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
9240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9241 if (SWIG_arg_fail(1)) SWIG_fail
;
9243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9244 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
9246 wxPyEndAllowThreads(__tstate
);
9247 if (PyErr_Occurred()) SWIG_fail
;
9250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9258 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9259 PyObject
*resultobj
;
9260 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9262 PyObject
* obj0
= 0 ;
9264 (char *) "self", NULL
9267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
9268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9269 if (SWIG_arg_fail(1)) SWIG_fail
;
9271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9272 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
9274 wxPyEndAllowThreads(__tstate
);
9275 if (PyErr_Occurred()) SWIG_fail
;
9278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9286 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9287 PyObject
*resultobj
;
9288 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9290 PyObject
* obj0
= 0 ;
9292 (char *) "self", NULL
9295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
9296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9297 if (SWIG_arg_fail(1)) SWIG_fail
;
9299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9300 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
9302 wxPyEndAllowThreads(__tstate
);
9303 if (PyErr_Occurred()) SWIG_fail
;
9306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9314 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9315 PyObject
*resultobj
;
9316 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9318 PyObject
* obj0
= 0 ;
9320 (char *) "self", NULL
9323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
9324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9325 if (SWIG_arg_fail(1)) SWIG_fail
;
9327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9328 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
9330 wxPyEndAllowThreads(__tstate
);
9331 if (PyErr_Occurred()) SWIG_fail
;
9334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9342 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9343 PyObject
*resultobj
;
9344 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9347 PyObject
* obj0
= 0 ;
9348 PyObject
* obj1
= 0 ;
9350 (char *) "self",(char *) "flag", NULL
9353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
9354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9355 if (SWIG_arg_fail(1)) SWIG_fail
;
9357 arg2
= (long)(SWIG_As_long(obj1
));
9358 if (SWIG_arg_fail(2)) SWIG_fail
;
9361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9362 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
9364 wxPyEndAllowThreads(__tstate
);
9365 if (PyErr_Occurred()) SWIG_fail
;
9368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9376 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9377 PyObject
*resultobj
;
9378 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9380 PyObject
* obj0
= 0 ;
9382 (char *) "self", NULL
9385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
9386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9387 if (SWIG_arg_fail(1)) SWIG_fail
;
9389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9391 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
9392 result
= (wxColour
*) &_result_ref
;
9395 wxPyEndAllowThreads(__tstate
);
9396 if (PyErr_Occurred()) SWIG_fail
;
9398 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9405 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9406 PyObject
*resultobj
;
9407 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9409 PyObject
* obj0
= 0 ;
9411 (char *) "self", NULL
9414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
9415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9416 if (SWIG_arg_fail(1)) SWIG_fail
;
9418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9420 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
9421 result
= (wxColour
*) &_result_ref
;
9424 wxPyEndAllowThreads(__tstate
);
9425 if (PyErr_Occurred()) SWIG_fail
;
9427 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9434 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9435 PyObject
*resultobj
;
9436 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9438 PyObject
* obj0
= 0 ;
9440 (char *) "self", NULL
9443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
9444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9445 if (SWIG_arg_fail(1)) SWIG_fail
;
9447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9449 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
9450 result
= (wxFont
*) &_result_ref
;
9453 wxPyEndAllowThreads(__tstate
);
9454 if (PyErr_Occurred()) SWIG_fail
;
9457 wxFont
* resultptr
= new wxFont(*result
);
9458 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
9466 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9467 PyObject
*resultobj
;
9468 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9469 wxTextAttrAlignment result
;
9470 PyObject
* obj0
= 0 ;
9472 (char *) "self", NULL
9475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
9476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9477 if (SWIG_arg_fail(1)) SWIG_fail
;
9479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9480 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
9482 wxPyEndAllowThreads(__tstate
);
9483 if (PyErr_Occurred()) SWIG_fail
;
9485 resultobj
= SWIG_From_int((result
));
9492 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9493 PyObject
*resultobj
;
9494 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9496 PyObject
* obj0
= 0 ;
9498 (char *) "self", NULL
9501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
9502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9503 if (SWIG_arg_fail(1)) SWIG_fail
;
9505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9507 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
9508 result
= (wxArrayInt
*) &_result_ref
;
9511 wxPyEndAllowThreads(__tstate
);
9512 if (PyErr_Occurred()) SWIG_fail
;
9515 resultobj
= PyList_New(0);
9517 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
9518 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
9519 PyList_Append(resultobj
, val
);
9529 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9530 PyObject
*resultobj
;
9531 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9533 PyObject
* obj0
= 0 ;
9535 (char *) "self", NULL
9538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
9539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9540 if (SWIG_arg_fail(1)) SWIG_fail
;
9542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9543 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
9545 wxPyEndAllowThreads(__tstate
);
9546 if (PyErr_Occurred()) SWIG_fail
;
9549 resultobj
= SWIG_From_long((long)(result
));
9557 static PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9558 PyObject
*resultobj
;
9559 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9561 PyObject
* obj0
= 0 ;
9563 (char *) "self", NULL
9566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftSubIndent",kwnames
,&obj0
)) goto fail
;
9567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9568 if (SWIG_arg_fail(1)) SWIG_fail
;
9570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9571 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
9573 wxPyEndAllowThreads(__tstate
);
9574 if (PyErr_Occurred()) SWIG_fail
;
9577 resultobj
= SWIG_From_long((long)(result
));
9585 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9586 PyObject
*resultobj
;
9587 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9589 PyObject
* obj0
= 0 ;
9591 (char *) "self", NULL
9594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
9595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9596 if (SWIG_arg_fail(1)) SWIG_fail
;
9598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9599 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
9601 wxPyEndAllowThreads(__tstate
);
9602 if (PyErr_Occurred()) SWIG_fail
;
9605 resultobj
= SWIG_From_long((long)(result
));
9613 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9614 PyObject
*resultobj
;
9615 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9617 PyObject
* obj0
= 0 ;
9619 (char *) "self", NULL
9622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
9623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9624 if (SWIG_arg_fail(1)) SWIG_fail
;
9626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9627 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
9629 wxPyEndAllowThreads(__tstate
);
9630 if (PyErr_Occurred()) SWIG_fail
;
9633 resultobj
= SWIG_From_long((long)(result
));
9641 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9642 PyObject
*resultobj
;
9643 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9645 PyObject
* obj0
= 0 ;
9647 (char *) "self", NULL
9650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
9651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9652 if (SWIG_arg_fail(1)) SWIG_fail
;
9654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9655 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
9657 wxPyEndAllowThreads(__tstate
);
9658 if (PyErr_Occurred()) SWIG_fail
;
9661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9669 static PyObject
*_wrap_TextAttr_Combine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9670 PyObject
*resultobj
;
9671 wxTextAttr
*arg1
= 0 ;
9672 wxTextAttr
*arg2
= 0 ;
9673 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
9675 PyObject
* obj0
= 0 ;
9676 PyObject
* obj1
= 0 ;
9677 PyObject
* obj2
= 0 ;
9679 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
9682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9685 if (SWIG_arg_fail(1)) SWIG_fail
;
9687 SWIG_null_ref("wxTextAttr");
9689 if (SWIG_arg_fail(1)) SWIG_fail
;
9692 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9693 if (SWIG_arg_fail(2)) SWIG_fail
;
9695 SWIG_null_ref("wxTextAttr");
9697 if (SWIG_arg_fail(2)) SWIG_fail
;
9699 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9700 if (SWIG_arg_fail(3)) SWIG_fail
;
9702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9703 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
9705 wxPyEndAllowThreads(__tstate
);
9706 if (PyErr_Occurred()) SWIG_fail
;
9709 wxTextAttr
* resultptr
;
9710 resultptr
= new wxTextAttr((wxTextAttr
&)(result
));
9711 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
9719 static PyObject
* TextAttr_swigregister(PyObject
*, PyObject
*args
) {
9721 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9722 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
9724 return Py_BuildValue((char *)"");
9726 static PyObject
*_wrap_new_TextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9727 PyObject
*resultobj
;
9728 wxWindow
*arg1
= (wxWindow
*) 0 ;
9729 int arg2
= (int) -1 ;
9730 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9731 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9732 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9733 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9734 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9735 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9736 long arg6
= (long) 0 ;
9737 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9738 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9739 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
9740 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9742 bool temp3
= false ;
9745 bool temp8
= false ;
9746 PyObject
* obj0
= 0 ;
9747 PyObject
* obj1
= 0 ;
9748 PyObject
* obj2
= 0 ;
9749 PyObject
* obj3
= 0 ;
9750 PyObject
* obj4
= 0 ;
9751 PyObject
* obj5
= 0 ;
9752 PyObject
* obj6
= 0 ;
9753 PyObject
* obj7
= 0 ;
9755 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9760 if (SWIG_arg_fail(1)) SWIG_fail
;
9763 arg2
= (int)(SWIG_As_int(obj1
));
9764 if (SWIG_arg_fail(2)) SWIG_fail
;
9769 arg3
= wxString_in_helper(obj2
);
9770 if (arg3
== NULL
) SWIG_fail
;
9777 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9783 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9788 arg6
= (long)(SWIG_As_long(obj5
));
9789 if (SWIG_arg_fail(6)) SWIG_fail
;
9794 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
9795 if (SWIG_arg_fail(7)) SWIG_fail
;
9797 SWIG_null_ref("wxValidator");
9799 if (SWIG_arg_fail(7)) SWIG_fail
;
9804 arg8
= wxString_in_helper(obj7
);
9805 if (arg8
== NULL
) SWIG_fail
;
9810 if (!wxPyCheckForApp()) SWIG_fail
;
9811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9812 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9814 wxPyEndAllowThreads(__tstate
);
9815 if (PyErr_Occurred()) SWIG_fail
;
9817 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
9840 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9841 PyObject
*resultobj
;
9847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
9849 if (!wxPyCheckForApp()) SWIG_fail
;
9850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9851 result
= (wxTextCtrl
*)new wxTextCtrl();
9853 wxPyEndAllowThreads(__tstate
);
9854 if (PyErr_Occurred()) SWIG_fail
;
9856 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
9863 static PyObject
*_wrap_TextCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9864 PyObject
*resultobj
;
9865 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9866 wxWindow
*arg2
= (wxWindow
*) 0 ;
9867 int arg3
= (int) -1 ;
9868 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9869 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9870 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
9871 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
9872 wxSize
const &arg6_defvalue
= wxDefaultSize
;
9873 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
9874 long arg7
= (long) 0 ;
9875 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
9876 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
9877 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
9878 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
9880 bool temp4
= false ;
9883 bool temp9
= false ;
9884 PyObject
* obj0
= 0 ;
9885 PyObject
* obj1
= 0 ;
9886 PyObject
* obj2
= 0 ;
9887 PyObject
* obj3
= 0 ;
9888 PyObject
* obj4
= 0 ;
9889 PyObject
* obj5
= 0 ;
9890 PyObject
* obj6
= 0 ;
9891 PyObject
* obj7
= 0 ;
9892 PyObject
* obj8
= 0 ;
9894 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
9898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9899 if (SWIG_arg_fail(1)) SWIG_fail
;
9900 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9901 if (SWIG_arg_fail(2)) SWIG_fail
;
9904 arg3
= (int)(SWIG_As_int(obj2
));
9905 if (SWIG_arg_fail(3)) SWIG_fail
;
9910 arg4
= wxString_in_helper(obj3
);
9911 if (arg4
== NULL
) SWIG_fail
;
9918 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
9924 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
9929 arg7
= (long)(SWIG_As_long(obj6
));
9930 if (SWIG_arg_fail(7)) SWIG_fail
;
9935 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
9936 if (SWIG_arg_fail(8)) SWIG_fail
;
9938 SWIG_null_ref("wxValidator");
9940 if (SWIG_arg_fail(8)) SWIG_fail
;
9945 arg9
= wxString_in_helper(obj8
);
9946 if (arg9
== NULL
) SWIG_fail
;
9951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9952 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9954 wxPyEndAllowThreads(__tstate
);
9955 if (PyErr_Occurred()) SWIG_fail
;
9958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9982 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9983 PyObject
*resultobj
;
9984 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9986 PyObject
* obj0
= 0 ;
9988 (char *) "self", NULL
9991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
9992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9993 if (SWIG_arg_fail(1)) SWIG_fail
;
9995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9996 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
9998 wxPyEndAllowThreads(__tstate
);
9999 if (PyErr_Occurred()) SWIG_fail
;
10003 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10005 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10014 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10015 PyObject
*resultobj
;
10016 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10017 wxString
*arg2
= 0 ;
10018 bool temp2
= false ;
10019 PyObject
* obj0
= 0 ;
10020 PyObject
* obj1
= 0 ;
10021 char *kwnames
[] = {
10022 (char *) "self",(char *) "value", NULL
10025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10027 if (SWIG_arg_fail(1)) SWIG_fail
;
10029 arg2
= wxString_in_helper(obj1
);
10030 if (arg2
== NULL
) SWIG_fail
;
10034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10035 (arg1
)->SetValue((wxString
const &)*arg2
);
10037 wxPyEndAllowThreads(__tstate
);
10038 if (PyErr_Occurred()) SWIG_fail
;
10040 Py_INCREF(Py_None
); resultobj
= Py_None
;
10055 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10056 PyObject
*resultobj
;
10057 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10061 PyObject
* obj0
= 0 ;
10062 PyObject
* obj1
= 0 ;
10063 PyObject
* obj2
= 0 ;
10064 char *kwnames
[] = {
10065 (char *) "self",(char *) "from",(char *) "to", NULL
10068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10070 if (SWIG_arg_fail(1)) SWIG_fail
;
10072 arg2
= (long)(SWIG_As_long(obj1
));
10073 if (SWIG_arg_fail(2)) SWIG_fail
;
10076 arg3
= (long)(SWIG_As_long(obj2
));
10077 if (SWIG_arg_fail(3)) SWIG_fail
;
10080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10081 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
10083 wxPyEndAllowThreads(__tstate
);
10084 if (PyErr_Occurred()) SWIG_fail
;
10088 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10090 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10099 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10100 PyObject
*resultobj
;
10101 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10104 PyObject
* obj0
= 0 ;
10105 PyObject
* obj1
= 0 ;
10106 char *kwnames
[] = {
10107 (char *) "self",(char *) "lineNo", NULL
10110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
10111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10112 if (SWIG_arg_fail(1)) SWIG_fail
;
10114 arg2
= (long)(SWIG_As_long(obj1
));
10115 if (SWIG_arg_fail(2)) SWIG_fail
;
10118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10119 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
10121 wxPyEndAllowThreads(__tstate
);
10122 if (PyErr_Occurred()) SWIG_fail
;
10125 resultobj
= SWIG_From_int((int)(result
));
10133 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10134 PyObject
*resultobj
;
10135 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10138 PyObject
* obj0
= 0 ;
10139 PyObject
* obj1
= 0 ;
10140 char *kwnames
[] = {
10141 (char *) "self",(char *) "lineNo", NULL
10144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
10145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10146 if (SWIG_arg_fail(1)) SWIG_fail
;
10148 arg2
= (long)(SWIG_As_long(obj1
));
10149 if (SWIG_arg_fail(2)) SWIG_fail
;
10152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10153 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
10155 wxPyEndAllowThreads(__tstate
);
10156 if (PyErr_Occurred()) SWIG_fail
;
10160 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10162 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10171 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10172 PyObject
*resultobj
;
10173 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10175 PyObject
* obj0
= 0 ;
10176 char *kwnames
[] = {
10177 (char *) "self", NULL
10180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
10181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10182 if (SWIG_arg_fail(1)) SWIG_fail
;
10184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10185 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
10187 wxPyEndAllowThreads(__tstate
);
10188 if (PyErr_Occurred()) SWIG_fail
;
10191 resultobj
= SWIG_From_int((int)(result
));
10199 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10200 PyObject
*resultobj
;
10201 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10203 PyObject
* obj0
= 0 ;
10204 char *kwnames
[] = {
10205 (char *) "self", NULL
10208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
10209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10210 if (SWIG_arg_fail(1)) SWIG_fail
;
10212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10213 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
10215 wxPyEndAllowThreads(__tstate
);
10216 if (PyErr_Occurred()) SWIG_fail
;
10219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10227 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10228 PyObject
*resultobj
;
10229 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10231 PyObject
* obj0
= 0 ;
10232 char *kwnames
[] = {
10233 (char *) "self", NULL
10236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
10237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10238 if (SWIG_arg_fail(1)) SWIG_fail
;
10240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10241 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
10243 wxPyEndAllowThreads(__tstate
);
10244 if (PyErr_Occurred()) SWIG_fail
;
10247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10255 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10256 PyObject
*resultobj
;
10257 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10259 PyObject
* obj0
= 0 ;
10260 char *kwnames
[] = {
10261 (char *) "self", NULL
10264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
10265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10266 if (SWIG_arg_fail(1)) SWIG_fail
;
10268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10269 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
10271 wxPyEndAllowThreads(__tstate
);
10272 if (PyErr_Occurred()) SWIG_fail
;
10275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10283 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10284 PyObject
*resultobj
;
10285 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10287 PyObject
* obj0
= 0 ;
10288 char *kwnames
[] = {
10289 (char *) "self", NULL
10292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
10293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10294 if (SWIG_arg_fail(1)) SWIG_fail
;
10296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10297 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
10299 wxPyEndAllowThreads(__tstate
);
10300 if (PyErr_Occurred()) SWIG_fail
;
10303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10311 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10312 PyObject
*resultobj
;
10313 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10314 long *arg2
= (long *) 0 ;
10315 long *arg3
= (long *) 0 ;
10320 PyObject
* obj0
= 0 ;
10321 char *kwnames
[] = {
10322 (char *) "self", NULL
10325 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10326 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
10328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10329 if (SWIG_arg_fail(1)) SWIG_fail
;
10331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10332 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
10334 wxPyEndAllowThreads(__tstate
);
10335 if (PyErr_Occurred()) SWIG_fail
;
10337 Py_INCREF(Py_None
); resultobj
= Py_None
;
10338 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10339 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
10340 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10341 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10348 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10349 PyObject
*resultobj
;
10350 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10352 PyObject
* obj0
= 0 ;
10353 char *kwnames
[] = {
10354 (char *) "self", NULL
10357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
10358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10359 if (SWIG_arg_fail(1)) SWIG_fail
;
10361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10362 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
10364 wxPyEndAllowThreads(__tstate
);
10365 if (PyErr_Occurred()) SWIG_fail
;
10369 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10371 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10380 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10381 PyObject
*resultobj
;
10382 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10383 PyObject
* obj0
= 0 ;
10384 char *kwnames
[] = {
10385 (char *) "self", NULL
10388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
10389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10390 if (SWIG_arg_fail(1)) SWIG_fail
;
10392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10395 wxPyEndAllowThreads(__tstate
);
10396 if (PyErr_Occurred()) SWIG_fail
;
10398 Py_INCREF(Py_None
); resultobj
= Py_None
;
10405 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10406 PyObject
*resultobj
;
10407 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10410 wxString
*arg4
= 0 ;
10411 bool temp4
= false ;
10412 PyObject
* obj0
= 0 ;
10413 PyObject
* obj1
= 0 ;
10414 PyObject
* obj2
= 0 ;
10415 PyObject
* obj3
= 0 ;
10416 char *kwnames
[] = {
10417 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
10420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10422 if (SWIG_arg_fail(1)) SWIG_fail
;
10424 arg2
= (long)(SWIG_As_long(obj1
));
10425 if (SWIG_arg_fail(2)) SWIG_fail
;
10428 arg3
= (long)(SWIG_As_long(obj2
));
10429 if (SWIG_arg_fail(3)) SWIG_fail
;
10432 arg4
= wxString_in_helper(obj3
);
10433 if (arg4
== NULL
) SWIG_fail
;
10437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10438 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
10440 wxPyEndAllowThreads(__tstate
);
10441 if (PyErr_Occurred()) SWIG_fail
;
10443 Py_INCREF(Py_None
); resultobj
= Py_None
;
10458 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10459 PyObject
*resultobj
;
10460 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10463 PyObject
* obj0
= 0 ;
10464 PyObject
* obj1
= 0 ;
10465 PyObject
* obj2
= 0 ;
10466 char *kwnames
[] = {
10467 (char *) "self",(char *) "from",(char *) "to", NULL
10470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10472 if (SWIG_arg_fail(1)) SWIG_fail
;
10474 arg2
= (long)(SWIG_As_long(obj1
));
10475 if (SWIG_arg_fail(2)) SWIG_fail
;
10478 arg3
= (long)(SWIG_As_long(obj2
));
10479 if (SWIG_arg_fail(3)) SWIG_fail
;
10482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10483 (arg1
)->Remove(arg2
,arg3
);
10485 wxPyEndAllowThreads(__tstate
);
10486 if (PyErr_Occurred()) SWIG_fail
;
10488 Py_INCREF(Py_None
); resultobj
= Py_None
;
10495 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10496 PyObject
*resultobj
;
10497 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10498 wxString
*arg2
= 0 ;
10500 bool temp2
= false ;
10501 PyObject
* obj0
= 0 ;
10502 PyObject
* obj1
= 0 ;
10503 char *kwnames
[] = {
10504 (char *) "self",(char *) "file", NULL
10507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
10508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10509 if (SWIG_arg_fail(1)) SWIG_fail
;
10511 arg2
= wxString_in_helper(obj1
);
10512 if (arg2
== NULL
) SWIG_fail
;
10516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10517 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
10519 wxPyEndAllowThreads(__tstate
);
10520 if (PyErr_Occurred()) SWIG_fail
;
10523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10539 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10540 PyObject
*resultobj
;
10541 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10542 wxString
const &arg2_defvalue
= wxPyEmptyString
;
10543 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
10545 bool temp2
= false ;
10546 PyObject
* obj0
= 0 ;
10547 PyObject
* obj1
= 0 ;
10548 char *kwnames
[] = {
10549 (char *) "self",(char *) "file", NULL
10552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
10553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10554 if (SWIG_arg_fail(1)) SWIG_fail
;
10557 arg2
= wxString_in_helper(obj1
);
10558 if (arg2
== NULL
) SWIG_fail
;
10563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10564 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
10566 wxPyEndAllowThreads(__tstate
);
10567 if (PyErr_Occurred()) SWIG_fail
;
10570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10586 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10587 PyObject
*resultobj
;
10588 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10589 PyObject
* obj0
= 0 ;
10590 char *kwnames
[] = {
10591 (char *) "self", NULL
10594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
10595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10596 if (SWIG_arg_fail(1)) SWIG_fail
;
10598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10599 (arg1
)->MarkDirty();
10601 wxPyEndAllowThreads(__tstate
);
10602 if (PyErr_Occurred()) SWIG_fail
;
10604 Py_INCREF(Py_None
); resultobj
= Py_None
;
10611 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10612 PyObject
*resultobj
;
10613 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10614 PyObject
* obj0
= 0 ;
10615 char *kwnames
[] = {
10616 (char *) "self", NULL
10619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
10620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10621 if (SWIG_arg_fail(1)) SWIG_fail
;
10623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10624 (arg1
)->DiscardEdits();
10626 wxPyEndAllowThreads(__tstate
);
10627 if (PyErr_Occurred()) SWIG_fail
;
10629 Py_INCREF(Py_None
); resultobj
= Py_None
;
10636 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10637 PyObject
*resultobj
;
10638 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10639 unsigned long arg2
;
10640 PyObject
* obj0
= 0 ;
10641 PyObject
* obj1
= 0 ;
10642 char *kwnames
[] = {
10643 (char *) "self",(char *) "len", NULL
10646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
10647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10648 if (SWIG_arg_fail(1)) SWIG_fail
;
10650 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
10651 if (SWIG_arg_fail(2)) SWIG_fail
;
10654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10655 (arg1
)->SetMaxLength(arg2
);
10657 wxPyEndAllowThreads(__tstate
);
10658 if (PyErr_Occurred()) SWIG_fail
;
10660 Py_INCREF(Py_None
); resultobj
= Py_None
;
10667 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10668 PyObject
*resultobj
;
10669 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10670 wxString
*arg2
= 0 ;
10671 bool temp2
= false ;
10672 PyObject
* obj0
= 0 ;
10673 PyObject
* obj1
= 0 ;
10674 char *kwnames
[] = {
10675 (char *) "self",(char *) "text", NULL
10678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
10679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10680 if (SWIG_arg_fail(1)) SWIG_fail
;
10682 arg2
= wxString_in_helper(obj1
);
10683 if (arg2
== NULL
) SWIG_fail
;
10687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10688 (arg1
)->WriteText((wxString
const &)*arg2
);
10690 wxPyEndAllowThreads(__tstate
);
10691 if (PyErr_Occurred()) SWIG_fail
;
10693 Py_INCREF(Py_None
); resultobj
= Py_None
;
10708 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10709 PyObject
*resultobj
;
10710 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10711 wxString
*arg2
= 0 ;
10712 bool temp2
= false ;
10713 PyObject
* obj0
= 0 ;
10714 PyObject
* obj1
= 0 ;
10715 char *kwnames
[] = {
10716 (char *) "self",(char *) "text", NULL
10719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
10720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10721 if (SWIG_arg_fail(1)) SWIG_fail
;
10723 arg2
= wxString_in_helper(obj1
);
10724 if (arg2
== NULL
) SWIG_fail
;
10728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10729 (arg1
)->AppendText((wxString
const &)*arg2
);
10731 wxPyEndAllowThreads(__tstate
);
10732 if (PyErr_Occurred()) SWIG_fail
;
10734 Py_INCREF(Py_None
); resultobj
= Py_None
;
10749 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10750 PyObject
*resultobj
;
10751 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10752 wxKeyEvent
*arg2
= 0 ;
10754 PyObject
* obj0
= 0 ;
10755 PyObject
* obj1
= 0 ;
10756 char *kwnames
[] = {
10757 (char *) "self",(char *) "event", NULL
10760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
10761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10762 if (SWIG_arg_fail(1)) SWIG_fail
;
10764 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
10765 if (SWIG_arg_fail(2)) SWIG_fail
;
10766 if (arg2
== NULL
) {
10767 SWIG_null_ref("wxKeyEvent");
10769 if (SWIG_arg_fail(2)) SWIG_fail
;
10772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10773 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
10775 wxPyEndAllowThreads(__tstate
);
10776 if (PyErr_Occurred()) SWIG_fail
;
10779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10787 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10788 PyObject
*resultobj
;
10789 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10792 wxTextAttr
*arg4
= 0 ;
10794 PyObject
* obj0
= 0 ;
10795 PyObject
* obj1
= 0 ;
10796 PyObject
* obj2
= 0 ;
10797 PyObject
* obj3
= 0 ;
10798 char *kwnames
[] = {
10799 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
10802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10804 if (SWIG_arg_fail(1)) SWIG_fail
;
10806 arg2
= (long)(SWIG_As_long(obj1
));
10807 if (SWIG_arg_fail(2)) SWIG_fail
;
10810 arg3
= (long)(SWIG_As_long(obj2
));
10811 if (SWIG_arg_fail(3)) SWIG_fail
;
10814 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10815 if (SWIG_arg_fail(4)) SWIG_fail
;
10816 if (arg4
== NULL
) {
10817 SWIG_null_ref("wxTextAttr");
10819 if (SWIG_arg_fail(4)) SWIG_fail
;
10822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10823 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
10825 wxPyEndAllowThreads(__tstate
);
10826 if (PyErr_Occurred()) SWIG_fail
;
10829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10837 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10838 PyObject
*resultobj
;
10839 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10841 wxTextAttr
*arg3
= 0 ;
10843 PyObject
* obj0
= 0 ;
10844 PyObject
* obj1
= 0 ;
10845 PyObject
* obj2
= 0 ;
10846 char *kwnames
[] = {
10847 (char *) "self",(char *) "position",(char *) "style", NULL
10850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10852 if (SWIG_arg_fail(1)) SWIG_fail
;
10854 arg2
= (long)(SWIG_As_long(obj1
));
10855 if (SWIG_arg_fail(2)) SWIG_fail
;
10858 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10859 if (SWIG_arg_fail(3)) SWIG_fail
;
10860 if (arg3
== NULL
) {
10861 SWIG_null_ref("wxTextAttr");
10863 if (SWIG_arg_fail(3)) SWIG_fail
;
10866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10867 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
10869 wxPyEndAllowThreads(__tstate
);
10870 if (PyErr_Occurred()) SWIG_fail
;
10873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10881 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10882 PyObject
*resultobj
;
10883 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10884 wxTextAttr
*arg2
= 0 ;
10886 PyObject
* obj0
= 0 ;
10887 PyObject
* obj1
= 0 ;
10888 char *kwnames
[] = {
10889 (char *) "self",(char *) "style", NULL
10892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
10893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10894 if (SWIG_arg_fail(1)) SWIG_fail
;
10896 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10897 if (SWIG_arg_fail(2)) SWIG_fail
;
10898 if (arg2
== NULL
) {
10899 SWIG_null_ref("wxTextAttr");
10901 if (SWIG_arg_fail(2)) SWIG_fail
;
10904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10905 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
10907 wxPyEndAllowThreads(__tstate
);
10908 if (PyErr_Occurred()) SWIG_fail
;
10911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10919 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10920 PyObject
*resultobj
;
10921 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10922 wxTextAttr
*result
;
10923 PyObject
* obj0
= 0 ;
10924 char *kwnames
[] = {
10925 (char *) "self", NULL
10928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
10929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10930 if (SWIG_arg_fail(1)) SWIG_fail
;
10932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10934 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
10935 result
= (wxTextAttr
*) &_result_ref
;
10938 wxPyEndAllowThreads(__tstate
);
10939 if (PyErr_Occurred()) SWIG_fail
;
10941 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
10948 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10949 PyObject
*resultobj
;
10950 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10954 PyObject
* obj0
= 0 ;
10955 PyObject
* obj1
= 0 ;
10956 PyObject
* obj2
= 0 ;
10957 char *kwnames
[] = {
10958 (char *) "self",(char *) "x",(char *) "y", NULL
10961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10963 if (SWIG_arg_fail(1)) SWIG_fail
;
10965 arg2
= (long)(SWIG_As_long(obj1
));
10966 if (SWIG_arg_fail(2)) SWIG_fail
;
10969 arg3
= (long)(SWIG_As_long(obj2
));
10970 if (SWIG_arg_fail(3)) SWIG_fail
;
10973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10974 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
10976 wxPyEndAllowThreads(__tstate
);
10977 if (PyErr_Occurred()) SWIG_fail
;
10980 resultobj
= SWIG_From_long((long)(result
));
10988 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10989 PyObject
*resultobj
;
10990 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10992 long *arg3
= (long *) 0 ;
10993 long *arg4
= (long *) 0 ;
10998 PyObject
* obj0
= 0 ;
10999 PyObject
* obj1
= 0 ;
11000 char *kwnames
[] = {
11001 (char *) "self",(char *) "pos", NULL
11004 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11005 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
11006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
11007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11008 if (SWIG_arg_fail(1)) SWIG_fail
;
11010 arg2
= (long)(SWIG_As_long(obj1
));
11011 if (SWIG_arg_fail(2)) SWIG_fail
;
11014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11015 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
11017 wxPyEndAllowThreads(__tstate
);
11018 if (PyErr_Occurred()) SWIG_fail
;
11020 Py_INCREF(Py_None
); resultobj
= Py_None
;
11021 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11022 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
11023 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
11024 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
11031 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11032 PyObject
*resultobj
;
11033 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11035 PyObject
* obj0
= 0 ;
11036 PyObject
* obj1
= 0 ;
11037 char *kwnames
[] = {
11038 (char *) "self",(char *) "pos", NULL
11041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11043 if (SWIG_arg_fail(1)) SWIG_fail
;
11045 arg2
= (long)(SWIG_As_long(obj1
));
11046 if (SWIG_arg_fail(2)) SWIG_fail
;
11049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11050 (arg1
)->ShowPosition(arg2
);
11052 wxPyEndAllowThreads(__tstate
);
11053 if (PyErr_Occurred()) SWIG_fail
;
11055 Py_INCREF(Py_None
); resultobj
= Py_None
;
11062 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11063 PyObject
*resultobj
;
11064 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11065 wxPoint
*arg2
= 0 ;
11066 long *arg3
= (long *) 0 ;
11067 long *arg4
= (long *) 0 ;
11068 wxTextCtrlHitTestResult result
;
11074 PyObject
* obj0
= 0 ;
11075 PyObject
* obj1
= 0 ;
11076 char *kwnames
[] = {
11077 (char *) "self",(char *) "pt", NULL
11080 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11081 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
11082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
11083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11084 if (SWIG_arg_fail(1)) SWIG_fail
;
11087 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11091 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
11093 wxPyEndAllowThreads(__tstate
);
11094 if (PyErr_Occurred()) SWIG_fail
;
11096 resultobj
= SWIG_From_int((result
));
11097 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11098 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
11099 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
11100 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
11107 static PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11108 PyObject
*resultobj
;
11109 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11110 wxPoint
*arg2
= 0 ;
11111 long *arg3
= (long *) 0 ;
11112 wxTextCtrlHitTestResult result
;
11116 PyObject
* obj0
= 0 ;
11117 PyObject
* obj1
= 0 ;
11118 char *kwnames
[] = {
11119 (char *) "self",(char *) "pt", NULL
11122 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) goto fail
;
11124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11125 if (SWIG_arg_fail(1)) SWIG_fail
;
11128 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11132 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
11134 wxPyEndAllowThreads(__tstate
);
11135 if (PyErr_Occurred()) SWIG_fail
;
11137 resultobj
= SWIG_From_int((result
));
11138 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11139 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
11146 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11147 PyObject
*resultobj
;
11148 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11149 PyObject
* obj0
= 0 ;
11150 char *kwnames
[] = {
11151 (char *) "self", NULL
11154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
11155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11156 if (SWIG_arg_fail(1)) SWIG_fail
;
11158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11161 wxPyEndAllowThreads(__tstate
);
11162 if (PyErr_Occurred()) SWIG_fail
;
11164 Py_INCREF(Py_None
); resultobj
= Py_None
;
11171 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11172 PyObject
*resultobj
;
11173 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11174 PyObject
* obj0
= 0 ;
11175 char *kwnames
[] = {
11176 (char *) "self", NULL
11179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
11180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11181 if (SWIG_arg_fail(1)) SWIG_fail
;
11183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11186 wxPyEndAllowThreads(__tstate
);
11187 if (PyErr_Occurred()) SWIG_fail
;
11189 Py_INCREF(Py_None
); resultobj
= Py_None
;
11196 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11197 PyObject
*resultobj
;
11198 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11199 PyObject
* obj0
= 0 ;
11200 char *kwnames
[] = {
11201 (char *) "self", NULL
11204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
11205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11206 if (SWIG_arg_fail(1)) SWIG_fail
;
11208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11211 wxPyEndAllowThreads(__tstate
);
11212 if (PyErr_Occurred()) SWIG_fail
;
11214 Py_INCREF(Py_None
); resultobj
= Py_None
;
11221 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11222 PyObject
*resultobj
;
11223 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11225 PyObject
* obj0
= 0 ;
11226 char *kwnames
[] = {
11227 (char *) "self", NULL
11230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
11231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11232 if (SWIG_arg_fail(1)) SWIG_fail
;
11234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11235 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
11237 wxPyEndAllowThreads(__tstate
);
11238 if (PyErr_Occurred()) SWIG_fail
;
11241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11249 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11250 PyObject
*resultobj
;
11251 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11253 PyObject
* obj0
= 0 ;
11254 char *kwnames
[] = {
11255 (char *) "self", NULL
11258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
11259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11260 if (SWIG_arg_fail(1)) SWIG_fail
;
11262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11263 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
11265 wxPyEndAllowThreads(__tstate
);
11266 if (PyErr_Occurred()) SWIG_fail
;
11269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11277 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11278 PyObject
*resultobj
;
11279 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11281 PyObject
* obj0
= 0 ;
11282 char *kwnames
[] = {
11283 (char *) "self", NULL
11286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
11287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11288 if (SWIG_arg_fail(1)) SWIG_fail
;
11290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11291 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
11293 wxPyEndAllowThreads(__tstate
);
11294 if (PyErr_Occurred()) SWIG_fail
;
11297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11305 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11306 PyObject
*resultobj
;
11307 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11308 PyObject
* obj0
= 0 ;
11309 char *kwnames
[] = {
11310 (char *) "self", NULL
11313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
11314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11315 if (SWIG_arg_fail(1)) SWIG_fail
;
11317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11320 wxPyEndAllowThreads(__tstate
);
11321 if (PyErr_Occurred()) SWIG_fail
;
11323 Py_INCREF(Py_None
); resultobj
= Py_None
;
11330 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11331 PyObject
*resultobj
;
11332 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11333 PyObject
* obj0
= 0 ;
11334 char *kwnames
[] = {
11335 (char *) "self", NULL
11338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
11339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11340 if (SWIG_arg_fail(1)) SWIG_fail
;
11342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11345 wxPyEndAllowThreads(__tstate
);
11346 if (PyErr_Occurred()) SWIG_fail
;
11348 Py_INCREF(Py_None
); resultobj
= Py_None
;
11355 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11356 PyObject
*resultobj
;
11357 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11359 PyObject
* obj0
= 0 ;
11360 char *kwnames
[] = {
11361 (char *) "self", NULL
11364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
11365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11366 if (SWIG_arg_fail(1)) SWIG_fail
;
11368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11369 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
11371 wxPyEndAllowThreads(__tstate
);
11372 if (PyErr_Occurred()) SWIG_fail
;
11375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11383 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11384 PyObject
*resultobj
;
11385 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11387 PyObject
* obj0
= 0 ;
11388 char *kwnames
[] = {
11389 (char *) "self", NULL
11392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
11393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11394 if (SWIG_arg_fail(1)) SWIG_fail
;
11396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11397 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
11399 wxPyEndAllowThreads(__tstate
);
11400 if (PyErr_Occurred()) SWIG_fail
;
11403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11411 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11412 PyObject
*resultobj
;
11413 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11415 PyObject
* obj0
= 0 ;
11416 PyObject
* obj1
= 0 ;
11417 char *kwnames
[] = {
11418 (char *) "self",(char *) "pos", NULL
11421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11423 if (SWIG_arg_fail(1)) SWIG_fail
;
11425 arg2
= (long)(SWIG_As_long(obj1
));
11426 if (SWIG_arg_fail(2)) SWIG_fail
;
11429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11430 (arg1
)->SetInsertionPoint(arg2
);
11432 wxPyEndAllowThreads(__tstate
);
11433 if (PyErr_Occurred()) SWIG_fail
;
11435 Py_INCREF(Py_None
); resultobj
= Py_None
;
11442 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11443 PyObject
*resultobj
;
11444 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11445 PyObject
* obj0
= 0 ;
11446 char *kwnames
[] = {
11447 (char *) "self", NULL
11450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
11451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11452 if (SWIG_arg_fail(1)) SWIG_fail
;
11454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11455 (arg1
)->SetInsertionPointEnd();
11457 wxPyEndAllowThreads(__tstate
);
11458 if (PyErr_Occurred()) SWIG_fail
;
11460 Py_INCREF(Py_None
); resultobj
= Py_None
;
11467 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11468 PyObject
*resultobj
;
11469 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11471 PyObject
* obj0
= 0 ;
11472 char *kwnames
[] = {
11473 (char *) "self", NULL
11476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
11477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11478 if (SWIG_arg_fail(1)) SWIG_fail
;
11480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11481 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
11483 wxPyEndAllowThreads(__tstate
);
11484 if (PyErr_Occurred()) SWIG_fail
;
11487 resultobj
= SWIG_From_long((long)(result
));
11495 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11496 PyObject
*resultobj
;
11497 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11499 PyObject
* obj0
= 0 ;
11500 char *kwnames
[] = {
11501 (char *) "self", NULL
11504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
11505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11506 if (SWIG_arg_fail(1)) SWIG_fail
;
11508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11509 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
11511 wxPyEndAllowThreads(__tstate
);
11512 if (PyErr_Occurred()) SWIG_fail
;
11515 resultobj
= SWIG_From_long((long)(result
));
11523 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11524 PyObject
*resultobj
;
11525 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11528 PyObject
* obj0
= 0 ;
11529 PyObject
* obj1
= 0 ;
11530 PyObject
* obj2
= 0 ;
11531 char *kwnames
[] = {
11532 (char *) "self",(char *) "from",(char *) "to", NULL
11535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11537 if (SWIG_arg_fail(1)) SWIG_fail
;
11539 arg2
= (long)(SWIG_As_long(obj1
));
11540 if (SWIG_arg_fail(2)) SWIG_fail
;
11543 arg3
= (long)(SWIG_As_long(obj2
));
11544 if (SWIG_arg_fail(3)) SWIG_fail
;
11547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11548 (arg1
)->SetSelection(arg2
,arg3
);
11550 wxPyEndAllowThreads(__tstate
);
11551 if (PyErr_Occurred()) SWIG_fail
;
11553 Py_INCREF(Py_None
); resultobj
= Py_None
;
11560 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11561 PyObject
*resultobj
;
11562 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11563 PyObject
* obj0
= 0 ;
11564 char *kwnames
[] = {
11565 (char *) "self", NULL
11568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
11569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11570 if (SWIG_arg_fail(1)) SWIG_fail
;
11572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11573 (arg1
)->SelectAll();
11575 wxPyEndAllowThreads(__tstate
);
11576 if (PyErr_Occurred()) SWIG_fail
;
11578 Py_INCREF(Py_None
); resultobj
= Py_None
;
11585 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11586 PyObject
*resultobj
;
11587 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11589 PyObject
* obj0
= 0 ;
11590 PyObject
* obj1
= 0 ;
11591 char *kwnames
[] = {
11592 (char *) "self",(char *) "editable", NULL
11595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
11596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11597 if (SWIG_arg_fail(1)) SWIG_fail
;
11599 arg2
= (bool)(SWIG_As_bool(obj1
));
11600 if (SWIG_arg_fail(2)) SWIG_fail
;
11603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11604 (arg1
)->SetEditable(arg2
);
11606 wxPyEndAllowThreads(__tstate
);
11607 if (PyErr_Occurred()) SWIG_fail
;
11609 Py_INCREF(Py_None
); resultobj
= Py_None
;
11616 static PyObject
*_wrap_TextCtrl_ShowNativeCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11617 PyObject
*resultobj
;
11618 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11619 bool arg2
= (bool) true ;
11621 PyObject
* obj0
= 0 ;
11622 PyObject
* obj1
= 0 ;
11623 char *kwnames
[] = {
11624 (char *) "self",(char *) "show", NULL
11627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
11628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11629 if (SWIG_arg_fail(1)) SWIG_fail
;
11632 arg2
= (bool)(SWIG_As_bool(obj1
));
11633 if (SWIG_arg_fail(2)) SWIG_fail
;
11637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11638 result
= (bool)(arg1
)->ShowNativeCaret(arg2
);
11640 wxPyEndAllowThreads(__tstate
);
11641 if (PyErr_Occurred()) SWIG_fail
;
11644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11652 static PyObject
*_wrap_TextCtrl_HideNativeCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11653 PyObject
*resultobj
;
11654 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11656 PyObject
* obj0
= 0 ;
11657 char *kwnames
[] = {
11658 (char *) "self", NULL
11661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_HideNativeCaret",kwnames
,&obj0
)) goto fail
;
11662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11663 if (SWIG_arg_fail(1)) SWIG_fail
;
11665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11666 result
= (bool)(arg1
)->HideNativeCaret();
11668 wxPyEndAllowThreads(__tstate
);
11669 if (PyErr_Occurred()) SWIG_fail
;
11672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11680 static PyObject
*_wrap_TextCtrl_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11681 PyObject
*resultobj
;
11682 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11683 wxString
*arg2
= 0 ;
11684 bool temp2
= false ;
11685 PyObject
* obj0
= 0 ;
11686 PyObject
* obj1
= 0 ;
11687 char *kwnames
[] = {
11688 (char *) "self",(char *) "text", NULL
11691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
11692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11693 if (SWIG_arg_fail(1)) SWIG_fail
;
11695 arg2
= wxString_in_helper(obj1
);
11696 if (arg2
== NULL
) SWIG_fail
;
11700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11701 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
11703 wxPyEndAllowThreads(__tstate
);
11704 if (PyErr_Occurred()) SWIG_fail
;
11706 Py_INCREF(Py_None
); resultobj
= Py_None
;
11721 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11722 PyObject
*resultobj
;
11723 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11727 PyObject
* obj0
= 0 ;
11728 PyObject
* obj1
= 0 ;
11729 PyObject
* obj2
= 0 ;
11730 char *kwnames
[] = {
11731 (char *) "self",(char *) "from",(char *) "to", NULL
11734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11736 if (SWIG_arg_fail(1)) SWIG_fail
;
11738 arg2
= (long)(SWIG_As_long(obj1
));
11739 if (SWIG_arg_fail(2)) SWIG_fail
;
11742 arg3
= (long)(SWIG_As_long(obj2
));
11743 if (SWIG_arg_fail(3)) SWIG_fail
;
11746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11747 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
11749 wxPyEndAllowThreads(__tstate
);
11750 if (PyErr_Occurred()) SWIG_fail
;
11754 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11756 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11765 static PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11766 PyObject
*resultobj
;
11767 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
11768 wxVisualAttributes result
;
11769 PyObject
* obj0
= 0 ;
11770 char *kwnames
[] = {
11771 (char *) "variant", NULL
11774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11777 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
11778 if (SWIG_arg_fail(1)) SWIG_fail
;
11782 if (!wxPyCheckForApp()) SWIG_fail
;
11783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11784 result
= wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11786 wxPyEndAllowThreads(__tstate
);
11787 if (PyErr_Occurred()) SWIG_fail
;
11790 wxVisualAttributes
* resultptr
;
11791 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
11792 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11800 static PyObject
* TextCtrl_swigregister(PyObject
*, PyObject
*args
) {
11802 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11803 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
11805 return Py_BuildValue((char *)"");
11807 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11808 PyObject
*resultobj
;
11810 wxMouseEvent
*arg2
= 0 ;
11813 wxTextUrlEvent
*result
;
11814 PyObject
* obj0
= 0 ;
11815 PyObject
* obj1
= 0 ;
11816 PyObject
* obj2
= 0 ;
11817 PyObject
* obj3
= 0 ;
11818 char *kwnames
[] = {
11819 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
11822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11824 arg1
= (int)(SWIG_As_int(obj0
));
11825 if (SWIG_arg_fail(1)) SWIG_fail
;
11828 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
11829 if (SWIG_arg_fail(2)) SWIG_fail
;
11830 if (arg2
== NULL
) {
11831 SWIG_null_ref("wxMouseEvent");
11833 if (SWIG_arg_fail(2)) SWIG_fail
;
11836 arg3
= (long)(SWIG_As_long(obj2
));
11837 if (SWIG_arg_fail(3)) SWIG_fail
;
11840 arg4
= (long)(SWIG_As_long(obj3
));
11841 if (SWIG_arg_fail(4)) SWIG_fail
;
11844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11845 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
11847 wxPyEndAllowThreads(__tstate
);
11848 if (PyErr_Occurred()) SWIG_fail
;
11850 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
11857 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11858 PyObject
*resultobj
;
11859 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11860 wxMouseEvent
*result
;
11861 PyObject
* obj0
= 0 ;
11862 char *kwnames
[] = {
11863 (char *) "self", NULL
11866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
11867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11868 if (SWIG_arg_fail(1)) SWIG_fail
;
11870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11872 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
11873 result
= (wxMouseEvent
*) &_result_ref
;
11876 wxPyEndAllowThreads(__tstate
);
11877 if (PyErr_Occurred()) SWIG_fail
;
11879 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
11886 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11887 PyObject
*resultobj
;
11888 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11890 PyObject
* obj0
= 0 ;
11891 char *kwnames
[] = {
11892 (char *) "self", NULL
11895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
11896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11897 if (SWIG_arg_fail(1)) SWIG_fail
;
11899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11900 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
11902 wxPyEndAllowThreads(__tstate
);
11903 if (PyErr_Occurred()) SWIG_fail
;
11906 resultobj
= SWIG_From_long((long)(result
));
11914 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11915 PyObject
*resultobj
;
11916 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11918 PyObject
* obj0
= 0 ;
11919 char *kwnames
[] = {
11920 (char *) "self", NULL
11923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
11924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11925 if (SWIG_arg_fail(1)) SWIG_fail
;
11927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11928 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
11930 wxPyEndAllowThreads(__tstate
);
11931 if (PyErr_Occurred()) SWIG_fail
;
11934 resultobj
= SWIG_From_long((long)(result
));
11942 static PyObject
* TextUrlEvent_swigregister(PyObject
*, PyObject
*args
) {
11944 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11945 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
11947 return Py_BuildValue((char *)"");
11949 static int _wrap_ScrollBarNameStr_set(PyObject
*) {
11950 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
11955 static PyObject
*_wrap_ScrollBarNameStr_get(void) {
11960 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
11962 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
11969 static PyObject
*_wrap_new_ScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11970 PyObject
*resultobj
;
11971 wxWindow
*arg1
= (wxWindow
*) 0 ;
11972 int arg2
= (int) -1 ;
11973 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11974 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11975 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11976 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11977 long arg5
= (long) wxSB_HORIZONTAL
;
11978 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
11979 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
11980 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
11981 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11982 wxScrollBar
*result
;
11985 bool temp7
= false ;
11986 PyObject
* obj0
= 0 ;
11987 PyObject
* obj1
= 0 ;
11988 PyObject
* obj2
= 0 ;
11989 PyObject
* obj3
= 0 ;
11990 PyObject
* obj4
= 0 ;
11991 PyObject
* obj5
= 0 ;
11992 PyObject
* obj6
= 0 ;
11993 char *kwnames
[] = {
11994 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11999 if (SWIG_arg_fail(1)) SWIG_fail
;
12002 arg2
= (int)(SWIG_As_int(obj1
));
12003 if (SWIG_arg_fail(2)) SWIG_fail
;
12009 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12015 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12020 arg5
= (long)(SWIG_As_long(obj4
));
12021 if (SWIG_arg_fail(5)) SWIG_fail
;
12026 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
12027 if (SWIG_arg_fail(6)) SWIG_fail
;
12028 if (arg6
== NULL
) {
12029 SWIG_null_ref("wxValidator");
12031 if (SWIG_arg_fail(6)) SWIG_fail
;
12036 arg7
= wxString_in_helper(obj6
);
12037 if (arg7
== NULL
) SWIG_fail
;
12042 if (!wxPyCheckForApp()) SWIG_fail
;
12043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12044 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
12046 wxPyEndAllowThreads(__tstate
);
12047 if (PyErr_Occurred()) SWIG_fail
;
12049 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
12064 static PyObject
*_wrap_new_PreScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12065 PyObject
*resultobj
;
12066 wxScrollBar
*result
;
12067 char *kwnames
[] = {
12071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
12073 if (!wxPyCheckForApp()) SWIG_fail
;
12074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12075 result
= (wxScrollBar
*)new wxScrollBar();
12077 wxPyEndAllowThreads(__tstate
);
12078 if (PyErr_Occurred()) SWIG_fail
;
12080 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
12087 static PyObject
*_wrap_ScrollBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12088 PyObject
*resultobj
;
12089 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12090 wxWindow
*arg2
= (wxWindow
*) 0 ;
12091 int arg3
= (int) -1 ;
12092 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12093 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12094 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12095 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12096 long arg6
= (long) wxSB_HORIZONTAL
;
12097 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12098 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12099 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
12100 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12104 bool temp8
= false ;
12105 PyObject
* obj0
= 0 ;
12106 PyObject
* obj1
= 0 ;
12107 PyObject
* obj2
= 0 ;
12108 PyObject
* obj3
= 0 ;
12109 PyObject
* obj4
= 0 ;
12110 PyObject
* obj5
= 0 ;
12111 PyObject
* obj6
= 0 ;
12112 PyObject
* obj7
= 0 ;
12113 char *kwnames
[] = {
12114 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12119 if (SWIG_arg_fail(1)) SWIG_fail
;
12120 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12121 if (SWIG_arg_fail(2)) SWIG_fail
;
12124 arg3
= (int)(SWIG_As_int(obj2
));
12125 if (SWIG_arg_fail(3)) SWIG_fail
;
12131 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12137 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12142 arg6
= (long)(SWIG_As_long(obj5
));
12143 if (SWIG_arg_fail(6)) SWIG_fail
;
12148 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
12149 if (SWIG_arg_fail(7)) SWIG_fail
;
12150 if (arg7
== NULL
) {
12151 SWIG_null_ref("wxValidator");
12153 if (SWIG_arg_fail(7)) SWIG_fail
;
12158 arg8
= wxString_in_helper(obj7
);
12159 if (arg8
== NULL
) SWIG_fail
;
12164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12165 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12167 wxPyEndAllowThreads(__tstate
);
12168 if (PyErr_Occurred()) SWIG_fail
;
12171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12187 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12188 PyObject
*resultobj
;
12189 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12191 PyObject
* obj0
= 0 ;
12192 char *kwnames
[] = {
12193 (char *) "self", NULL
12196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
12197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12198 if (SWIG_arg_fail(1)) SWIG_fail
;
12200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12201 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
12203 wxPyEndAllowThreads(__tstate
);
12204 if (PyErr_Occurred()) SWIG_fail
;
12207 resultobj
= SWIG_From_int((int)(result
));
12215 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12216 PyObject
*resultobj
;
12217 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12219 PyObject
* obj0
= 0 ;
12220 char *kwnames
[] = {
12221 (char *) "self", NULL
12224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
12225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12226 if (SWIG_arg_fail(1)) SWIG_fail
;
12228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12229 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
12231 wxPyEndAllowThreads(__tstate
);
12232 if (PyErr_Occurred()) SWIG_fail
;
12235 resultobj
= SWIG_From_int((int)(result
));
12243 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12244 PyObject
*resultobj
;
12245 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12247 PyObject
* obj0
= 0 ;
12248 char *kwnames
[] = {
12249 (char *) "self", NULL
12252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
12253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12254 if (SWIG_arg_fail(1)) SWIG_fail
;
12256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12257 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
12259 wxPyEndAllowThreads(__tstate
);
12260 if (PyErr_Occurred()) SWIG_fail
;
12263 resultobj
= SWIG_From_int((int)(result
));
12271 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12272 PyObject
*resultobj
;
12273 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12275 PyObject
* obj0
= 0 ;
12276 char *kwnames
[] = {
12277 (char *) "self", NULL
12280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
12281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12282 if (SWIG_arg_fail(1)) SWIG_fail
;
12284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12285 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
12287 wxPyEndAllowThreads(__tstate
);
12288 if (PyErr_Occurred()) SWIG_fail
;
12291 resultobj
= SWIG_From_int((int)(result
));
12299 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12300 PyObject
*resultobj
;
12301 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12303 PyObject
* obj0
= 0 ;
12304 char *kwnames
[] = {
12305 (char *) "self", NULL
12308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
12309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12310 if (SWIG_arg_fail(1)) SWIG_fail
;
12312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12313 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
12315 wxPyEndAllowThreads(__tstate
);
12316 if (PyErr_Occurred()) SWIG_fail
;
12319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12327 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12328 PyObject
*resultobj
;
12329 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12331 PyObject
* obj0
= 0 ;
12332 PyObject
* obj1
= 0 ;
12333 char *kwnames
[] = {
12334 (char *) "self",(char *) "viewStart", NULL
12337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
12338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12339 if (SWIG_arg_fail(1)) SWIG_fail
;
12341 arg2
= (int)(SWIG_As_int(obj1
));
12342 if (SWIG_arg_fail(2)) SWIG_fail
;
12345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12346 (arg1
)->SetThumbPosition(arg2
);
12348 wxPyEndAllowThreads(__tstate
);
12349 if (PyErr_Occurred()) SWIG_fail
;
12351 Py_INCREF(Py_None
); resultobj
= Py_None
;
12358 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12359 PyObject
*resultobj
;
12360 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12365 bool arg6
= (bool) true ;
12366 PyObject
* obj0
= 0 ;
12367 PyObject
* obj1
= 0 ;
12368 PyObject
* obj2
= 0 ;
12369 PyObject
* obj3
= 0 ;
12370 PyObject
* obj4
= 0 ;
12371 PyObject
* obj5
= 0 ;
12372 char *kwnames
[] = {
12373 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
12376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12378 if (SWIG_arg_fail(1)) SWIG_fail
;
12380 arg2
= (int)(SWIG_As_int(obj1
));
12381 if (SWIG_arg_fail(2)) SWIG_fail
;
12384 arg3
= (int)(SWIG_As_int(obj2
));
12385 if (SWIG_arg_fail(3)) SWIG_fail
;
12388 arg4
= (int)(SWIG_As_int(obj3
));
12389 if (SWIG_arg_fail(4)) SWIG_fail
;
12392 arg5
= (int)(SWIG_As_int(obj4
));
12393 if (SWIG_arg_fail(5)) SWIG_fail
;
12397 arg6
= (bool)(SWIG_As_bool(obj5
));
12398 if (SWIG_arg_fail(6)) SWIG_fail
;
12402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12403 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
12405 wxPyEndAllowThreads(__tstate
);
12406 if (PyErr_Occurred()) SWIG_fail
;
12408 Py_INCREF(Py_None
); resultobj
= Py_None
;
12415 static PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12416 PyObject
*resultobj
;
12417 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
12418 wxVisualAttributes result
;
12419 PyObject
* obj0
= 0 ;
12420 char *kwnames
[] = {
12421 (char *) "variant", NULL
12424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12427 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
12428 if (SWIG_arg_fail(1)) SWIG_fail
;
12432 if (!wxPyCheckForApp()) SWIG_fail
;
12433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12434 result
= wxScrollBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12436 wxPyEndAllowThreads(__tstate
);
12437 if (PyErr_Occurred()) SWIG_fail
;
12440 wxVisualAttributes
* resultptr
;
12441 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
12442 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12450 static PyObject
* ScrollBar_swigregister(PyObject
*, PyObject
*args
) {
12452 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12453 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
12455 return Py_BuildValue((char *)"");
12457 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*) {
12458 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
12463 static PyObject
*_wrap_SPIN_BUTTON_NAME_get(void) {
12468 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
12470 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
12477 static int _wrap_SpinCtrlNameStr_set(PyObject
*) {
12478 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
12483 static PyObject
*_wrap_SpinCtrlNameStr_get(void) {
12488 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
12490 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
12497 static PyObject
*_wrap_new_SpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12498 PyObject
*resultobj
;
12499 wxWindow
*arg1
= (wxWindow
*) 0 ;
12500 int arg2
= (int) -1 ;
12501 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12502 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12503 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12504 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12505 long arg5
= (long) wxSP_HORIZONTAL
;
12506 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
12507 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12508 wxSpinButton
*result
;
12511 bool temp6
= false ;
12512 PyObject
* obj0
= 0 ;
12513 PyObject
* obj1
= 0 ;
12514 PyObject
* obj2
= 0 ;
12515 PyObject
* obj3
= 0 ;
12516 PyObject
* obj4
= 0 ;
12517 PyObject
* obj5
= 0 ;
12518 char *kwnames
[] = {
12519 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12524 if (SWIG_arg_fail(1)) SWIG_fail
;
12527 arg2
= (int)(SWIG_As_int(obj1
));
12528 if (SWIG_arg_fail(2)) SWIG_fail
;
12534 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12540 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12545 arg5
= (long)(SWIG_As_long(obj4
));
12546 if (SWIG_arg_fail(5)) SWIG_fail
;
12551 arg6
= wxString_in_helper(obj5
);
12552 if (arg6
== NULL
) SWIG_fail
;
12557 if (!wxPyCheckForApp()) SWIG_fail
;
12558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12559 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12561 wxPyEndAllowThreads(__tstate
);
12562 if (PyErr_Occurred()) SWIG_fail
;
12564 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
12579 static PyObject
*_wrap_new_PreSpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12580 PyObject
*resultobj
;
12581 wxSpinButton
*result
;
12582 char *kwnames
[] = {
12586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
12588 if (!wxPyCheckForApp()) SWIG_fail
;
12589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12590 result
= (wxSpinButton
*)new wxSpinButton();
12592 wxPyEndAllowThreads(__tstate
);
12593 if (PyErr_Occurred()) SWIG_fail
;
12595 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
12602 static PyObject
*_wrap_SpinButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12603 PyObject
*resultobj
;
12604 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12605 wxWindow
*arg2
= (wxWindow
*) 0 ;
12606 int arg3
= (int) -1 ;
12607 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12608 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12609 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12610 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12611 long arg6
= (long) wxSP_HORIZONTAL
;
12612 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
12613 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12617 bool temp7
= false ;
12618 PyObject
* obj0
= 0 ;
12619 PyObject
* obj1
= 0 ;
12620 PyObject
* obj2
= 0 ;
12621 PyObject
* obj3
= 0 ;
12622 PyObject
* obj4
= 0 ;
12623 PyObject
* obj5
= 0 ;
12624 PyObject
* obj6
= 0 ;
12625 char *kwnames
[] = {
12626 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12631 if (SWIG_arg_fail(1)) SWIG_fail
;
12632 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12633 if (SWIG_arg_fail(2)) SWIG_fail
;
12636 arg3
= (int)(SWIG_As_int(obj2
));
12637 if (SWIG_arg_fail(3)) SWIG_fail
;
12643 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12649 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12654 arg6
= (long)(SWIG_As_long(obj5
));
12655 if (SWIG_arg_fail(6)) SWIG_fail
;
12660 arg7
= wxString_in_helper(obj6
);
12661 if (arg7
== NULL
) SWIG_fail
;
12666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12667 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12669 wxPyEndAllowThreads(__tstate
);
12670 if (PyErr_Occurred()) SWIG_fail
;
12673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12689 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12690 PyObject
*resultobj
;
12691 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12693 PyObject
* obj0
= 0 ;
12694 char *kwnames
[] = {
12695 (char *) "self", NULL
12698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
12699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12700 if (SWIG_arg_fail(1)) SWIG_fail
;
12702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12703 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
12705 wxPyEndAllowThreads(__tstate
);
12706 if (PyErr_Occurred()) SWIG_fail
;
12709 resultobj
= SWIG_From_int((int)(result
));
12717 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12718 PyObject
*resultobj
;
12719 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12721 PyObject
* obj0
= 0 ;
12722 char *kwnames
[] = {
12723 (char *) "self", NULL
12726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
12727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12728 if (SWIG_arg_fail(1)) SWIG_fail
;
12730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12731 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
12733 wxPyEndAllowThreads(__tstate
);
12734 if (PyErr_Occurred()) SWIG_fail
;
12737 resultobj
= SWIG_From_int((int)(result
));
12745 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12746 PyObject
*resultobj
;
12747 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12749 PyObject
* obj0
= 0 ;
12750 char *kwnames
[] = {
12751 (char *) "self", NULL
12754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
12755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12756 if (SWIG_arg_fail(1)) SWIG_fail
;
12758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12759 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
12761 wxPyEndAllowThreads(__tstate
);
12762 if (PyErr_Occurred()) SWIG_fail
;
12765 resultobj
= SWIG_From_int((int)(result
));
12773 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12774 PyObject
*resultobj
;
12775 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12777 PyObject
* obj0
= 0 ;
12778 PyObject
* obj1
= 0 ;
12779 char *kwnames
[] = {
12780 (char *) "self",(char *) "val", NULL
12783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12785 if (SWIG_arg_fail(1)) SWIG_fail
;
12787 arg2
= (int)(SWIG_As_int(obj1
));
12788 if (SWIG_arg_fail(2)) SWIG_fail
;
12791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12792 (arg1
)->SetValue(arg2
);
12794 wxPyEndAllowThreads(__tstate
);
12795 if (PyErr_Occurred()) SWIG_fail
;
12797 Py_INCREF(Py_None
); resultobj
= Py_None
;
12804 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12805 PyObject
*resultobj
;
12806 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12808 PyObject
* obj0
= 0 ;
12809 PyObject
* obj1
= 0 ;
12810 char *kwnames
[] = {
12811 (char *) "self",(char *) "minVal", NULL
12814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
12815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12816 if (SWIG_arg_fail(1)) SWIG_fail
;
12818 arg2
= (int)(SWIG_As_int(obj1
));
12819 if (SWIG_arg_fail(2)) SWIG_fail
;
12822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12823 (arg1
)->SetMin(arg2
);
12825 wxPyEndAllowThreads(__tstate
);
12826 if (PyErr_Occurred()) SWIG_fail
;
12828 Py_INCREF(Py_None
); resultobj
= Py_None
;
12835 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12836 PyObject
*resultobj
;
12837 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12839 PyObject
* obj0
= 0 ;
12840 PyObject
* obj1
= 0 ;
12841 char *kwnames
[] = {
12842 (char *) "self",(char *) "maxVal", NULL
12845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
12846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12847 if (SWIG_arg_fail(1)) SWIG_fail
;
12849 arg2
= (int)(SWIG_As_int(obj1
));
12850 if (SWIG_arg_fail(2)) SWIG_fail
;
12853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12854 (arg1
)->SetMax(arg2
);
12856 wxPyEndAllowThreads(__tstate
);
12857 if (PyErr_Occurred()) SWIG_fail
;
12859 Py_INCREF(Py_None
); resultobj
= Py_None
;
12866 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12867 PyObject
*resultobj
;
12868 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12871 PyObject
* obj0
= 0 ;
12872 PyObject
* obj1
= 0 ;
12873 PyObject
* obj2
= 0 ;
12874 char *kwnames
[] = {
12875 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
12878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12880 if (SWIG_arg_fail(1)) SWIG_fail
;
12882 arg2
= (int)(SWIG_As_int(obj1
));
12883 if (SWIG_arg_fail(2)) SWIG_fail
;
12886 arg3
= (int)(SWIG_As_int(obj2
));
12887 if (SWIG_arg_fail(3)) SWIG_fail
;
12890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12891 (arg1
)->SetRange(arg2
,arg3
);
12893 wxPyEndAllowThreads(__tstate
);
12894 if (PyErr_Occurred()) SWIG_fail
;
12896 Py_INCREF(Py_None
); resultobj
= Py_None
;
12903 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12904 PyObject
*resultobj
;
12905 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12907 PyObject
* obj0
= 0 ;
12908 char *kwnames
[] = {
12909 (char *) "self", NULL
12912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
12913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12914 if (SWIG_arg_fail(1)) SWIG_fail
;
12916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12917 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
12919 wxPyEndAllowThreads(__tstate
);
12920 if (PyErr_Occurred()) SWIG_fail
;
12923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12931 static PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12932 PyObject
*resultobj
;
12933 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
12934 wxVisualAttributes result
;
12935 PyObject
* obj0
= 0 ;
12936 char *kwnames
[] = {
12937 (char *) "variant", NULL
12940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12943 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
12944 if (SWIG_arg_fail(1)) SWIG_fail
;
12948 if (!wxPyCheckForApp()) SWIG_fail
;
12949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12950 result
= wxSpinButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12952 wxPyEndAllowThreads(__tstate
);
12953 if (PyErr_Occurred()) SWIG_fail
;
12956 wxVisualAttributes
* resultptr
;
12957 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
12958 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12966 static PyObject
* SpinButton_swigregister(PyObject
*, PyObject
*args
) {
12968 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12969 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
12971 return Py_BuildValue((char *)"");
12973 static PyObject
*_wrap_new_SpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12974 PyObject
*resultobj
;
12975 wxWindow
*arg1
= (wxWindow
*) 0 ;
12976 int arg2
= (int) -1 ;
12977 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12978 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12979 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12980 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12981 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12982 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12983 long arg6
= (long) wxSP_ARROW_KEYS
;
12984 int arg7
= (int) 0 ;
12985 int arg8
= (int) 100 ;
12986 int arg9
= (int) 0 ;
12987 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
12988 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12989 wxSpinCtrl
*result
;
12990 bool temp3
= false ;
12993 bool temp10
= false ;
12994 PyObject
* obj0
= 0 ;
12995 PyObject
* obj1
= 0 ;
12996 PyObject
* obj2
= 0 ;
12997 PyObject
* obj3
= 0 ;
12998 PyObject
* obj4
= 0 ;
12999 PyObject
* obj5
= 0 ;
13000 PyObject
* obj6
= 0 ;
13001 PyObject
* obj7
= 0 ;
13002 PyObject
* obj8
= 0 ;
13003 PyObject
* obj9
= 0 ;
13004 char *kwnames
[] = {
13005 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
13008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
13009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13010 if (SWIG_arg_fail(1)) SWIG_fail
;
13013 arg2
= (int)(SWIG_As_int(obj1
));
13014 if (SWIG_arg_fail(2)) SWIG_fail
;
13019 arg3
= wxString_in_helper(obj2
);
13020 if (arg3
== NULL
) SWIG_fail
;
13027 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13033 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13038 arg6
= (long)(SWIG_As_long(obj5
));
13039 if (SWIG_arg_fail(6)) SWIG_fail
;
13044 arg7
= (int)(SWIG_As_int(obj6
));
13045 if (SWIG_arg_fail(7)) SWIG_fail
;
13050 arg8
= (int)(SWIG_As_int(obj7
));
13051 if (SWIG_arg_fail(8)) SWIG_fail
;
13056 arg9
= (int)(SWIG_As_int(obj8
));
13057 if (SWIG_arg_fail(9)) SWIG_fail
;
13062 arg10
= wxString_in_helper(obj9
);
13063 if (arg10
== NULL
) SWIG_fail
;
13068 if (!wxPyCheckForApp()) SWIG_fail
;
13069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13070 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
13072 wxPyEndAllowThreads(__tstate
);
13073 if (PyErr_Occurred()) SWIG_fail
;
13075 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
13098 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13099 PyObject
*resultobj
;
13100 wxSpinCtrl
*result
;
13101 char *kwnames
[] = {
13105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
13107 if (!wxPyCheckForApp()) SWIG_fail
;
13108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13109 result
= (wxSpinCtrl
*)new wxSpinCtrl();
13111 wxPyEndAllowThreads(__tstate
);
13112 if (PyErr_Occurred()) SWIG_fail
;
13114 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
13121 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13122 PyObject
*resultobj
;
13123 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13124 wxWindow
*arg2
= (wxWindow
*) 0 ;
13125 int arg3
= (int) -1 ;
13126 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13127 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13128 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13129 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13130 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13131 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13132 long arg7
= (long) wxSP_ARROW_KEYS
;
13133 int arg8
= (int) 0 ;
13134 int arg9
= (int) 100 ;
13135 int arg10
= (int) 0 ;
13136 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
13137 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
13139 bool temp4
= false ;
13142 bool temp11
= false ;
13143 PyObject
* obj0
= 0 ;
13144 PyObject
* obj1
= 0 ;
13145 PyObject
* obj2
= 0 ;
13146 PyObject
* obj3
= 0 ;
13147 PyObject
* obj4
= 0 ;
13148 PyObject
* obj5
= 0 ;
13149 PyObject
* obj6
= 0 ;
13150 PyObject
* obj7
= 0 ;
13151 PyObject
* obj8
= 0 ;
13152 PyObject
* obj9
= 0 ;
13153 PyObject
* obj10
= 0 ;
13154 char *kwnames
[] = {
13155 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
13158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
13159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13160 if (SWIG_arg_fail(1)) SWIG_fail
;
13161 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13162 if (SWIG_arg_fail(2)) SWIG_fail
;
13165 arg3
= (int)(SWIG_As_int(obj2
));
13166 if (SWIG_arg_fail(3)) SWIG_fail
;
13171 arg4
= wxString_in_helper(obj3
);
13172 if (arg4
== NULL
) SWIG_fail
;
13179 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13185 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13190 arg7
= (long)(SWIG_As_long(obj6
));
13191 if (SWIG_arg_fail(7)) SWIG_fail
;
13196 arg8
= (int)(SWIG_As_int(obj7
));
13197 if (SWIG_arg_fail(8)) SWIG_fail
;
13202 arg9
= (int)(SWIG_As_int(obj8
));
13203 if (SWIG_arg_fail(9)) SWIG_fail
;
13208 arg10
= (int)(SWIG_As_int(obj9
));
13209 if (SWIG_arg_fail(10)) SWIG_fail
;
13214 arg11
= wxString_in_helper(obj10
);
13215 if (arg11
== NULL
) SWIG_fail
;
13220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13221 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
13223 wxPyEndAllowThreads(__tstate
);
13224 if (PyErr_Occurred()) SWIG_fail
;
13227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13251 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13252 PyObject
*resultobj
;
13253 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13255 PyObject
* obj0
= 0 ;
13256 char *kwnames
[] = {
13257 (char *) "self", NULL
13260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
13261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13262 if (SWIG_arg_fail(1)) SWIG_fail
;
13264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13265 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
13267 wxPyEndAllowThreads(__tstate
);
13268 if (PyErr_Occurred()) SWIG_fail
;
13271 resultobj
= SWIG_From_int((int)(result
));
13279 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13280 PyObject
*resultobj
;
13281 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13283 PyObject
* obj0
= 0 ;
13284 PyObject
* obj1
= 0 ;
13285 char *kwnames
[] = {
13286 (char *) "self",(char *) "value", NULL
13289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) 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 arg2
= (int)(SWIG_As_int(obj1
));
13294 if (SWIG_arg_fail(2)) SWIG_fail
;
13297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13298 (arg1
)->SetValue(arg2
);
13300 wxPyEndAllowThreads(__tstate
);
13301 if (PyErr_Occurred()) SWIG_fail
;
13303 Py_INCREF(Py_None
); resultobj
= Py_None
;
13310 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13311 PyObject
*resultobj
;
13312 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13313 wxString
*arg2
= 0 ;
13314 bool temp2
= false ;
13315 PyObject
* obj0
= 0 ;
13316 PyObject
* obj1
= 0 ;
13317 char *kwnames
[] = {
13318 (char *) "self",(char *) "text", NULL
13321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
13322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13323 if (SWIG_arg_fail(1)) SWIG_fail
;
13325 arg2
= wxString_in_helper(obj1
);
13326 if (arg2
== NULL
) SWIG_fail
;
13330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13331 (arg1
)->SetValue((wxString
const &)*arg2
);
13333 wxPyEndAllowThreads(__tstate
);
13334 if (PyErr_Occurred()) SWIG_fail
;
13336 Py_INCREF(Py_None
); resultobj
= Py_None
;
13351 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13352 PyObject
*resultobj
;
13353 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13356 PyObject
* obj0
= 0 ;
13357 PyObject
* obj1
= 0 ;
13358 PyObject
* obj2
= 0 ;
13359 char *kwnames
[] = {
13360 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
13363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13365 if (SWIG_arg_fail(1)) SWIG_fail
;
13367 arg2
= (int)(SWIG_As_int(obj1
));
13368 if (SWIG_arg_fail(2)) SWIG_fail
;
13371 arg3
= (int)(SWIG_As_int(obj2
));
13372 if (SWIG_arg_fail(3)) SWIG_fail
;
13375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13376 (arg1
)->SetRange(arg2
,arg3
);
13378 wxPyEndAllowThreads(__tstate
);
13379 if (PyErr_Occurred()) SWIG_fail
;
13381 Py_INCREF(Py_None
); resultobj
= Py_None
;
13388 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13389 PyObject
*resultobj
;
13390 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13392 PyObject
* obj0
= 0 ;
13393 char *kwnames
[] = {
13394 (char *) "self", NULL
13397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
13398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13399 if (SWIG_arg_fail(1)) SWIG_fail
;
13401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13402 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
13404 wxPyEndAllowThreads(__tstate
);
13405 if (PyErr_Occurred()) SWIG_fail
;
13408 resultobj
= SWIG_From_int((int)(result
));
13416 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13417 PyObject
*resultobj
;
13418 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13420 PyObject
* obj0
= 0 ;
13421 char *kwnames
[] = {
13422 (char *) "self", NULL
13425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
13426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13427 if (SWIG_arg_fail(1)) SWIG_fail
;
13429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13430 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
13432 wxPyEndAllowThreads(__tstate
);
13433 if (PyErr_Occurred()) SWIG_fail
;
13436 resultobj
= SWIG_From_int((int)(result
));
13444 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13445 PyObject
*resultobj
;
13446 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13449 PyObject
* obj0
= 0 ;
13450 PyObject
* obj1
= 0 ;
13451 PyObject
* obj2
= 0 ;
13452 char *kwnames
[] = {
13453 (char *) "self",(char *) "from",(char *) "to", NULL
13456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13458 if (SWIG_arg_fail(1)) SWIG_fail
;
13460 arg2
= (long)(SWIG_As_long(obj1
));
13461 if (SWIG_arg_fail(2)) SWIG_fail
;
13464 arg3
= (long)(SWIG_As_long(obj2
));
13465 if (SWIG_arg_fail(3)) SWIG_fail
;
13468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13469 (arg1
)->SetSelection(arg2
,arg3
);
13471 wxPyEndAllowThreads(__tstate
);
13472 if (PyErr_Occurred()) SWIG_fail
;
13474 Py_INCREF(Py_None
); resultobj
= Py_None
;
13481 static PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13482 PyObject
*resultobj
;
13483 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13484 wxVisualAttributes result
;
13485 PyObject
* obj0
= 0 ;
13486 char *kwnames
[] = {
13487 (char *) "variant", NULL
13490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13493 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
13494 if (SWIG_arg_fail(1)) SWIG_fail
;
13498 if (!wxPyCheckForApp()) SWIG_fail
;
13499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13500 result
= wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13502 wxPyEndAllowThreads(__tstate
);
13503 if (PyErr_Occurred()) SWIG_fail
;
13506 wxVisualAttributes
* resultptr
;
13507 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
13508 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13516 static PyObject
* SpinCtrl_swigregister(PyObject
*, PyObject
*args
) {
13518 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13519 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
13521 return Py_BuildValue((char *)"");
13523 static PyObject
*_wrap_new_SpinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13524 PyObject
*resultobj
;
13525 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13526 int arg2
= (int) 0 ;
13527 wxSpinEvent
*result
;
13528 PyObject
* obj0
= 0 ;
13529 PyObject
* obj1
= 0 ;
13530 char *kwnames
[] = {
13531 (char *) "commandType",(char *) "winid", NULL
13534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13537 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
13538 if (SWIG_arg_fail(1)) SWIG_fail
;
13543 arg2
= (int)(SWIG_As_int(obj1
));
13544 if (SWIG_arg_fail(2)) SWIG_fail
;
13548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13549 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
13551 wxPyEndAllowThreads(__tstate
);
13552 if (PyErr_Occurred()) SWIG_fail
;
13554 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
13561 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13562 PyObject
*resultobj
;
13563 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
13565 PyObject
* obj0
= 0 ;
13566 char *kwnames
[] = {
13567 (char *) "self", NULL
13570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_EXCEPTION
| 0);
13572 if (SWIG_arg_fail(1)) SWIG_fail
;
13574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13575 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
13577 wxPyEndAllowThreads(__tstate
);
13578 if (PyErr_Occurred()) SWIG_fail
;
13581 resultobj
= SWIG_From_int((int)(result
));
13589 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13590 PyObject
*resultobj
;
13591 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
13593 PyObject
* obj0
= 0 ;
13594 PyObject
* obj1
= 0 ;
13595 char *kwnames
[] = {
13596 (char *) "self",(char *) "pos", NULL
13599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_EXCEPTION
| 0);
13601 if (SWIG_arg_fail(1)) SWIG_fail
;
13603 arg2
= (int)(SWIG_As_int(obj1
));
13604 if (SWIG_arg_fail(2)) SWIG_fail
;
13607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13608 (arg1
)->SetPosition(arg2
);
13610 wxPyEndAllowThreads(__tstate
);
13611 if (PyErr_Occurred()) SWIG_fail
;
13613 Py_INCREF(Py_None
); resultobj
= Py_None
;
13620 static PyObject
* SpinEvent_swigregister(PyObject
*, PyObject
*args
) {
13622 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13623 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
13625 return Py_BuildValue((char *)"");
13627 static int _wrap_RadioBoxNameStr_set(PyObject
*) {
13628 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
13633 static PyObject
*_wrap_RadioBoxNameStr_get(void) {
13638 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
13640 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
13647 static int _wrap_RadioButtonNameStr_set(PyObject
*) {
13648 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
13653 static PyObject
*_wrap_RadioButtonNameStr_get(void) {
13658 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
13660 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
13667 static PyObject
*_wrap_new_RadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13668 PyObject
*resultobj
;
13669 wxWindow
*arg1
= (wxWindow
*) 0 ;
13670 int arg2
= (int) -1 ;
13671 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13672 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13673 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13674 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13675 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13676 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13677 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
13678 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
13679 int arg7
= (int) 0 ;
13680 long arg8
= (long) wxRA_HORIZONTAL
;
13681 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
13682 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
13683 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
13684 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
13685 wxRadioBox
*result
;
13686 bool temp3
= false ;
13689 bool temp6
= false ;
13690 bool temp10
= false ;
13691 PyObject
* obj0
= 0 ;
13692 PyObject
* obj1
= 0 ;
13693 PyObject
* obj2
= 0 ;
13694 PyObject
* obj3
= 0 ;
13695 PyObject
* obj4
= 0 ;
13696 PyObject
* obj5
= 0 ;
13697 PyObject
* obj6
= 0 ;
13698 PyObject
* obj7
= 0 ;
13699 PyObject
* obj8
= 0 ;
13700 PyObject
* obj9
= 0 ;
13701 char *kwnames
[] = {
13702 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
13706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13707 if (SWIG_arg_fail(1)) SWIG_fail
;
13710 arg2
= (int)(SWIG_As_int(obj1
));
13711 if (SWIG_arg_fail(2)) SWIG_fail
;
13716 arg3
= wxString_in_helper(obj2
);
13717 if (arg3
== NULL
) SWIG_fail
;
13724 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13730 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13735 if (! PySequence_Check(obj5
)) {
13736 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13739 arg6
= new wxArrayString
;
13741 int i
, len
=PySequence_Length(obj5
);
13742 for (i
=0; i
<len
; i
++) {
13743 PyObject
* item
= PySequence_GetItem(obj5
, i
);
13745 PyObject
* str
= PyObject_Unicode(item
);
13747 PyObject
* str
= PyObject_Str(item
);
13749 if (PyErr_Occurred()) SWIG_fail
;
13750 arg6
->Add(Py2wxString(str
));
13758 arg7
= (int)(SWIG_As_int(obj6
));
13759 if (SWIG_arg_fail(7)) SWIG_fail
;
13764 arg8
= (long)(SWIG_As_long(obj7
));
13765 if (SWIG_arg_fail(8)) SWIG_fail
;
13770 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
13771 if (SWIG_arg_fail(9)) SWIG_fail
;
13772 if (arg9
== NULL
) {
13773 SWIG_null_ref("wxValidator");
13775 if (SWIG_arg_fail(9)) SWIG_fail
;
13780 arg10
= wxString_in_helper(obj9
);
13781 if (arg10
== NULL
) SWIG_fail
;
13786 if (!wxPyCheckForApp()) SWIG_fail
;
13787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13788 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
);
13790 wxPyEndAllowThreads(__tstate
);
13791 if (PyErr_Occurred()) SWIG_fail
;
13793 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
13799 if (temp6
) delete arg6
;
13812 if (temp6
) delete arg6
;
13822 static PyObject
*_wrap_new_PreRadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13823 PyObject
*resultobj
;
13824 wxRadioBox
*result
;
13825 char *kwnames
[] = {
13829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
13831 if (!wxPyCheckForApp()) SWIG_fail
;
13832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13833 result
= (wxRadioBox
*)new wxRadioBox();
13835 wxPyEndAllowThreads(__tstate
);
13836 if (PyErr_Occurred()) SWIG_fail
;
13838 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
13845 static PyObject
*_wrap_RadioBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13846 PyObject
*resultobj
;
13847 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13848 wxWindow
*arg2
= (wxWindow
*) 0 ;
13849 int arg3
= (int) -1 ;
13850 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13851 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13852 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13853 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13854 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13855 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13856 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
13857 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
13858 int arg8
= (int) 0 ;
13859 long arg9
= (long) wxRA_HORIZONTAL
;
13860 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
13861 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
13862 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
13863 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
13865 bool temp4
= false ;
13868 bool temp7
= false ;
13869 bool temp11
= false ;
13870 PyObject
* obj0
= 0 ;
13871 PyObject
* obj1
= 0 ;
13872 PyObject
* obj2
= 0 ;
13873 PyObject
* obj3
= 0 ;
13874 PyObject
* obj4
= 0 ;
13875 PyObject
* obj5
= 0 ;
13876 PyObject
* obj6
= 0 ;
13877 PyObject
* obj7
= 0 ;
13878 PyObject
* obj8
= 0 ;
13879 PyObject
* obj9
= 0 ;
13880 PyObject
* obj10
= 0 ;
13881 char *kwnames
[] = {
13882 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
13886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13887 if (SWIG_arg_fail(1)) SWIG_fail
;
13888 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13889 if (SWIG_arg_fail(2)) SWIG_fail
;
13892 arg3
= (int)(SWIG_As_int(obj2
));
13893 if (SWIG_arg_fail(3)) SWIG_fail
;
13898 arg4
= wxString_in_helper(obj3
);
13899 if (arg4
== NULL
) SWIG_fail
;
13906 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13912 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13917 if (! PySequence_Check(obj6
)) {
13918 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13921 arg7
= new wxArrayString
;
13923 int i
, len
=PySequence_Length(obj6
);
13924 for (i
=0; i
<len
; i
++) {
13925 PyObject
* item
= PySequence_GetItem(obj6
, i
);
13927 PyObject
* str
= PyObject_Unicode(item
);
13929 PyObject
* str
= PyObject_Str(item
);
13931 if (PyErr_Occurred()) SWIG_fail
;
13932 arg7
->Add(Py2wxString(str
));
13940 arg8
= (int)(SWIG_As_int(obj7
));
13941 if (SWIG_arg_fail(8)) SWIG_fail
;
13946 arg9
= (long)(SWIG_As_long(obj8
));
13947 if (SWIG_arg_fail(9)) SWIG_fail
;
13952 SWIG_Python_ConvertPtr(obj9
, (void **)&arg10
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
13953 if (SWIG_arg_fail(10)) SWIG_fail
;
13954 if (arg10
== NULL
) {
13955 SWIG_null_ref("wxValidator");
13957 if (SWIG_arg_fail(10)) SWIG_fail
;
13962 arg11
= wxString_in_helper(obj10
);
13963 if (arg11
== NULL
) SWIG_fail
;
13968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13969 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
);
13971 wxPyEndAllowThreads(__tstate
);
13972 if (PyErr_Occurred()) SWIG_fail
;
13975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13982 if (temp7
) delete arg7
;
13995 if (temp7
) delete arg7
;
14005 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14006 PyObject
*resultobj
;
14007 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14009 PyObject
* obj0
= 0 ;
14010 PyObject
* obj1
= 0 ;
14011 char *kwnames
[] = {
14012 (char *) "self",(char *) "n", NULL
14015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14017 if (SWIG_arg_fail(1)) SWIG_fail
;
14019 arg2
= (int)(SWIG_As_int(obj1
));
14020 if (SWIG_arg_fail(2)) SWIG_fail
;
14023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14024 (arg1
)->SetSelection(arg2
);
14026 wxPyEndAllowThreads(__tstate
);
14027 if (PyErr_Occurred()) SWIG_fail
;
14029 Py_INCREF(Py_None
); resultobj
= Py_None
;
14036 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14037 PyObject
*resultobj
;
14038 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14040 PyObject
* obj0
= 0 ;
14041 char *kwnames
[] = {
14042 (char *) "self", NULL
14045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
14046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14047 if (SWIG_arg_fail(1)) SWIG_fail
;
14049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14050 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
14052 wxPyEndAllowThreads(__tstate
);
14053 if (PyErr_Occurred()) SWIG_fail
;
14056 resultobj
= SWIG_From_int((int)(result
));
14064 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14065 PyObject
*resultobj
;
14066 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14068 PyObject
* obj0
= 0 ;
14069 char *kwnames
[] = {
14070 (char *) "self", NULL
14073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
14074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14075 if (SWIG_arg_fail(1)) SWIG_fail
;
14077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14078 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
14080 wxPyEndAllowThreads(__tstate
);
14081 if (PyErr_Occurred()) SWIG_fail
;
14085 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14087 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14096 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14097 PyObject
*resultobj
;
14098 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14099 wxString
*arg2
= 0 ;
14101 bool temp2
= false ;
14102 PyObject
* obj0
= 0 ;
14103 PyObject
* obj1
= 0 ;
14104 char *kwnames
[] = {
14105 (char *) "self",(char *) "s", NULL
14108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14110 if (SWIG_arg_fail(1)) SWIG_fail
;
14112 arg2
= wxString_in_helper(obj1
);
14113 if (arg2
== NULL
) SWIG_fail
;
14117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14118 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
14120 wxPyEndAllowThreads(__tstate
);
14121 if (PyErr_Occurred()) SWIG_fail
;
14124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14140 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14141 PyObject
*resultobj
;
14142 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14144 PyObject
* obj0
= 0 ;
14145 char *kwnames
[] = {
14146 (char *) "self", NULL
14149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
14150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14151 if (SWIG_arg_fail(1)) SWIG_fail
;
14153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14154 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
14156 wxPyEndAllowThreads(__tstate
);
14157 if (PyErr_Occurred()) SWIG_fail
;
14160 resultobj
= SWIG_From_int((int)(result
));
14168 static PyObject
*_wrap_RadioBox_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14169 PyObject
*resultobj
;
14170 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14171 wxString
*arg2
= 0 ;
14173 bool temp2
= false ;
14174 PyObject
* obj0
= 0 ;
14175 PyObject
* obj1
= 0 ;
14176 char *kwnames
[] = {
14177 (char *) "self",(char *) "s", NULL
14180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14182 if (SWIG_arg_fail(1)) SWIG_fail
;
14184 arg2
= wxString_in_helper(obj1
);
14185 if (arg2
== NULL
) SWIG_fail
;
14189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14190 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
14192 wxPyEndAllowThreads(__tstate
);
14193 if (PyErr_Occurred()) SWIG_fail
;
14196 resultobj
= SWIG_From_int((int)(result
));
14212 static PyObject
*_wrap_RadioBox_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14213 PyObject
*resultobj
;
14214 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14217 PyObject
* obj0
= 0 ;
14218 PyObject
* obj1
= 0 ;
14219 char *kwnames
[] = {
14220 (char *) "self",(char *) "n", NULL
14223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
14224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14225 if (SWIG_arg_fail(1)) SWIG_fail
;
14227 arg2
= (int)(SWIG_As_int(obj1
));
14228 if (SWIG_arg_fail(2)) SWIG_fail
;
14231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14232 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
14234 wxPyEndAllowThreads(__tstate
);
14235 if (PyErr_Occurred()) SWIG_fail
;
14239 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14241 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14250 static PyObject
*_wrap_RadioBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14251 PyObject
*resultobj
;
14252 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14254 wxString
*arg3
= 0 ;
14255 bool temp3
= false ;
14256 PyObject
* obj0
= 0 ;
14257 PyObject
* obj1
= 0 ;
14258 PyObject
* obj2
= 0 ;
14259 char *kwnames
[] = {
14260 (char *) "self",(char *) "n",(char *) "label", NULL
14263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14265 if (SWIG_arg_fail(1)) SWIG_fail
;
14267 arg2
= (int)(SWIG_As_int(obj1
));
14268 if (SWIG_arg_fail(2)) SWIG_fail
;
14271 arg3
= wxString_in_helper(obj2
);
14272 if (arg3
== NULL
) SWIG_fail
;
14276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14277 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
14279 wxPyEndAllowThreads(__tstate
);
14280 if (PyErr_Occurred()) SWIG_fail
;
14282 Py_INCREF(Py_None
); resultobj
= Py_None
;
14297 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14298 PyObject
*resultobj
;
14299 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14301 bool arg3
= (bool) true ;
14302 PyObject
* obj0
= 0 ;
14303 PyObject
* obj1
= 0 ;
14304 PyObject
* obj2
= 0 ;
14305 char *kwnames
[] = {
14306 (char *) "self",(char *) "n",(char *) "enable", NULL
14309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14311 if (SWIG_arg_fail(1)) SWIG_fail
;
14313 arg2
= (int)(SWIG_As_int(obj1
));
14314 if (SWIG_arg_fail(2)) SWIG_fail
;
14318 arg3
= (bool)(SWIG_As_bool(obj2
));
14319 if (SWIG_arg_fail(3)) SWIG_fail
;
14323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14324 (arg1
)->Enable(arg2
,arg3
);
14326 wxPyEndAllowThreads(__tstate
);
14327 if (PyErr_Occurred()) SWIG_fail
;
14329 Py_INCREF(Py_None
); resultobj
= Py_None
;
14336 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14337 PyObject
*resultobj
;
14338 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14340 bool arg3
= (bool) true ;
14341 PyObject
* obj0
= 0 ;
14342 PyObject
* obj1
= 0 ;
14343 PyObject
* obj2
= 0 ;
14344 char *kwnames
[] = {
14345 (char *) "self",(char *) "n",(char *) "show", NULL
14348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14350 if (SWIG_arg_fail(1)) SWIG_fail
;
14352 arg2
= (int)(SWIG_As_int(obj1
));
14353 if (SWIG_arg_fail(2)) SWIG_fail
;
14357 arg3
= (bool)(SWIG_As_bool(obj2
));
14358 if (SWIG_arg_fail(3)) SWIG_fail
;
14362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14363 (arg1
)->Show(arg2
,arg3
);
14365 wxPyEndAllowThreads(__tstate
);
14366 if (PyErr_Occurred()) SWIG_fail
;
14368 Py_INCREF(Py_None
); resultobj
= Py_None
;
14375 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14376 PyObject
*resultobj
;
14377 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14379 PyObject
* obj0
= 0 ;
14380 char *kwnames
[] = {
14381 (char *) "self", NULL
14384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
14385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14386 if (SWIG_arg_fail(1)) SWIG_fail
;
14388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14389 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
14391 wxPyEndAllowThreads(__tstate
);
14392 if (PyErr_Occurred()) SWIG_fail
;
14395 resultobj
= SWIG_From_int((int)(result
));
14403 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14404 PyObject
*resultobj
;
14405 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14407 PyObject
* obj0
= 0 ;
14408 char *kwnames
[] = {
14409 (char *) "self", NULL
14412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
14413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14414 if (SWIG_arg_fail(1)) SWIG_fail
;
14416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14417 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
14419 wxPyEndAllowThreads(__tstate
);
14420 if (PyErr_Occurred()) SWIG_fail
;
14423 resultobj
= SWIG_From_int((int)(result
));
14431 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14432 PyObject
*resultobj
;
14433 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14438 PyObject
* obj0
= 0 ;
14439 PyObject
* obj1
= 0 ;
14440 PyObject
* obj2
= 0 ;
14441 PyObject
* obj3
= 0 ;
14442 char *kwnames
[] = {
14443 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
14446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14448 if (SWIG_arg_fail(1)) SWIG_fail
;
14450 arg2
= (int)(SWIG_As_int(obj1
));
14451 if (SWIG_arg_fail(2)) SWIG_fail
;
14454 arg3
= (wxDirection
)(SWIG_As_int(obj2
));
14455 if (SWIG_arg_fail(3)) SWIG_fail
;
14458 arg4
= (long)(SWIG_As_long(obj3
));
14459 if (SWIG_arg_fail(4)) SWIG_fail
;
14462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14463 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
14465 wxPyEndAllowThreads(__tstate
);
14466 if (PyErr_Occurred()) SWIG_fail
;
14469 resultobj
= SWIG_From_int((int)(result
));
14477 static PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14478 PyObject
*resultobj
;
14479 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14480 wxVisualAttributes result
;
14481 PyObject
* obj0
= 0 ;
14482 char *kwnames
[] = {
14483 (char *) "variant", NULL
14486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14489 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
14490 if (SWIG_arg_fail(1)) SWIG_fail
;
14494 if (!wxPyCheckForApp()) SWIG_fail
;
14495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14496 result
= wxRadioBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14498 wxPyEndAllowThreads(__tstate
);
14499 if (PyErr_Occurred()) SWIG_fail
;
14502 wxVisualAttributes
* resultptr
;
14503 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
14504 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14512 static PyObject
* RadioBox_swigregister(PyObject
*, PyObject
*args
) {
14514 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14515 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
14517 return Py_BuildValue((char *)"");
14519 static PyObject
*_wrap_new_RadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14520 PyObject
*resultobj
;
14521 wxWindow
*arg1
= (wxWindow
*) 0 ;
14522 int arg2
= (int) -1 ;
14523 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14524 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14525 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14526 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14527 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14528 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14529 long arg6
= (long) 0 ;
14530 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14531 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14532 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
14533 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14534 wxRadioButton
*result
;
14535 bool temp3
= false ;
14538 bool temp8
= false ;
14539 PyObject
* obj0
= 0 ;
14540 PyObject
* obj1
= 0 ;
14541 PyObject
* obj2
= 0 ;
14542 PyObject
* obj3
= 0 ;
14543 PyObject
* obj4
= 0 ;
14544 PyObject
* obj5
= 0 ;
14545 PyObject
* obj6
= 0 ;
14546 PyObject
* obj7
= 0 ;
14547 char *kwnames
[] = {
14548 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14553 if (SWIG_arg_fail(1)) SWIG_fail
;
14556 arg2
= (int)(SWIG_As_int(obj1
));
14557 if (SWIG_arg_fail(2)) SWIG_fail
;
14562 arg3
= wxString_in_helper(obj2
);
14563 if (arg3
== NULL
) SWIG_fail
;
14570 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14576 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14581 arg6
= (long)(SWIG_As_long(obj5
));
14582 if (SWIG_arg_fail(6)) SWIG_fail
;
14587 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14588 if (SWIG_arg_fail(7)) SWIG_fail
;
14589 if (arg7
== NULL
) {
14590 SWIG_null_ref("wxValidator");
14592 if (SWIG_arg_fail(7)) SWIG_fail
;
14597 arg8
= wxString_in_helper(obj7
);
14598 if (arg8
== NULL
) SWIG_fail
;
14603 if (!wxPyCheckForApp()) SWIG_fail
;
14604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14605 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14607 wxPyEndAllowThreads(__tstate
);
14608 if (PyErr_Occurred()) SWIG_fail
;
14610 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
14633 static PyObject
*_wrap_new_PreRadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14634 PyObject
*resultobj
;
14635 wxRadioButton
*result
;
14636 char *kwnames
[] = {
14640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
14642 if (!wxPyCheckForApp()) SWIG_fail
;
14643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14644 result
= (wxRadioButton
*)new wxRadioButton();
14646 wxPyEndAllowThreads(__tstate
);
14647 if (PyErr_Occurred()) SWIG_fail
;
14649 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
14656 static PyObject
*_wrap_RadioButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14657 PyObject
*resultobj
;
14658 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14659 wxWindow
*arg2
= (wxWindow
*) 0 ;
14660 int arg3
= (int) -1 ;
14661 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14662 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14663 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14664 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14665 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14666 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14667 long arg7
= (long) 0 ;
14668 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
14669 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
14670 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
14671 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
14673 bool temp4
= false ;
14676 bool temp9
= false ;
14677 PyObject
* obj0
= 0 ;
14678 PyObject
* obj1
= 0 ;
14679 PyObject
* obj2
= 0 ;
14680 PyObject
* obj3
= 0 ;
14681 PyObject
* obj4
= 0 ;
14682 PyObject
* obj5
= 0 ;
14683 PyObject
* obj6
= 0 ;
14684 PyObject
* obj7
= 0 ;
14685 PyObject
* obj8
= 0 ;
14686 char *kwnames
[] = {
14687 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
14691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14692 if (SWIG_arg_fail(1)) SWIG_fail
;
14693 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14694 if (SWIG_arg_fail(2)) SWIG_fail
;
14697 arg3
= (int)(SWIG_As_int(obj2
));
14698 if (SWIG_arg_fail(3)) SWIG_fail
;
14703 arg4
= wxString_in_helper(obj3
);
14704 if (arg4
== NULL
) SWIG_fail
;
14711 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14717 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14722 arg7
= (long)(SWIG_As_long(obj6
));
14723 if (SWIG_arg_fail(7)) SWIG_fail
;
14728 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14729 if (SWIG_arg_fail(8)) SWIG_fail
;
14730 if (arg8
== NULL
) {
14731 SWIG_null_ref("wxValidator");
14733 if (SWIG_arg_fail(8)) SWIG_fail
;
14738 arg9
= wxString_in_helper(obj8
);
14739 if (arg9
== NULL
) SWIG_fail
;
14744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14745 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
14747 wxPyEndAllowThreads(__tstate
);
14748 if (PyErr_Occurred()) SWIG_fail
;
14751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14775 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14776 PyObject
*resultobj
;
14777 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14779 PyObject
* obj0
= 0 ;
14780 char *kwnames
[] = {
14781 (char *) "self", NULL
14784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
14785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14786 if (SWIG_arg_fail(1)) SWIG_fail
;
14788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14789 result
= (bool)(arg1
)->GetValue();
14791 wxPyEndAllowThreads(__tstate
);
14792 if (PyErr_Occurred()) SWIG_fail
;
14795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14803 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14804 PyObject
*resultobj
;
14805 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14807 PyObject
* obj0
= 0 ;
14808 PyObject
* obj1
= 0 ;
14809 char *kwnames
[] = {
14810 (char *) "self",(char *) "value", NULL
14813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
14814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14815 if (SWIG_arg_fail(1)) SWIG_fail
;
14817 arg2
= (bool)(SWIG_As_bool(obj1
));
14818 if (SWIG_arg_fail(2)) SWIG_fail
;
14821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14822 (arg1
)->SetValue(arg2
);
14824 wxPyEndAllowThreads(__tstate
);
14825 if (PyErr_Occurred()) SWIG_fail
;
14827 Py_INCREF(Py_None
); resultobj
= Py_None
;
14834 static PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14835 PyObject
*resultobj
;
14836 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14837 wxVisualAttributes result
;
14838 PyObject
* obj0
= 0 ;
14839 char *kwnames
[] = {
14840 (char *) "variant", NULL
14843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14846 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
14847 if (SWIG_arg_fail(1)) SWIG_fail
;
14851 if (!wxPyCheckForApp()) SWIG_fail
;
14852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14853 result
= wxRadioButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14855 wxPyEndAllowThreads(__tstate
);
14856 if (PyErr_Occurred()) SWIG_fail
;
14859 wxVisualAttributes
* resultptr
;
14860 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
14861 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14869 static PyObject
* RadioButton_swigregister(PyObject
*, PyObject
*args
) {
14871 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14872 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
14874 return Py_BuildValue((char *)"");
14876 static int _wrap_SliderNameStr_set(PyObject
*) {
14877 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
14882 static PyObject
*_wrap_SliderNameStr_get(void) {
14887 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
14889 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
14896 static PyObject
*_wrap_new_Slider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14897 PyObject
*resultobj
;
14898 wxWindow
*arg1
= (wxWindow
*) 0 ;
14899 int arg2
= (int) -1 ;
14900 int arg3
= (int) 0 ;
14901 int arg4
= (int) 0 ;
14902 int arg5
= (int) 100 ;
14903 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
14904 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
14905 wxSize
const &arg7_defvalue
= wxDefaultSize
;
14906 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
14907 long arg8
= (long) wxSL_HORIZONTAL
;
14908 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
14909 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
14910 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
14911 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
14915 bool temp10
= false ;
14916 PyObject
* obj0
= 0 ;
14917 PyObject
* obj1
= 0 ;
14918 PyObject
* obj2
= 0 ;
14919 PyObject
* obj3
= 0 ;
14920 PyObject
* obj4
= 0 ;
14921 PyObject
* obj5
= 0 ;
14922 PyObject
* obj6
= 0 ;
14923 PyObject
* obj7
= 0 ;
14924 PyObject
* obj8
= 0 ;
14925 PyObject
* obj9
= 0 ;
14926 char *kwnames
[] = {
14927 (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 *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
14931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14932 if (SWIG_arg_fail(1)) SWIG_fail
;
14935 arg2
= (int)(SWIG_As_int(obj1
));
14936 if (SWIG_arg_fail(2)) SWIG_fail
;
14941 arg3
= (int)(SWIG_As_int(obj2
));
14942 if (SWIG_arg_fail(3)) SWIG_fail
;
14947 arg4
= (int)(SWIG_As_int(obj3
));
14948 if (SWIG_arg_fail(4)) SWIG_fail
;
14953 arg5
= (int)(SWIG_As_int(obj4
));
14954 if (SWIG_arg_fail(5)) SWIG_fail
;
14960 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
14966 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
14971 arg8
= (long)(SWIG_As_long(obj7
));
14972 if (SWIG_arg_fail(8)) SWIG_fail
;
14977 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14978 if (SWIG_arg_fail(9)) SWIG_fail
;
14979 if (arg9
== NULL
) {
14980 SWIG_null_ref("wxValidator");
14982 if (SWIG_arg_fail(9)) SWIG_fail
;
14987 arg10
= wxString_in_helper(obj9
);
14988 if (arg10
== NULL
) SWIG_fail
;
14993 if (!wxPyCheckForApp()) SWIG_fail
;
14994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14995 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
14997 wxPyEndAllowThreads(__tstate
);
14998 if (PyErr_Occurred()) SWIG_fail
;
15000 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
15015 static PyObject
*_wrap_new_PreSlider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15016 PyObject
*resultobj
;
15018 char *kwnames
[] = {
15022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
15024 if (!wxPyCheckForApp()) SWIG_fail
;
15025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15026 result
= (wxSlider
*)new wxSlider();
15028 wxPyEndAllowThreads(__tstate
);
15029 if (PyErr_Occurred()) SWIG_fail
;
15031 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
15038 static PyObject
*_wrap_Slider_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15039 PyObject
*resultobj
;
15040 wxSlider
*arg1
= (wxSlider
*) 0 ;
15041 wxWindow
*arg2
= (wxWindow
*) 0 ;
15042 int arg3
= (int) -1 ;
15043 int arg4
= (int) 0 ;
15044 int arg5
= (int) 0 ;
15045 int arg6
= (int) 100 ;
15046 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
15047 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
15048 wxSize
const &arg8_defvalue
= wxDefaultSize
;
15049 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
15050 long arg9
= (long) wxSL_HORIZONTAL
;
15051 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
15052 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
15053 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
15054 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15058 bool temp11
= false ;
15059 PyObject
* obj0
= 0 ;
15060 PyObject
* obj1
= 0 ;
15061 PyObject
* obj2
= 0 ;
15062 PyObject
* obj3
= 0 ;
15063 PyObject
* obj4
= 0 ;
15064 PyObject
* obj5
= 0 ;
15065 PyObject
* obj6
= 0 ;
15066 PyObject
* obj7
= 0 ;
15067 PyObject
* obj8
= 0 ;
15068 PyObject
* obj9
= 0 ;
15069 PyObject
* obj10
= 0 ;
15070 char *kwnames
[] = {
15071 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
15075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15076 if (SWIG_arg_fail(1)) SWIG_fail
;
15077 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15078 if (SWIG_arg_fail(2)) SWIG_fail
;
15081 arg3
= (int)(SWIG_As_int(obj2
));
15082 if (SWIG_arg_fail(3)) SWIG_fail
;
15087 arg4
= (int)(SWIG_As_int(obj3
));
15088 if (SWIG_arg_fail(4)) SWIG_fail
;
15093 arg5
= (int)(SWIG_As_int(obj4
));
15094 if (SWIG_arg_fail(5)) SWIG_fail
;
15099 arg6
= (int)(SWIG_As_int(obj5
));
15100 if (SWIG_arg_fail(6)) SWIG_fail
;
15106 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
15112 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
15117 arg9
= (long)(SWIG_As_long(obj8
));
15118 if (SWIG_arg_fail(9)) SWIG_fail
;
15123 SWIG_Python_ConvertPtr(obj9
, (void **)&arg10
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
15124 if (SWIG_arg_fail(10)) SWIG_fail
;
15125 if (arg10
== NULL
) {
15126 SWIG_null_ref("wxValidator");
15128 if (SWIG_arg_fail(10)) SWIG_fail
;
15133 arg11
= wxString_in_helper(obj10
);
15134 if (arg11
== NULL
) SWIG_fail
;
15139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15140 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
15142 wxPyEndAllowThreads(__tstate
);
15143 if (PyErr_Occurred()) SWIG_fail
;
15146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15162 static PyObject
*_wrap_Slider_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15163 PyObject
*resultobj
;
15164 wxSlider
*arg1
= (wxSlider
*) 0 ;
15166 PyObject
* obj0
= 0 ;
15167 char *kwnames
[] = {
15168 (char *) "self", NULL
15171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
15172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15173 if (SWIG_arg_fail(1)) SWIG_fail
;
15175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15176 result
= (int)((wxSlider
const *)arg1
)->GetValue();
15178 wxPyEndAllowThreads(__tstate
);
15179 if (PyErr_Occurred()) SWIG_fail
;
15182 resultobj
= SWIG_From_int((int)(result
));
15190 static PyObject
*_wrap_Slider_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15191 PyObject
*resultobj
;
15192 wxSlider
*arg1
= (wxSlider
*) 0 ;
15194 PyObject
* obj0
= 0 ;
15195 PyObject
* obj1
= 0 ;
15196 char *kwnames
[] = {
15197 (char *) "self",(char *) "value", NULL
15200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
15201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15202 if (SWIG_arg_fail(1)) SWIG_fail
;
15204 arg2
= (int)(SWIG_As_int(obj1
));
15205 if (SWIG_arg_fail(2)) SWIG_fail
;
15208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15209 (arg1
)->SetValue(arg2
);
15211 wxPyEndAllowThreads(__tstate
);
15212 if (PyErr_Occurred()) SWIG_fail
;
15214 Py_INCREF(Py_None
); resultobj
= Py_None
;
15221 static PyObject
*_wrap_Slider_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15222 PyObject
*resultobj
;
15223 wxSlider
*arg1
= (wxSlider
*) 0 ;
15226 PyObject
* obj0
= 0 ;
15227 PyObject
* obj1
= 0 ;
15228 PyObject
* obj2
= 0 ;
15229 char *kwnames
[] = {
15230 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
15233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15235 if (SWIG_arg_fail(1)) SWIG_fail
;
15237 arg2
= (int)(SWIG_As_int(obj1
));
15238 if (SWIG_arg_fail(2)) SWIG_fail
;
15241 arg3
= (int)(SWIG_As_int(obj2
));
15242 if (SWIG_arg_fail(3)) SWIG_fail
;
15245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15246 (arg1
)->SetRange(arg2
,arg3
);
15248 wxPyEndAllowThreads(__tstate
);
15249 if (PyErr_Occurred()) SWIG_fail
;
15251 Py_INCREF(Py_None
); resultobj
= Py_None
;
15258 static PyObject
*_wrap_Slider_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15259 PyObject
*resultobj
;
15260 wxSlider
*arg1
= (wxSlider
*) 0 ;
15262 PyObject
* obj0
= 0 ;
15263 char *kwnames
[] = {
15264 (char *) "self", NULL
15267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
15268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15269 if (SWIG_arg_fail(1)) SWIG_fail
;
15271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15272 result
= (int)((wxSlider
const *)arg1
)->GetMin();
15274 wxPyEndAllowThreads(__tstate
);
15275 if (PyErr_Occurred()) SWIG_fail
;
15278 resultobj
= SWIG_From_int((int)(result
));
15286 static PyObject
*_wrap_Slider_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15287 PyObject
*resultobj
;
15288 wxSlider
*arg1
= (wxSlider
*) 0 ;
15290 PyObject
* obj0
= 0 ;
15291 char *kwnames
[] = {
15292 (char *) "self", NULL
15295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
15296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15297 if (SWIG_arg_fail(1)) SWIG_fail
;
15299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15300 result
= (int)((wxSlider
const *)arg1
)->GetMax();
15302 wxPyEndAllowThreads(__tstate
);
15303 if (PyErr_Occurred()) SWIG_fail
;
15306 resultobj
= SWIG_From_int((int)(result
));
15314 static PyObject
*_wrap_Slider_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15315 PyObject
*resultobj
;
15316 wxSlider
*arg1
= (wxSlider
*) 0 ;
15318 PyObject
* obj0
= 0 ;
15319 PyObject
* obj1
= 0 ;
15320 char *kwnames
[] = {
15321 (char *) "self",(char *) "minValue", NULL
15324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
15325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15326 if (SWIG_arg_fail(1)) SWIG_fail
;
15328 arg2
= (int)(SWIG_As_int(obj1
));
15329 if (SWIG_arg_fail(2)) SWIG_fail
;
15332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15333 (arg1
)->SetMin(arg2
);
15335 wxPyEndAllowThreads(__tstate
);
15336 if (PyErr_Occurred()) SWIG_fail
;
15338 Py_INCREF(Py_None
); resultobj
= Py_None
;
15345 static PyObject
*_wrap_Slider_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15346 PyObject
*resultobj
;
15347 wxSlider
*arg1
= (wxSlider
*) 0 ;
15349 PyObject
* obj0
= 0 ;
15350 PyObject
* obj1
= 0 ;
15351 char *kwnames
[] = {
15352 (char *) "self",(char *) "maxValue", NULL
15355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
15356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15357 if (SWIG_arg_fail(1)) SWIG_fail
;
15359 arg2
= (int)(SWIG_As_int(obj1
));
15360 if (SWIG_arg_fail(2)) SWIG_fail
;
15363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15364 (arg1
)->SetMax(arg2
);
15366 wxPyEndAllowThreads(__tstate
);
15367 if (PyErr_Occurred()) SWIG_fail
;
15369 Py_INCREF(Py_None
); resultobj
= Py_None
;
15376 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15377 PyObject
*resultobj
;
15378 wxSlider
*arg1
= (wxSlider
*) 0 ;
15380 PyObject
* obj0
= 0 ;
15381 PyObject
* obj1
= 0 ;
15382 char *kwnames
[] = {
15383 (char *) "self",(char *) "lineSize", NULL
15386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15388 if (SWIG_arg_fail(1)) SWIG_fail
;
15390 arg2
= (int)(SWIG_As_int(obj1
));
15391 if (SWIG_arg_fail(2)) SWIG_fail
;
15394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15395 (arg1
)->SetLineSize(arg2
);
15397 wxPyEndAllowThreads(__tstate
);
15398 if (PyErr_Occurred()) SWIG_fail
;
15400 Py_INCREF(Py_None
); resultobj
= Py_None
;
15407 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15408 PyObject
*resultobj
;
15409 wxSlider
*arg1
= (wxSlider
*) 0 ;
15411 PyObject
* obj0
= 0 ;
15412 PyObject
* obj1
= 0 ;
15413 char *kwnames
[] = {
15414 (char *) "self",(char *) "pageSize", NULL
15417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15419 if (SWIG_arg_fail(1)) SWIG_fail
;
15421 arg2
= (int)(SWIG_As_int(obj1
));
15422 if (SWIG_arg_fail(2)) SWIG_fail
;
15425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15426 (arg1
)->SetPageSize(arg2
);
15428 wxPyEndAllowThreads(__tstate
);
15429 if (PyErr_Occurred()) SWIG_fail
;
15431 Py_INCREF(Py_None
); resultobj
= Py_None
;
15438 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15439 PyObject
*resultobj
;
15440 wxSlider
*arg1
= (wxSlider
*) 0 ;
15442 PyObject
* obj0
= 0 ;
15443 char *kwnames
[] = {
15444 (char *) "self", NULL
15447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
15448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15449 if (SWIG_arg_fail(1)) SWIG_fail
;
15451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15452 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
15454 wxPyEndAllowThreads(__tstate
);
15455 if (PyErr_Occurred()) SWIG_fail
;
15458 resultobj
= SWIG_From_int((int)(result
));
15466 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15467 PyObject
*resultobj
;
15468 wxSlider
*arg1
= (wxSlider
*) 0 ;
15470 PyObject
* obj0
= 0 ;
15471 char *kwnames
[] = {
15472 (char *) "self", NULL
15475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
15476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15477 if (SWIG_arg_fail(1)) SWIG_fail
;
15479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15480 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
15482 wxPyEndAllowThreads(__tstate
);
15483 if (PyErr_Occurred()) SWIG_fail
;
15486 resultobj
= SWIG_From_int((int)(result
));
15494 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15495 PyObject
*resultobj
;
15496 wxSlider
*arg1
= (wxSlider
*) 0 ;
15498 PyObject
* obj0
= 0 ;
15499 PyObject
* obj1
= 0 ;
15500 char *kwnames
[] = {
15501 (char *) "self",(char *) "lenPixels", NULL
15504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
15505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15506 if (SWIG_arg_fail(1)) SWIG_fail
;
15508 arg2
= (int)(SWIG_As_int(obj1
));
15509 if (SWIG_arg_fail(2)) SWIG_fail
;
15512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15513 (arg1
)->SetThumbLength(arg2
);
15515 wxPyEndAllowThreads(__tstate
);
15516 if (PyErr_Occurred()) SWIG_fail
;
15518 Py_INCREF(Py_None
); resultobj
= Py_None
;
15525 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15526 PyObject
*resultobj
;
15527 wxSlider
*arg1
= (wxSlider
*) 0 ;
15529 PyObject
* obj0
= 0 ;
15530 char *kwnames
[] = {
15531 (char *) "self", NULL
15534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
15535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15536 if (SWIG_arg_fail(1)) SWIG_fail
;
15538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15539 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
15541 wxPyEndAllowThreads(__tstate
);
15542 if (PyErr_Occurred()) SWIG_fail
;
15545 resultobj
= SWIG_From_int((int)(result
));
15553 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15554 PyObject
*resultobj
;
15555 wxSlider
*arg1
= (wxSlider
*) 0 ;
15557 int arg3
= (int) 1 ;
15558 PyObject
* obj0
= 0 ;
15559 PyObject
* obj1
= 0 ;
15560 PyObject
* obj2
= 0 ;
15561 char *kwnames
[] = {
15562 (char *) "self",(char *) "n",(char *) "pos", NULL
15565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15567 if (SWIG_arg_fail(1)) SWIG_fail
;
15569 arg2
= (int)(SWIG_As_int(obj1
));
15570 if (SWIG_arg_fail(2)) SWIG_fail
;
15574 arg3
= (int)(SWIG_As_int(obj2
));
15575 if (SWIG_arg_fail(3)) SWIG_fail
;
15579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15580 (arg1
)->SetTickFreq(arg2
,arg3
);
15582 wxPyEndAllowThreads(__tstate
);
15583 if (PyErr_Occurred()) SWIG_fail
;
15585 Py_INCREF(Py_None
); resultobj
= Py_None
;
15592 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15593 PyObject
*resultobj
;
15594 wxSlider
*arg1
= (wxSlider
*) 0 ;
15596 PyObject
* obj0
= 0 ;
15597 char *kwnames
[] = {
15598 (char *) "self", NULL
15601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
15602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15603 if (SWIG_arg_fail(1)) SWIG_fail
;
15605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15606 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
15608 wxPyEndAllowThreads(__tstate
);
15609 if (PyErr_Occurred()) SWIG_fail
;
15612 resultobj
= SWIG_From_int((int)(result
));
15620 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15621 PyObject
*resultobj
;
15622 wxSlider
*arg1
= (wxSlider
*) 0 ;
15623 PyObject
* obj0
= 0 ;
15624 char *kwnames
[] = {
15625 (char *) "self", NULL
15628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
15629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15630 if (SWIG_arg_fail(1)) SWIG_fail
;
15632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15633 (arg1
)->ClearTicks();
15635 wxPyEndAllowThreads(__tstate
);
15636 if (PyErr_Occurred()) SWIG_fail
;
15638 Py_INCREF(Py_None
); resultobj
= Py_None
;
15645 static PyObject
*_wrap_Slider_SetTick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15646 PyObject
*resultobj
;
15647 wxSlider
*arg1
= (wxSlider
*) 0 ;
15649 PyObject
* obj0
= 0 ;
15650 PyObject
* obj1
= 0 ;
15651 char *kwnames
[] = {
15652 (char *) "self",(char *) "tickPos", NULL
15655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
15656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15657 if (SWIG_arg_fail(1)) SWIG_fail
;
15659 arg2
= (int)(SWIG_As_int(obj1
));
15660 if (SWIG_arg_fail(2)) SWIG_fail
;
15663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15664 (arg1
)->SetTick(arg2
);
15666 wxPyEndAllowThreads(__tstate
);
15667 if (PyErr_Occurred()) SWIG_fail
;
15669 Py_INCREF(Py_None
); resultobj
= Py_None
;
15676 static PyObject
*_wrap_Slider_ClearSel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15677 PyObject
*resultobj
;
15678 wxSlider
*arg1
= (wxSlider
*) 0 ;
15679 PyObject
* obj0
= 0 ;
15680 char *kwnames
[] = {
15681 (char *) "self", NULL
15684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
15685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15686 if (SWIG_arg_fail(1)) SWIG_fail
;
15688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15689 (arg1
)->ClearSel();
15691 wxPyEndAllowThreads(__tstate
);
15692 if (PyErr_Occurred()) SWIG_fail
;
15694 Py_INCREF(Py_None
); resultobj
= Py_None
;
15701 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15702 PyObject
*resultobj
;
15703 wxSlider
*arg1
= (wxSlider
*) 0 ;
15705 PyObject
* obj0
= 0 ;
15706 char *kwnames
[] = {
15707 (char *) "self", NULL
15710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
15711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15712 if (SWIG_arg_fail(1)) SWIG_fail
;
15714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15715 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
15717 wxPyEndAllowThreads(__tstate
);
15718 if (PyErr_Occurred()) SWIG_fail
;
15721 resultobj
= SWIG_From_int((int)(result
));
15729 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15730 PyObject
*resultobj
;
15731 wxSlider
*arg1
= (wxSlider
*) 0 ;
15733 PyObject
* obj0
= 0 ;
15734 char *kwnames
[] = {
15735 (char *) "self", NULL
15738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
15739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15740 if (SWIG_arg_fail(1)) SWIG_fail
;
15742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15743 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
15745 wxPyEndAllowThreads(__tstate
);
15746 if (PyErr_Occurred()) SWIG_fail
;
15749 resultobj
= SWIG_From_int((int)(result
));
15757 static PyObject
*_wrap_Slider_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15758 PyObject
*resultobj
;
15759 wxSlider
*arg1
= (wxSlider
*) 0 ;
15762 PyObject
* obj0
= 0 ;
15763 PyObject
* obj1
= 0 ;
15764 PyObject
* obj2
= 0 ;
15765 char *kwnames
[] = {
15766 (char *) "self",(char *) "min",(char *) "max", NULL
15769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15771 if (SWIG_arg_fail(1)) SWIG_fail
;
15773 arg2
= (int)(SWIG_As_int(obj1
));
15774 if (SWIG_arg_fail(2)) SWIG_fail
;
15777 arg3
= (int)(SWIG_As_int(obj2
));
15778 if (SWIG_arg_fail(3)) SWIG_fail
;
15781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15782 (arg1
)->SetSelection(arg2
,arg3
);
15784 wxPyEndAllowThreads(__tstate
);
15785 if (PyErr_Occurred()) SWIG_fail
;
15787 Py_INCREF(Py_None
); resultobj
= Py_None
;
15794 static PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15795 PyObject
*resultobj
;
15796 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15797 wxVisualAttributes result
;
15798 PyObject
* obj0
= 0 ;
15799 char *kwnames
[] = {
15800 (char *) "variant", NULL
15803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15806 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
15807 if (SWIG_arg_fail(1)) SWIG_fail
;
15811 if (!wxPyCheckForApp()) SWIG_fail
;
15812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15813 result
= wxSlider::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15815 wxPyEndAllowThreads(__tstate
);
15816 if (PyErr_Occurred()) SWIG_fail
;
15819 wxVisualAttributes
* resultptr
;
15820 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
15821 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15829 static PyObject
* Slider_swigregister(PyObject
*, PyObject
*args
) {
15831 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15832 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
15834 return Py_BuildValue((char *)"");
15836 static int _wrap_ToggleButtonNameStr_set(PyObject
*) {
15837 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
15842 static PyObject
*_wrap_ToggleButtonNameStr_get(void) {
15847 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
15849 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
15856 static PyObject
*_wrap_new_ToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15857 PyObject
*resultobj
;
15858 wxWindow
*arg1
= (wxWindow
*) 0 ;
15859 int arg2
= (int) -1 ;
15860 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15861 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15862 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15863 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15864 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15865 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15866 long arg6
= (long) 0 ;
15867 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
15868 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
15869 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
15870 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15871 wxToggleButton
*result
;
15872 bool temp3
= false ;
15875 bool temp8
= false ;
15876 PyObject
* obj0
= 0 ;
15877 PyObject
* obj1
= 0 ;
15878 PyObject
* obj2
= 0 ;
15879 PyObject
* obj3
= 0 ;
15880 PyObject
* obj4
= 0 ;
15881 PyObject
* obj5
= 0 ;
15882 PyObject
* obj6
= 0 ;
15883 PyObject
* obj7
= 0 ;
15884 char *kwnames
[] = {
15885 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
15889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15890 if (SWIG_arg_fail(1)) SWIG_fail
;
15893 arg2
= (int)(SWIG_As_int(obj1
));
15894 if (SWIG_arg_fail(2)) SWIG_fail
;
15899 arg3
= wxString_in_helper(obj2
);
15900 if (arg3
== NULL
) SWIG_fail
;
15907 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15913 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15918 arg6
= (long)(SWIG_As_long(obj5
));
15919 if (SWIG_arg_fail(6)) SWIG_fail
;
15924 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
15925 if (SWIG_arg_fail(7)) SWIG_fail
;
15926 if (arg7
== NULL
) {
15927 SWIG_null_ref("wxValidator");
15929 if (SWIG_arg_fail(7)) SWIG_fail
;
15934 arg8
= wxString_in_helper(obj7
);
15935 if (arg8
== NULL
) SWIG_fail
;
15940 if (!wxPyCheckForApp()) SWIG_fail
;
15941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15942 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
15944 wxPyEndAllowThreads(__tstate
);
15945 if (PyErr_Occurred()) SWIG_fail
;
15947 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
15970 static PyObject
*_wrap_new_PreToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15971 PyObject
*resultobj
;
15972 wxToggleButton
*result
;
15973 char *kwnames
[] = {
15977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
15979 if (!wxPyCheckForApp()) SWIG_fail
;
15980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15981 result
= (wxToggleButton
*)new wxToggleButton();
15983 wxPyEndAllowThreads(__tstate
);
15984 if (PyErr_Occurred()) SWIG_fail
;
15986 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
15993 static PyObject
*_wrap_ToggleButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15994 PyObject
*resultobj
;
15995 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
15996 wxWindow
*arg2
= (wxWindow
*) 0 ;
15997 int arg3
= (int) -1 ;
15998 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15999 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16000 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16001 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16002 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16003 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16004 long arg7
= (long) 0 ;
16005 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
16006 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
16007 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
16008 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
16010 bool temp4
= false ;
16013 bool temp9
= false ;
16014 PyObject
* obj0
= 0 ;
16015 PyObject
* obj1
= 0 ;
16016 PyObject
* obj2
= 0 ;
16017 PyObject
* obj3
= 0 ;
16018 PyObject
* obj4
= 0 ;
16019 PyObject
* obj5
= 0 ;
16020 PyObject
* obj6
= 0 ;
16021 PyObject
* obj7
= 0 ;
16022 PyObject
* obj8
= 0 ;
16023 char *kwnames
[] = {
16024 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
16027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
16028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
16029 if (SWIG_arg_fail(1)) SWIG_fail
;
16030 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16031 if (SWIG_arg_fail(2)) SWIG_fail
;
16034 arg3
= (int)(SWIG_As_int(obj2
));
16035 if (SWIG_arg_fail(3)) SWIG_fail
;
16040 arg4
= wxString_in_helper(obj3
);
16041 if (arg4
== NULL
) SWIG_fail
;
16048 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16054 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16059 arg7
= (long)(SWIG_As_long(obj6
));
16060 if (SWIG_arg_fail(7)) SWIG_fail
;
16065 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
16066 if (SWIG_arg_fail(8)) SWIG_fail
;
16067 if (arg8
== NULL
) {
16068 SWIG_null_ref("wxValidator");
16070 if (SWIG_arg_fail(8)) SWIG_fail
;
16075 arg9
= wxString_in_helper(obj8
);
16076 if (arg9
== NULL
) SWIG_fail
;
16081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16082 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
16084 wxPyEndAllowThreads(__tstate
);
16085 if (PyErr_Occurred()) SWIG_fail
;
16088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16112 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16113 PyObject
*resultobj
;
16114 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
16116 PyObject
* obj0
= 0 ;
16117 PyObject
* obj1
= 0 ;
16118 char *kwnames
[] = {
16119 (char *) "self",(char *) "value", NULL
16122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
16123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
16124 if (SWIG_arg_fail(1)) SWIG_fail
;
16126 arg2
= (bool)(SWIG_As_bool(obj1
));
16127 if (SWIG_arg_fail(2)) SWIG_fail
;
16130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16131 (arg1
)->SetValue(arg2
);
16133 wxPyEndAllowThreads(__tstate
);
16134 if (PyErr_Occurred()) SWIG_fail
;
16136 Py_INCREF(Py_None
); resultobj
= Py_None
;
16143 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16144 PyObject
*resultobj
;
16145 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
16147 PyObject
* obj0
= 0 ;
16148 char *kwnames
[] = {
16149 (char *) "self", NULL
16152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
16153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
16154 if (SWIG_arg_fail(1)) SWIG_fail
;
16156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16157 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
16159 wxPyEndAllowThreads(__tstate
);
16160 if (PyErr_Occurred()) SWIG_fail
;
16163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16171 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16172 PyObject
*resultobj
;
16173 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
16174 wxString
*arg2
= 0 ;
16175 bool temp2
= false ;
16176 PyObject
* obj0
= 0 ;
16177 PyObject
* obj1
= 0 ;
16178 char *kwnames
[] = {
16179 (char *) "self",(char *) "label", NULL
16182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
16183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
16184 if (SWIG_arg_fail(1)) SWIG_fail
;
16186 arg2
= wxString_in_helper(obj1
);
16187 if (arg2
== NULL
) SWIG_fail
;
16191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16192 (arg1
)->SetLabel((wxString
const &)*arg2
);
16194 wxPyEndAllowThreads(__tstate
);
16195 if (PyErr_Occurred()) SWIG_fail
;
16197 Py_INCREF(Py_None
); resultobj
= Py_None
;
16212 static PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16213 PyObject
*resultobj
;
16214 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16215 wxVisualAttributes result
;
16216 PyObject
* obj0
= 0 ;
16217 char *kwnames
[] = {
16218 (char *) "variant", NULL
16221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16224 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
16225 if (SWIG_arg_fail(1)) SWIG_fail
;
16229 if (!wxPyCheckForApp()) SWIG_fail
;
16230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16231 result
= wxToggleButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
16233 wxPyEndAllowThreads(__tstate
);
16234 if (PyErr_Occurred()) SWIG_fail
;
16237 wxVisualAttributes
* resultptr
;
16238 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
16239 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16247 static PyObject
* ToggleButton_swigregister(PyObject
*, PyObject
*args
) {
16249 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16250 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
16252 return Py_BuildValue((char *)"");
16254 static int _wrap_NOTEBOOK_NAME_set(PyObject
*) {
16255 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
16260 static PyObject
*_wrap_NOTEBOOK_NAME_get(void) {
16265 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
16267 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
16274 static PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16275 PyObject
*resultobj
;
16276 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16278 PyObject
* obj0
= 0 ;
16279 char *kwnames
[] = {
16280 (char *) "self", NULL
16283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetPageCount",kwnames
,&obj0
)) goto fail
;
16284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16285 if (SWIG_arg_fail(1)) SWIG_fail
;
16287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16288 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
16290 wxPyEndAllowThreads(__tstate
);
16291 if (PyErr_Occurred()) SWIG_fail
;
16294 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
16302 static PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16303 PyObject
*resultobj
;
16304 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16307 PyObject
* obj0
= 0 ;
16308 PyObject
* obj1
= 0 ;
16309 char *kwnames
[] = {
16310 (char *) "self",(char *) "n", NULL
16313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
16314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16315 if (SWIG_arg_fail(1)) SWIG_fail
;
16317 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16318 if (SWIG_arg_fail(2)) SWIG_fail
;
16321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16322 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
16324 wxPyEndAllowThreads(__tstate
);
16325 if (PyErr_Occurred()) SWIG_fail
;
16328 resultobj
= wxPyMake_wxObject(result
, 0);
16336 static PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16337 PyObject
*resultobj
;
16338 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16340 PyObject
* obj0
= 0 ;
16341 char *kwnames
[] = {
16342 (char *) "self", NULL
16345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
16346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16347 if (SWIG_arg_fail(1)) SWIG_fail
;
16349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16350 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
16352 wxPyEndAllowThreads(__tstate
);
16353 if (PyErr_Occurred()) SWIG_fail
;
16356 resultobj
= wxPyMake_wxObject(result
, 0);
16364 static PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16365 PyObject
*resultobj
;
16366 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16368 PyObject
* obj0
= 0 ;
16369 char *kwnames
[] = {
16370 (char *) "self", NULL
16373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetSelection",kwnames
,&obj0
)) goto fail
;
16374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16375 if (SWIG_arg_fail(1)) SWIG_fail
;
16377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16378 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
16380 wxPyEndAllowThreads(__tstate
);
16381 if (PyErr_Occurred()) SWIG_fail
;
16384 resultobj
= SWIG_From_int((int)(result
));
16392 static PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16393 PyObject
*resultobj
;
16394 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16396 wxString
*arg3
= 0 ;
16398 bool temp3
= false ;
16399 PyObject
* obj0
= 0 ;
16400 PyObject
* obj1
= 0 ;
16401 PyObject
* obj2
= 0 ;
16402 char *kwnames
[] = {
16403 (char *) "self",(char *) "n",(char *) "strText", NULL
16406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16408 if (SWIG_arg_fail(1)) SWIG_fail
;
16410 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16411 if (SWIG_arg_fail(2)) SWIG_fail
;
16414 arg3
= wxString_in_helper(obj2
);
16415 if (arg3
== NULL
) SWIG_fail
;
16419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16420 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
16422 wxPyEndAllowThreads(__tstate
);
16423 if (PyErr_Occurred()) SWIG_fail
;
16426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16442 static PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16443 PyObject
*resultobj
;
16444 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16447 PyObject
* obj0
= 0 ;
16448 PyObject
* obj1
= 0 ;
16449 char *kwnames
[] = {
16450 (char *) "self",(char *) "n", NULL
16453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
16454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16455 if (SWIG_arg_fail(1)) SWIG_fail
;
16457 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16458 if (SWIG_arg_fail(2)) SWIG_fail
;
16461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16462 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
16464 wxPyEndAllowThreads(__tstate
);
16465 if (PyErr_Occurred()) SWIG_fail
;
16469 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16471 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16480 static PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16481 PyObject
*resultobj
;
16482 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16483 wxImageList
*arg2
= (wxImageList
*) 0 ;
16484 PyObject
* obj0
= 0 ;
16485 PyObject
* obj1
= 0 ;
16486 char *kwnames
[] = {
16487 (char *) "self",(char *) "imageList", NULL
16490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
16491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16492 if (SWIG_arg_fail(1)) SWIG_fail
;
16493 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
16494 if (SWIG_arg_fail(2)) SWIG_fail
;
16496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16497 (arg1
)->SetImageList(arg2
);
16499 wxPyEndAllowThreads(__tstate
);
16500 if (PyErr_Occurred()) SWIG_fail
;
16502 Py_INCREF(Py_None
); resultobj
= Py_None
;
16509 static PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16510 PyObject
*resultobj
;
16511 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16512 wxImageList
*arg2
= (wxImageList
*) 0 ;
16513 PyObject
* obj0
= 0 ;
16514 PyObject
* obj1
= 0 ;
16515 char *kwnames
[] = {
16516 (char *) "self",(char *) "imageList", NULL
16519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
16520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16521 if (SWIG_arg_fail(1)) SWIG_fail
;
16522 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
16523 if (SWIG_arg_fail(2)) SWIG_fail
;
16525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16526 (arg1
)->AssignImageList(arg2
);
16528 wxPyEndAllowThreads(__tstate
);
16529 if (PyErr_Occurred()) SWIG_fail
;
16531 Py_INCREF(Py_None
); resultobj
= Py_None
;
16538 static PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16539 PyObject
*resultobj
;
16540 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16541 wxImageList
*result
;
16542 PyObject
* obj0
= 0 ;
16543 char *kwnames
[] = {
16544 (char *) "self", NULL
16547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetImageList",kwnames
,&obj0
)) goto fail
;
16548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16549 if (SWIG_arg_fail(1)) SWIG_fail
;
16551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16552 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
16554 wxPyEndAllowThreads(__tstate
);
16555 if (PyErr_Occurred()) SWIG_fail
;
16558 resultobj
= wxPyMake_wxObject(result
, 0);
16566 static PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16567 PyObject
*resultobj
;
16568 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16571 PyObject
* obj0
= 0 ;
16572 PyObject
* obj1
= 0 ;
16573 char *kwnames
[] = {
16574 (char *) "self",(char *) "n", NULL
16577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
16578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16579 if (SWIG_arg_fail(1)) SWIG_fail
;
16581 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16582 if (SWIG_arg_fail(2)) SWIG_fail
;
16585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16586 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
16588 wxPyEndAllowThreads(__tstate
);
16589 if (PyErr_Occurred()) SWIG_fail
;
16592 resultobj
= SWIG_From_int((int)(result
));
16600 static PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16601 PyObject
*resultobj
;
16602 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16606 PyObject
* obj0
= 0 ;
16607 PyObject
* obj1
= 0 ;
16608 PyObject
* obj2
= 0 ;
16609 char *kwnames
[] = {
16610 (char *) "self",(char *) "n",(char *) "imageId", NULL
16613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16615 if (SWIG_arg_fail(1)) SWIG_fail
;
16617 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16618 if (SWIG_arg_fail(2)) SWIG_fail
;
16621 arg3
= (int)(SWIG_As_int(obj2
));
16622 if (SWIG_arg_fail(3)) SWIG_fail
;
16625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16626 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
16628 wxPyEndAllowThreads(__tstate
);
16629 if (PyErr_Occurred()) SWIG_fail
;
16632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16640 static PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16641 PyObject
*resultobj
;
16642 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16645 PyObject
* obj0
= 0 ;
16646 PyObject
* obj1
= 0 ;
16647 char *kwnames
[] = {
16648 (char *) "self",(char *) "size", NULL
16651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16653 if (SWIG_arg_fail(1)) SWIG_fail
;
16656 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16660 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
16662 wxPyEndAllowThreads(__tstate
);
16663 if (PyErr_Occurred()) SWIG_fail
;
16665 Py_INCREF(Py_None
); resultobj
= Py_None
;
16672 static PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16673 PyObject
*resultobj
;
16674 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16678 PyObject
* obj0
= 0 ;
16679 PyObject
* obj1
= 0 ;
16680 char *kwnames
[] = {
16681 (char *) "self",(char *) "sizePage", NULL
16684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
16685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16686 if (SWIG_arg_fail(1)) SWIG_fail
;
16689 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16693 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
16695 wxPyEndAllowThreads(__tstate
);
16696 if (PyErr_Occurred()) SWIG_fail
;
16699 wxSize
* resultptr
;
16700 resultptr
= new wxSize((wxSize
&)(result
));
16701 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16709 static PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16710 PyObject
*resultobj
;
16711 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16714 PyObject
* obj0
= 0 ;
16715 PyObject
* obj1
= 0 ;
16716 char *kwnames
[] = {
16717 (char *) "self",(char *) "n", NULL
16720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
16721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16722 if (SWIG_arg_fail(1)) SWIG_fail
;
16724 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16725 if (SWIG_arg_fail(2)) SWIG_fail
;
16728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16729 result
= (bool)(arg1
)->DeletePage(arg2
);
16731 wxPyEndAllowThreads(__tstate
);
16732 if (PyErr_Occurred()) SWIG_fail
;
16735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16743 static PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16744 PyObject
*resultobj
;
16745 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16748 PyObject
* obj0
= 0 ;
16749 PyObject
* obj1
= 0 ;
16750 char *kwnames
[] = {
16751 (char *) "self",(char *) "n", NULL
16754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
16755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16756 if (SWIG_arg_fail(1)) SWIG_fail
;
16758 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16759 if (SWIG_arg_fail(2)) SWIG_fail
;
16762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16763 result
= (bool)(arg1
)->RemovePage(arg2
);
16765 wxPyEndAllowThreads(__tstate
);
16766 if (PyErr_Occurred()) SWIG_fail
;
16769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16777 static PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16778 PyObject
*resultobj
;
16779 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16781 PyObject
* obj0
= 0 ;
16782 char *kwnames
[] = {
16783 (char *) "self", NULL
16786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
16787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16788 if (SWIG_arg_fail(1)) SWIG_fail
;
16790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16791 result
= (bool)(arg1
)->DeleteAllPages();
16793 wxPyEndAllowThreads(__tstate
);
16794 if (PyErr_Occurred()) SWIG_fail
;
16797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16805 static PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16806 PyObject
*resultobj
;
16807 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16808 wxWindow
*arg2
= (wxWindow
*) 0 ;
16809 wxString
*arg3
= 0 ;
16810 bool arg4
= (bool) false ;
16811 int arg5
= (int) -1 ;
16813 bool temp3
= false ;
16814 PyObject
* obj0
= 0 ;
16815 PyObject
* obj1
= 0 ;
16816 PyObject
* obj2
= 0 ;
16817 PyObject
* obj3
= 0 ;
16818 PyObject
* obj4
= 0 ;
16819 char *kwnames
[] = {
16820 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16825 if (SWIG_arg_fail(1)) SWIG_fail
;
16826 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16827 if (SWIG_arg_fail(2)) SWIG_fail
;
16829 arg3
= wxString_in_helper(obj2
);
16830 if (arg3
== NULL
) SWIG_fail
;
16835 arg4
= (bool)(SWIG_As_bool(obj3
));
16836 if (SWIG_arg_fail(4)) SWIG_fail
;
16841 arg5
= (int)(SWIG_As_int(obj4
));
16842 if (SWIG_arg_fail(5)) SWIG_fail
;
16846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16847 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
16849 wxPyEndAllowThreads(__tstate
);
16850 if (PyErr_Occurred()) SWIG_fail
;
16853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16869 static PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16870 PyObject
*resultobj
;
16871 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16873 wxWindow
*arg3
= (wxWindow
*) 0 ;
16874 wxString
*arg4
= 0 ;
16875 bool arg5
= (bool) false ;
16876 int arg6
= (int) -1 ;
16878 bool temp4
= false ;
16879 PyObject
* obj0
= 0 ;
16880 PyObject
* obj1
= 0 ;
16881 PyObject
* obj2
= 0 ;
16882 PyObject
* obj3
= 0 ;
16883 PyObject
* obj4
= 0 ;
16884 PyObject
* obj5
= 0 ;
16885 char *kwnames
[] = {
16886 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16891 if (SWIG_arg_fail(1)) SWIG_fail
;
16893 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16894 if (SWIG_arg_fail(2)) SWIG_fail
;
16896 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16897 if (SWIG_arg_fail(3)) SWIG_fail
;
16899 arg4
= wxString_in_helper(obj3
);
16900 if (arg4
== NULL
) SWIG_fail
;
16905 arg5
= (bool)(SWIG_As_bool(obj4
));
16906 if (SWIG_arg_fail(5)) SWIG_fail
;
16911 arg6
= (int)(SWIG_As_int(obj5
));
16912 if (SWIG_arg_fail(6)) SWIG_fail
;
16916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16917 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16919 wxPyEndAllowThreads(__tstate
);
16920 if (PyErr_Occurred()) SWIG_fail
;
16923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16939 static PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16940 PyObject
*resultobj
;
16941 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16944 PyObject
* obj0
= 0 ;
16945 PyObject
* obj1
= 0 ;
16946 char *kwnames
[] = {
16947 (char *) "self",(char *) "n", NULL
16950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16952 if (SWIG_arg_fail(1)) SWIG_fail
;
16954 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16955 if (SWIG_arg_fail(2)) SWIG_fail
;
16958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16959 result
= (int)(arg1
)->SetSelection(arg2
);
16961 wxPyEndAllowThreads(__tstate
);
16962 if (PyErr_Occurred()) SWIG_fail
;
16965 resultobj
= SWIG_From_int((int)(result
));
16973 static PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16974 PyObject
*resultobj
;
16975 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16976 bool arg2
= (bool) true ;
16977 PyObject
* obj0
= 0 ;
16978 PyObject
* obj1
= 0 ;
16979 char *kwnames
[] = {
16980 (char *) "self",(char *) "forward", NULL
16983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16985 if (SWIG_arg_fail(1)) SWIG_fail
;
16988 arg2
= (bool)(SWIG_As_bool(obj1
));
16989 if (SWIG_arg_fail(2)) SWIG_fail
;
16993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16994 (arg1
)->AdvanceSelection(arg2
);
16996 wxPyEndAllowThreads(__tstate
);
16997 if (PyErr_Occurred()) SWIG_fail
;
16999 Py_INCREF(Py_None
); resultobj
= Py_None
;
17006 static PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17007 PyObject
*resultobj
;
17008 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17009 wxVisualAttributes result
;
17010 PyObject
* obj0
= 0 ;
17011 char *kwnames
[] = {
17012 (char *) "variant", NULL
17015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17018 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
17019 if (SWIG_arg_fail(1)) SWIG_fail
;
17023 if (!wxPyCheckForApp()) SWIG_fail
;
17024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17025 result
= wxBookCtrlBase::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
17027 wxPyEndAllowThreads(__tstate
);
17028 if (PyErr_Occurred()) SWIG_fail
;
17031 wxVisualAttributes
* resultptr
;
17032 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
17033 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17041 static PyObject
* BookCtrlBase_swigregister(PyObject
*, PyObject
*args
) {
17043 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17044 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBase
, obj
);
17046 return Py_BuildValue((char *)"");
17048 static PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17049 PyObject
*resultobj
;
17050 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17051 int arg2
= (int) 0 ;
17052 int arg3
= (int) -1 ;
17053 int arg4
= (int) -1 ;
17054 wxBookCtrlBaseEvent
*result
;
17055 PyObject
* obj0
= 0 ;
17056 PyObject
* obj1
= 0 ;
17057 PyObject
* obj2
= 0 ;
17058 PyObject
* obj3
= 0 ;
17059 char *kwnames
[] = {
17060 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17066 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17067 if (SWIG_arg_fail(1)) SWIG_fail
;
17072 arg2
= (int)(SWIG_As_int(obj1
));
17073 if (SWIG_arg_fail(2)) SWIG_fail
;
17078 arg3
= (int)(SWIG_As_int(obj2
));
17079 if (SWIG_arg_fail(3)) SWIG_fail
;
17084 arg4
= (int)(SWIG_As_int(obj3
));
17085 if (SWIG_arg_fail(4)) SWIG_fail
;
17089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17090 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
17092 wxPyEndAllowThreads(__tstate
);
17093 if (PyErr_Occurred()) SWIG_fail
;
17095 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, 1);
17102 static PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17103 PyObject
*resultobj
;
17104 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
17106 PyObject
* obj0
= 0 ;
17107 char *kwnames
[] = {
17108 (char *) "self", NULL
17111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
17112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17113 if (SWIG_arg_fail(1)) SWIG_fail
;
17115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17116 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
17118 wxPyEndAllowThreads(__tstate
);
17119 if (PyErr_Occurred()) SWIG_fail
;
17122 resultobj
= SWIG_From_int((int)(result
));
17130 static PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17131 PyObject
*resultobj
;
17132 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
17134 PyObject
* obj0
= 0 ;
17135 PyObject
* obj1
= 0 ;
17136 char *kwnames
[] = {
17137 (char *) "self",(char *) "nSel", NULL
17140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17142 if (SWIG_arg_fail(1)) SWIG_fail
;
17144 arg2
= (int)(SWIG_As_int(obj1
));
17145 if (SWIG_arg_fail(2)) SWIG_fail
;
17148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17149 (arg1
)->SetSelection(arg2
);
17151 wxPyEndAllowThreads(__tstate
);
17152 if (PyErr_Occurred()) SWIG_fail
;
17154 Py_INCREF(Py_None
); resultobj
= Py_None
;
17161 static PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17162 PyObject
*resultobj
;
17163 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
17165 PyObject
* obj0
= 0 ;
17166 char *kwnames
[] = {
17167 (char *) "self", NULL
17170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
17171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17172 if (SWIG_arg_fail(1)) SWIG_fail
;
17174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17175 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
17177 wxPyEndAllowThreads(__tstate
);
17178 if (PyErr_Occurred()) SWIG_fail
;
17181 resultobj
= SWIG_From_int((int)(result
));
17189 static PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17190 PyObject
*resultobj
;
17191 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
17193 PyObject
* obj0
= 0 ;
17194 PyObject
* obj1
= 0 ;
17195 char *kwnames
[] = {
17196 (char *) "self",(char *) "nOldSel", NULL
17199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17201 if (SWIG_arg_fail(1)) SWIG_fail
;
17203 arg2
= (int)(SWIG_As_int(obj1
));
17204 if (SWIG_arg_fail(2)) SWIG_fail
;
17207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17208 (arg1
)->SetOldSelection(arg2
);
17210 wxPyEndAllowThreads(__tstate
);
17211 if (PyErr_Occurred()) SWIG_fail
;
17213 Py_INCREF(Py_None
); resultobj
= Py_None
;
17220 static PyObject
* BookCtrlBaseEvent_swigregister(PyObject
*, PyObject
*args
) {
17222 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17223 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, obj
);
17225 return Py_BuildValue((char *)"");
17227 static PyObject
*_wrap_new_Notebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17228 PyObject
*resultobj
;
17229 wxWindow
*arg1
= (wxWindow
*) 0 ;
17230 int arg2
= (int) -1 ;
17231 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17232 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17233 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17234 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17235 long arg5
= (long) 0 ;
17236 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
17237 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17238 wxNotebook
*result
;
17241 bool temp6
= false ;
17242 PyObject
* obj0
= 0 ;
17243 PyObject
* obj1
= 0 ;
17244 PyObject
* obj2
= 0 ;
17245 PyObject
* obj3
= 0 ;
17246 PyObject
* obj4
= 0 ;
17247 PyObject
* obj5
= 0 ;
17248 char *kwnames
[] = {
17249 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17254 if (SWIG_arg_fail(1)) SWIG_fail
;
17257 arg2
= (int)(SWIG_As_int(obj1
));
17258 if (SWIG_arg_fail(2)) SWIG_fail
;
17264 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17270 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17275 arg5
= (long)(SWIG_As_long(obj4
));
17276 if (SWIG_arg_fail(5)) SWIG_fail
;
17281 arg6
= wxString_in_helper(obj5
);
17282 if (arg6
== NULL
) SWIG_fail
;
17287 if (!wxPyCheckForApp()) SWIG_fail
;
17288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17289 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17291 wxPyEndAllowThreads(__tstate
);
17292 if (PyErr_Occurred()) SWIG_fail
;
17294 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
17309 static PyObject
*_wrap_new_PreNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17310 PyObject
*resultobj
;
17311 wxNotebook
*result
;
17312 char *kwnames
[] = {
17316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
17318 if (!wxPyCheckForApp()) SWIG_fail
;
17319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17320 result
= (wxNotebook
*)new wxNotebook();
17322 wxPyEndAllowThreads(__tstate
);
17323 if (PyErr_Occurred()) SWIG_fail
;
17325 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
17332 static PyObject
*_wrap_Notebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17333 PyObject
*resultobj
;
17334 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17335 wxWindow
*arg2
= (wxWindow
*) 0 ;
17336 int arg3
= (int) -1 ;
17337 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17338 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17339 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17340 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17341 long arg6
= (long) 0 ;
17342 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
17343 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17347 bool temp7
= false ;
17348 PyObject
* obj0
= 0 ;
17349 PyObject
* obj1
= 0 ;
17350 PyObject
* obj2
= 0 ;
17351 PyObject
* obj3
= 0 ;
17352 PyObject
* obj4
= 0 ;
17353 PyObject
* obj5
= 0 ;
17354 PyObject
* obj6
= 0 ;
17355 char *kwnames
[] = {
17356 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17361 if (SWIG_arg_fail(1)) SWIG_fail
;
17362 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17363 if (SWIG_arg_fail(2)) SWIG_fail
;
17366 arg3
= (int)(SWIG_As_int(obj2
));
17367 if (SWIG_arg_fail(3)) SWIG_fail
;
17373 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17379 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17384 arg6
= (long)(SWIG_As_long(obj5
));
17385 if (SWIG_arg_fail(6)) SWIG_fail
;
17390 arg7
= wxString_in_helper(obj6
);
17391 if (arg7
== NULL
) SWIG_fail
;
17396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17397 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17399 wxPyEndAllowThreads(__tstate
);
17400 if (PyErr_Occurred()) SWIG_fail
;
17403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17419 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17420 PyObject
*resultobj
;
17421 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17423 PyObject
* obj0
= 0 ;
17424 char *kwnames
[] = {
17425 (char *) "self", NULL
17428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
17429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17430 if (SWIG_arg_fail(1)) SWIG_fail
;
17432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17433 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
17435 wxPyEndAllowThreads(__tstate
);
17436 if (PyErr_Occurred()) SWIG_fail
;
17439 resultobj
= SWIG_From_int((int)(result
));
17447 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17448 PyObject
*resultobj
;
17449 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17452 PyObject
* obj0
= 0 ;
17453 PyObject
* obj1
= 0 ;
17454 char *kwnames
[] = {
17455 (char *) "self",(char *) "padding", NULL
17458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
17459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17460 if (SWIG_arg_fail(1)) SWIG_fail
;
17463 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17467 (arg1
)->SetPadding((wxSize
const &)*arg2
);
17469 wxPyEndAllowThreads(__tstate
);
17470 if (PyErr_Occurred()) SWIG_fail
;
17472 Py_INCREF(Py_None
); resultobj
= Py_None
;
17479 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17480 PyObject
*resultobj
;
17481 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17484 PyObject
* obj0
= 0 ;
17485 PyObject
* obj1
= 0 ;
17486 char *kwnames
[] = {
17487 (char *) "self",(char *) "sz", NULL
17490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17492 if (SWIG_arg_fail(1)) SWIG_fail
;
17495 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17499 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
17501 wxPyEndAllowThreads(__tstate
);
17502 if (PyErr_Occurred()) SWIG_fail
;
17504 Py_INCREF(Py_None
); resultobj
= Py_None
;
17511 static PyObject
*_wrap_Notebook_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17512 PyObject
*resultobj
;
17513 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17514 wxPoint
*arg2
= 0 ;
17515 long *arg3
= (long *) 0 ;
17520 PyObject
* obj0
= 0 ;
17521 PyObject
* obj1
= 0 ;
17522 char *kwnames
[] = {
17523 (char *) "self",(char *) "pt", NULL
17526 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
17528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17529 if (SWIG_arg_fail(1)) SWIG_fail
;
17532 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17536 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
17538 wxPyEndAllowThreads(__tstate
);
17539 if (PyErr_Occurred()) SWIG_fail
;
17542 resultobj
= SWIG_From_int((int)(result
));
17544 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17545 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
17552 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17553 PyObject
*resultobj
;
17554 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17558 PyObject
* obj0
= 0 ;
17559 PyObject
* obj1
= 0 ;
17560 char *kwnames
[] = {
17561 (char *) "self",(char *) "sizePage", NULL
17564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
17565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17566 if (SWIG_arg_fail(1)) SWIG_fail
;
17569 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17573 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
17575 wxPyEndAllowThreads(__tstate
);
17576 if (PyErr_Occurred()) SWIG_fail
;
17579 wxSize
* resultptr
;
17580 resultptr
= new wxSize((wxSize
&)(result
));
17581 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17589 static PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17590 PyObject
*resultobj
;
17591 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17592 wxVisualAttributes result
;
17593 PyObject
* obj0
= 0 ;
17594 char *kwnames
[] = {
17595 (char *) "variant", NULL
17598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17601 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
17602 if (SWIG_arg_fail(1)) SWIG_fail
;
17606 if (!wxPyCheckForApp()) SWIG_fail
;
17607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17608 result
= wxNotebook::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
17610 wxPyEndAllowThreads(__tstate
);
17611 if (PyErr_Occurred()) SWIG_fail
;
17614 wxVisualAttributes
* resultptr
;
17615 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
17616 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17624 static PyObject
* Notebook_swigregister(PyObject
*, PyObject
*args
) {
17626 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17627 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
17629 return Py_BuildValue((char *)"");
17631 static PyObject
*_wrap_new_NotebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17632 PyObject
*resultobj
;
17633 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17634 int arg2
= (int) 0 ;
17635 int arg3
= (int) -1 ;
17636 int arg4
= (int) -1 ;
17637 wxNotebookEvent
*result
;
17638 PyObject
* obj0
= 0 ;
17639 PyObject
* obj1
= 0 ;
17640 PyObject
* obj2
= 0 ;
17641 PyObject
* obj3
= 0 ;
17642 char *kwnames
[] = {
17643 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17649 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17650 if (SWIG_arg_fail(1)) SWIG_fail
;
17655 arg2
= (int)(SWIG_As_int(obj1
));
17656 if (SWIG_arg_fail(2)) SWIG_fail
;
17661 arg3
= (int)(SWIG_As_int(obj2
));
17662 if (SWIG_arg_fail(3)) SWIG_fail
;
17667 arg4
= (int)(SWIG_As_int(obj3
));
17668 if (SWIG_arg_fail(4)) SWIG_fail
;
17672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17673 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
17675 wxPyEndAllowThreads(__tstate
);
17676 if (PyErr_Occurred()) SWIG_fail
;
17678 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
17685 static PyObject
* NotebookEvent_swigregister(PyObject
*, PyObject
*args
) {
17687 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17688 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
17690 return Py_BuildValue((char *)"");
17692 static PyObject
*_wrap_new_Listbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17693 PyObject
*resultobj
;
17694 wxWindow
*arg1
= (wxWindow
*) 0 ;
17695 int arg2
= (int) -1 ;
17696 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17697 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17698 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17699 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17700 long arg5
= (long) 0 ;
17701 wxString
const &arg6_defvalue
= wxPyEmptyString
;
17702 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17703 wxListbook
*result
;
17706 bool temp6
= false ;
17707 PyObject
* obj0
= 0 ;
17708 PyObject
* obj1
= 0 ;
17709 PyObject
* obj2
= 0 ;
17710 PyObject
* obj3
= 0 ;
17711 PyObject
* obj4
= 0 ;
17712 PyObject
* obj5
= 0 ;
17713 char *kwnames
[] = {
17714 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17719 if (SWIG_arg_fail(1)) SWIG_fail
;
17722 arg2
= (int)(SWIG_As_int(obj1
));
17723 if (SWIG_arg_fail(2)) SWIG_fail
;
17729 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17735 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17740 arg5
= (long)(SWIG_As_long(obj4
));
17741 if (SWIG_arg_fail(5)) SWIG_fail
;
17746 arg6
= wxString_in_helper(obj5
);
17747 if (arg6
== NULL
) SWIG_fail
;
17752 if (!wxPyCheckForApp()) SWIG_fail
;
17753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17754 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17756 wxPyEndAllowThreads(__tstate
);
17757 if (PyErr_Occurred()) SWIG_fail
;
17759 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
17774 static PyObject
*_wrap_new_PreListbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17775 PyObject
*resultobj
;
17776 wxListbook
*result
;
17777 char *kwnames
[] = {
17781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
17783 if (!wxPyCheckForApp()) SWIG_fail
;
17784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17785 result
= (wxListbook
*)new wxListbook();
17787 wxPyEndAllowThreads(__tstate
);
17788 if (PyErr_Occurred()) SWIG_fail
;
17790 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
17797 static PyObject
*_wrap_Listbook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17798 PyObject
*resultobj
;
17799 wxListbook
*arg1
= (wxListbook
*) 0 ;
17800 wxWindow
*arg2
= (wxWindow
*) 0 ;
17801 int arg3
= (int) -1 ;
17802 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17803 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17804 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17805 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17806 long arg6
= (long) 0 ;
17807 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17808 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17812 bool temp7
= false ;
17813 PyObject
* obj0
= 0 ;
17814 PyObject
* obj1
= 0 ;
17815 PyObject
* obj2
= 0 ;
17816 PyObject
* obj3
= 0 ;
17817 PyObject
* obj4
= 0 ;
17818 PyObject
* obj5
= 0 ;
17819 PyObject
* obj6
= 0 ;
17820 char *kwnames
[] = {
17821 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17826 if (SWIG_arg_fail(1)) SWIG_fail
;
17827 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17828 if (SWIG_arg_fail(2)) SWIG_fail
;
17831 arg3
= (int)(SWIG_As_int(obj2
));
17832 if (SWIG_arg_fail(3)) SWIG_fail
;
17838 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17844 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17849 arg6
= (long)(SWIG_As_long(obj5
));
17850 if (SWIG_arg_fail(6)) SWIG_fail
;
17855 arg7
= wxString_in_helper(obj6
);
17856 if (arg7
== NULL
) SWIG_fail
;
17861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17862 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17864 wxPyEndAllowThreads(__tstate
);
17865 if (PyErr_Occurred()) SWIG_fail
;
17868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17884 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17885 PyObject
*resultobj
;
17886 wxListbook
*arg1
= (wxListbook
*) 0 ;
17888 PyObject
* obj0
= 0 ;
17889 char *kwnames
[] = {
17890 (char *) "self", NULL
17893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
17894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17895 if (SWIG_arg_fail(1)) SWIG_fail
;
17897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17898 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
17900 wxPyEndAllowThreads(__tstate
);
17901 if (PyErr_Occurred()) SWIG_fail
;
17904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17912 static PyObject
*_wrap_Listbook_GetListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17913 PyObject
*resultobj
;
17914 wxListbook
*arg1
= (wxListbook
*) 0 ;
17915 wxListView
*result
;
17916 PyObject
* obj0
= 0 ;
17917 char *kwnames
[] = {
17918 (char *) "self", NULL
17921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_GetListView",kwnames
,&obj0
)) goto fail
;
17922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17923 if (SWIG_arg_fail(1)) SWIG_fail
;
17925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17926 result
= (wxListView
*)(arg1
)->GetListView();
17928 wxPyEndAllowThreads(__tstate
);
17929 if (PyErr_Occurred()) SWIG_fail
;
17931 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 0);
17938 static PyObject
* Listbook_swigregister(PyObject
*, PyObject
*args
) {
17940 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17941 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
17943 return Py_BuildValue((char *)"");
17945 static PyObject
*_wrap_new_ListbookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17946 PyObject
*resultobj
;
17947 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17948 int arg2
= (int) 0 ;
17949 int arg3
= (int) -1 ;
17950 int arg4
= (int) -1 ;
17951 wxListbookEvent
*result
;
17952 PyObject
* obj0
= 0 ;
17953 PyObject
* obj1
= 0 ;
17954 PyObject
* obj2
= 0 ;
17955 PyObject
* obj3
= 0 ;
17956 char *kwnames
[] = {
17957 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17963 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17964 if (SWIG_arg_fail(1)) SWIG_fail
;
17969 arg2
= (int)(SWIG_As_int(obj1
));
17970 if (SWIG_arg_fail(2)) SWIG_fail
;
17975 arg3
= (int)(SWIG_As_int(obj2
));
17976 if (SWIG_arg_fail(3)) SWIG_fail
;
17981 arg4
= (int)(SWIG_As_int(obj3
));
17982 if (SWIG_arg_fail(4)) SWIG_fail
;
17986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17987 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
17989 wxPyEndAllowThreads(__tstate
);
17990 if (PyErr_Occurred()) SWIG_fail
;
17992 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
17999 static PyObject
* ListbookEvent_swigregister(PyObject
*, PyObject
*args
) {
18001 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18002 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
18004 return Py_BuildValue((char *)"");
18006 static PyObject
*_wrap_new_Choicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18007 PyObject
*resultobj
;
18008 wxWindow
*arg1
= (wxWindow
*) 0 ;
18010 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18011 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18012 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18013 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18014 long arg5
= (long) 0 ;
18015 wxString
const &arg6_defvalue
= wxPyEmptyString
;
18016 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18017 wxChoicebook
*result
;
18020 bool temp6
= false ;
18021 PyObject
* obj0
= 0 ;
18022 PyObject
* obj1
= 0 ;
18023 PyObject
* obj2
= 0 ;
18024 PyObject
* obj3
= 0 ;
18025 PyObject
* obj4
= 0 ;
18026 PyObject
* obj5
= 0 ;
18027 char *kwnames
[] = {
18028 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18033 if (SWIG_arg_fail(1)) SWIG_fail
;
18035 arg2
= (int)(SWIG_As_int(obj1
));
18036 if (SWIG_arg_fail(2)) SWIG_fail
;
18041 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18047 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18052 arg5
= (long)(SWIG_As_long(obj4
));
18053 if (SWIG_arg_fail(5)) SWIG_fail
;
18058 arg6
= wxString_in_helper(obj5
);
18059 if (arg6
== NULL
) SWIG_fail
;
18064 if (!wxPyCheckForApp()) SWIG_fail
;
18065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18066 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18068 wxPyEndAllowThreads(__tstate
);
18069 if (PyErr_Occurred()) SWIG_fail
;
18071 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
18086 static PyObject
*_wrap_new_PreChoicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18087 PyObject
*resultobj
;
18088 wxChoicebook
*result
;
18089 char *kwnames
[] = {
18093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoicebook",kwnames
)) goto fail
;
18095 if (!wxPyCheckForApp()) SWIG_fail
;
18096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18097 result
= (wxChoicebook
*)new wxChoicebook();
18099 wxPyEndAllowThreads(__tstate
);
18100 if (PyErr_Occurred()) SWIG_fail
;
18102 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
18109 static PyObject
*_wrap_Choicebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18110 PyObject
*resultobj
;
18111 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18112 wxWindow
*arg2
= (wxWindow
*) 0 ;
18114 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18115 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18116 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18117 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18118 long arg6
= (long) 0 ;
18119 wxString
const &arg7_defvalue
= wxPyEmptyString
;
18120 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18124 bool temp7
= false ;
18125 PyObject
* obj0
= 0 ;
18126 PyObject
* obj1
= 0 ;
18127 PyObject
* obj2
= 0 ;
18128 PyObject
* obj3
= 0 ;
18129 PyObject
* obj4
= 0 ;
18130 PyObject
* obj5
= 0 ;
18131 PyObject
* obj6
= 0 ;
18132 char *kwnames
[] = {
18133 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18138 if (SWIG_arg_fail(1)) SWIG_fail
;
18139 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18140 if (SWIG_arg_fail(2)) SWIG_fail
;
18142 arg3
= (int)(SWIG_As_int(obj2
));
18143 if (SWIG_arg_fail(3)) SWIG_fail
;
18148 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18154 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18159 arg6
= (long)(SWIG_As_long(obj5
));
18160 if (SWIG_arg_fail(6)) SWIG_fail
;
18165 arg7
= wxString_in_helper(obj6
);
18166 if (arg7
== NULL
) SWIG_fail
;
18171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18172 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18174 wxPyEndAllowThreads(__tstate
);
18175 if (PyErr_Occurred()) SWIG_fail
;
18178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18194 static PyObject
*_wrap_Choicebook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18195 PyObject
*resultobj
;
18196 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18198 PyObject
* obj0
= 0 ;
18199 char *kwnames
[] = {
18200 (char *) "self", NULL
18203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_IsVertical",kwnames
,&obj0
)) goto fail
;
18204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18205 if (SWIG_arg_fail(1)) SWIG_fail
;
18207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18208 result
= (bool)((wxChoicebook
const *)arg1
)->IsVertical();
18210 wxPyEndAllowThreads(__tstate
);
18211 if (PyErr_Occurred()) SWIG_fail
;
18214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18222 static PyObject
*_wrap_Choicebook_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18223 PyObject
*resultobj
;
18224 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18226 PyObject
* obj0
= 0 ;
18227 char *kwnames
[] = {
18228 (char *) "self", NULL
18231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
18232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18233 if (SWIG_arg_fail(1)) SWIG_fail
;
18235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18236 result
= (bool)(arg1
)->DeleteAllPages();
18238 wxPyEndAllowThreads(__tstate
);
18239 if (PyErr_Occurred()) SWIG_fail
;
18242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18250 static PyObject
* Choicebook_swigregister(PyObject
*, PyObject
*args
) {
18252 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18253 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook
, obj
);
18255 return Py_BuildValue((char *)"");
18257 static PyObject
*_wrap_new_ChoicebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18258 PyObject
*resultobj
;
18259 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18260 int arg2
= (int) 0 ;
18261 int arg3
= (int) -1 ;
18262 int arg4
= (int) -1 ;
18263 wxChoicebookEvent
*result
;
18264 PyObject
* obj0
= 0 ;
18265 PyObject
* obj1
= 0 ;
18266 PyObject
* obj2
= 0 ;
18267 PyObject
* obj3
= 0 ;
18268 char *kwnames
[] = {
18269 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18275 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
18276 if (SWIG_arg_fail(1)) SWIG_fail
;
18281 arg2
= (int)(SWIG_As_int(obj1
));
18282 if (SWIG_arg_fail(2)) SWIG_fail
;
18287 arg3
= (int)(SWIG_As_int(obj2
));
18288 if (SWIG_arg_fail(3)) SWIG_fail
;
18293 arg4
= (int)(SWIG_As_int(obj3
));
18294 if (SWIG_arg_fail(4)) SWIG_fail
;
18298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18299 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
18301 wxPyEndAllowThreads(__tstate
);
18302 if (PyErr_Occurred()) SWIG_fail
;
18304 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebookEvent
, 1);
18311 static PyObject
* ChoicebookEvent_swigregister(PyObject
*, PyObject
*args
) {
18313 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18314 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent
, obj
);
18316 return Py_BuildValue((char *)"");
18318 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18319 PyObject
*resultobj
;
18320 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18321 wxBookCtrlSizer
*result
;
18322 PyObject
* obj0
= 0 ;
18323 char *kwnames
[] = {
18324 (char *) "nb", NULL
18327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
18328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
18329 if (SWIG_arg_fail(1)) SWIG_fail
;
18331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18332 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
18334 wxPyEndAllowThreads(__tstate
);
18335 if (PyErr_Occurred()) SWIG_fail
;
18337 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
18344 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18345 PyObject
*resultobj
;
18346 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
18347 PyObject
* obj0
= 0 ;
18348 char *kwnames
[] = {
18349 (char *) "self", NULL
18352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
18353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION
| 0);
18354 if (SWIG_arg_fail(1)) SWIG_fail
;
18356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18357 (arg1
)->RecalcSizes();
18359 wxPyEndAllowThreads(__tstate
);
18360 if (PyErr_Occurred()) SWIG_fail
;
18362 Py_INCREF(Py_None
); resultobj
= Py_None
;
18369 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18370 PyObject
*resultobj
;
18371 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
18373 PyObject
* obj0
= 0 ;
18374 char *kwnames
[] = {
18375 (char *) "self", NULL
18378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
18379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION
| 0);
18380 if (SWIG_arg_fail(1)) SWIG_fail
;
18382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18383 result
= (arg1
)->CalcMin();
18385 wxPyEndAllowThreads(__tstate
);
18386 if (PyErr_Occurred()) SWIG_fail
;
18389 wxSize
* resultptr
;
18390 resultptr
= new wxSize((wxSize
&)(result
));
18391 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18399 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18400 PyObject
*resultobj
;
18401 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
18402 wxBookCtrlBase
*result
;
18403 PyObject
* obj0
= 0 ;
18404 char *kwnames
[] = {
18405 (char *) "self", NULL
18408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
18409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION
| 0);
18410 if (SWIG_arg_fail(1)) SWIG_fail
;
18412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18413 result
= (wxBookCtrlBase
*)(arg1
)->GetControl();
18415 wxPyEndAllowThreads(__tstate
);
18416 if (PyErr_Occurred()) SWIG_fail
;
18418 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlBase
, 0);
18425 static PyObject
* BookCtrlSizer_swigregister(PyObject
*, PyObject
*args
) {
18427 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18428 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
18430 return Py_BuildValue((char *)"");
18432 static PyObject
*_wrap_new_NotebookSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18433 PyObject
*resultobj
;
18434 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
18435 wxNotebookSizer
*result
;
18436 PyObject
* obj0
= 0 ;
18437 char *kwnames
[] = {
18438 (char *) "nb", NULL
18441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
18442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
18443 if (SWIG_arg_fail(1)) SWIG_fail
;
18445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18446 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
18448 wxPyEndAllowThreads(__tstate
);
18449 if (PyErr_Occurred()) SWIG_fail
;
18451 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
18458 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18459 PyObject
*resultobj
;
18460 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
18461 PyObject
* obj0
= 0 ;
18462 char *kwnames
[] = {
18463 (char *) "self", NULL
18466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
18467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION
| 0);
18468 if (SWIG_arg_fail(1)) SWIG_fail
;
18470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18471 (arg1
)->RecalcSizes();
18473 wxPyEndAllowThreads(__tstate
);
18474 if (PyErr_Occurred()) SWIG_fail
;
18476 Py_INCREF(Py_None
); resultobj
= Py_None
;
18483 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18484 PyObject
*resultobj
;
18485 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
18487 PyObject
* obj0
= 0 ;
18488 char *kwnames
[] = {
18489 (char *) "self", NULL
18492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
18493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION
| 0);
18494 if (SWIG_arg_fail(1)) SWIG_fail
;
18496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18497 result
= (arg1
)->CalcMin();
18499 wxPyEndAllowThreads(__tstate
);
18500 if (PyErr_Occurred()) SWIG_fail
;
18503 wxSize
* resultptr
;
18504 resultptr
= new wxSize((wxSize
&)(result
));
18505 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18513 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18514 PyObject
*resultobj
;
18515 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
18516 wxNotebook
*result
;
18517 PyObject
* obj0
= 0 ;
18518 char *kwnames
[] = {
18519 (char *) "self", NULL
18522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
18523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION
| 0);
18524 if (SWIG_arg_fail(1)) SWIG_fail
;
18526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18527 result
= (wxNotebook
*)(arg1
)->GetNotebook();
18529 wxPyEndAllowThreads(__tstate
);
18530 if (PyErr_Occurred()) SWIG_fail
;
18533 resultobj
= wxPyMake_wxObject(result
, 0);
18541 static PyObject
* NotebookSizer_swigregister(PyObject
*, PyObject
*args
) {
18543 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18544 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
18546 return Py_BuildValue((char *)"");
18548 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18549 PyObject
*resultobj
;
18550 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18552 PyObject
* obj0
= 0 ;
18553 char *kwnames
[] = {
18554 (char *) "self", NULL
18557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
18558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18559 if (SWIG_arg_fail(1)) SWIG_fail
;
18561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18562 result
= (int)(arg1
)->GetId();
18564 wxPyEndAllowThreads(__tstate
);
18565 if (PyErr_Occurred()) SWIG_fail
;
18568 resultobj
= SWIG_From_int((int)(result
));
18576 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18577 PyObject
*resultobj
;
18578 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18580 PyObject
* obj0
= 0 ;
18581 char *kwnames
[] = {
18582 (char *) "self", NULL
18585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
18586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18587 if (SWIG_arg_fail(1)) SWIG_fail
;
18589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18590 result
= (wxControl
*)(arg1
)->GetControl();
18592 wxPyEndAllowThreads(__tstate
);
18593 if (PyErr_Occurred()) SWIG_fail
;
18596 resultobj
= wxPyMake_wxObject(result
, 0);
18604 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18605 PyObject
*resultobj
;
18606 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18607 wxToolBarBase
*result
;
18608 PyObject
* obj0
= 0 ;
18609 char *kwnames
[] = {
18610 (char *) "self", NULL
18613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
18614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18615 if (SWIG_arg_fail(1)) SWIG_fail
;
18617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18618 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
18620 wxPyEndAllowThreads(__tstate
);
18621 if (PyErr_Occurred()) SWIG_fail
;
18624 resultobj
= wxPyMake_wxObject(result
, 0);
18632 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18633 PyObject
*resultobj
;
18634 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18636 PyObject
* obj0
= 0 ;
18637 char *kwnames
[] = {
18638 (char *) "self", NULL
18641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
18642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18643 if (SWIG_arg_fail(1)) SWIG_fail
;
18645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18646 result
= (int)(arg1
)->IsButton();
18648 wxPyEndAllowThreads(__tstate
);
18649 if (PyErr_Occurred()) SWIG_fail
;
18652 resultobj
= SWIG_From_int((int)(result
));
18660 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18661 PyObject
*resultobj
;
18662 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18664 PyObject
* obj0
= 0 ;
18665 char *kwnames
[] = {
18666 (char *) "self", NULL
18669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
18670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18671 if (SWIG_arg_fail(1)) SWIG_fail
;
18673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18674 result
= (int)(arg1
)->IsControl();
18676 wxPyEndAllowThreads(__tstate
);
18677 if (PyErr_Occurred()) SWIG_fail
;
18680 resultobj
= SWIG_From_int((int)(result
));
18688 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18689 PyObject
*resultobj
;
18690 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18692 PyObject
* obj0
= 0 ;
18693 char *kwnames
[] = {
18694 (char *) "self", NULL
18697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
18698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18699 if (SWIG_arg_fail(1)) SWIG_fail
;
18701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18702 result
= (int)(arg1
)->IsSeparator();
18704 wxPyEndAllowThreads(__tstate
);
18705 if (PyErr_Occurred()) SWIG_fail
;
18708 resultobj
= SWIG_From_int((int)(result
));
18716 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18717 PyObject
*resultobj
;
18718 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18720 PyObject
* obj0
= 0 ;
18721 char *kwnames
[] = {
18722 (char *) "self", NULL
18725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
18726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18727 if (SWIG_arg_fail(1)) SWIG_fail
;
18729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18730 result
= (int)(arg1
)->GetStyle();
18732 wxPyEndAllowThreads(__tstate
);
18733 if (PyErr_Occurred()) SWIG_fail
;
18736 resultobj
= SWIG_From_int((int)(result
));
18744 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18745 PyObject
*resultobj
;
18746 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18748 PyObject
* obj0
= 0 ;
18749 char *kwnames
[] = {
18750 (char *) "self", NULL
18753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
18754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18755 if (SWIG_arg_fail(1)) SWIG_fail
;
18757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18758 result
= (wxItemKind
)(arg1
)->GetKind();
18760 wxPyEndAllowThreads(__tstate
);
18761 if (PyErr_Occurred()) SWIG_fail
;
18763 resultobj
= SWIG_From_int((result
));
18770 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18771 PyObject
*resultobj
;
18772 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18774 PyObject
* obj0
= 0 ;
18775 char *kwnames
[] = {
18776 (char *) "self", NULL
18779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
18780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18781 if (SWIG_arg_fail(1)) SWIG_fail
;
18783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18784 result
= (bool)(arg1
)->IsEnabled();
18786 wxPyEndAllowThreads(__tstate
);
18787 if (PyErr_Occurred()) SWIG_fail
;
18790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18798 static PyObject
*_wrap_ToolBarToolBase_IsToggled(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_IsToggled",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();
18812 result
= (bool)(arg1
)->IsToggled();
18814 wxPyEndAllowThreads(__tstate
);
18815 if (PyErr_Occurred()) SWIG_fail
;
18818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18826 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18827 PyObject
*resultobj
;
18828 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18830 PyObject
* obj0
= 0 ;
18831 char *kwnames
[] = {
18832 (char *) "self", NULL
18835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
18836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18837 if (SWIG_arg_fail(1)) SWIG_fail
;
18839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18840 result
= (bool)(arg1
)->CanBeToggled();
18842 wxPyEndAllowThreads(__tstate
);
18843 if (PyErr_Occurred()) SWIG_fail
;
18846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18854 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18855 PyObject
*resultobj
;
18856 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18858 PyObject
* obj0
= 0 ;
18859 char *kwnames
[] = {
18860 (char *) "self", NULL
18863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
18864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18865 if (SWIG_arg_fail(1)) SWIG_fail
;
18867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18869 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
18870 result
= (wxBitmap
*) &_result_ref
;
18873 wxPyEndAllowThreads(__tstate
);
18874 if (PyErr_Occurred()) SWIG_fail
;
18877 wxBitmap
* resultptr
= new wxBitmap(*result
);
18878 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18886 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18887 PyObject
*resultobj
;
18888 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18890 PyObject
* obj0
= 0 ;
18891 char *kwnames
[] = {
18892 (char *) "self", NULL
18895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
18896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18897 if (SWIG_arg_fail(1)) SWIG_fail
;
18899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18901 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
18902 result
= (wxBitmap
*) &_result_ref
;
18905 wxPyEndAllowThreads(__tstate
);
18906 if (PyErr_Occurred()) SWIG_fail
;
18909 wxBitmap
* resultptr
= new wxBitmap(*result
);
18910 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18918 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18919 PyObject
*resultobj
;
18920 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18922 PyObject
* obj0
= 0 ;
18923 char *kwnames
[] = {
18924 (char *) "self", NULL
18927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
18928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18929 if (SWIG_arg_fail(1)) SWIG_fail
;
18931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18932 result
= (arg1
)->GetBitmap();
18934 wxPyEndAllowThreads(__tstate
);
18935 if (PyErr_Occurred()) SWIG_fail
;
18938 wxBitmap
* resultptr
;
18939 resultptr
= new wxBitmap((wxBitmap
&)(result
));
18940 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18948 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18949 PyObject
*resultobj
;
18950 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18952 PyObject
* obj0
= 0 ;
18953 char *kwnames
[] = {
18954 (char *) "self", NULL
18957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
18958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18959 if (SWIG_arg_fail(1)) SWIG_fail
;
18961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18962 result
= (arg1
)->GetLabel();
18964 wxPyEndAllowThreads(__tstate
);
18965 if (PyErr_Occurred()) SWIG_fail
;
18969 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18971 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18980 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18981 PyObject
*resultobj
;
18982 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18984 PyObject
* obj0
= 0 ;
18985 char *kwnames
[] = {
18986 (char *) "self", NULL
18989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
18990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18991 if (SWIG_arg_fail(1)) SWIG_fail
;
18993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18994 result
= (arg1
)->GetShortHelp();
18996 wxPyEndAllowThreads(__tstate
);
18997 if (PyErr_Occurred()) SWIG_fail
;
19001 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19003 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19012 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19013 PyObject
*resultobj
;
19014 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19016 PyObject
* obj0
= 0 ;
19017 char *kwnames
[] = {
19018 (char *) "self", NULL
19021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
19022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19023 if (SWIG_arg_fail(1)) SWIG_fail
;
19025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19026 result
= (arg1
)->GetLongHelp();
19028 wxPyEndAllowThreads(__tstate
);
19029 if (PyErr_Occurred()) SWIG_fail
;
19033 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19035 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19044 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19045 PyObject
*resultobj
;
19046 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19049 PyObject
* obj0
= 0 ;
19050 PyObject
* obj1
= 0 ;
19051 char *kwnames
[] = {
19052 (char *) "self",(char *) "enable", NULL
19055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
19056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19057 if (SWIG_arg_fail(1)) SWIG_fail
;
19059 arg2
= (bool)(SWIG_As_bool(obj1
));
19060 if (SWIG_arg_fail(2)) SWIG_fail
;
19063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19064 result
= (bool)(arg1
)->Enable(arg2
);
19066 wxPyEndAllowThreads(__tstate
);
19067 if (PyErr_Occurred()) SWIG_fail
;
19070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19078 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19079 PyObject
*resultobj
;
19080 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19081 PyObject
* obj0
= 0 ;
19082 char *kwnames
[] = {
19083 (char *) "self", NULL
19086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
19087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19088 if (SWIG_arg_fail(1)) SWIG_fail
;
19090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19093 wxPyEndAllowThreads(__tstate
);
19094 if (PyErr_Occurred()) SWIG_fail
;
19096 Py_INCREF(Py_None
); resultobj
= Py_None
;
19103 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19104 PyObject
*resultobj
;
19105 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19108 PyObject
* obj0
= 0 ;
19109 PyObject
* obj1
= 0 ;
19110 char *kwnames
[] = {
19111 (char *) "self",(char *) "toggle", NULL
19114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
19115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19116 if (SWIG_arg_fail(1)) SWIG_fail
;
19118 arg2
= (bool)(SWIG_As_bool(obj1
));
19119 if (SWIG_arg_fail(2)) SWIG_fail
;
19122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19123 result
= (bool)(arg1
)->SetToggle(arg2
);
19125 wxPyEndAllowThreads(__tstate
);
19126 if (PyErr_Occurred()) SWIG_fail
;
19129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19137 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19138 PyObject
*resultobj
;
19139 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19140 wxString
*arg2
= 0 ;
19142 bool temp2
= false ;
19143 PyObject
* obj0
= 0 ;
19144 PyObject
* obj1
= 0 ;
19145 char *kwnames
[] = {
19146 (char *) "self",(char *) "help", NULL
19149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19151 if (SWIG_arg_fail(1)) SWIG_fail
;
19153 arg2
= wxString_in_helper(obj1
);
19154 if (arg2
== NULL
) SWIG_fail
;
19158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19159 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
19161 wxPyEndAllowThreads(__tstate
);
19162 if (PyErr_Occurred()) SWIG_fail
;
19165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19181 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19182 PyObject
*resultobj
;
19183 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19184 wxString
*arg2
= 0 ;
19186 bool temp2
= false ;
19187 PyObject
* obj0
= 0 ;
19188 PyObject
* obj1
= 0 ;
19189 char *kwnames
[] = {
19190 (char *) "self",(char *) "help", NULL
19193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19195 if (SWIG_arg_fail(1)) SWIG_fail
;
19197 arg2
= wxString_in_helper(obj1
);
19198 if (arg2
== NULL
) SWIG_fail
;
19202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19203 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
19205 wxPyEndAllowThreads(__tstate
);
19206 if (PyErr_Occurred()) SWIG_fail
;
19209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19225 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19226 PyObject
*resultobj
;
19227 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19228 wxBitmap
*arg2
= 0 ;
19229 PyObject
* obj0
= 0 ;
19230 PyObject
* obj1
= 0 ;
19231 char *kwnames
[] = {
19232 (char *) "self",(char *) "bmp", NULL
19235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
19236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19237 if (SWIG_arg_fail(1)) SWIG_fail
;
19239 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19240 if (SWIG_arg_fail(2)) SWIG_fail
;
19241 if (arg2
== NULL
) {
19242 SWIG_null_ref("wxBitmap");
19244 if (SWIG_arg_fail(2)) SWIG_fail
;
19247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19248 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
19250 wxPyEndAllowThreads(__tstate
);
19251 if (PyErr_Occurred()) SWIG_fail
;
19253 Py_INCREF(Py_None
); resultobj
= Py_None
;
19260 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19261 PyObject
*resultobj
;
19262 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19263 wxBitmap
*arg2
= 0 ;
19264 PyObject
* obj0
= 0 ;
19265 PyObject
* obj1
= 0 ;
19266 char *kwnames
[] = {
19267 (char *) "self",(char *) "bmp", NULL
19270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
19271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19272 if (SWIG_arg_fail(1)) SWIG_fail
;
19274 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19275 if (SWIG_arg_fail(2)) SWIG_fail
;
19276 if (arg2
== NULL
) {
19277 SWIG_null_ref("wxBitmap");
19279 if (SWIG_arg_fail(2)) SWIG_fail
;
19282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19283 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
19285 wxPyEndAllowThreads(__tstate
);
19286 if (PyErr_Occurred()) SWIG_fail
;
19288 Py_INCREF(Py_None
); resultobj
= Py_None
;
19295 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19296 PyObject
*resultobj
;
19297 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19298 wxString
*arg2
= 0 ;
19299 bool temp2
= false ;
19300 PyObject
* obj0
= 0 ;
19301 PyObject
* obj1
= 0 ;
19302 char *kwnames
[] = {
19303 (char *) "self",(char *) "label", NULL
19306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
19307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19308 if (SWIG_arg_fail(1)) SWIG_fail
;
19310 arg2
= wxString_in_helper(obj1
);
19311 if (arg2
== NULL
) SWIG_fail
;
19315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19316 (arg1
)->SetLabel((wxString
const &)*arg2
);
19318 wxPyEndAllowThreads(__tstate
);
19319 if (PyErr_Occurred()) SWIG_fail
;
19321 Py_INCREF(Py_None
); resultobj
= Py_None
;
19336 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19337 PyObject
*resultobj
;
19338 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19339 PyObject
* obj0
= 0 ;
19340 char *kwnames
[] = {
19341 (char *) "self", NULL
19344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
19345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19346 if (SWIG_arg_fail(1)) SWIG_fail
;
19348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19351 wxPyEndAllowThreads(__tstate
);
19352 if (PyErr_Occurred()) SWIG_fail
;
19354 Py_INCREF(Py_None
); resultobj
= Py_None
;
19361 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19362 PyObject
*resultobj
;
19363 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19364 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
19365 PyObject
* obj0
= 0 ;
19366 PyObject
* obj1
= 0 ;
19367 char *kwnames
[] = {
19368 (char *) "self",(char *) "tbar", NULL
19371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
19372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19373 if (SWIG_arg_fail(1)) SWIG_fail
;
19374 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19375 if (SWIG_arg_fail(2)) SWIG_fail
;
19377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19378 (arg1
)->Attach(arg2
);
19380 wxPyEndAllowThreads(__tstate
);
19381 if (PyErr_Occurred()) SWIG_fail
;
19383 Py_INCREF(Py_None
); resultobj
= Py_None
;
19390 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19391 PyObject
*resultobj
;
19392 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19394 PyObject
* obj0
= 0 ;
19395 char *kwnames
[] = {
19396 (char *) "self", NULL
19399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
19400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19401 if (SWIG_arg_fail(1)) SWIG_fail
;
19403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19404 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
19406 wxPyEndAllowThreads(__tstate
);
19407 if (PyErr_Occurred()) SWIG_fail
;
19409 resultobj
= result
;
19416 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19417 PyObject
*resultobj
;
19418 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19419 PyObject
*arg2
= (PyObject
*) 0 ;
19420 PyObject
* obj0
= 0 ;
19421 PyObject
* obj1
= 0 ;
19422 char *kwnames
[] = {
19423 (char *) "self",(char *) "clientData", NULL
19426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
19427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19428 if (SWIG_arg_fail(1)) SWIG_fail
;
19431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19432 wxToolBarToolBase_SetClientData(arg1
,arg2
);
19434 wxPyEndAllowThreads(__tstate
);
19435 if (PyErr_Occurred()) SWIG_fail
;
19437 Py_INCREF(Py_None
); resultobj
= Py_None
;
19444 static PyObject
* ToolBarToolBase_swigregister(PyObject
*, PyObject
*args
) {
19446 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19447 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
19449 return Py_BuildValue((char *)"");
19451 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19452 PyObject
*resultobj
;
19453 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19455 wxString
*arg3
= 0 ;
19456 wxBitmap
*arg4
= 0 ;
19457 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
19458 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
19459 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
19460 wxString
const &arg7_defvalue
= wxPyEmptyString
;
19461 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19462 wxString
const &arg8_defvalue
= wxPyEmptyString
;
19463 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19464 PyObject
*arg9
= (PyObject
*) NULL
;
19465 wxToolBarToolBase
*result
;
19466 bool temp3
= false ;
19467 bool temp7
= false ;
19468 bool temp8
= false ;
19469 PyObject
* obj0
= 0 ;
19470 PyObject
* obj1
= 0 ;
19471 PyObject
* obj2
= 0 ;
19472 PyObject
* obj3
= 0 ;
19473 PyObject
* obj4
= 0 ;
19474 PyObject
* obj5
= 0 ;
19475 PyObject
* obj6
= 0 ;
19476 PyObject
* obj7
= 0 ;
19477 PyObject
* obj8
= 0 ;
19478 char *kwnames
[] = {
19479 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
19483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19484 if (SWIG_arg_fail(1)) SWIG_fail
;
19486 arg2
= (int)(SWIG_As_int(obj1
));
19487 if (SWIG_arg_fail(2)) SWIG_fail
;
19490 arg3
= wxString_in_helper(obj2
);
19491 if (arg3
== NULL
) SWIG_fail
;
19495 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19496 if (SWIG_arg_fail(4)) SWIG_fail
;
19497 if (arg4
== NULL
) {
19498 SWIG_null_ref("wxBitmap");
19500 if (SWIG_arg_fail(4)) SWIG_fail
;
19504 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19505 if (SWIG_arg_fail(5)) SWIG_fail
;
19506 if (arg5
== NULL
) {
19507 SWIG_null_ref("wxBitmap");
19509 if (SWIG_arg_fail(5)) SWIG_fail
;
19514 arg6
= (wxItemKind
)(SWIG_As_int(obj5
));
19515 if (SWIG_arg_fail(6)) SWIG_fail
;
19520 arg7
= wxString_in_helper(obj6
);
19521 if (arg7
== NULL
) SWIG_fail
;
19527 arg8
= wxString_in_helper(obj7
);
19528 if (arg8
== NULL
) SWIG_fail
;
19536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19537 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
19539 wxPyEndAllowThreads(__tstate
);
19540 if (PyErr_Occurred()) SWIG_fail
;
19543 resultobj
= wxPyMake_wxObject(result
, 0);
19575 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19576 PyObject
*resultobj
;
19577 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19580 wxString
*arg4
= 0 ;
19581 wxBitmap
*arg5
= 0 ;
19582 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
19583 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
19584 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
19585 wxString
const &arg8_defvalue
= wxPyEmptyString
;
19586 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19587 wxString
const &arg9_defvalue
= wxPyEmptyString
;
19588 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
19589 PyObject
*arg10
= (PyObject
*) NULL
;
19590 wxToolBarToolBase
*result
;
19591 bool temp4
= false ;
19592 bool temp8
= false ;
19593 bool temp9
= false ;
19594 PyObject
* obj0
= 0 ;
19595 PyObject
* obj1
= 0 ;
19596 PyObject
* obj2
= 0 ;
19597 PyObject
* obj3
= 0 ;
19598 PyObject
* obj4
= 0 ;
19599 PyObject
* obj5
= 0 ;
19600 PyObject
* obj6
= 0 ;
19601 PyObject
* obj7
= 0 ;
19602 PyObject
* obj8
= 0 ;
19603 PyObject
* obj9
= 0 ;
19604 char *kwnames
[] = {
19605 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
19609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19610 if (SWIG_arg_fail(1)) SWIG_fail
;
19612 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19613 if (SWIG_arg_fail(2)) SWIG_fail
;
19616 arg3
= (int)(SWIG_As_int(obj2
));
19617 if (SWIG_arg_fail(3)) SWIG_fail
;
19620 arg4
= wxString_in_helper(obj3
);
19621 if (arg4
== NULL
) SWIG_fail
;
19625 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19626 if (SWIG_arg_fail(5)) SWIG_fail
;
19627 if (arg5
== NULL
) {
19628 SWIG_null_ref("wxBitmap");
19630 if (SWIG_arg_fail(5)) SWIG_fail
;
19634 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19635 if (SWIG_arg_fail(6)) SWIG_fail
;
19636 if (arg6
== NULL
) {
19637 SWIG_null_ref("wxBitmap");
19639 if (SWIG_arg_fail(6)) SWIG_fail
;
19644 arg7
= (wxItemKind
)(SWIG_As_int(obj6
));
19645 if (SWIG_arg_fail(7)) SWIG_fail
;
19650 arg8
= wxString_in_helper(obj7
);
19651 if (arg8
== NULL
) SWIG_fail
;
19657 arg9
= wxString_in_helper(obj8
);
19658 if (arg9
== NULL
) SWIG_fail
;
19666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19667 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
);
19669 wxPyEndAllowThreads(__tstate
);
19670 if (PyErr_Occurred()) SWIG_fail
;
19673 resultobj
= wxPyMake_wxObject(result
, 0);
19705 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19706 PyObject
*resultobj
;
19707 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19708 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
19709 wxToolBarToolBase
*result
;
19710 PyObject
* obj0
= 0 ;
19711 PyObject
* obj1
= 0 ;
19712 char *kwnames
[] = {
19713 (char *) "self",(char *) "tool", NULL
19716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
19717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19718 if (SWIG_arg_fail(1)) SWIG_fail
;
19719 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19720 if (SWIG_arg_fail(2)) SWIG_fail
;
19722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19723 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
19725 wxPyEndAllowThreads(__tstate
);
19726 if (PyErr_Occurred()) SWIG_fail
;
19729 resultobj
= wxPyMake_wxObject(result
, 0);
19737 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19738 PyObject
*resultobj
;
19739 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19741 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
19742 wxToolBarToolBase
*result
;
19743 PyObject
* obj0
= 0 ;
19744 PyObject
* obj1
= 0 ;
19745 PyObject
* obj2
= 0 ;
19746 char *kwnames
[] = {
19747 (char *) "self",(char *) "pos",(char *) "tool", NULL
19750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19752 if (SWIG_arg_fail(1)) SWIG_fail
;
19754 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19755 if (SWIG_arg_fail(2)) SWIG_fail
;
19757 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19758 if (SWIG_arg_fail(3)) SWIG_fail
;
19760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19761 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
19763 wxPyEndAllowThreads(__tstate
);
19764 if (PyErr_Occurred()) SWIG_fail
;
19767 resultobj
= wxPyMake_wxObject(result
, 0);
19775 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19776 PyObject
*resultobj
;
19777 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19778 wxControl
*arg2
= (wxControl
*) 0 ;
19779 wxToolBarToolBase
*result
;
19780 PyObject
* obj0
= 0 ;
19781 PyObject
* obj1
= 0 ;
19782 char *kwnames
[] = {
19783 (char *) "self",(char *) "control", NULL
19786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
19787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19788 if (SWIG_arg_fail(1)) SWIG_fail
;
19789 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
19790 if (SWIG_arg_fail(2)) SWIG_fail
;
19792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19793 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
19795 wxPyEndAllowThreads(__tstate
);
19796 if (PyErr_Occurred()) SWIG_fail
;
19799 resultobj
= wxPyMake_wxObject(result
, 0);
19807 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19808 PyObject
*resultobj
;
19809 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19811 wxControl
*arg3
= (wxControl
*) 0 ;
19812 wxToolBarToolBase
*result
;
19813 PyObject
* obj0
= 0 ;
19814 PyObject
* obj1
= 0 ;
19815 PyObject
* obj2
= 0 ;
19816 char *kwnames
[] = {
19817 (char *) "self",(char *) "pos",(char *) "control", NULL
19820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19822 if (SWIG_arg_fail(1)) SWIG_fail
;
19824 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19825 if (SWIG_arg_fail(2)) SWIG_fail
;
19827 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
19828 if (SWIG_arg_fail(3)) SWIG_fail
;
19830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19831 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
19833 wxPyEndAllowThreads(__tstate
);
19834 if (PyErr_Occurred()) SWIG_fail
;
19837 resultobj
= wxPyMake_wxObject(result
, 0);
19845 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19846 PyObject
*resultobj
;
19847 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19850 PyObject
* obj0
= 0 ;
19851 PyObject
* obj1
= 0 ;
19852 char *kwnames
[] = {
19853 (char *) "self",(char *) "id", NULL
19856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
19857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19858 if (SWIG_arg_fail(1)) SWIG_fail
;
19860 arg2
= (int)(SWIG_As_int(obj1
));
19861 if (SWIG_arg_fail(2)) SWIG_fail
;
19864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19865 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
19867 wxPyEndAllowThreads(__tstate
);
19868 if (PyErr_Occurred()) SWIG_fail
;
19871 resultobj
= wxPyMake_wxObject(result
, 0);
19879 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19880 PyObject
*resultobj
;
19881 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19882 wxToolBarToolBase
*result
;
19883 PyObject
* obj0
= 0 ;
19884 char *kwnames
[] = {
19885 (char *) "self", NULL
19888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
19889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19890 if (SWIG_arg_fail(1)) SWIG_fail
;
19892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19893 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
19895 wxPyEndAllowThreads(__tstate
);
19896 if (PyErr_Occurred()) SWIG_fail
;
19899 resultobj
= wxPyMake_wxObject(result
, 0);
19907 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19908 PyObject
*resultobj
;
19909 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19911 wxToolBarToolBase
*result
;
19912 PyObject
* obj0
= 0 ;
19913 PyObject
* obj1
= 0 ;
19914 char *kwnames
[] = {
19915 (char *) "self",(char *) "pos", NULL
19918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
19919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19920 if (SWIG_arg_fail(1)) SWIG_fail
;
19922 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19923 if (SWIG_arg_fail(2)) SWIG_fail
;
19926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19927 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
19929 wxPyEndAllowThreads(__tstate
);
19930 if (PyErr_Occurred()) SWIG_fail
;
19933 resultobj
= wxPyMake_wxObject(result
, 0);
19941 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19942 PyObject
*resultobj
;
19943 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19945 wxToolBarToolBase
*result
;
19946 PyObject
* obj0
= 0 ;
19947 PyObject
* obj1
= 0 ;
19948 char *kwnames
[] = {
19949 (char *) "self",(char *) "id", NULL
19952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
19953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19954 if (SWIG_arg_fail(1)) SWIG_fail
;
19956 arg2
= (int)(SWIG_As_int(obj1
));
19957 if (SWIG_arg_fail(2)) SWIG_fail
;
19960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19961 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
19963 wxPyEndAllowThreads(__tstate
);
19964 if (PyErr_Occurred()) SWIG_fail
;
19967 resultobj
= wxPyMake_wxObject(result
, 0);
19975 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19976 PyObject
*resultobj
;
19977 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19980 PyObject
* obj0
= 0 ;
19981 PyObject
* obj1
= 0 ;
19982 char *kwnames
[] = {
19983 (char *) "self",(char *) "pos", NULL
19986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
19987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19988 if (SWIG_arg_fail(1)) SWIG_fail
;
19990 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19991 if (SWIG_arg_fail(2)) SWIG_fail
;
19994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19995 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
19997 wxPyEndAllowThreads(__tstate
);
19998 if (PyErr_Occurred()) SWIG_fail
;
20001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20009 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20010 PyObject
*resultobj
;
20011 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20014 PyObject
* obj0
= 0 ;
20015 PyObject
* obj1
= 0 ;
20016 char *kwnames
[] = {
20017 (char *) "self",(char *) "id", NULL
20020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20029 result
= (bool)(arg1
)->DeleteTool(arg2
);
20031 wxPyEndAllowThreads(__tstate
);
20032 if (PyErr_Occurred()) SWIG_fail
;
20035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20043 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20044 PyObject
*resultobj
;
20045 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20046 PyObject
* obj0
= 0 ;
20047 char *kwnames
[] = {
20048 (char *) "self", NULL
20051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
20052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20053 if (SWIG_arg_fail(1)) SWIG_fail
;
20055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20056 (arg1
)->ClearTools();
20058 wxPyEndAllowThreads(__tstate
);
20059 if (PyErr_Occurred()) SWIG_fail
;
20061 Py_INCREF(Py_None
); resultobj
= Py_None
;
20068 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20069 PyObject
*resultobj
;
20070 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20072 PyObject
* obj0
= 0 ;
20073 char *kwnames
[] = {
20074 (char *) "self", NULL
20077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
20078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20079 if (SWIG_arg_fail(1)) SWIG_fail
;
20081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20082 result
= (bool)(arg1
)->Realize();
20084 wxPyEndAllowThreads(__tstate
);
20085 if (PyErr_Occurred()) SWIG_fail
;
20088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20096 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20097 PyObject
*resultobj
;
20098 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20101 PyObject
* obj0
= 0 ;
20102 PyObject
* obj1
= 0 ;
20103 PyObject
* obj2
= 0 ;
20104 char *kwnames
[] = {
20105 (char *) "self",(char *) "id",(char *) "enable", NULL
20108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20110 if (SWIG_arg_fail(1)) SWIG_fail
;
20112 arg2
= (int)(SWIG_As_int(obj1
));
20113 if (SWIG_arg_fail(2)) SWIG_fail
;
20116 arg3
= (bool)(SWIG_As_bool(obj2
));
20117 if (SWIG_arg_fail(3)) SWIG_fail
;
20120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20121 (arg1
)->EnableTool(arg2
,arg3
);
20123 wxPyEndAllowThreads(__tstate
);
20124 if (PyErr_Occurred()) SWIG_fail
;
20126 Py_INCREF(Py_None
); resultobj
= Py_None
;
20133 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20134 PyObject
*resultobj
;
20135 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20138 PyObject
* obj0
= 0 ;
20139 PyObject
* obj1
= 0 ;
20140 PyObject
* obj2
= 0 ;
20141 char *kwnames
[] = {
20142 (char *) "self",(char *) "id",(char *) "toggle", NULL
20145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20147 if (SWIG_arg_fail(1)) SWIG_fail
;
20149 arg2
= (int)(SWIG_As_int(obj1
));
20150 if (SWIG_arg_fail(2)) SWIG_fail
;
20153 arg3
= (bool)(SWIG_As_bool(obj2
));
20154 if (SWIG_arg_fail(3)) SWIG_fail
;
20157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20158 (arg1
)->ToggleTool(arg2
,arg3
);
20160 wxPyEndAllowThreads(__tstate
);
20161 if (PyErr_Occurred()) SWIG_fail
;
20163 Py_INCREF(Py_None
); resultobj
= Py_None
;
20170 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20171 PyObject
*resultobj
;
20172 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20175 PyObject
* obj0
= 0 ;
20176 PyObject
* obj1
= 0 ;
20177 PyObject
* obj2
= 0 ;
20178 char *kwnames
[] = {
20179 (char *) "self",(char *) "id",(char *) "toggle", NULL
20182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20184 if (SWIG_arg_fail(1)) SWIG_fail
;
20186 arg2
= (int)(SWIG_As_int(obj1
));
20187 if (SWIG_arg_fail(2)) SWIG_fail
;
20190 arg3
= (bool)(SWIG_As_bool(obj2
));
20191 if (SWIG_arg_fail(3)) SWIG_fail
;
20194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20195 (arg1
)->SetToggle(arg2
,arg3
);
20197 wxPyEndAllowThreads(__tstate
);
20198 if (PyErr_Occurred()) SWIG_fail
;
20200 Py_INCREF(Py_None
); resultobj
= Py_None
;
20207 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20208 PyObject
*resultobj
;
20209 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20212 PyObject
* obj0
= 0 ;
20213 PyObject
* obj1
= 0 ;
20214 char *kwnames
[] = {
20215 (char *) "self",(char *) "id", NULL
20218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
20219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20220 if (SWIG_arg_fail(1)) SWIG_fail
;
20222 arg2
= (int)(SWIG_As_int(obj1
));
20223 if (SWIG_arg_fail(2)) SWIG_fail
;
20226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20227 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
20229 wxPyEndAllowThreads(__tstate
);
20230 if (PyErr_Occurred()) SWIG_fail
;
20232 resultobj
= result
;
20239 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20240 PyObject
*resultobj
;
20241 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20243 PyObject
*arg3
= (PyObject
*) 0 ;
20244 PyObject
* obj0
= 0 ;
20245 PyObject
* obj1
= 0 ;
20246 PyObject
* obj2
= 0 ;
20247 char *kwnames
[] = {
20248 (char *) "self",(char *) "id",(char *) "clientData", NULL
20251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20253 if (SWIG_arg_fail(1)) SWIG_fail
;
20255 arg2
= (int)(SWIG_As_int(obj1
));
20256 if (SWIG_arg_fail(2)) SWIG_fail
;
20260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20261 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
20263 wxPyEndAllowThreads(__tstate
);
20264 if (PyErr_Occurred()) SWIG_fail
;
20266 Py_INCREF(Py_None
); resultobj
= Py_None
;
20273 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20274 PyObject
*resultobj
;
20275 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20278 PyObject
* obj0
= 0 ;
20279 PyObject
* obj1
= 0 ;
20280 char *kwnames
[] = {
20281 (char *) "self",(char *) "id", NULL
20284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
20285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20286 if (SWIG_arg_fail(1)) SWIG_fail
;
20288 arg2
= (int)(SWIG_As_int(obj1
));
20289 if (SWIG_arg_fail(2)) SWIG_fail
;
20292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20293 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
20295 wxPyEndAllowThreads(__tstate
);
20296 if (PyErr_Occurred()) SWIG_fail
;
20299 resultobj
= SWIG_From_int((int)(result
));
20307 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20308 PyObject
*resultobj
;
20309 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20312 PyObject
* obj0
= 0 ;
20313 PyObject
* obj1
= 0 ;
20314 char *kwnames
[] = {
20315 (char *) "self",(char *) "id", NULL
20318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
20319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20320 if (SWIG_arg_fail(1)) SWIG_fail
;
20322 arg2
= (int)(SWIG_As_int(obj1
));
20323 if (SWIG_arg_fail(2)) SWIG_fail
;
20326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20327 result
= (bool)(arg1
)->GetToolState(arg2
);
20329 wxPyEndAllowThreads(__tstate
);
20330 if (PyErr_Occurred()) SWIG_fail
;
20333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20341 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20342 PyObject
*resultobj
;
20343 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20346 PyObject
* obj0
= 0 ;
20347 PyObject
* obj1
= 0 ;
20348 char *kwnames
[] = {
20349 (char *) "self",(char *) "id", NULL
20352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
20353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20354 if (SWIG_arg_fail(1)) SWIG_fail
;
20356 arg2
= (int)(SWIG_As_int(obj1
));
20357 if (SWIG_arg_fail(2)) SWIG_fail
;
20360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20361 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
20363 wxPyEndAllowThreads(__tstate
);
20364 if (PyErr_Occurred()) SWIG_fail
;
20367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20375 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20376 PyObject
*resultobj
;
20377 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20379 wxString
*arg3
= 0 ;
20380 bool temp3
= false ;
20381 PyObject
* obj0
= 0 ;
20382 PyObject
* obj1
= 0 ;
20383 PyObject
* obj2
= 0 ;
20384 char *kwnames
[] = {
20385 (char *) "self",(char *) "id",(char *) "helpString", NULL
20388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20390 if (SWIG_arg_fail(1)) SWIG_fail
;
20392 arg2
= (int)(SWIG_As_int(obj1
));
20393 if (SWIG_arg_fail(2)) SWIG_fail
;
20396 arg3
= wxString_in_helper(obj2
);
20397 if (arg3
== NULL
) SWIG_fail
;
20401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20402 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
20404 wxPyEndAllowThreads(__tstate
);
20405 if (PyErr_Occurred()) SWIG_fail
;
20407 Py_INCREF(Py_None
); resultobj
= Py_None
;
20422 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20423 PyObject
*resultobj
;
20424 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20427 PyObject
* obj0
= 0 ;
20428 PyObject
* obj1
= 0 ;
20429 char *kwnames
[] = {
20430 (char *) "self",(char *) "id", NULL
20433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20435 if (SWIG_arg_fail(1)) SWIG_fail
;
20437 arg2
= (int)(SWIG_As_int(obj1
));
20438 if (SWIG_arg_fail(2)) SWIG_fail
;
20441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20442 result
= (arg1
)->GetToolShortHelp(arg2
);
20444 wxPyEndAllowThreads(__tstate
);
20445 if (PyErr_Occurred()) SWIG_fail
;
20449 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20451 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20460 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20461 PyObject
*resultobj
;
20462 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20464 wxString
*arg3
= 0 ;
20465 bool temp3
= false ;
20466 PyObject
* obj0
= 0 ;
20467 PyObject
* obj1
= 0 ;
20468 PyObject
* obj2
= 0 ;
20469 char *kwnames
[] = {
20470 (char *) "self",(char *) "id",(char *) "helpString", NULL
20473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20475 if (SWIG_arg_fail(1)) SWIG_fail
;
20477 arg2
= (int)(SWIG_As_int(obj1
));
20478 if (SWIG_arg_fail(2)) SWIG_fail
;
20481 arg3
= wxString_in_helper(obj2
);
20482 if (arg3
== NULL
) SWIG_fail
;
20486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20487 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
20489 wxPyEndAllowThreads(__tstate
);
20490 if (PyErr_Occurred()) SWIG_fail
;
20492 Py_INCREF(Py_None
); resultobj
= Py_None
;
20507 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20508 PyObject
*resultobj
;
20509 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20512 PyObject
* obj0
= 0 ;
20513 PyObject
* obj1
= 0 ;
20514 char *kwnames
[] = {
20515 (char *) "self",(char *) "id", NULL
20518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20520 if (SWIG_arg_fail(1)) SWIG_fail
;
20522 arg2
= (int)(SWIG_As_int(obj1
));
20523 if (SWIG_arg_fail(2)) SWIG_fail
;
20526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20527 result
= (arg1
)->GetToolLongHelp(arg2
);
20529 wxPyEndAllowThreads(__tstate
);
20530 if (PyErr_Occurred()) SWIG_fail
;
20534 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20536 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20545 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20546 PyObject
*resultobj
;
20547 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20550 PyObject
* obj0
= 0 ;
20551 PyObject
* obj1
= 0 ;
20552 PyObject
* obj2
= 0 ;
20553 char *kwnames
[] = {
20554 (char *) "self",(char *) "x",(char *) "y", NULL
20557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20559 if (SWIG_arg_fail(1)) SWIG_fail
;
20561 arg2
= (int)(SWIG_As_int(obj1
));
20562 if (SWIG_arg_fail(2)) SWIG_fail
;
20565 arg3
= (int)(SWIG_As_int(obj2
));
20566 if (SWIG_arg_fail(3)) SWIG_fail
;
20569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20570 (arg1
)->SetMargins(arg2
,arg3
);
20572 wxPyEndAllowThreads(__tstate
);
20573 if (PyErr_Occurred()) SWIG_fail
;
20575 Py_INCREF(Py_None
); resultobj
= Py_None
;
20582 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20583 PyObject
*resultobj
;
20584 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20587 PyObject
* obj0
= 0 ;
20588 PyObject
* obj1
= 0 ;
20589 char *kwnames
[] = {
20590 (char *) "self",(char *) "size", NULL
20593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
20594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20595 if (SWIG_arg_fail(1)) SWIG_fail
;
20598 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20602 (arg1
)->SetMargins((wxSize
const &)*arg2
);
20604 wxPyEndAllowThreads(__tstate
);
20605 if (PyErr_Occurred()) SWIG_fail
;
20607 Py_INCREF(Py_None
); resultobj
= Py_None
;
20614 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20615 PyObject
*resultobj
;
20616 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20618 PyObject
* obj0
= 0 ;
20619 PyObject
* obj1
= 0 ;
20620 char *kwnames
[] = {
20621 (char *) "self",(char *) "packing", NULL
20624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
20625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20626 if (SWIG_arg_fail(1)) SWIG_fail
;
20628 arg2
= (int)(SWIG_As_int(obj1
));
20629 if (SWIG_arg_fail(2)) SWIG_fail
;
20632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20633 (arg1
)->SetToolPacking(arg2
);
20635 wxPyEndAllowThreads(__tstate
);
20636 if (PyErr_Occurred()) SWIG_fail
;
20638 Py_INCREF(Py_None
); resultobj
= Py_None
;
20645 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20646 PyObject
*resultobj
;
20647 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20649 PyObject
* obj0
= 0 ;
20650 PyObject
* obj1
= 0 ;
20651 char *kwnames
[] = {
20652 (char *) "self",(char *) "separation", NULL
20655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
20656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20657 if (SWIG_arg_fail(1)) SWIG_fail
;
20659 arg2
= (int)(SWIG_As_int(obj1
));
20660 if (SWIG_arg_fail(2)) SWIG_fail
;
20663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20664 (arg1
)->SetToolSeparation(arg2
);
20666 wxPyEndAllowThreads(__tstate
);
20667 if (PyErr_Occurred()) SWIG_fail
;
20669 Py_INCREF(Py_None
); resultobj
= Py_None
;
20676 static PyObject
*_wrap_ToolBarBase_GetToolMargins(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_GetToolMargins",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
= (arg1
)->GetToolMargins();
20692 wxPyEndAllowThreads(__tstate
);
20693 if (PyErr_Occurred()) SWIG_fail
;
20696 wxSize
* resultptr
;
20697 resultptr
= new wxSize((wxSize
&)(result
));
20698 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20706 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20707 PyObject
*resultobj
;
20708 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20710 PyObject
* obj0
= 0 ;
20711 char *kwnames
[] = {
20712 (char *) "self", NULL
20715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
20716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20717 if (SWIG_arg_fail(1)) SWIG_fail
;
20719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20720 result
= (arg1
)->GetMargins();
20722 wxPyEndAllowThreads(__tstate
);
20723 if (PyErr_Occurred()) SWIG_fail
;
20726 wxSize
* resultptr
;
20727 resultptr
= new wxSize((wxSize
&)(result
));
20728 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20736 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20737 PyObject
*resultobj
;
20738 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20740 PyObject
* obj0
= 0 ;
20741 char *kwnames
[] = {
20742 (char *) "self", NULL
20745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
20746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20747 if (SWIG_arg_fail(1)) SWIG_fail
;
20749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20750 result
= (int)(arg1
)->GetToolPacking();
20752 wxPyEndAllowThreads(__tstate
);
20753 if (PyErr_Occurred()) SWIG_fail
;
20756 resultobj
= SWIG_From_int((int)(result
));
20764 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20765 PyObject
*resultobj
;
20766 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20768 PyObject
* obj0
= 0 ;
20769 char *kwnames
[] = {
20770 (char *) "self", NULL
20773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
20774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20775 if (SWIG_arg_fail(1)) SWIG_fail
;
20777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20778 result
= (int)(arg1
)->GetToolSeparation();
20780 wxPyEndAllowThreads(__tstate
);
20781 if (PyErr_Occurred()) SWIG_fail
;
20784 resultobj
= SWIG_From_int((int)(result
));
20792 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20793 PyObject
*resultobj
;
20794 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20796 PyObject
* obj0
= 0 ;
20797 PyObject
* obj1
= 0 ;
20798 char *kwnames
[] = {
20799 (char *) "self",(char *) "nRows", NULL
20802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
20803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20804 if (SWIG_arg_fail(1)) SWIG_fail
;
20806 arg2
= (int)(SWIG_As_int(obj1
));
20807 if (SWIG_arg_fail(2)) SWIG_fail
;
20810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20811 (arg1
)->SetRows(arg2
);
20813 wxPyEndAllowThreads(__tstate
);
20814 if (PyErr_Occurred()) SWIG_fail
;
20816 Py_INCREF(Py_None
); resultobj
= Py_None
;
20823 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20824 PyObject
*resultobj
;
20825 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20828 PyObject
* obj0
= 0 ;
20829 PyObject
* obj1
= 0 ;
20830 PyObject
* obj2
= 0 ;
20831 char *kwnames
[] = {
20832 (char *) "self",(char *) "rows",(char *) "cols", NULL
20835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20837 if (SWIG_arg_fail(1)) SWIG_fail
;
20839 arg2
= (int)(SWIG_As_int(obj1
));
20840 if (SWIG_arg_fail(2)) SWIG_fail
;
20843 arg3
= (int)(SWIG_As_int(obj2
));
20844 if (SWIG_arg_fail(3)) SWIG_fail
;
20847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20848 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
20850 wxPyEndAllowThreads(__tstate
);
20851 if (PyErr_Occurred()) SWIG_fail
;
20853 Py_INCREF(Py_None
); resultobj
= Py_None
;
20860 static PyObject
*_wrap_ToolBarBase_GetMaxRows(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_GetMaxRows",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
= (int)(arg1
)->GetMaxRows();
20876 wxPyEndAllowThreads(__tstate
);
20877 if (PyErr_Occurred()) SWIG_fail
;
20880 resultobj
= SWIG_From_int((int)(result
));
20888 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20889 PyObject
*resultobj
;
20890 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20892 PyObject
* obj0
= 0 ;
20893 char *kwnames
[] = {
20894 (char *) "self", NULL
20897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
20898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20899 if (SWIG_arg_fail(1)) SWIG_fail
;
20901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20902 result
= (int)(arg1
)->GetMaxCols();
20904 wxPyEndAllowThreads(__tstate
);
20905 if (PyErr_Occurred()) SWIG_fail
;
20908 resultobj
= SWIG_From_int((int)(result
));
20916 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20917 PyObject
*resultobj
;
20918 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20921 PyObject
* obj0
= 0 ;
20922 PyObject
* obj1
= 0 ;
20923 char *kwnames
[] = {
20924 (char *) "self",(char *) "size", NULL
20927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20929 if (SWIG_arg_fail(1)) SWIG_fail
;
20932 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20936 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
20938 wxPyEndAllowThreads(__tstate
);
20939 if (PyErr_Occurred()) SWIG_fail
;
20941 Py_INCREF(Py_None
); resultobj
= Py_None
;
20948 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20949 PyObject
*resultobj
;
20950 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20952 PyObject
* obj0
= 0 ;
20953 char *kwnames
[] = {
20954 (char *) "self", NULL
20957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
20958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20959 if (SWIG_arg_fail(1)) SWIG_fail
;
20961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20962 result
= (arg1
)->GetToolBitmapSize();
20964 wxPyEndAllowThreads(__tstate
);
20965 if (PyErr_Occurred()) SWIG_fail
;
20968 wxSize
* resultptr
;
20969 resultptr
= new wxSize((wxSize
&)(result
));
20970 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20978 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20979 PyObject
*resultobj
;
20980 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20982 PyObject
* obj0
= 0 ;
20983 char *kwnames
[] = {
20984 (char *) "self", NULL
20987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
20988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20989 if (SWIG_arg_fail(1)) SWIG_fail
;
20991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20992 result
= (arg1
)->GetToolSize();
20994 wxPyEndAllowThreads(__tstate
);
20995 if (PyErr_Occurred()) SWIG_fail
;
20998 wxSize
* resultptr
;
20999 resultptr
= new wxSize((wxSize
&)(result
));
21000 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
21008 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21009 PyObject
*resultobj
;
21010 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21013 wxToolBarToolBase
*result
;
21014 PyObject
* obj0
= 0 ;
21015 PyObject
* obj1
= 0 ;
21016 PyObject
* obj2
= 0 ;
21017 char *kwnames
[] = {
21018 (char *) "self",(char *) "x",(char *) "y", NULL
21021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21023 if (SWIG_arg_fail(1)) SWIG_fail
;
21025 arg2
= (int)(SWIG_As_int(obj1
));
21026 if (SWIG_arg_fail(2)) SWIG_fail
;
21029 arg3
= (int)(SWIG_As_int(obj2
));
21030 if (SWIG_arg_fail(3)) SWIG_fail
;
21033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21034 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
21036 wxPyEndAllowThreads(__tstate
);
21037 if (PyErr_Occurred()) SWIG_fail
;
21040 resultobj
= wxPyMake_wxObject(result
, 0);
21048 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21049 PyObject
*resultobj
;
21050 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21052 wxToolBarToolBase
*result
;
21053 PyObject
* obj0
= 0 ;
21054 PyObject
* obj1
= 0 ;
21055 char *kwnames
[] = {
21056 (char *) "self",(char *) "toolid", NULL
21059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
21060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21061 if (SWIG_arg_fail(1)) SWIG_fail
;
21063 arg2
= (int)(SWIG_As_int(obj1
));
21064 if (SWIG_arg_fail(2)) SWIG_fail
;
21067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21068 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
21070 wxPyEndAllowThreads(__tstate
);
21071 if (PyErr_Occurred()) SWIG_fail
;
21074 resultobj
= wxPyMake_wxObject(result
, 0);
21082 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21083 PyObject
*resultobj
;
21084 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21086 PyObject
* obj0
= 0 ;
21087 char *kwnames
[] = {
21088 (char *) "self", NULL
21091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
21092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21093 if (SWIG_arg_fail(1)) SWIG_fail
;
21095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21096 result
= (bool)(arg1
)->IsVertical();
21098 wxPyEndAllowThreads(__tstate
);
21099 if (PyErr_Occurred()) SWIG_fail
;
21102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21110 static PyObject
* ToolBarBase_swigregister(PyObject
*, PyObject
*args
) {
21112 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21113 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
21115 return Py_BuildValue((char *)"");
21117 static PyObject
*_wrap_new_ToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21118 PyObject
*resultobj
;
21119 wxWindow
*arg1
= (wxWindow
*) 0 ;
21120 int arg2
= (int) -1 ;
21121 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21122 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21123 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21124 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21125 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
21126 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
21127 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21131 bool temp6
= false ;
21132 PyObject
* obj0
= 0 ;
21133 PyObject
* obj1
= 0 ;
21134 PyObject
* obj2
= 0 ;
21135 PyObject
* obj3
= 0 ;
21136 PyObject
* obj4
= 0 ;
21137 PyObject
* obj5
= 0 ;
21138 char *kwnames
[] = {
21139 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21144 if (SWIG_arg_fail(1)) SWIG_fail
;
21147 arg2
= (int)(SWIG_As_int(obj1
));
21148 if (SWIG_arg_fail(2)) SWIG_fail
;
21154 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21160 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21165 arg5
= (long)(SWIG_As_long(obj4
));
21166 if (SWIG_arg_fail(5)) SWIG_fail
;
21171 arg6
= wxString_in_helper(obj5
);
21172 if (arg6
== NULL
) SWIG_fail
;
21177 if (!wxPyCheckForApp()) SWIG_fail
;
21178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21179 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21181 wxPyEndAllowThreads(__tstate
);
21182 if (PyErr_Occurred()) SWIG_fail
;
21184 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
21199 static PyObject
*_wrap_new_PreToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21200 PyObject
*resultobj
;
21202 char *kwnames
[] = {
21206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
21208 if (!wxPyCheckForApp()) SWIG_fail
;
21209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21210 result
= (wxToolBar
*)new wxToolBar();
21212 wxPyEndAllowThreads(__tstate
);
21213 if (PyErr_Occurred()) SWIG_fail
;
21215 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
21222 static PyObject
*_wrap_ToolBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21223 PyObject
*resultobj
;
21224 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
21225 wxWindow
*arg2
= (wxWindow
*) 0 ;
21226 int arg3
= (int) -1 ;
21227 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21228 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21229 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21230 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21231 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
21232 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
21233 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21237 bool temp7
= false ;
21238 PyObject
* obj0
= 0 ;
21239 PyObject
* obj1
= 0 ;
21240 PyObject
* obj2
= 0 ;
21241 PyObject
* obj3
= 0 ;
21242 PyObject
* obj4
= 0 ;
21243 PyObject
* obj5
= 0 ;
21244 PyObject
* obj6
= 0 ;
21245 char *kwnames
[] = {
21246 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
21251 if (SWIG_arg_fail(1)) SWIG_fail
;
21252 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21253 if (SWIG_arg_fail(2)) SWIG_fail
;
21256 arg3
= (int)(SWIG_As_int(obj2
));
21257 if (SWIG_arg_fail(3)) SWIG_fail
;
21263 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21269 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21274 arg6
= (long)(SWIG_As_long(obj5
));
21275 if (SWIG_arg_fail(6)) SWIG_fail
;
21280 arg7
= wxString_in_helper(obj6
);
21281 if (arg7
== NULL
) SWIG_fail
;
21286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21287 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21289 wxPyEndAllowThreads(__tstate
);
21290 if (PyErr_Occurred()) SWIG_fail
;
21293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21309 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21310 PyObject
*resultobj
;
21311 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
21314 wxToolBarToolBase
*result
;
21315 PyObject
* obj0
= 0 ;
21316 PyObject
* obj1
= 0 ;
21317 PyObject
* obj2
= 0 ;
21318 char *kwnames
[] = {
21319 (char *) "self",(char *) "x",(char *) "y", NULL
21322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
21324 if (SWIG_arg_fail(1)) SWIG_fail
;
21326 arg2
= (int)(SWIG_As_int(obj1
));
21327 if (SWIG_arg_fail(2)) SWIG_fail
;
21330 arg3
= (int)(SWIG_As_int(obj2
));
21331 if (SWIG_arg_fail(3)) SWIG_fail
;
21334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21335 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
21337 wxPyEndAllowThreads(__tstate
);
21338 if (PyErr_Occurred()) SWIG_fail
;
21341 resultobj
= wxPyMake_wxObject(result
, 0);
21349 static PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21350 PyObject
*resultobj
;
21351 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
21352 wxVisualAttributes result
;
21353 PyObject
* obj0
= 0 ;
21354 char *kwnames
[] = {
21355 (char *) "variant", NULL
21358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
21361 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
21362 if (SWIG_arg_fail(1)) SWIG_fail
;
21366 if (!wxPyCheckForApp()) SWIG_fail
;
21367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21368 result
= wxToolBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
21370 wxPyEndAllowThreads(__tstate
);
21371 if (PyErr_Occurred()) SWIG_fail
;
21374 wxVisualAttributes
* resultptr
;
21375 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
21376 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
21384 static PyObject
* ToolBar_swigregister(PyObject
*, PyObject
*args
) {
21386 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21387 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
21389 return Py_BuildValue((char *)"");
21391 static int _wrap_ListCtrlNameStr_set(PyObject
*) {
21392 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
21397 static PyObject
*_wrap_ListCtrlNameStr_get(void) {
21402 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
21404 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
21411 static PyObject
*_wrap_new_ListItemAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21412 PyObject
*resultobj
;
21413 wxColour
const &arg1_defvalue
= wxNullColour
;
21414 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
21415 wxColour
const &arg2_defvalue
= wxNullColour
;
21416 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
21417 wxFont
const &arg3_defvalue
= wxNullFont
;
21418 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
21419 wxListItemAttr
*result
;
21422 PyObject
* obj0
= 0 ;
21423 PyObject
* obj1
= 0 ;
21424 PyObject
* obj2
= 0 ;
21425 char *kwnames
[] = {
21426 (char *) "colText",(char *) "colBack",(char *) "font", NULL
21429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21433 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
21439 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21444 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
21445 if (SWIG_arg_fail(3)) SWIG_fail
;
21446 if (arg3
== NULL
) {
21447 SWIG_null_ref("wxFont");
21449 if (SWIG_arg_fail(3)) SWIG_fail
;
21453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21454 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
21456 wxPyEndAllowThreads(__tstate
);
21457 if (PyErr_Occurred()) SWIG_fail
;
21459 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
21466 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21467 PyObject
*resultobj
;
21468 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21469 wxColour
*arg2
= 0 ;
21471 PyObject
* obj0
= 0 ;
21472 PyObject
* obj1
= 0 ;
21473 char *kwnames
[] = {
21474 (char *) "self",(char *) "colText", NULL
21477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21479 if (SWIG_arg_fail(1)) SWIG_fail
;
21482 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21486 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
21488 wxPyEndAllowThreads(__tstate
);
21489 if (PyErr_Occurred()) SWIG_fail
;
21491 Py_INCREF(Py_None
); resultobj
= Py_None
;
21498 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21499 PyObject
*resultobj
;
21500 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21501 wxColour
*arg2
= 0 ;
21503 PyObject
* obj0
= 0 ;
21504 PyObject
* obj1
= 0 ;
21505 char *kwnames
[] = {
21506 (char *) "self",(char *) "colBack", NULL
21509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21511 if (SWIG_arg_fail(1)) SWIG_fail
;
21514 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21518 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
21520 wxPyEndAllowThreads(__tstate
);
21521 if (PyErr_Occurred()) SWIG_fail
;
21523 Py_INCREF(Py_None
); resultobj
= Py_None
;
21530 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21531 PyObject
*resultobj
;
21532 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21534 PyObject
* obj0
= 0 ;
21535 PyObject
* obj1
= 0 ;
21536 char *kwnames
[] = {
21537 (char *) "self",(char *) "font", NULL
21540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
21541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21542 if (SWIG_arg_fail(1)) SWIG_fail
;
21544 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
21545 if (SWIG_arg_fail(2)) SWIG_fail
;
21546 if (arg2
== NULL
) {
21547 SWIG_null_ref("wxFont");
21549 if (SWIG_arg_fail(2)) SWIG_fail
;
21552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21553 (arg1
)->SetFont((wxFont
const &)*arg2
);
21555 wxPyEndAllowThreads(__tstate
);
21556 if (PyErr_Occurred()) SWIG_fail
;
21558 Py_INCREF(Py_None
); resultobj
= Py_None
;
21565 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21566 PyObject
*resultobj
;
21567 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21569 PyObject
* obj0
= 0 ;
21570 char *kwnames
[] = {
21571 (char *) "self", NULL
21574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
21575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21576 if (SWIG_arg_fail(1)) SWIG_fail
;
21578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21579 result
= (bool)(arg1
)->HasTextColour();
21581 wxPyEndAllowThreads(__tstate
);
21582 if (PyErr_Occurred()) SWIG_fail
;
21585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21593 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21594 PyObject
*resultobj
;
21595 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21597 PyObject
* obj0
= 0 ;
21598 char *kwnames
[] = {
21599 (char *) "self", NULL
21602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
21603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21604 if (SWIG_arg_fail(1)) SWIG_fail
;
21606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21607 result
= (bool)(arg1
)->HasBackgroundColour();
21609 wxPyEndAllowThreads(__tstate
);
21610 if (PyErr_Occurred()) SWIG_fail
;
21613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21621 static PyObject
*_wrap_ListItemAttr_HasFont(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_HasFont",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
= (bool)(arg1
)->HasFont();
21637 wxPyEndAllowThreads(__tstate
);
21638 if (PyErr_Occurred()) SWIG_fail
;
21641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21649 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21650 PyObject
*resultobj
;
21651 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21653 PyObject
* obj0
= 0 ;
21654 char *kwnames
[] = {
21655 (char *) "self", NULL
21658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
21659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21660 if (SWIG_arg_fail(1)) SWIG_fail
;
21662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21663 result
= (arg1
)->GetTextColour();
21665 wxPyEndAllowThreads(__tstate
);
21666 if (PyErr_Occurred()) SWIG_fail
;
21669 wxColour
* resultptr
;
21670 resultptr
= new wxColour((wxColour
&)(result
));
21671 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21679 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21680 PyObject
*resultobj
;
21681 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21683 PyObject
* obj0
= 0 ;
21684 char *kwnames
[] = {
21685 (char *) "self", NULL
21688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
21689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21690 if (SWIG_arg_fail(1)) SWIG_fail
;
21692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21693 result
= (arg1
)->GetBackgroundColour();
21695 wxPyEndAllowThreads(__tstate
);
21696 if (PyErr_Occurred()) SWIG_fail
;
21699 wxColour
* resultptr
;
21700 resultptr
= new wxColour((wxColour
&)(result
));
21701 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21709 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21710 PyObject
*resultobj
;
21711 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21713 PyObject
* obj0
= 0 ;
21714 char *kwnames
[] = {
21715 (char *) "self", NULL
21718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
21719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21720 if (SWIG_arg_fail(1)) SWIG_fail
;
21722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21723 result
= (arg1
)->GetFont();
21725 wxPyEndAllowThreads(__tstate
);
21726 if (PyErr_Occurred()) SWIG_fail
;
21729 wxFont
* resultptr
;
21730 resultptr
= new wxFont((wxFont
&)(result
));
21731 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
21739 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21740 PyObject
*resultobj
;
21741 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21742 PyObject
* obj0
= 0 ;
21743 char *kwnames
[] = {
21744 (char *) "self", NULL
21747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
21748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21749 if (SWIG_arg_fail(1)) SWIG_fail
;
21751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21752 wxListItemAttr_Destroy(arg1
);
21754 wxPyEndAllowThreads(__tstate
);
21755 if (PyErr_Occurred()) SWIG_fail
;
21757 Py_INCREF(Py_None
); resultobj
= Py_None
;
21764 static PyObject
* ListItemAttr_swigregister(PyObject
*, PyObject
*args
) {
21766 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21767 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
21769 return Py_BuildValue((char *)"");
21771 static PyObject
*_wrap_new_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21772 PyObject
*resultobj
;
21773 wxListItem
*result
;
21774 char *kwnames
[] = {
21778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
21780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21781 result
= (wxListItem
*)new wxListItem();
21783 wxPyEndAllowThreads(__tstate
);
21784 if (PyErr_Occurred()) SWIG_fail
;
21787 resultobj
= wxPyMake_wxObject(result
, 1);
21795 static PyObject
*_wrap_delete_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21796 PyObject
*resultobj
;
21797 wxListItem
*arg1
= (wxListItem
*) 0 ;
21798 PyObject
* obj0
= 0 ;
21799 char *kwnames
[] = {
21800 (char *) "self", NULL
21803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
21804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21805 if (SWIG_arg_fail(1)) SWIG_fail
;
21807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21810 wxPyEndAllowThreads(__tstate
);
21811 if (PyErr_Occurred()) SWIG_fail
;
21813 Py_INCREF(Py_None
); resultobj
= Py_None
;
21820 static PyObject
*_wrap_ListItem_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21821 PyObject
*resultobj
;
21822 wxListItem
*arg1
= (wxListItem
*) 0 ;
21823 PyObject
* obj0
= 0 ;
21824 char *kwnames
[] = {
21825 (char *) "self", NULL
21828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
21829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21830 if (SWIG_arg_fail(1)) SWIG_fail
;
21832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21835 wxPyEndAllowThreads(__tstate
);
21836 if (PyErr_Occurred()) SWIG_fail
;
21838 Py_INCREF(Py_None
); resultobj
= Py_None
;
21845 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21846 PyObject
*resultobj
;
21847 wxListItem
*arg1
= (wxListItem
*) 0 ;
21848 PyObject
* obj0
= 0 ;
21849 char *kwnames
[] = {
21850 (char *) "self", NULL
21853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
21854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21855 if (SWIG_arg_fail(1)) SWIG_fail
;
21857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21858 (arg1
)->ClearAttributes();
21860 wxPyEndAllowThreads(__tstate
);
21861 if (PyErr_Occurred()) SWIG_fail
;
21863 Py_INCREF(Py_None
); resultobj
= Py_None
;
21870 static PyObject
*_wrap_ListItem_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21871 PyObject
*resultobj
;
21872 wxListItem
*arg1
= (wxListItem
*) 0 ;
21874 PyObject
* obj0
= 0 ;
21875 PyObject
* obj1
= 0 ;
21876 char *kwnames
[] = {
21877 (char *) "self",(char *) "mask", NULL
21880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
21881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21882 if (SWIG_arg_fail(1)) SWIG_fail
;
21884 arg2
= (long)(SWIG_As_long(obj1
));
21885 if (SWIG_arg_fail(2)) SWIG_fail
;
21888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21889 (arg1
)->SetMask(arg2
);
21891 wxPyEndAllowThreads(__tstate
);
21892 if (PyErr_Occurred()) SWIG_fail
;
21894 Py_INCREF(Py_None
); resultobj
= Py_None
;
21901 static PyObject
*_wrap_ListItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21902 PyObject
*resultobj
;
21903 wxListItem
*arg1
= (wxListItem
*) 0 ;
21905 PyObject
* obj0
= 0 ;
21906 PyObject
* obj1
= 0 ;
21907 char *kwnames
[] = {
21908 (char *) "self",(char *) "id", NULL
21911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
21912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21913 if (SWIG_arg_fail(1)) SWIG_fail
;
21915 arg2
= (long)(SWIG_As_long(obj1
));
21916 if (SWIG_arg_fail(2)) SWIG_fail
;
21919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21920 (arg1
)->SetId(arg2
);
21922 wxPyEndAllowThreads(__tstate
);
21923 if (PyErr_Occurred()) SWIG_fail
;
21925 Py_INCREF(Py_None
); resultobj
= Py_None
;
21932 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21933 PyObject
*resultobj
;
21934 wxListItem
*arg1
= (wxListItem
*) 0 ;
21936 PyObject
* obj0
= 0 ;
21937 PyObject
* obj1
= 0 ;
21938 char *kwnames
[] = {
21939 (char *) "self",(char *) "col", NULL
21942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21944 if (SWIG_arg_fail(1)) SWIG_fail
;
21946 arg2
= (int)(SWIG_As_int(obj1
));
21947 if (SWIG_arg_fail(2)) SWIG_fail
;
21950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21951 (arg1
)->SetColumn(arg2
);
21953 wxPyEndAllowThreads(__tstate
);
21954 if (PyErr_Occurred()) SWIG_fail
;
21956 Py_INCREF(Py_None
); resultobj
= Py_None
;
21963 static PyObject
*_wrap_ListItem_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21964 PyObject
*resultobj
;
21965 wxListItem
*arg1
= (wxListItem
*) 0 ;
21967 PyObject
* obj0
= 0 ;
21968 PyObject
* obj1
= 0 ;
21969 char *kwnames
[] = {
21970 (char *) "self",(char *) "state", NULL
21973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
21974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21975 if (SWIG_arg_fail(1)) SWIG_fail
;
21977 arg2
= (long)(SWIG_As_long(obj1
));
21978 if (SWIG_arg_fail(2)) SWIG_fail
;
21981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21982 (arg1
)->SetState(arg2
);
21984 wxPyEndAllowThreads(__tstate
);
21985 if (PyErr_Occurred()) SWIG_fail
;
21987 Py_INCREF(Py_None
); resultobj
= Py_None
;
21994 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21995 PyObject
*resultobj
;
21996 wxListItem
*arg1
= (wxListItem
*) 0 ;
21998 PyObject
* obj0
= 0 ;
21999 PyObject
* obj1
= 0 ;
22000 char *kwnames
[] = {
22001 (char *) "self",(char *) "stateMask", NULL
22004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
22005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22006 if (SWIG_arg_fail(1)) SWIG_fail
;
22008 arg2
= (long)(SWIG_As_long(obj1
));
22009 if (SWIG_arg_fail(2)) SWIG_fail
;
22012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22013 (arg1
)->SetStateMask(arg2
);
22015 wxPyEndAllowThreads(__tstate
);
22016 if (PyErr_Occurred()) SWIG_fail
;
22018 Py_INCREF(Py_None
); resultobj
= Py_None
;
22025 static PyObject
*_wrap_ListItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22026 PyObject
*resultobj
;
22027 wxListItem
*arg1
= (wxListItem
*) 0 ;
22028 wxString
*arg2
= 0 ;
22029 bool temp2
= false ;
22030 PyObject
* obj0
= 0 ;
22031 PyObject
* obj1
= 0 ;
22032 char *kwnames
[] = {
22033 (char *) "self",(char *) "text", NULL
22036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
22037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22038 if (SWIG_arg_fail(1)) SWIG_fail
;
22040 arg2
= wxString_in_helper(obj1
);
22041 if (arg2
== NULL
) SWIG_fail
;
22045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22046 (arg1
)->SetText((wxString
const &)*arg2
);
22048 wxPyEndAllowThreads(__tstate
);
22049 if (PyErr_Occurred()) SWIG_fail
;
22051 Py_INCREF(Py_None
); resultobj
= Py_None
;
22066 static PyObject
*_wrap_ListItem_SetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22067 PyObject
*resultobj
;
22068 wxListItem
*arg1
= (wxListItem
*) 0 ;
22070 PyObject
* obj0
= 0 ;
22071 PyObject
* obj1
= 0 ;
22072 char *kwnames
[] = {
22073 (char *) "self",(char *) "image", NULL
22076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
22077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22078 if (SWIG_arg_fail(1)) SWIG_fail
;
22080 arg2
= (int)(SWIG_As_int(obj1
));
22081 if (SWIG_arg_fail(2)) SWIG_fail
;
22084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22085 (arg1
)->SetImage(arg2
);
22087 wxPyEndAllowThreads(__tstate
);
22088 if (PyErr_Occurred()) SWIG_fail
;
22090 Py_INCREF(Py_None
); resultobj
= Py_None
;
22097 static PyObject
*_wrap_ListItem_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22098 PyObject
*resultobj
;
22099 wxListItem
*arg1
= (wxListItem
*) 0 ;
22101 PyObject
* obj0
= 0 ;
22102 PyObject
* obj1
= 0 ;
22103 char *kwnames
[] = {
22104 (char *) "self",(char *) "data", NULL
22107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
22108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22109 if (SWIG_arg_fail(1)) SWIG_fail
;
22111 arg2
= (long)(SWIG_As_long(obj1
));
22112 if (SWIG_arg_fail(2)) SWIG_fail
;
22115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22116 (arg1
)->SetData(arg2
);
22118 wxPyEndAllowThreads(__tstate
);
22119 if (PyErr_Occurred()) SWIG_fail
;
22121 Py_INCREF(Py_None
); resultobj
= Py_None
;
22128 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22129 PyObject
*resultobj
;
22130 wxListItem
*arg1
= (wxListItem
*) 0 ;
22132 PyObject
* obj0
= 0 ;
22133 PyObject
* obj1
= 0 ;
22134 char *kwnames
[] = {
22135 (char *) "self",(char *) "width", NULL
22138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
22139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22140 if (SWIG_arg_fail(1)) SWIG_fail
;
22142 arg2
= (int)(SWIG_As_int(obj1
));
22143 if (SWIG_arg_fail(2)) SWIG_fail
;
22146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22147 (arg1
)->SetWidth(arg2
);
22149 wxPyEndAllowThreads(__tstate
);
22150 if (PyErr_Occurred()) SWIG_fail
;
22152 Py_INCREF(Py_None
); resultobj
= Py_None
;
22159 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22160 PyObject
*resultobj
;
22161 wxListItem
*arg1
= (wxListItem
*) 0 ;
22162 wxListColumnFormat arg2
;
22163 PyObject
* obj0
= 0 ;
22164 PyObject
* obj1
= 0 ;
22165 char *kwnames
[] = {
22166 (char *) "self",(char *) "align", NULL
22169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
22170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22171 if (SWIG_arg_fail(1)) SWIG_fail
;
22173 arg2
= (wxListColumnFormat
)(SWIG_As_int(obj1
));
22174 if (SWIG_arg_fail(2)) SWIG_fail
;
22177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22178 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
22180 wxPyEndAllowThreads(__tstate
);
22181 if (PyErr_Occurred()) SWIG_fail
;
22183 Py_INCREF(Py_None
); resultobj
= Py_None
;
22190 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22191 PyObject
*resultobj
;
22192 wxListItem
*arg1
= (wxListItem
*) 0 ;
22193 wxColour
*arg2
= 0 ;
22195 PyObject
* obj0
= 0 ;
22196 PyObject
* obj1
= 0 ;
22197 char *kwnames
[] = {
22198 (char *) "self",(char *) "colText", NULL
22201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22203 if (SWIG_arg_fail(1)) SWIG_fail
;
22206 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22210 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
22212 wxPyEndAllowThreads(__tstate
);
22213 if (PyErr_Occurred()) SWIG_fail
;
22215 Py_INCREF(Py_None
); resultobj
= Py_None
;
22222 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22223 PyObject
*resultobj
;
22224 wxListItem
*arg1
= (wxListItem
*) 0 ;
22225 wxColour
*arg2
= 0 ;
22227 PyObject
* obj0
= 0 ;
22228 PyObject
* obj1
= 0 ;
22229 char *kwnames
[] = {
22230 (char *) "self",(char *) "colBack", NULL
22233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22235 if (SWIG_arg_fail(1)) SWIG_fail
;
22238 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22242 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
22244 wxPyEndAllowThreads(__tstate
);
22245 if (PyErr_Occurred()) SWIG_fail
;
22247 Py_INCREF(Py_None
); resultobj
= Py_None
;
22254 static PyObject
*_wrap_ListItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22255 PyObject
*resultobj
;
22256 wxListItem
*arg1
= (wxListItem
*) 0 ;
22258 PyObject
* obj0
= 0 ;
22259 PyObject
* obj1
= 0 ;
22260 char *kwnames
[] = {
22261 (char *) "self",(char *) "font", NULL
22264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
22265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22266 if (SWIG_arg_fail(1)) SWIG_fail
;
22268 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
22269 if (SWIG_arg_fail(2)) SWIG_fail
;
22270 if (arg2
== NULL
) {
22271 SWIG_null_ref("wxFont");
22273 if (SWIG_arg_fail(2)) SWIG_fail
;
22276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22277 (arg1
)->SetFont((wxFont
const &)*arg2
);
22279 wxPyEndAllowThreads(__tstate
);
22280 if (PyErr_Occurred()) SWIG_fail
;
22282 Py_INCREF(Py_None
); resultobj
= Py_None
;
22289 static PyObject
*_wrap_ListItem_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22290 PyObject
*resultobj
;
22291 wxListItem
*arg1
= (wxListItem
*) 0 ;
22293 PyObject
* obj0
= 0 ;
22294 char *kwnames
[] = {
22295 (char *) "self", NULL
22298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
22299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22300 if (SWIG_arg_fail(1)) SWIG_fail
;
22302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22303 result
= (long)(arg1
)->GetMask();
22305 wxPyEndAllowThreads(__tstate
);
22306 if (PyErr_Occurred()) SWIG_fail
;
22309 resultobj
= SWIG_From_long((long)(result
));
22317 static PyObject
*_wrap_ListItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22318 PyObject
*resultobj
;
22319 wxListItem
*arg1
= (wxListItem
*) 0 ;
22321 PyObject
* obj0
= 0 ;
22322 char *kwnames
[] = {
22323 (char *) "self", NULL
22326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
22327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22328 if (SWIG_arg_fail(1)) SWIG_fail
;
22330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22331 result
= (long)(arg1
)->GetId();
22333 wxPyEndAllowThreads(__tstate
);
22334 if (PyErr_Occurred()) SWIG_fail
;
22337 resultobj
= SWIG_From_long((long)(result
));
22345 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22346 PyObject
*resultobj
;
22347 wxListItem
*arg1
= (wxListItem
*) 0 ;
22349 PyObject
* obj0
= 0 ;
22350 char *kwnames
[] = {
22351 (char *) "self", NULL
22354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
22355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22356 if (SWIG_arg_fail(1)) SWIG_fail
;
22358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22359 result
= (int)(arg1
)->GetColumn();
22361 wxPyEndAllowThreads(__tstate
);
22362 if (PyErr_Occurred()) SWIG_fail
;
22365 resultobj
= SWIG_From_int((int)(result
));
22373 static PyObject
*_wrap_ListItem_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22374 PyObject
*resultobj
;
22375 wxListItem
*arg1
= (wxListItem
*) 0 ;
22377 PyObject
* obj0
= 0 ;
22378 char *kwnames
[] = {
22379 (char *) "self", NULL
22382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
22383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22384 if (SWIG_arg_fail(1)) SWIG_fail
;
22386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22387 result
= (long)(arg1
)->GetState();
22389 wxPyEndAllowThreads(__tstate
);
22390 if (PyErr_Occurred()) SWIG_fail
;
22393 resultobj
= SWIG_From_long((long)(result
));
22401 static PyObject
*_wrap_ListItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22402 PyObject
*resultobj
;
22403 wxListItem
*arg1
= (wxListItem
*) 0 ;
22405 PyObject
* obj0
= 0 ;
22406 char *kwnames
[] = {
22407 (char *) "self", NULL
22410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
22411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22412 if (SWIG_arg_fail(1)) SWIG_fail
;
22414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22416 wxString
const &_result_ref
= (arg1
)->GetText();
22417 result
= (wxString
*) &_result_ref
;
22420 wxPyEndAllowThreads(__tstate
);
22421 if (PyErr_Occurred()) SWIG_fail
;
22425 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22427 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22436 static PyObject
*_wrap_ListItem_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22437 PyObject
*resultobj
;
22438 wxListItem
*arg1
= (wxListItem
*) 0 ;
22440 PyObject
* obj0
= 0 ;
22441 char *kwnames
[] = {
22442 (char *) "self", NULL
22445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
22446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22447 if (SWIG_arg_fail(1)) SWIG_fail
;
22449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22450 result
= (int)(arg1
)->GetImage();
22452 wxPyEndAllowThreads(__tstate
);
22453 if (PyErr_Occurred()) SWIG_fail
;
22456 resultobj
= SWIG_From_int((int)(result
));
22464 static PyObject
*_wrap_ListItem_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22465 PyObject
*resultobj
;
22466 wxListItem
*arg1
= (wxListItem
*) 0 ;
22468 PyObject
* obj0
= 0 ;
22469 char *kwnames
[] = {
22470 (char *) "self", NULL
22473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
22474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22475 if (SWIG_arg_fail(1)) SWIG_fail
;
22477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22478 result
= (long)(arg1
)->GetData();
22480 wxPyEndAllowThreads(__tstate
);
22481 if (PyErr_Occurred()) SWIG_fail
;
22484 resultobj
= SWIG_From_long((long)(result
));
22492 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22493 PyObject
*resultobj
;
22494 wxListItem
*arg1
= (wxListItem
*) 0 ;
22496 PyObject
* obj0
= 0 ;
22497 char *kwnames
[] = {
22498 (char *) "self", NULL
22501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
22502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22503 if (SWIG_arg_fail(1)) SWIG_fail
;
22505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22506 result
= (int)(arg1
)->GetWidth();
22508 wxPyEndAllowThreads(__tstate
);
22509 if (PyErr_Occurred()) SWIG_fail
;
22512 resultobj
= SWIG_From_int((int)(result
));
22520 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22521 PyObject
*resultobj
;
22522 wxListItem
*arg1
= (wxListItem
*) 0 ;
22523 wxListColumnFormat result
;
22524 PyObject
* obj0
= 0 ;
22525 char *kwnames
[] = {
22526 (char *) "self", NULL
22529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
22530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22531 if (SWIG_arg_fail(1)) SWIG_fail
;
22533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22534 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
22536 wxPyEndAllowThreads(__tstate
);
22537 if (PyErr_Occurred()) SWIG_fail
;
22539 resultobj
= SWIG_From_int((result
));
22546 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22547 PyObject
*resultobj
;
22548 wxListItem
*arg1
= (wxListItem
*) 0 ;
22549 wxListItemAttr
*result
;
22550 PyObject
* obj0
= 0 ;
22551 char *kwnames
[] = {
22552 (char *) "self", NULL
22555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
22556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22557 if (SWIG_arg_fail(1)) SWIG_fail
;
22559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22560 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
22562 wxPyEndAllowThreads(__tstate
);
22563 if (PyErr_Occurred()) SWIG_fail
;
22565 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
22572 static PyObject
*_wrap_ListItem_HasAttributes(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_HasAttributes",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
= (bool)(arg1
)->HasAttributes();
22588 wxPyEndAllowThreads(__tstate
);
22589 if (PyErr_Occurred()) SWIG_fail
;
22592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22600 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22601 PyObject
*resultobj
;
22602 wxListItem
*arg1
= (wxListItem
*) 0 ;
22604 PyObject
* obj0
= 0 ;
22605 char *kwnames
[] = {
22606 (char *) "self", NULL
22609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
22610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22611 if (SWIG_arg_fail(1)) SWIG_fail
;
22613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22614 result
= ((wxListItem
const *)arg1
)->GetTextColour();
22616 wxPyEndAllowThreads(__tstate
);
22617 if (PyErr_Occurred()) SWIG_fail
;
22620 wxColour
* resultptr
;
22621 resultptr
= new wxColour((wxColour
&)(result
));
22622 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22630 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22631 PyObject
*resultobj
;
22632 wxListItem
*arg1
= (wxListItem
*) 0 ;
22634 PyObject
* obj0
= 0 ;
22635 char *kwnames
[] = {
22636 (char *) "self", NULL
22639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
22640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22641 if (SWIG_arg_fail(1)) SWIG_fail
;
22643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22644 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
22646 wxPyEndAllowThreads(__tstate
);
22647 if (PyErr_Occurred()) SWIG_fail
;
22650 wxColour
* resultptr
;
22651 resultptr
= new wxColour((wxColour
&)(result
));
22652 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22660 static PyObject
*_wrap_ListItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22661 PyObject
*resultobj
;
22662 wxListItem
*arg1
= (wxListItem
*) 0 ;
22664 PyObject
* obj0
= 0 ;
22665 char *kwnames
[] = {
22666 (char *) "self", NULL
22669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
22670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22671 if (SWIG_arg_fail(1)) SWIG_fail
;
22673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22674 result
= ((wxListItem
const *)arg1
)->GetFont();
22676 wxPyEndAllowThreads(__tstate
);
22677 if (PyErr_Occurred()) SWIG_fail
;
22680 wxFont
* resultptr
;
22681 resultptr
= new wxFont((wxFont
&)(result
));
22682 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22690 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22691 PyObject
*resultobj
;
22692 wxListItem
*arg1
= (wxListItem
*) 0 ;
22694 PyObject
* obj0
= 0 ;
22695 PyObject
* obj1
= 0 ;
22696 char *kwnames
[] = {
22697 (char *) "self",(char *) "m_mask", NULL
22700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22702 if (SWIG_arg_fail(1)) SWIG_fail
;
22704 arg2
= (long)(SWIG_As_long(obj1
));
22705 if (SWIG_arg_fail(2)) SWIG_fail
;
22707 if (arg1
) (arg1
)->m_mask
= arg2
;
22709 Py_INCREF(Py_None
); resultobj
= Py_None
;
22716 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22717 PyObject
*resultobj
;
22718 wxListItem
*arg1
= (wxListItem
*) 0 ;
22720 PyObject
* obj0
= 0 ;
22721 char *kwnames
[] = {
22722 (char *) "self", NULL
22725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
22726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22727 if (SWIG_arg_fail(1)) SWIG_fail
;
22728 result
= (long) ((arg1
)->m_mask
);
22731 resultobj
= SWIG_From_long((long)(result
));
22739 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22740 PyObject
*resultobj
;
22741 wxListItem
*arg1
= (wxListItem
*) 0 ;
22743 PyObject
* obj0
= 0 ;
22744 PyObject
* obj1
= 0 ;
22745 char *kwnames
[] = {
22746 (char *) "self",(char *) "m_itemId", NULL
22749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22751 if (SWIG_arg_fail(1)) SWIG_fail
;
22753 arg2
= (long)(SWIG_As_long(obj1
));
22754 if (SWIG_arg_fail(2)) SWIG_fail
;
22756 if (arg1
) (arg1
)->m_itemId
= arg2
;
22758 Py_INCREF(Py_None
); resultobj
= Py_None
;
22765 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22766 PyObject
*resultobj
;
22767 wxListItem
*arg1
= (wxListItem
*) 0 ;
22769 PyObject
* obj0
= 0 ;
22770 char *kwnames
[] = {
22771 (char *) "self", NULL
22774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
22775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22776 if (SWIG_arg_fail(1)) SWIG_fail
;
22777 result
= (long) ((arg1
)->m_itemId
);
22780 resultobj
= SWIG_From_long((long)(result
));
22788 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22789 PyObject
*resultobj
;
22790 wxListItem
*arg1
= (wxListItem
*) 0 ;
22792 PyObject
* obj0
= 0 ;
22793 PyObject
* obj1
= 0 ;
22794 char *kwnames
[] = {
22795 (char *) "self",(char *) "m_col", NULL
22798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22800 if (SWIG_arg_fail(1)) SWIG_fail
;
22802 arg2
= (int)(SWIG_As_int(obj1
));
22803 if (SWIG_arg_fail(2)) SWIG_fail
;
22805 if (arg1
) (arg1
)->m_col
= arg2
;
22807 Py_INCREF(Py_None
); resultobj
= Py_None
;
22814 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22815 PyObject
*resultobj
;
22816 wxListItem
*arg1
= (wxListItem
*) 0 ;
22818 PyObject
* obj0
= 0 ;
22819 char *kwnames
[] = {
22820 (char *) "self", NULL
22823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
22824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22825 if (SWIG_arg_fail(1)) SWIG_fail
;
22826 result
= (int) ((arg1
)->m_col
);
22829 resultobj
= SWIG_From_int((int)(result
));
22837 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22838 PyObject
*resultobj
;
22839 wxListItem
*arg1
= (wxListItem
*) 0 ;
22841 PyObject
* obj0
= 0 ;
22842 PyObject
* obj1
= 0 ;
22843 char *kwnames
[] = {
22844 (char *) "self",(char *) "m_state", NULL
22847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22849 if (SWIG_arg_fail(1)) SWIG_fail
;
22851 arg2
= (long)(SWIG_As_long(obj1
));
22852 if (SWIG_arg_fail(2)) SWIG_fail
;
22854 if (arg1
) (arg1
)->m_state
= arg2
;
22856 Py_INCREF(Py_None
); resultobj
= Py_None
;
22863 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22864 PyObject
*resultobj
;
22865 wxListItem
*arg1
= (wxListItem
*) 0 ;
22867 PyObject
* obj0
= 0 ;
22868 char *kwnames
[] = {
22869 (char *) "self", NULL
22872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
22873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22874 if (SWIG_arg_fail(1)) SWIG_fail
;
22875 result
= (long) ((arg1
)->m_state
);
22878 resultobj
= SWIG_From_long((long)(result
));
22886 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22887 PyObject
*resultobj
;
22888 wxListItem
*arg1
= (wxListItem
*) 0 ;
22890 PyObject
* obj0
= 0 ;
22891 PyObject
* obj1
= 0 ;
22892 char *kwnames
[] = {
22893 (char *) "self",(char *) "m_stateMask", NULL
22896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22898 if (SWIG_arg_fail(1)) SWIG_fail
;
22900 arg2
= (long)(SWIG_As_long(obj1
));
22901 if (SWIG_arg_fail(2)) SWIG_fail
;
22903 if (arg1
) (arg1
)->m_stateMask
= arg2
;
22905 Py_INCREF(Py_None
); resultobj
= Py_None
;
22912 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22913 PyObject
*resultobj
;
22914 wxListItem
*arg1
= (wxListItem
*) 0 ;
22916 PyObject
* obj0
= 0 ;
22917 char *kwnames
[] = {
22918 (char *) "self", NULL
22921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
22922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22923 if (SWIG_arg_fail(1)) SWIG_fail
;
22924 result
= (long) ((arg1
)->m_stateMask
);
22927 resultobj
= SWIG_From_long((long)(result
));
22935 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22936 PyObject
*resultobj
;
22937 wxListItem
*arg1
= (wxListItem
*) 0 ;
22938 wxString
*arg2
= (wxString
*) 0 ;
22939 bool temp2
= false ;
22940 PyObject
* obj0
= 0 ;
22941 PyObject
* obj1
= 0 ;
22942 char *kwnames
[] = {
22943 (char *) "self",(char *) "m_text", NULL
22946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22948 if (SWIG_arg_fail(1)) SWIG_fail
;
22950 arg2
= wxString_in_helper(obj1
);
22951 if (arg2
== NULL
) SWIG_fail
;
22954 if (arg1
) (arg1
)->m_text
= *arg2
;
22956 Py_INCREF(Py_None
); resultobj
= Py_None
;
22971 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22972 PyObject
*resultobj
;
22973 wxListItem
*arg1
= (wxListItem
*) 0 ;
22975 PyObject
* obj0
= 0 ;
22976 char *kwnames
[] = {
22977 (char *) "self", NULL
22980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
22981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22982 if (SWIG_arg_fail(1)) SWIG_fail
;
22983 result
= (wxString
*)& ((arg1
)->m_text
);
22987 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22989 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22998 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22999 PyObject
*resultobj
;
23000 wxListItem
*arg1
= (wxListItem
*) 0 ;
23002 PyObject
* obj0
= 0 ;
23003 PyObject
* obj1
= 0 ;
23004 char *kwnames
[] = {
23005 (char *) "self",(char *) "m_image", NULL
23008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23010 if (SWIG_arg_fail(1)) SWIG_fail
;
23012 arg2
= (int)(SWIG_As_int(obj1
));
23013 if (SWIG_arg_fail(2)) SWIG_fail
;
23015 if (arg1
) (arg1
)->m_image
= arg2
;
23017 Py_INCREF(Py_None
); resultobj
= Py_None
;
23024 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23025 PyObject
*resultobj
;
23026 wxListItem
*arg1
= (wxListItem
*) 0 ;
23028 PyObject
* obj0
= 0 ;
23029 char *kwnames
[] = {
23030 (char *) "self", NULL
23033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
23034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23035 if (SWIG_arg_fail(1)) SWIG_fail
;
23036 result
= (int) ((arg1
)->m_image
);
23039 resultobj
= SWIG_From_int((int)(result
));
23047 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23048 PyObject
*resultobj
;
23049 wxListItem
*arg1
= (wxListItem
*) 0 ;
23051 PyObject
* obj0
= 0 ;
23052 PyObject
* obj1
= 0 ;
23053 char *kwnames
[] = {
23054 (char *) "self",(char *) "m_data", NULL
23057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23059 if (SWIG_arg_fail(1)) SWIG_fail
;
23061 arg2
= (long)(SWIG_As_long(obj1
));
23062 if (SWIG_arg_fail(2)) SWIG_fail
;
23064 if (arg1
) (arg1
)->m_data
= arg2
;
23066 Py_INCREF(Py_None
); resultobj
= Py_None
;
23073 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23074 PyObject
*resultobj
;
23075 wxListItem
*arg1
= (wxListItem
*) 0 ;
23077 PyObject
* obj0
= 0 ;
23078 char *kwnames
[] = {
23079 (char *) "self", NULL
23082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
23083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23084 if (SWIG_arg_fail(1)) SWIG_fail
;
23085 result
= (long) ((arg1
)->m_data
);
23088 resultobj
= SWIG_From_long((long)(result
));
23096 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23097 PyObject
*resultobj
;
23098 wxListItem
*arg1
= (wxListItem
*) 0 ;
23100 PyObject
* obj0
= 0 ;
23101 PyObject
* obj1
= 0 ;
23102 char *kwnames
[] = {
23103 (char *) "self",(char *) "m_format", NULL
23106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23108 if (SWIG_arg_fail(1)) SWIG_fail
;
23110 arg2
= (int)(SWIG_As_int(obj1
));
23111 if (SWIG_arg_fail(2)) SWIG_fail
;
23113 if (arg1
) (arg1
)->m_format
= arg2
;
23115 Py_INCREF(Py_None
); resultobj
= Py_None
;
23122 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23123 PyObject
*resultobj
;
23124 wxListItem
*arg1
= (wxListItem
*) 0 ;
23126 PyObject
* obj0
= 0 ;
23127 char *kwnames
[] = {
23128 (char *) "self", NULL
23131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
23132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23133 if (SWIG_arg_fail(1)) SWIG_fail
;
23134 result
= (int) ((arg1
)->m_format
);
23137 resultobj
= SWIG_From_int((int)(result
));
23145 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23146 PyObject
*resultobj
;
23147 wxListItem
*arg1
= (wxListItem
*) 0 ;
23149 PyObject
* obj0
= 0 ;
23150 PyObject
* obj1
= 0 ;
23151 char *kwnames
[] = {
23152 (char *) "self",(char *) "m_width", NULL
23155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23157 if (SWIG_arg_fail(1)) SWIG_fail
;
23159 arg2
= (int)(SWIG_As_int(obj1
));
23160 if (SWIG_arg_fail(2)) SWIG_fail
;
23162 if (arg1
) (arg1
)->m_width
= arg2
;
23164 Py_INCREF(Py_None
); resultobj
= Py_None
;
23171 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23172 PyObject
*resultobj
;
23173 wxListItem
*arg1
= (wxListItem
*) 0 ;
23175 PyObject
* obj0
= 0 ;
23176 char *kwnames
[] = {
23177 (char *) "self", NULL
23180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
23181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23182 if (SWIG_arg_fail(1)) SWIG_fail
;
23183 result
= (int) ((arg1
)->m_width
);
23186 resultobj
= SWIG_From_int((int)(result
));
23194 static PyObject
* ListItem_swigregister(PyObject
*, PyObject
*args
) {
23196 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23197 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
23199 return Py_BuildValue((char *)"");
23201 static PyObject
*_wrap_new_ListEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23202 PyObject
*resultobj
;
23203 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23204 int arg2
= (int) 0 ;
23205 wxListEvent
*result
;
23206 PyObject
* obj0
= 0 ;
23207 PyObject
* obj1
= 0 ;
23208 char *kwnames
[] = {
23209 (char *) "commandType",(char *) "id", NULL
23212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23215 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
23216 if (SWIG_arg_fail(1)) SWIG_fail
;
23221 arg2
= (int)(SWIG_As_int(obj1
));
23222 if (SWIG_arg_fail(2)) SWIG_fail
;
23226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23227 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
23229 wxPyEndAllowThreads(__tstate
);
23230 if (PyErr_Occurred()) SWIG_fail
;
23232 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
23239 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23240 PyObject
*resultobj
;
23241 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23243 PyObject
* obj0
= 0 ;
23244 PyObject
* obj1
= 0 ;
23245 char *kwnames
[] = {
23246 (char *) "self",(char *) "m_code", NULL
23249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23251 if (SWIG_arg_fail(1)) SWIG_fail
;
23253 arg2
= (int)(SWIG_As_int(obj1
));
23254 if (SWIG_arg_fail(2)) SWIG_fail
;
23256 if (arg1
) (arg1
)->m_code
= arg2
;
23258 Py_INCREF(Py_None
); resultobj
= Py_None
;
23265 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23266 PyObject
*resultobj
;
23267 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23269 PyObject
* obj0
= 0 ;
23270 char *kwnames
[] = {
23271 (char *) "self", NULL
23274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
23275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23276 if (SWIG_arg_fail(1)) SWIG_fail
;
23277 result
= (int) ((arg1
)->m_code
);
23280 resultobj
= SWIG_From_int((int)(result
));
23288 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23289 PyObject
*resultobj
;
23290 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23292 PyObject
* obj0
= 0 ;
23293 PyObject
* obj1
= 0 ;
23294 char *kwnames
[] = {
23295 (char *) "self",(char *) "m_oldItemIndex", NULL
23298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23300 if (SWIG_arg_fail(1)) SWIG_fail
;
23302 arg2
= (long)(SWIG_As_long(obj1
));
23303 if (SWIG_arg_fail(2)) SWIG_fail
;
23305 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
23307 Py_INCREF(Py_None
); resultobj
= Py_None
;
23314 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23315 PyObject
*resultobj
;
23316 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23318 PyObject
* obj0
= 0 ;
23319 char *kwnames
[] = {
23320 (char *) "self", NULL
23323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
23324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23325 if (SWIG_arg_fail(1)) SWIG_fail
;
23326 result
= (long) ((arg1
)->m_oldItemIndex
);
23329 resultobj
= SWIG_From_long((long)(result
));
23337 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23338 PyObject
*resultobj
;
23339 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23341 PyObject
* obj0
= 0 ;
23342 PyObject
* obj1
= 0 ;
23343 char *kwnames
[] = {
23344 (char *) "self",(char *) "m_itemIndex", NULL
23347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23349 if (SWIG_arg_fail(1)) SWIG_fail
;
23351 arg2
= (long)(SWIG_As_long(obj1
));
23352 if (SWIG_arg_fail(2)) SWIG_fail
;
23354 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
23356 Py_INCREF(Py_None
); resultobj
= Py_None
;
23363 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23364 PyObject
*resultobj
;
23365 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23367 PyObject
* obj0
= 0 ;
23368 char *kwnames
[] = {
23369 (char *) "self", NULL
23372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
23373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23374 if (SWIG_arg_fail(1)) SWIG_fail
;
23375 result
= (long) ((arg1
)->m_itemIndex
);
23378 resultobj
= SWIG_From_long((long)(result
));
23386 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23387 PyObject
*resultobj
;
23388 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23390 PyObject
* obj0
= 0 ;
23391 PyObject
* obj1
= 0 ;
23392 char *kwnames
[] = {
23393 (char *) "self",(char *) "m_col", NULL
23396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23398 if (SWIG_arg_fail(1)) SWIG_fail
;
23400 arg2
= (int)(SWIG_As_int(obj1
));
23401 if (SWIG_arg_fail(2)) SWIG_fail
;
23403 if (arg1
) (arg1
)->m_col
= arg2
;
23405 Py_INCREF(Py_None
); resultobj
= Py_None
;
23412 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23413 PyObject
*resultobj
;
23414 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23416 PyObject
* obj0
= 0 ;
23417 char *kwnames
[] = {
23418 (char *) "self", NULL
23421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
23422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23423 if (SWIG_arg_fail(1)) SWIG_fail
;
23424 result
= (int) ((arg1
)->m_col
);
23427 resultobj
= SWIG_From_int((int)(result
));
23435 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23436 PyObject
*resultobj
;
23437 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23438 wxPoint
*arg2
= (wxPoint
*) 0 ;
23439 PyObject
* obj0
= 0 ;
23440 PyObject
* obj1
= 0 ;
23441 char *kwnames
[] = {
23442 (char *) "self",(char *) "m_pointDrag", NULL
23445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23447 if (SWIG_arg_fail(1)) SWIG_fail
;
23448 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
23449 if (SWIG_arg_fail(2)) SWIG_fail
;
23450 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
23452 Py_INCREF(Py_None
); resultobj
= Py_None
;
23459 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23460 PyObject
*resultobj
;
23461 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23463 PyObject
* obj0
= 0 ;
23464 char *kwnames
[] = {
23465 (char *) "self", NULL
23468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
23469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23470 if (SWIG_arg_fail(1)) SWIG_fail
;
23471 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
23473 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
23480 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23481 PyObject
*resultobj
;
23482 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23483 wxListItem
*result
;
23484 PyObject
* obj0
= 0 ;
23485 char *kwnames
[] = {
23486 (char *) "self", NULL
23489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
23490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23491 if (SWIG_arg_fail(1)) SWIG_fail
;
23492 result
= (wxListItem
*)& ((arg1
)->m_item
);
23495 resultobj
= wxPyMake_wxObject(result
, 0);
23503 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23504 PyObject
*resultobj
;
23505 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23507 PyObject
* obj0
= 0 ;
23508 char *kwnames
[] = {
23509 (char *) "self", NULL
23512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
23513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23514 if (SWIG_arg_fail(1)) SWIG_fail
;
23516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23517 result
= (int)(arg1
)->GetKeyCode();
23519 wxPyEndAllowThreads(__tstate
);
23520 if (PyErr_Occurred()) SWIG_fail
;
23523 resultobj
= SWIG_From_int((int)(result
));
23531 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23532 PyObject
*resultobj
;
23533 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23535 PyObject
* obj0
= 0 ;
23536 char *kwnames
[] = {
23537 (char *) "self", NULL
23540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
23541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23542 if (SWIG_arg_fail(1)) SWIG_fail
;
23544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23545 result
= (long)(arg1
)->GetIndex();
23547 wxPyEndAllowThreads(__tstate
);
23548 if (PyErr_Occurred()) SWIG_fail
;
23551 resultobj
= SWIG_From_long((long)(result
));
23559 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23560 PyObject
*resultobj
;
23561 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23563 PyObject
* obj0
= 0 ;
23564 char *kwnames
[] = {
23565 (char *) "self", NULL
23568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
23569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23570 if (SWIG_arg_fail(1)) SWIG_fail
;
23572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23573 result
= (int)(arg1
)->GetColumn();
23575 wxPyEndAllowThreads(__tstate
);
23576 if (PyErr_Occurred()) SWIG_fail
;
23579 resultobj
= SWIG_From_int((int)(result
));
23587 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23588 PyObject
*resultobj
;
23589 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23591 PyObject
* obj0
= 0 ;
23592 char *kwnames
[] = {
23593 (char *) "self", NULL
23596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
23597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23598 if (SWIG_arg_fail(1)) SWIG_fail
;
23600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23601 result
= (arg1
)->GetPoint();
23603 wxPyEndAllowThreads(__tstate
);
23604 if (PyErr_Occurred()) SWIG_fail
;
23607 wxPoint
* resultptr
;
23608 resultptr
= new wxPoint((wxPoint
&)(result
));
23609 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23617 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23618 PyObject
*resultobj
;
23619 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23621 PyObject
* obj0
= 0 ;
23622 char *kwnames
[] = {
23623 (char *) "self", NULL
23626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
23627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23628 if (SWIG_arg_fail(1)) SWIG_fail
;
23630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23632 wxString
const &_result_ref
= (arg1
)->GetLabel();
23633 result
= (wxString
*) &_result_ref
;
23636 wxPyEndAllowThreads(__tstate
);
23637 if (PyErr_Occurred()) SWIG_fail
;
23641 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23643 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23652 static PyObject
*_wrap_ListEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23653 PyObject
*resultobj
;
23654 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23656 PyObject
* obj0
= 0 ;
23657 char *kwnames
[] = {
23658 (char *) "self", NULL
23661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
23662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23663 if (SWIG_arg_fail(1)) SWIG_fail
;
23665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23667 wxString
const &_result_ref
= (arg1
)->GetText();
23668 result
= (wxString
*) &_result_ref
;
23671 wxPyEndAllowThreads(__tstate
);
23672 if (PyErr_Occurred()) SWIG_fail
;
23676 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23678 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23687 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23688 PyObject
*resultobj
;
23689 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23691 PyObject
* obj0
= 0 ;
23692 char *kwnames
[] = {
23693 (char *) "self", NULL
23696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
23697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23698 if (SWIG_arg_fail(1)) SWIG_fail
;
23700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23701 result
= (int)(arg1
)->GetImage();
23703 wxPyEndAllowThreads(__tstate
);
23704 if (PyErr_Occurred()) SWIG_fail
;
23707 resultobj
= SWIG_From_int((int)(result
));
23715 static PyObject
*_wrap_ListEvent_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23716 PyObject
*resultobj
;
23717 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23719 PyObject
* obj0
= 0 ;
23720 char *kwnames
[] = {
23721 (char *) "self", NULL
23724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
23725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23726 if (SWIG_arg_fail(1)) SWIG_fail
;
23728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23729 result
= (long)(arg1
)->GetData();
23731 wxPyEndAllowThreads(__tstate
);
23732 if (PyErr_Occurred()) SWIG_fail
;
23735 resultobj
= SWIG_From_long((long)(result
));
23743 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23744 PyObject
*resultobj
;
23745 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23747 PyObject
* obj0
= 0 ;
23748 char *kwnames
[] = {
23749 (char *) "self", NULL
23752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
23753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23754 if (SWIG_arg_fail(1)) SWIG_fail
;
23756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23757 result
= (long)(arg1
)->GetMask();
23759 wxPyEndAllowThreads(__tstate
);
23760 if (PyErr_Occurred()) SWIG_fail
;
23763 resultobj
= SWIG_From_long((long)(result
));
23771 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23772 PyObject
*resultobj
;
23773 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23774 wxListItem
*result
;
23775 PyObject
* obj0
= 0 ;
23776 char *kwnames
[] = {
23777 (char *) "self", NULL
23780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
23781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23782 if (SWIG_arg_fail(1)) SWIG_fail
;
23784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23786 wxListItem
const &_result_ref
= (arg1
)->GetItem();
23787 result
= (wxListItem
*) &_result_ref
;
23790 wxPyEndAllowThreads(__tstate
);
23791 if (PyErr_Occurred()) SWIG_fail
;
23793 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
23800 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23801 PyObject
*resultobj
;
23802 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23804 PyObject
* obj0
= 0 ;
23805 char *kwnames
[] = {
23806 (char *) "self", NULL
23809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
23810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23811 if (SWIG_arg_fail(1)) SWIG_fail
;
23813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23814 result
= (long)(arg1
)->GetCacheFrom();
23816 wxPyEndAllowThreads(__tstate
);
23817 if (PyErr_Occurred()) SWIG_fail
;
23820 resultobj
= SWIG_From_long((long)(result
));
23828 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23829 PyObject
*resultobj
;
23830 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23832 PyObject
* obj0
= 0 ;
23833 char *kwnames
[] = {
23834 (char *) "self", NULL
23837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
23838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23839 if (SWIG_arg_fail(1)) SWIG_fail
;
23841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23842 result
= (long)(arg1
)->GetCacheTo();
23844 wxPyEndAllowThreads(__tstate
);
23845 if (PyErr_Occurred()) SWIG_fail
;
23848 resultobj
= SWIG_From_long((long)(result
));
23856 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23857 PyObject
*resultobj
;
23858 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23860 PyObject
* obj0
= 0 ;
23861 char *kwnames
[] = {
23862 (char *) "self", NULL
23865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
23866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23867 if (SWIG_arg_fail(1)) SWIG_fail
;
23869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23870 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
23872 wxPyEndAllowThreads(__tstate
);
23873 if (PyErr_Occurred()) SWIG_fail
;
23876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23884 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23885 PyObject
*resultobj
;
23886 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23888 PyObject
* obj0
= 0 ;
23889 PyObject
* obj1
= 0 ;
23890 char *kwnames
[] = {
23891 (char *) "self",(char *) "editCancelled", NULL
23894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
23895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23896 if (SWIG_arg_fail(1)) SWIG_fail
;
23898 arg2
= (bool)(SWIG_As_bool(obj1
));
23899 if (SWIG_arg_fail(2)) SWIG_fail
;
23902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23903 (arg1
)->SetEditCanceled(arg2
);
23905 wxPyEndAllowThreads(__tstate
);
23906 if (PyErr_Occurred()) SWIG_fail
;
23908 Py_INCREF(Py_None
); resultobj
= Py_None
;
23915 static PyObject
* ListEvent_swigregister(PyObject
*, PyObject
*args
) {
23917 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23918 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
23920 return Py_BuildValue((char *)"");
23922 static PyObject
*_wrap_new_ListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23923 PyObject
*resultobj
;
23924 wxWindow
*arg1
= (wxWindow
*) 0 ;
23925 int arg2
= (int) -1 ;
23926 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23927 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23928 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23929 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23930 long arg5
= (long) wxLC_ICON
;
23931 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23932 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23933 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
23934 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23935 wxPyListCtrl
*result
;
23938 bool temp7
= false ;
23939 PyObject
* obj0
= 0 ;
23940 PyObject
* obj1
= 0 ;
23941 PyObject
* obj2
= 0 ;
23942 PyObject
* obj3
= 0 ;
23943 PyObject
* obj4
= 0 ;
23944 PyObject
* obj5
= 0 ;
23945 PyObject
* obj6
= 0 ;
23946 char *kwnames
[] = {
23947 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23952 if (SWIG_arg_fail(1)) SWIG_fail
;
23955 arg2
= (int)(SWIG_As_int(obj1
));
23956 if (SWIG_arg_fail(2)) SWIG_fail
;
23962 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23968 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23973 arg5
= (long)(SWIG_As_long(obj4
));
23974 if (SWIG_arg_fail(5)) SWIG_fail
;
23979 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
23980 if (SWIG_arg_fail(6)) SWIG_fail
;
23981 if (arg6
== NULL
) {
23982 SWIG_null_ref("wxValidator");
23984 if (SWIG_arg_fail(6)) SWIG_fail
;
23989 arg7
= wxString_in_helper(obj6
);
23990 if (arg7
== NULL
) SWIG_fail
;
23995 if (!wxPyCheckForApp()) SWIG_fail
;
23996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23997 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23999 wxPyEndAllowThreads(__tstate
);
24000 if (PyErr_Occurred()) SWIG_fail
;
24002 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
24017 static PyObject
*_wrap_new_PreListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24018 PyObject
*resultobj
;
24019 wxPyListCtrl
*result
;
24020 char *kwnames
[] = {
24024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
24026 if (!wxPyCheckForApp()) SWIG_fail
;
24027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24028 result
= (wxPyListCtrl
*)new wxPyListCtrl();
24030 wxPyEndAllowThreads(__tstate
);
24031 if (PyErr_Occurred()) SWIG_fail
;
24033 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
24040 static PyObject
*_wrap_ListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24041 PyObject
*resultobj
;
24042 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24043 wxWindow
*arg2
= (wxWindow
*) 0 ;
24044 int arg3
= (int) -1 ;
24045 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24046 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24047 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24048 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24049 long arg6
= (long) wxLC_ICON
;
24050 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
24051 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
24052 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
24053 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
24057 bool temp8
= false ;
24058 PyObject
* obj0
= 0 ;
24059 PyObject
* obj1
= 0 ;
24060 PyObject
* obj2
= 0 ;
24061 PyObject
* obj3
= 0 ;
24062 PyObject
* obj4
= 0 ;
24063 PyObject
* obj5
= 0 ;
24064 PyObject
* obj6
= 0 ;
24065 PyObject
* obj7
= 0 ;
24066 char *kwnames
[] = {
24067 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
24071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24072 if (SWIG_arg_fail(1)) SWIG_fail
;
24073 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24074 if (SWIG_arg_fail(2)) SWIG_fail
;
24077 arg3
= (int)(SWIG_As_int(obj2
));
24078 if (SWIG_arg_fail(3)) SWIG_fail
;
24084 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24090 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24095 arg6
= (long)(SWIG_As_long(obj5
));
24096 if (SWIG_arg_fail(6)) SWIG_fail
;
24101 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
24102 if (SWIG_arg_fail(7)) SWIG_fail
;
24103 if (arg7
== NULL
) {
24104 SWIG_null_ref("wxValidator");
24106 if (SWIG_arg_fail(7)) SWIG_fail
;
24111 arg8
= wxString_in_helper(obj7
);
24112 if (arg8
== NULL
) SWIG_fail
;
24117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24118 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
24120 wxPyEndAllowThreads(__tstate
);
24121 if (PyErr_Occurred()) SWIG_fail
;
24124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24140 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24141 PyObject
*resultobj
;
24142 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24143 PyObject
*arg2
= (PyObject
*) 0 ;
24144 PyObject
*arg3
= (PyObject
*) 0 ;
24145 PyObject
* obj0
= 0 ;
24146 PyObject
* obj1
= 0 ;
24147 PyObject
* obj2
= 0 ;
24148 char *kwnames
[] = {
24149 (char *) "self",(char *) "self",(char *) "_class", NULL
24152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24154 if (SWIG_arg_fail(1)) SWIG_fail
;
24158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24159 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24161 wxPyEndAllowThreads(__tstate
);
24162 if (PyErr_Occurred()) SWIG_fail
;
24164 Py_INCREF(Py_None
); resultobj
= Py_None
;
24171 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24172 PyObject
*resultobj
;
24173 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24174 wxColour
*arg2
= 0 ;
24177 PyObject
* obj0
= 0 ;
24178 PyObject
* obj1
= 0 ;
24179 char *kwnames
[] = {
24180 (char *) "self",(char *) "col", NULL
24183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24185 if (SWIG_arg_fail(1)) SWIG_fail
;
24188 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24192 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
24194 wxPyEndAllowThreads(__tstate
);
24195 if (PyErr_Occurred()) SWIG_fail
;
24198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24206 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24207 PyObject
*resultobj
;
24208 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24209 wxColour
*arg2
= 0 ;
24212 PyObject
* obj0
= 0 ;
24213 PyObject
* obj1
= 0 ;
24214 char *kwnames
[] = {
24215 (char *) "self",(char *) "col", NULL
24218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24220 if (SWIG_arg_fail(1)) SWIG_fail
;
24223 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24227 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
24229 wxPyEndAllowThreads(__tstate
);
24230 if (PyErr_Occurred()) SWIG_fail
;
24233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24241 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24242 PyObject
*resultobj
;
24243 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24245 wxListItem
*result
;
24246 PyObject
* obj0
= 0 ;
24247 PyObject
* obj1
= 0 ;
24248 char *kwnames
[] = {
24249 (char *) "self",(char *) "col", NULL
24252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
24253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24254 if (SWIG_arg_fail(1)) SWIG_fail
;
24256 arg2
= (int)(SWIG_As_int(obj1
));
24257 if (SWIG_arg_fail(2)) SWIG_fail
;
24260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24261 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
24263 wxPyEndAllowThreads(__tstate
);
24264 if (PyErr_Occurred()) SWIG_fail
;
24267 resultobj
= wxPyMake_wxObject(result
, 0);
24275 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24276 PyObject
*resultobj
;
24277 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24279 wxListItem
*arg3
= 0 ;
24281 PyObject
* obj0
= 0 ;
24282 PyObject
* obj1
= 0 ;
24283 PyObject
* obj2
= 0 ;
24284 char *kwnames
[] = {
24285 (char *) "self",(char *) "col",(char *) "item", NULL
24288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24290 if (SWIG_arg_fail(1)) SWIG_fail
;
24292 arg2
= (int)(SWIG_As_int(obj1
));
24293 if (SWIG_arg_fail(2)) SWIG_fail
;
24296 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24297 if (SWIG_arg_fail(3)) SWIG_fail
;
24298 if (arg3
== NULL
) {
24299 SWIG_null_ref("wxListItem");
24301 if (SWIG_arg_fail(3)) SWIG_fail
;
24304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24305 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
24307 wxPyEndAllowThreads(__tstate
);
24308 if (PyErr_Occurred()) SWIG_fail
;
24311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24319 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24320 PyObject
*resultobj
;
24321 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24324 PyObject
* obj0
= 0 ;
24325 PyObject
* obj1
= 0 ;
24326 char *kwnames
[] = {
24327 (char *) "self",(char *) "col", NULL
24330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
24331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24332 if (SWIG_arg_fail(1)) SWIG_fail
;
24334 arg2
= (int)(SWIG_As_int(obj1
));
24335 if (SWIG_arg_fail(2)) SWIG_fail
;
24338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24339 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
24341 wxPyEndAllowThreads(__tstate
);
24342 if (PyErr_Occurred()) SWIG_fail
;
24345 resultobj
= SWIG_From_int((int)(result
));
24353 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24354 PyObject
*resultobj
;
24355 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24359 PyObject
* obj0
= 0 ;
24360 PyObject
* obj1
= 0 ;
24361 PyObject
* obj2
= 0 ;
24362 char *kwnames
[] = {
24363 (char *) "self",(char *) "col",(char *) "width", NULL
24366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24368 if (SWIG_arg_fail(1)) SWIG_fail
;
24370 arg2
= (int)(SWIG_As_int(obj1
));
24371 if (SWIG_arg_fail(2)) SWIG_fail
;
24374 arg3
= (int)(SWIG_As_int(obj2
));
24375 if (SWIG_arg_fail(3)) SWIG_fail
;
24378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24379 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
24381 wxPyEndAllowThreads(__tstate
);
24382 if (PyErr_Occurred()) SWIG_fail
;
24385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24393 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24394 PyObject
*resultobj
;
24395 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24397 PyObject
* obj0
= 0 ;
24398 char *kwnames
[] = {
24399 (char *) "self", NULL
24402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
24403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24404 if (SWIG_arg_fail(1)) SWIG_fail
;
24406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24407 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
24409 wxPyEndAllowThreads(__tstate
);
24410 if (PyErr_Occurred()) SWIG_fail
;
24413 resultobj
= SWIG_From_int((int)(result
));
24421 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24422 PyObject
*resultobj
;
24423 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24425 PyObject
* obj0
= 0 ;
24426 char *kwnames
[] = {
24427 (char *) "self", NULL
24430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
24431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24432 if (SWIG_arg_fail(1)) SWIG_fail
;
24434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24435 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
24437 wxPyEndAllowThreads(__tstate
);
24438 if (PyErr_Occurred()) SWIG_fail
;
24441 wxRect
* resultptr
;
24442 resultptr
= new wxRect((wxRect
&)(result
));
24443 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
24451 static PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24452 PyObject
*resultobj
;
24453 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24454 wxTextCtrl
*result
;
24455 PyObject
* obj0
= 0 ;
24456 char *kwnames
[] = {
24457 (char *) "self", NULL
24460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
24461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24462 if (SWIG_arg_fail(1)) SWIG_fail
;
24464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24465 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
24467 wxPyEndAllowThreads(__tstate
);
24468 if (PyErr_Occurred()) SWIG_fail
;
24471 resultobj
= wxPyMake_wxObject(result
, 0);
24479 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24480 PyObject
*resultobj
;
24481 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24483 int arg3
= (int) 0 ;
24484 wxListItem
*result
;
24485 PyObject
* obj0
= 0 ;
24486 PyObject
* obj1
= 0 ;
24487 PyObject
* obj2
= 0 ;
24488 char *kwnames
[] = {
24489 (char *) "self",(char *) "itemId",(char *) "col", NULL
24492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24494 if (SWIG_arg_fail(1)) SWIG_fail
;
24496 arg2
= (long)(SWIG_As_long(obj1
));
24497 if (SWIG_arg_fail(2)) SWIG_fail
;
24501 arg3
= (int)(SWIG_As_int(obj2
));
24502 if (SWIG_arg_fail(3)) SWIG_fail
;
24506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24507 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
24509 wxPyEndAllowThreads(__tstate
);
24510 if (PyErr_Occurred()) SWIG_fail
;
24513 resultobj
= wxPyMake_wxObject(result
, 0);
24521 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24522 PyObject
*resultobj
;
24523 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24524 wxListItem
*arg2
= 0 ;
24526 PyObject
* obj0
= 0 ;
24527 PyObject
* obj1
= 0 ;
24528 char *kwnames
[] = {
24529 (char *) "self",(char *) "info", NULL
24532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24534 if (SWIG_arg_fail(1)) SWIG_fail
;
24536 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24537 if (SWIG_arg_fail(2)) SWIG_fail
;
24538 if (arg2
== NULL
) {
24539 SWIG_null_ref("wxListItem");
24541 if (SWIG_arg_fail(2)) SWIG_fail
;
24544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24545 result
= (bool)(arg1
)->SetItem(*arg2
);
24547 wxPyEndAllowThreads(__tstate
);
24548 if (PyErr_Occurred()) SWIG_fail
;
24551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24559 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24560 PyObject
*resultobj
;
24561 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24564 wxString
*arg4
= 0 ;
24565 int arg5
= (int) -1 ;
24567 bool temp4
= false ;
24568 PyObject
* obj0
= 0 ;
24569 PyObject
* obj1
= 0 ;
24570 PyObject
* obj2
= 0 ;
24571 PyObject
* obj3
= 0 ;
24572 PyObject
* obj4
= 0 ;
24573 char *kwnames
[] = {
24574 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
24577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24579 if (SWIG_arg_fail(1)) SWIG_fail
;
24581 arg2
= (long)(SWIG_As_long(obj1
));
24582 if (SWIG_arg_fail(2)) SWIG_fail
;
24585 arg3
= (int)(SWIG_As_int(obj2
));
24586 if (SWIG_arg_fail(3)) SWIG_fail
;
24589 arg4
= wxString_in_helper(obj3
);
24590 if (arg4
== NULL
) SWIG_fail
;
24595 arg5
= (int)(SWIG_As_int(obj4
));
24596 if (SWIG_arg_fail(5)) SWIG_fail
;
24600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24601 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
24603 wxPyEndAllowThreads(__tstate
);
24604 if (PyErr_Occurred()) SWIG_fail
;
24607 resultobj
= SWIG_From_long((long)(result
));
24623 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24624 PyObject
*resultobj
;
24625 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24629 PyObject
* obj0
= 0 ;
24630 PyObject
* obj1
= 0 ;
24631 PyObject
* obj2
= 0 ;
24632 char *kwnames
[] = {
24633 (char *) "self",(char *) "item",(char *) "stateMask", NULL
24636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) 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
= (long)(SWIG_As_long(obj2
));
24645 if (SWIG_arg_fail(3)) SWIG_fail
;
24648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24649 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
24651 wxPyEndAllowThreads(__tstate
);
24652 if (PyErr_Occurred()) SWIG_fail
;
24655 resultobj
= SWIG_From_int((int)(result
));
24663 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24664 PyObject
*resultobj
;
24665 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24670 PyObject
* obj0
= 0 ;
24671 PyObject
* obj1
= 0 ;
24672 PyObject
* obj2
= 0 ;
24673 PyObject
* obj3
= 0 ;
24674 char *kwnames
[] = {
24675 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
24678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24680 if (SWIG_arg_fail(1)) SWIG_fail
;
24682 arg2
= (long)(SWIG_As_long(obj1
));
24683 if (SWIG_arg_fail(2)) SWIG_fail
;
24686 arg3
= (long)(SWIG_As_long(obj2
));
24687 if (SWIG_arg_fail(3)) SWIG_fail
;
24690 arg4
= (long)(SWIG_As_long(obj3
));
24691 if (SWIG_arg_fail(4)) SWIG_fail
;
24694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24695 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
24697 wxPyEndAllowThreads(__tstate
);
24698 if (PyErr_Occurred()) SWIG_fail
;
24701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24709 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24710 PyObject
*resultobj
;
24711 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24714 int arg4
= (int) -1 ;
24716 PyObject
* obj0
= 0 ;
24717 PyObject
* obj1
= 0 ;
24718 PyObject
* obj2
= 0 ;
24719 PyObject
* obj3
= 0 ;
24720 char *kwnames
[] = {
24721 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
24724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24726 if (SWIG_arg_fail(1)) SWIG_fail
;
24728 arg2
= (long)(SWIG_As_long(obj1
));
24729 if (SWIG_arg_fail(2)) SWIG_fail
;
24732 arg3
= (int)(SWIG_As_int(obj2
));
24733 if (SWIG_arg_fail(3)) SWIG_fail
;
24737 arg4
= (int)(SWIG_As_int(obj3
));
24738 if (SWIG_arg_fail(4)) SWIG_fail
;
24742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24743 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
24745 wxPyEndAllowThreads(__tstate
);
24746 if (PyErr_Occurred()) SWIG_fail
;
24749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24757 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24758 PyObject
*resultobj
;
24759 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24762 PyObject
* obj0
= 0 ;
24763 PyObject
* obj1
= 0 ;
24764 char *kwnames
[] = {
24765 (char *) "self",(char *) "item", NULL
24768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
24769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24770 if (SWIG_arg_fail(1)) SWIG_fail
;
24772 arg2
= (long)(SWIG_As_long(obj1
));
24773 if (SWIG_arg_fail(2)) SWIG_fail
;
24776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24777 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
24779 wxPyEndAllowThreads(__tstate
);
24780 if (PyErr_Occurred()) SWIG_fail
;
24784 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24786 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24795 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24796 PyObject
*resultobj
;
24797 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24799 wxString
*arg3
= 0 ;
24800 bool temp3
= false ;
24801 PyObject
* obj0
= 0 ;
24802 PyObject
* obj1
= 0 ;
24803 PyObject
* obj2
= 0 ;
24804 char *kwnames
[] = {
24805 (char *) "self",(char *) "item",(char *) "str", NULL
24808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24810 if (SWIG_arg_fail(1)) SWIG_fail
;
24812 arg2
= (long)(SWIG_As_long(obj1
));
24813 if (SWIG_arg_fail(2)) SWIG_fail
;
24816 arg3
= wxString_in_helper(obj2
);
24817 if (arg3
== NULL
) SWIG_fail
;
24821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24822 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
24824 wxPyEndAllowThreads(__tstate
);
24825 if (PyErr_Occurred()) SWIG_fail
;
24827 Py_INCREF(Py_None
); resultobj
= Py_None
;
24842 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24843 PyObject
*resultobj
;
24844 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24847 PyObject
* obj0
= 0 ;
24848 PyObject
* obj1
= 0 ;
24849 char *kwnames
[] = {
24850 (char *) "self",(char *) "item", NULL
24853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
24854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24855 if (SWIG_arg_fail(1)) SWIG_fail
;
24857 arg2
= (long)(SWIG_As_long(obj1
));
24858 if (SWIG_arg_fail(2)) SWIG_fail
;
24861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24862 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
24864 wxPyEndAllowThreads(__tstate
);
24865 if (PyErr_Occurred()) SWIG_fail
;
24868 resultobj
= SWIG_From_long((long)(result
));
24876 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24877 PyObject
*resultobj
;
24878 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24882 PyObject
* obj0
= 0 ;
24883 PyObject
* obj1
= 0 ;
24884 PyObject
* obj2
= 0 ;
24885 char *kwnames
[] = {
24886 (char *) "self",(char *) "item",(char *) "data", NULL
24889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24891 if (SWIG_arg_fail(1)) SWIG_fail
;
24893 arg2
= (long)(SWIG_As_long(obj1
));
24894 if (SWIG_arg_fail(2)) SWIG_fail
;
24897 arg3
= (long)(SWIG_As_long(obj2
));
24898 if (SWIG_arg_fail(3)) SWIG_fail
;
24901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24902 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
24904 wxPyEndAllowThreads(__tstate
);
24905 if (PyErr_Occurred()) SWIG_fail
;
24908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24916 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24917 PyObject
*resultobj
;
24918 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24921 PyObject
* obj0
= 0 ;
24922 PyObject
* obj1
= 0 ;
24923 char *kwnames
[] = {
24924 (char *) "self",(char *) "item", NULL
24927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
24928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24929 if (SWIG_arg_fail(1)) SWIG_fail
;
24931 arg2
= (long)(SWIG_As_long(obj1
));
24932 if (SWIG_arg_fail(2)) SWIG_fail
;
24935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24936 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
24938 wxPyEndAllowThreads(__tstate
);
24939 if (PyErr_Occurred()) SWIG_fail
;
24942 wxPoint
* resultptr
;
24943 resultptr
= new wxPoint((wxPoint
&)(result
));
24944 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24952 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24953 PyObject
*resultobj
;
24954 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24956 int arg3
= (int) wxLIST_RECT_BOUNDS
;
24958 PyObject
* obj0
= 0 ;
24959 PyObject
* obj1
= 0 ;
24960 PyObject
* obj2
= 0 ;
24961 char *kwnames
[] = {
24962 (char *) "self",(char *) "item",(char *) "code", NULL
24965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24967 if (SWIG_arg_fail(1)) SWIG_fail
;
24969 arg2
= (long)(SWIG_As_long(obj1
));
24970 if (SWIG_arg_fail(2)) SWIG_fail
;
24974 arg3
= (int)(SWIG_As_int(obj2
));
24975 if (SWIG_arg_fail(3)) SWIG_fail
;
24979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24980 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
24982 wxPyEndAllowThreads(__tstate
);
24983 if (PyErr_Occurred()) SWIG_fail
;
24986 wxRect
* resultptr
;
24987 resultptr
= new wxRect((wxRect
&)(result
));
24988 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
24996 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24997 PyObject
*resultobj
;
24998 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25000 wxPoint
*arg3
= 0 ;
25003 PyObject
* obj0
= 0 ;
25004 PyObject
* obj1
= 0 ;
25005 PyObject
* obj2
= 0 ;
25006 char *kwnames
[] = {
25007 (char *) "self",(char *) "item",(char *) "pos", NULL
25010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25012 if (SWIG_arg_fail(1)) SWIG_fail
;
25014 arg2
= (long)(SWIG_As_long(obj1
));
25015 if (SWIG_arg_fail(2)) SWIG_fail
;
25019 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25023 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
25025 wxPyEndAllowThreads(__tstate
);
25026 if (PyErr_Occurred()) SWIG_fail
;
25029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25037 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25038 PyObject
*resultobj
;
25039 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25041 PyObject
* obj0
= 0 ;
25042 char *kwnames
[] = {
25043 (char *) "self", NULL
25046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
25047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25048 if (SWIG_arg_fail(1)) SWIG_fail
;
25050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25051 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
25053 wxPyEndAllowThreads(__tstate
);
25054 if (PyErr_Occurred()) SWIG_fail
;
25057 resultobj
= SWIG_From_int((int)(result
));
25065 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25066 PyObject
*resultobj
;
25067 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25069 PyObject
* obj0
= 0 ;
25070 char *kwnames
[] = {
25071 (char *) "self", NULL
25074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
25075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25076 if (SWIG_arg_fail(1)) SWIG_fail
;
25078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25079 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
25081 wxPyEndAllowThreads(__tstate
);
25082 if (PyErr_Occurred()) SWIG_fail
;
25085 resultobj
= SWIG_From_int((int)(result
));
25093 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25094 PyObject
*resultobj
;
25095 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25097 PyObject
* obj0
= 0 ;
25098 char *kwnames
[] = {
25099 (char *) "self", NULL
25102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
25103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25104 if (SWIG_arg_fail(1)) SWIG_fail
;
25106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25107 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
25109 wxPyEndAllowThreads(__tstate
);
25110 if (PyErr_Occurred()) SWIG_fail
;
25113 wxSize
* resultptr
;
25114 resultptr
= new wxSize((wxSize
&)(result
));
25115 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25123 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25124 PyObject
*resultobj
;
25125 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25127 PyObject
* obj0
= 0 ;
25128 char *kwnames
[] = {
25129 (char *) "self", NULL
25132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
25133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25134 if (SWIG_arg_fail(1)) SWIG_fail
;
25136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25137 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
25139 wxPyEndAllowThreads(__tstate
);
25140 if (PyErr_Occurred()) SWIG_fail
;
25143 resultobj
= SWIG_From_int((int)(result
));
25151 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25152 PyObject
*resultobj
;
25153 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25155 PyObject
* obj0
= 0 ;
25156 char *kwnames
[] = {
25157 (char *) "self", NULL
25160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
25161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25162 if (SWIG_arg_fail(1)) SWIG_fail
;
25164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25165 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
25167 wxPyEndAllowThreads(__tstate
);
25168 if (PyErr_Occurred()) SWIG_fail
;
25171 wxColour
* resultptr
;
25172 resultptr
= new wxColour((wxColour
&)(result
));
25173 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25181 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25182 PyObject
*resultobj
;
25183 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25184 wxColour
*arg2
= 0 ;
25186 PyObject
* obj0
= 0 ;
25187 PyObject
* obj1
= 0 ;
25188 char *kwnames
[] = {
25189 (char *) "self",(char *) "col", NULL
25192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25194 if (SWIG_arg_fail(1)) SWIG_fail
;
25197 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25201 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
25203 wxPyEndAllowThreads(__tstate
);
25204 if (PyErr_Occurred()) SWIG_fail
;
25206 Py_INCREF(Py_None
); resultobj
= Py_None
;
25213 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25214 PyObject
*resultobj
;
25215 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25217 PyObject
* obj0
= 0 ;
25218 char *kwnames
[] = {
25219 (char *) "self", NULL
25222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
25223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25224 if (SWIG_arg_fail(1)) SWIG_fail
;
25226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25227 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
25229 wxPyEndAllowThreads(__tstate
);
25230 if (PyErr_Occurred()) SWIG_fail
;
25233 resultobj
= SWIG_From_long((long)(result
));
25241 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25242 PyObject
*resultobj
;
25243 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25245 bool arg3
= (bool) true ;
25246 PyObject
* obj0
= 0 ;
25247 PyObject
* obj1
= 0 ;
25248 PyObject
* obj2
= 0 ;
25249 char *kwnames
[] = {
25250 (char *) "self",(char *) "style",(char *) "add", NULL
25253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25255 if (SWIG_arg_fail(1)) SWIG_fail
;
25257 arg2
= (long)(SWIG_As_long(obj1
));
25258 if (SWIG_arg_fail(2)) SWIG_fail
;
25262 arg3
= (bool)(SWIG_As_bool(obj2
));
25263 if (SWIG_arg_fail(3)) SWIG_fail
;
25267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25268 (arg1
)->SetSingleStyle(arg2
,arg3
);
25270 wxPyEndAllowThreads(__tstate
);
25271 if (PyErr_Occurred()) SWIG_fail
;
25273 Py_INCREF(Py_None
); resultobj
= Py_None
;
25280 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25281 PyObject
*resultobj
;
25282 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25284 PyObject
* obj0
= 0 ;
25285 PyObject
* obj1
= 0 ;
25286 char *kwnames
[] = {
25287 (char *) "self",(char *) "style", NULL
25290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
25291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25292 if (SWIG_arg_fail(1)) SWIG_fail
;
25294 arg2
= (long)(SWIG_As_long(obj1
));
25295 if (SWIG_arg_fail(2)) SWIG_fail
;
25298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25299 (arg1
)->SetWindowStyleFlag(arg2
);
25301 wxPyEndAllowThreads(__tstate
);
25302 if (PyErr_Occurred()) SWIG_fail
;
25304 Py_INCREF(Py_None
); resultobj
= Py_None
;
25311 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25312 PyObject
*resultobj
;
25313 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25315 int arg3
= (int) wxLIST_NEXT_ALL
;
25316 int arg4
= (int) wxLIST_STATE_DONTCARE
;
25318 PyObject
* obj0
= 0 ;
25319 PyObject
* obj1
= 0 ;
25320 PyObject
* obj2
= 0 ;
25321 PyObject
* obj3
= 0 ;
25322 char *kwnames
[] = {
25323 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
25326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25328 if (SWIG_arg_fail(1)) SWIG_fail
;
25330 arg2
= (long)(SWIG_As_long(obj1
));
25331 if (SWIG_arg_fail(2)) SWIG_fail
;
25335 arg3
= (int)(SWIG_As_int(obj2
));
25336 if (SWIG_arg_fail(3)) SWIG_fail
;
25341 arg4
= (int)(SWIG_As_int(obj3
));
25342 if (SWIG_arg_fail(4)) SWIG_fail
;
25346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25347 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
25349 wxPyEndAllowThreads(__tstate
);
25350 if (PyErr_Occurred()) SWIG_fail
;
25353 resultobj
= SWIG_From_long((long)(result
));
25361 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25362 PyObject
*resultobj
;
25363 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25365 wxImageList
*result
;
25366 PyObject
* obj0
= 0 ;
25367 PyObject
* obj1
= 0 ;
25368 char *kwnames
[] = {
25369 (char *) "self",(char *) "which", NULL
25372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25374 if (SWIG_arg_fail(1)) SWIG_fail
;
25376 arg2
= (int)(SWIG_As_int(obj1
));
25377 if (SWIG_arg_fail(2)) SWIG_fail
;
25380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25381 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
25383 wxPyEndAllowThreads(__tstate
);
25384 if (PyErr_Occurred()) SWIG_fail
;
25387 resultobj
= wxPyMake_wxObject(result
, 0);
25395 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25396 PyObject
*resultobj
;
25397 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25398 wxImageList
*arg2
= (wxImageList
*) 0 ;
25400 PyObject
* obj0
= 0 ;
25401 PyObject
* obj1
= 0 ;
25402 PyObject
* obj2
= 0 ;
25403 char *kwnames
[] = {
25404 (char *) "self",(char *) "imageList",(char *) "which", NULL
25407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25409 if (SWIG_arg_fail(1)) SWIG_fail
;
25410 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
25411 if (SWIG_arg_fail(2)) SWIG_fail
;
25413 arg3
= (int)(SWIG_As_int(obj2
));
25414 if (SWIG_arg_fail(3)) SWIG_fail
;
25417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25418 (arg1
)->SetImageList(arg2
,arg3
);
25420 wxPyEndAllowThreads(__tstate
);
25421 if (PyErr_Occurred()) SWIG_fail
;
25423 Py_INCREF(Py_None
); resultobj
= Py_None
;
25430 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25431 PyObject
*resultobj
;
25432 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25433 wxImageList
*arg2
= (wxImageList
*) 0 ;
25435 PyObject
* obj0
= 0 ;
25436 PyObject
* obj1
= 0 ;
25437 PyObject
* obj2
= 0 ;
25438 char *kwnames
[] = {
25439 (char *) "self",(char *) "imageList",(char *) "which", NULL
25442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25444 if (SWIG_arg_fail(1)) SWIG_fail
;
25445 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25446 if (SWIG_arg_fail(2)) SWIG_fail
;
25448 arg3
= (int)(SWIG_As_int(obj2
));
25449 if (SWIG_arg_fail(3)) SWIG_fail
;
25452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25453 (arg1
)->AssignImageList(arg2
,arg3
);
25455 wxPyEndAllowThreads(__tstate
);
25456 if (PyErr_Occurred()) SWIG_fail
;
25458 Py_INCREF(Py_None
); resultobj
= Py_None
;
25465 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25466 PyObject
*resultobj
;
25467 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25469 PyObject
* obj0
= 0 ;
25470 char *kwnames
[] = {
25471 (char *) "self", NULL
25474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
25475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25476 if (SWIG_arg_fail(1)) SWIG_fail
;
25478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25479 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
25481 wxPyEndAllowThreads(__tstate
);
25482 if (PyErr_Occurred()) SWIG_fail
;
25485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25493 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25494 PyObject
*resultobj
;
25495 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25497 PyObject
* obj0
= 0 ;
25498 char *kwnames
[] = {
25499 (char *) "self", NULL
25502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
25503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25504 if (SWIG_arg_fail(1)) SWIG_fail
;
25506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25507 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
25509 wxPyEndAllowThreads(__tstate
);
25510 if (PyErr_Occurred()) SWIG_fail
;
25513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25521 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25522 PyObject
*resultobj
;
25523 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25525 PyObject
* obj0
= 0 ;
25526 PyObject
* obj1
= 0 ;
25527 char *kwnames
[] = {
25528 (char *) "self",(char *) "item", NULL
25531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25533 if (SWIG_arg_fail(1)) SWIG_fail
;
25535 arg2
= (long)(SWIG_As_long(obj1
));
25536 if (SWIG_arg_fail(2)) SWIG_fail
;
25539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25540 (arg1
)->RefreshItem(arg2
);
25542 wxPyEndAllowThreads(__tstate
);
25543 if (PyErr_Occurred()) SWIG_fail
;
25545 Py_INCREF(Py_None
); resultobj
= Py_None
;
25552 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25553 PyObject
*resultobj
;
25554 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25557 PyObject
* obj0
= 0 ;
25558 PyObject
* obj1
= 0 ;
25559 PyObject
* obj2
= 0 ;
25560 char *kwnames
[] = {
25561 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
25564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25566 if (SWIG_arg_fail(1)) SWIG_fail
;
25568 arg2
= (long)(SWIG_As_long(obj1
));
25569 if (SWIG_arg_fail(2)) SWIG_fail
;
25572 arg3
= (long)(SWIG_As_long(obj2
));
25573 if (SWIG_arg_fail(3)) SWIG_fail
;
25576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25577 (arg1
)->RefreshItems(arg2
,arg3
);
25579 wxPyEndAllowThreads(__tstate
);
25580 if (PyErr_Occurred()) SWIG_fail
;
25582 Py_INCREF(Py_None
); resultobj
= Py_None
;
25589 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25590 PyObject
*resultobj
;
25591 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25592 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
25594 PyObject
* obj0
= 0 ;
25595 PyObject
* obj1
= 0 ;
25596 char *kwnames
[] = {
25597 (char *) "self",(char *) "flag", NULL
25600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
25601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25602 if (SWIG_arg_fail(1)) SWIG_fail
;
25605 arg2
= (int)(SWIG_As_int(obj1
));
25606 if (SWIG_arg_fail(2)) SWIG_fail
;
25610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25611 result
= (bool)(arg1
)->Arrange(arg2
);
25613 wxPyEndAllowThreads(__tstate
);
25614 if (PyErr_Occurred()) SWIG_fail
;
25617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25625 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25626 PyObject
*resultobj
;
25627 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25630 PyObject
* obj0
= 0 ;
25631 PyObject
* obj1
= 0 ;
25632 char *kwnames
[] = {
25633 (char *) "self",(char *) "item", NULL
25636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25638 if (SWIG_arg_fail(1)) SWIG_fail
;
25640 arg2
= (long)(SWIG_As_long(obj1
));
25641 if (SWIG_arg_fail(2)) SWIG_fail
;
25644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25645 result
= (bool)(arg1
)->DeleteItem(arg2
);
25647 wxPyEndAllowThreads(__tstate
);
25648 if (PyErr_Occurred()) SWIG_fail
;
25651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25659 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25660 PyObject
*resultobj
;
25661 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25663 PyObject
* obj0
= 0 ;
25664 char *kwnames
[] = {
25665 (char *) "self", NULL
25668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
25669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25670 if (SWIG_arg_fail(1)) SWIG_fail
;
25672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25673 result
= (bool)(arg1
)->DeleteAllItems();
25675 wxPyEndAllowThreads(__tstate
);
25676 if (PyErr_Occurred()) SWIG_fail
;
25679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25687 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25688 PyObject
*resultobj
;
25689 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25692 PyObject
* obj0
= 0 ;
25693 PyObject
* obj1
= 0 ;
25694 char *kwnames
[] = {
25695 (char *) "self",(char *) "col", NULL
25698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
25699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25700 if (SWIG_arg_fail(1)) SWIG_fail
;
25702 arg2
= (int)(SWIG_As_int(obj1
));
25703 if (SWIG_arg_fail(2)) SWIG_fail
;
25706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25707 result
= (bool)(arg1
)->DeleteColumn(arg2
);
25709 wxPyEndAllowThreads(__tstate
);
25710 if (PyErr_Occurred()) SWIG_fail
;
25713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25721 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25722 PyObject
*resultobj
;
25723 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25725 PyObject
* obj0
= 0 ;
25726 char *kwnames
[] = {
25727 (char *) "self", NULL
25730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
25731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25732 if (SWIG_arg_fail(1)) SWIG_fail
;
25734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25735 result
= (bool)(arg1
)->DeleteAllColumns();
25737 wxPyEndAllowThreads(__tstate
);
25738 if (PyErr_Occurred()) SWIG_fail
;
25741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25749 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25750 PyObject
*resultobj
;
25751 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25752 PyObject
* obj0
= 0 ;
25753 char *kwnames
[] = {
25754 (char *) "self", NULL
25757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
25758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25759 if (SWIG_arg_fail(1)) SWIG_fail
;
25761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25762 (arg1
)->ClearAll();
25764 wxPyEndAllowThreads(__tstate
);
25765 if (PyErr_Occurred()) SWIG_fail
;
25767 Py_INCREF(Py_None
); resultobj
= Py_None
;
25774 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25775 PyObject
*resultobj
;
25776 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25778 wxTextCtrl
*result
;
25779 PyObject
* obj0
= 0 ;
25780 PyObject
* obj1
= 0 ;
25781 char *kwnames
[] = {
25782 (char *) "self",(char *) "item", NULL
25785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25787 if (SWIG_arg_fail(1)) SWIG_fail
;
25789 arg2
= (long)(SWIG_As_long(obj1
));
25790 if (SWIG_arg_fail(2)) SWIG_fail
;
25793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25794 result
= (wxTextCtrl
*)(arg1
)->EditLabel(arg2
);
25796 wxPyEndAllowThreads(__tstate
);
25797 if (PyErr_Occurred()) SWIG_fail
;
25800 resultobj
= wxPyMake_wxObject(result
, 0);
25808 static PyObject
*_wrap_ListCtrl_EndEditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25809 PyObject
*resultobj
;
25810 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25813 PyObject
* obj0
= 0 ;
25814 PyObject
* obj1
= 0 ;
25815 char *kwnames
[] = {
25816 (char *) "self",(char *) "cancel", NULL
25819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25821 if (SWIG_arg_fail(1)) SWIG_fail
;
25823 arg2
= (bool)(SWIG_As_bool(obj1
));
25824 if (SWIG_arg_fail(2)) SWIG_fail
;
25827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25828 result
= (bool)(arg1
)->EndEditLabel(arg2
);
25830 wxPyEndAllowThreads(__tstate
);
25831 if (PyErr_Occurred()) SWIG_fail
;
25834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25842 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25843 PyObject
*resultobj
;
25844 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25847 PyObject
* obj0
= 0 ;
25848 PyObject
* obj1
= 0 ;
25849 char *kwnames
[] = {
25850 (char *) "self",(char *) "item", NULL
25853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25855 if (SWIG_arg_fail(1)) SWIG_fail
;
25857 arg2
= (long)(SWIG_As_long(obj1
));
25858 if (SWIG_arg_fail(2)) SWIG_fail
;
25861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25862 result
= (bool)(arg1
)->EnsureVisible(arg2
);
25864 wxPyEndAllowThreads(__tstate
);
25865 if (PyErr_Occurred()) SWIG_fail
;
25868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25876 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25877 PyObject
*resultobj
;
25878 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25880 wxString
*arg3
= 0 ;
25881 bool arg4
= (bool) false ;
25883 bool temp3
= false ;
25884 PyObject
* obj0
= 0 ;
25885 PyObject
* obj1
= 0 ;
25886 PyObject
* obj2
= 0 ;
25887 PyObject
* obj3
= 0 ;
25888 char *kwnames
[] = {
25889 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
25892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25894 if (SWIG_arg_fail(1)) SWIG_fail
;
25896 arg2
= (long)(SWIG_As_long(obj1
));
25897 if (SWIG_arg_fail(2)) SWIG_fail
;
25900 arg3
= wxString_in_helper(obj2
);
25901 if (arg3
== NULL
) SWIG_fail
;
25906 arg4
= (bool)(SWIG_As_bool(obj3
));
25907 if (SWIG_arg_fail(4)) SWIG_fail
;
25911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25912 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
25914 wxPyEndAllowThreads(__tstate
);
25915 if (PyErr_Occurred()) SWIG_fail
;
25918 resultobj
= SWIG_From_long((long)(result
));
25934 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25935 PyObject
*resultobj
;
25936 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25940 PyObject
* obj0
= 0 ;
25941 PyObject
* obj1
= 0 ;
25942 PyObject
* obj2
= 0 ;
25943 char *kwnames
[] = {
25944 (char *) "self",(char *) "start",(char *) "data", NULL
25947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25949 if (SWIG_arg_fail(1)) SWIG_fail
;
25951 arg2
= (long)(SWIG_As_long(obj1
));
25952 if (SWIG_arg_fail(2)) SWIG_fail
;
25955 arg3
= (long)(SWIG_As_long(obj2
));
25956 if (SWIG_arg_fail(3)) SWIG_fail
;
25959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25960 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
25962 wxPyEndAllowThreads(__tstate
);
25963 if (PyErr_Occurred()) SWIG_fail
;
25966 resultobj
= SWIG_From_long((long)(result
));
25974 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25975 PyObject
*resultobj
;
25976 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25978 wxPoint
*arg3
= 0 ;
25982 PyObject
* obj0
= 0 ;
25983 PyObject
* obj1
= 0 ;
25984 PyObject
* obj2
= 0 ;
25985 PyObject
* obj3
= 0 ;
25986 char *kwnames
[] = {
25987 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
25990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25992 if (SWIG_arg_fail(1)) SWIG_fail
;
25994 arg2
= (long)(SWIG_As_long(obj1
));
25995 if (SWIG_arg_fail(2)) SWIG_fail
;
25999 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26002 arg4
= (int)(SWIG_As_int(obj3
));
26003 if (SWIG_arg_fail(4)) SWIG_fail
;
26006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26007 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
26009 wxPyEndAllowThreads(__tstate
);
26010 if (PyErr_Occurred()) SWIG_fail
;
26013 resultobj
= SWIG_From_long((long)(result
));
26021 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26022 PyObject
*resultobj
;
26023 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26024 wxPoint
*arg2
= 0 ;
26030 PyObject
* obj0
= 0 ;
26031 PyObject
* obj1
= 0 ;
26032 char *kwnames
[] = {
26033 (char *) "self",(char *) "point", NULL
26036 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
26038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26039 if (SWIG_arg_fail(1)) SWIG_fail
;
26042 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26046 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
26048 wxPyEndAllowThreads(__tstate
);
26049 if (PyErr_Occurred()) SWIG_fail
;
26052 resultobj
= SWIG_From_long((long)(result
));
26054 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26055 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26062 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26063 PyObject
*resultobj
;
26064 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26065 wxListItem
*arg2
= 0 ;
26067 PyObject
* obj0
= 0 ;
26068 PyObject
* obj1
= 0 ;
26069 char *kwnames
[] = {
26070 (char *) "self",(char *) "info", NULL
26073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
26074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26075 if (SWIG_arg_fail(1)) SWIG_fail
;
26077 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
26078 if (SWIG_arg_fail(2)) SWIG_fail
;
26079 if (arg2
== NULL
) {
26080 SWIG_null_ref("wxListItem");
26082 if (SWIG_arg_fail(2)) SWIG_fail
;
26085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26086 result
= (long)(arg1
)->InsertItem(*arg2
);
26088 wxPyEndAllowThreads(__tstate
);
26089 if (PyErr_Occurred()) SWIG_fail
;
26092 resultobj
= SWIG_From_long((long)(result
));
26100 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26101 PyObject
*resultobj
;
26102 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26104 wxString
*arg3
= 0 ;
26106 bool temp3
= false ;
26107 PyObject
* obj0
= 0 ;
26108 PyObject
* obj1
= 0 ;
26109 PyObject
* obj2
= 0 ;
26110 char *kwnames
[] = {
26111 (char *) "self",(char *) "index",(char *) "label", NULL
26114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26116 if (SWIG_arg_fail(1)) SWIG_fail
;
26118 arg2
= (long)(SWIG_As_long(obj1
));
26119 if (SWIG_arg_fail(2)) SWIG_fail
;
26122 arg3
= wxString_in_helper(obj2
);
26123 if (arg3
== NULL
) SWIG_fail
;
26127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26128 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
26130 wxPyEndAllowThreads(__tstate
);
26131 if (PyErr_Occurred()) SWIG_fail
;
26134 resultobj
= SWIG_From_long((long)(result
));
26150 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26151 PyObject
*resultobj
;
26152 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26156 PyObject
* obj0
= 0 ;
26157 PyObject
* obj1
= 0 ;
26158 PyObject
* obj2
= 0 ;
26159 char *kwnames
[] = {
26160 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
26163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26165 if (SWIG_arg_fail(1)) SWIG_fail
;
26167 arg2
= (long)(SWIG_As_long(obj1
));
26168 if (SWIG_arg_fail(2)) SWIG_fail
;
26171 arg3
= (int)(SWIG_As_int(obj2
));
26172 if (SWIG_arg_fail(3)) SWIG_fail
;
26175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26176 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
26178 wxPyEndAllowThreads(__tstate
);
26179 if (PyErr_Occurred()) SWIG_fail
;
26182 resultobj
= SWIG_From_long((long)(result
));
26190 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26191 PyObject
*resultobj
;
26192 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26194 wxString
*arg3
= 0 ;
26197 bool temp3
= false ;
26198 PyObject
* obj0
= 0 ;
26199 PyObject
* obj1
= 0 ;
26200 PyObject
* obj2
= 0 ;
26201 PyObject
* obj3
= 0 ;
26202 char *kwnames
[] = {
26203 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
26206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26208 if (SWIG_arg_fail(1)) SWIG_fail
;
26210 arg2
= (long)(SWIG_As_long(obj1
));
26211 if (SWIG_arg_fail(2)) SWIG_fail
;
26214 arg3
= wxString_in_helper(obj2
);
26215 if (arg3
== NULL
) SWIG_fail
;
26219 arg4
= (int)(SWIG_As_int(obj3
));
26220 if (SWIG_arg_fail(4)) SWIG_fail
;
26223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26224 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
26226 wxPyEndAllowThreads(__tstate
);
26227 if (PyErr_Occurred()) SWIG_fail
;
26230 resultobj
= SWIG_From_long((long)(result
));
26246 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26247 PyObject
*resultobj
;
26248 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26250 wxListItem
*arg3
= 0 ;
26252 PyObject
* obj0
= 0 ;
26253 PyObject
* obj1
= 0 ;
26254 PyObject
* obj2
= 0 ;
26255 char *kwnames
[] = {
26256 (char *) "self",(char *) "col",(char *) "info", NULL
26259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26261 if (SWIG_arg_fail(1)) SWIG_fail
;
26263 arg2
= (long)(SWIG_As_long(obj1
));
26264 if (SWIG_arg_fail(2)) SWIG_fail
;
26267 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
26268 if (SWIG_arg_fail(3)) SWIG_fail
;
26269 if (arg3
== NULL
) {
26270 SWIG_null_ref("wxListItem");
26272 if (SWIG_arg_fail(3)) SWIG_fail
;
26275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26276 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
26278 wxPyEndAllowThreads(__tstate
);
26279 if (PyErr_Occurred()) SWIG_fail
;
26282 resultobj
= SWIG_From_long((long)(result
));
26290 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26291 PyObject
*resultobj
;
26292 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26294 wxString
*arg3
= 0 ;
26295 int arg4
= (int) wxLIST_FORMAT_LEFT
;
26296 int arg5
= (int) -1 ;
26298 bool temp3
= false ;
26299 PyObject
* obj0
= 0 ;
26300 PyObject
* obj1
= 0 ;
26301 PyObject
* obj2
= 0 ;
26302 PyObject
* obj3
= 0 ;
26303 PyObject
* obj4
= 0 ;
26304 char *kwnames
[] = {
26305 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
26308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26310 if (SWIG_arg_fail(1)) SWIG_fail
;
26312 arg2
= (long)(SWIG_As_long(obj1
));
26313 if (SWIG_arg_fail(2)) SWIG_fail
;
26316 arg3
= wxString_in_helper(obj2
);
26317 if (arg3
== NULL
) SWIG_fail
;
26322 arg4
= (int)(SWIG_As_int(obj3
));
26323 if (SWIG_arg_fail(4)) SWIG_fail
;
26328 arg5
= (int)(SWIG_As_int(obj4
));
26329 if (SWIG_arg_fail(5)) SWIG_fail
;
26333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26334 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
26336 wxPyEndAllowThreads(__tstate
);
26337 if (PyErr_Occurred()) SWIG_fail
;
26340 resultobj
= SWIG_From_long((long)(result
));
26356 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26357 PyObject
*resultobj
;
26358 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26360 PyObject
* obj0
= 0 ;
26361 PyObject
* obj1
= 0 ;
26362 char *kwnames
[] = {
26363 (char *) "self",(char *) "count", NULL
26366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
26367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26368 if (SWIG_arg_fail(1)) SWIG_fail
;
26370 arg2
= (long)(SWIG_As_long(obj1
));
26371 if (SWIG_arg_fail(2)) SWIG_fail
;
26374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26375 (arg1
)->SetItemCount(arg2
);
26377 wxPyEndAllowThreads(__tstate
);
26378 if (PyErr_Occurred()) SWIG_fail
;
26380 Py_INCREF(Py_None
); resultobj
= Py_None
;
26387 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26388 PyObject
*resultobj
;
26389 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26393 PyObject
* obj0
= 0 ;
26394 PyObject
* obj1
= 0 ;
26395 PyObject
* obj2
= 0 ;
26396 char *kwnames
[] = {
26397 (char *) "self",(char *) "dx",(char *) "dy", NULL
26400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26402 if (SWIG_arg_fail(1)) SWIG_fail
;
26404 arg2
= (int)(SWIG_As_int(obj1
));
26405 if (SWIG_arg_fail(2)) SWIG_fail
;
26408 arg3
= (int)(SWIG_As_int(obj2
));
26409 if (SWIG_arg_fail(3)) SWIG_fail
;
26412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26413 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
26415 wxPyEndAllowThreads(__tstate
);
26416 if (PyErr_Occurred()) SWIG_fail
;
26419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26427 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26428 PyObject
*resultobj
;
26429 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26431 wxColour
*arg3
= 0 ;
26433 PyObject
* obj0
= 0 ;
26434 PyObject
* obj1
= 0 ;
26435 PyObject
* obj2
= 0 ;
26436 char *kwnames
[] = {
26437 (char *) "self",(char *) "item",(char *) "col", NULL
26440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26442 if (SWIG_arg_fail(1)) SWIG_fail
;
26444 arg2
= (long)(SWIG_As_long(obj1
));
26445 if (SWIG_arg_fail(2)) SWIG_fail
;
26449 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26453 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
26455 wxPyEndAllowThreads(__tstate
);
26456 if (PyErr_Occurred()) SWIG_fail
;
26458 Py_INCREF(Py_None
); resultobj
= Py_None
;
26465 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26466 PyObject
*resultobj
;
26467 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26470 PyObject
* obj0
= 0 ;
26471 PyObject
* obj1
= 0 ;
26472 char *kwnames
[] = {
26473 (char *) "self",(char *) "item", NULL
26476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26478 if (SWIG_arg_fail(1)) SWIG_fail
;
26480 arg2
= (long)(SWIG_As_long(obj1
));
26481 if (SWIG_arg_fail(2)) SWIG_fail
;
26484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26485 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
26487 wxPyEndAllowThreads(__tstate
);
26488 if (PyErr_Occurred()) SWIG_fail
;
26491 wxColour
* resultptr
;
26492 resultptr
= new wxColour((wxColour
&)(result
));
26493 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26501 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26502 PyObject
*resultobj
;
26503 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26505 wxColour
*arg3
= 0 ;
26507 PyObject
* obj0
= 0 ;
26508 PyObject
* obj1
= 0 ;
26509 PyObject
* obj2
= 0 ;
26510 char *kwnames
[] = {
26511 (char *) "self",(char *) "item",(char *) "col", NULL
26514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26516 if (SWIG_arg_fail(1)) SWIG_fail
;
26518 arg2
= (long)(SWIG_As_long(obj1
));
26519 if (SWIG_arg_fail(2)) SWIG_fail
;
26523 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26527 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
26529 wxPyEndAllowThreads(__tstate
);
26530 if (PyErr_Occurred()) SWIG_fail
;
26532 Py_INCREF(Py_None
); resultobj
= Py_None
;
26539 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26540 PyObject
*resultobj
;
26541 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26544 PyObject
* obj0
= 0 ;
26545 PyObject
* obj1
= 0 ;
26546 char *kwnames
[] = {
26547 (char *) "self",(char *) "item", NULL
26550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26552 if (SWIG_arg_fail(1)) SWIG_fail
;
26554 arg2
= (long)(SWIG_As_long(obj1
));
26555 if (SWIG_arg_fail(2)) SWIG_fail
;
26558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26559 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
26561 wxPyEndAllowThreads(__tstate
);
26562 if (PyErr_Occurred()) SWIG_fail
;
26565 wxColour
* resultptr
;
26566 resultptr
= new wxColour((wxColour
&)(result
));
26567 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26575 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26576 PyObject
*resultobj
;
26577 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26578 PyObject
*arg2
= (PyObject
*) 0 ;
26580 PyObject
* obj0
= 0 ;
26581 PyObject
* obj1
= 0 ;
26582 char *kwnames
[] = {
26583 (char *) "self",(char *) "func", NULL
26586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
26587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26588 if (SWIG_arg_fail(1)) SWIG_fail
;
26591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26592 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
26594 wxPyEndAllowThreads(__tstate
);
26595 if (PyErr_Occurred()) SWIG_fail
;
26598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26606 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26607 PyObject
*resultobj
;
26608 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26610 PyObject
* obj0
= 0 ;
26611 char *kwnames
[] = {
26612 (char *) "self", NULL
26615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
26616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26617 if (SWIG_arg_fail(1)) SWIG_fail
;
26619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26620 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
26622 wxPyEndAllowThreads(__tstate
);
26623 if (PyErr_Occurred()) SWIG_fail
;
26626 resultobj
= wxPyMake_wxObject(result
, 0);
26634 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26635 PyObject
*resultobj
;
26636 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
26637 wxVisualAttributes result
;
26638 PyObject
* obj0
= 0 ;
26639 char *kwnames
[] = {
26640 (char *) "variant", NULL
26643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26646 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
26647 if (SWIG_arg_fail(1)) SWIG_fail
;
26651 if (!wxPyCheckForApp()) SWIG_fail
;
26652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26653 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
26655 wxPyEndAllowThreads(__tstate
);
26656 if (PyErr_Occurred()) SWIG_fail
;
26659 wxVisualAttributes
* resultptr
;
26660 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
26661 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26669 static PyObject
* ListCtrl_swigregister(PyObject
*, PyObject
*args
) {
26671 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26672 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
26674 return Py_BuildValue((char *)"");
26676 static PyObject
*_wrap_new_ListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26677 PyObject
*resultobj
;
26678 wxWindow
*arg1
= (wxWindow
*) 0 ;
26679 int arg2
= (int) -1 ;
26680 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
26681 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
26682 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26683 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26684 long arg5
= (long) wxLC_REPORT
;
26685 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
26686 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
26687 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
26688 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26689 wxListView
*result
;
26692 bool temp7
= false ;
26693 PyObject
* obj0
= 0 ;
26694 PyObject
* obj1
= 0 ;
26695 PyObject
* obj2
= 0 ;
26696 PyObject
* obj3
= 0 ;
26697 PyObject
* obj4
= 0 ;
26698 PyObject
* obj5
= 0 ;
26699 PyObject
* obj6
= 0 ;
26700 char *kwnames
[] = {
26701 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26706 if (SWIG_arg_fail(1)) SWIG_fail
;
26709 arg2
= (int)(SWIG_As_int(obj1
));
26710 if (SWIG_arg_fail(2)) SWIG_fail
;
26716 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26722 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26727 arg5
= (long)(SWIG_As_long(obj4
));
26728 if (SWIG_arg_fail(5)) SWIG_fail
;
26733 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
26734 if (SWIG_arg_fail(6)) SWIG_fail
;
26735 if (arg6
== NULL
) {
26736 SWIG_null_ref("wxValidator");
26738 if (SWIG_arg_fail(6)) SWIG_fail
;
26743 arg7
= wxString_in_helper(obj6
);
26744 if (arg7
== NULL
) SWIG_fail
;
26749 if (!wxPyCheckForApp()) SWIG_fail
;
26750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26751 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
26753 wxPyEndAllowThreads(__tstate
);
26754 if (PyErr_Occurred()) SWIG_fail
;
26756 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
26771 static PyObject
*_wrap_new_PreListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26772 PyObject
*resultobj
;
26773 wxListView
*result
;
26774 char *kwnames
[] = {
26778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
26780 if (!wxPyCheckForApp()) SWIG_fail
;
26781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26782 result
= (wxListView
*)new wxListView();
26784 wxPyEndAllowThreads(__tstate
);
26785 if (PyErr_Occurred()) SWIG_fail
;
26787 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
26794 static PyObject
*_wrap_ListView_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26795 PyObject
*resultobj
;
26796 wxListView
*arg1
= (wxListView
*) 0 ;
26797 wxWindow
*arg2
= (wxWindow
*) 0 ;
26798 int arg3
= (int) -1 ;
26799 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26800 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26801 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26802 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26803 long arg6
= (long) wxLC_REPORT
;
26804 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
26805 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
26806 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
26807 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
26811 bool temp8
= false ;
26812 PyObject
* obj0
= 0 ;
26813 PyObject
* obj1
= 0 ;
26814 PyObject
* obj2
= 0 ;
26815 PyObject
* obj3
= 0 ;
26816 PyObject
* obj4
= 0 ;
26817 PyObject
* obj5
= 0 ;
26818 PyObject
* obj6
= 0 ;
26819 PyObject
* obj7
= 0 ;
26820 char *kwnames
[] = {
26821 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
26825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26826 if (SWIG_arg_fail(1)) SWIG_fail
;
26827 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26828 if (SWIG_arg_fail(2)) SWIG_fail
;
26831 arg3
= (int)(SWIG_As_int(obj2
));
26832 if (SWIG_arg_fail(3)) SWIG_fail
;
26838 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26844 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26849 arg6
= (long)(SWIG_As_long(obj5
));
26850 if (SWIG_arg_fail(6)) SWIG_fail
;
26855 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
26856 if (SWIG_arg_fail(7)) SWIG_fail
;
26857 if (arg7
== NULL
) {
26858 SWIG_null_ref("wxValidator");
26860 if (SWIG_arg_fail(7)) SWIG_fail
;
26865 arg8
= wxString_in_helper(obj7
);
26866 if (arg8
== NULL
) SWIG_fail
;
26871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26872 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
26874 wxPyEndAllowThreads(__tstate
);
26875 if (PyErr_Occurred()) SWIG_fail
;
26878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26894 static PyObject
*_wrap_ListView_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26895 PyObject
*resultobj
;
26896 wxListView
*arg1
= (wxListView
*) 0 ;
26898 bool arg3
= (bool) true ;
26899 PyObject
* obj0
= 0 ;
26900 PyObject
* obj1
= 0 ;
26901 PyObject
* obj2
= 0 ;
26902 char *kwnames
[] = {
26903 (char *) "self",(char *) "n",(char *) "on", NULL
26906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26908 if (SWIG_arg_fail(1)) SWIG_fail
;
26910 arg2
= (long)(SWIG_As_long(obj1
));
26911 if (SWIG_arg_fail(2)) SWIG_fail
;
26915 arg3
= (bool)(SWIG_As_bool(obj2
));
26916 if (SWIG_arg_fail(3)) SWIG_fail
;
26920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26921 (arg1
)->Select(arg2
,arg3
);
26923 wxPyEndAllowThreads(__tstate
);
26924 if (PyErr_Occurred()) SWIG_fail
;
26926 Py_INCREF(Py_None
); resultobj
= Py_None
;
26933 static PyObject
*_wrap_ListView_Focus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26934 PyObject
*resultobj
;
26935 wxListView
*arg1
= (wxListView
*) 0 ;
26937 PyObject
* obj0
= 0 ;
26938 PyObject
* obj1
= 0 ;
26939 char *kwnames
[] = {
26940 (char *) "self",(char *) "index", NULL
26943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
26944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26945 if (SWIG_arg_fail(1)) SWIG_fail
;
26947 arg2
= (long)(SWIG_As_long(obj1
));
26948 if (SWIG_arg_fail(2)) SWIG_fail
;
26951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26952 (arg1
)->Focus(arg2
);
26954 wxPyEndAllowThreads(__tstate
);
26955 if (PyErr_Occurred()) SWIG_fail
;
26957 Py_INCREF(Py_None
); resultobj
= Py_None
;
26964 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26965 PyObject
*resultobj
;
26966 wxListView
*arg1
= (wxListView
*) 0 ;
26968 PyObject
* obj0
= 0 ;
26969 char *kwnames
[] = {
26970 (char *) "self", NULL
26973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
26974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26975 if (SWIG_arg_fail(1)) SWIG_fail
;
26977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26978 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
26980 wxPyEndAllowThreads(__tstate
);
26981 if (PyErr_Occurred()) SWIG_fail
;
26984 resultobj
= SWIG_From_long((long)(result
));
26992 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26993 PyObject
*resultobj
;
26994 wxListView
*arg1
= (wxListView
*) 0 ;
26997 PyObject
* obj0
= 0 ;
26998 PyObject
* obj1
= 0 ;
26999 char *kwnames
[] = {
27000 (char *) "self",(char *) "item", NULL
27003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
27004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
27005 if (SWIG_arg_fail(1)) SWIG_fail
;
27007 arg2
= (long)(SWIG_As_long(obj1
));
27008 if (SWIG_arg_fail(2)) SWIG_fail
;
27011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27012 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
27014 wxPyEndAllowThreads(__tstate
);
27015 if (PyErr_Occurred()) SWIG_fail
;
27018 resultobj
= SWIG_From_long((long)(result
));
27026 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27027 PyObject
*resultobj
;
27028 wxListView
*arg1
= (wxListView
*) 0 ;
27030 PyObject
* obj0
= 0 ;
27031 char *kwnames
[] = {
27032 (char *) "self", NULL
27035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
27036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
27037 if (SWIG_arg_fail(1)) SWIG_fail
;
27039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27040 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
27042 wxPyEndAllowThreads(__tstate
);
27043 if (PyErr_Occurred()) SWIG_fail
;
27046 resultobj
= SWIG_From_long((long)(result
));
27054 static PyObject
*_wrap_ListView_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27055 PyObject
*resultobj
;
27056 wxListView
*arg1
= (wxListView
*) 0 ;
27059 PyObject
* obj0
= 0 ;
27060 PyObject
* obj1
= 0 ;
27061 char *kwnames
[] = {
27062 (char *) "self",(char *) "index", NULL
27065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
27066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
27067 if (SWIG_arg_fail(1)) SWIG_fail
;
27069 arg2
= (long)(SWIG_As_long(obj1
));
27070 if (SWIG_arg_fail(2)) SWIG_fail
;
27073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27074 result
= (bool)(arg1
)->IsSelected(arg2
);
27076 wxPyEndAllowThreads(__tstate
);
27077 if (PyErr_Occurred()) SWIG_fail
;
27080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27088 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27089 PyObject
*resultobj
;
27090 wxListView
*arg1
= (wxListView
*) 0 ;
27093 PyObject
* obj0
= 0 ;
27094 PyObject
* obj1
= 0 ;
27095 PyObject
* obj2
= 0 ;
27096 char *kwnames
[] = {
27097 (char *) "self",(char *) "col",(char *) "image", NULL
27100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
27102 if (SWIG_arg_fail(1)) SWIG_fail
;
27104 arg2
= (int)(SWIG_As_int(obj1
));
27105 if (SWIG_arg_fail(2)) SWIG_fail
;
27108 arg3
= (int)(SWIG_As_int(obj2
));
27109 if (SWIG_arg_fail(3)) SWIG_fail
;
27112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27113 (arg1
)->SetColumnImage(arg2
,arg3
);
27115 wxPyEndAllowThreads(__tstate
);
27116 if (PyErr_Occurred()) SWIG_fail
;
27118 Py_INCREF(Py_None
); resultobj
= Py_None
;
27125 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27126 PyObject
*resultobj
;
27127 wxListView
*arg1
= (wxListView
*) 0 ;
27129 PyObject
* obj0
= 0 ;
27130 PyObject
* obj1
= 0 ;
27131 char *kwnames
[] = {
27132 (char *) "self",(char *) "col", NULL
27135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
27136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
27137 if (SWIG_arg_fail(1)) SWIG_fail
;
27139 arg2
= (int)(SWIG_As_int(obj1
));
27140 if (SWIG_arg_fail(2)) SWIG_fail
;
27143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27144 (arg1
)->ClearColumnImage(arg2
);
27146 wxPyEndAllowThreads(__tstate
);
27147 if (PyErr_Occurred()) SWIG_fail
;
27149 Py_INCREF(Py_None
); resultobj
= Py_None
;
27156 static PyObject
* ListView_swigregister(PyObject
*, PyObject
*args
) {
27158 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27159 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
27161 return Py_BuildValue((char *)"");
27163 static int _wrap_TreeCtrlNameStr_set(PyObject
*) {
27164 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
27169 static PyObject
*_wrap_TreeCtrlNameStr_get(void) {
27174 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
27176 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
27183 static PyObject
*_wrap_new_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27184 PyObject
*resultobj
;
27185 wxTreeItemId
*result
;
27186 char *kwnames
[] = {
27190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
27192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27193 result
= (wxTreeItemId
*)new wxTreeItemId();
27195 wxPyEndAllowThreads(__tstate
);
27196 if (PyErr_Occurred()) SWIG_fail
;
27198 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
27205 static PyObject
*_wrap_delete_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27206 PyObject
*resultobj
;
27207 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27208 PyObject
* obj0
= 0 ;
27209 char *kwnames
[] = {
27210 (char *) "self", NULL
27213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
27214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27215 if (SWIG_arg_fail(1)) SWIG_fail
;
27217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27220 wxPyEndAllowThreads(__tstate
);
27221 if (PyErr_Occurred()) SWIG_fail
;
27223 Py_INCREF(Py_None
); resultobj
= Py_None
;
27230 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27231 PyObject
*resultobj
;
27232 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27234 PyObject
* obj0
= 0 ;
27235 char *kwnames
[] = {
27236 (char *) "self", NULL
27239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
27240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27241 if (SWIG_arg_fail(1)) SWIG_fail
;
27243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27244 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
27246 wxPyEndAllowThreads(__tstate
);
27247 if (PyErr_Occurred()) SWIG_fail
;
27250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27258 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27259 PyObject
*resultobj
;
27260 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27261 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
27263 PyObject
* obj0
= 0 ;
27264 PyObject
* obj1
= 0 ;
27265 char *kwnames
[] = {
27266 (char *) "self",(char *) "other", NULL
27269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27271 if (SWIG_arg_fail(1)) SWIG_fail
;
27272 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27273 if (SWIG_arg_fail(2)) SWIG_fail
;
27275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27276 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
27278 wxPyEndAllowThreads(__tstate
);
27279 if (PyErr_Occurred()) SWIG_fail
;
27282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27290 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27291 PyObject
*resultobj
;
27292 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27293 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
27295 PyObject
* obj0
= 0 ;
27296 PyObject
* obj1
= 0 ;
27297 char *kwnames
[] = {
27298 (char *) "self",(char *) "other", NULL
27301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27303 if (SWIG_arg_fail(1)) SWIG_fail
;
27304 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27305 if (SWIG_arg_fail(2)) SWIG_fail
;
27307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27308 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
27310 wxPyEndAllowThreads(__tstate
);
27311 if (PyErr_Occurred()) SWIG_fail
;
27314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27322 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27323 PyObject
*resultobj
;
27324 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27325 void *arg2
= (void *) 0 ;
27326 PyObject
* obj0
= 0 ;
27327 PyObject
* obj1
= 0 ;
27328 char *kwnames
[] = {
27329 (char *) "self",(char *) "m_pItem", NULL
27332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27334 if (SWIG_arg_fail(1)) SWIG_fail
;
27336 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),0,SWIG_POINTER_EXCEPTION
|SWIG_POINTER_DISOWN
))== -1) {
27337 SWIG_arg_fail(2);SWIG_fail
;
27340 if (arg1
) (arg1
)->m_pItem
= arg2
;
27342 Py_INCREF(Py_None
); resultobj
= Py_None
;
27349 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27350 PyObject
*resultobj
;
27351 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27353 PyObject
* obj0
= 0 ;
27354 char *kwnames
[] = {
27355 (char *) "self", NULL
27358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
27359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27360 if (SWIG_arg_fail(1)) SWIG_fail
;
27361 result
= (void *) ((arg1
)->m_pItem
);
27363 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
27370 static PyObject
* TreeItemId_swigregister(PyObject
*, PyObject
*args
) {
27372 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27373 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
27375 return Py_BuildValue((char *)"");
27377 static PyObject
*_wrap_new_TreeItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27378 PyObject
*resultobj
;
27379 PyObject
*arg1
= (PyObject
*) NULL
;
27380 wxPyTreeItemData
*result
;
27381 PyObject
* obj0
= 0 ;
27382 char *kwnames
[] = {
27383 (char *) "obj", NULL
27386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
27391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27392 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
27394 wxPyEndAllowThreads(__tstate
);
27395 if (PyErr_Occurred()) SWIG_fail
;
27397 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
27404 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27405 PyObject
*resultobj
;
27406 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27408 PyObject
* obj0
= 0 ;
27409 char *kwnames
[] = {
27410 (char *) "self", NULL
27413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
27414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27415 if (SWIG_arg_fail(1)) SWIG_fail
;
27417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27418 result
= (PyObject
*)(arg1
)->GetData();
27420 wxPyEndAllowThreads(__tstate
);
27421 if (PyErr_Occurred()) SWIG_fail
;
27423 resultobj
= result
;
27430 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27431 PyObject
*resultobj
;
27432 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27433 PyObject
*arg2
= (PyObject
*) 0 ;
27434 PyObject
* obj0
= 0 ;
27435 PyObject
* obj1
= 0 ;
27436 char *kwnames
[] = {
27437 (char *) "self",(char *) "obj", NULL
27440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27442 if (SWIG_arg_fail(1)) SWIG_fail
;
27445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27446 (arg1
)->SetData(arg2
);
27448 wxPyEndAllowThreads(__tstate
);
27449 if (PyErr_Occurred()) SWIG_fail
;
27451 Py_INCREF(Py_None
); resultobj
= Py_None
;
27458 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27459 PyObject
*resultobj
;
27460 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27461 wxTreeItemId
*result
;
27462 PyObject
* obj0
= 0 ;
27463 char *kwnames
[] = {
27464 (char *) "self", NULL
27467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
27468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27469 if (SWIG_arg_fail(1)) SWIG_fail
;
27471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27473 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
27474 result
= (wxTreeItemId
*) &_result_ref
;
27477 wxPyEndAllowThreads(__tstate
);
27478 if (PyErr_Occurred()) SWIG_fail
;
27480 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
27487 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27488 PyObject
*resultobj
;
27489 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27490 wxTreeItemId
*arg2
= 0 ;
27491 PyObject
* obj0
= 0 ;
27492 PyObject
* obj1
= 0 ;
27493 char *kwnames
[] = {
27494 (char *) "self",(char *) "id", NULL
27497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
27498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27499 if (SWIG_arg_fail(1)) SWIG_fail
;
27501 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27502 if (SWIG_arg_fail(2)) SWIG_fail
;
27503 if (arg2
== NULL
) {
27504 SWIG_null_ref("wxTreeItemId");
27506 if (SWIG_arg_fail(2)) SWIG_fail
;
27509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27510 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
27512 wxPyEndAllowThreads(__tstate
);
27513 if (PyErr_Occurred()) SWIG_fail
;
27515 Py_INCREF(Py_None
); resultobj
= Py_None
;
27522 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27523 PyObject
*resultobj
;
27524 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27525 PyObject
* obj0
= 0 ;
27526 char *kwnames
[] = {
27527 (char *) "self", NULL
27530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
27531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27532 if (SWIG_arg_fail(1)) SWIG_fail
;
27534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27535 wxPyTreeItemData_Destroy(arg1
);
27537 wxPyEndAllowThreads(__tstate
);
27538 if (PyErr_Occurred()) SWIG_fail
;
27540 Py_INCREF(Py_None
); resultobj
= Py_None
;
27547 static PyObject
* TreeItemData_swigregister(PyObject
*, PyObject
*args
) {
27549 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27550 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
27552 return Py_BuildValue((char *)"");
27554 static PyObject
*_wrap_new_TreeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27555 PyObject
*resultobj
;
27556 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27557 int arg2
= (int) 0 ;
27558 wxTreeEvent
*result
;
27559 PyObject
* obj0
= 0 ;
27560 PyObject
* obj1
= 0 ;
27561 char *kwnames
[] = {
27562 (char *) "commandType",(char *) "id", NULL
27565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
27568 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
27569 if (SWIG_arg_fail(1)) SWIG_fail
;
27574 arg2
= (int)(SWIG_As_int(obj1
));
27575 if (SWIG_arg_fail(2)) SWIG_fail
;
27579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27580 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
27582 wxPyEndAllowThreads(__tstate
);
27583 if (PyErr_Occurred()) SWIG_fail
;
27585 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
27592 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27593 PyObject
*resultobj
;
27594 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27595 wxTreeItemId result
;
27596 PyObject
* obj0
= 0 ;
27597 char *kwnames
[] = {
27598 (char *) "self", NULL
27601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
27602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27603 if (SWIG_arg_fail(1)) SWIG_fail
;
27605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27606 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
27608 wxPyEndAllowThreads(__tstate
);
27609 if (PyErr_Occurred()) SWIG_fail
;
27612 wxTreeItemId
* resultptr
;
27613 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
27614 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27622 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27623 PyObject
*resultobj
;
27624 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27625 wxTreeItemId
*arg2
= 0 ;
27626 PyObject
* obj0
= 0 ;
27627 PyObject
* obj1
= 0 ;
27628 char *kwnames
[] = {
27629 (char *) "self",(char *) "item", NULL
27632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27634 if (SWIG_arg_fail(1)) SWIG_fail
;
27636 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27637 if (SWIG_arg_fail(2)) SWIG_fail
;
27638 if (arg2
== NULL
) {
27639 SWIG_null_ref("wxTreeItemId");
27641 if (SWIG_arg_fail(2)) SWIG_fail
;
27644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27645 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
27647 wxPyEndAllowThreads(__tstate
);
27648 if (PyErr_Occurred()) SWIG_fail
;
27650 Py_INCREF(Py_None
); resultobj
= Py_None
;
27657 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27658 PyObject
*resultobj
;
27659 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27660 wxTreeItemId result
;
27661 PyObject
* obj0
= 0 ;
27662 char *kwnames
[] = {
27663 (char *) "self", NULL
27666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
27667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27668 if (SWIG_arg_fail(1)) SWIG_fail
;
27670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27671 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
27673 wxPyEndAllowThreads(__tstate
);
27674 if (PyErr_Occurred()) SWIG_fail
;
27677 wxTreeItemId
* resultptr
;
27678 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
27679 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27687 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27688 PyObject
*resultobj
;
27689 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27690 wxTreeItemId
*arg2
= 0 ;
27691 PyObject
* obj0
= 0 ;
27692 PyObject
* obj1
= 0 ;
27693 char *kwnames
[] = {
27694 (char *) "self",(char *) "item", NULL
27697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27699 if (SWIG_arg_fail(1)) SWIG_fail
;
27701 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27702 if (SWIG_arg_fail(2)) SWIG_fail
;
27703 if (arg2
== NULL
) {
27704 SWIG_null_ref("wxTreeItemId");
27706 if (SWIG_arg_fail(2)) SWIG_fail
;
27709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27710 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
27712 wxPyEndAllowThreads(__tstate
);
27713 if (PyErr_Occurred()) SWIG_fail
;
27715 Py_INCREF(Py_None
); resultobj
= Py_None
;
27722 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27723 PyObject
*resultobj
;
27724 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27726 PyObject
* obj0
= 0 ;
27727 char *kwnames
[] = {
27728 (char *) "self", NULL
27731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
27732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27733 if (SWIG_arg_fail(1)) SWIG_fail
;
27735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27736 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
27738 wxPyEndAllowThreads(__tstate
);
27739 if (PyErr_Occurred()) SWIG_fail
;
27742 wxPoint
* resultptr
;
27743 resultptr
= new wxPoint((wxPoint
&)(result
));
27744 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
27752 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27753 PyObject
*resultobj
;
27754 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27755 wxPoint
*arg2
= 0 ;
27757 PyObject
* obj0
= 0 ;
27758 PyObject
* obj1
= 0 ;
27759 char *kwnames
[] = {
27760 (char *) "self",(char *) "pt", NULL
27763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",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
;
27768 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27772 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
27774 wxPyEndAllowThreads(__tstate
);
27775 if (PyErr_Occurred()) SWIG_fail
;
27777 Py_INCREF(Py_None
); resultobj
= Py_None
;
27784 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27785 PyObject
*resultobj
;
27786 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27787 wxKeyEvent
*result
;
27788 PyObject
* obj0
= 0 ;
27789 char *kwnames
[] = {
27790 (char *) "self", NULL
27793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
27794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27795 if (SWIG_arg_fail(1)) SWIG_fail
;
27797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27799 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
27800 result
= (wxKeyEvent
*) &_result_ref
;
27803 wxPyEndAllowThreads(__tstate
);
27804 if (PyErr_Occurred()) SWIG_fail
;
27806 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
27813 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27814 PyObject
*resultobj
;
27815 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27817 PyObject
* obj0
= 0 ;
27818 char *kwnames
[] = {
27819 (char *) "self", NULL
27822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
27823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27824 if (SWIG_arg_fail(1)) SWIG_fail
;
27826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27827 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
27829 wxPyEndAllowThreads(__tstate
);
27830 if (PyErr_Occurred()) SWIG_fail
;
27833 resultobj
= SWIG_From_int((int)(result
));
27841 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27842 PyObject
*resultobj
;
27843 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27844 wxKeyEvent
*arg2
= 0 ;
27845 PyObject
* obj0
= 0 ;
27846 PyObject
* obj1
= 0 ;
27847 char *kwnames
[] = {
27848 (char *) "self",(char *) "evt", NULL
27851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
27852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27853 if (SWIG_arg_fail(1)) SWIG_fail
;
27855 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
27856 if (SWIG_arg_fail(2)) SWIG_fail
;
27857 if (arg2
== NULL
) {
27858 SWIG_null_ref("wxKeyEvent");
27860 if (SWIG_arg_fail(2)) SWIG_fail
;
27863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27864 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
27866 wxPyEndAllowThreads(__tstate
);
27867 if (PyErr_Occurred()) SWIG_fail
;
27869 Py_INCREF(Py_None
); resultobj
= Py_None
;
27876 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27877 PyObject
*resultobj
;
27878 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27880 PyObject
* obj0
= 0 ;
27881 char *kwnames
[] = {
27882 (char *) "self", NULL
27885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
27886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27887 if (SWIG_arg_fail(1)) SWIG_fail
;
27889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27891 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
27892 result
= (wxString
*) &_result_ref
;
27895 wxPyEndAllowThreads(__tstate
);
27896 if (PyErr_Occurred()) SWIG_fail
;
27900 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27902 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27911 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27912 PyObject
*resultobj
;
27913 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27914 wxString
*arg2
= 0 ;
27915 bool temp2
= false ;
27916 PyObject
* obj0
= 0 ;
27917 PyObject
* obj1
= 0 ;
27918 char *kwnames
[] = {
27919 (char *) "self",(char *) "label", NULL
27922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
27923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27924 if (SWIG_arg_fail(1)) SWIG_fail
;
27926 arg2
= wxString_in_helper(obj1
);
27927 if (arg2
== NULL
) SWIG_fail
;
27931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27932 (arg1
)->SetLabel((wxString
const &)*arg2
);
27934 wxPyEndAllowThreads(__tstate
);
27935 if (PyErr_Occurred()) SWIG_fail
;
27937 Py_INCREF(Py_None
); resultobj
= Py_None
;
27952 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27953 PyObject
*resultobj
;
27954 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27956 PyObject
* obj0
= 0 ;
27957 char *kwnames
[] = {
27958 (char *) "self", NULL
27961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
27962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27963 if (SWIG_arg_fail(1)) SWIG_fail
;
27965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27966 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
27968 wxPyEndAllowThreads(__tstate
);
27969 if (PyErr_Occurred()) SWIG_fail
;
27972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27980 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27981 PyObject
*resultobj
;
27982 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27984 PyObject
* obj0
= 0 ;
27985 PyObject
* obj1
= 0 ;
27986 char *kwnames
[] = {
27987 (char *) "self",(char *) "editCancelled", NULL
27990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
27991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27992 if (SWIG_arg_fail(1)) SWIG_fail
;
27994 arg2
= (bool)(SWIG_As_bool(obj1
));
27995 if (SWIG_arg_fail(2)) SWIG_fail
;
27998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27999 (arg1
)->SetEditCanceled(arg2
);
28001 wxPyEndAllowThreads(__tstate
);
28002 if (PyErr_Occurred()) SWIG_fail
;
28004 Py_INCREF(Py_None
); resultobj
= Py_None
;
28011 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28012 PyObject
*resultobj
;
28013 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
28014 wxString
*arg2
= 0 ;
28015 bool temp2
= false ;
28016 PyObject
* obj0
= 0 ;
28017 PyObject
* obj1
= 0 ;
28018 char *kwnames
[] = {
28019 (char *) "self",(char *) "toolTip", NULL
28022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
28023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
28024 if (SWIG_arg_fail(1)) SWIG_fail
;
28026 arg2
= wxString_in_helper(obj1
);
28027 if (arg2
== NULL
) SWIG_fail
;
28031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28032 (arg1
)->SetToolTip((wxString
const &)*arg2
);
28034 wxPyEndAllowThreads(__tstate
);
28035 if (PyErr_Occurred()) SWIG_fail
;
28037 Py_INCREF(Py_None
); resultobj
= Py_None
;
28052 static PyObject
* TreeEvent_swigregister(PyObject
*, PyObject
*args
) {
28054 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28055 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
28057 return Py_BuildValue((char *)"");
28059 static PyObject
*_wrap_new_TreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28060 PyObject
*resultobj
;
28061 wxWindow
*arg1
= (wxWindow
*) 0 ;
28062 int arg2
= (int) -1 ;
28063 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28064 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28065 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28066 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28067 long arg5
= (long) wxTR_DEFAULT_STYLE
;
28068 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28069 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28070 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
28071 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28072 wxPyTreeCtrl
*result
;
28075 bool temp7
= false ;
28076 PyObject
* obj0
= 0 ;
28077 PyObject
* obj1
= 0 ;
28078 PyObject
* obj2
= 0 ;
28079 PyObject
* obj3
= 0 ;
28080 PyObject
* obj4
= 0 ;
28081 PyObject
* obj5
= 0 ;
28082 PyObject
* obj6
= 0 ;
28083 char *kwnames
[] = {
28084 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
28088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28089 if (SWIG_arg_fail(1)) SWIG_fail
;
28092 arg2
= (int)(SWIG_As_int(obj1
));
28093 if (SWIG_arg_fail(2)) SWIG_fail
;
28099 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28105 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28110 arg5
= (long)(SWIG_As_long(obj4
));
28111 if (SWIG_arg_fail(5)) SWIG_fail
;
28116 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
28117 if (SWIG_arg_fail(6)) SWIG_fail
;
28118 if (arg6
== NULL
) {
28119 SWIG_null_ref("wxValidator");
28121 if (SWIG_arg_fail(6)) SWIG_fail
;
28126 arg7
= wxString_in_helper(obj6
);
28127 if (arg7
== NULL
) SWIG_fail
;
28132 if (!wxPyCheckForApp()) SWIG_fail
;
28133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28134 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28136 wxPyEndAllowThreads(__tstate
);
28137 if (PyErr_Occurred()) SWIG_fail
;
28139 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
28154 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28155 PyObject
*resultobj
;
28156 wxPyTreeCtrl
*result
;
28157 char *kwnames
[] = {
28161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
28163 if (!wxPyCheckForApp()) SWIG_fail
;
28164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28165 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
28167 wxPyEndAllowThreads(__tstate
);
28168 if (PyErr_Occurred()) SWIG_fail
;
28170 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
28177 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28178 PyObject
*resultobj
;
28179 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28180 wxWindow
*arg2
= (wxWindow
*) 0 ;
28181 int arg3
= (int) -1 ;
28182 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28183 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28184 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28185 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28186 long arg6
= (long) wxTR_DEFAULT_STYLE
;
28187 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28188 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28189 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
28190 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28194 bool temp8
= false ;
28195 PyObject
* obj0
= 0 ;
28196 PyObject
* obj1
= 0 ;
28197 PyObject
* obj2
= 0 ;
28198 PyObject
* obj3
= 0 ;
28199 PyObject
* obj4
= 0 ;
28200 PyObject
* obj5
= 0 ;
28201 PyObject
* obj6
= 0 ;
28202 PyObject
* obj7
= 0 ;
28203 char *kwnames
[] = {
28204 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
28208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28209 if (SWIG_arg_fail(1)) SWIG_fail
;
28210 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28211 if (SWIG_arg_fail(2)) SWIG_fail
;
28214 arg3
= (int)(SWIG_As_int(obj2
));
28215 if (SWIG_arg_fail(3)) SWIG_fail
;
28221 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28227 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28232 arg6
= (long)(SWIG_As_long(obj5
));
28233 if (SWIG_arg_fail(6)) SWIG_fail
;
28238 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
28239 if (SWIG_arg_fail(7)) SWIG_fail
;
28240 if (arg7
== NULL
) {
28241 SWIG_null_ref("wxValidator");
28243 if (SWIG_arg_fail(7)) SWIG_fail
;
28248 arg8
= wxString_in_helper(obj7
);
28249 if (arg8
== NULL
) SWIG_fail
;
28254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28255 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28257 wxPyEndAllowThreads(__tstate
);
28258 if (PyErr_Occurred()) SWIG_fail
;
28261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28277 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28278 PyObject
*resultobj
;
28279 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28280 PyObject
*arg2
= (PyObject
*) 0 ;
28281 PyObject
*arg3
= (PyObject
*) 0 ;
28282 PyObject
* obj0
= 0 ;
28283 PyObject
* obj1
= 0 ;
28284 PyObject
* obj2
= 0 ;
28285 char *kwnames
[] = {
28286 (char *) "self",(char *) "self",(char *) "_class", NULL
28289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28291 if (SWIG_arg_fail(1)) SWIG_fail
;
28295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28296 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28298 wxPyEndAllowThreads(__tstate
);
28299 if (PyErr_Occurred()) SWIG_fail
;
28301 Py_INCREF(Py_None
); resultobj
= Py_None
;
28308 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28309 PyObject
*resultobj
;
28310 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28312 PyObject
* obj0
= 0 ;
28313 char *kwnames
[] = {
28314 (char *) "self", NULL
28317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
28318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28319 if (SWIG_arg_fail(1)) SWIG_fail
;
28321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28322 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
28324 wxPyEndAllowThreads(__tstate
);
28325 if (PyErr_Occurred()) SWIG_fail
;
28328 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
28336 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28337 PyObject
*resultobj
;
28338 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28339 unsigned int result
;
28340 PyObject
* obj0
= 0 ;
28341 char *kwnames
[] = {
28342 (char *) "self", NULL
28345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
28346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28347 if (SWIG_arg_fail(1)) SWIG_fail
;
28349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28350 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
28352 wxPyEndAllowThreads(__tstate
);
28353 if (PyErr_Occurred()) SWIG_fail
;
28356 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
28364 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28365 PyObject
*resultobj
;
28366 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28367 unsigned int arg2
;
28368 PyObject
* obj0
= 0 ;
28369 PyObject
* obj1
= 0 ;
28370 char *kwnames
[] = {
28371 (char *) "self",(char *) "indent", NULL
28374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
28375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28376 if (SWIG_arg_fail(1)) SWIG_fail
;
28378 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
28379 if (SWIG_arg_fail(2)) SWIG_fail
;
28382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28383 (arg1
)->SetIndent(arg2
);
28385 wxPyEndAllowThreads(__tstate
);
28386 if (PyErr_Occurred()) SWIG_fail
;
28388 Py_INCREF(Py_None
); resultobj
= Py_None
;
28395 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28396 PyObject
*resultobj
;
28397 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28398 unsigned int result
;
28399 PyObject
* obj0
= 0 ;
28400 char *kwnames
[] = {
28401 (char *) "self", NULL
28404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
28405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28406 if (SWIG_arg_fail(1)) SWIG_fail
;
28408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28409 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
28411 wxPyEndAllowThreads(__tstate
);
28412 if (PyErr_Occurred()) SWIG_fail
;
28415 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
28423 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28424 PyObject
*resultobj
;
28425 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28426 unsigned int arg2
;
28427 PyObject
* obj0
= 0 ;
28428 PyObject
* obj1
= 0 ;
28429 char *kwnames
[] = {
28430 (char *) "self",(char *) "spacing", NULL
28433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
28434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28435 if (SWIG_arg_fail(1)) SWIG_fail
;
28437 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
28438 if (SWIG_arg_fail(2)) SWIG_fail
;
28441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28442 (arg1
)->SetSpacing(arg2
);
28444 wxPyEndAllowThreads(__tstate
);
28445 if (PyErr_Occurred()) SWIG_fail
;
28447 Py_INCREF(Py_None
); resultobj
= Py_None
;
28454 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28455 PyObject
*resultobj
;
28456 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28457 wxImageList
*result
;
28458 PyObject
* obj0
= 0 ;
28459 char *kwnames
[] = {
28460 (char *) "self", NULL
28463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
28464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28465 if (SWIG_arg_fail(1)) SWIG_fail
;
28467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28468 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
28470 wxPyEndAllowThreads(__tstate
);
28471 if (PyErr_Occurred()) SWIG_fail
;
28474 resultobj
= wxPyMake_wxObject(result
, 0);
28482 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28483 PyObject
*resultobj
;
28484 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28485 wxImageList
*result
;
28486 PyObject
* obj0
= 0 ;
28487 char *kwnames
[] = {
28488 (char *) "self", NULL
28491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
28492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28493 if (SWIG_arg_fail(1)) SWIG_fail
;
28495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28496 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
28498 wxPyEndAllowThreads(__tstate
);
28499 if (PyErr_Occurred()) SWIG_fail
;
28502 resultobj
= wxPyMake_wxObject(result
, 0);
28510 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28511 PyObject
*resultobj
;
28512 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28513 wxImageList
*arg2
= (wxImageList
*) 0 ;
28514 PyObject
* obj0
= 0 ;
28515 PyObject
* obj1
= 0 ;
28516 char *kwnames
[] = {
28517 (char *) "self",(char *) "imageList", NULL
28520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28522 if (SWIG_arg_fail(1)) SWIG_fail
;
28523 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
28524 if (SWIG_arg_fail(2)) SWIG_fail
;
28526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28527 (arg1
)->SetImageList(arg2
);
28529 wxPyEndAllowThreads(__tstate
);
28530 if (PyErr_Occurred()) SWIG_fail
;
28532 Py_INCREF(Py_None
); resultobj
= Py_None
;
28539 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28540 PyObject
*resultobj
;
28541 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28542 wxImageList
*arg2
= (wxImageList
*) 0 ;
28543 PyObject
* obj0
= 0 ;
28544 PyObject
* obj1
= 0 ;
28545 char *kwnames
[] = {
28546 (char *) "self",(char *) "imageList", NULL
28549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28551 if (SWIG_arg_fail(1)) SWIG_fail
;
28552 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
28553 if (SWIG_arg_fail(2)) SWIG_fail
;
28555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28556 (arg1
)->SetStateImageList(arg2
);
28558 wxPyEndAllowThreads(__tstate
);
28559 if (PyErr_Occurred()) SWIG_fail
;
28561 Py_INCREF(Py_None
); resultobj
= Py_None
;
28568 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28569 PyObject
*resultobj
;
28570 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28571 wxImageList
*arg2
= (wxImageList
*) 0 ;
28572 PyObject
* obj0
= 0 ;
28573 PyObject
* obj1
= 0 ;
28574 char *kwnames
[] = {
28575 (char *) "self",(char *) "imageList", NULL
28578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28580 if (SWIG_arg_fail(1)) SWIG_fail
;
28581 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28582 if (SWIG_arg_fail(2)) SWIG_fail
;
28584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28585 (arg1
)->AssignImageList(arg2
);
28587 wxPyEndAllowThreads(__tstate
);
28588 if (PyErr_Occurred()) SWIG_fail
;
28590 Py_INCREF(Py_None
); resultobj
= Py_None
;
28597 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28598 PyObject
*resultobj
;
28599 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28600 wxImageList
*arg2
= (wxImageList
*) 0 ;
28601 PyObject
* obj0
= 0 ;
28602 PyObject
* obj1
= 0 ;
28603 char *kwnames
[] = {
28604 (char *) "self",(char *) "imageList", NULL
28607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28609 if (SWIG_arg_fail(1)) SWIG_fail
;
28610 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28611 if (SWIG_arg_fail(2)) SWIG_fail
;
28613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28614 (arg1
)->AssignStateImageList(arg2
);
28616 wxPyEndAllowThreads(__tstate
);
28617 if (PyErr_Occurred()) SWIG_fail
;
28619 Py_INCREF(Py_None
); resultobj
= Py_None
;
28626 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28627 PyObject
*resultobj
;
28628 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28629 wxTreeItemId
*arg2
= 0 ;
28631 PyObject
* obj0
= 0 ;
28632 PyObject
* obj1
= 0 ;
28633 char *kwnames
[] = {
28634 (char *) "self",(char *) "item", NULL
28637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
28638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28639 if (SWIG_arg_fail(1)) SWIG_fail
;
28641 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28642 if (SWIG_arg_fail(2)) SWIG_fail
;
28643 if (arg2
== NULL
) {
28644 SWIG_null_ref("wxTreeItemId");
28646 if (SWIG_arg_fail(2)) SWIG_fail
;
28649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28650 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
28652 wxPyEndAllowThreads(__tstate
);
28653 if (PyErr_Occurred()) SWIG_fail
;
28657 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28659 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28668 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28669 PyObject
*resultobj
;
28670 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28671 wxTreeItemId
*arg2
= 0 ;
28672 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
28674 PyObject
* obj0
= 0 ;
28675 PyObject
* obj1
= 0 ;
28676 PyObject
* obj2
= 0 ;
28677 char *kwnames
[] = {
28678 (char *) "self",(char *) "item",(char *) "which", NULL
28681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28683 if (SWIG_arg_fail(1)) SWIG_fail
;
28685 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28686 if (SWIG_arg_fail(2)) SWIG_fail
;
28687 if (arg2
== NULL
) {
28688 SWIG_null_ref("wxTreeItemId");
28690 if (SWIG_arg_fail(2)) SWIG_fail
;
28694 arg3
= (wxTreeItemIcon
)(SWIG_As_int(obj2
));
28695 if (SWIG_arg_fail(3)) SWIG_fail
;
28699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28700 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
28702 wxPyEndAllowThreads(__tstate
);
28703 if (PyErr_Occurred()) SWIG_fail
;
28706 resultobj
= SWIG_From_int((int)(result
));
28714 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28715 PyObject
*resultobj
;
28716 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28717 wxTreeItemId
*arg2
= 0 ;
28718 wxPyTreeItemData
*result
;
28719 PyObject
* obj0
= 0 ;
28720 PyObject
* obj1
= 0 ;
28721 char *kwnames
[] = {
28722 (char *) "self",(char *) "item", NULL
28725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
28726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28727 if (SWIG_arg_fail(1)) SWIG_fail
;
28729 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28730 if (SWIG_arg_fail(2)) SWIG_fail
;
28731 if (arg2
== NULL
) {
28732 SWIG_null_ref("wxTreeItemId");
28734 if (SWIG_arg_fail(2)) SWIG_fail
;
28737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28738 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
28740 wxPyEndAllowThreads(__tstate
);
28741 if (PyErr_Occurred()) SWIG_fail
;
28743 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
28750 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28751 PyObject
*resultobj
;
28752 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28753 wxTreeItemId
*arg2
= 0 ;
28755 PyObject
* obj0
= 0 ;
28756 PyObject
* obj1
= 0 ;
28757 char *kwnames
[] = {
28758 (char *) "self",(char *) "item", NULL
28761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
28762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28763 if (SWIG_arg_fail(1)) SWIG_fail
;
28765 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28766 if (SWIG_arg_fail(2)) SWIG_fail
;
28767 if (arg2
== NULL
) {
28768 SWIG_null_ref("wxTreeItemId");
28770 if (SWIG_arg_fail(2)) SWIG_fail
;
28773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28774 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
28776 wxPyEndAllowThreads(__tstate
);
28777 if (PyErr_Occurred()) SWIG_fail
;
28779 resultobj
= result
;
28786 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28787 PyObject
*resultobj
;
28788 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28789 wxTreeItemId
*arg2
= 0 ;
28791 PyObject
* obj0
= 0 ;
28792 PyObject
* obj1
= 0 ;
28793 char *kwnames
[] = {
28794 (char *) "self",(char *) "item", NULL
28797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28799 if (SWIG_arg_fail(1)) SWIG_fail
;
28801 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28802 if (SWIG_arg_fail(2)) SWIG_fail
;
28803 if (arg2
== NULL
) {
28804 SWIG_null_ref("wxTreeItemId");
28806 if (SWIG_arg_fail(2)) SWIG_fail
;
28809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28810 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
28812 wxPyEndAllowThreads(__tstate
);
28813 if (PyErr_Occurred()) SWIG_fail
;
28816 wxColour
* resultptr
;
28817 resultptr
= new wxColour((wxColour
&)(result
));
28818 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
28826 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28827 PyObject
*resultobj
;
28828 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28829 wxTreeItemId
*arg2
= 0 ;
28831 PyObject
* obj0
= 0 ;
28832 PyObject
* obj1
= 0 ;
28833 char *kwnames
[] = {
28834 (char *) "self",(char *) "item", NULL
28837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28839 if (SWIG_arg_fail(1)) SWIG_fail
;
28841 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28842 if (SWIG_arg_fail(2)) SWIG_fail
;
28843 if (arg2
== NULL
) {
28844 SWIG_null_ref("wxTreeItemId");
28846 if (SWIG_arg_fail(2)) SWIG_fail
;
28849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28850 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
28852 wxPyEndAllowThreads(__tstate
);
28853 if (PyErr_Occurred()) SWIG_fail
;
28856 wxColour
* resultptr
;
28857 resultptr
= new wxColour((wxColour
&)(result
));
28858 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
28866 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28867 PyObject
*resultobj
;
28868 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28869 wxTreeItemId
*arg2
= 0 ;
28871 PyObject
* obj0
= 0 ;
28872 PyObject
* obj1
= 0 ;
28873 char *kwnames
[] = {
28874 (char *) "self",(char *) "item", NULL
28877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
28878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28879 if (SWIG_arg_fail(1)) SWIG_fail
;
28881 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28882 if (SWIG_arg_fail(2)) SWIG_fail
;
28883 if (arg2
== NULL
) {
28884 SWIG_null_ref("wxTreeItemId");
28886 if (SWIG_arg_fail(2)) SWIG_fail
;
28889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28890 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
28892 wxPyEndAllowThreads(__tstate
);
28893 if (PyErr_Occurred()) SWIG_fail
;
28896 wxFont
* resultptr
;
28897 resultptr
= new wxFont((wxFont
&)(result
));
28898 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
28906 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28907 PyObject
*resultobj
;
28908 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28909 wxTreeItemId
*arg2
= 0 ;
28910 wxString
*arg3
= 0 ;
28911 bool temp3
= false ;
28912 PyObject
* obj0
= 0 ;
28913 PyObject
* obj1
= 0 ;
28914 PyObject
* obj2
= 0 ;
28915 char *kwnames
[] = {
28916 (char *) "self",(char *) "item",(char *) "text", NULL
28919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28921 if (SWIG_arg_fail(1)) SWIG_fail
;
28923 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28924 if (SWIG_arg_fail(2)) SWIG_fail
;
28925 if (arg2
== NULL
) {
28926 SWIG_null_ref("wxTreeItemId");
28928 if (SWIG_arg_fail(2)) SWIG_fail
;
28931 arg3
= wxString_in_helper(obj2
);
28932 if (arg3
== NULL
) SWIG_fail
;
28936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28937 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
28939 wxPyEndAllowThreads(__tstate
);
28940 if (PyErr_Occurred()) SWIG_fail
;
28942 Py_INCREF(Py_None
); resultobj
= Py_None
;
28957 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28958 PyObject
*resultobj
;
28959 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28960 wxTreeItemId
*arg2
= 0 ;
28962 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
28963 PyObject
* obj0
= 0 ;
28964 PyObject
* obj1
= 0 ;
28965 PyObject
* obj2
= 0 ;
28966 PyObject
* obj3
= 0 ;
28967 char *kwnames
[] = {
28968 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
28971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28973 if (SWIG_arg_fail(1)) SWIG_fail
;
28975 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28976 if (SWIG_arg_fail(2)) SWIG_fail
;
28977 if (arg2
== NULL
) {
28978 SWIG_null_ref("wxTreeItemId");
28980 if (SWIG_arg_fail(2)) SWIG_fail
;
28983 arg3
= (int)(SWIG_As_int(obj2
));
28984 if (SWIG_arg_fail(3)) SWIG_fail
;
28988 arg4
= (wxTreeItemIcon
)(SWIG_As_int(obj3
));
28989 if (SWIG_arg_fail(4)) SWIG_fail
;
28993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28994 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
28996 wxPyEndAllowThreads(__tstate
);
28997 if (PyErr_Occurred()) SWIG_fail
;
28999 Py_INCREF(Py_None
); resultobj
= Py_None
;
29006 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29007 PyObject
*resultobj
;
29008 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29009 wxTreeItemId
*arg2
= 0 ;
29010 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
29011 PyObject
* obj0
= 0 ;
29012 PyObject
* obj1
= 0 ;
29013 PyObject
* obj2
= 0 ;
29014 char *kwnames
[] = {
29015 (char *) "self",(char *) "item",(char *) "data", NULL
29018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29020 if (SWIG_arg_fail(1)) SWIG_fail
;
29022 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29023 if (SWIG_arg_fail(2)) SWIG_fail
;
29024 if (arg2
== NULL
) {
29025 SWIG_null_ref("wxTreeItemId");
29027 if (SWIG_arg_fail(2)) SWIG_fail
;
29029 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
29030 if (SWIG_arg_fail(3)) SWIG_fail
;
29032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29033 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
29035 wxPyEndAllowThreads(__tstate
);
29036 if (PyErr_Occurred()) SWIG_fail
;
29038 Py_INCREF(Py_None
); resultobj
= Py_None
;
29045 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29046 PyObject
*resultobj
;
29047 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29048 wxTreeItemId
*arg2
= 0 ;
29049 PyObject
*arg3
= (PyObject
*) 0 ;
29050 PyObject
* obj0
= 0 ;
29051 PyObject
* obj1
= 0 ;
29052 PyObject
* obj2
= 0 ;
29053 char *kwnames
[] = {
29054 (char *) "self",(char *) "item",(char *) "obj", NULL
29057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29059 if (SWIG_arg_fail(1)) SWIG_fail
;
29061 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29062 if (SWIG_arg_fail(2)) SWIG_fail
;
29063 if (arg2
== NULL
) {
29064 SWIG_null_ref("wxTreeItemId");
29066 if (SWIG_arg_fail(2)) SWIG_fail
;
29070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29071 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
29073 wxPyEndAllowThreads(__tstate
);
29074 if (PyErr_Occurred()) SWIG_fail
;
29076 Py_INCREF(Py_None
); resultobj
= Py_None
;
29083 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29084 PyObject
*resultobj
;
29085 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29086 wxTreeItemId
*arg2
= 0 ;
29087 bool arg3
= (bool) true ;
29088 PyObject
* obj0
= 0 ;
29089 PyObject
* obj1
= 0 ;
29090 PyObject
* obj2
= 0 ;
29091 char *kwnames
[] = {
29092 (char *) "self",(char *) "item",(char *) "has", NULL
29095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29097 if (SWIG_arg_fail(1)) SWIG_fail
;
29099 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29100 if (SWIG_arg_fail(2)) SWIG_fail
;
29101 if (arg2
== NULL
) {
29102 SWIG_null_ref("wxTreeItemId");
29104 if (SWIG_arg_fail(2)) SWIG_fail
;
29108 arg3
= (bool)(SWIG_As_bool(obj2
));
29109 if (SWIG_arg_fail(3)) SWIG_fail
;
29113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29114 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
29116 wxPyEndAllowThreads(__tstate
);
29117 if (PyErr_Occurred()) SWIG_fail
;
29119 Py_INCREF(Py_None
); resultobj
= Py_None
;
29126 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29127 PyObject
*resultobj
;
29128 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29129 wxTreeItemId
*arg2
= 0 ;
29130 bool arg3
= (bool) true ;
29131 PyObject
* obj0
= 0 ;
29132 PyObject
* obj1
= 0 ;
29133 PyObject
* obj2
= 0 ;
29134 char *kwnames
[] = {
29135 (char *) "self",(char *) "item",(char *) "bold", NULL
29138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29140 if (SWIG_arg_fail(1)) SWIG_fail
;
29142 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29143 if (SWIG_arg_fail(2)) SWIG_fail
;
29144 if (arg2
== NULL
) {
29145 SWIG_null_ref("wxTreeItemId");
29147 if (SWIG_arg_fail(2)) SWIG_fail
;
29151 arg3
= (bool)(SWIG_As_bool(obj2
));
29152 if (SWIG_arg_fail(3)) SWIG_fail
;
29156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29157 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
29159 wxPyEndAllowThreads(__tstate
);
29160 if (PyErr_Occurred()) SWIG_fail
;
29162 Py_INCREF(Py_None
); resultobj
= Py_None
;
29169 static PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29170 PyObject
*resultobj
;
29171 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29172 wxTreeItemId
*arg2
= 0 ;
29173 bool arg3
= (bool) true ;
29174 PyObject
* obj0
= 0 ;
29175 PyObject
* obj1
= 0 ;
29176 PyObject
* obj2
= 0 ;
29177 char *kwnames
[] = {
29178 (char *) "self",(char *) "item",(char *) "highlight", NULL
29181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29183 if (SWIG_arg_fail(1)) SWIG_fail
;
29185 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29186 if (SWIG_arg_fail(2)) SWIG_fail
;
29187 if (arg2
== NULL
) {
29188 SWIG_null_ref("wxTreeItemId");
29190 if (SWIG_arg_fail(2)) SWIG_fail
;
29194 arg3
= (bool)(SWIG_As_bool(obj2
));
29195 if (SWIG_arg_fail(3)) SWIG_fail
;
29199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29200 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
29202 wxPyEndAllowThreads(__tstate
);
29203 if (PyErr_Occurred()) SWIG_fail
;
29205 Py_INCREF(Py_None
); resultobj
= Py_None
;
29212 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29213 PyObject
*resultobj
;
29214 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29215 wxTreeItemId
*arg2
= 0 ;
29216 wxColour
*arg3
= 0 ;
29218 PyObject
* obj0
= 0 ;
29219 PyObject
* obj1
= 0 ;
29220 PyObject
* obj2
= 0 ;
29221 char *kwnames
[] = {
29222 (char *) "self",(char *) "item",(char *) "col", NULL
29225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29227 if (SWIG_arg_fail(1)) SWIG_fail
;
29229 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29230 if (SWIG_arg_fail(2)) SWIG_fail
;
29231 if (arg2
== NULL
) {
29232 SWIG_null_ref("wxTreeItemId");
29234 if (SWIG_arg_fail(2)) SWIG_fail
;
29238 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29242 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
29244 wxPyEndAllowThreads(__tstate
);
29245 if (PyErr_Occurred()) SWIG_fail
;
29247 Py_INCREF(Py_None
); resultobj
= Py_None
;
29254 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29255 PyObject
*resultobj
;
29256 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29257 wxTreeItemId
*arg2
= 0 ;
29258 wxColour
*arg3
= 0 ;
29260 PyObject
* obj0
= 0 ;
29261 PyObject
* obj1
= 0 ;
29262 PyObject
* obj2
= 0 ;
29263 char *kwnames
[] = {
29264 (char *) "self",(char *) "item",(char *) "col", NULL
29267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29269 if (SWIG_arg_fail(1)) SWIG_fail
;
29271 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29272 if (SWIG_arg_fail(2)) SWIG_fail
;
29273 if (arg2
== NULL
) {
29274 SWIG_null_ref("wxTreeItemId");
29276 if (SWIG_arg_fail(2)) SWIG_fail
;
29280 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29284 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
29286 wxPyEndAllowThreads(__tstate
);
29287 if (PyErr_Occurred()) SWIG_fail
;
29289 Py_INCREF(Py_None
); resultobj
= Py_None
;
29296 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29297 PyObject
*resultobj
;
29298 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29299 wxTreeItemId
*arg2
= 0 ;
29301 PyObject
* obj0
= 0 ;
29302 PyObject
* obj1
= 0 ;
29303 PyObject
* obj2
= 0 ;
29304 char *kwnames
[] = {
29305 (char *) "self",(char *) "item",(char *) "font", NULL
29308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29310 if (SWIG_arg_fail(1)) SWIG_fail
;
29312 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29313 if (SWIG_arg_fail(2)) SWIG_fail
;
29314 if (arg2
== NULL
) {
29315 SWIG_null_ref("wxTreeItemId");
29317 if (SWIG_arg_fail(2)) SWIG_fail
;
29320 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29321 if (SWIG_arg_fail(3)) SWIG_fail
;
29322 if (arg3
== NULL
) {
29323 SWIG_null_ref("wxFont");
29325 if (SWIG_arg_fail(3)) SWIG_fail
;
29328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29329 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
29331 wxPyEndAllowThreads(__tstate
);
29332 if (PyErr_Occurred()) SWIG_fail
;
29334 Py_INCREF(Py_None
); resultobj
= Py_None
;
29341 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29342 PyObject
*resultobj
;
29343 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29344 wxTreeItemId
*arg2
= 0 ;
29346 PyObject
* obj0
= 0 ;
29347 PyObject
* obj1
= 0 ;
29348 char *kwnames
[] = {
29349 (char *) "self",(char *) "item", NULL
29352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29354 if (SWIG_arg_fail(1)) SWIG_fail
;
29356 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29357 if (SWIG_arg_fail(2)) SWIG_fail
;
29358 if (arg2
== NULL
) {
29359 SWIG_null_ref("wxTreeItemId");
29361 if (SWIG_arg_fail(2)) SWIG_fail
;
29364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29365 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
29367 wxPyEndAllowThreads(__tstate
);
29368 if (PyErr_Occurred()) SWIG_fail
;
29371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29379 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29380 PyObject
*resultobj
;
29381 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29382 wxTreeItemId
*arg2
= 0 ;
29384 PyObject
* obj0
= 0 ;
29385 PyObject
* obj1
= 0 ;
29386 char *kwnames
[] = {
29387 (char *) "self",(char *) "item", NULL
29390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
29391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29392 if (SWIG_arg_fail(1)) SWIG_fail
;
29394 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29395 if (SWIG_arg_fail(2)) SWIG_fail
;
29396 if (arg2
== NULL
) {
29397 SWIG_null_ref("wxTreeItemId");
29399 if (SWIG_arg_fail(2)) SWIG_fail
;
29402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29403 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
29405 wxPyEndAllowThreads(__tstate
);
29406 if (PyErr_Occurred()) SWIG_fail
;
29409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29417 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29418 PyObject
*resultobj
;
29419 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29420 wxTreeItemId
*arg2
= 0 ;
29422 PyObject
* obj0
= 0 ;
29423 PyObject
* obj1
= 0 ;
29424 char *kwnames
[] = {
29425 (char *) "self",(char *) "item", NULL
29428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
29429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29430 if (SWIG_arg_fail(1)) SWIG_fail
;
29432 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29433 if (SWIG_arg_fail(2)) SWIG_fail
;
29434 if (arg2
== NULL
) {
29435 SWIG_null_ref("wxTreeItemId");
29437 if (SWIG_arg_fail(2)) SWIG_fail
;
29440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29441 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
29443 wxPyEndAllowThreads(__tstate
);
29444 if (PyErr_Occurred()) SWIG_fail
;
29447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29455 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29456 PyObject
*resultobj
;
29457 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29458 wxTreeItemId
*arg2
= 0 ;
29460 PyObject
* obj0
= 0 ;
29461 PyObject
* obj1
= 0 ;
29462 char *kwnames
[] = {
29463 (char *) "self",(char *) "item", NULL
29466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
29467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29468 if (SWIG_arg_fail(1)) SWIG_fail
;
29470 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29471 if (SWIG_arg_fail(2)) SWIG_fail
;
29472 if (arg2
== NULL
) {
29473 SWIG_null_ref("wxTreeItemId");
29475 if (SWIG_arg_fail(2)) SWIG_fail
;
29478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29479 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
29481 wxPyEndAllowThreads(__tstate
);
29482 if (PyErr_Occurred()) SWIG_fail
;
29485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29493 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29494 PyObject
*resultobj
;
29495 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29496 wxTreeItemId
*arg2
= 0 ;
29498 PyObject
* obj0
= 0 ;
29499 PyObject
* obj1
= 0 ;
29500 char *kwnames
[] = {
29501 (char *) "self",(char *) "item", NULL
29504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
29505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29506 if (SWIG_arg_fail(1)) SWIG_fail
;
29508 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29509 if (SWIG_arg_fail(2)) SWIG_fail
;
29510 if (arg2
== NULL
) {
29511 SWIG_null_ref("wxTreeItemId");
29513 if (SWIG_arg_fail(2)) SWIG_fail
;
29516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29517 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
29519 wxPyEndAllowThreads(__tstate
);
29520 if (PyErr_Occurred()) SWIG_fail
;
29523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29531 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29532 PyObject
*resultobj
;
29533 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29534 wxTreeItemId
*arg2
= 0 ;
29535 bool arg3
= (bool) true ;
29537 PyObject
* obj0
= 0 ;
29538 PyObject
* obj1
= 0 ;
29539 PyObject
* obj2
= 0 ;
29540 char *kwnames
[] = {
29541 (char *) "self",(char *) "item",(char *) "recursively", NULL
29544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29546 if (SWIG_arg_fail(1)) SWIG_fail
;
29548 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29549 if (SWIG_arg_fail(2)) SWIG_fail
;
29550 if (arg2
== NULL
) {
29551 SWIG_null_ref("wxTreeItemId");
29553 if (SWIG_arg_fail(2)) SWIG_fail
;
29557 arg3
= (bool)(SWIG_As_bool(obj2
));
29558 if (SWIG_arg_fail(3)) SWIG_fail
;
29562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29563 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
29565 wxPyEndAllowThreads(__tstate
);
29566 if (PyErr_Occurred()) SWIG_fail
;
29569 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
29577 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29578 PyObject
*resultobj
;
29579 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29580 wxTreeItemId result
;
29581 PyObject
* obj0
= 0 ;
29582 char *kwnames
[] = {
29583 (char *) "self", NULL
29586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
29587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29588 if (SWIG_arg_fail(1)) SWIG_fail
;
29590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29591 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
29593 wxPyEndAllowThreads(__tstate
);
29594 if (PyErr_Occurred()) SWIG_fail
;
29597 wxTreeItemId
* resultptr
;
29598 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29599 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29607 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29608 PyObject
*resultobj
;
29609 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29610 wxTreeItemId result
;
29611 PyObject
* obj0
= 0 ;
29612 char *kwnames
[] = {
29613 (char *) "self", NULL
29616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
29617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29618 if (SWIG_arg_fail(1)) SWIG_fail
;
29620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29621 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
29623 wxPyEndAllowThreads(__tstate
);
29624 if (PyErr_Occurred()) SWIG_fail
;
29627 wxTreeItemId
* resultptr
;
29628 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29629 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29637 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29638 PyObject
*resultobj
;
29639 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29641 PyObject
* obj0
= 0 ;
29642 char *kwnames
[] = {
29643 (char *) "self", NULL
29646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
29647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29648 if (SWIG_arg_fail(1)) SWIG_fail
;
29650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29651 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
29653 wxPyEndAllowThreads(__tstate
);
29654 if (PyErr_Occurred()) SWIG_fail
;
29656 resultobj
= result
;
29663 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29664 PyObject
*resultobj
;
29665 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29666 wxTreeItemId
*arg2
= 0 ;
29667 wxTreeItemId result
;
29668 PyObject
* obj0
= 0 ;
29669 PyObject
* obj1
= 0 ;
29670 char *kwnames
[] = {
29671 (char *) "self",(char *) "item", NULL
29674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
29675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29676 if (SWIG_arg_fail(1)) SWIG_fail
;
29678 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29679 if (SWIG_arg_fail(2)) SWIG_fail
;
29680 if (arg2
== NULL
) {
29681 SWIG_null_ref("wxTreeItemId");
29683 if (SWIG_arg_fail(2)) SWIG_fail
;
29686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29687 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
29689 wxPyEndAllowThreads(__tstate
);
29690 if (PyErr_Occurred()) SWIG_fail
;
29693 wxTreeItemId
* resultptr
;
29694 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29695 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29703 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29704 PyObject
*resultobj
;
29705 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29706 wxTreeItemId
*arg2
= 0 ;
29708 PyObject
* obj0
= 0 ;
29709 PyObject
* obj1
= 0 ;
29710 char *kwnames
[] = {
29711 (char *) "self",(char *) "item", NULL
29714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29716 if (SWIG_arg_fail(1)) SWIG_fail
;
29718 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29719 if (SWIG_arg_fail(2)) SWIG_fail
;
29720 if (arg2
== NULL
) {
29721 SWIG_null_ref("wxTreeItemId");
29723 if (SWIG_arg_fail(2)) SWIG_fail
;
29726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29727 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
29729 wxPyEndAllowThreads(__tstate
);
29730 if (PyErr_Occurred()) SWIG_fail
;
29732 resultobj
= result
;
29739 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29740 PyObject
*resultobj
;
29741 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29742 wxTreeItemId
*arg2
= 0 ;
29743 void *arg3
= (void *) 0 ;
29745 PyObject
* obj0
= 0 ;
29746 PyObject
* obj1
= 0 ;
29747 PyObject
* obj2
= 0 ;
29748 char *kwnames
[] = {
29749 (char *) "self",(char *) "item",(char *) "cookie", NULL
29752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29754 if (SWIG_arg_fail(1)) SWIG_fail
;
29756 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29757 if (SWIG_arg_fail(2)) SWIG_fail
;
29758 if (arg2
== NULL
) {
29759 SWIG_null_ref("wxTreeItemId");
29761 if (SWIG_arg_fail(2)) SWIG_fail
;
29764 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),0,SWIG_POINTER_EXCEPTION
|0))== -1) {
29765 SWIG_arg_fail(3);SWIG_fail
;
29769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29770 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
29772 wxPyEndAllowThreads(__tstate
);
29773 if (PyErr_Occurred()) SWIG_fail
;
29775 resultobj
= result
;
29782 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29783 PyObject
*resultobj
;
29784 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29785 wxTreeItemId
*arg2
= 0 ;
29786 wxTreeItemId result
;
29787 PyObject
* obj0
= 0 ;
29788 PyObject
* obj1
= 0 ;
29789 char *kwnames
[] = {
29790 (char *) "self",(char *) "item", NULL
29793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29795 if (SWIG_arg_fail(1)) SWIG_fail
;
29797 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29798 if (SWIG_arg_fail(2)) SWIG_fail
;
29799 if (arg2
== NULL
) {
29800 SWIG_null_ref("wxTreeItemId");
29802 if (SWIG_arg_fail(2)) SWIG_fail
;
29805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29806 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
29808 wxPyEndAllowThreads(__tstate
);
29809 if (PyErr_Occurred()) SWIG_fail
;
29812 wxTreeItemId
* resultptr
;
29813 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29814 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29822 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29823 PyObject
*resultobj
;
29824 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29825 wxTreeItemId
*arg2
= 0 ;
29826 wxTreeItemId result
;
29827 PyObject
* obj0
= 0 ;
29828 PyObject
* obj1
= 0 ;
29829 char *kwnames
[] = {
29830 (char *) "self",(char *) "item", NULL
29833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
29834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29835 if (SWIG_arg_fail(1)) SWIG_fail
;
29837 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29838 if (SWIG_arg_fail(2)) SWIG_fail
;
29839 if (arg2
== NULL
) {
29840 SWIG_null_ref("wxTreeItemId");
29842 if (SWIG_arg_fail(2)) SWIG_fail
;
29845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29846 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
29848 wxPyEndAllowThreads(__tstate
);
29849 if (PyErr_Occurred()) SWIG_fail
;
29852 wxTreeItemId
* resultptr
;
29853 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29854 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29862 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29863 PyObject
*resultobj
;
29864 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29865 wxTreeItemId
*arg2
= 0 ;
29866 wxTreeItemId result
;
29867 PyObject
* obj0
= 0 ;
29868 PyObject
* obj1
= 0 ;
29869 char *kwnames
[] = {
29870 (char *) "self",(char *) "item", NULL
29873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
29874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29875 if (SWIG_arg_fail(1)) SWIG_fail
;
29877 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29878 if (SWIG_arg_fail(2)) SWIG_fail
;
29879 if (arg2
== NULL
) {
29880 SWIG_null_ref("wxTreeItemId");
29882 if (SWIG_arg_fail(2)) SWIG_fail
;
29885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29886 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
29888 wxPyEndAllowThreads(__tstate
);
29889 if (PyErr_Occurred()) SWIG_fail
;
29892 wxTreeItemId
* resultptr
;
29893 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29894 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29902 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29903 PyObject
*resultobj
;
29904 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29905 wxTreeItemId result
;
29906 PyObject
* obj0
= 0 ;
29907 char *kwnames
[] = {
29908 (char *) "self", NULL
29911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
29912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29913 if (SWIG_arg_fail(1)) SWIG_fail
;
29915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29916 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
29918 wxPyEndAllowThreads(__tstate
);
29919 if (PyErr_Occurred()) SWIG_fail
;
29922 wxTreeItemId
* resultptr
;
29923 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29924 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29932 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29933 PyObject
*resultobj
;
29934 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29935 wxTreeItemId
*arg2
= 0 ;
29936 wxTreeItemId result
;
29937 PyObject
* obj0
= 0 ;
29938 PyObject
* obj1
= 0 ;
29939 char *kwnames
[] = {
29940 (char *) "self",(char *) "item", NULL
29943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29945 if (SWIG_arg_fail(1)) SWIG_fail
;
29947 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29948 if (SWIG_arg_fail(2)) SWIG_fail
;
29949 if (arg2
== NULL
) {
29950 SWIG_null_ref("wxTreeItemId");
29952 if (SWIG_arg_fail(2)) SWIG_fail
;
29955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29956 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
29958 wxPyEndAllowThreads(__tstate
);
29959 if (PyErr_Occurred()) SWIG_fail
;
29962 wxTreeItemId
* resultptr
;
29963 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29964 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29972 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29973 PyObject
*resultobj
;
29974 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29975 wxTreeItemId
*arg2
= 0 ;
29976 wxTreeItemId result
;
29977 PyObject
* obj0
= 0 ;
29978 PyObject
* obj1
= 0 ;
29979 char *kwnames
[] = {
29980 (char *) "self",(char *) "item", NULL
29983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29985 if (SWIG_arg_fail(1)) SWIG_fail
;
29987 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29988 if (SWIG_arg_fail(2)) SWIG_fail
;
29989 if (arg2
== NULL
) {
29990 SWIG_null_ref("wxTreeItemId");
29992 if (SWIG_arg_fail(2)) SWIG_fail
;
29995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29996 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
29998 wxPyEndAllowThreads(__tstate
);
29999 if (PyErr_Occurred()) SWIG_fail
;
30002 wxTreeItemId
* resultptr
;
30003 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30004 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30012 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30013 PyObject
*resultobj
;
30014 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30015 wxString
*arg2
= 0 ;
30016 int arg3
= (int) -1 ;
30017 int arg4
= (int) -1 ;
30018 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
30019 wxTreeItemId result
;
30020 bool temp2
= false ;
30021 PyObject
* obj0
= 0 ;
30022 PyObject
* obj1
= 0 ;
30023 PyObject
* obj2
= 0 ;
30024 PyObject
* obj3
= 0 ;
30025 PyObject
* obj4
= 0 ;
30026 char *kwnames
[] = {
30027 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30032 if (SWIG_arg_fail(1)) SWIG_fail
;
30034 arg2
= wxString_in_helper(obj1
);
30035 if (arg2
== NULL
) SWIG_fail
;
30040 arg3
= (int)(SWIG_As_int(obj2
));
30041 if (SWIG_arg_fail(3)) SWIG_fail
;
30046 arg4
= (int)(SWIG_As_int(obj3
));
30047 if (SWIG_arg_fail(4)) SWIG_fail
;
30051 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30052 if (SWIG_arg_fail(5)) SWIG_fail
;
30055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30056 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
30058 wxPyEndAllowThreads(__tstate
);
30059 if (PyErr_Occurred()) SWIG_fail
;
30062 wxTreeItemId
* resultptr
;
30063 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30064 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30080 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30081 PyObject
*resultobj
;
30082 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30083 wxTreeItemId
*arg2
= 0 ;
30084 wxString
*arg3
= 0 ;
30085 int arg4
= (int) -1 ;
30086 int arg5
= (int) -1 ;
30087 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
30088 wxTreeItemId result
;
30089 bool temp3
= false ;
30090 PyObject
* obj0
= 0 ;
30091 PyObject
* obj1
= 0 ;
30092 PyObject
* obj2
= 0 ;
30093 PyObject
* obj3
= 0 ;
30094 PyObject
* obj4
= 0 ;
30095 PyObject
* obj5
= 0 ;
30096 char *kwnames
[] = {
30097 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30102 if (SWIG_arg_fail(1)) SWIG_fail
;
30104 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30105 if (SWIG_arg_fail(2)) SWIG_fail
;
30106 if (arg2
== NULL
) {
30107 SWIG_null_ref("wxTreeItemId");
30109 if (SWIG_arg_fail(2)) SWIG_fail
;
30112 arg3
= wxString_in_helper(obj2
);
30113 if (arg3
== NULL
) SWIG_fail
;
30118 arg4
= (int)(SWIG_As_int(obj3
));
30119 if (SWIG_arg_fail(4)) SWIG_fail
;
30124 arg5
= (int)(SWIG_As_int(obj4
));
30125 if (SWIG_arg_fail(5)) SWIG_fail
;
30129 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30130 if (SWIG_arg_fail(6)) SWIG_fail
;
30133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30134 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
30136 wxPyEndAllowThreads(__tstate
);
30137 if (PyErr_Occurred()) SWIG_fail
;
30140 wxTreeItemId
* resultptr
;
30141 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30142 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30158 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30159 PyObject
*resultobj
;
30160 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30161 wxTreeItemId
*arg2
= 0 ;
30162 wxTreeItemId
*arg3
= 0 ;
30163 wxString
*arg4
= 0 ;
30164 int arg5
= (int) -1 ;
30165 int arg6
= (int) -1 ;
30166 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
30167 wxTreeItemId result
;
30168 bool temp4
= false ;
30169 PyObject
* obj0
= 0 ;
30170 PyObject
* obj1
= 0 ;
30171 PyObject
* obj2
= 0 ;
30172 PyObject
* obj3
= 0 ;
30173 PyObject
* obj4
= 0 ;
30174 PyObject
* obj5
= 0 ;
30175 PyObject
* obj6
= 0 ;
30176 char *kwnames
[] = {
30177 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30182 if (SWIG_arg_fail(1)) SWIG_fail
;
30184 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30185 if (SWIG_arg_fail(2)) SWIG_fail
;
30186 if (arg2
== NULL
) {
30187 SWIG_null_ref("wxTreeItemId");
30189 if (SWIG_arg_fail(2)) SWIG_fail
;
30192 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30193 if (SWIG_arg_fail(3)) SWIG_fail
;
30194 if (arg3
== NULL
) {
30195 SWIG_null_ref("wxTreeItemId");
30197 if (SWIG_arg_fail(3)) SWIG_fail
;
30200 arg4
= wxString_in_helper(obj3
);
30201 if (arg4
== NULL
) SWIG_fail
;
30206 arg5
= (int)(SWIG_As_int(obj4
));
30207 if (SWIG_arg_fail(5)) SWIG_fail
;
30212 arg6
= (int)(SWIG_As_int(obj5
));
30213 if (SWIG_arg_fail(6)) SWIG_fail
;
30217 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30218 if (SWIG_arg_fail(7)) SWIG_fail
;
30221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30222 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
30224 wxPyEndAllowThreads(__tstate
);
30225 if (PyErr_Occurred()) SWIG_fail
;
30228 wxTreeItemId
* resultptr
;
30229 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30230 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30246 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30247 PyObject
*resultobj
;
30248 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30249 wxTreeItemId
*arg2
= 0 ;
30251 wxString
*arg4
= 0 ;
30252 int arg5
= (int) -1 ;
30253 int arg6
= (int) -1 ;
30254 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
30255 wxTreeItemId result
;
30256 bool temp4
= false ;
30257 PyObject
* obj0
= 0 ;
30258 PyObject
* obj1
= 0 ;
30259 PyObject
* obj2
= 0 ;
30260 PyObject
* obj3
= 0 ;
30261 PyObject
* obj4
= 0 ;
30262 PyObject
* obj5
= 0 ;
30263 PyObject
* obj6
= 0 ;
30264 char *kwnames
[] = {
30265 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30270 if (SWIG_arg_fail(1)) SWIG_fail
;
30272 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30273 if (SWIG_arg_fail(2)) SWIG_fail
;
30274 if (arg2
== NULL
) {
30275 SWIG_null_ref("wxTreeItemId");
30277 if (SWIG_arg_fail(2)) SWIG_fail
;
30280 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
30281 if (SWIG_arg_fail(3)) SWIG_fail
;
30284 arg4
= wxString_in_helper(obj3
);
30285 if (arg4
== NULL
) SWIG_fail
;
30290 arg5
= (int)(SWIG_As_int(obj4
));
30291 if (SWIG_arg_fail(5)) SWIG_fail
;
30296 arg6
= (int)(SWIG_As_int(obj5
));
30297 if (SWIG_arg_fail(6)) SWIG_fail
;
30301 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30302 if (SWIG_arg_fail(7)) SWIG_fail
;
30305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30306 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
30308 wxPyEndAllowThreads(__tstate
);
30309 if (PyErr_Occurred()) SWIG_fail
;
30312 wxTreeItemId
* resultptr
;
30313 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30314 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30330 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30331 PyObject
*resultobj
;
30332 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30333 wxTreeItemId
*arg2
= 0 ;
30334 wxString
*arg3
= 0 ;
30335 int arg4
= (int) -1 ;
30336 int arg5
= (int) -1 ;
30337 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
30338 wxTreeItemId result
;
30339 bool temp3
= false ;
30340 PyObject
* obj0
= 0 ;
30341 PyObject
* obj1
= 0 ;
30342 PyObject
* obj2
= 0 ;
30343 PyObject
* obj3
= 0 ;
30344 PyObject
* obj4
= 0 ;
30345 PyObject
* obj5
= 0 ;
30346 char *kwnames
[] = {
30347 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30352 if (SWIG_arg_fail(1)) SWIG_fail
;
30354 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30355 if (SWIG_arg_fail(2)) SWIG_fail
;
30356 if (arg2
== NULL
) {
30357 SWIG_null_ref("wxTreeItemId");
30359 if (SWIG_arg_fail(2)) SWIG_fail
;
30362 arg3
= wxString_in_helper(obj2
);
30363 if (arg3
== NULL
) SWIG_fail
;
30368 arg4
= (int)(SWIG_As_int(obj3
));
30369 if (SWIG_arg_fail(4)) SWIG_fail
;
30374 arg5
= (int)(SWIG_As_int(obj4
));
30375 if (SWIG_arg_fail(5)) SWIG_fail
;
30379 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30380 if (SWIG_arg_fail(6)) SWIG_fail
;
30383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30384 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
30386 wxPyEndAllowThreads(__tstate
);
30387 if (PyErr_Occurred()) SWIG_fail
;
30390 wxTreeItemId
* resultptr
;
30391 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30392 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30408 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30409 PyObject
*resultobj
;
30410 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30411 wxTreeItemId
*arg2
= 0 ;
30412 PyObject
* obj0
= 0 ;
30413 PyObject
* obj1
= 0 ;
30414 char *kwnames
[] = {
30415 (char *) "self",(char *) "item", NULL
30418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
30419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30420 if (SWIG_arg_fail(1)) SWIG_fail
;
30422 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30423 if (SWIG_arg_fail(2)) SWIG_fail
;
30424 if (arg2
== NULL
) {
30425 SWIG_null_ref("wxTreeItemId");
30427 if (SWIG_arg_fail(2)) SWIG_fail
;
30430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30431 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
30433 wxPyEndAllowThreads(__tstate
);
30434 if (PyErr_Occurred()) SWIG_fail
;
30436 Py_INCREF(Py_None
); resultobj
= Py_None
;
30443 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30444 PyObject
*resultobj
;
30445 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30446 wxTreeItemId
*arg2
= 0 ;
30447 PyObject
* obj0
= 0 ;
30448 PyObject
* obj1
= 0 ;
30449 char *kwnames
[] = {
30450 (char *) "self",(char *) "item", NULL
30453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
30454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30455 if (SWIG_arg_fail(1)) SWIG_fail
;
30457 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30458 if (SWIG_arg_fail(2)) SWIG_fail
;
30459 if (arg2
== NULL
) {
30460 SWIG_null_ref("wxTreeItemId");
30462 if (SWIG_arg_fail(2)) SWIG_fail
;
30465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30466 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
30468 wxPyEndAllowThreads(__tstate
);
30469 if (PyErr_Occurred()) SWIG_fail
;
30471 Py_INCREF(Py_None
); resultobj
= Py_None
;
30478 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30479 PyObject
*resultobj
;
30480 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30481 PyObject
* obj0
= 0 ;
30482 char *kwnames
[] = {
30483 (char *) "self", NULL
30486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
30487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30488 if (SWIG_arg_fail(1)) SWIG_fail
;
30490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30491 (arg1
)->DeleteAllItems();
30493 wxPyEndAllowThreads(__tstate
);
30494 if (PyErr_Occurred()) SWIG_fail
;
30496 Py_INCREF(Py_None
); resultobj
= Py_None
;
30503 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30504 PyObject
*resultobj
;
30505 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30506 wxTreeItemId
*arg2
= 0 ;
30507 PyObject
* obj0
= 0 ;
30508 PyObject
* obj1
= 0 ;
30509 char *kwnames
[] = {
30510 (char *) "self",(char *) "item", NULL
30513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
30514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30515 if (SWIG_arg_fail(1)) SWIG_fail
;
30517 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30518 if (SWIG_arg_fail(2)) SWIG_fail
;
30519 if (arg2
== NULL
) {
30520 SWIG_null_ref("wxTreeItemId");
30522 if (SWIG_arg_fail(2)) SWIG_fail
;
30525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30526 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
30528 wxPyEndAllowThreads(__tstate
);
30529 if (PyErr_Occurred()) SWIG_fail
;
30531 Py_INCREF(Py_None
); resultobj
= Py_None
;
30538 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30539 PyObject
*resultobj
;
30540 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30541 wxTreeItemId
*arg2
= 0 ;
30542 PyObject
* obj0
= 0 ;
30543 PyObject
* obj1
= 0 ;
30544 char *kwnames
[] = {
30545 (char *) "self",(char *) "item", NULL
30548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
30549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30550 if (SWIG_arg_fail(1)) SWIG_fail
;
30552 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30553 if (SWIG_arg_fail(2)) SWIG_fail
;
30554 if (arg2
== NULL
) {
30555 SWIG_null_ref("wxTreeItemId");
30557 if (SWIG_arg_fail(2)) SWIG_fail
;
30560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30561 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
30563 wxPyEndAllowThreads(__tstate
);
30564 if (PyErr_Occurred()) SWIG_fail
;
30566 Py_INCREF(Py_None
); resultobj
= Py_None
;
30573 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30574 PyObject
*resultobj
;
30575 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30576 wxTreeItemId
*arg2
= 0 ;
30577 PyObject
* obj0
= 0 ;
30578 PyObject
* obj1
= 0 ;
30579 char *kwnames
[] = {
30580 (char *) "self",(char *) "item", NULL
30583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
30584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30585 if (SWIG_arg_fail(1)) SWIG_fail
;
30587 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30588 if (SWIG_arg_fail(2)) SWIG_fail
;
30589 if (arg2
== NULL
) {
30590 SWIG_null_ref("wxTreeItemId");
30592 if (SWIG_arg_fail(2)) SWIG_fail
;
30595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30596 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
30598 wxPyEndAllowThreads(__tstate
);
30599 if (PyErr_Occurred()) SWIG_fail
;
30601 Py_INCREF(Py_None
); resultobj
= Py_None
;
30608 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30609 PyObject
*resultobj
;
30610 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30611 wxTreeItemId
*arg2
= 0 ;
30612 PyObject
* obj0
= 0 ;
30613 PyObject
* obj1
= 0 ;
30614 char *kwnames
[] = {
30615 (char *) "self",(char *) "item", NULL
30618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
30619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30620 if (SWIG_arg_fail(1)) SWIG_fail
;
30622 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30623 if (SWIG_arg_fail(2)) SWIG_fail
;
30624 if (arg2
== NULL
) {
30625 SWIG_null_ref("wxTreeItemId");
30627 if (SWIG_arg_fail(2)) SWIG_fail
;
30630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30631 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
30633 wxPyEndAllowThreads(__tstate
);
30634 if (PyErr_Occurred()) SWIG_fail
;
30636 Py_INCREF(Py_None
); resultobj
= Py_None
;
30643 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30644 PyObject
*resultobj
;
30645 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30646 PyObject
* obj0
= 0 ;
30647 char *kwnames
[] = {
30648 (char *) "self", NULL
30651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
30652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30653 if (SWIG_arg_fail(1)) SWIG_fail
;
30655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30656 (arg1
)->Unselect();
30658 wxPyEndAllowThreads(__tstate
);
30659 if (PyErr_Occurred()) SWIG_fail
;
30661 Py_INCREF(Py_None
); resultobj
= Py_None
;
30668 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30669 PyObject
*resultobj
;
30670 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30671 wxTreeItemId
*arg2
= 0 ;
30672 PyObject
* obj0
= 0 ;
30673 PyObject
* obj1
= 0 ;
30674 char *kwnames
[] = {
30675 (char *) "self",(char *) "item", NULL
30678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30680 if (SWIG_arg_fail(1)) SWIG_fail
;
30682 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30683 if (SWIG_arg_fail(2)) SWIG_fail
;
30684 if (arg2
== NULL
) {
30685 SWIG_null_ref("wxTreeItemId");
30687 if (SWIG_arg_fail(2)) SWIG_fail
;
30690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30691 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
30693 wxPyEndAllowThreads(__tstate
);
30694 if (PyErr_Occurred()) SWIG_fail
;
30696 Py_INCREF(Py_None
); resultobj
= Py_None
;
30703 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30704 PyObject
*resultobj
;
30705 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30706 PyObject
* obj0
= 0 ;
30707 char *kwnames
[] = {
30708 (char *) "self", NULL
30711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
30712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30713 if (SWIG_arg_fail(1)) SWIG_fail
;
30715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30716 (arg1
)->UnselectAll();
30718 wxPyEndAllowThreads(__tstate
);
30719 if (PyErr_Occurred()) SWIG_fail
;
30721 Py_INCREF(Py_None
); resultobj
= Py_None
;
30728 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30729 PyObject
*resultobj
;
30730 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30731 wxTreeItemId
*arg2
= 0 ;
30732 bool arg3
= (bool) true ;
30733 PyObject
* obj0
= 0 ;
30734 PyObject
* obj1
= 0 ;
30735 PyObject
* obj2
= 0 ;
30736 char *kwnames
[] = {
30737 (char *) "self",(char *) "item",(char *) "select", NULL
30740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30742 if (SWIG_arg_fail(1)) SWIG_fail
;
30744 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30745 if (SWIG_arg_fail(2)) SWIG_fail
;
30746 if (arg2
== NULL
) {
30747 SWIG_null_ref("wxTreeItemId");
30749 if (SWIG_arg_fail(2)) SWIG_fail
;
30753 arg3
= (bool)(SWIG_As_bool(obj2
));
30754 if (SWIG_arg_fail(3)) SWIG_fail
;
30758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30759 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
30761 wxPyEndAllowThreads(__tstate
);
30762 if (PyErr_Occurred()) SWIG_fail
;
30764 Py_INCREF(Py_None
); resultobj
= Py_None
;
30771 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30772 PyObject
*resultobj
;
30773 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30774 wxTreeItemId
*arg2
= 0 ;
30775 PyObject
* obj0
= 0 ;
30776 PyObject
* obj1
= 0 ;
30777 char *kwnames
[] = {
30778 (char *) "self",(char *) "item", NULL
30781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
30782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30783 if (SWIG_arg_fail(1)) SWIG_fail
;
30785 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30786 if (SWIG_arg_fail(2)) SWIG_fail
;
30787 if (arg2
== NULL
) {
30788 SWIG_null_ref("wxTreeItemId");
30790 if (SWIG_arg_fail(2)) SWIG_fail
;
30793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30794 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
30796 wxPyEndAllowThreads(__tstate
);
30797 if (PyErr_Occurred()) SWIG_fail
;
30799 Py_INCREF(Py_None
); resultobj
= Py_None
;
30806 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30807 PyObject
*resultobj
;
30808 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30809 wxTreeItemId
*arg2
= 0 ;
30810 PyObject
* obj0
= 0 ;
30811 PyObject
* obj1
= 0 ;
30812 char *kwnames
[] = {
30813 (char *) "self",(char *) "item", NULL
30816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
30817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30818 if (SWIG_arg_fail(1)) SWIG_fail
;
30820 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30821 if (SWIG_arg_fail(2)) SWIG_fail
;
30822 if (arg2
== NULL
) {
30823 SWIG_null_ref("wxTreeItemId");
30825 if (SWIG_arg_fail(2)) SWIG_fail
;
30828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30829 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
30831 wxPyEndAllowThreads(__tstate
);
30832 if (PyErr_Occurred()) SWIG_fail
;
30834 Py_INCREF(Py_None
); resultobj
= Py_None
;
30841 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30842 PyObject
*resultobj
;
30843 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30844 wxTreeItemId
*arg2
= 0 ;
30845 PyObject
* obj0
= 0 ;
30846 PyObject
* obj1
= 0 ;
30847 char *kwnames
[] = {
30848 (char *) "self",(char *) "item", NULL
30851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
30852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30853 if (SWIG_arg_fail(1)) SWIG_fail
;
30855 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30856 if (SWIG_arg_fail(2)) SWIG_fail
;
30857 if (arg2
== NULL
) {
30858 SWIG_null_ref("wxTreeItemId");
30860 if (SWIG_arg_fail(2)) SWIG_fail
;
30863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30864 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
30866 wxPyEndAllowThreads(__tstate
);
30867 if (PyErr_Occurred()) SWIG_fail
;
30869 Py_INCREF(Py_None
); resultobj
= Py_None
;
30876 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30877 PyObject
*resultobj
;
30878 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30879 wxTreeItemId
*arg2
= 0 ;
30880 PyObject
* obj0
= 0 ;
30881 PyObject
* obj1
= 0 ;
30882 char *kwnames
[] = {
30883 (char *) "self",(char *) "item", NULL
30886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
30887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30888 if (SWIG_arg_fail(1)) SWIG_fail
;
30890 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30891 if (SWIG_arg_fail(2)) SWIG_fail
;
30892 if (arg2
== NULL
) {
30893 SWIG_null_ref("wxTreeItemId");
30895 if (SWIG_arg_fail(2)) SWIG_fail
;
30898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30899 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
30901 wxPyEndAllowThreads(__tstate
);
30902 if (PyErr_Occurred()) SWIG_fail
;
30904 Py_INCREF(Py_None
); resultobj
= Py_None
;
30911 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30912 PyObject
*resultobj
;
30913 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30914 wxTextCtrl
*result
;
30915 PyObject
* obj0
= 0 ;
30916 char *kwnames
[] = {
30917 (char *) "self", NULL
30920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
30921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30922 if (SWIG_arg_fail(1)) SWIG_fail
;
30924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30925 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
30927 wxPyEndAllowThreads(__tstate
);
30928 if (PyErr_Occurred()) SWIG_fail
;
30931 resultobj
= wxPyMake_wxObject(result
, 0);
30939 static PyObject
*_wrap_TreeCtrl_EndEditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30940 PyObject
*resultobj
;
30941 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30942 wxTreeItemId
*arg2
= 0 ;
30943 bool arg3
= (bool) false ;
30944 PyObject
* obj0
= 0 ;
30945 PyObject
* obj1
= 0 ;
30946 PyObject
* obj2
= 0 ;
30947 char *kwnames
[] = {
30948 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
30951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30953 if (SWIG_arg_fail(1)) SWIG_fail
;
30955 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30956 if (SWIG_arg_fail(2)) SWIG_fail
;
30957 if (arg2
== NULL
) {
30958 SWIG_null_ref("wxTreeItemId");
30960 if (SWIG_arg_fail(2)) SWIG_fail
;
30964 arg3
= (bool)(SWIG_As_bool(obj2
));
30965 if (SWIG_arg_fail(3)) SWIG_fail
;
30969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30970 (arg1
)->EndEditLabel((wxTreeItemId
const &)*arg2
,arg3
);
30972 wxPyEndAllowThreads(__tstate
);
30973 if (PyErr_Occurred()) SWIG_fail
;
30975 Py_INCREF(Py_None
); resultobj
= Py_None
;
30982 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30983 PyObject
*resultobj
;
30984 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30985 wxTreeItemId
*arg2
= 0 ;
30986 PyObject
* obj0
= 0 ;
30987 PyObject
* obj1
= 0 ;
30988 char *kwnames
[] = {
30989 (char *) "self",(char *) "item", NULL
30992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
30993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30994 if (SWIG_arg_fail(1)) SWIG_fail
;
30996 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30997 if (SWIG_arg_fail(2)) SWIG_fail
;
30998 if (arg2
== NULL
) {
30999 SWIG_null_ref("wxTreeItemId");
31001 if (SWIG_arg_fail(2)) SWIG_fail
;
31004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31005 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
31007 wxPyEndAllowThreads(__tstate
);
31008 if (PyErr_Occurred()) SWIG_fail
;
31010 Py_INCREF(Py_None
); resultobj
= Py_None
;
31017 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31018 PyObject
*resultobj
;
31019 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31020 wxPoint
*arg2
= 0 ;
31022 wxTreeItemId result
;
31026 PyObject
* obj0
= 0 ;
31027 PyObject
* obj1
= 0 ;
31028 char *kwnames
[] = {
31029 (char *) "self",(char *) "point", NULL
31032 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
31033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
31034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31035 if (SWIG_arg_fail(1)) SWIG_fail
;
31038 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31042 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
31044 wxPyEndAllowThreads(__tstate
);
31045 if (PyErr_Occurred()) SWIG_fail
;
31048 wxTreeItemId
* resultptr
;
31049 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
31050 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31052 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
31053 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
31060 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31061 PyObject
*resultobj
;
31062 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31063 wxTreeItemId
*arg2
= 0 ;
31064 bool arg3
= (bool) false ;
31066 PyObject
* obj0
= 0 ;
31067 PyObject
* obj1
= 0 ;
31068 PyObject
* obj2
= 0 ;
31069 char *kwnames
[] = {
31070 (char *) "self",(char *) "item",(char *) "textOnly", NULL
31073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31075 if (SWIG_arg_fail(1)) SWIG_fail
;
31077 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31078 if (SWIG_arg_fail(2)) SWIG_fail
;
31079 if (arg2
== NULL
) {
31080 SWIG_null_ref("wxTreeItemId");
31082 if (SWIG_arg_fail(2)) SWIG_fail
;
31086 arg3
= (bool)(SWIG_As_bool(obj2
));
31087 if (SWIG_arg_fail(3)) SWIG_fail
;
31091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31092 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
31094 wxPyEndAllowThreads(__tstate
);
31095 if (PyErr_Occurred()) SWIG_fail
;
31097 resultobj
= result
;
31104 static PyObject
*_wrap_TreeCtrl_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31105 PyObject
*resultobj
;
31106 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31107 wxTreeItemId
*arg2
= 0 ;
31109 PyObject
* obj0
= 0 ;
31110 PyObject
* obj1
= 0 ;
31111 PyObject
* obj2
= 0 ;
31112 char *kwnames
[] = {
31113 (char *) "self",(char *) "node",(char *) "state", NULL
31116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31118 if (SWIG_arg_fail(1)) SWIG_fail
;
31120 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31121 if (SWIG_arg_fail(2)) SWIG_fail
;
31122 if (arg2
== NULL
) {
31123 SWIG_null_ref("wxTreeItemId");
31125 if (SWIG_arg_fail(2)) SWIG_fail
;
31128 arg3
= (int)(SWIG_As_int(obj2
));
31129 if (SWIG_arg_fail(3)) SWIG_fail
;
31132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31133 (arg1
)->SetState((wxTreeItemId
const &)*arg2
,arg3
);
31135 wxPyEndAllowThreads(__tstate
);
31136 if (PyErr_Occurred()) SWIG_fail
;
31138 Py_INCREF(Py_None
); resultobj
= Py_None
;
31145 static PyObject
*_wrap_TreeCtrl_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31146 PyObject
*resultobj
;
31147 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31148 wxTreeItemId
*arg2
= 0 ;
31150 PyObject
* obj0
= 0 ;
31151 PyObject
* obj1
= 0 ;
31152 char *kwnames
[] = {
31153 (char *) "self",(char *) "node", NULL
31156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetState",kwnames
,&obj0
,&obj1
)) goto fail
;
31157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31158 if (SWIG_arg_fail(1)) SWIG_fail
;
31160 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31161 if (SWIG_arg_fail(2)) SWIG_fail
;
31162 if (arg2
== NULL
) {
31163 SWIG_null_ref("wxTreeItemId");
31165 if (SWIG_arg_fail(2)) SWIG_fail
;
31168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31169 result
= (int)(arg1
)->GetState((wxTreeItemId
const &)*arg2
);
31171 wxPyEndAllowThreads(__tstate
);
31172 if (PyErr_Occurred()) SWIG_fail
;
31175 resultobj
= SWIG_From_int((int)(result
));
31183 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31184 PyObject
*resultobj
;
31185 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
31186 wxVisualAttributes result
;
31187 PyObject
* obj0
= 0 ;
31188 char *kwnames
[] = {
31189 (char *) "variant", NULL
31192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
31195 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
31196 if (SWIG_arg_fail(1)) SWIG_fail
;
31200 if (!wxPyCheckForApp()) SWIG_fail
;
31201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31202 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
31204 wxPyEndAllowThreads(__tstate
);
31205 if (PyErr_Occurred()) SWIG_fail
;
31208 wxVisualAttributes
* resultptr
;
31209 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
31210 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
31218 static PyObject
* TreeCtrl_swigregister(PyObject
*, PyObject
*args
) {
31220 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31221 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
31223 return Py_BuildValue((char *)"");
31225 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*) {
31226 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
31231 static PyObject
*_wrap_DirDialogDefaultFolderStr_get(void) {
31236 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
31238 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
31245 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31246 PyObject
*resultobj
;
31247 wxWindow
*arg1
= (wxWindow
*) 0 ;
31248 int arg2
= (int) (int)-1 ;
31249 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
31250 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
31251 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31252 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31253 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31254 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31255 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
31256 wxString
const &arg7_defvalue
= wxPyEmptyString
;
31257 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31258 int arg8
= (int) 0 ;
31259 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
31260 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
31261 wxGenericDirCtrl
*result
;
31262 bool temp3
= false ;
31265 bool temp7
= false ;
31266 bool temp9
= false ;
31267 PyObject
* obj0
= 0 ;
31268 PyObject
* obj1
= 0 ;
31269 PyObject
* obj2
= 0 ;
31270 PyObject
* obj3
= 0 ;
31271 PyObject
* obj4
= 0 ;
31272 PyObject
* obj5
= 0 ;
31273 PyObject
* obj6
= 0 ;
31274 PyObject
* obj7
= 0 ;
31275 PyObject
* obj8
= 0 ;
31276 char *kwnames
[] = {
31277 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
31281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31282 if (SWIG_arg_fail(1)) SWIG_fail
;
31285 arg2
= (int const)(SWIG_As_int(obj1
));
31286 if (SWIG_arg_fail(2)) SWIG_fail
;
31291 arg3
= wxString_in_helper(obj2
);
31292 if (arg3
== NULL
) SWIG_fail
;
31299 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31305 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31310 arg6
= (long)(SWIG_As_long(obj5
));
31311 if (SWIG_arg_fail(6)) SWIG_fail
;
31316 arg7
= wxString_in_helper(obj6
);
31317 if (arg7
== NULL
) SWIG_fail
;
31323 arg8
= (int)(SWIG_As_int(obj7
));
31324 if (SWIG_arg_fail(8)) SWIG_fail
;
31329 arg9
= wxString_in_helper(obj8
);
31330 if (arg9
== NULL
) SWIG_fail
;
31335 if (!wxPyCheckForApp()) SWIG_fail
;
31336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31337 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
31339 wxPyEndAllowThreads(__tstate
);
31340 if (PyErr_Occurred()) SWIG_fail
;
31342 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
31373 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31374 PyObject
*resultobj
;
31375 wxGenericDirCtrl
*result
;
31376 char *kwnames
[] = {
31380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
31382 if (!wxPyCheckForApp()) SWIG_fail
;
31383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31384 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
31386 wxPyEndAllowThreads(__tstate
);
31387 if (PyErr_Occurred()) SWIG_fail
;
31389 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
31396 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31397 PyObject
*resultobj
;
31398 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31399 wxWindow
*arg2
= (wxWindow
*) 0 ;
31400 int arg3
= (int) (int)-1 ;
31401 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
31402 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
31403 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
31404 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
31405 wxSize
const &arg6_defvalue
= wxDefaultSize
;
31406 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
31407 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
31408 wxString
const &arg8_defvalue
= wxPyEmptyString
;
31409 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
31410 int arg9
= (int) 0 ;
31411 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
31412 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
31414 bool temp4
= false ;
31417 bool temp8
= false ;
31418 bool temp10
= false ;
31419 PyObject
* obj0
= 0 ;
31420 PyObject
* obj1
= 0 ;
31421 PyObject
* obj2
= 0 ;
31422 PyObject
* obj3
= 0 ;
31423 PyObject
* obj4
= 0 ;
31424 PyObject
* obj5
= 0 ;
31425 PyObject
* obj6
= 0 ;
31426 PyObject
* obj7
= 0 ;
31427 PyObject
* obj8
= 0 ;
31428 PyObject
* obj9
= 0 ;
31429 char *kwnames
[] = {
31430 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
31434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31435 if (SWIG_arg_fail(1)) SWIG_fail
;
31436 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31437 if (SWIG_arg_fail(2)) SWIG_fail
;
31440 arg3
= (int const)(SWIG_As_int(obj2
));
31441 if (SWIG_arg_fail(3)) SWIG_fail
;
31446 arg4
= wxString_in_helper(obj3
);
31447 if (arg4
== NULL
) SWIG_fail
;
31454 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
31460 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
31465 arg7
= (long)(SWIG_As_long(obj6
));
31466 if (SWIG_arg_fail(7)) SWIG_fail
;
31471 arg8
= wxString_in_helper(obj7
);
31472 if (arg8
== NULL
) SWIG_fail
;
31478 arg9
= (int)(SWIG_As_int(obj8
));
31479 if (SWIG_arg_fail(9)) SWIG_fail
;
31484 arg10
= wxString_in_helper(obj9
);
31485 if (arg10
== NULL
) SWIG_fail
;
31490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31491 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
31493 wxPyEndAllowThreads(__tstate
);
31494 if (PyErr_Occurred()) SWIG_fail
;
31497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31529 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31530 PyObject
*resultobj
;
31531 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31532 wxString
*arg2
= 0 ;
31534 bool temp2
= false ;
31535 PyObject
* obj0
= 0 ;
31536 PyObject
* obj1
= 0 ;
31537 char *kwnames
[] = {
31538 (char *) "self",(char *) "path", NULL
31541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31543 if (SWIG_arg_fail(1)) SWIG_fail
;
31545 arg2
= wxString_in_helper(obj1
);
31546 if (arg2
== NULL
) SWIG_fail
;
31550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31551 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
31553 wxPyEndAllowThreads(__tstate
);
31554 if (PyErr_Occurred()) SWIG_fail
;
31557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31573 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31574 PyObject
*resultobj
;
31575 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31577 PyObject
* obj0
= 0 ;
31578 char *kwnames
[] = {
31579 (char *) "self", NULL
31582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
31583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31584 if (SWIG_arg_fail(1)) SWIG_fail
;
31586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31587 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
31589 wxPyEndAllowThreads(__tstate
);
31590 if (PyErr_Occurred()) SWIG_fail
;
31594 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31596 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31605 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31606 PyObject
*resultobj
;
31607 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31608 wxString
*arg2
= 0 ;
31609 bool temp2
= false ;
31610 PyObject
* obj0
= 0 ;
31611 PyObject
* obj1
= 0 ;
31612 char *kwnames
[] = {
31613 (char *) "self",(char *) "path", NULL
31616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31618 if (SWIG_arg_fail(1)) SWIG_fail
;
31620 arg2
= wxString_in_helper(obj1
);
31621 if (arg2
== NULL
) SWIG_fail
;
31625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31626 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
31628 wxPyEndAllowThreads(__tstate
);
31629 if (PyErr_Occurred()) SWIG_fail
;
31631 Py_INCREF(Py_None
); resultobj
= Py_None
;
31646 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31647 PyObject
*resultobj
;
31648 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31650 PyObject
* obj0
= 0 ;
31651 char *kwnames
[] = {
31652 (char *) "self", NULL
31655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
31656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31657 if (SWIG_arg_fail(1)) SWIG_fail
;
31659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31660 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
31662 wxPyEndAllowThreads(__tstate
);
31663 if (PyErr_Occurred()) SWIG_fail
;
31667 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31669 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31678 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31679 PyObject
*resultobj
;
31680 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31682 PyObject
* obj0
= 0 ;
31683 char *kwnames
[] = {
31684 (char *) "self", NULL
31687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
31688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31689 if (SWIG_arg_fail(1)) SWIG_fail
;
31691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31692 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
31694 wxPyEndAllowThreads(__tstate
);
31695 if (PyErr_Occurred()) SWIG_fail
;
31699 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31701 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31710 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31711 PyObject
*resultobj
;
31712 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31713 wxString
*arg2
= 0 ;
31714 bool temp2
= false ;
31715 PyObject
* obj0
= 0 ;
31716 PyObject
* obj1
= 0 ;
31717 char *kwnames
[] = {
31718 (char *) "self",(char *) "path", NULL
31721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31723 if (SWIG_arg_fail(1)) SWIG_fail
;
31725 arg2
= wxString_in_helper(obj1
);
31726 if (arg2
== NULL
) SWIG_fail
;
31730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31731 (arg1
)->SetPath((wxString
const &)*arg2
);
31733 wxPyEndAllowThreads(__tstate
);
31734 if (PyErr_Occurred()) SWIG_fail
;
31736 Py_INCREF(Py_None
); resultobj
= Py_None
;
31751 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31752 PyObject
*resultobj
;
31753 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31755 PyObject
* obj0
= 0 ;
31756 PyObject
* obj1
= 0 ;
31757 char *kwnames
[] = {
31758 (char *) "self",(char *) "show", NULL
31761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
31762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31763 if (SWIG_arg_fail(1)) SWIG_fail
;
31765 arg2
= (bool)(SWIG_As_bool(obj1
));
31766 if (SWIG_arg_fail(2)) SWIG_fail
;
31769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31770 (arg1
)->ShowHidden(arg2
);
31772 wxPyEndAllowThreads(__tstate
);
31773 if (PyErr_Occurred()) SWIG_fail
;
31775 Py_INCREF(Py_None
); resultobj
= Py_None
;
31782 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31783 PyObject
*resultobj
;
31784 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31786 PyObject
* obj0
= 0 ;
31787 char *kwnames
[] = {
31788 (char *) "self", NULL
31791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
31792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31793 if (SWIG_arg_fail(1)) SWIG_fail
;
31795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31796 result
= (bool)(arg1
)->GetShowHidden();
31798 wxPyEndAllowThreads(__tstate
);
31799 if (PyErr_Occurred()) SWIG_fail
;
31802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31810 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31811 PyObject
*resultobj
;
31812 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31814 PyObject
* obj0
= 0 ;
31815 char *kwnames
[] = {
31816 (char *) "self", NULL
31819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
31820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31821 if (SWIG_arg_fail(1)) SWIG_fail
;
31823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31824 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
31826 wxPyEndAllowThreads(__tstate
);
31827 if (PyErr_Occurred()) SWIG_fail
;
31831 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31833 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31842 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31843 PyObject
*resultobj
;
31844 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31845 wxString
*arg2
= 0 ;
31846 bool temp2
= false ;
31847 PyObject
* obj0
= 0 ;
31848 PyObject
* obj1
= 0 ;
31849 char *kwnames
[] = {
31850 (char *) "self",(char *) "filter", NULL
31853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
31854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31855 if (SWIG_arg_fail(1)) SWIG_fail
;
31857 arg2
= wxString_in_helper(obj1
);
31858 if (arg2
== NULL
) SWIG_fail
;
31862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31863 (arg1
)->SetFilter((wxString
const &)*arg2
);
31865 wxPyEndAllowThreads(__tstate
);
31866 if (PyErr_Occurred()) SWIG_fail
;
31868 Py_INCREF(Py_None
); resultobj
= Py_None
;
31883 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31884 PyObject
*resultobj
;
31885 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31887 PyObject
* obj0
= 0 ;
31888 char *kwnames
[] = {
31889 (char *) "self", NULL
31892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
31893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31894 if (SWIG_arg_fail(1)) SWIG_fail
;
31896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31897 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
31899 wxPyEndAllowThreads(__tstate
);
31900 if (PyErr_Occurred()) SWIG_fail
;
31903 resultobj
= SWIG_From_int((int)(result
));
31911 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31912 PyObject
*resultobj
;
31913 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31915 PyObject
* obj0
= 0 ;
31916 PyObject
* obj1
= 0 ;
31917 char *kwnames
[] = {
31918 (char *) "self",(char *) "n", NULL
31921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
31922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31923 if (SWIG_arg_fail(1)) SWIG_fail
;
31925 arg2
= (int)(SWIG_As_int(obj1
));
31926 if (SWIG_arg_fail(2)) SWIG_fail
;
31929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31930 (arg1
)->SetFilterIndex(arg2
);
31932 wxPyEndAllowThreads(__tstate
);
31933 if (PyErr_Occurred()) SWIG_fail
;
31935 Py_INCREF(Py_None
); resultobj
= Py_None
;
31942 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31943 PyObject
*resultobj
;
31944 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31945 wxTreeItemId result
;
31946 PyObject
* obj0
= 0 ;
31947 char *kwnames
[] = {
31948 (char *) "self", NULL
31951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
31952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31953 if (SWIG_arg_fail(1)) SWIG_fail
;
31955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31956 result
= (arg1
)->GetRootId();
31958 wxPyEndAllowThreads(__tstate
);
31959 if (PyErr_Occurred()) SWIG_fail
;
31962 wxTreeItemId
* resultptr
;
31963 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
31964 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31972 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31973 PyObject
*resultobj
;
31974 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31975 wxPyTreeCtrl
*result
;
31976 PyObject
* obj0
= 0 ;
31977 char *kwnames
[] = {
31978 (char *) "self", NULL
31981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
31982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31983 if (SWIG_arg_fail(1)) SWIG_fail
;
31985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31986 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
31988 wxPyEndAllowThreads(__tstate
);
31989 if (PyErr_Occurred()) SWIG_fail
;
31992 resultobj
= wxPyMake_wxObject(result
, 0);
32000 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32001 PyObject
*resultobj
;
32002 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32003 wxDirFilterListCtrl
*result
;
32004 PyObject
* obj0
= 0 ;
32005 char *kwnames
[] = {
32006 (char *) "self", NULL
32009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
32010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32011 if (SWIG_arg_fail(1)) SWIG_fail
;
32013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32014 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
32016 wxPyEndAllowThreads(__tstate
);
32017 if (PyErr_Occurred()) SWIG_fail
;
32019 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
32026 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32027 PyObject
*resultobj
;
32028 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32029 wxTreeItemId arg2
;
32030 wxString
*arg3
= 0 ;
32032 wxTreeItemId result
;
32033 bool temp3
= false ;
32036 PyObject
* obj0
= 0 ;
32037 PyObject
* obj1
= 0 ;
32038 PyObject
* obj2
= 0 ;
32039 char *kwnames
[] = {
32040 (char *) "self",(char *) "parentId",(char *) "path", NULL
32043 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
32044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32046 if (SWIG_arg_fail(1)) SWIG_fail
;
32048 wxTreeItemId
* argp
;
32049 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
);
32050 if (SWIG_arg_fail(2)) SWIG_fail
;
32051 if (argp
== NULL
) {
32052 SWIG_null_ref("wxTreeItemId");
32054 if (SWIG_arg_fail(2)) SWIG_fail
;
32058 arg3
= wxString_in_helper(obj2
);
32059 if (arg3
== NULL
) SWIG_fail
;
32063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32064 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
32066 wxPyEndAllowThreads(__tstate
);
32067 if (PyErr_Occurred()) SWIG_fail
;
32070 wxTreeItemId
* resultptr
;
32071 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
32072 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
32074 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
32075 SWIG_From_bool((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, 0)));
32090 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32091 PyObject
*resultobj
;
32092 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32093 PyObject
* obj0
= 0 ;
32094 char *kwnames
[] = {
32095 (char *) "self", NULL
32098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
32099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32100 if (SWIG_arg_fail(1)) SWIG_fail
;
32102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32103 (arg1
)->DoResize();
32105 wxPyEndAllowThreads(__tstate
);
32106 if (PyErr_Occurred()) SWIG_fail
;
32108 Py_INCREF(Py_None
); resultobj
= Py_None
;
32115 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32116 PyObject
*resultobj
;
32117 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32118 PyObject
* obj0
= 0 ;
32119 char *kwnames
[] = {
32120 (char *) "self", NULL
32123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
32124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32125 if (SWIG_arg_fail(1)) SWIG_fail
;
32127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32128 (arg1
)->ReCreateTree();
32130 wxPyEndAllowThreads(__tstate
);
32131 if (PyErr_Occurred()) SWIG_fail
;
32133 Py_INCREF(Py_None
); resultobj
= Py_None
;
32140 static PyObject
* GenericDirCtrl_swigregister(PyObject
*, PyObject
*args
) {
32142 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32143 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
32145 return Py_BuildValue((char *)"");
32147 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32148 PyObject
*resultobj
;
32149 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32150 int arg2
= (int) (int)-1 ;
32151 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32152 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32153 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32154 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32155 long arg5
= (long) 0 ;
32156 wxDirFilterListCtrl
*result
;
32159 PyObject
* obj0
= 0 ;
32160 PyObject
* obj1
= 0 ;
32161 PyObject
* obj2
= 0 ;
32162 PyObject
* obj3
= 0 ;
32163 PyObject
* obj4
= 0 ;
32164 char *kwnames
[] = {
32165 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
32168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32170 if (SWIG_arg_fail(1)) SWIG_fail
;
32173 arg2
= (int const)(SWIG_As_int(obj1
));
32174 if (SWIG_arg_fail(2)) SWIG_fail
;
32180 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32186 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32191 arg5
= (long)(SWIG_As_long(obj4
));
32192 if (SWIG_arg_fail(5)) SWIG_fail
;
32196 if (!wxPyCheckForApp()) SWIG_fail
;
32197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32198 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
32200 wxPyEndAllowThreads(__tstate
);
32201 if (PyErr_Occurred()) SWIG_fail
;
32203 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
32210 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32211 PyObject
*resultobj
;
32212 wxDirFilterListCtrl
*result
;
32213 char *kwnames
[] = {
32217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
32219 if (!wxPyCheckForApp()) SWIG_fail
;
32220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32221 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
32223 wxPyEndAllowThreads(__tstate
);
32224 if (PyErr_Occurred()) SWIG_fail
;
32226 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
32233 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32234 PyObject
*resultobj
;
32235 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
32236 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
32237 int arg3
= (int) (int)-1 ;
32238 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32239 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32240 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32241 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32242 long arg6
= (long) 0 ;
32246 PyObject
* obj0
= 0 ;
32247 PyObject
* obj1
= 0 ;
32248 PyObject
* obj2
= 0 ;
32249 PyObject
* obj3
= 0 ;
32250 PyObject
* obj4
= 0 ;
32251 PyObject
* obj5
= 0 ;
32252 char *kwnames
[] = {
32253 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
32256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32258 if (SWIG_arg_fail(1)) SWIG_fail
;
32259 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32260 if (SWIG_arg_fail(2)) SWIG_fail
;
32263 arg3
= (int const)(SWIG_As_int(obj2
));
32264 if (SWIG_arg_fail(3)) SWIG_fail
;
32270 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32276 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32281 arg6
= (long)(SWIG_As_long(obj5
));
32282 if (SWIG_arg_fail(6)) SWIG_fail
;
32286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32287 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
32289 wxPyEndAllowThreads(__tstate
);
32290 if (PyErr_Occurred()) SWIG_fail
;
32293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32301 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32302 PyObject
*resultobj
;
32303 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
32304 wxString
*arg2
= 0 ;
32306 bool temp2
= false ;
32307 PyObject
* obj0
= 0 ;
32308 PyObject
* obj1
= 0 ;
32309 PyObject
* obj2
= 0 ;
32310 char *kwnames
[] = {
32311 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
32314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32316 if (SWIG_arg_fail(1)) SWIG_fail
;
32318 arg2
= wxString_in_helper(obj1
);
32319 if (arg2
== NULL
) SWIG_fail
;
32323 arg3
= (int)(SWIG_As_int(obj2
));
32324 if (SWIG_arg_fail(3)) SWIG_fail
;
32327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32328 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
32330 wxPyEndAllowThreads(__tstate
);
32331 if (PyErr_Occurred()) SWIG_fail
;
32333 Py_INCREF(Py_None
); resultobj
= Py_None
;
32348 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*, PyObject
*args
) {
32350 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32351 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
32353 return Py_BuildValue((char *)"");
32355 static PyObject
*_wrap_new_PyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32356 PyObject
*resultobj
;
32357 wxWindow
*arg1
= (wxWindow
*) 0 ;
32358 int arg2
= (int) (int)-1 ;
32359 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32360 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32361 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32362 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32363 long arg5
= (long) 0 ;
32364 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32365 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32366 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
32367 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32368 wxPyControl
*result
;
32371 bool temp7
= false ;
32372 PyObject
* obj0
= 0 ;
32373 PyObject
* obj1
= 0 ;
32374 PyObject
* obj2
= 0 ;
32375 PyObject
* obj3
= 0 ;
32376 PyObject
* obj4
= 0 ;
32377 PyObject
* obj5
= 0 ;
32378 PyObject
* obj6
= 0 ;
32379 char *kwnames
[] = {
32380 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
32384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32385 if (SWIG_arg_fail(1)) SWIG_fail
;
32388 arg2
= (int const)(SWIG_As_int(obj1
));
32389 if (SWIG_arg_fail(2)) SWIG_fail
;
32395 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32401 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32406 arg5
= (long)(SWIG_As_long(obj4
));
32407 if (SWIG_arg_fail(5)) SWIG_fail
;
32412 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32413 if (SWIG_arg_fail(6)) SWIG_fail
;
32414 if (arg6
== NULL
) {
32415 SWIG_null_ref("wxValidator");
32417 if (SWIG_arg_fail(6)) SWIG_fail
;
32422 arg7
= wxString_in_helper(obj6
);
32423 if (arg7
== NULL
) SWIG_fail
;
32428 if (!wxPyCheckForApp()) SWIG_fail
;
32429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32430 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32432 wxPyEndAllowThreads(__tstate
);
32433 if (PyErr_Occurred()) SWIG_fail
;
32435 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
32450 static PyObject
*_wrap_new_PrePyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32451 PyObject
*resultobj
;
32452 wxPyControl
*result
;
32453 char *kwnames
[] = {
32457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
32459 if (!wxPyCheckForApp()) SWIG_fail
;
32460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32461 result
= (wxPyControl
*)new wxPyControl();
32463 wxPyEndAllowThreads(__tstate
);
32464 if (PyErr_Occurred()) SWIG_fail
;
32466 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
32473 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32474 PyObject
*resultobj
;
32475 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32476 PyObject
*arg2
= (PyObject
*) 0 ;
32477 PyObject
*arg3
= (PyObject
*) 0 ;
32478 PyObject
* obj0
= 0 ;
32479 PyObject
* obj1
= 0 ;
32480 PyObject
* obj2
= 0 ;
32481 char *kwnames
[] = {
32482 (char *) "self",(char *) "self",(char *) "_class", NULL
32485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32487 if (SWIG_arg_fail(1)) SWIG_fail
;
32491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32492 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32494 wxPyEndAllowThreads(__tstate
);
32495 if (PyErr_Occurred()) SWIG_fail
;
32497 Py_INCREF(Py_None
); resultobj
= Py_None
;
32504 static PyObject
*_wrap_PyControl_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32505 PyObject
*resultobj
;
32506 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32509 PyObject
* obj0
= 0 ;
32510 PyObject
* obj1
= 0 ;
32511 char *kwnames
[] = {
32512 (char *) "self",(char *) "size", NULL
32515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
32516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32517 if (SWIG_arg_fail(1)) SWIG_fail
;
32520 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
32523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32524 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
32526 wxPyEndAllowThreads(__tstate
);
32527 if (PyErr_Occurred()) SWIG_fail
;
32529 Py_INCREF(Py_None
); resultobj
= Py_None
;
32536 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32537 PyObject
*resultobj
;
32538 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32543 PyObject
* obj0
= 0 ;
32544 PyObject
* obj1
= 0 ;
32545 PyObject
* obj2
= 0 ;
32546 PyObject
* obj3
= 0 ;
32547 PyObject
* obj4
= 0 ;
32548 char *kwnames
[] = {
32549 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32554 if (SWIG_arg_fail(1)) SWIG_fail
;
32556 arg2
= (int)(SWIG_As_int(obj1
));
32557 if (SWIG_arg_fail(2)) SWIG_fail
;
32560 arg3
= (int)(SWIG_As_int(obj2
));
32561 if (SWIG_arg_fail(3)) SWIG_fail
;
32564 arg4
= (int)(SWIG_As_int(obj3
));
32565 if (SWIG_arg_fail(4)) SWIG_fail
;
32568 arg5
= (int)(SWIG_As_int(obj4
));
32569 if (SWIG_arg_fail(5)) SWIG_fail
;
32572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32573 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
32575 wxPyEndAllowThreads(__tstate
);
32576 if (PyErr_Occurred()) SWIG_fail
;
32578 Py_INCREF(Py_None
); resultobj
= Py_None
;
32585 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32586 PyObject
*resultobj
;
32587 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32592 int arg6
= (int) wxSIZE_AUTO
;
32593 PyObject
* obj0
= 0 ;
32594 PyObject
* obj1
= 0 ;
32595 PyObject
* obj2
= 0 ;
32596 PyObject
* obj3
= 0 ;
32597 PyObject
* obj4
= 0 ;
32598 PyObject
* obj5
= 0 ;
32599 char *kwnames
[] = {
32600 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
32603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32605 if (SWIG_arg_fail(1)) SWIG_fail
;
32607 arg2
= (int)(SWIG_As_int(obj1
));
32608 if (SWIG_arg_fail(2)) SWIG_fail
;
32611 arg3
= (int)(SWIG_As_int(obj2
));
32612 if (SWIG_arg_fail(3)) SWIG_fail
;
32615 arg4
= (int)(SWIG_As_int(obj3
));
32616 if (SWIG_arg_fail(4)) SWIG_fail
;
32619 arg5
= (int)(SWIG_As_int(obj4
));
32620 if (SWIG_arg_fail(5)) SWIG_fail
;
32624 arg6
= (int)(SWIG_As_int(obj5
));
32625 if (SWIG_arg_fail(6)) SWIG_fail
;
32629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32630 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
32632 wxPyEndAllowThreads(__tstate
);
32633 if (PyErr_Occurred()) SWIG_fail
;
32635 Py_INCREF(Py_None
); resultobj
= Py_None
;
32642 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32643 PyObject
*resultobj
;
32644 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32647 PyObject
* obj0
= 0 ;
32648 PyObject
* obj1
= 0 ;
32649 PyObject
* obj2
= 0 ;
32650 char *kwnames
[] = {
32651 (char *) "self",(char *) "width",(char *) "height", NULL
32654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32656 if (SWIG_arg_fail(1)) SWIG_fail
;
32658 arg2
= (int)(SWIG_As_int(obj1
));
32659 if (SWIG_arg_fail(2)) SWIG_fail
;
32662 arg3
= (int)(SWIG_As_int(obj2
));
32663 if (SWIG_arg_fail(3)) SWIG_fail
;
32666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32667 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
32669 wxPyEndAllowThreads(__tstate
);
32670 if (PyErr_Occurred()) SWIG_fail
;
32672 Py_INCREF(Py_None
); resultobj
= Py_None
;
32679 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32680 PyObject
*resultobj
;
32681 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32684 PyObject
* obj0
= 0 ;
32685 PyObject
* obj1
= 0 ;
32686 PyObject
* obj2
= 0 ;
32687 char *kwnames
[] = {
32688 (char *) "self",(char *) "x",(char *) "y", NULL
32691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32693 if (SWIG_arg_fail(1)) SWIG_fail
;
32695 arg2
= (int)(SWIG_As_int(obj1
));
32696 if (SWIG_arg_fail(2)) SWIG_fail
;
32699 arg3
= (int)(SWIG_As_int(obj2
));
32700 if (SWIG_arg_fail(3)) SWIG_fail
;
32703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32704 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
32706 wxPyEndAllowThreads(__tstate
);
32707 if (PyErr_Occurred()) SWIG_fail
;
32709 Py_INCREF(Py_None
); resultobj
= Py_None
;
32716 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32717 PyObject
*resultobj
;
32718 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32719 int *arg2
= (int *) 0 ;
32720 int *arg3
= (int *) 0 ;
32725 PyObject
* obj0
= 0 ;
32726 char *kwnames
[] = {
32727 (char *) "self", NULL
32730 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32731 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
32733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32734 if (SWIG_arg_fail(1)) SWIG_fail
;
32736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32737 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
32739 wxPyEndAllowThreads(__tstate
);
32740 if (PyErr_Occurred()) SWIG_fail
;
32742 Py_INCREF(Py_None
); resultobj
= Py_None
;
32743 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32744 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32745 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32746 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32753 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32754 PyObject
*resultobj
;
32755 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32756 int *arg2
= (int *) 0 ;
32757 int *arg3
= (int *) 0 ;
32762 PyObject
* obj0
= 0 ;
32763 char *kwnames
[] = {
32764 (char *) "self", NULL
32767 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32768 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
32770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32771 if (SWIG_arg_fail(1)) SWIG_fail
;
32773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32774 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
32776 wxPyEndAllowThreads(__tstate
);
32777 if (PyErr_Occurred()) SWIG_fail
;
32779 Py_INCREF(Py_None
); resultobj
= Py_None
;
32780 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32781 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32782 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32783 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32790 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32791 PyObject
*resultobj
;
32792 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32793 int *arg2
= (int *) 0 ;
32794 int *arg3
= (int *) 0 ;
32799 PyObject
* obj0
= 0 ;
32800 char *kwnames
[] = {
32801 (char *) "self", NULL
32804 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32805 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
32807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32808 if (SWIG_arg_fail(1)) SWIG_fail
;
32810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32811 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
32813 wxPyEndAllowThreads(__tstate
);
32814 if (PyErr_Occurred()) SWIG_fail
;
32816 Py_INCREF(Py_None
); resultobj
= Py_None
;
32817 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32818 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32819 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32820 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32827 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32828 PyObject
*resultobj
;
32829 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32831 PyObject
* obj0
= 0 ;
32832 char *kwnames
[] = {
32833 (char *) "self", NULL
32836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
32837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32838 if (SWIG_arg_fail(1)) SWIG_fail
;
32840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32841 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
32843 wxPyEndAllowThreads(__tstate
);
32844 if (PyErr_Occurred()) SWIG_fail
;
32847 wxSize
* resultptr
;
32848 resultptr
= new wxSize((wxSize
&)(result
));
32849 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32857 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32858 PyObject
*resultobj
;
32859 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32861 PyObject
* obj0
= 0 ;
32862 char *kwnames
[] = {
32863 (char *) "self", NULL
32866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
32867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32868 if (SWIG_arg_fail(1)) SWIG_fail
;
32870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32871 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
32873 wxPyEndAllowThreads(__tstate
);
32874 if (PyErr_Occurred()) SWIG_fail
;
32877 wxSize
* resultptr
;
32878 resultptr
= new wxSize((wxSize
&)(result
));
32879 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32887 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32888 PyObject
*resultobj
;
32889 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32890 PyObject
* obj0
= 0 ;
32891 char *kwnames
[] = {
32892 (char *) "self", NULL
32895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
32896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32897 if (SWIG_arg_fail(1)) SWIG_fail
;
32899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32900 (arg1
)->base_InitDialog();
32902 wxPyEndAllowThreads(__tstate
);
32903 if (PyErr_Occurred()) SWIG_fail
;
32905 Py_INCREF(Py_None
); resultobj
= Py_None
;
32912 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32913 PyObject
*resultobj
;
32914 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32916 PyObject
* obj0
= 0 ;
32917 char *kwnames
[] = {
32918 (char *) "self", NULL
32921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
32922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32923 if (SWIG_arg_fail(1)) SWIG_fail
;
32925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32926 result
= (bool)(arg1
)->base_TransferDataToWindow();
32928 wxPyEndAllowThreads(__tstate
);
32929 if (PyErr_Occurred()) SWIG_fail
;
32932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32940 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32941 PyObject
*resultobj
;
32942 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32944 PyObject
* obj0
= 0 ;
32945 char *kwnames
[] = {
32946 (char *) "self", NULL
32949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
32950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32951 if (SWIG_arg_fail(1)) SWIG_fail
;
32953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32954 result
= (bool)(arg1
)->base_TransferDataFromWindow();
32956 wxPyEndAllowThreads(__tstate
);
32957 if (PyErr_Occurred()) SWIG_fail
;
32960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32968 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32969 PyObject
*resultobj
;
32970 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32972 PyObject
* obj0
= 0 ;
32973 char *kwnames
[] = {
32974 (char *) "self", NULL
32977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
32978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32979 if (SWIG_arg_fail(1)) SWIG_fail
;
32981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32982 result
= (bool)(arg1
)->base_Validate();
32984 wxPyEndAllowThreads(__tstate
);
32985 if (PyErr_Occurred()) SWIG_fail
;
32988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32996 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32997 PyObject
*resultobj
;
32998 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33000 PyObject
* obj0
= 0 ;
33001 char *kwnames
[] = {
33002 (char *) "self", NULL
33005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
33006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33007 if (SWIG_arg_fail(1)) SWIG_fail
;
33009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33010 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
33012 wxPyEndAllowThreads(__tstate
);
33013 if (PyErr_Occurred()) SWIG_fail
;
33016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33024 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33025 PyObject
*resultobj
;
33026 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33028 PyObject
* obj0
= 0 ;
33029 char *kwnames
[] = {
33030 (char *) "self", NULL
33033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
33034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33035 if (SWIG_arg_fail(1)) SWIG_fail
;
33037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33038 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
33040 wxPyEndAllowThreads(__tstate
);
33041 if (PyErr_Occurred()) SWIG_fail
;
33044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33052 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33053 PyObject
*resultobj
;
33054 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33056 PyObject
* obj0
= 0 ;
33057 char *kwnames
[] = {
33058 (char *) "self", NULL
33061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
33062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33063 if (SWIG_arg_fail(1)) SWIG_fail
;
33065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33066 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
33068 wxPyEndAllowThreads(__tstate
);
33069 if (PyErr_Occurred()) SWIG_fail
;
33072 wxSize
* resultptr
;
33073 resultptr
= new wxSize((wxSize
&)(result
));
33074 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
33082 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33083 PyObject
*resultobj
;
33084 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33085 wxWindow
*arg2
= (wxWindow
*) 0 ;
33086 PyObject
* obj0
= 0 ;
33087 PyObject
* obj1
= 0 ;
33088 char *kwnames
[] = {
33089 (char *) "self",(char *) "child", NULL
33092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
33093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33094 if (SWIG_arg_fail(1)) SWIG_fail
;
33095 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33096 if (SWIG_arg_fail(2)) SWIG_fail
;
33098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33099 (arg1
)->base_AddChild(arg2
);
33101 wxPyEndAllowThreads(__tstate
);
33102 if (PyErr_Occurred()) SWIG_fail
;
33104 Py_INCREF(Py_None
); resultobj
= Py_None
;
33111 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33112 PyObject
*resultobj
;
33113 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33114 wxWindow
*arg2
= (wxWindow
*) 0 ;
33115 PyObject
* obj0
= 0 ;
33116 PyObject
* obj1
= 0 ;
33117 char *kwnames
[] = {
33118 (char *) "self",(char *) "child", NULL
33121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
33122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33123 if (SWIG_arg_fail(1)) SWIG_fail
;
33124 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33125 if (SWIG_arg_fail(2)) SWIG_fail
;
33127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33128 (arg1
)->base_RemoveChild(arg2
);
33130 wxPyEndAllowThreads(__tstate
);
33131 if (PyErr_Occurred()) SWIG_fail
;
33133 Py_INCREF(Py_None
); resultobj
= Py_None
;
33140 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33141 PyObject
*resultobj
;
33142 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33144 PyObject
* obj0
= 0 ;
33145 char *kwnames
[] = {
33146 (char *) "self", NULL
33149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
33150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33151 if (SWIG_arg_fail(1)) SWIG_fail
;
33153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33154 result
= (bool)((wxPyControl
const *)arg1
)->base_ShouldInheritColours();
33156 wxPyEndAllowThreads(__tstate
);
33157 if (PyErr_Occurred()) SWIG_fail
;
33160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33168 static PyObject
*_wrap_PyControl_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33169 PyObject
*resultobj
;
33170 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33171 wxColour
*arg2
= 0 ;
33173 PyObject
* obj0
= 0 ;
33174 PyObject
* obj1
= 0 ;
33175 char *kwnames
[] = {
33176 (char *) "self",(char *) "c", NULL
33179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
33180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33181 if (SWIG_arg_fail(1)) SWIG_fail
;
33184 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33188 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
33190 wxPyEndAllowThreads(__tstate
);
33191 if (PyErr_Occurred()) SWIG_fail
;
33193 Py_INCREF(Py_None
); resultobj
= Py_None
;
33200 static PyObject
*_wrap_PyControl_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33201 PyObject
*resultobj
;
33202 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33203 wxVisualAttributes result
;
33204 PyObject
* obj0
= 0 ;
33205 char *kwnames
[] = {
33206 (char *) "self", NULL
33209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
33210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33211 if (SWIG_arg_fail(1)) SWIG_fail
;
33213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33214 result
= (arg1
)->base_GetDefaultAttributes();
33216 wxPyEndAllowThreads(__tstate
);
33217 if (PyErr_Occurred()) SWIG_fail
;
33220 wxVisualAttributes
* resultptr
;
33221 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
33222 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
33230 static PyObject
* PyControl_swigregister(PyObject
*, PyObject
*args
) {
33232 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33233 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
33235 return Py_BuildValue((char *)"");
33237 static PyObject
*_wrap_new_HelpEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33238 PyObject
*resultobj
;
33239 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
33240 int arg2
= (int) 0 ;
33241 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33242 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33243 wxHelpEvent
*result
;
33245 PyObject
* obj0
= 0 ;
33246 PyObject
* obj1
= 0 ;
33247 PyObject
* obj2
= 0 ;
33248 char *kwnames
[] = {
33249 (char *) "type",(char *) "winid",(char *) "pt", NULL
33252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33255 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
33256 if (SWIG_arg_fail(1)) SWIG_fail
;
33261 arg2
= (int)(SWIG_As_int(obj1
));
33262 if (SWIG_arg_fail(2)) SWIG_fail
;
33268 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33273 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
33275 wxPyEndAllowThreads(__tstate
);
33276 if (PyErr_Occurred()) SWIG_fail
;
33278 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
33285 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33286 PyObject
*resultobj
;
33287 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33289 PyObject
* obj0
= 0 ;
33290 char *kwnames
[] = {
33291 (char *) "self", NULL
33294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
33295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33296 if (SWIG_arg_fail(1)) SWIG_fail
;
33298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33299 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
33301 wxPyEndAllowThreads(__tstate
);
33302 if (PyErr_Occurred()) SWIG_fail
;
33305 wxPoint
* resultptr
;
33306 resultptr
= new wxPoint((wxPoint
const &)(result
));
33307 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
33315 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33316 PyObject
*resultobj
;
33317 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33318 wxPoint
*arg2
= 0 ;
33320 PyObject
* obj0
= 0 ;
33321 PyObject
* obj1
= 0 ;
33322 char *kwnames
[] = {
33323 (char *) "self",(char *) "pos", NULL
33326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
33327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33328 if (SWIG_arg_fail(1)) SWIG_fail
;
33331 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33335 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
33337 wxPyEndAllowThreads(__tstate
);
33338 if (PyErr_Occurred()) SWIG_fail
;
33340 Py_INCREF(Py_None
); resultobj
= Py_None
;
33347 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33348 PyObject
*resultobj
;
33349 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33351 PyObject
* obj0
= 0 ;
33352 char *kwnames
[] = {
33353 (char *) "self", NULL
33356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
33357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33358 if (SWIG_arg_fail(1)) SWIG_fail
;
33360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33362 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
33363 result
= (wxString
*) &_result_ref
;
33366 wxPyEndAllowThreads(__tstate
);
33367 if (PyErr_Occurred()) SWIG_fail
;
33371 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33373 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33382 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33383 PyObject
*resultobj
;
33384 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33385 wxString
*arg2
= 0 ;
33386 bool temp2
= false ;
33387 PyObject
* obj0
= 0 ;
33388 PyObject
* obj1
= 0 ;
33389 char *kwnames
[] = {
33390 (char *) "self",(char *) "link", NULL
33393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
33394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33395 if (SWIG_arg_fail(1)) SWIG_fail
;
33397 arg2
= wxString_in_helper(obj1
);
33398 if (arg2
== NULL
) SWIG_fail
;
33402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33403 (arg1
)->SetLink((wxString
const &)*arg2
);
33405 wxPyEndAllowThreads(__tstate
);
33406 if (PyErr_Occurred()) SWIG_fail
;
33408 Py_INCREF(Py_None
); resultobj
= Py_None
;
33423 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33424 PyObject
*resultobj
;
33425 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33427 PyObject
* obj0
= 0 ;
33428 char *kwnames
[] = {
33429 (char *) "self", NULL
33432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
33433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33434 if (SWIG_arg_fail(1)) SWIG_fail
;
33436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33438 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
33439 result
= (wxString
*) &_result_ref
;
33442 wxPyEndAllowThreads(__tstate
);
33443 if (PyErr_Occurred()) SWIG_fail
;
33447 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33449 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33458 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33459 PyObject
*resultobj
;
33460 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33461 wxString
*arg2
= 0 ;
33462 bool temp2
= false ;
33463 PyObject
* obj0
= 0 ;
33464 PyObject
* obj1
= 0 ;
33465 char *kwnames
[] = {
33466 (char *) "self",(char *) "target", NULL
33469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
33470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33471 if (SWIG_arg_fail(1)) SWIG_fail
;
33473 arg2
= wxString_in_helper(obj1
);
33474 if (arg2
== NULL
) SWIG_fail
;
33478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33479 (arg1
)->SetTarget((wxString
const &)*arg2
);
33481 wxPyEndAllowThreads(__tstate
);
33482 if (PyErr_Occurred()) SWIG_fail
;
33484 Py_INCREF(Py_None
); resultobj
= Py_None
;
33499 static PyObject
* HelpEvent_swigregister(PyObject
*, PyObject
*args
) {
33501 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33502 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
33504 return Py_BuildValue((char *)"");
33506 static PyObject
*_wrap_new_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33507 PyObject
*resultobj
;
33508 wxWindow
*arg1
= (wxWindow
*) NULL
;
33509 bool arg2
= (bool) true ;
33510 wxContextHelp
*result
;
33511 PyObject
* obj0
= 0 ;
33512 PyObject
* obj1
= 0 ;
33513 char *kwnames
[] = {
33514 (char *) "window",(char *) "doNow", NULL
33517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33520 if (SWIG_arg_fail(1)) SWIG_fail
;
33524 arg2
= (bool)(SWIG_As_bool(obj1
));
33525 if (SWIG_arg_fail(2)) SWIG_fail
;
33529 if (!wxPyCheckForApp()) SWIG_fail
;
33530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33531 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
33533 wxPyEndAllowThreads(__tstate
);
33534 if (PyErr_Occurred()) SWIG_fail
;
33536 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
33543 static PyObject
*_wrap_delete_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33544 PyObject
*resultobj
;
33545 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33546 PyObject
* obj0
= 0 ;
33547 char *kwnames
[] = {
33548 (char *) "self", NULL
33551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
33552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33553 if (SWIG_arg_fail(1)) SWIG_fail
;
33555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33558 wxPyEndAllowThreads(__tstate
);
33559 if (PyErr_Occurred()) SWIG_fail
;
33561 Py_INCREF(Py_None
); resultobj
= Py_None
;
33568 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33569 PyObject
*resultobj
;
33570 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33571 wxWindow
*arg2
= (wxWindow
*) NULL
;
33573 PyObject
* obj0
= 0 ;
33574 PyObject
* obj1
= 0 ;
33575 char *kwnames
[] = {
33576 (char *) "self",(char *) "window", NULL
33579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33581 if (SWIG_arg_fail(1)) SWIG_fail
;
33583 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33584 if (SWIG_arg_fail(2)) SWIG_fail
;
33587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33588 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
33590 wxPyEndAllowThreads(__tstate
);
33591 if (PyErr_Occurred()) SWIG_fail
;
33594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33602 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33603 PyObject
*resultobj
;
33604 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33606 PyObject
* obj0
= 0 ;
33607 char *kwnames
[] = {
33608 (char *) "self", NULL
33611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
33612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33613 if (SWIG_arg_fail(1)) SWIG_fail
;
33615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33616 result
= (bool)(arg1
)->EndContextHelp();
33618 wxPyEndAllowThreads(__tstate
);
33619 if (PyErr_Occurred()) SWIG_fail
;
33622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33630 static PyObject
* ContextHelp_swigregister(PyObject
*, PyObject
*args
) {
33632 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33633 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
33635 return Py_BuildValue((char *)"");
33637 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33638 PyObject
*resultobj
;
33639 wxWindow
*arg1
= (wxWindow
*) 0 ;
33640 int arg2
= (int) wxID_CONTEXT_HELP
;
33641 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33642 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33643 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33644 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33645 long arg5
= (long) wxBU_AUTODRAW
;
33646 wxContextHelpButton
*result
;
33649 PyObject
* obj0
= 0 ;
33650 PyObject
* obj1
= 0 ;
33651 PyObject
* obj2
= 0 ;
33652 PyObject
* obj3
= 0 ;
33653 PyObject
* obj4
= 0 ;
33654 char *kwnames
[] = {
33655 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33660 if (SWIG_arg_fail(1)) SWIG_fail
;
33663 arg2
= (int)(SWIG_As_int(obj1
));
33664 if (SWIG_arg_fail(2)) SWIG_fail
;
33670 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33676 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33681 arg5
= (long)(SWIG_As_long(obj4
));
33682 if (SWIG_arg_fail(5)) SWIG_fail
;
33686 if (!wxPyCheckForApp()) SWIG_fail
;
33687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33688 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
33690 wxPyEndAllowThreads(__tstate
);
33691 if (PyErr_Occurred()) SWIG_fail
;
33693 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
33700 static PyObject
* ContextHelpButton_swigregister(PyObject
*, PyObject
*args
) {
33702 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33703 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
33705 return Py_BuildValue((char *)"");
33707 static PyObject
*_wrap_HelpProvider_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33708 PyObject
*resultobj
;
33709 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33710 wxHelpProvider
*result
;
33711 PyObject
* obj0
= 0 ;
33712 char *kwnames
[] = {
33713 (char *) "helpProvider", NULL
33716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
33717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33718 if (SWIG_arg_fail(1)) SWIG_fail
;
33720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33721 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
33723 wxPyEndAllowThreads(__tstate
);
33724 if (PyErr_Occurred()) SWIG_fail
;
33726 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
33733 static PyObject
*_wrap_HelpProvider_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33734 PyObject
*resultobj
;
33735 wxHelpProvider
*result
;
33736 char *kwnames
[] = {
33740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
33742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33743 result
= (wxHelpProvider
*)wxHelpProvider::Get();
33745 wxPyEndAllowThreads(__tstate
);
33746 if (PyErr_Occurred()) SWIG_fail
;
33748 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
33755 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33756 PyObject
*resultobj
;
33757 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33758 wxWindow
*arg2
= (wxWindow
*) 0 ;
33760 PyObject
* obj0
= 0 ;
33761 PyObject
* obj1
= 0 ;
33762 char *kwnames
[] = {
33763 (char *) "self",(char *) "window", NULL
33766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33768 if (SWIG_arg_fail(1)) SWIG_fail
;
33769 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33770 if (SWIG_arg_fail(2)) SWIG_fail
;
33772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33773 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
33775 wxPyEndAllowThreads(__tstate
);
33776 if (PyErr_Occurred()) SWIG_fail
;
33780 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33782 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33791 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33792 PyObject
*resultobj
;
33793 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33794 wxWindow
*arg2
= (wxWindow
*) 0 ;
33796 PyObject
* obj0
= 0 ;
33797 PyObject
* obj1
= 0 ;
33798 char *kwnames
[] = {
33799 (char *) "self",(char *) "window", NULL
33802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33804 if (SWIG_arg_fail(1)) SWIG_fail
;
33805 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33806 if (SWIG_arg_fail(2)) SWIG_fail
;
33808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33809 result
= (bool)(arg1
)->ShowHelp(arg2
);
33811 wxPyEndAllowThreads(__tstate
);
33812 if (PyErr_Occurred()) SWIG_fail
;
33815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33823 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33824 PyObject
*resultobj
;
33825 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33826 wxWindow
*arg2
= (wxWindow
*) 0 ;
33827 wxString
*arg3
= 0 ;
33828 bool temp3
= false ;
33829 PyObject
* obj0
= 0 ;
33830 PyObject
* obj1
= 0 ;
33831 PyObject
* obj2
= 0 ;
33832 char *kwnames
[] = {
33833 (char *) "self",(char *) "window",(char *) "text", NULL
33836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33838 if (SWIG_arg_fail(1)) SWIG_fail
;
33839 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33840 if (SWIG_arg_fail(2)) SWIG_fail
;
33842 arg3
= wxString_in_helper(obj2
);
33843 if (arg3
== NULL
) SWIG_fail
;
33847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33848 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
33850 wxPyEndAllowThreads(__tstate
);
33851 if (PyErr_Occurred()) SWIG_fail
;
33853 Py_INCREF(Py_None
); resultobj
= Py_None
;
33868 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33869 PyObject
*resultobj
;
33870 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33872 wxString
*arg3
= 0 ;
33873 bool temp3
= false ;
33874 PyObject
* obj0
= 0 ;
33875 PyObject
* obj1
= 0 ;
33876 PyObject
* obj2
= 0 ;
33877 char *kwnames
[] = {
33878 (char *) "self",(char *) "id",(char *) "text", NULL
33881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33883 if (SWIG_arg_fail(1)) SWIG_fail
;
33885 arg2
= (int)(SWIG_As_int(obj1
));
33886 if (SWIG_arg_fail(2)) SWIG_fail
;
33889 arg3
= wxString_in_helper(obj2
);
33890 if (arg3
== NULL
) SWIG_fail
;
33894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33895 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
33897 wxPyEndAllowThreads(__tstate
);
33898 if (PyErr_Occurred()) SWIG_fail
;
33900 Py_INCREF(Py_None
); resultobj
= Py_None
;
33915 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33916 PyObject
*resultobj
;
33917 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33918 wxWindow
*arg2
= (wxWindow
*) 0 ;
33919 PyObject
* obj0
= 0 ;
33920 PyObject
* obj1
= 0 ;
33921 char *kwnames
[] = {
33922 (char *) "self",(char *) "window", NULL
33925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33927 if (SWIG_arg_fail(1)) SWIG_fail
;
33928 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33929 if (SWIG_arg_fail(2)) SWIG_fail
;
33931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33932 (arg1
)->RemoveHelp(arg2
);
33934 wxPyEndAllowThreads(__tstate
);
33935 if (PyErr_Occurred()) SWIG_fail
;
33937 Py_INCREF(Py_None
); resultobj
= Py_None
;
33944 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33945 PyObject
*resultobj
;
33946 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33947 PyObject
* obj0
= 0 ;
33948 char *kwnames
[] = {
33949 (char *) "self", NULL
33952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
33953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33954 if (SWIG_arg_fail(1)) SWIG_fail
;
33956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33957 wxHelpProvider_Destroy(arg1
);
33959 wxPyEndAllowThreads(__tstate
);
33960 if (PyErr_Occurred()) SWIG_fail
;
33962 Py_INCREF(Py_None
); resultobj
= Py_None
;
33969 static PyObject
* HelpProvider_swigregister(PyObject
*, PyObject
*args
) {
33971 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33972 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
33974 return Py_BuildValue((char *)"");
33976 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33977 PyObject
*resultobj
;
33978 wxSimpleHelpProvider
*result
;
33979 char *kwnames
[] = {
33983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
33985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33986 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
33988 wxPyEndAllowThreads(__tstate
);
33989 if (PyErr_Occurred()) SWIG_fail
;
33991 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
33998 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*, PyObject
*args
) {
34000 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34001 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
34003 return Py_BuildValue((char *)"");
34005 static PyObject
*_wrap_new_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34006 PyObject
*resultobj
;
34007 wxBitmap
*arg1
= 0 ;
34008 wxCursor
const &arg2_defvalue
= wxNullCursor
;
34009 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
34010 wxGenericDragImage
*result
;
34011 PyObject
* obj0
= 0 ;
34012 PyObject
* obj1
= 0 ;
34013 char *kwnames
[] = {
34014 (char *) "image",(char *) "cursor", NULL
34017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
34019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
34020 if (SWIG_arg_fail(1)) SWIG_fail
;
34021 if (arg1
== NULL
) {
34022 SWIG_null_ref("wxBitmap");
34024 if (SWIG_arg_fail(1)) SWIG_fail
;
34028 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
34029 if (SWIG_arg_fail(2)) SWIG_fail
;
34030 if (arg2
== NULL
) {
34031 SWIG_null_ref("wxCursor");
34033 if (SWIG_arg_fail(2)) SWIG_fail
;
34037 if (!wxPyCheckForApp()) SWIG_fail
;
34038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34039 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
34041 wxPyEndAllowThreads(__tstate
);
34042 if (PyErr_Occurred()) SWIG_fail
;
34044 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
34051 static PyObject
*_wrap_new_DragIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34052 PyObject
*resultobj
;
34054 wxCursor
const &arg2_defvalue
= wxNullCursor
;
34055 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
34056 wxGenericDragImage
*result
;
34057 PyObject
* obj0
= 0 ;
34058 PyObject
* obj1
= 0 ;
34059 char *kwnames
[] = {
34060 (char *) "image",(char *) "cursor", NULL
34063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
34065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
34066 if (SWIG_arg_fail(1)) SWIG_fail
;
34067 if (arg1
== NULL
) {
34068 SWIG_null_ref("wxIcon");
34070 if (SWIG_arg_fail(1)) SWIG_fail
;
34074 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
34075 if (SWIG_arg_fail(2)) SWIG_fail
;
34076 if (arg2
== NULL
) {
34077 SWIG_null_ref("wxCursor");
34079 if (SWIG_arg_fail(2)) SWIG_fail
;
34083 if (!wxPyCheckForApp()) SWIG_fail
;
34084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34085 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
34087 wxPyEndAllowThreads(__tstate
);
34088 if (PyErr_Occurred()) SWIG_fail
;
34090 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
34097 static PyObject
*_wrap_new_DragString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34098 PyObject
*resultobj
;
34099 wxString
*arg1
= 0 ;
34100 wxCursor
const &arg2_defvalue
= wxNullCursor
;
34101 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
34102 wxGenericDragImage
*result
;
34103 bool temp1
= false ;
34104 PyObject
* obj0
= 0 ;
34105 PyObject
* obj1
= 0 ;
34106 char *kwnames
[] = {
34107 (char *) "str",(char *) "cursor", NULL
34110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
34112 arg1
= wxString_in_helper(obj0
);
34113 if (arg1
== NULL
) SWIG_fail
;
34118 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
34119 if (SWIG_arg_fail(2)) SWIG_fail
;
34120 if (arg2
== NULL
) {
34121 SWIG_null_ref("wxCursor");
34123 if (SWIG_arg_fail(2)) SWIG_fail
;
34127 if (!wxPyCheckForApp()) SWIG_fail
;
34128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34129 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
34131 wxPyEndAllowThreads(__tstate
);
34132 if (PyErr_Occurred()) SWIG_fail
;
34134 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
34149 static PyObject
*_wrap_new_DragTreeItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34150 PyObject
*resultobj
;
34151 wxPyTreeCtrl
*arg1
= 0 ;
34152 wxTreeItemId
*arg2
= 0 ;
34153 wxGenericDragImage
*result
;
34154 PyObject
* obj0
= 0 ;
34155 PyObject
* obj1
= 0 ;
34156 char *kwnames
[] = {
34157 (char *) "treeCtrl",(char *) "id", NULL
34160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34163 if (SWIG_arg_fail(1)) SWIG_fail
;
34164 if (arg1
== NULL
) {
34165 SWIG_null_ref("wxPyTreeCtrl");
34167 if (SWIG_arg_fail(1)) SWIG_fail
;
34170 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
34171 if (SWIG_arg_fail(2)) SWIG_fail
;
34172 if (arg2
== NULL
) {
34173 SWIG_null_ref("wxTreeItemId");
34175 if (SWIG_arg_fail(2)) SWIG_fail
;
34178 if (!wxPyCheckForApp()) SWIG_fail
;
34179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34180 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
34182 wxPyEndAllowThreads(__tstate
);
34183 if (PyErr_Occurred()) SWIG_fail
;
34185 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
34192 static PyObject
*_wrap_new_DragListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34193 PyObject
*resultobj
;
34194 wxPyListCtrl
*arg1
= 0 ;
34196 wxGenericDragImage
*result
;
34197 PyObject
* obj0
= 0 ;
34198 PyObject
* obj1
= 0 ;
34199 char *kwnames
[] = {
34200 (char *) "listCtrl",(char *) "id", NULL
34203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34206 if (SWIG_arg_fail(1)) SWIG_fail
;
34207 if (arg1
== NULL
) {
34208 SWIG_null_ref("wxPyListCtrl");
34210 if (SWIG_arg_fail(1)) SWIG_fail
;
34213 arg2
= (long)(SWIG_As_long(obj1
));
34214 if (SWIG_arg_fail(2)) SWIG_fail
;
34217 if (!wxPyCheckForApp()) SWIG_fail
;
34218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34219 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
34221 wxPyEndAllowThreads(__tstate
);
34222 if (PyErr_Occurred()) SWIG_fail
;
34224 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
34231 static PyObject
*_wrap_delete_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34232 PyObject
*resultobj
;
34233 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34234 PyObject
* obj0
= 0 ;
34235 char *kwnames
[] = {
34236 (char *) "self", NULL
34239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
34240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34241 if (SWIG_arg_fail(1)) SWIG_fail
;
34243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34246 wxPyEndAllowThreads(__tstate
);
34247 if (PyErr_Occurred()) SWIG_fail
;
34249 Py_INCREF(Py_None
); resultobj
= Py_None
;
34256 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34257 PyObject
*resultobj
;
34258 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34259 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
34260 PyObject
* obj0
= 0 ;
34261 PyObject
* obj1
= 0 ;
34262 char *kwnames
[] = {
34263 (char *) "self",(char *) "bitmap", NULL
34266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
34267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34268 if (SWIG_arg_fail(1)) SWIG_fail
;
34269 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
34270 if (SWIG_arg_fail(2)) SWIG_fail
;
34272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34273 (arg1
)->SetBackingBitmap(arg2
);
34275 wxPyEndAllowThreads(__tstate
);
34276 if (PyErr_Occurred()) SWIG_fail
;
34278 Py_INCREF(Py_None
); resultobj
= Py_None
;
34285 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34286 PyObject
*resultobj
;
34287 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34288 wxPoint
*arg2
= 0 ;
34289 wxWindow
*arg3
= (wxWindow
*) 0 ;
34290 bool arg4
= (bool) false ;
34291 wxRect
*arg5
= (wxRect
*) NULL
;
34294 PyObject
* obj0
= 0 ;
34295 PyObject
* obj1
= 0 ;
34296 PyObject
* obj2
= 0 ;
34297 PyObject
* obj3
= 0 ;
34298 PyObject
* obj4
= 0 ;
34299 char *kwnames
[] = {
34300 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
34303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34305 if (SWIG_arg_fail(1)) SWIG_fail
;
34308 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34310 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34311 if (SWIG_arg_fail(3)) SWIG_fail
;
34314 arg4
= (bool)(SWIG_As_bool(obj3
));
34315 if (SWIG_arg_fail(4)) SWIG_fail
;
34319 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
34320 if (SWIG_arg_fail(5)) SWIG_fail
;
34323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34324 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
34326 wxPyEndAllowThreads(__tstate
);
34327 if (PyErr_Occurred()) SWIG_fail
;
34330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34338 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34339 PyObject
*resultobj
;
34340 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34341 wxPoint
*arg2
= 0 ;
34342 wxWindow
*arg3
= (wxWindow
*) 0 ;
34343 wxWindow
*arg4
= (wxWindow
*) 0 ;
34346 PyObject
* obj0
= 0 ;
34347 PyObject
* obj1
= 0 ;
34348 PyObject
* obj2
= 0 ;
34349 PyObject
* obj3
= 0 ;
34350 char *kwnames
[] = {
34351 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
34354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34356 if (SWIG_arg_fail(1)) SWIG_fail
;
34359 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34361 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34362 if (SWIG_arg_fail(3)) SWIG_fail
;
34363 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34364 if (SWIG_arg_fail(4)) SWIG_fail
;
34366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34367 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
34369 wxPyEndAllowThreads(__tstate
);
34370 if (PyErr_Occurred()) SWIG_fail
;
34373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34381 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34382 PyObject
*resultobj
;
34383 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34385 PyObject
* obj0
= 0 ;
34386 char *kwnames
[] = {
34387 (char *) "self", NULL
34390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
34391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34392 if (SWIG_arg_fail(1)) SWIG_fail
;
34394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34395 result
= (bool)(arg1
)->EndDrag();
34397 wxPyEndAllowThreads(__tstate
);
34398 if (PyErr_Occurred()) SWIG_fail
;
34401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34409 static PyObject
*_wrap_DragImage_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34410 PyObject
*resultobj
;
34411 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34412 wxPoint
*arg2
= 0 ;
34415 PyObject
* obj0
= 0 ;
34416 PyObject
* obj1
= 0 ;
34417 char *kwnames
[] = {
34418 (char *) "self",(char *) "pt", NULL
34421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
34422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34423 if (SWIG_arg_fail(1)) SWIG_fail
;
34426 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34430 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
34432 wxPyEndAllowThreads(__tstate
);
34433 if (PyErr_Occurred()) SWIG_fail
;
34436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34444 static PyObject
*_wrap_DragImage_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34445 PyObject
*resultobj
;
34446 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34448 PyObject
* obj0
= 0 ;
34449 char *kwnames
[] = {
34450 (char *) "self", NULL
34453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
34454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34455 if (SWIG_arg_fail(1)) SWIG_fail
;
34457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34458 result
= (bool)(arg1
)->Show();
34460 wxPyEndAllowThreads(__tstate
);
34461 if (PyErr_Occurred()) SWIG_fail
;
34464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34472 static PyObject
*_wrap_DragImage_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34473 PyObject
*resultobj
;
34474 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34476 PyObject
* obj0
= 0 ;
34477 char *kwnames
[] = {
34478 (char *) "self", NULL
34481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
34482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34483 if (SWIG_arg_fail(1)) SWIG_fail
;
34485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34486 result
= (bool)(arg1
)->Hide();
34488 wxPyEndAllowThreads(__tstate
);
34489 if (PyErr_Occurred()) SWIG_fail
;
34492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34500 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34501 PyObject
*resultobj
;
34502 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34503 wxPoint
*arg2
= 0 ;
34506 PyObject
* obj0
= 0 ;
34507 PyObject
* obj1
= 0 ;
34508 char *kwnames
[] = {
34509 (char *) "self",(char *) "pos", NULL
34512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
34513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34514 if (SWIG_arg_fail(1)) SWIG_fail
;
34517 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34521 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
34523 wxPyEndAllowThreads(__tstate
);
34524 if (PyErr_Occurred()) SWIG_fail
;
34527 wxRect
* resultptr
;
34528 resultptr
= new wxRect((wxRect
&)(result
));
34529 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
34537 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34538 PyObject
*resultobj
;
34539 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34541 wxPoint
*arg3
= 0 ;
34544 PyObject
* obj0
= 0 ;
34545 PyObject
* obj1
= 0 ;
34546 PyObject
* obj2
= 0 ;
34547 char *kwnames
[] = {
34548 (char *) "self",(char *) "dc",(char *) "pos", NULL
34551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34553 if (SWIG_arg_fail(1)) SWIG_fail
;
34555 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
34556 if (SWIG_arg_fail(2)) SWIG_fail
;
34557 if (arg2
== NULL
) {
34558 SWIG_null_ref("wxDC");
34560 if (SWIG_arg_fail(2)) SWIG_fail
;
34564 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34568 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
34570 wxPyEndAllowThreads(__tstate
);
34571 if (PyErr_Occurred()) SWIG_fail
;
34574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34582 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34583 PyObject
*resultobj
;
34584 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34586 wxMemoryDC
*arg3
= 0 ;
34592 PyObject
* obj0
= 0 ;
34593 PyObject
* obj1
= 0 ;
34594 PyObject
* obj2
= 0 ;
34595 PyObject
* obj3
= 0 ;
34596 PyObject
* obj4
= 0 ;
34597 char *kwnames
[] = {
34598 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
34601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34603 if (SWIG_arg_fail(1)) SWIG_fail
;
34605 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
34606 if (SWIG_arg_fail(2)) SWIG_fail
;
34607 if (arg2
== NULL
) {
34608 SWIG_null_ref("wxDC");
34610 if (SWIG_arg_fail(2)) SWIG_fail
;
34613 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_EXCEPTION
| 0);
34614 if (SWIG_arg_fail(3)) SWIG_fail
;
34615 if (arg3
== NULL
) {
34616 SWIG_null_ref("wxMemoryDC");
34618 if (SWIG_arg_fail(3)) SWIG_fail
;
34622 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34626 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
34629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34630 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
34632 wxPyEndAllowThreads(__tstate
);
34633 if (PyErr_Occurred()) SWIG_fail
;
34636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34644 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34645 PyObject
*resultobj
;
34646 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34647 wxPoint
*arg2
= 0 ;
34648 wxPoint
*arg3
= 0 ;
34654 PyObject
* obj0
= 0 ;
34655 PyObject
* obj1
= 0 ;
34656 PyObject
* obj2
= 0 ;
34657 PyObject
* obj3
= 0 ;
34658 PyObject
* obj4
= 0 ;
34659 char *kwnames
[] = {
34660 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
34663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34665 if (SWIG_arg_fail(1)) SWIG_fail
;
34668 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34672 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34675 arg4
= (bool)(SWIG_As_bool(obj3
));
34676 if (SWIG_arg_fail(4)) SWIG_fail
;
34679 arg5
= (bool)(SWIG_As_bool(obj4
));
34680 if (SWIG_arg_fail(5)) SWIG_fail
;
34683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34684 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
34686 wxPyEndAllowThreads(__tstate
);
34687 if (PyErr_Occurred()) SWIG_fail
;
34690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34698 static PyObject
* DragImage_swigregister(PyObject
*, PyObject
*args
) {
34700 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34701 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
34703 return Py_BuildValue((char *)"");
34705 static PyMethodDef SwigMethods
[] = {
34706 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34707 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34708 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34709 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34710 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34711 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34712 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
34713 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34714 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34715 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34716 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34717 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34718 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34719 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34720 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34721 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34722 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34723 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34724 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34725 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34726 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34727 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
34728 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34729 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34730 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34731 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34732 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34733 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34734 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34735 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34736 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34737 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34738 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34739 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
34740 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34741 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34742 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34743 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34744 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34745 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34746 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34747 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
34748 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34749 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34750 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34751 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34752 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34753 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34754 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34755 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34756 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34757 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34758 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34759 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34760 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34761 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34762 { (char *)"ComboBox_GetMark", (PyCFunction
) _wrap_ComboBox_GetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34763 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34764 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34765 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34766 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34767 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34768 { (char *)"ComboBox_IsEditable", (PyCFunction
) _wrap_ComboBox_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34769 { (char *)"ComboBox_Undo", (PyCFunction
) _wrap_ComboBox_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34770 { (char *)"ComboBox_Redo", (PyCFunction
) _wrap_ComboBox_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34771 { (char *)"ComboBox_SelectAll", (PyCFunction
) _wrap_ComboBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34772 { (char *)"ComboBox_CanCopy", (PyCFunction
) _wrap_ComboBox_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34773 { (char *)"ComboBox_CanCut", (PyCFunction
) _wrap_ComboBox_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34774 { (char *)"ComboBox_CanPaste", (PyCFunction
) _wrap_ComboBox_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34775 { (char *)"ComboBox_CanUndo", (PyCFunction
) _wrap_ComboBox_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34776 { (char *)"ComboBox_CanRedo", (PyCFunction
) _wrap_ComboBox_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34777 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34778 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
34779 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34780 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34781 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34782 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34783 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34784 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34785 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34786 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34787 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34788 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34789 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34790 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34791 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34792 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
34793 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34794 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34795 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34796 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34797 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
34798 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34799 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34800 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34801 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34802 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34803 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34804 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
34805 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34806 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34807 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34808 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34809 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
34810 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34811 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34812 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34813 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34814 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34815 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34816 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34817 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
34818 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34819 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34820 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34821 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34822 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34823 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34824 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34825 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34826 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34827 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34828 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34829 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34830 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34831 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34832 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34833 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34834 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34835 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34836 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34837 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34838 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34839 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34840 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
34841 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34842 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34843 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34844 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34845 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34846 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34847 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34848 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34849 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
34850 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34851 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34852 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34853 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34854 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34855 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34856 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34857 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34858 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34859 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34860 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34861 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34862 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34863 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34864 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34865 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34866 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34867 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34868 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34869 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34870 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34871 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34872 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34873 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34874 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34875 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
) _wrap_TextAttr_GetLeftSubIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34876 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34877 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34878 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34879 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34880 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
34881 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34882 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34883 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34884 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34885 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34886 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34887 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34888 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34889 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34890 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34891 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34892 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34893 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34894 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34895 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34896 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34897 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34898 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34899 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34900 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34901 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34902 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34903 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34904 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34905 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34906 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34907 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34908 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34909 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34910 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34911 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34912 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34913 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34914 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34915 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34916 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34917 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34918 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34919 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34920 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34921 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34922 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34923 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34924 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34925 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34926 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34927 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34928 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34929 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34930 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34931 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34932 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34933 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction
) _wrap_TextCtrl_ShowNativeCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34934 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction
) _wrap_TextCtrl_HideNativeCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34935 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34936 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34937 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34938 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
34939 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34940 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34941 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34942 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34943 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
34944 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34945 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34946 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34947 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34948 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34949 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34950 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34951 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34952 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34953 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34954 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34955 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
34956 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34957 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34958 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34959 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34960 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34961 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34962 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34963 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34964 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34965 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34966 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34967 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34968 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
34969 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34970 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34971 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34972 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34973 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34974 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34975 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34976 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34977 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34978 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34979 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34980 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
34981 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34982 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34983 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34984 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
34985 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34986 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34987 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34988 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34989 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34990 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34991 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34992 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34993 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34994 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34995 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34996 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34997 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34998 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34999 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35000 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35001 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35002 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
35003 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35004 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35005 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35006 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35007 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35008 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35009 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
35010 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35011 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35012 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35013 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35014 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35015 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35016 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35017 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35018 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35019 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35020 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35021 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35022 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35023 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35024 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35025 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35026 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35027 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35028 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35029 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35030 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35031 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35032 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35033 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35034 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35035 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
35036 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35037 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35038 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35039 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35040 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35041 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35042 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35043 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
35044 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
) _wrap_BookCtrlBase_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35045 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35046 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35047 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
) _wrap_BookCtrlBase_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35048 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35049 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35050 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35051 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35052 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
) _wrap_BookCtrlBase_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35053 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35054 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35055 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35056 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35057 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35058 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35059 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
) _wrap_BookCtrlBase_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35060 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35061 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35062 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35063 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35064 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35065 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
35066 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35067 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35068 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35069 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35070 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35071 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
35072 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35073 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35074 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35075 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35076 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35077 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35078 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35079 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35080 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35081 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
35082 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35083 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
35084 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35085 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35086 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35087 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35088 { (char *)"Listbook_GetListView", (PyCFunction
) _wrap_Listbook_GetListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35089 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
35090 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35091 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
35092 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35093 { (char *)"new_PreChoicebook", (PyCFunction
) _wrap_new_PreChoicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35094 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35095 { (char *)"Choicebook_IsVertical", (PyCFunction
) _wrap_Choicebook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35096 { (char *)"Choicebook_DeleteAllPages", (PyCFunction
) _wrap_Choicebook_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35097 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
35098 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35099 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
35100 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35101 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35102 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35103 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35104 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
, NULL
},
35105 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35106 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35107 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35108 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35109 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
, NULL
},
35110 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35111 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35112 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35113 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35114 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35115 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35116 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35117 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35118 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35119 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35120 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35121 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35122 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35123 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35124 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35125 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35126 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35127 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35128 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35129 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35130 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35131 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35132 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35133 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35134 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35135 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35136 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35137 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35138 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35139 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
35140 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35141 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35142 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35143 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35144 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35145 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35146 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35147 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35148 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35149 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35150 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35151 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35152 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35153 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35154 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35155 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35156 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35157 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35158 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35159 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35160 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35161 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35162 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35163 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35164 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35165 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35166 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35167 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35168 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35169 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35170 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35171 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35172 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35173 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35174 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35175 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35176 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35177 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35178 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35179 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35180 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35181 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35182 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35183 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35184 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
35185 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35186 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35187 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35188 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35189 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35190 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
35191 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35192 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35193 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35194 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35195 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35196 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35197 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35198 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35199 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35200 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35201 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35202 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
35203 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35204 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35205 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35206 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35207 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35208 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35209 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35210 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35211 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35212 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35213 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35214 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35215 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35216 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35217 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35218 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35219 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35220 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35221 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35222 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35223 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35224 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35225 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35226 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35227 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35228 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35229 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35230 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35231 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35232 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35233 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35234 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35235 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35236 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35237 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35238 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35239 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35240 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35241 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35242 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35243 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35244 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35245 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35246 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35247 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35248 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35249 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35250 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35251 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35252 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35253 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35254 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
35255 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35256 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35257 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35258 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35259 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35260 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35261 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35262 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35263 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35264 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35265 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35266 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35267 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35268 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35269 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35270 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35271 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35272 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35273 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35274 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35275 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35276 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35277 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35278 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35279 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35280 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35281 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
35282 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35283 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35284 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35285 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35286 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35287 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35288 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35289 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35290 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35291 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35292 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35293 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35294 { (char *)"ListCtrl_GetEditControl", (PyCFunction
) _wrap_ListCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35295 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35296 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35297 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35298 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35299 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35300 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35301 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35302 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35303 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35304 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35305 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35306 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35307 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35308 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35309 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35310 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35311 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35312 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35313 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35314 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35315 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35316 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35317 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35318 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35319 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35320 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35321 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35322 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35323 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35324 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35325 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35326 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35327 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35328 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35329 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35330 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35331 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35332 { (char *)"ListCtrl_EndEditLabel", (PyCFunction
) _wrap_ListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35333 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35334 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35335 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35336 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35337 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35338 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35339 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35340 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35341 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35342 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35343 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35344 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35345 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35346 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35347 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35348 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35349 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35350 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35351 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35352 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35353 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
35354 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35355 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35356 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35357 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35358 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35359 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35360 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35361 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35362 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35363 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35364 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35365 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
35366 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35367 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35368 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35369 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35370 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35371 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35372 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35373 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
35374 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35375 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35376 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35377 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35378 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35379 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35380 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
35381 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35382 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35383 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35384 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35385 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35386 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35387 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35388 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35389 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35390 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35391 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35392 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35393 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35394 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35395 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35396 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
35397 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35398 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35399 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35400 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35401 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35402 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35403 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35404 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35405 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35406 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35407 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35408 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35409 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35410 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35411 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35412 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35413 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35414 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35415 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35416 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35417 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35418 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35419 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35420 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35421 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35422 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35423 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35424 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35425 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35426 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35427 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35428 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35429 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35430 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35431 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35432 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35433 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35434 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35435 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35436 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35437 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35438 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35439 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35440 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35441 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35442 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35443 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35444 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35445 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35446 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35447 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35448 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35449 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35450 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35451 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35452 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35453 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35454 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35455 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35456 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35457 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35458 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35459 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35460 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35461 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35462 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35463 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35464 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35465 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35466 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35467 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35468 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction
) _wrap_TreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35469 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35470 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35471 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35472 { (char *)"TreeCtrl_SetState", (PyCFunction
) _wrap_TreeCtrl_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35473 { (char *)"TreeCtrl_GetState", (PyCFunction
) _wrap_TreeCtrl_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35474 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35475 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
35476 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35477 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35478 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35479 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35480 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35481 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35482 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35483 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35484 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35485 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35486 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35487 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35488 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35489 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35490 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35491 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35492 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35493 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35494 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35495 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35496 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35497 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
35498 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35499 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35500 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35501 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35502 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
35503 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35504 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35505 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35506 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35507 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35508 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35509 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35510 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35511 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35512 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35513 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35514 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35515 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35516 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35517 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35518 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35519 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35520 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35521 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35522 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35523 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35524 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35525 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35526 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyControl_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35527 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyControl_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35528 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
35529 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35530 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35531 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35532 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35533 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35534 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35535 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35536 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
35537 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35538 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35539 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35540 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35541 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
35542 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35543 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
35544 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35545 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35546 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35547 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35548 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35549 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35550 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35551 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35552 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
35553 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35554 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
35555 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35556 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35557 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35558 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35559 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35560 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35561 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35562 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35563 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35564 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35565 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35566 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35567 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35568 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35569 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35570 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35571 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35572 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
35573 { NULL
, NULL
, 0, NULL
}
35577 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
35579 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
35580 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
35582 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
35583 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
35585 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
35586 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
35588 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
35589 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
35591 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
35592 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
35594 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
35595 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
35597 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
35598 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
35600 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
35601 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
35603 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
35604 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
35606 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
35607 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
35609 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
35610 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
35612 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
35613 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
35615 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
35616 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
35618 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
35619 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
35621 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
35622 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
35624 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
35625 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
35627 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
35628 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
35630 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
35631 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
35633 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
35634 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
35636 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
35637 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
35639 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
35640 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
35642 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
35643 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
35645 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
35646 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
35648 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
35649 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
35651 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
35652 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
35654 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
35655 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
35657 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
35658 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
35660 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
35661 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
35663 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
35664 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
35666 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
35667 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
35669 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
35670 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
35672 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
35673 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
35675 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
35676 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
35678 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
35679 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
35681 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
35682 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
35684 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
35685 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
35687 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
35688 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
35690 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
35691 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
35693 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
35694 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
35696 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
35697 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
35699 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
35700 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
35702 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
35703 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
35705 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
35706 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
35708 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
35709 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
35711 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
35712 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
35714 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
35715 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
35717 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
35718 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
35720 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
35721 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
35723 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
35724 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
35726 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
35727 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
35729 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
35730 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
35732 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
35733 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
35735 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
35736 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
35738 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
35739 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
35741 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
35742 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
35744 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
35745 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
35747 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
35748 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
35750 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
35751 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
35753 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
35754 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
35756 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
35757 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
35759 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
35760 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
35762 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
35763 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
35765 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
35766 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
35768 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
35769 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
35771 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
35772 return (void *)((wxControl
*) ((wxPyControl
*) x
));
35774 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
35775 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
35777 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
35778 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
35780 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
35781 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
35783 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
35784 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
35786 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
35787 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
35789 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
35790 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
35792 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
35793 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
35795 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
35796 return (void *)((wxControl
*) ((wxGauge
*) x
));
35798 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
35799 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
35801 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
35802 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
35804 static void *_p_wxListbookTo_p_wxControl(void *x
) {
35805 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
35807 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
35808 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
35810 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
35811 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
35813 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
35814 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
35816 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
35817 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
35819 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
35820 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
35822 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
35823 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
35825 static void *_p_wxListViewTo_p_wxControl(void *x
) {
35826 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
35828 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
35829 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
35831 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
35832 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
35834 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
35835 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
35837 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
35838 return (void *)((wxControl
*) ((wxStaticText
*) x
));
35840 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
35841 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
35843 static void *_p_wxSliderTo_p_wxControl(void *x
) {
35844 return (void *)((wxControl
*) ((wxSlider
*) x
));
35846 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
35847 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
35849 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
35850 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
35852 static void *_p_wxButtonTo_p_wxControl(void *x
) {
35853 return (void *)((wxControl
*) ((wxButton
*) x
));
35855 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
35856 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
35858 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
35859 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
35861 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
35862 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
35864 static void *_p_wxComboBoxTo_p_wxChoice(void *x
) {
35865 return (void *)((wxChoice
*) ((wxComboBox
*) x
));
35867 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
35868 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
35870 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
35871 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
35873 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
35874 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
35876 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
35877 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
35879 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
35880 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
35882 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
35883 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
35885 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
35886 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
35888 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
35889 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
35891 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
35892 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
35894 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
35895 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
35897 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
35898 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
35900 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
35901 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
35903 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
35904 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
35906 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
35907 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
35909 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
35910 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
35912 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
35913 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
35915 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
35916 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
35918 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
35919 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
35921 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
35922 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
35924 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
35925 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
35927 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
35928 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
35930 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
35931 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
35933 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
35934 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
35936 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
35937 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
35939 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
35940 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
35942 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
35943 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
35945 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
35946 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
35948 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
35949 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
35951 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
35952 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
35954 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
35955 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
35957 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
35958 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
35960 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
35961 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
35963 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
35964 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
35966 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
35967 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
35969 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
35970 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
35972 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
35973 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
35975 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
35976 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
35978 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
35979 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
35981 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
35982 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
35984 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
35985 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
35987 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
35988 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
35990 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
35991 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
35993 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
35994 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
35996 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
35997 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
35999 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
36000 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
36002 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
36003 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
36005 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
36006 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
36008 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
36009 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
36011 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
36012 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
36014 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
36015 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36017 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
36018 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36020 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
36021 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
36023 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
36024 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
36026 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
36027 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
36029 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
36030 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36032 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
36033 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36035 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
36036 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
36038 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
36039 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
36041 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
36042 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
36044 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
36045 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
36047 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
36048 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
36050 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
36051 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
36053 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
36054 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
36056 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
36057 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
36059 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
36060 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
36062 static void *_p_wxSizerTo_p_wxObject(void *x
) {
36063 return (void *)((wxObject
*) ((wxSizer
*) x
));
36065 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
36066 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
36068 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
36069 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
36071 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
36072 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
36074 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
36075 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36077 static void *_p_wxEventTo_p_wxObject(void *x
) {
36078 return (void *)((wxObject
*) ((wxEvent
*) x
));
36080 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
36081 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
36083 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
36084 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
36086 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
36087 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
36089 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
36090 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
36092 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
36093 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
36095 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
36096 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36098 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
36099 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
36101 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
36102 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
36104 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
36105 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
36107 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
36108 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
36110 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
36111 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
36113 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
36114 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
36116 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
36117 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
36119 static void *_p_wxControlTo_p_wxObject(void *x
) {
36120 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
36122 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
36123 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
36125 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
36126 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
36128 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
36129 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
36131 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
36132 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
36134 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
36135 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
36137 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
36138 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
36140 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
36141 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36143 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
36144 return (void *)((wxObject
*) ((wxFSFile
*) x
));
36146 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
36147 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
36149 static void *_p_wxListViewTo_p_wxObject(void *x
) {
36150 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36152 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
36153 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
36155 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
36156 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36158 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
36159 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
36161 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
36162 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36164 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
36165 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36167 static void *_p_wxListbookTo_p_wxObject(void *x
) {
36168 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36170 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
36171 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
36173 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
36174 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
36176 static void *_p_wxSliderTo_p_wxObject(void *x
) {
36177 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
36179 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
36180 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
36182 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
36183 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
36185 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
36186 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36188 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
36189 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
36191 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
36192 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
36194 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
36195 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
36197 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
36198 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
36200 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
36201 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
36203 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
36204 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
36206 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
36207 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
36209 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
36210 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
36212 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
36213 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
36215 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
36216 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
36218 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
36219 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
36221 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
36222 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
36224 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
36225 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
36227 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
36228 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
36230 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
36231 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
36233 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
36234 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
36236 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
36237 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
36239 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
36240 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
36242 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
36243 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
36245 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
36246 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
36248 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
36249 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
36251 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
36252 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
36254 static void *_p_wxListEventTo_p_wxObject(void *x
) {
36255 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
36257 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
36258 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36260 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
36261 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36263 static void *_p_wxButtonTo_p_wxObject(void *x
) {
36264 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
36266 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
36267 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36269 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
36270 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
36272 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
36273 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36275 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
36276 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
36278 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
36279 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
36281 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
36282 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
36284 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
36285 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
36287 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
36288 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
36290 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
36291 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
36293 static void *_p_wxListItemTo_p_wxObject(void *x
) {
36294 return (void *)((wxObject
*) ((wxListItem
*) x
));
36296 static void *_p_wxImageTo_p_wxObject(void *x
) {
36297 return (void *)((wxObject
*) ((wxImage
*) x
));
36299 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
36300 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
36302 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
36303 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
36305 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
36306 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36308 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
36309 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
36311 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
36312 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
36314 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
36315 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36317 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
36318 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36320 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
36321 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36323 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
36324 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36326 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
36327 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
36329 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
36330 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
36332 static void *_p_wxWindowTo_p_wxObject(void *x
) {
36333 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
36335 static void *_p_wxMenuTo_p_wxObject(void *x
) {
36336 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
36338 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
36339 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
36341 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
36342 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
36344 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
36345 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36347 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
36348 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
36350 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
36351 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
36353 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
36354 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
36356 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
36357 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
36359 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
36360 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
36362 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
36363 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36365 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
36366 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36368 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
36369 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36371 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
36372 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
36374 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
36375 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
36377 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
36378 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
36380 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
36381 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
36383 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
36384 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36386 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
36387 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
36389 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
36390 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
36392 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
36393 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36395 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
36396 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
36398 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
36399 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
36401 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
36402 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
36404 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
36405 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
36407 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
36408 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
36410 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
36411 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36413 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
36414 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
36416 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
36417 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
36419 static void *_p_wxControlTo_p_wxWindow(void *x
) {
36420 return (void *)((wxWindow
*) ((wxControl
*) x
));
36422 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
36423 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
36425 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
36426 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36428 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
36429 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
36431 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
36432 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
36434 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
36435 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
36437 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
36438 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
36440 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
36441 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
36443 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
36444 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
36446 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
36447 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
36449 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
36450 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
36452 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
36453 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36455 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
36456 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36458 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
36459 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
36461 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
36462 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
36464 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
36465 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
36467 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
36468 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36470 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
36471 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36473 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
36474 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36476 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
36477 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36479 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
36480 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36482 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
36483 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
36485 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
36486 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
36488 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
36489 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
36491 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
36492 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
36494 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
36495 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
36497 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
36498 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
36500 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
36501 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
36503 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
36504 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36506 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
36507 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36509 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
36510 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
36512 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36513 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36515 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36516 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36518 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36519 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36521 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
36522 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36524 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
36525 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
36527 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
36528 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
36530 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
36531 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36533 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
36534 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36536 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
36537 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36539 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
36540 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36542 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
36543 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36545 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
36546 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36548 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
36549 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36551 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
36552 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
36554 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
36555 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36557 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
36558 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36560 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
36561 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36563 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
36564 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
36566 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
36567 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36569 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
36570 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36572 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x
) {
36573 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxComboBox
*) x
));
36575 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
36576 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36578 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
36579 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
36581 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
36582 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
36584 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
36585 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
36587 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
36588 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
36590 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}};
36591 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}};
36592 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}};
36593 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}};
36594 static swig_type_info _swigt__p_wxEvent
[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36595 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}};
36596 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}};
36597 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}};
36598 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}};
36599 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}};
36600 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}};
36601 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}};
36602 static swig_type_info _swigt__p_wxControl
[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36603 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}};
36604 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}};
36605 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}};
36606 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}};
36607 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}};
36608 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}};
36609 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}};
36610 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}};
36611 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}};
36612 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}};
36613 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}};
36614 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}};
36615 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}};
36616 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}};
36617 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}};
36618 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}};
36619 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}};
36620 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}};
36621 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}};
36622 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}};
36623 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}};
36624 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}};
36625 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}};
36626 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}};
36627 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}};
36628 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}};
36629 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}};
36630 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}};
36631 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}};
36632 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}};
36633 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}};
36634 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}};
36635 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}};
36636 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36637 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}};
36638 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}};
36639 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}};
36640 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}};
36641 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}};
36642 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}};
36643 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}};
36644 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}};
36645 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}};
36646 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}};
36647 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}};
36648 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}};
36649 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}};
36650 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}};
36651 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}};
36652 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}};
36653 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}};
36654 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}};
36655 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}};
36656 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}};
36657 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}};
36658 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}};
36659 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}};
36660 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}};
36661 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}};
36662 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}};
36663 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}};
36664 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}};
36665 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextHelp", _p_wxContextHelpTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListItem", _p_wxListItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGenericDragImage", _p_wxGenericDragImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToolBarToolBase", _p_wxToolBarToolBaseTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36666 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}};
36667 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}};
36668 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}};
36669 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36670 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}};
36671 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}};
36672 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}};
36673 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}};
36674 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}};
36675 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}};
36676 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}};
36677 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}};
36678 static swig_type_info _swigt__p_wxCommandEvent
[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36679 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}};
36680 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}};
36681 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}};
36682 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}};
36683 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}};
36684 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}};
36685 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}};
36687 static swig_type_info
*swig_types_initial
[] = {
36688 _swigt__p_wxTextUrlEvent
,
36690 _swigt__p_wxCheckBox
,
36691 _swigt__p_wxPyTreeCtrl
,
36693 _swigt__p_wxGenericDirCtrl
,
36695 _swigt__p_wxItemContainer
,
36696 _swigt__p_wxPyListCtrl
,
36697 _swigt__p_wxPyTreeItemData
,
36698 _swigt__p_wxDirFilterListCtrl
,
36699 _swigt__p_wxStaticLine
,
36700 _swigt__p_wxControl
,
36701 _swigt__p_wxPyControl
,
36703 _swigt__p_wxToolBarBase
,
36705 _swigt__p_wxToggleButton
,
36706 _swigt__p_wxRadioButton
,
36707 _swigt__p_wxChoice
,
36708 _swigt__p_wxMemoryDC
,
36710 _swigt__std__ptrdiff_t
,
36711 _swigt__p_wxListItemAttr
,
36716 _swigt__p_wxListView
,
36718 _swigt__p_wxVisualAttributes
,
36719 _swigt__p_wxTextCtrl
,
36720 _swigt__p_wxNotebook
,
36721 _swigt__p_wxChoicebook
,
36722 _swigt__p_wxNotifyEvent
,
36723 _swigt__p_wxArrayString
,
36724 _swigt__p_form_ops_t
,
36725 _swigt__p_wxListbook
,
36726 _swigt__p_wxStaticBitmap
,
36727 _swigt__p_wxSlider
,
36728 _swigt__p_wxStaticBox
,
36729 _swigt__p_wxArrayInt
,
36730 _swigt__p_wxContextHelp
,
36732 _swigt__p_wxDuplexMode
,
36733 _swigt__p_wxBookCtrlBase
,
36734 _swigt__p_wxEvtHandler
,
36735 _swigt__p_wxListEvent
,
36736 _swigt__p_wxCheckListBox
,
36737 _swigt__p_wxListBox
,
36738 _swigt__p_wxSpinButton
,
36739 _swigt__p_wxButton
,
36740 _swigt__p_wxBitmapButton
,
36742 _swigt__p_wxContextHelpButton
,
36743 _swigt__p_wxRadioBox
,
36744 _swigt__p_wxScrollBar
,
36746 _swigt__p_wxComboBox
,
36747 _swigt__p_wxTreeItemId
,
36748 _swigt__p_wxHelpEvent
,
36749 _swigt__p_wxListItem
,
36750 _swigt__p_wxNotebookSizer
,
36751 _swigt__p_wxSpinEvent
,
36752 _swigt__p_wxGenericDragImage
,
36753 _swigt__p_wxSpinCtrl
,
36754 _swigt__p_wxPaperSize
,
36755 _swigt__p_wxImageList
,
36756 _swigt__p_wxHelpProvider
,
36757 _swigt__p_wxTextAttr
,
36758 _swigt__p_wxSimpleHelpProvider
,
36759 _swigt__p_wxChoicebookEvent
,
36760 _swigt__p_wxListbookEvent
,
36761 _swigt__p_wxNotebookEvent
,
36763 _swigt__p_wxObject
,
36764 _swigt__p_wxCursor
,
36765 _swigt__p_wxKeyEvent
,
36766 _swigt__p_unsigned_long
,
36767 _swigt__p_wxWindow
,
36768 _swigt__p_wxString
,
36769 _swigt__p_wxBitmap
,
36770 _swigt__unsigned_int
,
36771 _swigt__p_unsigned_int
,
36772 _swigt__p_unsigned_char
,
36773 _swigt__p_wxMouseEvent
,
36774 _swigt__p_wxBookCtrlBaseEvent
,
36775 _swigt__p_wxTreeEvent
,
36776 _swigt__p_wxCommandEvent
,
36777 _swigt__p_wxStaticText
,
36778 _swigt__p_wxControlWithItems
,
36779 _swigt__p_wxToolBarToolBase
,
36780 _swigt__p_wxColour
,
36781 _swigt__p_wxToolBar
,
36782 _swigt__p_wxBookCtrlSizer
,
36783 _swigt__p_wxValidator
,
36788 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
36790 static swig_const_info swig_const_table
[] = {
36791 {0, 0, 0, 0.0, 0, 0}};
36802 /* Python-specific SWIG API */
36803 #define SWIG_newvarlink() SWIG_Python_newvarlink()
36804 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
36805 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
36807 /* -----------------------------------------------------------------------------
36808 * global variable support code.
36809 * ----------------------------------------------------------------------------- */
36811 typedef struct swig_globalvar
{
36812 char *name
; /* Name of global variable */
36813 PyObject
*(*get_attr
)(); /* Return the current value */
36814 int (*set_attr
)(PyObject
*); /* Set the value */
36815 struct swig_globalvar
*next
;
36818 typedef struct swig_varlinkobject
{
36820 swig_globalvar
*vars
;
36821 } swig_varlinkobject
;
36824 swig_varlink_repr(swig_varlinkobject
*v
) {
36826 return PyString_FromString("<Swig global variables>");
36830 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
36831 swig_globalvar
*var
;
36833 fprintf(fp
,"Swig global variables { ");
36834 for (var
= v
->vars
; var
; var
=var
->next
) {
36835 fprintf(fp
,"%s", var
->name
);
36836 if (var
->next
) fprintf(fp
,", ");
36838 fprintf(fp
," }\n");
36843 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
36844 swig_globalvar
*var
= v
->vars
;
36846 if (strcmp(var
->name
,n
) == 0) {
36847 return (*var
->get_attr
)();
36851 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
36856 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
36857 swig_globalvar
*var
= v
->vars
;
36859 if (strcmp(var
->name
,n
) == 0) {
36860 return (*var
->set_attr
)(p
);
36864 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
36868 static PyTypeObject varlinktype
= {
36869 PyObject_HEAD_INIT(0)
36870 0, /* Number of items in variable part (ob_size) */
36871 (char *)"swigvarlink", /* Type name (tp_name) */
36872 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
36873 0, /* Itemsize (tp_itemsize) */
36874 0, /* Deallocator (tp_dealloc) */
36875 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
36876 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
36877 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
36878 0, /* tp_compare */
36879 (reprfunc
) swig_varlink_repr
, /* tp_repr */
36880 0, /* tp_as_number */
36881 0, /* tp_as_sequence */
36882 0, /* tp_as_mapping */
36886 0, /* tp_getattro */
36887 0, /* tp_setattro */
36888 0, /* tp_as_buffer */
36891 #if PY_VERSION_HEX >= 0x02000000
36892 0, /* tp_traverse */
36895 #if PY_VERSION_HEX >= 0x02010000
36896 0, /* tp_richcompare */
36897 0, /* tp_weaklistoffset */
36899 #if PY_VERSION_HEX >= 0x02020000
36900 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
36902 #if PY_VERSION_HEX >= 0x02030000
36905 #ifdef COUNT_ALLOCS
36906 0,0,0,0 /* tp_alloc -> tp_next */
36910 /* Create a variable linking object for use later */
36912 SWIG_Python_newvarlink(void) {
36913 swig_varlinkobject
*result
= 0;
36914 result
= PyMem_NEW(swig_varlinkobject
,1);
36915 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
36916 result
->ob_type
= &varlinktype
;
36918 result
->ob_refcnt
= 0;
36919 Py_XINCREF((PyObject
*) result
);
36920 return ((PyObject
*) result
);
36924 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
36925 swig_varlinkobject
*v
;
36926 swig_globalvar
*gv
;
36927 v
= (swig_varlinkobject
*) p
;
36928 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
36929 gv
->name
= (char *) malloc(strlen(name
)+1);
36930 strcpy(gv
->name
,name
);
36931 gv
->get_attr
= get_attr
;
36932 gv
->set_attr
= set_attr
;
36933 gv
->next
= v
->vars
;
36937 /* -----------------------------------------------------------------------------
36938 * constants/methods manipulation
36939 * ----------------------------------------------------------------------------- */
36941 /* Install Constants */
36943 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
36946 for (i
= 0; constants
[i
].type
; i
++) {
36947 switch(constants
[i
].type
) {
36949 obj
= PyInt_FromLong(constants
[i
].lvalue
);
36951 case SWIG_PY_FLOAT
:
36952 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
36954 case SWIG_PY_STRING
:
36955 if (constants
[i
].pvalue
) {
36956 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
36958 Py_INCREF(Py_None
);
36962 case SWIG_PY_POINTER
:
36963 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
36965 case SWIG_PY_BINARY
:
36966 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
36973 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
36979 /* -----------------------------------------------------------------------------*/
36980 /* Fix SwigMethods to carry the callback ptrs when needed */
36981 /* -----------------------------------------------------------------------------*/
36984 SWIG_Python_FixMethods(PyMethodDef
*methods
,
36985 swig_const_info
*const_table
,
36986 swig_type_info
**types
,
36987 swig_type_info
**types_initial
) {
36989 for (i
= 0; methods
[i
].ml_name
; ++i
) {
36990 char *c
= methods
[i
].ml_doc
;
36991 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
36993 swig_const_info
*ci
= 0;
36994 char *name
= c
+ 10;
36995 for (j
= 0; const_table
[j
].type
; j
++) {
36996 if (strncmp(const_table
[j
].name
, name
,
36997 strlen(const_table
[j
].name
)) == 0) {
36998 ci
= &(const_table
[j
]);
37003 size_t shift
= (ci
->ptype
) - types
;
37004 swig_type_info
*ty
= types_initial
[shift
];
37005 size_t ldoc
= (c
- methods
[i
].ml_doc
);
37006 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
37007 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
37009 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
37010 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
37012 strncpy(buff
, "swig_ptr: ", 10);
37014 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
37015 methods
[i
].ml_doc
= ndoc
;
37021 /* -----------------------------------------------------------------------------*
37022 * Initialize type list
37023 * -----------------------------------------------------------------------------*/
37025 #if PY_MAJOR_VERSION < 2
37026 /* PyModule_AddObject function was introduced in Python 2.0. The following function
37027 is copied out of Python/modsupport.c in python version 2.3.4 */
37029 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
37032 if (!PyModule_Check(m
)) {
37033 PyErr_SetString(PyExc_TypeError
,
37034 "PyModule_AddObject() needs module as first arg");
37038 PyErr_SetString(PyExc_TypeError
,
37039 "PyModule_AddObject() needs non-NULL value");
37043 dict
= PyModule_GetDict(m
);
37044 if (dict
== NULL
) {
37045 /* Internal error -- modules must have a dict! */
37046 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
37047 PyModule_GetName(m
));
37050 if (PyDict_SetItemString(dict
, name
, o
))
37057 static swig_type_info
**
37058 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
37059 static PyMethodDef swig_empty_runtime_method_table
[] = {
37061 NULL
, NULL
, 0, NULL
37065 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
37066 swig_empty_runtime_method_table
);
37067 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
37068 if (pointer
&& module) {
37069 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
37071 return type_list_handle
;
37074 static swig_type_info
**
37075 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
37076 swig_type_info
**type_pointer
;
37078 /* first check if module already created */
37079 type_pointer
= SWIG_Python_GetTypeListHandle();
37080 if (type_pointer
) {
37081 return type_pointer
;
37083 /* create a new module and variable */
37084 return SWIG_Python_SetTypeListHandle(type_list_handle
);
37092 /* -----------------------------------------------------------------------------*
37093 * Partial Init method
37094 * -----------------------------------------------------------------------------*/
37096 #ifdef SWIG_LINK_RUNTIME
37100 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
37106 SWIGEXPORT(void) SWIG_init(void) {
37107 static PyObject
*SWIG_globals
= 0;
37108 static int typeinit
= 0;
37111 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
37113 /* Fix SwigMethods to carry the callback ptrs when needed */
37114 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
37116 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
37117 d
= PyModule_GetDict(m
);
37120 #ifdef SWIG_LINK_RUNTIME
37121 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
37123 # ifndef SWIG_STATIC_RUNTIME
37124 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
37127 for (i
= 0; swig_types_initial
[i
]; i
++) {
37128 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
37132 SWIG_InstallConstants(d
,swig_const_table
);
37134 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
37135 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
37137 PyDict_SetItemString(d
,"BU_LEFT", SWIG_From_int((int)(wxBU_LEFT
)));
37140 PyDict_SetItemString(d
,"BU_TOP", SWIG_From_int((int)(wxBU_TOP
)));
37143 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_From_int((int)(wxBU_RIGHT
)));
37146 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_From_int((int)(wxBU_BOTTOM
)));
37149 PyDict_SetItemString(d
,"BU_ALIGN_MASK", SWIG_From_int((int)(wxBU_ALIGN_MASK
)));
37152 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_From_int((int)(wxBU_EXACTFIT
)));
37155 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_From_int((int)(wxBU_AUTODRAW
)));
37157 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
37159 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_From_int((int)(wxCHK_2STATE
)));
37162 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_From_int((int)(wxCHK_3STATE
)));
37165 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int((int)(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
37168 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_From_int((int)(wxCHK_UNCHECKED
)));
37171 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_From_int((int)(wxCHK_CHECKED
)));
37174 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_From_int((int)(wxCHK_UNDETERMINED
)));
37176 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
37177 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
37178 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
37180 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_From_int((int)(wxGA_HORIZONTAL
)));
37183 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_From_int((int)(wxGA_VERTICAL
)));
37186 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_From_int((int)(wxGA_SMOOTH
)));
37189 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_From_int((int)(wxGA_PROGRESSBAR
)));
37191 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
37192 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
37193 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
37194 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
37195 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
37197 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_From_int((int)(wxTE_NO_VSCROLL
)));
37200 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_From_int((int)(wxTE_AUTO_SCROLL
)));
37203 PyDict_SetItemString(d
,"TE_READONLY", SWIG_From_int((int)(wxTE_READONLY
)));
37206 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_From_int((int)(wxTE_MULTILINE
)));
37209 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_From_int((int)(wxTE_PROCESS_TAB
)));
37212 PyDict_SetItemString(d
,"TE_LEFT", SWIG_From_int((int)(wxTE_LEFT
)));
37215 PyDict_SetItemString(d
,"TE_CENTER", SWIG_From_int((int)(wxTE_CENTER
)));
37218 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_From_int((int)(wxTE_RIGHT
)));
37221 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_From_int((int)(wxTE_CENTRE
)));
37224 PyDict_SetItemString(d
,"TE_RICH", SWIG_From_int((int)(wxTE_RICH
)));
37227 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_From_int((int)(wxTE_PROCESS_ENTER
)));
37230 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_From_int((int)(wxTE_PASSWORD
)));
37233 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_From_int((int)(wxTE_AUTO_URL
)));
37236 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_From_int((int)(wxTE_NOHIDESEL
)));
37239 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_From_int((int)(wxTE_DONTWRAP
)));
37242 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_From_int((int)(wxTE_LINEWRAP
)));
37245 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_From_int((int)(wxTE_WORDWRAP
)));
37248 PyDict_SetItemString(d
,"TE_RICH2", SWIG_From_int((int)(wxTE_RICH2
)));
37251 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_DEFAULT
)));
37254 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_LEFT
)));
37257 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTRE
)));
37260 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTER
)));
37263 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_RIGHT
)));
37266 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)(wxTEXT_ALIGNMENT_JUSTIFIED
)));
37269 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_TEXT_COLOUR
)));
37272 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
37275 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_FACE
)));
37278 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_SIZE
)));
37281 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)(wxTEXT_ATTR_FONT_WEIGHT
)));
37284 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)(wxTEXT_ATTR_FONT_ITALIC
)));
37287 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_UNDERLINE
)));
37290 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_From_int((int)(wxTEXT_ATTR_FONT
)));
37293 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)(wxTEXT_ATTR_ALIGNMENT
)));
37296 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_LEFT_INDENT
)));
37299 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_RIGHT_INDENT
)));
37302 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_From_int((int)(wxTEXT_ATTR_TABS
)));
37305 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_From_int((int)(wxTE_HT_UNKNOWN
)));
37308 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_From_int((int)(wxTE_HT_BEFORE
)));
37311 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_From_int((int)(wxTE_HT_ON_TEXT
)));
37314 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_From_int((int)(wxTE_HT_BELOW
)));
37317 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_From_int((int)(wxTE_HT_BEYOND
)));
37319 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
37320 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
37321 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
37322 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
37323 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
37324 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
37325 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
37327 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_From_int((int)(wxSP_HORIZONTAL
)));
37330 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_From_int((int)(wxSP_VERTICAL
)));
37333 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_From_int((int)(wxSP_ARROW_KEYS
)));
37336 PyDict_SetItemString(d
,"SP_WRAP", SWIG_From_int((int)(wxSP_WRAP
)));
37338 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
37339 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
37340 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
37341 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
37342 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
37343 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
37344 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
37346 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_From_int((int)(wxNB_FIXEDWIDTH
)));
37349 PyDict_SetItemString(d
,"NB_TOP", SWIG_From_int((int)(wxNB_TOP
)));
37352 PyDict_SetItemString(d
,"NB_LEFT", SWIG_From_int((int)(wxNB_LEFT
)));
37355 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_From_int((int)(wxNB_RIGHT
)));
37358 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_From_int((int)(wxNB_BOTTOM
)));
37361 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_From_int((int)(wxNB_MULTILINE
)));
37364 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_From_int((int)(wxNB_HITTEST_NOWHERE
)));
37367 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_From_int((int)(wxNB_HITTEST_ONICON
)));
37370 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_From_int((int)(wxNB_HITTEST_ONLABEL
)));
37373 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_From_int((int)(wxNB_HITTEST_ONITEM
)));
37375 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
37376 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
37378 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_From_int((int)(wxLB_DEFAULT
)));
37381 PyDict_SetItemString(d
,"LB_TOP", SWIG_From_int((int)(wxLB_TOP
)));
37384 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_From_int((int)(wxLB_BOTTOM
)));
37387 PyDict_SetItemString(d
,"LB_LEFT", SWIG_From_int((int)(wxLB_LEFT
)));
37390 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_From_int((int)(wxLB_RIGHT
)));
37393 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_From_int((int)(wxLB_ALIGN_MASK
)));
37395 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
37396 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
37398 PyDict_SetItemString(d
,"CHB_DEFAULT", SWIG_From_int((int)(wxCHB_DEFAULT
)));
37401 PyDict_SetItemString(d
,"CHB_TOP", SWIG_From_int((int)(wxCHB_TOP
)));
37404 PyDict_SetItemString(d
,"CHB_BOTTOM", SWIG_From_int((int)(wxCHB_BOTTOM
)));
37407 PyDict_SetItemString(d
,"CHB_LEFT", SWIG_From_int((int)(wxCHB_LEFT
)));
37410 PyDict_SetItemString(d
,"CHB_RIGHT", SWIG_From_int((int)(wxCHB_RIGHT
)));
37413 PyDict_SetItemString(d
,"CHB_ALIGN_MASK", SWIG_From_int((int)(wxCHB_ALIGN_MASK
)));
37415 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
37416 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
37418 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_From_int((int)(wxTOOL_STYLE_BUTTON
)));
37421 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_From_int((int)(wxTOOL_STYLE_SEPARATOR
)));
37424 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_From_int((int)(wxTOOL_STYLE_CONTROL
)));
37427 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_From_int((int)(wxTB_HORIZONTAL
)));
37430 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_From_int((int)(wxTB_VERTICAL
)));
37433 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_From_int((int)(wxTB_3DBUTTONS
)));
37436 PyDict_SetItemString(d
,"TB_FLAT", SWIG_From_int((int)(wxTB_FLAT
)));
37439 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_From_int((int)(wxTB_DOCKABLE
)));
37442 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_From_int((int)(wxTB_NOICONS
)));
37445 PyDict_SetItemString(d
,"TB_TEXT", SWIG_From_int((int)(wxTB_TEXT
)));
37448 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_From_int((int)(wxTB_NODIVIDER
)));
37451 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_From_int((int)(wxTB_NOALIGN
)));
37454 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_From_int((int)(wxTB_HORZ_LAYOUT
)));
37457 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_From_int((int)(wxTB_HORZ_TEXT
)));
37459 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
37461 PyDict_SetItemString(d
,"LC_VRULES", SWIG_From_int((int)(wxLC_VRULES
)));
37464 PyDict_SetItemString(d
,"LC_HRULES", SWIG_From_int((int)(wxLC_HRULES
)));
37467 PyDict_SetItemString(d
,"LC_ICON", SWIG_From_int((int)(wxLC_ICON
)));
37470 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_From_int((int)(wxLC_SMALL_ICON
)));
37473 PyDict_SetItemString(d
,"LC_LIST", SWIG_From_int((int)(wxLC_LIST
)));
37476 PyDict_SetItemString(d
,"LC_REPORT", SWIG_From_int((int)(wxLC_REPORT
)));
37479 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_From_int((int)(wxLC_ALIGN_TOP
)));
37482 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_From_int((int)(wxLC_ALIGN_LEFT
)));
37485 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_From_int((int)(wxLC_AUTOARRANGE
)));
37488 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_From_int((int)(wxLC_VIRTUAL
)));
37491 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_From_int((int)(wxLC_EDIT_LABELS
)));
37494 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_From_int((int)(wxLC_NO_HEADER
)));
37497 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_From_int((int)(wxLC_NO_SORT_HEADER
)));
37500 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_From_int((int)(wxLC_SINGLE_SEL
)));
37503 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_From_int((int)(wxLC_SORT_ASCENDING
)));
37506 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_From_int((int)(wxLC_SORT_DESCENDING
)));
37509 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_From_int((int)(wxLC_MASK_TYPE
)));
37512 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_From_int((int)(wxLC_MASK_ALIGN
)));
37515 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_From_int((int)(wxLC_MASK_SORT
)));
37518 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_From_int((int)(wxLIST_MASK_STATE
)));
37521 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_From_int((int)(wxLIST_MASK_TEXT
)));
37524 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_From_int((int)(wxLIST_MASK_IMAGE
)));
37527 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_From_int((int)(wxLIST_MASK_DATA
)));
37530 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_From_int((int)(wxLIST_SET_ITEM
)));
37533 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_From_int((int)(wxLIST_MASK_WIDTH
)));
37536 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_From_int((int)(wxLIST_MASK_FORMAT
)));
37539 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_From_int((int)(wxLIST_STATE_DONTCARE
)));
37542 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_From_int((int)(wxLIST_STATE_DROPHILITED
)));
37545 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_From_int((int)(wxLIST_STATE_FOCUSED
)));
37548 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_From_int((int)(wxLIST_STATE_SELECTED
)));
37551 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_From_int((int)(wxLIST_STATE_CUT
)));
37554 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_From_int((int)(wxLIST_STATE_DISABLED
)));
37557 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_From_int((int)(wxLIST_STATE_FILTERED
)));
37560 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_From_int((int)(wxLIST_STATE_INUSE
)));
37563 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_From_int((int)(wxLIST_STATE_PICKED
)));
37566 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_From_int((int)(wxLIST_STATE_SOURCE
)));
37569 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_From_int((int)(wxLIST_HITTEST_ABOVE
)));
37572 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_From_int((int)(wxLIST_HITTEST_BELOW
)));
37575 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_From_int((int)(wxLIST_HITTEST_NOWHERE
)));
37578 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMICON
)));
37581 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMLABEL
)));
37584 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMRIGHT
)));
37587 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMSTATEICON
)));
37590 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_From_int((int)(wxLIST_HITTEST_TOLEFT
)));
37593 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_From_int((int)(wxLIST_HITTEST_TORIGHT
)));
37596 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_From_int((int)(wxLIST_HITTEST_ONITEM
)));
37599 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_From_int((int)(wxLIST_NEXT_ABOVE
)));
37602 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_From_int((int)(wxLIST_NEXT_ALL
)));
37605 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_From_int((int)(wxLIST_NEXT_BELOW
)));
37608 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_From_int((int)(wxLIST_NEXT_LEFT
)));
37611 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_From_int((int)(wxLIST_NEXT_RIGHT
)));
37614 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_From_int((int)(wxLIST_ALIGN_DEFAULT
)));
37617 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_From_int((int)(wxLIST_ALIGN_LEFT
)));
37620 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_From_int((int)(wxLIST_ALIGN_TOP
)));
37623 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int((int)(wxLIST_ALIGN_SNAP_TO_GRID
)));
37626 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_From_int((int)(wxLIST_FORMAT_LEFT
)));
37629 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_From_int((int)(wxLIST_FORMAT_RIGHT
)));
37632 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_From_int((int)(wxLIST_FORMAT_CENTRE
)));
37635 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_From_int((int)(wxLIST_FORMAT_CENTER
)));
37638 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_From_int((int)(wxLIST_AUTOSIZE
)));
37641 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int((int)(wxLIST_AUTOSIZE_USEHEADER
)));
37644 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_From_int((int)(wxLIST_RECT_BOUNDS
)));
37647 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_From_int((int)(wxLIST_RECT_ICON
)));
37650 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_From_int((int)(wxLIST_RECT_LABEL
)));
37653 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_From_int((int)(wxLIST_FIND_UP
)));
37656 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_From_int((int)(wxLIST_FIND_DOWN
)));
37659 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_From_int((int)(wxLIST_FIND_LEFT
)));
37662 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_From_int((int)(wxLIST_FIND_RIGHT
)));
37664 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
37665 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
37666 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
37667 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
37668 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
37669 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
37670 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
37671 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
37672 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
37673 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
37674 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
37675 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
37676 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
37677 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
37678 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
37679 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
37680 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
37681 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
37682 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
37683 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
37684 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
37685 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
37687 // Map renamed classes back to their common name for OOR
37688 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
37690 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
37692 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_From_int((int)(wxTR_NO_BUTTONS
)));
37695 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_From_int((int)(wxTR_HAS_BUTTONS
)));
37698 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_From_int((int)(wxTR_NO_LINES
)));
37701 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_From_int((int)(wxTR_LINES_AT_ROOT
)));
37704 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_From_int((int)(wxTR_SINGLE
)));
37707 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_From_int((int)(wxTR_MULTIPLE
)));
37710 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_From_int((int)(wxTR_EXTENDED
)));
37713 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int((int)(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
37716 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_From_int((int)(wxTR_EDIT_LABELS
)));
37719 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_From_int((int)(wxTR_HIDE_ROOT
)));
37722 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_From_int((int)(wxTR_ROW_LINES
)));
37725 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int((int)(wxTR_FULL_ROW_HIGHLIGHT
)));
37728 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_From_int((int)(wxTR_DEFAULT_STYLE
)));
37731 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_From_int((int)(wxTR_TWIST_BUTTONS
)));
37734 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_From_int((int)(wxTR_MAC_BUTTONS
)));
37737 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_From_int((int)(wxTR_AQUA_BUTTONS
)));
37740 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_From_int((int)(wxTreeItemIcon_Normal
)));
37743 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_From_int((int)(wxTreeItemIcon_Selected
)));
37746 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_From_int((int)(wxTreeItemIcon_Expanded
)));
37749 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)(wxTreeItemIcon_SelectedExpanded
)));
37752 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_From_int((int)(wxTreeItemIcon_Max
)));
37755 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_From_int((int)(wxTREE_HITTEST_ABOVE
)));
37758 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_From_int((int)(wxTREE_HITTEST_BELOW
)));
37761 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_From_int((int)(wxTREE_HITTEST_NOWHERE
)));
37764 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMBUTTON
)));
37767 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMICON
)));
37770 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMINDENT
)));
37773 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLABEL
)));
37776 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMRIGHT
)));
37779 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMSTATEICON
)));
37782 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_From_int((int)(wxTREE_HITTEST_TOLEFT
)));
37785 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_From_int((int)(wxTREE_HITTEST_TORIGHT
)));
37788 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMUPPERPART
)));
37791 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLOWERPART
)));
37794 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_From_int((int)(wxTREE_HITTEST_ONITEM
)));
37796 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
37797 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
37798 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
37799 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
37800 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
37801 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
37802 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
37803 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
37804 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
37805 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
37806 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
37807 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
37808 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
37809 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
37810 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
37811 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
37812 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
37813 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
37814 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
37815 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
37816 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
37818 // Map renamed classes back to their common name for OOR
37819 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
37820 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
37822 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
37824 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_From_int((int)(wxDIRCTRL_DIR_ONLY
)));
37827 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_From_int((int)(wxDIRCTRL_SELECT_FIRST
)));
37830 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_From_int((int)(wxDIRCTRL_SHOW_FILTERS
)));
37833 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_From_int((int)(wxDIRCTRL_3D_INTERNAL
)));
37836 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_From_int((int)(wxDIRCTRL_EDIT_LABELS
)));
37839 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_From_int((int)(wxFRAME_EX_CONTEXTHELP
)));
37842 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_From_int((int)(wxDIALOG_EX_CONTEXTHELP
)));
37844 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
37845 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
37847 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");