1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1045 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1047 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1051 SWIGRUNTIMEINLINE
void
1052 SWIG_Python_NullRef(const char *type
)
1055 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1057 PyErr_Format(PyExc_TypeError
, "null reference was received");
1062 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1064 if (PyErr_Occurred()) {
1066 PyObject
*value
= 0;
1067 PyObject
*traceback
= 0;
1068 PyErr_Fetch(&type
, &value
, &traceback
);
1070 PyObject
*old_str
= PyObject_Str(value
);
1074 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1076 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1087 SWIG_Python_ArgFail(int argnum
)
1089 if (PyErr_Occurred()) {
1090 /* add information about failing argument */
1092 sprintf(mesg
, "argument number %d:", argnum
);
1093 return SWIG_Python_AddErrMesg(mesg
, 1);
1100 /* -----------------------------------------------------------------------------
1101 * pointers/data manipulation
1102 * ----------------------------------------------------------------------------- */
1104 /* Convert a pointer value */
1106 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1109 static PyObject
*SWIG_this
= 0;
1111 PyObject
*pyobj
= 0;
1115 if (obj
== Py_None
) {
1120 #ifdef SWIG_COBJECT_TYPES
1121 if (!(PySwigObject_Check(obj
))) {
1123 SWIG_this
= PyString_FromString("this");
1125 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1127 if (!obj
) goto type_error
;
1128 if (!PySwigObject_Check(obj
)) {
1133 vptr
= PySwigObject_AsVoidPtr(obj
);
1134 c
= (const char *) PySwigObject_GetDesc(obj
);
1135 if (newref
) { Py_DECREF(obj
); }
1138 if (!(PyString_Check(obj
))) {
1140 SWIG_this
= PyString_FromString("this");
1142 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1144 if (!obj
) goto type_error
;
1145 if (!PyString_Check(obj
)) {
1150 c
= PyString_AS_STRING(obj
);
1151 /* Pointer values must start with leading underscore */
1152 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1153 if (newref
) { Py_DECREF(obj
); }
1154 if (!c
) goto type_error
;
1160 tc
= SWIG_TypeCheck(c
,ty
);
1161 if (!tc
) goto type_error
;
1162 *ptr
= SWIG_TypeCast(tc
,vptr
);
1167 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1168 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1174 if (pyobj
&& !obj
) {
1176 if (PyCFunction_Check(obj
)) {
1177 /* here we get the method pointer for callbacks */
1178 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1179 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1181 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1182 if (!c
) goto type_error
;
1187 if (flags
& SWIG_POINTER_EXCEPTION
) {
1189 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1191 SWIG_Python_TypeError("C/C++ pointer", obj
);
1197 /* Convert a pointer value, signal an exception on a type mismatch */
1199 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1201 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1203 if (flags
& SWIG_POINTER_EXCEPTION
) {
1204 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1205 SWIG_Python_ArgFail(argnum
);
1211 /* Convert a packed value value */
1213 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1217 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1218 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1220 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1221 c
= PyString_AS_STRING(obj
);
1222 /* Pointer values must start with leading underscore */
1223 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1225 if (!c
) goto type_error
;
1227 tc
= SWIG_TypeCheck(c
,ty
);
1228 if (!tc
) goto type_error
;
1234 if (flags
& SWIG_POINTER_EXCEPTION
) {
1236 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1238 SWIG_Python_TypeError("C/C++ packed data", obj
);
1244 /* Create a new array object */
1245 SWIGRUNTIME PyObject
*
1246 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1252 #ifdef SWIG_COBJECT_TYPES
1253 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1256 char result
[SWIG_BUFFER_SIZE
];
1257 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1258 PyString_FromString(result
) : 0;
1261 if (!robj
|| (robj
== Py_None
)) return robj
;
1262 if (type
->clientdata
) {
1264 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1266 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1270 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1278 SWIGRUNTIME PyObject
*
1279 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1285 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1286 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1289 char result
[SWIG_BUFFER_SIZE
];
1290 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1291 PyString_FromString(result
) : 0;
1297 /* -----------------------------------------------------------------------------*
1299 * -----------------------------------------------------------------------------*/
1301 #ifdef SWIG_LINK_RUNTIME
1302 void *SWIG_ReturnGlobalTypeList(void *);
1305 SWIGRUNTIME swig_type_info
**
1306 SWIG_Python_GetTypeListHandle() {
1307 static void *type_pointer
= (void *)0;
1308 /* first check if module already created */
1309 if (!type_pointer
) {
1310 #ifdef SWIG_LINK_RUNTIME
1311 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1313 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1314 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1315 if (PyErr_Occurred()) {
1317 type_pointer
= (void *)0;
1321 return (swig_type_info
**) type_pointer
;
1325 Search for a swig_type_info structure
1327 SWIGRUNTIMEINLINE swig_type_info
*
1328 SWIG_Python_GetTypeList() {
1329 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1330 return tlh
? *tlh
: (swig_type_info
*)0;
1333 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1340 /* -------- TYPES TABLE (BEGIN) -------- */
1342 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
1343 #define SWIGTYPE_p_wxSizer swig_types[1]
1344 #define SWIGTYPE_p_wxCheckBox swig_types[2]
1345 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[3]
1346 #define SWIGTYPE_p_wxEvent swig_types[4]
1347 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[5]
1348 #define SWIGTYPE_p_bool swig_types[6]
1349 #define SWIGTYPE_p_wxItemContainer swig_types[7]
1350 #define SWIGTYPE_p_wxPyListCtrl swig_types[8]
1351 #define SWIGTYPE_p_wxPyTreeItemData swig_types[9]
1352 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[10]
1353 #define SWIGTYPE_p_wxStaticLine swig_types[11]
1354 #define SWIGTYPE_p_wxControl swig_types[12]
1355 #define SWIGTYPE_p_wxPyControl swig_types[13]
1356 #define SWIGTYPE_p_wxGauge swig_types[14]
1357 #define SWIGTYPE_p_wxToolBarBase swig_types[15]
1358 #define SWIGTYPE_p_wxFont swig_types[16]
1359 #define SWIGTYPE_p_wxToggleButton swig_types[17]
1360 #define SWIGTYPE_p_wxRadioButton swig_types[18]
1361 #define SWIGTYPE_p_wxChoice swig_types[19]
1362 #define SWIGTYPE_p_wxMemoryDC swig_types[20]
1363 #define SWIGTYPE_ptrdiff_t swig_types[21]
1364 #define SWIGTYPE_std__ptrdiff_t swig_types[22]
1365 #define SWIGTYPE_p_wxListItemAttr swig_types[23]
1366 #define SWIGTYPE_p_void swig_types[24]
1367 #define SWIGTYPE_p_int swig_types[25]
1368 #define SWIGTYPE_p_wxSize swig_types[26]
1369 #define SWIGTYPE_p_wxDC swig_types[27]
1370 #define SWIGTYPE_p_wxListView swig_types[28]
1371 #define SWIGTYPE_p_wxIcon swig_types[29]
1372 #define SWIGTYPE_p_wxVisualAttributes swig_types[30]
1373 #define SWIGTYPE_p_wxTextCtrl swig_types[31]
1374 #define SWIGTYPE_p_wxNotebook swig_types[32]
1375 #define SWIGTYPE_p_wxChoicebook swig_types[33]
1376 #define SWIGTYPE_p_wxNotifyEvent swig_types[34]
1377 #define SWIGTYPE_p_wxArrayString swig_types[35]
1378 #define SWIGTYPE_p_form_ops_t swig_types[36]
1379 #define SWIGTYPE_p_wxListbook swig_types[37]
1380 #define SWIGTYPE_p_wxStaticBitmap swig_types[38]
1381 #define SWIGTYPE_p_wxSlider swig_types[39]
1382 #define SWIGTYPE_p_wxStaticBox swig_types[40]
1383 #define SWIGTYPE_p_wxArrayInt swig_types[41]
1384 #define SWIGTYPE_p_wxContextHelp swig_types[42]
1385 #define SWIGTYPE_p_long swig_types[43]
1386 #define SWIGTYPE_p_wxDuplexMode swig_types[44]
1387 #define SWIGTYPE_p_wxBookCtrlBase swig_types[45]
1388 #define SWIGTYPE_p_wxEvtHandler swig_types[46]
1389 #define SWIGTYPE_p_wxListEvent swig_types[47]
1390 #define SWIGTYPE_p_wxCheckListBox swig_types[48]
1391 #define SWIGTYPE_p_wxListBox swig_types[49]
1392 #define SWIGTYPE_p_wxSpinButton swig_types[50]
1393 #define SWIGTYPE_p_wxButton swig_types[51]
1394 #define SWIGTYPE_p_wxBitmapButton swig_types[52]
1395 #define SWIGTYPE_p_wxRect swig_types[53]
1396 #define SWIGTYPE_p_wxContextHelpButton swig_types[54]
1397 #define SWIGTYPE_p_wxRadioBox swig_types[55]
1398 #define SWIGTYPE_p_wxScrollBar swig_types[56]
1399 #define SWIGTYPE_p_char swig_types[57]
1400 #define SWIGTYPE_p_wxComboBox swig_types[58]
1401 #define SWIGTYPE_p_wxTreeItemId swig_types[59]
1402 #define SWIGTYPE_p_wxHelpEvent swig_types[60]
1403 #define SWIGTYPE_p_wxListItem swig_types[61]
1404 #define SWIGTYPE_p_wxNotebookSizer swig_types[62]
1405 #define SWIGTYPE_p_wxSpinEvent swig_types[63]
1406 #define SWIGTYPE_p_wxGenericDragImage swig_types[64]
1407 #define SWIGTYPE_p_wxSpinCtrl swig_types[65]
1408 #define SWIGTYPE_p_wxPaperSize swig_types[66]
1409 #define SWIGTYPE_p_wxImageList swig_types[67]
1410 #define SWIGTYPE_p_wxHelpProvider swig_types[68]
1411 #define SWIGTYPE_p_wxTextAttr swig_types[69]
1412 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[70]
1413 #define SWIGTYPE_p_wxChoicebookEvent swig_types[71]
1414 #define SWIGTYPE_p_wxListbookEvent swig_types[72]
1415 #define SWIGTYPE_p_wxNotebookEvent swig_types[73]
1416 #define SWIGTYPE_p_wxPoint swig_types[74]
1417 #define SWIGTYPE_p_wxObject swig_types[75]
1418 #define SWIGTYPE_p_wxCursor swig_types[76]
1419 #define SWIGTYPE_p_wxDateTime swig_types[77]
1420 #define SWIGTYPE_p_wxKeyEvent swig_types[78]
1421 #define SWIGTYPE_p_unsigned_long swig_types[79]
1422 #define SWIGTYPE_p_wxWindow swig_types[80]
1423 #define SWIGTYPE_p_wxString swig_types[81]
1424 #define SWIGTYPE_p_wxBitmap swig_types[82]
1425 #define SWIGTYPE_unsigned_int swig_types[83]
1426 #define SWIGTYPE_p_unsigned_int swig_types[84]
1427 #define SWIGTYPE_p_unsigned_char swig_types[85]
1428 #define SWIGTYPE_p_wxMouseEvent swig_types[86]
1429 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[87]
1430 #define SWIGTYPE_p_wxTreeEvent swig_types[88]
1431 #define SWIGTYPE_p_wxCommandEvent swig_types[89]
1432 #define SWIGTYPE_p_wxStaticText swig_types[90]
1433 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[91]
1434 #define SWIGTYPE_p_wxControlWithItems swig_types[92]
1435 #define SWIGTYPE_p_wxToolBarToolBase swig_types[93]
1436 #define SWIGTYPE_p_wxColour swig_types[94]
1437 #define SWIGTYPE_p_wxToolBar swig_types[95]
1438 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[96]
1439 #define SWIGTYPE_p_wxValidator swig_types[97]
1440 static swig_type_info
*swig_types
[99];
1442 /* -------- TYPES TABLE (END) -------- */
1445 /*-----------------------------------------------
1446 @(target):= _controls_.so
1447 ------------------------------------------------*/
1448 #define SWIG_init init_controls_
1450 #define SWIG_name "_controls_"
1452 #include "wx/wxPython/wxPython.h"
1453 #include "wx/wxPython/pyclasses.h"
1455 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1456 static const wxString
wxPyEmptyString(wxEmptyString
);
1457 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1459 const wxArrayString wxPyEmptyStringArray
;
1461 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
1463 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1464 #define SWIG_From_int PyInt_FromLong
1472 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1475 if (value
< min_value
) {
1477 PyErr_Format(PyExc_OverflowError
,
1478 "value %ld is less than '%s' minimum %ld",
1479 value
, errmsg
, min_value
);
1482 } else if (value
> max_value
) {
1484 PyErr_Format(PyExc_OverflowError
,
1485 "value %ld is greater than '%s' maximum %ld",
1486 value
, errmsg
, max_value
);
1495 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1497 if (PyNumber_Check(obj
)) {
1498 if (val
) *val
= PyInt_AsLong(obj
);
1502 SWIG_type_error("number", obj
);
1508 #if INT_MAX != LONG_MAX
1510 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1512 const char* errmsg
= val
? "int" : (char*)0;
1514 if (SWIG_AsVal_long(obj
, &v
)) {
1515 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1516 if (val
) *val
= (int)(v
);
1525 SWIG_type_error(errmsg
, obj
);
1531 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1533 return SWIG_AsVal_long(obj
,(long*)val
);
1539 SWIG_As_int(PyObject
* obj
)
1542 if (!SWIG_AsVal_int(obj
, &v
)) {
1544 this is needed to make valgrind/purify happier.
1546 memset((void*)&v
, 0, sizeof(int));
1552 SWIGINTERNSHORT
long
1553 SWIG_As_long(PyObject
* obj
)
1556 if (!SWIG_AsVal_long(obj
, &v
)) {
1558 this is needed to make valgrind/purify happier.
1560 memset((void*)&v
, 0, sizeof(long));
1567 SWIG_Check_int(PyObject
* obj
)
1569 return SWIG_AsVal_int(obj
, (int*)0);
1574 SWIG_Check_long(PyObject
* obj
)
1576 return SWIG_AsVal_long(obj
, (long*)0);
1579 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
1582 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1584 if (obj
== Py_True
) {
1585 if (val
) *val
= true;
1588 if (obj
== Py_False
) {
1589 if (val
) *val
= false;
1593 if (SWIG_AsVal_int(obj
, &res
)) {
1594 if (val
) *val
= res
? true : false;
1600 SWIG_type_error("bool", obj
);
1606 SWIGINTERNSHORT
bool
1607 SWIG_As_bool(PyObject
* obj
)
1610 if (!SWIG_AsVal_bool(obj
, &v
)) {
1612 this is needed to make valgrind/purify happier.
1614 memset((void*)&v
, 0, sizeof(bool));
1621 SWIG_Check_bool(PyObject
* obj
)
1623 return SWIG_AsVal_bool(obj
, (bool*)0);
1626 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
1627 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
1629 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1630 #define SWIG_From_long PyInt_FromLong
1633 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
1634 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
1635 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
1636 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
1638 #include <wx/checklst.h>
1641 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
1642 static void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
1644 wxPyClientData
* data
= new wxPyClientData(clientData
);
1645 self
->Insert(item
, pos
, data
);
1647 self
->Insert(item
, pos
);
1649 static PyObject
*wxListBox_GetSelections(wxListBox
*self
){
1651 self
->GetSelections(lst
);
1652 PyObject
*tup
= PyTuple_New(lst
.GetCount());
1653 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
1654 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
1658 static void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
1660 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1661 self
->GetItem(item
)->SetTextColour(c
);
1664 static void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
1666 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1667 self
->GetItem(item
)->SetBackgroundColour(c
);
1670 static void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
1672 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1673 self
->GetItem(item
)->SetFont(f
);
1676 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
1678 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1684 } else if (target
== Py_None
) {
1688 if (!PyTuple_Check(target
)) {
1690 target
= PyTuple_New(1);
1691 PyTuple_SetItem(target
, 0, o2
);
1693 o3
= PyTuple_New(1);
1694 PyTuple_SetItem(o3
, 0, o
);
1697 target
= PySequence_Concat(o2
, o3
);
1707 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1710 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1711 SWIG_type_error("unsigned number", obj
);
1714 *val
= (unsigned long)v
;
1719 SWIGINTERNSHORT
unsigned long
1720 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1723 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1725 this is needed to make valgrind/purify happier.
1727 memset((void*)&v
, 0, sizeof(unsigned long));
1734 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1736 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1739 static void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
1740 self
->AppendText(text
);
1742 static wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
1743 return self
->GetValue().Mid(from
, to
- from
);
1745 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
1746 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
1747 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
1748 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
1749 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
1751 #include <wx/slider.h>
1754 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
1755 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
1757 #if !wxUSE_TOGGLEBTN
1758 // implement dummy items for platforms that don't have this class
1760 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
1762 class wxToggleButton
: public wxControl
1765 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
1766 const wxPoint
&, const wxSize
&, long,
1767 const wxValidator
&, const wxString
&)
1768 { wxPyRaiseNotImplemented(); }
1771 { wxPyRaiseNotImplemented(); }
1775 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
1777 SWIGINTERNSHORT PyObject
*
1778 SWIG_From_unsigned_SS_long(unsigned long value
)
1780 return (value
> LONG_MAX
) ?
1781 PyLong_FromUnsignedLong(value
)
1782 : PyInt_FromLong((long)(value
));
1785 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
1786 static PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
1787 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
1789 Py_INCREF(udata
->m_obj
);
1790 return udata
->m_obj
;
1796 static void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
1797 self
->SetClientData(new wxPyUserData(clientData
));
1799 static wxToolBarToolBase
*wxToolBarBase_DoAddTool(wxToolBarBase
*self
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString
const &shortHelp
=wxPyEmptyString
,wxString
const &longHelp
=wxPyEmptyString
,PyObject
*clientData
=NULL
){
1800 wxPyUserData
* udata
= NULL
;
1801 if (clientData
&& clientData
!= Py_None
)
1802 udata
= new wxPyUserData(clientData
);
1803 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
1804 shortHelp
, longHelp
, udata
);
1806 static wxToolBarToolBase
*wxToolBarBase_DoInsertTool(wxToolBarBase
*self
,size_t pos
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString
const &shortHelp
=wxPyEmptyString
,wxString
const &longHelp
=wxPyEmptyString
,PyObject
*clientData
=NULL
){
1807 wxPyUserData
* udata
= NULL
;
1808 if (clientData
&& clientData
!= Py_None
)
1809 udata
= new wxPyUserData(clientData
);
1810 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
1811 shortHelp
, longHelp
, udata
);
1813 static PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
1814 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
1816 Py_INCREF(udata
->m_obj
);
1817 return udata
->m_obj
;
1823 static void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
1824 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
1827 #include <wx/listctrl.h>
1829 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
1830 static void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
1831 // Python aware sorting function for wxPyListCtrl
1832 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
1834 PyObject
* func
= (PyObject
*)funcPtr
;
1835 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1837 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
1838 PyObject
* result
= PyEval_CallObject(func
, args
);
1841 retval
= PyInt_AsLong(result
);
1845 wxPyEndBlockThreads(blocked
);
1849 // C++ Version of a Python aware class
1850 class wxPyListCtrl
: public wxListCtrl
{
1851 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
1853 wxPyListCtrl() : wxListCtrl() {}
1854 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
1858 const wxValidator
& validator
,
1859 const wxString
& name
) :
1860 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
1862 bool Create(wxWindow
* parent
, wxWindowID id
,
1866 const wxValidator
& validator
,
1867 const wxString
& name
) {
1868 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
1871 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
1872 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
1874 // use the virtual version to avoid a confusing assert in the base class
1875 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
1880 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
1882 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
1883 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
1884 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
1887 static wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
1889 item
.SetMask( wxLIST_MASK_STATE
|
1897 if (self
->GetColumn(col
, item
))
1898 return new wxListItem(item
);
1902 static wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
1903 wxListItem
* info
= new wxListItem
;
1904 info
->m_itemId
= itemId
;
1906 info
->m_mask
= 0xFFFF;
1907 self
->GetItem(*info
);
1910 static wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
1912 self
->GetItemPosition(item
, pos
);
1915 static wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
1917 self
->GetItemRect(item
, rect
, code
);
1921 static bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
1922 if (!PyCallable_Check(func
))
1924 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
1926 static wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
1930 return (wxWindow
*)self
->m_mainWin
;
1934 #include <wx/treectrl.h>
1935 #include "wx/wxPython/pytree.h"
1937 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
1938 static bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
1939 static bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
1940 static void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
1941 // C++ version of Python aware wxTreeCtrl
1942 class wxPyTreeCtrl
: public wxTreeCtrl
{
1943 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
1945 wxPyTreeCtrl() : wxTreeCtrl() {}
1946 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
1950 const wxValidator
& validator
,
1951 const wxString
& name
) :
1952 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
1954 bool Create(wxWindow
*parent
, wxWindowID id
,
1958 const wxValidator
& validator
,
1959 const wxString
& name
) {
1960 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
1964 int OnCompareItems(const wxTreeItemId
& item1
,
1965 const wxTreeItemId
& item2
) {
1968 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1969 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
1970 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
1971 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
1972 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
1976 wxPyEndBlockThreads(blocked
);
1978 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
1984 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
1988 #if UINT_MAX < LONG_MAX
1989 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1990 #define SWIG_From_unsigned_SS_int SWIG_From_long
1993 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1994 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2000 SWIG_CheckUnsignedLongInRange(unsigned long value
,
2001 unsigned long max_value
,
2004 if (value
> max_value
) {
2006 PyErr_Format(PyExc_OverflowError
,
2007 "value %lu is greater than '%s' minimum %lu",
2008 value
, errmsg
, max_value
);
2016 #if UINT_MAX != ULONG_MAX
2018 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2020 const char* errmsg
= val
? "unsigned int" : (char*)0;
2022 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2023 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
2024 if (val
) *val
= (unsigned int)(v
);
2031 SWIG_type_error(errmsg
, obj
);
2036 SWIGINTERNSHORT
unsigned int
2037 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2039 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
2044 SWIGINTERNSHORT
unsigned int
2045 SWIG_As_unsigned_SS_int(PyObject
* obj
)
2048 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
2050 this is needed to make valgrind/purify happier.
2052 memset((void*)&v
, 0, sizeof(unsigned int));
2059 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
2061 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
2064 static wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2065 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2067 data
= new wxPyTreeItemData();
2068 data
->SetId(item
); // set the id
2069 self
->SetItemData(item
, data
);
2073 static PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2074 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2076 data
= new wxPyTreeItemData();
2077 data
->SetId(item
); // set the id
2078 self
->SetItemData(item
, data
);
2080 return data
->GetData();
2082 static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
2083 data
->SetId(item
); // set the id
2084 self
->SetItemData(item
, data
);
2086 static void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
2087 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2089 data
= new wxPyTreeItemData(obj
);
2090 data
->SetId(item
); // set the id
2091 self
->SetItemData(item
, data
);
2095 static PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
2096 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2097 PyObject
* rval
= PyList_New(0);
2098 wxArrayTreeItemIds array
;
2100 num
= self
->GetSelections(array
);
2101 for (x
=0; x
< num
; x
++) {
2102 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
2103 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
2104 PyList_Append(rval
, item
);
2107 wxPyEndBlockThreads(blocked
);
2110 static PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2112 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
2113 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2114 PyObject
* tup
= PyTuple_New(2);
2115 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
2116 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
2117 wxPyEndBlockThreads(blocked
);
2120 static PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
2121 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
2122 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2123 PyObject
* tup
= PyTuple_New(2);
2124 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
2125 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
2126 wxPyEndBlockThreads(blocked
);
2129 static PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
2131 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
2132 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2133 wxRect
* r
= new wxRect(rect
);
2134 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
2135 wxPyEndBlockThreads(blocked
);
2141 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
2143 SWIGINTERNSHORT PyObject
*
2144 SWIG_From_bool(bool value
)
2146 PyObject
*obj
= value
? Py_True
: Py_False
;
2152 // C++ version of Python aware wxControl
2153 class wxPyControl
: public wxControl
2155 DECLARE_DYNAMIC_CLASS(wxPyControl
)
2157 wxPyControl() : wxControl() {}
2158 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
2159 const wxPoint
& pos
= wxDefaultPosition
,
2160 const wxSize
& size
= wxDefaultSize
,
2162 const wxValidator
& validator
=wxDefaultValidator
,
2163 const wxString
& name
= wxPyControlNameStr
)
2164 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
2166 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
2168 bool DoEraseBackground(wxDC
* dc
) {
2170 return wxWindow::DoEraseBackground(dc
->GetHDC());
2172 dc
->SetBackground(wxBrush(GetBackgroundColour()));
2178 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2179 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2180 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2181 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2183 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2184 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2185 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2187 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2188 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2190 DEC_PYCALLBACK__(InitDialog
);
2191 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2192 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2193 DEC_PYCALLBACK_BOOL_(Validate
);
2195 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2196 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2197 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2199 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2200 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2202 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2203 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2205 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2207 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
2212 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
2214 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
2215 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
2216 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
2217 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
2219 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
2220 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
2221 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
2223 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
2224 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
2226 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
2227 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
2228 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
2229 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
2231 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
2232 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
2233 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
2235 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
2236 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
2238 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
2239 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
2241 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
2243 IMP_PYCALLBACK_VOID_(wxPyControl
, wxControl
, OnInternalIdle
);
2247 static void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
2249 #include <wx/generic/dragimgg.h>
2251 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
2252 static wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
2254 self
->GetRange(&rv
, NULL
);
2257 static wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
2259 self
->GetRange(NULL
, &rv
);
2265 static int _wrap_ButtonNameStr_set(PyObject
*) {
2266 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
2271 static PyObject
*_wrap_ButtonNameStr_get(void) {
2276 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
2278 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
2285 static PyObject
*_wrap_new_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2286 PyObject
*resultobj
;
2287 wxWindow
*arg1
= (wxWindow
*) 0 ;
2288 int arg2
= (int) -1 ;
2289 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2290 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2291 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2292 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2293 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2294 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2295 long arg6
= (long) 0 ;
2296 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2297 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2298 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
2299 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2301 bool temp3
= false ;
2304 bool temp8
= false ;
2305 PyObject
* obj0
= 0 ;
2306 PyObject
* obj1
= 0 ;
2307 PyObject
* obj2
= 0 ;
2308 PyObject
* obj3
= 0 ;
2309 PyObject
* obj4
= 0 ;
2310 PyObject
* obj5
= 0 ;
2311 PyObject
* obj6
= 0 ;
2312 PyObject
* obj7
= 0 ;
2314 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2319 if (SWIG_arg_fail(1)) SWIG_fail
;
2322 arg2
= (int)(SWIG_As_int(obj1
));
2323 if (SWIG_arg_fail(2)) SWIG_fail
;
2328 arg3
= wxString_in_helper(obj2
);
2329 if (arg3
== NULL
) SWIG_fail
;
2336 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2342 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2347 arg6
= (long)(SWIG_As_long(obj5
));
2348 if (SWIG_arg_fail(6)) SWIG_fail
;
2353 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2354 if (SWIG_arg_fail(7)) SWIG_fail
;
2356 SWIG_null_ref("wxValidator");
2358 if (SWIG_arg_fail(7)) SWIG_fail
;
2363 arg8
= wxString_in_helper(obj7
);
2364 if (arg8
== NULL
) SWIG_fail
;
2369 if (!wxPyCheckForApp()) SWIG_fail
;
2370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2371 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2373 wxPyEndAllowThreads(__tstate
);
2374 if (PyErr_Occurred()) SWIG_fail
;
2376 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
2399 static PyObject
*_wrap_new_PreButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2400 PyObject
*resultobj
;
2406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
2408 if (!wxPyCheckForApp()) SWIG_fail
;
2409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2410 result
= (wxButton
*)new wxButton();
2412 wxPyEndAllowThreads(__tstate
);
2413 if (PyErr_Occurred()) SWIG_fail
;
2415 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
2422 static PyObject
*_wrap_Button_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2423 PyObject
*resultobj
;
2424 wxButton
*arg1
= (wxButton
*) 0 ;
2425 wxWindow
*arg2
= (wxWindow
*) 0 ;
2426 int arg3
= (int) -1 ;
2427 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2428 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2429 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2430 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2431 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2432 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2433 long arg7
= (long) 0 ;
2434 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2435 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2436 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
2437 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2439 bool temp4
= false ;
2442 bool temp9
= false ;
2443 PyObject
* obj0
= 0 ;
2444 PyObject
* obj1
= 0 ;
2445 PyObject
* obj2
= 0 ;
2446 PyObject
* obj3
= 0 ;
2447 PyObject
* obj4
= 0 ;
2448 PyObject
* obj5
= 0 ;
2449 PyObject
* obj6
= 0 ;
2450 PyObject
* obj7
= 0 ;
2451 PyObject
* obj8
= 0 ;
2453 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
2458 if (SWIG_arg_fail(1)) SWIG_fail
;
2459 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2460 if (SWIG_arg_fail(2)) SWIG_fail
;
2463 arg3
= (int)(SWIG_As_int(obj2
));
2464 if (SWIG_arg_fail(3)) SWIG_fail
;
2469 arg4
= wxString_in_helper(obj3
);
2470 if (arg4
== NULL
) SWIG_fail
;
2477 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2483 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2488 arg7
= (long)(SWIG_As_long(obj6
));
2489 if (SWIG_arg_fail(7)) SWIG_fail
;
2494 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2495 if (SWIG_arg_fail(8)) SWIG_fail
;
2497 SWIG_null_ref("wxValidator");
2499 if (SWIG_arg_fail(8)) SWIG_fail
;
2504 arg9
= wxString_in_helper(obj8
);
2505 if (arg9
== NULL
) SWIG_fail
;
2510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2511 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2513 wxPyEndAllowThreads(__tstate
);
2514 if (PyErr_Occurred()) SWIG_fail
;
2517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2541 static PyObject
*_wrap_Button_SetDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2542 PyObject
*resultobj
;
2543 wxButton
*arg1
= (wxButton
*) 0 ;
2544 PyObject
* obj0
= 0 ;
2546 (char *) "self", NULL
2549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
2550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
2551 if (SWIG_arg_fail(1)) SWIG_fail
;
2553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2554 (arg1
)->SetDefault();
2556 wxPyEndAllowThreads(__tstate
);
2557 if (PyErr_Occurred()) SWIG_fail
;
2559 Py_INCREF(Py_None
); resultobj
= Py_None
;
2566 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2567 PyObject
*resultobj
;
2573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
2575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2576 result
= wxButton::GetDefaultSize();
2578 wxPyEndAllowThreads(__tstate
);
2579 if (PyErr_Occurred()) SWIG_fail
;
2583 resultptr
= new wxSize((wxSize
&)(result
));
2584 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2592 static PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2593 PyObject
*resultobj
;
2594 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
2595 wxVisualAttributes result
;
2596 PyObject
* obj0
= 0 ;
2598 (char *) "variant", NULL
2601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2604 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
2605 if (SWIG_arg_fail(1)) SWIG_fail
;
2609 if (!wxPyCheckForApp()) SWIG_fail
;
2610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2611 result
= wxButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2613 wxPyEndAllowThreads(__tstate
);
2614 if (PyErr_Occurred()) SWIG_fail
;
2617 wxVisualAttributes
* resultptr
;
2618 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
2619 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2627 static PyObject
* Button_swigregister(PyObject
*, PyObject
*args
) {
2629 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2630 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
2632 return Py_BuildValue((char *)"");
2634 static PyObject
*_wrap_new_BitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2635 PyObject
*resultobj
;
2636 wxWindow
*arg1
= (wxWindow
*) 0 ;
2637 int arg2
= (int) -1 ;
2638 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
2639 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
2640 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2641 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2642 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2643 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2644 long arg6
= (long) wxBU_AUTODRAW
;
2645 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2646 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2647 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
2648 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2649 wxBitmapButton
*result
;
2652 bool temp8
= false ;
2653 PyObject
* obj0
= 0 ;
2654 PyObject
* obj1
= 0 ;
2655 PyObject
* obj2
= 0 ;
2656 PyObject
* obj3
= 0 ;
2657 PyObject
* obj4
= 0 ;
2658 PyObject
* obj5
= 0 ;
2659 PyObject
* obj6
= 0 ;
2660 PyObject
* obj7
= 0 ;
2662 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2667 if (SWIG_arg_fail(1)) SWIG_fail
;
2670 arg2
= (int)(SWIG_As_int(obj1
));
2671 if (SWIG_arg_fail(2)) SWIG_fail
;
2676 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
2677 if (SWIG_arg_fail(3)) SWIG_fail
;
2679 SWIG_null_ref("wxBitmap");
2681 if (SWIG_arg_fail(3)) SWIG_fail
;
2687 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2693 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2698 arg6
= (long)(SWIG_As_long(obj5
));
2699 if (SWIG_arg_fail(6)) SWIG_fail
;
2704 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2705 if (SWIG_arg_fail(7)) SWIG_fail
;
2707 SWIG_null_ref("wxValidator");
2709 if (SWIG_arg_fail(7)) SWIG_fail
;
2714 arg8
= wxString_in_helper(obj7
);
2715 if (arg8
== NULL
) SWIG_fail
;
2720 if (!wxPyCheckForApp()) SWIG_fail
;
2721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2722 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2724 wxPyEndAllowThreads(__tstate
);
2725 if (PyErr_Occurred()) SWIG_fail
;
2727 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
2742 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2743 PyObject
*resultobj
;
2744 wxBitmapButton
*result
;
2749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
2751 if (!wxPyCheckForApp()) SWIG_fail
;
2752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2753 result
= (wxBitmapButton
*)new wxBitmapButton();
2755 wxPyEndAllowThreads(__tstate
);
2756 if (PyErr_Occurred()) SWIG_fail
;
2758 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
2765 static PyObject
*_wrap_BitmapButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2766 PyObject
*resultobj
;
2767 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2768 wxWindow
*arg2
= (wxWindow
*) 0 ;
2769 int arg3
= (int) -1 ;
2770 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
2771 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
2772 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2773 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2774 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2775 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2776 long arg7
= (long) wxBU_AUTODRAW
;
2777 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2778 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2779 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
2780 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2784 bool temp9
= false ;
2785 PyObject
* obj0
= 0 ;
2786 PyObject
* obj1
= 0 ;
2787 PyObject
* obj2
= 0 ;
2788 PyObject
* obj3
= 0 ;
2789 PyObject
* obj4
= 0 ;
2790 PyObject
* obj5
= 0 ;
2791 PyObject
* obj6
= 0 ;
2792 PyObject
* obj7
= 0 ;
2793 PyObject
* obj8
= 0 ;
2795 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2800 if (SWIG_arg_fail(1)) SWIG_fail
;
2801 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2802 if (SWIG_arg_fail(2)) SWIG_fail
;
2805 arg3
= (int)(SWIG_As_int(obj2
));
2806 if (SWIG_arg_fail(3)) SWIG_fail
;
2811 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
2812 if (SWIG_arg_fail(4)) SWIG_fail
;
2814 SWIG_null_ref("wxBitmap");
2816 if (SWIG_arg_fail(4)) SWIG_fail
;
2822 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2828 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2833 arg7
= (long)(SWIG_As_long(obj6
));
2834 if (SWIG_arg_fail(7)) SWIG_fail
;
2839 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2840 if (SWIG_arg_fail(8)) SWIG_fail
;
2842 SWIG_null_ref("wxValidator");
2844 if (SWIG_arg_fail(8)) SWIG_fail
;
2849 arg9
= wxString_in_helper(obj8
);
2850 if (arg9
== NULL
) SWIG_fail
;
2855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2856 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2858 wxPyEndAllowThreads(__tstate
);
2859 if (PyErr_Occurred()) SWIG_fail
;
2862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2878 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(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_GetBitmapLabel",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
)->GetBitmapLabel();
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_GetBitmapDisabled(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_GetBitmapDisabled",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
)->GetBitmapDisabled();
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_GetBitmapFocus(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_GetBitmapFocus",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
)->GetBitmapFocus();
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_GetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2969 PyObject
*resultobj
;
2970 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2972 PyObject
* obj0
= 0 ;
2974 (char *) "self", NULL
2977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
2978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2979 if (SWIG_arg_fail(1)) SWIG_fail
;
2981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2982 result
= (arg1
)->GetBitmapSelected();
2984 wxPyEndAllowThreads(__tstate
);
2985 if (PyErr_Occurred()) SWIG_fail
;
2988 wxBitmap
* resultptr
;
2989 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2990 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2998 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2999 PyObject
*resultobj
;
3000 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3001 wxBitmap
*arg2
= 0 ;
3002 PyObject
* obj0
= 0 ;
3003 PyObject
* obj1
= 0 ;
3005 (char *) "self",(char *) "bitmap", NULL
3008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
3009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3010 if (SWIG_arg_fail(1)) SWIG_fail
;
3012 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3013 if (SWIG_arg_fail(2)) SWIG_fail
;
3015 SWIG_null_ref("wxBitmap");
3017 if (SWIG_arg_fail(2)) SWIG_fail
;
3020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3021 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
3023 wxPyEndAllowThreads(__tstate
);
3024 if (PyErr_Occurred()) SWIG_fail
;
3026 Py_INCREF(Py_None
); resultobj
= Py_None
;
3033 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3034 PyObject
*resultobj
;
3035 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3036 wxBitmap
*arg2
= 0 ;
3037 PyObject
* obj0
= 0 ;
3038 PyObject
* obj1
= 0 ;
3040 (char *) "self",(char *) "bitmap", NULL
3043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
3044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3045 if (SWIG_arg_fail(1)) SWIG_fail
;
3047 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3048 if (SWIG_arg_fail(2)) SWIG_fail
;
3050 SWIG_null_ref("wxBitmap");
3052 if (SWIG_arg_fail(2)) SWIG_fail
;
3055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3056 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
3058 wxPyEndAllowThreads(__tstate
);
3059 if (PyErr_Occurred()) SWIG_fail
;
3061 Py_INCREF(Py_None
); resultobj
= Py_None
;
3068 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3069 PyObject
*resultobj
;
3070 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3071 wxBitmap
*arg2
= 0 ;
3072 PyObject
* obj0
= 0 ;
3073 PyObject
* obj1
= 0 ;
3075 (char *) "self",(char *) "bitmap", NULL
3078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
3079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3080 if (SWIG_arg_fail(1)) SWIG_fail
;
3082 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3083 if (SWIG_arg_fail(2)) SWIG_fail
;
3085 SWIG_null_ref("wxBitmap");
3087 if (SWIG_arg_fail(2)) SWIG_fail
;
3090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3091 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
3093 wxPyEndAllowThreads(__tstate
);
3094 if (PyErr_Occurred()) SWIG_fail
;
3096 Py_INCREF(Py_None
); resultobj
= Py_None
;
3103 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3104 PyObject
*resultobj
;
3105 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3106 wxBitmap
*arg2
= 0 ;
3107 PyObject
* obj0
= 0 ;
3108 PyObject
* obj1
= 0 ;
3110 (char *) "self",(char *) "bitmap", NULL
3113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
3114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3115 if (SWIG_arg_fail(1)) SWIG_fail
;
3117 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3118 if (SWIG_arg_fail(2)) SWIG_fail
;
3120 SWIG_null_ref("wxBitmap");
3122 if (SWIG_arg_fail(2)) SWIG_fail
;
3125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3126 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
3128 wxPyEndAllowThreads(__tstate
);
3129 if (PyErr_Occurred()) SWIG_fail
;
3131 Py_INCREF(Py_None
); resultobj
= Py_None
;
3138 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3139 PyObject
*resultobj
;
3140 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3143 PyObject
* obj0
= 0 ;
3144 PyObject
* obj1
= 0 ;
3145 PyObject
* obj2
= 0 ;
3147 (char *) "self",(char *) "x",(char *) "y", NULL
3150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3152 if (SWIG_arg_fail(1)) SWIG_fail
;
3154 arg2
= (int)(SWIG_As_int(obj1
));
3155 if (SWIG_arg_fail(2)) SWIG_fail
;
3158 arg3
= (int)(SWIG_As_int(obj2
));
3159 if (SWIG_arg_fail(3)) SWIG_fail
;
3162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3163 (arg1
)->SetMargins(arg2
,arg3
);
3165 wxPyEndAllowThreads(__tstate
);
3166 if (PyErr_Occurred()) SWIG_fail
;
3168 Py_INCREF(Py_None
); resultobj
= Py_None
;
3175 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3176 PyObject
*resultobj
;
3177 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3179 PyObject
* obj0
= 0 ;
3181 (char *) "self", NULL
3184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
3185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3186 if (SWIG_arg_fail(1)) SWIG_fail
;
3188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3189 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
3191 wxPyEndAllowThreads(__tstate
);
3192 if (PyErr_Occurred()) SWIG_fail
;
3195 resultobj
= SWIG_From_int((int)(result
));
3203 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3204 PyObject
*resultobj
;
3205 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3207 PyObject
* obj0
= 0 ;
3209 (char *) "self", NULL
3212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
3213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3214 if (SWIG_arg_fail(1)) SWIG_fail
;
3216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3217 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
3219 wxPyEndAllowThreads(__tstate
);
3220 if (PyErr_Occurred()) SWIG_fail
;
3223 resultobj
= SWIG_From_int((int)(result
));
3231 static PyObject
* BitmapButton_swigregister(PyObject
*, PyObject
*args
) {
3233 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3234 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
3236 return Py_BuildValue((char *)"");
3238 static int _wrap_CheckBoxNameStr_set(PyObject
*) {
3239 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
3244 static PyObject
*_wrap_CheckBoxNameStr_get(void) {
3249 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
3251 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
3258 static PyObject
*_wrap_new_CheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3259 PyObject
*resultobj
;
3260 wxWindow
*arg1
= (wxWindow
*) 0 ;
3261 int arg2
= (int) -1 ;
3262 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3263 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3264 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3265 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3266 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3267 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3268 long arg6
= (long) 0 ;
3269 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3270 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3271 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
3272 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3274 bool temp3
= false ;
3277 bool temp8
= false ;
3278 PyObject
* obj0
= 0 ;
3279 PyObject
* obj1
= 0 ;
3280 PyObject
* obj2
= 0 ;
3281 PyObject
* obj3
= 0 ;
3282 PyObject
* obj4
= 0 ;
3283 PyObject
* obj5
= 0 ;
3284 PyObject
* obj6
= 0 ;
3285 PyObject
* obj7
= 0 ;
3287 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3292 if (SWIG_arg_fail(1)) SWIG_fail
;
3295 arg2
= (int)(SWIG_As_int(obj1
));
3296 if (SWIG_arg_fail(2)) SWIG_fail
;
3301 arg3
= wxString_in_helper(obj2
);
3302 if (arg3
== NULL
) SWIG_fail
;
3309 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3315 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3320 arg6
= (long)(SWIG_As_long(obj5
));
3321 if (SWIG_arg_fail(6)) SWIG_fail
;
3326 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3327 if (SWIG_arg_fail(7)) SWIG_fail
;
3329 SWIG_null_ref("wxValidator");
3331 if (SWIG_arg_fail(7)) SWIG_fail
;
3336 arg8
= wxString_in_helper(obj7
);
3337 if (arg8
== NULL
) SWIG_fail
;
3342 if (!wxPyCheckForApp()) SWIG_fail
;
3343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3344 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3346 wxPyEndAllowThreads(__tstate
);
3347 if (PyErr_Occurred()) SWIG_fail
;
3349 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
3372 static PyObject
*_wrap_new_PreCheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3373 PyObject
*resultobj
;
3379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
3381 if (!wxPyCheckForApp()) SWIG_fail
;
3382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3383 result
= (wxCheckBox
*)new wxCheckBox();
3385 wxPyEndAllowThreads(__tstate
);
3386 if (PyErr_Occurred()) SWIG_fail
;
3388 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
3395 static PyObject
*_wrap_CheckBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3396 PyObject
*resultobj
;
3397 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3398 wxWindow
*arg2
= (wxWindow
*) 0 ;
3399 int arg3
= (int) -1 ;
3400 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3401 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3402 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3403 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3404 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3405 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3406 long arg7
= (long) 0 ;
3407 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3408 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3409 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
3410 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3412 bool temp4
= false ;
3415 bool temp9
= false ;
3416 PyObject
* obj0
= 0 ;
3417 PyObject
* obj1
= 0 ;
3418 PyObject
* obj2
= 0 ;
3419 PyObject
* obj3
= 0 ;
3420 PyObject
* obj4
= 0 ;
3421 PyObject
* obj5
= 0 ;
3422 PyObject
* obj6
= 0 ;
3423 PyObject
* obj7
= 0 ;
3424 PyObject
* obj8
= 0 ;
3426 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3431 if (SWIG_arg_fail(1)) SWIG_fail
;
3432 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3433 if (SWIG_arg_fail(2)) SWIG_fail
;
3436 arg3
= (int)(SWIG_As_int(obj2
));
3437 if (SWIG_arg_fail(3)) SWIG_fail
;
3442 arg4
= wxString_in_helper(obj3
);
3443 if (arg4
== NULL
) SWIG_fail
;
3450 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3456 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3461 arg7
= (long)(SWIG_As_long(obj6
));
3462 if (SWIG_arg_fail(7)) SWIG_fail
;
3467 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3468 if (SWIG_arg_fail(8)) SWIG_fail
;
3470 SWIG_null_ref("wxValidator");
3472 if (SWIG_arg_fail(8)) SWIG_fail
;
3477 arg9
= wxString_in_helper(obj8
);
3478 if (arg9
== NULL
) SWIG_fail
;
3483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3484 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3486 wxPyEndAllowThreads(__tstate
);
3487 if (PyErr_Occurred()) SWIG_fail
;
3490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3514 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3515 PyObject
*resultobj
;
3516 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3518 PyObject
* obj0
= 0 ;
3520 (char *) "self", NULL
3523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
3524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3525 if (SWIG_arg_fail(1)) SWIG_fail
;
3527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3528 result
= (bool)(arg1
)->GetValue();
3530 wxPyEndAllowThreads(__tstate
);
3531 if (PyErr_Occurred()) SWIG_fail
;
3534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3542 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3543 PyObject
*resultobj
;
3544 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3546 PyObject
* obj0
= 0 ;
3548 (char *) "self", NULL
3551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
3552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3553 if (SWIG_arg_fail(1)) SWIG_fail
;
3555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3556 result
= (bool)(arg1
)->IsChecked();
3558 wxPyEndAllowThreads(__tstate
);
3559 if (PyErr_Occurred()) SWIG_fail
;
3562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3570 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3571 PyObject
*resultobj
;
3572 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3574 PyObject
* obj0
= 0 ;
3575 PyObject
* obj1
= 0 ;
3577 (char *) "self",(char *) "state", NULL
3580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) 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 arg2
= (bool const)(SWIG_As_bool(obj1
));
3585 if (SWIG_arg_fail(2)) SWIG_fail
;
3588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3589 (arg1
)->SetValue(arg2
);
3591 wxPyEndAllowThreads(__tstate
);
3592 if (PyErr_Occurred()) SWIG_fail
;
3594 Py_INCREF(Py_None
); resultobj
= Py_None
;
3601 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3602 PyObject
*resultobj
;
3603 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3604 wxCheckBoxState result
;
3605 PyObject
* obj0
= 0 ;
3607 (char *) "self", NULL
3610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
3611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3612 if (SWIG_arg_fail(1)) SWIG_fail
;
3614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3615 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
3617 wxPyEndAllowThreads(__tstate
);
3618 if (PyErr_Occurred()) SWIG_fail
;
3620 resultobj
= SWIG_From_int((result
));
3627 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3628 PyObject
*resultobj
;
3629 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3630 wxCheckBoxState arg2
;
3631 PyObject
* obj0
= 0 ;
3632 PyObject
* obj1
= 0 ;
3634 (char *) "self",(char *) "state", NULL
3637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) 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 arg2
= (wxCheckBoxState
)(SWIG_As_int(obj1
));
3642 if (SWIG_arg_fail(2)) SWIG_fail
;
3645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3646 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
3648 wxPyEndAllowThreads(__tstate
);
3649 if (PyErr_Occurred()) SWIG_fail
;
3651 Py_INCREF(Py_None
); resultobj
= Py_None
;
3658 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3659 PyObject
*resultobj
;
3660 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3662 PyObject
* obj0
= 0 ;
3664 (char *) "self", NULL
3667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
3668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3669 if (SWIG_arg_fail(1)) SWIG_fail
;
3671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3672 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
3674 wxPyEndAllowThreads(__tstate
);
3675 if (PyErr_Occurred()) SWIG_fail
;
3678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3686 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3687 PyObject
*resultobj
;
3688 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3690 PyObject
* obj0
= 0 ;
3692 (char *) "self", NULL
3695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
3696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3697 if (SWIG_arg_fail(1)) SWIG_fail
;
3699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3700 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
3702 wxPyEndAllowThreads(__tstate
);
3703 if (PyErr_Occurred()) SWIG_fail
;
3706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3714 static PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3715 PyObject
*resultobj
;
3716 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3717 wxVisualAttributes result
;
3718 PyObject
* obj0
= 0 ;
3720 (char *) "variant", NULL
3723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3726 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
3727 if (SWIG_arg_fail(1)) SWIG_fail
;
3731 if (!wxPyCheckForApp()) SWIG_fail
;
3732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3733 result
= wxCheckBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3735 wxPyEndAllowThreads(__tstate
);
3736 if (PyErr_Occurred()) SWIG_fail
;
3739 wxVisualAttributes
* resultptr
;
3740 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
3741 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3749 static PyObject
* CheckBox_swigregister(PyObject
*, PyObject
*args
) {
3751 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3752 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
3754 return Py_BuildValue((char *)"");
3756 static int _wrap_ChoiceNameStr_set(PyObject
*) {
3757 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
3762 static PyObject
*_wrap_ChoiceNameStr_get(void) {
3767 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
3769 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
3776 static PyObject
*_wrap_new_Choice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3777 PyObject
*resultobj
;
3778 wxWindow
*arg1
= (wxWindow
*) 0 ;
3779 int arg2
= (int) -1 ;
3780 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3781 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3782 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3783 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3784 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
3785 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
3786 long arg6
= (long) 0 ;
3787 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3788 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3789 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
3790 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3794 bool temp5
= false ;
3795 bool temp8
= false ;
3796 PyObject
* obj0
= 0 ;
3797 PyObject
* obj1
= 0 ;
3798 PyObject
* obj2
= 0 ;
3799 PyObject
* obj3
= 0 ;
3800 PyObject
* obj4
= 0 ;
3801 PyObject
* obj5
= 0 ;
3802 PyObject
* obj6
= 0 ;
3803 PyObject
* obj7
= 0 ;
3805 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3810 if (SWIG_arg_fail(1)) SWIG_fail
;
3813 arg2
= (int)(SWIG_As_int(obj1
));
3814 if (SWIG_arg_fail(2)) SWIG_fail
;
3820 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3826 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3831 if (! PySequence_Check(obj4
)) {
3832 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3835 arg5
= new wxArrayString
;
3837 int i
, len
=PySequence_Length(obj4
);
3838 for (i
=0; i
<len
; i
++) {
3839 PyObject
* item
= PySequence_GetItem(obj4
, i
);
3840 wxString
* s
= wxString_in_helper(item
);
3841 if (PyErr_Occurred()) SWIG_fail
;
3850 arg6
= (long)(SWIG_As_long(obj5
));
3851 if (SWIG_arg_fail(6)) SWIG_fail
;
3856 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3857 if (SWIG_arg_fail(7)) SWIG_fail
;
3859 SWIG_null_ref("wxValidator");
3861 if (SWIG_arg_fail(7)) SWIG_fail
;
3866 arg8
= wxString_in_helper(obj7
);
3867 if (arg8
== NULL
) SWIG_fail
;
3872 if (!wxPyCheckForApp()) SWIG_fail
;
3873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3874 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3876 wxPyEndAllowThreads(__tstate
);
3877 if (PyErr_Occurred()) SWIG_fail
;
3879 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
3881 if (temp5
) delete arg5
;
3890 if (temp5
) delete arg5
;
3900 static PyObject
*_wrap_new_PreChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3901 PyObject
*resultobj
;
3907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
3909 if (!wxPyCheckForApp()) SWIG_fail
;
3910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3911 result
= (wxChoice
*)new wxChoice();
3913 wxPyEndAllowThreads(__tstate
);
3914 if (PyErr_Occurred()) SWIG_fail
;
3916 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
3923 static PyObject
*_wrap_Choice_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3924 PyObject
*resultobj
;
3925 wxChoice
*arg1
= (wxChoice
*) 0 ;
3926 wxWindow
*arg2
= (wxWindow
*) 0 ;
3927 int arg3
= (int) -1 ;
3928 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3929 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3930 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3931 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3932 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
3933 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
3934 long arg7
= (long) 0 ;
3935 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3936 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3937 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
3938 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3942 bool temp6
= false ;
3943 bool temp9
= false ;
3944 PyObject
* obj0
= 0 ;
3945 PyObject
* obj1
= 0 ;
3946 PyObject
* obj2
= 0 ;
3947 PyObject
* obj3
= 0 ;
3948 PyObject
* obj4
= 0 ;
3949 PyObject
* obj5
= 0 ;
3950 PyObject
* obj6
= 0 ;
3951 PyObject
* obj7
= 0 ;
3952 PyObject
* obj8
= 0 ;
3954 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoice
, SWIG_POINTER_EXCEPTION
| 0);
3959 if (SWIG_arg_fail(1)) SWIG_fail
;
3960 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3961 if (SWIG_arg_fail(2)) SWIG_fail
;
3964 arg3
= (int)(SWIG_As_int(obj2
));
3965 if (SWIG_arg_fail(3)) SWIG_fail
;
3971 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3977 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3982 if (! PySequence_Check(obj5
)) {
3983 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3986 arg6
= new wxArrayString
;
3988 int i
, len
=PySequence_Length(obj5
);
3989 for (i
=0; i
<len
; i
++) {
3990 PyObject
* item
= PySequence_GetItem(obj5
, i
);
3991 wxString
* s
= wxString_in_helper(item
);
3992 if (PyErr_Occurred()) SWIG_fail
;
4001 arg7
= (long)(SWIG_As_long(obj6
));
4002 if (SWIG_arg_fail(7)) SWIG_fail
;
4007 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4008 if (SWIG_arg_fail(8)) SWIG_fail
;
4010 SWIG_null_ref("wxValidator");
4012 if (SWIG_arg_fail(8)) SWIG_fail
;
4017 arg9
= wxString_in_helper(obj8
);
4018 if (arg9
== NULL
) SWIG_fail
;
4023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4024 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4026 wxPyEndAllowThreads(__tstate
);
4027 if (PyErr_Occurred()) SWIG_fail
;
4030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4033 if (temp6
) delete arg6
;
4042 if (temp6
) delete arg6
;
4052 static PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4053 PyObject
*resultobj
;
4054 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
4055 wxVisualAttributes result
;
4056 PyObject
* obj0
= 0 ;
4058 (char *) "variant", NULL
4061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4064 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
4065 if (SWIG_arg_fail(1)) SWIG_fail
;
4069 if (!wxPyCheckForApp()) SWIG_fail
;
4070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4071 result
= wxChoice::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4073 wxPyEndAllowThreads(__tstate
);
4074 if (PyErr_Occurred()) SWIG_fail
;
4077 wxVisualAttributes
* resultptr
;
4078 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
4079 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4087 static PyObject
* Choice_swigregister(PyObject
*, PyObject
*args
) {
4089 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4090 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
4092 return Py_BuildValue((char *)"");
4094 static int _wrap_ComboBoxNameStr_set(PyObject
*) {
4095 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
4100 static PyObject
*_wrap_ComboBoxNameStr_get(void) {
4105 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
4107 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
4114 static PyObject
*_wrap_new_ComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4115 PyObject
*resultobj
;
4116 wxWindow
*arg1
= (wxWindow
*) 0 ;
4117 int arg2
= (int) -1 ;
4118 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4119 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4120 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4121 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4122 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4123 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4124 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
4125 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
4126 long arg7
= (long) 0 ;
4127 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4128 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4129 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
4130 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4132 bool temp3
= false ;
4135 bool temp6
= false ;
4136 bool temp9
= false ;
4137 PyObject
* obj0
= 0 ;
4138 PyObject
* obj1
= 0 ;
4139 PyObject
* obj2
= 0 ;
4140 PyObject
* obj3
= 0 ;
4141 PyObject
* obj4
= 0 ;
4142 PyObject
* obj5
= 0 ;
4143 PyObject
* obj6
= 0 ;
4144 PyObject
* obj7
= 0 ;
4145 PyObject
* obj8
= 0 ;
4147 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4152 if (SWIG_arg_fail(1)) SWIG_fail
;
4155 arg2
= (int)(SWIG_As_int(obj1
));
4156 if (SWIG_arg_fail(2)) SWIG_fail
;
4161 arg3
= wxString_in_helper(obj2
);
4162 if (arg3
== NULL
) SWIG_fail
;
4169 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4175 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4180 if (! PySequence_Check(obj5
)) {
4181 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4184 arg6
= new wxArrayString
;
4186 int i
, len
=PySequence_Length(obj5
);
4187 for (i
=0; i
<len
; i
++) {
4188 PyObject
* item
= PySequence_GetItem(obj5
, i
);
4189 wxString
* s
= wxString_in_helper(item
);
4190 if (PyErr_Occurred()) SWIG_fail
;
4199 arg7
= (long)(SWIG_As_long(obj6
));
4200 if (SWIG_arg_fail(7)) SWIG_fail
;
4205 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4206 if (SWIG_arg_fail(8)) SWIG_fail
;
4208 SWIG_null_ref("wxValidator");
4210 if (SWIG_arg_fail(8)) SWIG_fail
;
4215 arg9
= wxString_in_helper(obj8
);
4216 if (arg9
== NULL
) SWIG_fail
;
4221 if (!wxPyCheckForApp()) SWIG_fail
;
4222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4223 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
);
4225 wxPyEndAllowThreads(__tstate
);
4226 if (PyErr_Occurred()) SWIG_fail
;
4228 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
4234 if (temp6
) delete arg6
;
4247 if (temp6
) delete arg6
;
4257 static PyObject
*_wrap_new_PreComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4258 PyObject
*resultobj
;
4264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
4266 if (!wxPyCheckForApp()) SWIG_fail
;
4267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4268 result
= (wxComboBox
*)new wxComboBox();
4270 wxPyEndAllowThreads(__tstate
);
4271 if (PyErr_Occurred()) SWIG_fail
;
4273 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
4280 static PyObject
*_wrap_ComboBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4281 PyObject
*resultobj
;
4282 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4283 wxWindow
*arg2
= (wxWindow
*) 0 ;
4284 int arg3
= (int) -1 ;
4285 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4286 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4287 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4288 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4289 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4290 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4291 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
4292 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
4293 long arg8
= (long) 0 ;
4294 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
4295 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
4296 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
4297 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
4299 bool temp4
= false ;
4302 bool temp7
= false ;
4303 bool temp10
= false ;
4304 PyObject
* obj0
= 0 ;
4305 PyObject
* obj1
= 0 ;
4306 PyObject
* obj2
= 0 ;
4307 PyObject
* obj3
= 0 ;
4308 PyObject
* obj4
= 0 ;
4309 PyObject
* obj5
= 0 ;
4310 PyObject
* obj6
= 0 ;
4311 PyObject
* obj7
= 0 ;
4312 PyObject
* obj8
= 0 ;
4313 PyObject
* obj9
= 0 ;
4315 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
4319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4320 if (SWIG_arg_fail(1)) SWIG_fail
;
4321 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4322 if (SWIG_arg_fail(2)) SWIG_fail
;
4325 arg3
= (int)(SWIG_As_int(obj2
));
4326 if (SWIG_arg_fail(3)) SWIG_fail
;
4331 arg4
= wxString_in_helper(obj3
);
4332 if (arg4
== NULL
) SWIG_fail
;
4339 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4345 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4350 if (! PySequence_Check(obj6
)) {
4351 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4354 arg7
= new wxArrayString
;
4356 int i
, len
=PySequence_Length(obj6
);
4357 for (i
=0; i
<len
; i
++) {
4358 PyObject
* item
= PySequence_GetItem(obj6
, i
);
4359 wxString
* s
= wxString_in_helper(item
);
4360 if (PyErr_Occurred()) SWIG_fail
;
4369 arg8
= (long)(SWIG_As_long(obj7
));
4370 if (SWIG_arg_fail(8)) SWIG_fail
;
4375 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4376 if (SWIG_arg_fail(9)) SWIG_fail
;
4378 SWIG_null_ref("wxValidator");
4380 if (SWIG_arg_fail(9)) SWIG_fail
;
4385 arg10
= wxString_in_helper(obj9
);
4386 if (arg10
== NULL
) SWIG_fail
;
4391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4392 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
);
4394 wxPyEndAllowThreads(__tstate
);
4395 if (PyErr_Occurred()) SWIG_fail
;
4398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4405 if (temp7
) delete arg7
;
4418 if (temp7
) delete arg7
;
4428 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4429 PyObject
*resultobj
;
4430 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4432 PyObject
* obj0
= 0 ;
4434 (char *) "self", NULL
4437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
4438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4439 if (SWIG_arg_fail(1)) SWIG_fail
;
4441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4442 result
= ((wxComboBox
const *)arg1
)->GetValue();
4444 wxPyEndAllowThreads(__tstate
);
4445 if (PyErr_Occurred()) SWIG_fail
;
4449 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4451 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4460 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4461 PyObject
*resultobj
;
4462 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4463 wxString
*arg2
= 0 ;
4464 bool temp2
= false ;
4465 PyObject
* obj0
= 0 ;
4466 PyObject
* obj1
= 0 ;
4468 (char *) "self",(char *) "value", NULL
4471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
4472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4473 if (SWIG_arg_fail(1)) SWIG_fail
;
4475 arg2
= wxString_in_helper(obj1
);
4476 if (arg2
== NULL
) SWIG_fail
;
4480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4481 (arg1
)->SetValue((wxString
const &)*arg2
);
4483 wxPyEndAllowThreads(__tstate
);
4484 if (PyErr_Occurred()) SWIG_fail
;
4486 Py_INCREF(Py_None
); resultobj
= Py_None
;
4501 static PyObject
*_wrap_ComboBox_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4502 PyObject
*resultobj
;
4503 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4504 PyObject
* obj0
= 0 ;
4506 (char *) "self", NULL
4509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
4510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4511 if (SWIG_arg_fail(1)) SWIG_fail
;
4513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4516 wxPyEndAllowThreads(__tstate
);
4517 if (PyErr_Occurred()) SWIG_fail
;
4519 Py_INCREF(Py_None
); resultobj
= Py_None
;
4526 static PyObject
*_wrap_ComboBox_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4527 PyObject
*resultobj
;
4528 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4529 PyObject
* obj0
= 0 ;
4531 (char *) "self", NULL
4534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
4535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4536 if (SWIG_arg_fail(1)) SWIG_fail
;
4538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4541 wxPyEndAllowThreads(__tstate
);
4542 if (PyErr_Occurred()) SWIG_fail
;
4544 Py_INCREF(Py_None
); resultobj
= Py_None
;
4551 static PyObject
*_wrap_ComboBox_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4552 PyObject
*resultobj
;
4553 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4554 PyObject
* obj0
= 0 ;
4556 (char *) "self", NULL
4559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
4560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4561 if (SWIG_arg_fail(1)) SWIG_fail
;
4563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4566 wxPyEndAllowThreads(__tstate
);
4567 if (PyErr_Occurred()) SWIG_fail
;
4569 Py_INCREF(Py_None
); resultobj
= Py_None
;
4576 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4577 PyObject
*resultobj
;
4578 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4580 PyObject
* obj0
= 0 ;
4581 PyObject
* obj1
= 0 ;
4583 (char *) "self",(char *) "pos", NULL
4586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4588 if (SWIG_arg_fail(1)) SWIG_fail
;
4590 arg2
= (long)(SWIG_As_long(obj1
));
4591 if (SWIG_arg_fail(2)) SWIG_fail
;
4594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4595 (arg1
)->SetInsertionPoint(arg2
);
4597 wxPyEndAllowThreads(__tstate
);
4598 if (PyErr_Occurred()) SWIG_fail
;
4600 Py_INCREF(Py_None
); resultobj
= Py_None
;
4607 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4608 PyObject
*resultobj
;
4609 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4611 PyObject
* obj0
= 0 ;
4613 (char *) "self", NULL
4616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
4617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4618 if (SWIG_arg_fail(1)) SWIG_fail
;
4620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4621 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
4623 wxPyEndAllowThreads(__tstate
);
4624 if (PyErr_Occurred()) SWIG_fail
;
4627 resultobj
= SWIG_From_long((long)(result
));
4635 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4636 PyObject
*resultobj
;
4637 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4639 PyObject
* obj0
= 0 ;
4641 (char *) "self", NULL
4644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
4645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4646 if (SWIG_arg_fail(1)) SWIG_fail
;
4648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4649 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
4651 wxPyEndAllowThreads(__tstate
);
4652 if (PyErr_Occurred()) SWIG_fail
;
4655 resultobj
= SWIG_From_long((long)(result
));
4663 static PyObject
*_wrap_ComboBox_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4664 PyObject
*resultobj
;
4665 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4668 wxString
*arg4
= 0 ;
4669 bool temp4
= false ;
4670 PyObject
* obj0
= 0 ;
4671 PyObject
* obj1
= 0 ;
4672 PyObject
* obj2
= 0 ;
4673 PyObject
* obj3
= 0 ;
4675 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
4678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4680 if (SWIG_arg_fail(1)) SWIG_fail
;
4682 arg2
= (long)(SWIG_As_long(obj1
));
4683 if (SWIG_arg_fail(2)) SWIG_fail
;
4686 arg3
= (long)(SWIG_As_long(obj2
));
4687 if (SWIG_arg_fail(3)) SWIG_fail
;
4690 arg4
= wxString_in_helper(obj3
);
4691 if (arg4
== NULL
) SWIG_fail
;
4695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4696 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
4698 wxPyEndAllowThreads(__tstate
);
4699 if (PyErr_Occurred()) SWIG_fail
;
4701 Py_INCREF(Py_None
); resultobj
= Py_None
;
4716 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4717 PyObject
*resultobj
;
4718 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4720 PyObject
* obj0
= 0 ;
4721 PyObject
* obj1
= 0 ;
4723 (char *) "self",(char *) "n", NULL
4726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
4727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4728 if (SWIG_arg_fail(1)) SWIG_fail
;
4730 arg2
= (int)(SWIG_As_int(obj1
));
4731 if (SWIG_arg_fail(2)) SWIG_fail
;
4734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4735 (arg1
)->SetSelection(arg2
);
4737 wxPyEndAllowThreads(__tstate
);
4738 if (PyErr_Occurred()) SWIG_fail
;
4740 Py_INCREF(Py_None
); resultobj
= Py_None
;
4747 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4748 PyObject
*resultobj
;
4749 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4752 PyObject
* obj0
= 0 ;
4753 PyObject
* obj1
= 0 ;
4754 PyObject
* obj2
= 0 ;
4756 (char *) "self",(char *) "from",(char *) "to", NULL
4759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4761 if (SWIG_arg_fail(1)) SWIG_fail
;
4763 arg2
= (long)(SWIG_As_long(obj1
));
4764 if (SWIG_arg_fail(2)) SWIG_fail
;
4767 arg3
= (long)(SWIG_As_long(obj2
));
4768 if (SWIG_arg_fail(3)) SWIG_fail
;
4771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4772 (arg1
)->SetSelection(arg2
,arg3
);
4774 wxPyEndAllowThreads(__tstate
);
4775 if (PyErr_Occurred()) SWIG_fail
;
4777 Py_INCREF(Py_None
); resultobj
= Py_None
;
4784 static PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4785 PyObject
*resultobj
;
4786 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4787 wxString
*arg2
= 0 ;
4789 bool temp2
= false ;
4790 PyObject
* obj0
= 0 ;
4791 PyObject
* obj1
= 0 ;
4793 (char *) "self",(char *) "string", NULL
4796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
4797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4798 if (SWIG_arg_fail(1)) SWIG_fail
;
4800 arg2
= wxString_in_helper(obj1
);
4801 if (arg2
== NULL
) SWIG_fail
;
4805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4806 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
4808 wxPyEndAllowThreads(__tstate
);
4809 if (PyErr_Occurred()) SWIG_fail
;
4812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4828 static PyObject
*_wrap_ComboBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4829 PyObject
*resultobj
;
4830 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4832 wxString
*arg3
= 0 ;
4833 bool temp3
= false ;
4834 PyObject
* obj0
= 0 ;
4835 PyObject
* obj1
= 0 ;
4836 PyObject
* obj2
= 0 ;
4838 (char *) "self",(char *) "n",(char *) "string", NULL
4841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4843 if (SWIG_arg_fail(1)) SWIG_fail
;
4845 arg2
= (int)(SWIG_As_int(obj1
));
4846 if (SWIG_arg_fail(2)) SWIG_fail
;
4849 arg3
= wxString_in_helper(obj2
);
4850 if (arg3
== NULL
) SWIG_fail
;
4854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4855 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
4857 wxPyEndAllowThreads(__tstate
);
4858 if (PyErr_Occurred()) SWIG_fail
;
4860 Py_INCREF(Py_None
); resultobj
= Py_None
;
4875 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4876 PyObject
*resultobj
;
4877 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4879 PyObject
* obj0
= 0 ;
4880 PyObject
* obj1
= 0 ;
4882 (char *) "self",(char *) "editable", NULL
4885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
4886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4887 if (SWIG_arg_fail(1)) SWIG_fail
;
4889 arg2
= (bool)(SWIG_As_bool(obj1
));
4890 if (SWIG_arg_fail(2)) SWIG_fail
;
4893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4894 (arg1
)->SetEditable(arg2
);
4896 wxPyEndAllowThreads(__tstate
);
4897 if (PyErr_Occurred()) SWIG_fail
;
4899 Py_INCREF(Py_None
); resultobj
= Py_None
;
4906 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4907 PyObject
*resultobj
;
4908 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4909 PyObject
* obj0
= 0 ;
4911 (char *) "self", NULL
4914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
4915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4916 if (SWIG_arg_fail(1)) SWIG_fail
;
4918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4919 (arg1
)->SetInsertionPointEnd();
4921 wxPyEndAllowThreads(__tstate
);
4922 if (PyErr_Occurred()) SWIG_fail
;
4924 Py_INCREF(Py_None
); resultobj
= Py_None
;
4931 static PyObject
*_wrap_ComboBox_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4932 PyObject
*resultobj
;
4933 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4936 PyObject
* obj0
= 0 ;
4937 PyObject
* obj1
= 0 ;
4938 PyObject
* obj2
= 0 ;
4940 (char *) "self",(char *) "from",(char *) "to", NULL
4943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4945 if (SWIG_arg_fail(1)) SWIG_fail
;
4947 arg2
= (long)(SWIG_As_long(obj1
));
4948 if (SWIG_arg_fail(2)) SWIG_fail
;
4951 arg3
= (long)(SWIG_As_long(obj2
));
4952 if (SWIG_arg_fail(3)) SWIG_fail
;
4955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4956 (arg1
)->Remove(arg2
,arg3
);
4958 wxPyEndAllowThreads(__tstate
);
4959 if (PyErr_Occurred()) SWIG_fail
;
4961 Py_INCREF(Py_None
); resultobj
= Py_None
;
4968 static PyObject
*_wrap_ComboBox_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4969 PyObject
*resultobj
;
4970 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4972 PyObject
* obj0
= 0 ;
4974 (char *) "self", NULL
4977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_IsEditable",kwnames
,&obj0
)) goto fail
;
4978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4979 if (SWIG_arg_fail(1)) SWIG_fail
;
4981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4982 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
4984 wxPyEndAllowThreads(__tstate
);
4985 if (PyErr_Occurred()) SWIG_fail
;
4988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4996 static PyObject
*_wrap_ComboBox_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4997 PyObject
*resultobj
;
4998 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4999 PyObject
* obj0
= 0 ;
5001 (char *) "self", NULL
5004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Undo",kwnames
,&obj0
)) goto fail
;
5005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5006 if (SWIG_arg_fail(1)) SWIG_fail
;
5008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5011 wxPyEndAllowThreads(__tstate
);
5012 if (PyErr_Occurred()) SWIG_fail
;
5014 Py_INCREF(Py_None
); resultobj
= Py_None
;
5021 static PyObject
*_wrap_ComboBox_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5022 PyObject
*resultobj
;
5023 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5024 PyObject
* obj0
= 0 ;
5026 (char *) "self", NULL
5029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Redo",kwnames
,&obj0
)) goto fail
;
5030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5031 if (SWIG_arg_fail(1)) SWIG_fail
;
5033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5036 wxPyEndAllowThreads(__tstate
);
5037 if (PyErr_Occurred()) SWIG_fail
;
5039 Py_INCREF(Py_None
); resultobj
= Py_None
;
5046 static PyObject
*_wrap_ComboBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5047 PyObject
*resultobj
;
5048 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5049 PyObject
* obj0
= 0 ;
5051 (char *) "self", NULL
5054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SelectAll",kwnames
,&obj0
)) goto fail
;
5055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5056 if (SWIG_arg_fail(1)) SWIG_fail
;
5058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5059 (arg1
)->SelectAll();
5061 wxPyEndAllowThreads(__tstate
);
5062 if (PyErr_Occurred()) SWIG_fail
;
5064 Py_INCREF(Py_None
); resultobj
= Py_None
;
5071 static PyObject
*_wrap_ComboBox_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5072 PyObject
*resultobj
;
5073 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5075 PyObject
* obj0
= 0 ;
5077 (char *) "self", NULL
5080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanCopy",kwnames
,&obj0
)) goto fail
;
5081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5082 if (SWIG_arg_fail(1)) SWIG_fail
;
5084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5085 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
5087 wxPyEndAllowThreads(__tstate
);
5088 if (PyErr_Occurred()) SWIG_fail
;
5091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5099 static PyObject
*_wrap_ComboBox_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5100 PyObject
*resultobj
;
5101 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5103 PyObject
* obj0
= 0 ;
5105 (char *) "self", NULL
5108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanCut",kwnames
,&obj0
)) goto fail
;
5109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5110 if (SWIG_arg_fail(1)) SWIG_fail
;
5112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5113 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
5115 wxPyEndAllowThreads(__tstate
);
5116 if (PyErr_Occurred()) SWIG_fail
;
5119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5127 static PyObject
*_wrap_ComboBox_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5128 PyObject
*resultobj
;
5129 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5131 PyObject
* obj0
= 0 ;
5133 (char *) "self", NULL
5136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanPaste",kwnames
,&obj0
)) goto fail
;
5137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5138 if (SWIG_arg_fail(1)) SWIG_fail
;
5140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5141 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
5143 wxPyEndAllowThreads(__tstate
);
5144 if (PyErr_Occurred()) SWIG_fail
;
5147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5155 static PyObject
*_wrap_ComboBox_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5156 PyObject
*resultobj
;
5157 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5159 PyObject
* obj0
= 0 ;
5161 (char *) "self", NULL
5164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanUndo",kwnames
,&obj0
)) goto fail
;
5165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5166 if (SWIG_arg_fail(1)) SWIG_fail
;
5168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5169 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
5171 wxPyEndAllowThreads(__tstate
);
5172 if (PyErr_Occurred()) SWIG_fail
;
5175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5183 static PyObject
*_wrap_ComboBox_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5184 PyObject
*resultobj
;
5185 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5187 PyObject
* obj0
= 0 ;
5189 (char *) "self", NULL
5192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanRedo",kwnames
,&obj0
)) goto fail
;
5193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5194 if (SWIG_arg_fail(1)) SWIG_fail
;
5196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5197 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
5199 wxPyEndAllowThreads(__tstate
);
5200 if (PyErr_Occurred()) SWIG_fail
;
5203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5211 static PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5212 PyObject
*resultobj
;
5213 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5214 wxVisualAttributes result
;
5215 PyObject
* obj0
= 0 ;
5217 (char *) "variant", NULL
5220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5223 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
5224 if (SWIG_arg_fail(1)) SWIG_fail
;
5228 if (!wxPyCheckForApp()) SWIG_fail
;
5229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5230 result
= wxComboBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5232 wxPyEndAllowThreads(__tstate
);
5233 if (PyErr_Occurred()) SWIG_fail
;
5236 wxVisualAttributes
* resultptr
;
5237 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
5238 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5246 static PyObject
* ComboBox_swigregister(PyObject
*, PyObject
*args
) {
5248 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5249 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
5251 return Py_BuildValue((char *)"");
5253 static int _wrap_GaugeNameStr_set(PyObject
*) {
5254 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
5259 static PyObject
*_wrap_GaugeNameStr_get(void) {
5264 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
5266 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
5273 static PyObject
*_wrap_new_Gauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5274 PyObject
*resultobj
;
5275 wxWindow
*arg1
= (wxWindow
*) 0 ;
5276 int arg2
= (int) -1 ;
5277 int arg3
= (int) 100 ;
5278 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5279 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5280 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5281 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5282 long arg6
= (long) wxGA_HORIZONTAL
;
5283 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5284 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5285 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
5286 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5290 bool temp8
= false ;
5291 PyObject
* obj0
= 0 ;
5292 PyObject
* obj1
= 0 ;
5293 PyObject
* obj2
= 0 ;
5294 PyObject
* obj3
= 0 ;
5295 PyObject
* obj4
= 0 ;
5296 PyObject
* obj5
= 0 ;
5297 PyObject
* obj6
= 0 ;
5298 PyObject
* obj7
= 0 ;
5300 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5305 if (SWIG_arg_fail(1)) SWIG_fail
;
5308 arg2
= (int)(SWIG_As_int(obj1
));
5309 if (SWIG_arg_fail(2)) SWIG_fail
;
5314 arg3
= (int)(SWIG_As_int(obj2
));
5315 if (SWIG_arg_fail(3)) SWIG_fail
;
5321 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5327 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5332 arg6
= (long)(SWIG_As_long(obj5
));
5333 if (SWIG_arg_fail(6)) SWIG_fail
;
5338 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
5339 if (SWIG_arg_fail(7)) SWIG_fail
;
5341 SWIG_null_ref("wxValidator");
5343 if (SWIG_arg_fail(7)) SWIG_fail
;
5348 arg8
= wxString_in_helper(obj7
);
5349 if (arg8
== NULL
) SWIG_fail
;
5354 if (!wxPyCheckForApp()) SWIG_fail
;
5355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5356 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5358 wxPyEndAllowThreads(__tstate
);
5359 if (PyErr_Occurred()) SWIG_fail
;
5361 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
5376 static PyObject
*_wrap_new_PreGauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5377 PyObject
*resultobj
;
5383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
5385 if (!wxPyCheckForApp()) SWIG_fail
;
5386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5387 result
= (wxGauge
*)new wxGauge();
5389 wxPyEndAllowThreads(__tstate
);
5390 if (PyErr_Occurred()) SWIG_fail
;
5392 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
5399 static PyObject
*_wrap_Gauge_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5400 PyObject
*resultobj
;
5401 wxGauge
*arg1
= (wxGauge
*) 0 ;
5402 wxWindow
*arg2
= (wxWindow
*) 0 ;
5403 int arg3
= (int) -1 ;
5404 int arg4
= (int) 100 ;
5405 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5406 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5407 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5408 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5409 long arg7
= (long) wxGA_HORIZONTAL
;
5410 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5411 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5412 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
5413 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5417 bool temp9
= false ;
5418 PyObject
* obj0
= 0 ;
5419 PyObject
* obj1
= 0 ;
5420 PyObject
* obj2
= 0 ;
5421 PyObject
* obj3
= 0 ;
5422 PyObject
* obj4
= 0 ;
5423 PyObject
* obj5
= 0 ;
5424 PyObject
* obj6
= 0 ;
5425 PyObject
* obj7
= 0 ;
5426 PyObject
* obj8
= 0 ;
5428 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5433 if (SWIG_arg_fail(1)) SWIG_fail
;
5434 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5435 if (SWIG_arg_fail(2)) SWIG_fail
;
5438 arg3
= (int)(SWIG_As_int(obj2
));
5439 if (SWIG_arg_fail(3)) SWIG_fail
;
5444 arg4
= (int)(SWIG_As_int(obj3
));
5445 if (SWIG_arg_fail(4)) SWIG_fail
;
5451 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5457 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5462 arg7
= (long)(SWIG_As_long(obj6
));
5463 if (SWIG_arg_fail(7)) SWIG_fail
;
5468 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
5469 if (SWIG_arg_fail(8)) SWIG_fail
;
5471 SWIG_null_ref("wxValidator");
5473 if (SWIG_arg_fail(8)) SWIG_fail
;
5478 arg9
= wxString_in_helper(obj8
);
5479 if (arg9
== NULL
) SWIG_fail
;
5484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5485 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5487 wxPyEndAllowThreads(__tstate
);
5488 if (PyErr_Occurred()) SWIG_fail
;
5491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5507 static PyObject
*_wrap_Gauge_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5508 PyObject
*resultobj
;
5509 wxGauge
*arg1
= (wxGauge
*) 0 ;
5511 PyObject
* obj0
= 0 ;
5512 PyObject
* obj1
= 0 ;
5514 (char *) "self",(char *) "range", NULL
5517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
5518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5519 if (SWIG_arg_fail(1)) SWIG_fail
;
5521 arg2
= (int)(SWIG_As_int(obj1
));
5522 if (SWIG_arg_fail(2)) SWIG_fail
;
5525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5526 (arg1
)->SetRange(arg2
);
5528 wxPyEndAllowThreads(__tstate
);
5529 if (PyErr_Occurred()) SWIG_fail
;
5531 Py_INCREF(Py_None
); resultobj
= Py_None
;
5538 static PyObject
*_wrap_Gauge_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5539 PyObject
*resultobj
;
5540 wxGauge
*arg1
= (wxGauge
*) 0 ;
5542 PyObject
* obj0
= 0 ;
5544 (char *) "self", NULL
5547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
5548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5549 if (SWIG_arg_fail(1)) SWIG_fail
;
5551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5552 result
= (int)((wxGauge
const *)arg1
)->GetRange();
5554 wxPyEndAllowThreads(__tstate
);
5555 if (PyErr_Occurred()) SWIG_fail
;
5558 resultobj
= SWIG_From_int((int)(result
));
5566 static PyObject
*_wrap_Gauge_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5567 PyObject
*resultobj
;
5568 wxGauge
*arg1
= (wxGauge
*) 0 ;
5570 PyObject
* obj0
= 0 ;
5571 PyObject
* obj1
= 0 ;
5573 (char *) "self",(char *) "pos", NULL
5576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
5577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5578 if (SWIG_arg_fail(1)) SWIG_fail
;
5580 arg2
= (int)(SWIG_As_int(obj1
));
5581 if (SWIG_arg_fail(2)) SWIG_fail
;
5584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5585 (arg1
)->SetValue(arg2
);
5587 wxPyEndAllowThreads(__tstate
);
5588 if (PyErr_Occurred()) SWIG_fail
;
5590 Py_INCREF(Py_None
); resultobj
= Py_None
;
5597 static PyObject
*_wrap_Gauge_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5598 PyObject
*resultobj
;
5599 wxGauge
*arg1
= (wxGauge
*) 0 ;
5601 PyObject
* obj0
= 0 ;
5603 (char *) "self", NULL
5606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
5607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5608 if (SWIG_arg_fail(1)) SWIG_fail
;
5610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5611 result
= (int)((wxGauge
const *)arg1
)->GetValue();
5613 wxPyEndAllowThreads(__tstate
);
5614 if (PyErr_Occurred()) SWIG_fail
;
5617 resultobj
= SWIG_From_int((int)(result
));
5625 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5626 PyObject
*resultobj
;
5627 wxGauge
*arg1
= (wxGauge
*) 0 ;
5629 PyObject
* obj0
= 0 ;
5631 (char *) "self", NULL
5634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
5635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5636 if (SWIG_arg_fail(1)) SWIG_fail
;
5638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5639 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
5641 wxPyEndAllowThreads(__tstate
);
5642 if (PyErr_Occurred()) SWIG_fail
;
5645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5653 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5654 PyObject
*resultobj
;
5655 wxGauge
*arg1
= (wxGauge
*) 0 ;
5657 PyObject
* obj0
= 0 ;
5658 PyObject
* obj1
= 0 ;
5660 (char *) "self",(char *) "w", NULL
5663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5665 if (SWIG_arg_fail(1)) SWIG_fail
;
5667 arg2
= (int)(SWIG_As_int(obj1
));
5668 if (SWIG_arg_fail(2)) SWIG_fail
;
5671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5672 (arg1
)->SetShadowWidth(arg2
);
5674 wxPyEndAllowThreads(__tstate
);
5675 if (PyErr_Occurred()) SWIG_fail
;
5677 Py_INCREF(Py_None
); resultobj
= Py_None
;
5684 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5685 PyObject
*resultobj
;
5686 wxGauge
*arg1
= (wxGauge
*) 0 ;
5688 PyObject
* obj0
= 0 ;
5690 (char *) "self", NULL
5693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
5694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5695 if (SWIG_arg_fail(1)) SWIG_fail
;
5697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5698 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
5700 wxPyEndAllowThreads(__tstate
);
5701 if (PyErr_Occurred()) SWIG_fail
;
5704 resultobj
= SWIG_From_int((int)(result
));
5712 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5713 PyObject
*resultobj
;
5714 wxGauge
*arg1
= (wxGauge
*) 0 ;
5716 PyObject
* obj0
= 0 ;
5717 PyObject
* obj1
= 0 ;
5719 (char *) "self",(char *) "w", NULL
5722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
5723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5724 if (SWIG_arg_fail(1)) SWIG_fail
;
5726 arg2
= (int)(SWIG_As_int(obj1
));
5727 if (SWIG_arg_fail(2)) SWIG_fail
;
5730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5731 (arg1
)->SetBezelFace(arg2
);
5733 wxPyEndAllowThreads(__tstate
);
5734 if (PyErr_Occurred()) SWIG_fail
;
5736 Py_INCREF(Py_None
); resultobj
= Py_None
;
5743 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5744 PyObject
*resultobj
;
5745 wxGauge
*arg1
= (wxGauge
*) 0 ;
5747 PyObject
* obj0
= 0 ;
5749 (char *) "self", NULL
5752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
5753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5754 if (SWIG_arg_fail(1)) SWIG_fail
;
5756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5757 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
5759 wxPyEndAllowThreads(__tstate
);
5760 if (PyErr_Occurred()) SWIG_fail
;
5763 resultobj
= SWIG_From_int((int)(result
));
5771 static PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5772 PyObject
*resultobj
;
5773 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5774 wxVisualAttributes result
;
5775 PyObject
* obj0
= 0 ;
5777 (char *) "variant", NULL
5780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5783 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
5784 if (SWIG_arg_fail(1)) SWIG_fail
;
5788 if (!wxPyCheckForApp()) SWIG_fail
;
5789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5790 result
= wxGauge::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5792 wxPyEndAllowThreads(__tstate
);
5793 if (PyErr_Occurred()) SWIG_fail
;
5796 wxVisualAttributes
* resultptr
;
5797 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
5798 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5806 static PyObject
* Gauge_swigregister(PyObject
*, PyObject
*args
) {
5808 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5809 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
5811 return Py_BuildValue((char *)"");
5813 static int _wrap_StaticBitmapNameStr_set(PyObject
*) {
5814 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
5819 static PyObject
*_wrap_StaticBitmapNameStr_get(void) {
5824 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
5826 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
5833 static int _wrap_StaticBoxNameStr_set(PyObject
*) {
5834 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
5839 static PyObject
*_wrap_StaticBoxNameStr_get(void) {
5844 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
5846 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
5853 static int _wrap_StaticTextNameStr_set(PyObject
*) {
5854 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
5859 static PyObject
*_wrap_StaticTextNameStr_get(void) {
5864 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
5866 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
5873 static PyObject
*_wrap_new_StaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5874 PyObject
*resultobj
;
5875 wxWindow
*arg1
= (wxWindow
*) 0 ;
5876 int arg2
= (int) -1 ;
5877 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5878 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5879 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5880 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5881 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5882 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5883 long arg6
= (long) 0 ;
5884 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
5885 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5886 wxStaticBox
*result
;
5887 bool temp3
= false ;
5890 bool temp7
= false ;
5891 PyObject
* obj0
= 0 ;
5892 PyObject
* obj1
= 0 ;
5893 PyObject
* obj2
= 0 ;
5894 PyObject
* obj3
= 0 ;
5895 PyObject
* obj4
= 0 ;
5896 PyObject
* obj5
= 0 ;
5897 PyObject
* obj6
= 0 ;
5899 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5904 if (SWIG_arg_fail(1)) SWIG_fail
;
5907 arg2
= (int)(SWIG_As_int(obj1
));
5908 if (SWIG_arg_fail(2)) SWIG_fail
;
5913 arg3
= wxString_in_helper(obj2
);
5914 if (arg3
== NULL
) SWIG_fail
;
5921 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5927 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5932 arg6
= (long)(SWIG_As_long(obj5
));
5933 if (SWIG_arg_fail(6)) SWIG_fail
;
5938 arg7
= wxString_in_helper(obj6
);
5939 if (arg7
== NULL
) SWIG_fail
;
5944 if (!wxPyCheckForApp()) SWIG_fail
;
5945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5946 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5948 wxPyEndAllowThreads(__tstate
);
5949 if (PyErr_Occurred()) SWIG_fail
;
5951 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
5974 static PyObject
*_wrap_new_PreStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5975 PyObject
*resultobj
;
5976 wxStaticBox
*result
;
5981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
5983 if (!wxPyCheckForApp()) SWIG_fail
;
5984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5985 result
= (wxStaticBox
*)new wxStaticBox();
5987 wxPyEndAllowThreads(__tstate
);
5988 if (PyErr_Occurred()) SWIG_fail
;
5990 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
5997 static PyObject
*_wrap_StaticBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5998 PyObject
*resultobj
;
5999 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
6000 wxWindow
*arg2
= (wxWindow
*) 0 ;
6001 int arg3
= (int) -1 ;
6002 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6003 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6004 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6005 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6006 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6007 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6008 long arg7
= (long) 0 ;
6009 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
6010 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6012 bool temp4
= false ;
6015 bool temp8
= false ;
6016 PyObject
* obj0
= 0 ;
6017 PyObject
* obj1
= 0 ;
6018 PyObject
* obj2
= 0 ;
6019 PyObject
* obj3
= 0 ;
6020 PyObject
* obj4
= 0 ;
6021 PyObject
* obj5
= 0 ;
6022 PyObject
* obj6
= 0 ;
6023 PyObject
* obj7
= 0 ;
6025 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
6030 if (SWIG_arg_fail(1)) SWIG_fail
;
6031 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6032 if (SWIG_arg_fail(2)) SWIG_fail
;
6035 arg3
= (int)(SWIG_As_int(obj2
));
6036 if (SWIG_arg_fail(3)) SWIG_fail
;
6041 arg4
= wxString_in_helper(obj3
);
6042 if (arg4
== NULL
) SWIG_fail
;
6049 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6055 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6060 arg7
= (long)(SWIG_As_long(obj6
));
6061 if (SWIG_arg_fail(7)) SWIG_fail
;
6066 arg8
= wxString_in_helper(obj7
);
6067 if (arg8
== NULL
) SWIG_fail
;
6072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6073 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6075 wxPyEndAllowThreads(__tstate
);
6076 if (PyErr_Occurred()) SWIG_fail
;
6079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6103 static PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6104 PyObject
*resultobj
;
6105 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6106 wxVisualAttributes result
;
6107 PyObject
* obj0
= 0 ;
6109 (char *) "variant", NULL
6112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6115 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6116 if (SWIG_arg_fail(1)) SWIG_fail
;
6120 if (!wxPyCheckForApp()) SWIG_fail
;
6121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6122 result
= wxStaticBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6124 wxPyEndAllowThreads(__tstate
);
6125 if (PyErr_Occurred()) SWIG_fail
;
6128 wxVisualAttributes
* resultptr
;
6129 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6130 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6138 static PyObject
* StaticBox_swigregister(PyObject
*, PyObject
*args
) {
6140 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6141 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
6143 return Py_BuildValue((char *)"");
6145 static PyObject
*_wrap_new_StaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6146 PyObject
*resultobj
;
6147 wxWindow
*arg1
= (wxWindow
*) 0 ;
6148 int arg2
= (int) -1 ;
6149 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6150 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6151 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6152 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6153 long arg5
= (long) wxLI_HORIZONTAL
;
6154 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
6155 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6156 wxStaticLine
*result
;
6159 bool temp6
= false ;
6160 PyObject
* obj0
= 0 ;
6161 PyObject
* obj1
= 0 ;
6162 PyObject
* obj2
= 0 ;
6163 PyObject
* obj3
= 0 ;
6164 PyObject
* obj4
= 0 ;
6165 PyObject
* obj5
= 0 ;
6167 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6172 if (SWIG_arg_fail(1)) SWIG_fail
;
6175 arg2
= (int)(SWIG_As_int(obj1
));
6176 if (SWIG_arg_fail(2)) SWIG_fail
;
6182 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6188 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6193 arg5
= (long)(SWIG_As_long(obj4
));
6194 if (SWIG_arg_fail(5)) SWIG_fail
;
6199 arg6
= wxString_in_helper(obj5
);
6200 if (arg6
== NULL
) SWIG_fail
;
6205 if (!wxPyCheckForApp()) SWIG_fail
;
6206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6207 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6209 wxPyEndAllowThreads(__tstate
);
6210 if (PyErr_Occurred()) SWIG_fail
;
6212 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
6227 static PyObject
*_wrap_new_PreStaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6228 PyObject
*resultobj
;
6229 wxStaticLine
*result
;
6234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
6236 if (!wxPyCheckForApp()) SWIG_fail
;
6237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6238 result
= (wxStaticLine
*)new wxStaticLine();
6240 wxPyEndAllowThreads(__tstate
);
6241 if (PyErr_Occurred()) SWIG_fail
;
6243 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
6250 static PyObject
*_wrap_StaticLine_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6251 PyObject
*resultobj
;
6252 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
6253 wxWindow
*arg2
= (wxWindow
*) 0 ;
6254 int arg3
= (int) -1 ;
6255 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6256 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6257 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6258 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6259 long arg6
= (long) wxLI_HORIZONTAL
;
6260 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
6261 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6265 bool temp7
= false ;
6266 PyObject
* obj0
= 0 ;
6267 PyObject
* obj1
= 0 ;
6268 PyObject
* obj2
= 0 ;
6269 PyObject
* obj3
= 0 ;
6270 PyObject
* obj4
= 0 ;
6271 PyObject
* obj5
= 0 ;
6272 PyObject
* obj6
= 0 ;
6274 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_EXCEPTION
| 0);
6279 if (SWIG_arg_fail(1)) SWIG_fail
;
6280 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6281 if (SWIG_arg_fail(2)) SWIG_fail
;
6284 arg3
= (int)(SWIG_As_int(obj2
));
6285 if (SWIG_arg_fail(3)) SWIG_fail
;
6291 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6297 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6302 arg6
= (long)(SWIG_As_long(obj5
));
6303 if (SWIG_arg_fail(6)) SWIG_fail
;
6308 arg7
= wxString_in_helper(obj6
);
6309 if (arg7
== NULL
) SWIG_fail
;
6314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6315 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6317 wxPyEndAllowThreads(__tstate
);
6318 if (PyErr_Occurred()) SWIG_fail
;
6321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6337 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6338 PyObject
*resultobj
;
6339 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
6341 PyObject
* obj0
= 0 ;
6343 (char *) "self", NULL
6346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
6347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_EXCEPTION
| 0);
6348 if (SWIG_arg_fail(1)) SWIG_fail
;
6350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6351 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
6353 wxPyEndAllowThreads(__tstate
);
6354 if (PyErr_Occurred()) SWIG_fail
;
6357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6365 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6366 PyObject
*resultobj
;
6372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
6374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6375 result
= (int)wxStaticLine::GetDefaultSize();
6377 wxPyEndAllowThreads(__tstate
);
6378 if (PyErr_Occurred()) SWIG_fail
;
6381 resultobj
= SWIG_From_int((int)(result
));
6389 static PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6390 PyObject
*resultobj
;
6391 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6392 wxVisualAttributes result
;
6393 PyObject
* obj0
= 0 ;
6395 (char *) "variant", NULL
6398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6401 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6402 if (SWIG_arg_fail(1)) SWIG_fail
;
6406 if (!wxPyCheckForApp()) SWIG_fail
;
6407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6408 result
= wxStaticLine::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6410 wxPyEndAllowThreads(__tstate
);
6411 if (PyErr_Occurred()) SWIG_fail
;
6414 wxVisualAttributes
* resultptr
;
6415 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6416 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6424 static PyObject
* StaticLine_swigregister(PyObject
*, PyObject
*args
) {
6426 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6427 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
6429 return Py_BuildValue((char *)"");
6431 static PyObject
*_wrap_new_StaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6432 PyObject
*resultobj
;
6433 wxWindow
*arg1
= (wxWindow
*) 0 ;
6434 int arg2
= (int) -1 ;
6435 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6436 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6437 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6438 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6439 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6440 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6441 long arg6
= (long) 0 ;
6442 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
6443 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6444 wxStaticText
*result
;
6445 bool temp3
= false ;
6448 bool temp7
= false ;
6449 PyObject
* obj0
= 0 ;
6450 PyObject
* obj1
= 0 ;
6451 PyObject
* obj2
= 0 ;
6452 PyObject
* obj3
= 0 ;
6453 PyObject
* obj4
= 0 ;
6454 PyObject
* obj5
= 0 ;
6455 PyObject
* obj6
= 0 ;
6457 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6462 if (SWIG_arg_fail(1)) SWIG_fail
;
6465 arg2
= (int)(SWIG_As_int(obj1
));
6466 if (SWIG_arg_fail(2)) SWIG_fail
;
6471 arg3
= wxString_in_helper(obj2
);
6472 if (arg3
== NULL
) SWIG_fail
;
6479 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6485 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6490 arg6
= (long)(SWIG_As_long(obj5
));
6491 if (SWIG_arg_fail(6)) SWIG_fail
;
6496 arg7
= wxString_in_helper(obj6
);
6497 if (arg7
== NULL
) SWIG_fail
;
6502 if (!wxPyCheckForApp()) SWIG_fail
;
6503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6504 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6506 wxPyEndAllowThreads(__tstate
);
6507 if (PyErr_Occurred()) SWIG_fail
;
6509 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
6532 static PyObject
*_wrap_new_PreStaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6533 PyObject
*resultobj
;
6534 wxStaticText
*result
;
6539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
6541 if (!wxPyCheckForApp()) SWIG_fail
;
6542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6543 result
= (wxStaticText
*)new wxStaticText();
6545 wxPyEndAllowThreads(__tstate
);
6546 if (PyErr_Occurred()) SWIG_fail
;
6548 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
6555 static PyObject
*_wrap_StaticText_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6556 PyObject
*resultobj
;
6557 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
6558 wxWindow
*arg2
= (wxWindow
*) 0 ;
6559 int arg3
= (int) -1 ;
6560 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6561 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6562 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6563 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6564 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6565 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6566 long arg7
= (long) 0 ;
6567 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
6568 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6570 bool temp4
= false ;
6573 bool temp8
= false ;
6574 PyObject
* obj0
= 0 ;
6575 PyObject
* obj1
= 0 ;
6576 PyObject
* obj2
= 0 ;
6577 PyObject
* obj3
= 0 ;
6578 PyObject
* obj4
= 0 ;
6579 PyObject
* obj5
= 0 ;
6580 PyObject
* obj6
= 0 ;
6581 PyObject
* obj7
= 0 ;
6583 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticText
, SWIG_POINTER_EXCEPTION
| 0);
6588 if (SWIG_arg_fail(1)) SWIG_fail
;
6589 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6590 if (SWIG_arg_fail(2)) SWIG_fail
;
6593 arg3
= (int)(SWIG_As_int(obj2
));
6594 if (SWIG_arg_fail(3)) SWIG_fail
;
6599 arg4
= wxString_in_helper(obj3
);
6600 if (arg4
== NULL
) SWIG_fail
;
6607 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6613 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6618 arg7
= (long)(SWIG_As_long(obj6
));
6619 if (SWIG_arg_fail(7)) SWIG_fail
;
6624 arg8
= wxString_in_helper(obj7
);
6625 if (arg8
== NULL
) SWIG_fail
;
6630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6631 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6633 wxPyEndAllowThreads(__tstate
);
6634 if (PyErr_Occurred()) SWIG_fail
;
6637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6661 static PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6662 PyObject
*resultobj
;
6663 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6664 wxVisualAttributes result
;
6665 PyObject
* obj0
= 0 ;
6667 (char *) "variant", NULL
6670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6673 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6674 if (SWIG_arg_fail(1)) SWIG_fail
;
6678 if (!wxPyCheckForApp()) SWIG_fail
;
6679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6680 result
= wxStaticText::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6682 wxPyEndAllowThreads(__tstate
);
6683 if (PyErr_Occurred()) SWIG_fail
;
6686 wxVisualAttributes
* resultptr
;
6687 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6688 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6696 static PyObject
* StaticText_swigregister(PyObject
*, PyObject
*args
) {
6698 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6699 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
6701 return Py_BuildValue((char *)"");
6703 static PyObject
*_wrap_new_StaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6704 PyObject
*resultobj
;
6705 wxWindow
*arg1
= (wxWindow
*) 0 ;
6706 int arg2
= (int) -1 ;
6707 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
6708 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
6709 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6710 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6711 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6712 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6713 long arg6
= (long) 0 ;
6714 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
6715 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6716 wxStaticBitmap
*result
;
6719 bool temp7
= false ;
6720 PyObject
* obj0
= 0 ;
6721 PyObject
* obj1
= 0 ;
6722 PyObject
* obj2
= 0 ;
6723 PyObject
* obj3
= 0 ;
6724 PyObject
* obj4
= 0 ;
6725 PyObject
* obj5
= 0 ;
6726 PyObject
* obj6
= 0 ;
6728 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6733 if (SWIG_arg_fail(1)) SWIG_fail
;
6736 arg2
= (int)(SWIG_As_int(obj1
));
6737 if (SWIG_arg_fail(2)) SWIG_fail
;
6742 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6743 if (SWIG_arg_fail(3)) SWIG_fail
;
6745 SWIG_null_ref("wxBitmap");
6747 if (SWIG_arg_fail(3)) SWIG_fail
;
6753 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6759 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6764 arg6
= (long)(SWIG_As_long(obj5
));
6765 if (SWIG_arg_fail(6)) SWIG_fail
;
6770 arg7
= wxString_in_helper(obj6
);
6771 if (arg7
== NULL
) SWIG_fail
;
6776 if (!wxPyCheckForApp()) SWIG_fail
;
6777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6778 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6780 wxPyEndAllowThreads(__tstate
);
6781 if (PyErr_Occurred()) SWIG_fail
;
6783 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
6798 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6799 PyObject
*resultobj
;
6800 wxStaticBitmap
*result
;
6805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
6807 if (!wxPyCheckForApp()) SWIG_fail
;
6808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6809 result
= (wxStaticBitmap
*)new wxStaticBitmap();
6811 wxPyEndAllowThreads(__tstate
);
6812 if (PyErr_Occurred()) SWIG_fail
;
6814 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
6821 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6822 PyObject
*resultobj
;
6823 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
6824 wxWindow
*arg2
= (wxWindow
*) 0 ;
6825 int arg3
= (int) -1 ;
6826 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
6827 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
6828 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6829 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6830 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6831 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6832 long arg7
= (long) 0 ;
6833 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
6834 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6838 bool temp8
= false ;
6839 PyObject
* obj0
= 0 ;
6840 PyObject
* obj1
= 0 ;
6841 PyObject
* obj2
= 0 ;
6842 PyObject
* obj3
= 0 ;
6843 PyObject
* obj4
= 0 ;
6844 PyObject
* obj5
= 0 ;
6845 PyObject
* obj6
= 0 ;
6846 PyObject
* obj7
= 0 ;
6848 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6853 if (SWIG_arg_fail(1)) SWIG_fail
;
6854 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6855 if (SWIG_arg_fail(2)) SWIG_fail
;
6858 arg3
= (int)(SWIG_As_int(obj2
));
6859 if (SWIG_arg_fail(3)) SWIG_fail
;
6864 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6865 if (SWIG_arg_fail(4)) SWIG_fail
;
6867 SWIG_null_ref("wxBitmap");
6869 if (SWIG_arg_fail(4)) SWIG_fail
;
6875 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6881 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6886 arg7
= (long)(SWIG_As_long(obj6
));
6887 if (SWIG_arg_fail(7)) SWIG_fail
;
6892 arg8
= wxString_in_helper(obj7
);
6893 if (arg8
== NULL
) SWIG_fail
;
6898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6899 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6901 wxPyEndAllowThreads(__tstate
);
6902 if (PyErr_Occurred()) SWIG_fail
;
6905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6921 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6922 PyObject
*resultobj
;
6923 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
6925 PyObject
* obj0
= 0 ;
6927 (char *) "self", NULL
6930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
6931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6932 if (SWIG_arg_fail(1)) SWIG_fail
;
6934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6935 result
= (arg1
)->GetBitmap();
6937 wxPyEndAllowThreads(__tstate
);
6938 if (PyErr_Occurred()) SWIG_fail
;
6941 wxBitmap
* resultptr
;
6942 resultptr
= new wxBitmap((wxBitmap
&)(result
));
6943 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
6951 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6952 PyObject
*resultobj
;
6953 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
6954 wxBitmap
*arg2
= 0 ;
6955 PyObject
* obj0
= 0 ;
6956 PyObject
* obj1
= 0 ;
6958 (char *) "self",(char *) "bitmap", NULL
6961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
6962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6963 if (SWIG_arg_fail(1)) SWIG_fail
;
6965 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6966 if (SWIG_arg_fail(2)) SWIG_fail
;
6968 SWIG_null_ref("wxBitmap");
6970 if (SWIG_arg_fail(2)) SWIG_fail
;
6973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6974 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
6976 wxPyEndAllowThreads(__tstate
);
6977 if (PyErr_Occurred()) SWIG_fail
;
6979 Py_INCREF(Py_None
); resultobj
= Py_None
;
6986 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6987 PyObject
*resultobj
;
6988 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
6990 PyObject
* obj0
= 0 ;
6991 PyObject
* obj1
= 0 ;
6993 (char *) "self",(char *) "icon", NULL
6996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
6997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6998 if (SWIG_arg_fail(1)) SWIG_fail
;
7000 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
7001 if (SWIG_arg_fail(2)) SWIG_fail
;
7003 SWIG_null_ref("wxIcon");
7005 if (SWIG_arg_fail(2)) SWIG_fail
;
7008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7009 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
7011 wxPyEndAllowThreads(__tstate
);
7012 if (PyErr_Occurred()) SWIG_fail
;
7014 Py_INCREF(Py_None
); resultobj
= Py_None
;
7021 static PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7022 PyObject
*resultobj
;
7023 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7024 wxVisualAttributes result
;
7025 PyObject
* obj0
= 0 ;
7027 (char *) "variant", NULL
7030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
7033 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
7034 if (SWIG_arg_fail(1)) SWIG_fail
;
7038 if (!wxPyCheckForApp()) SWIG_fail
;
7039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7040 result
= wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
7042 wxPyEndAllowThreads(__tstate
);
7043 if (PyErr_Occurred()) SWIG_fail
;
7046 wxVisualAttributes
* resultptr
;
7047 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
7048 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
7056 static PyObject
* StaticBitmap_swigregister(PyObject
*, PyObject
*args
) {
7058 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7059 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
7061 return Py_BuildValue((char *)"");
7063 static int _wrap_ListBoxNameStr_set(PyObject
*) {
7064 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
7069 static PyObject
*_wrap_ListBoxNameStr_get(void) {
7074 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
7076 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
7083 static PyObject
*_wrap_new_ListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7084 PyObject
*resultobj
;
7085 wxWindow
*arg1
= (wxWindow
*) 0 ;
7086 int arg2
= (int) -1 ;
7087 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7088 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7089 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7090 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7091 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
7092 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
7093 long arg6
= (long) 0 ;
7094 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7095 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7096 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
7097 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7101 bool temp5
= false ;
7102 bool temp8
= false ;
7103 PyObject
* obj0
= 0 ;
7104 PyObject
* obj1
= 0 ;
7105 PyObject
* obj2
= 0 ;
7106 PyObject
* obj3
= 0 ;
7107 PyObject
* obj4
= 0 ;
7108 PyObject
* obj5
= 0 ;
7109 PyObject
* obj6
= 0 ;
7110 PyObject
* obj7
= 0 ;
7112 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7117 if (SWIG_arg_fail(1)) SWIG_fail
;
7120 arg2
= (int)(SWIG_As_int(obj1
));
7121 if (SWIG_arg_fail(2)) SWIG_fail
;
7127 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7133 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7138 if (! PySequence_Check(obj4
)) {
7139 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7142 arg5
= new wxArrayString
;
7144 int i
, len
=PySequence_Length(obj4
);
7145 for (i
=0; i
<len
; i
++) {
7146 PyObject
* item
= PySequence_GetItem(obj4
, i
);
7147 wxString
* s
= wxString_in_helper(item
);
7148 if (PyErr_Occurred()) SWIG_fail
;
7157 arg6
= (long)(SWIG_As_long(obj5
));
7158 if (SWIG_arg_fail(6)) SWIG_fail
;
7163 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
7164 if (SWIG_arg_fail(7)) SWIG_fail
;
7166 SWIG_null_ref("wxValidator");
7168 if (SWIG_arg_fail(7)) SWIG_fail
;
7173 arg8
= wxString_in_helper(obj7
);
7174 if (arg8
== NULL
) SWIG_fail
;
7179 if (!wxPyCheckForApp()) SWIG_fail
;
7180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7181 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7183 wxPyEndAllowThreads(__tstate
);
7184 if (PyErr_Occurred()) SWIG_fail
;
7186 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
7188 if (temp5
) delete arg5
;
7197 if (temp5
) delete arg5
;
7207 static PyObject
*_wrap_new_PreListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7208 PyObject
*resultobj
;
7214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
7216 if (!wxPyCheckForApp()) SWIG_fail
;
7217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7218 result
= (wxListBox
*)new wxListBox();
7220 wxPyEndAllowThreads(__tstate
);
7221 if (PyErr_Occurred()) SWIG_fail
;
7223 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
7230 static PyObject
*_wrap_ListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7231 PyObject
*resultobj
;
7232 wxListBox
*arg1
= (wxListBox
*) 0 ;
7233 wxWindow
*arg2
= (wxWindow
*) 0 ;
7234 int arg3
= (int) -1 ;
7235 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7236 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7237 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7238 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7239 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
7240 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
7241 long arg7
= (long) 0 ;
7242 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
7243 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
7244 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
7245 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
7249 bool temp6
= false ;
7250 bool temp9
= false ;
7251 PyObject
* obj0
= 0 ;
7252 PyObject
* obj1
= 0 ;
7253 PyObject
* obj2
= 0 ;
7254 PyObject
* obj3
= 0 ;
7255 PyObject
* obj4
= 0 ;
7256 PyObject
* obj5
= 0 ;
7257 PyObject
* obj6
= 0 ;
7258 PyObject
* obj7
= 0 ;
7259 PyObject
* obj8
= 0 ;
7261 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
7265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7266 if (SWIG_arg_fail(1)) SWIG_fail
;
7267 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7268 if (SWIG_arg_fail(2)) SWIG_fail
;
7271 arg3
= (int)(SWIG_As_int(obj2
));
7272 if (SWIG_arg_fail(3)) SWIG_fail
;
7278 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7284 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7289 if (! PySequence_Check(obj5
)) {
7290 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7293 arg6
= new wxArrayString
;
7295 int i
, len
=PySequence_Length(obj5
);
7296 for (i
=0; i
<len
; i
++) {
7297 PyObject
* item
= PySequence_GetItem(obj5
, i
);
7298 wxString
* s
= wxString_in_helper(item
);
7299 if (PyErr_Occurred()) SWIG_fail
;
7308 arg7
= (long)(SWIG_As_long(obj6
));
7309 if (SWIG_arg_fail(7)) SWIG_fail
;
7314 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
7315 if (SWIG_arg_fail(8)) SWIG_fail
;
7317 SWIG_null_ref("wxValidator");
7319 if (SWIG_arg_fail(8)) SWIG_fail
;
7324 arg9
= wxString_in_helper(obj8
);
7325 if (arg9
== NULL
) SWIG_fail
;
7330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7331 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7333 wxPyEndAllowThreads(__tstate
);
7334 if (PyErr_Occurred()) SWIG_fail
;
7337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7340 if (temp6
) delete arg6
;
7349 if (temp6
) delete arg6
;
7359 static PyObject
*_wrap_ListBox_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7360 PyObject
*resultobj
;
7361 wxListBox
*arg1
= (wxListBox
*) 0 ;
7362 wxString
*arg2
= 0 ;
7364 PyObject
*arg4
= (PyObject
*) NULL
;
7365 bool temp2
= false ;
7366 PyObject
* obj0
= 0 ;
7367 PyObject
* obj1
= 0 ;
7368 PyObject
* obj2
= 0 ;
7369 PyObject
* obj3
= 0 ;
7371 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
7374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7376 if (SWIG_arg_fail(1)) SWIG_fail
;
7378 arg2
= wxString_in_helper(obj1
);
7379 if (arg2
== NULL
) SWIG_fail
;
7383 arg3
= (int)(SWIG_As_int(obj2
));
7384 if (SWIG_arg_fail(3)) SWIG_fail
;
7390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7391 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7393 wxPyEndAllowThreads(__tstate
);
7394 if (PyErr_Occurred()) SWIG_fail
;
7396 Py_INCREF(Py_None
); resultobj
= Py_None
;
7411 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7412 PyObject
*resultobj
;
7413 wxListBox
*arg1
= (wxListBox
*) 0 ;
7414 wxArrayString
*arg2
= 0 ;
7416 bool temp2
= false ;
7417 PyObject
* obj0
= 0 ;
7418 PyObject
* obj1
= 0 ;
7419 PyObject
* obj2
= 0 ;
7421 (char *) "self",(char *) "items",(char *) "pos", NULL
7424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7426 if (SWIG_arg_fail(1)) SWIG_fail
;
7428 if (! PySequence_Check(obj1
)) {
7429 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7432 arg2
= new wxArrayString
;
7434 int i
, len
=PySequence_Length(obj1
);
7435 for (i
=0; i
<len
; i
++) {
7436 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7437 wxString
* s
= wxString_in_helper(item
);
7438 if (PyErr_Occurred()) SWIG_fail
;
7445 arg3
= (int)(SWIG_As_int(obj2
));
7446 if (SWIG_arg_fail(3)) SWIG_fail
;
7449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7450 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
7452 wxPyEndAllowThreads(__tstate
);
7453 if (PyErr_Occurred()) SWIG_fail
;
7455 Py_INCREF(Py_None
); resultobj
= Py_None
;
7457 if (temp2
) delete arg2
;
7462 if (temp2
) delete arg2
;
7468 static PyObject
*_wrap_ListBox_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7469 PyObject
*resultobj
;
7470 wxListBox
*arg1
= (wxListBox
*) 0 ;
7471 wxArrayString
*arg2
= 0 ;
7472 bool temp2
= false ;
7473 PyObject
* obj0
= 0 ;
7474 PyObject
* obj1
= 0 ;
7476 (char *) "self",(char *) "items", NULL
7479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
7480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7481 if (SWIG_arg_fail(1)) SWIG_fail
;
7483 if (! PySequence_Check(obj1
)) {
7484 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7487 arg2
= new wxArrayString
;
7489 int i
, len
=PySequence_Length(obj1
);
7490 for (i
=0; i
<len
; i
++) {
7491 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7492 wxString
* s
= wxString_in_helper(item
);
7493 if (PyErr_Occurred()) SWIG_fail
;
7500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7501 (arg1
)->Set((wxArrayString
const &)*arg2
);
7503 wxPyEndAllowThreads(__tstate
);
7504 if (PyErr_Occurred()) SWIG_fail
;
7506 Py_INCREF(Py_None
); resultobj
= Py_None
;
7508 if (temp2
) delete arg2
;
7513 if (temp2
) delete arg2
;
7519 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7520 PyObject
*resultobj
;
7521 wxListBox
*arg1
= (wxListBox
*) 0 ;
7524 PyObject
* obj0
= 0 ;
7525 PyObject
* obj1
= 0 ;
7527 (char *) "self",(char *) "n", NULL
7530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
7531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7532 if (SWIG_arg_fail(1)) SWIG_fail
;
7534 arg2
= (int)(SWIG_As_int(obj1
));
7535 if (SWIG_arg_fail(2)) SWIG_fail
;
7538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7539 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
7541 wxPyEndAllowThreads(__tstate
);
7542 if (PyErr_Occurred()) SWIG_fail
;
7545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7553 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7554 PyObject
*resultobj
;
7555 wxListBox
*arg1
= (wxListBox
*) 0 ;
7557 bool arg3
= (bool) true ;
7558 PyObject
* obj0
= 0 ;
7559 PyObject
* obj1
= 0 ;
7560 PyObject
* obj2
= 0 ;
7562 (char *) "self",(char *) "n",(char *) "select", NULL
7565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7567 if (SWIG_arg_fail(1)) SWIG_fail
;
7569 arg2
= (int)(SWIG_As_int(obj1
));
7570 if (SWIG_arg_fail(2)) SWIG_fail
;
7574 arg3
= (bool)(SWIG_As_bool(obj2
));
7575 if (SWIG_arg_fail(3)) SWIG_fail
;
7579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7580 (arg1
)->SetSelection(arg2
,arg3
);
7582 wxPyEndAllowThreads(__tstate
);
7583 if (PyErr_Occurred()) SWIG_fail
;
7585 Py_INCREF(Py_None
); resultobj
= Py_None
;
7592 static PyObject
*_wrap_ListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7593 PyObject
*resultobj
;
7594 wxListBox
*arg1
= (wxListBox
*) 0 ;
7596 PyObject
* obj0
= 0 ;
7597 PyObject
* obj1
= 0 ;
7599 (char *) "self",(char *) "n", NULL
7602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
7603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7604 if (SWIG_arg_fail(1)) SWIG_fail
;
7606 arg2
= (int)(SWIG_As_int(obj1
));
7607 if (SWIG_arg_fail(2)) SWIG_fail
;
7610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7611 (arg1
)->Select(arg2
);
7613 wxPyEndAllowThreads(__tstate
);
7614 if (PyErr_Occurred()) SWIG_fail
;
7616 Py_INCREF(Py_None
); resultobj
= Py_None
;
7623 static PyObject
*_wrap_ListBox_Deselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7624 PyObject
*resultobj
;
7625 wxListBox
*arg1
= (wxListBox
*) 0 ;
7627 PyObject
* obj0
= 0 ;
7628 PyObject
* obj1
= 0 ;
7630 (char *) "self",(char *) "n", NULL
7633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
7634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7635 if (SWIG_arg_fail(1)) SWIG_fail
;
7637 arg2
= (int)(SWIG_As_int(obj1
));
7638 if (SWIG_arg_fail(2)) SWIG_fail
;
7641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7642 (arg1
)->Deselect(arg2
);
7644 wxPyEndAllowThreads(__tstate
);
7645 if (PyErr_Occurred()) SWIG_fail
;
7647 Py_INCREF(Py_None
); resultobj
= Py_None
;
7654 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7655 PyObject
*resultobj
;
7656 wxListBox
*arg1
= (wxListBox
*) 0 ;
7657 int arg2
= (int) -1 ;
7658 PyObject
* obj0
= 0 ;
7659 PyObject
* obj1
= 0 ;
7661 (char *) "self",(char *) "itemToLeaveSelected", NULL
7664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
7665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7666 if (SWIG_arg_fail(1)) SWIG_fail
;
7669 arg2
= (int)(SWIG_As_int(obj1
));
7670 if (SWIG_arg_fail(2)) SWIG_fail
;
7674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7675 (arg1
)->DeselectAll(arg2
);
7677 wxPyEndAllowThreads(__tstate
);
7678 if (PyErr_Occurred()) SWIG_fail
;
7680 Py_INCREF(Py_None
); resultobj
= Py_None
;
7687 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7688 PyObject
*resultobj
;
7689 wxListBox
*arg1
= (wxListBox
*) 0 ;
7690 wxString
*arg2
= 0 ;
7691 bool arg3
= (bool) true ;
7693 bool temp2
= false ;
7694 PyObject
* obj0
= 0 ;
7695 PyObject
* obj1
= 0 ;
7696 PyObject
* obj2
= 0 ;
7698 (char *) "self",(char *) "s",(char *) "select", NULL
7701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7703 if (SWIG_arg_fail(1)) SWIG_fail
;
7705 arg2
= wxString_in_helper(obj1
);
7706 if (arg2
== NULL
) SWIG_fail
;
7711 arg3
= (bool)(SWIG_As_bool(obj2
));
7712 if (SWIG_arg_fail(3)) SWIG_fail
;
7716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7717 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
7719 wxPyEndAllowThreads(__tstate
);
7720 if (PyErr_Occurred()) SWIG_fail
;
7723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7739 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7740 PyObject
*resultobj
;
7741 wxListBox
*arg1
= (wxListBox
*) 0 ;
7743 PyObject
* obj0
= 0 ;
7745 (char *) "self", NULL
7748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
7749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7750 if (SWIG_arg_fail(1)) SWIG_fail
;
7752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7753 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
7755 wxPyEndAllowThreads(__tstate
);
7756 if (PyErr_Occurred()) SWIG_fail
;
7765 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7766 PyObject
*resultobj
;
7767 wxListBox
*arg1
= (wxListBox
*) 0 ;
7769 PyObject
* obj0
= 0 ;
7770 PyObject
* obj1
= 0 ;
7772 (char *) "self",(char *) "n", NULL
7775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
7776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7777 if (SWIG_arg_fail(1)) SWIG_fail
;
7779 arg2
= (int)(SWIG_As_int(obj1
));
7780 if (SWIG_arg_fail(2)) SWIG_fail
;
7783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7784 (arg1
)->SetFirstItem(arg2
);
7786 wxPyEndAllowThreads(__tstate
);
7787 if (PyErr_Occurred()) SWIG_fail
;
7789 Py_INCREF(Py_None
); resultobj
= Py_None
;
7796 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7797 PyObject
*resultobj
;
7798 wxListBox
*arg1
= (wxListBox
*) 0 ;
7799 wxString
*arg2
= 0 ;
7800 bool temp2
= false ;
7801 PyObject
* obj0
= 0 ;
7802 PyObject
* obj1
= 0 ;
7804 (char *) "self",(char *) "s", NULL
7807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
7808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7809 if (SWIG_arg_fail(1)) SWIG_fail
;
7811 arg2
= wxString_in_helper(obj1
);
7812 if (arg2
== NULL
) SWIG_fail
;
7816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7817 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
7819 wxPyEndAllowThreads(__tstate
);
7820 if (PyErr_Occurred()) SWIG_fail
;
7822 Py_INCREF(Py_None
); resultobj
= Py_None
;
7837 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7838 PyObject
*resultobj
;
7839 wxListBox
*arg1
= (wxListBox
*) 0 ;
7841 PyObject
* obj0
= 0 ;
7842 PyObject
* obj1
= 0 ;
7844 (char *) "self",(char *) "n", NULL
7847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
7848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7849 if (SWIG_arg_fail(1)) SWIG_fail
;
7851 arg2
= (int)(SWIG_As_int(obj1
));
7852 if (SWIG_arg_fail(2)) SWIG_fail
;
7855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7856 (arg1
)->EnsureVisible(arg2
);
7858 wxPyEndAllowThreads(__tstate
);
7859 if (PyErr_Occurred()) SWIG_fail
;
7861 Py_INCREF(Py_None
); resultobj
= Py_None
;
7868 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7869 PyObject
*resultobj
;
7870 wxListBox
*arg1
= (wxListBox
*) 0 ;
7871 wxString
*arg2
= 0 ;
7872 bool temp2
= false ;
7873 PyObject
* obj0
= 0 ;
7874 PyObject
* obj1
= 0 ;
7876 (char *) "self",(char *) "s", NULL
7879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
7880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7881 if (SWIG_arg_fail(1)) SWIG_fail
;
7883 arg2
= wxString_in_helper(obj1
);
7884 if (arg2
== NULL
) SWIG_fail
;
7888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7889 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
7891 wxPyEndAllowThreads(__tstate
);
7892 if (PyErr_Occurred()) SWIG_fail
;
7894 Py_INCREF(Py_None
); resultobj
= Py_None
;
7909 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7910 PyObject
*resultobj
;
7911 wxListBox
*arg1
= (wxListBox
*) 0 ;
7913 PyObject
* obj0
= 0 ;
7915 (char *) "self", NULL
7918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
7919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7920 if (SWIG_arg_fail(1)) SWIG_fail
;
7922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7923 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
7925 wxPyEndAllowThreads(__tstate
);
7926 if (PyErr_Occurred()) SWIG_fail
;
7929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7937 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7938 PyObject
*resultobj
;
7939 wxListBox
*arg1
= (wxListBox
*) 0 ;
7941 wxColour
*arg3
= 0 ;
7943 PyObject
* obj0
= 0 ;
7944 PyObject
* obj1
= 0 ;
7945 PyObject
* obj2
= 0 ;
7947 (char *) "self",(char *) "item",(char *) "c", NULL
7950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7952 if (SWIG_arg_fail(1)) SWIG_fail
;
7954 arg2
= (int)(SWIG_As_int(obj1
));
7955 if (SWIG_arg_fail(2)) SWIG_fail
;
7959 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
7962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7963 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
7965 wxPyEndAllowThreads(__tstate
);
7966 if (PyErr_Occurred()) SWIG_fail
;
7968 Py_INCREF(Py_None
); resultobj
= Py_None
;
7975 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7976 PyObject
*resultobj
;
7977 wxListBox
*arg1
= (wxListBox
*) 0 ;
7979 wxColour
*arg3
= 0 ;
7981 PyObject
* obj0
= 0 ;
7982 PyObject
* obj1
= 0 ;
7983 PyObject
* obj2
= 0 ;
7985 (char *) "self",(char *) "item",(char *) "c", NULL
7988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7990 if (SWIG_arg_fail(1)) SWIG_fail
;
7992 arg2
= (int)(SWIG_As_int(obj1
));
7993 if (SWIG_arg_fail(2)) SWIG_fail
;
7997 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8001 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
8003 wxPyEndAllowThreads(__tstate
);
8004 if (PyErr_Occurred()) SWIG_fail
;
8006 Py_INCREF(Py_None
); resultobj
= Py_None
;
8013 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8014 PyObject
*resultobj
;
8015 wxListBox
*arg1
= (wxListBox
*) 0 ;
8018 PyObject
* obj0
= 0 ;
8019 PyObject
* obj1
= 0 ;
8020 PyObject
* obj2
= 0 ;
8022 (char *) "self",(char *) "item",(char *) "f", NULL
8025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8027 if (SWIG_arg_fail(1)) SWIG_fail
;
8029 arg2
= (int)(SWIG_As_int(obj1
));
8030 if (SWIG_arg_fail(2)) SWIG_fail
;
8033 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8034 if (SWIG_arg_fail(3)) SWIG_fail
;
8036 SWIG_null_ref("wxFont");
8038 if (SWIG_arg_fail(3)) SWIG_fail
;
8041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8042 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
8044 wxPyEndAllowThreads(__tstate
);
8045 if (PyErr_Occurred()) SWIG_fail
;
8047 Py_INCREF(Py_None
); resultobj
= Py_None
;
8054 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8055 PyObject
*resultobj
;
8056 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8057 wxVisualAttributes result
;
8058 PyObject
* obj0
= 0 ;
8060 (char *) "variant", NULL
8063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
8066 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
8067 if (SWIG_arg_fail(1)) SWIG_fail
;
8071 if (!wxPyCheckForApp()) SWIG_fail
;
8072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8073 result
= wxListBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
8075 wxPyEndAllowThreads(__tstate
);
8076 if (PyErr_Occurred()) SWIG_fail
;
8079 wxVisualAttributes
* resultptr
;
8080 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
8081 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
8089 static PyObject
* ListBox_swigregister(PyObject
*, PyObject
*args
) {
8091 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8092 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
8094 return Py_BuildValue((char *)"");
8096 static PyObject
*_wrap_new_CheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8097 PyObject
*resultobj
;
8098 wxWindow
*arg1
= (wxWindow
*) 0 ;
8099 int arg2
= (int) -1 ;
8100 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8101 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8102 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8103 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8104 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8105 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8106 long arg6
= (long) 0 ;
8107 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8108 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8109 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8110 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8111 wxCheckListBox
*result
;
8114 bool temp5
= false ;
8115 bool temp8
= false ;
8116 PyObject
* obj0
= 0 ;
8117 PyObject
* obj1
= 0 ;
8118 PyObject
* obj2
= 0 ;
8119 PyObject
* obj3
= 0 ;
8120 PyObject
* obj4
= 0 ;
8121 PyObject
* obj5
= 0 ;
8122 PyObject
* obj6
= 0 ;
8123 PyObject
* obj7
= 0 ;
8125 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
8129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8130 if (SWIG_arg_fail(1)) SWIG_fail
;
8133 arg2
= (int)(SWIG_As_int(obj1
));
8134 if (SWIG_arg_fail(2)) SWIG_fail
;
8140 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8146 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8151 if (! PySequence_Check(obj4
)) {
8152 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8155 arg5
= new wxArrayString
;
8157 int i
, len
=PySequence_Length(obj4
);
8158 for (i
=0; i
<len
; i
++) {
8159 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8160 wxString
* s
= wxString_in_helper(item
);
8161 if (PyErr_Occurred()) SWIG_fail
;
8170 arg6
= (long)(SWIG_As_long(obj5
));
8171 if (SWIG_arg_fail(6)) SWIG_fail
;
8176 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
8177 if (SWIG_arg_fail(7)) SWIG_fail
;
8179 SWIG_null_ref("wxValidator");
8181 if (SWIG_arg_fail(7)) SWIG_fail
;
8186 arg8
= wxString_in_helper(obj7
);
8187 if (arg8
== NULL
) SWIG_fail
;
8192 if (!wxPyCheckForApp()) SWIG_fail
;
8193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8194 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8196 wxPyEndAllowThreads(__tstate
);
8197 if (PyErr_Occurred()) SWIG_fail
;
8199 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
8201 if (temp5
) delete arg5
;
8210 if (temp5
) delete arg5
;
8220 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8221 PyObject
*resultobj
;
8222 wxCheckListBox
*result
;
8227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
8229 if (!wxPyCheckForApp()) SWIG_fail
;
8230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8231 result
= (wxCheckListBox
*)new wxCheckListBox();
8233 wxPyEndAllowThreads(__tstate
);
8234 if (PyErr_Occurred()) SWIG_fail
;
8236 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
8243 static PyObject
*_wrap_CheckListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8244 PyObject
*resultobj
;
8245 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8246 wxWindow
*arg2
= (wxWindow
*) 0 ;
8247 int arg3
= (int) -1 ;
8248 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8249 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8250 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8251 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8252 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8253 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8254 long arg7
= (long) 0 ;
8255 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8256 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8257 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8258 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8262 bool temp6
= false ;
8263 bool temp9
= false ;
8264 PyObject
* obj0
= 0 ;
8265 PyObject
* obj1
= 0 ;
8266 PyObject
* obj2
= 0 ;
8267 PyObject
* obj3
= 0 ;
8268 PyObject
* obj4
= 0 ;
8269 PyObject
* obj5
= 0 ;
8270 PyObject
* obj6
= 0 ;
8271 PyObject
* obj7
= 0 ;
8272 PyObject
* obj8
= 0 ;
8274 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
8278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8279 if (SWIG_arg_fail(1)) SWIG_fail
;
8280 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8281 if (SWIG_arg_fail(2)) SWIG_fail
;
8284 arg3
= (int)(SWIG_As_int(obj2
));
8285 if (SWIG_arg_fail(3)) SWIG_fail
;
8291 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8297 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8302 if (! PySequence_Check(obj5
)) {
8303 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8306 arg6
= new wxArrayString
;
8308 int i
, len
=PySequence_Length(obj5
);
8309 for (i
=0; i
<len
; i
++) {
8310 PyObject
* item
= PySequence_GetItem(obj5
, i
);
8311 wxString
* s
= wxString_in_helper(item
);
8312 if (PyErr_Occurred()) SWIG_fail
;
8321 arg7
= (long)(SWIG_As_long(obj6
));
8322 if (SWIG_arg_fail(7)) SWIG_fail
;
8327 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
8328 if (SWIG_arg_fail(8)) SWIG_fail
;
8330 SWIG_null_ref("wxValidator");
8332 if (SWIG_arg_fail(8)) SWIG_fail
;
8337 arg9
= wxString_in_helper(obj8
);
8338 if (arg9
== NULL
) SWIG_fail
;
8343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8344 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
8346 wxPyEndAllowThreads(__tstate
);
8347 if (PyErr_Occurred()) SWIG_fail
;
8350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8353 if (temp6
) delete arg6
;
8362 if (temp6
) delete arg6
;
8372 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8373 PyObject
*resultobj
;
8374 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8377 PyObject
* obj0
= 0 ;
8378 PyObject
* obj1
= 0 ;
8380 (char *) "self",(char *) "index", NULL
8383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
8384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8385 if (SWIG_arg_fail(1)) SWIG_fail
;
8387 arg2
= (int)(SWIG_As_int(obj1
));
8388 if (SWIG_arg_fail(2)) SWIG_fail
;
8391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8392 result
= (bool)(arg1
)->IsChecked(arg2
);
8394 wxPyEndAllowThreads(__tstate
);
8395 if (PyErr_Occurred()) SWIG_fail
;
8398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8406 static PyObject
*_wrap_CheckListBox_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8407 PyObject
*resultobj
;
8408 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8410 int arg3
= (int) true ;
8411 PyObject
* obj0
= 0 ;
8412 PyObject
* obj1
= 0 ;
8413 PyObject
* obj2
= 0 ;
8415 (char *) "self",(char *) "index",(char *) "check", NULL
8418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8420 if (SWIG_arg_fail(1)) SWIG_fail
;
8422 arg2
= (int)(SWIG_As_int(obj1
));
8423 if (SWIG_arg_fail(2)) SWIG_fail
;
8427 arg3
= (int)(SWIG_As_int(obj2
));
8428 if (SWIG_arg_fail(3)) SWIG_fail
;
8432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8433 (arg1
)->Check(arg2
,arg3
);
8435 wxPyEndAllowThreads(__tstate
);
8436 if (PyErr_Occurred()) SWIG_fail
;
8438 Py_INCREF(Py_None
); resultobj
= Py_None
;
8445 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8446 PyObject
*resultobj
;
8447 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8451 PyObject
* obj0
= 0 ;
8452 PyObject
* obj1
= 0 ;
8454 (char *) "self",(char *) "pt", NULL
8457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8459 if (SWIG_arg_fail(1)) SWIG_fail
;
8462 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8466 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
8468 wxPyEndAllowThreads(__tstate
);
8469 if (PyErr_Occurred()) SWIG_fail
;
8472 resultobj
= SWIG_From_int((int)(result
));
8480 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8481 PyObject
*resultobj
;
8482 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8486 PyObject
* obj0
= 0 ;
8487 PyObject
* obj1
= 0 ;
8488 PyObject
* obj2
= 0 ;
8490 (char *) "self",(char *) "x",(char *) "y", NULL
8493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8495 if (SWIG_arg_fail(1)) SWIG_fail
;
8497 arg2
= (int)(SWIG_As_int(obj1
));
8498 if (SWIG_arg_fail(2)) SWIG_fail
;
8501 arg3
= (int)(SWIG_As_int(obj2
));
8502 if (SWIG_arg_fail(3)) SWIG_fail
;
8505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8506 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
8508 wxPyEndAllowThreads(__tstate
);
8509 if (PyErr_Occurred()) SWIG_fail
;
8512 resultobj
= SWIG_From_int((int)(result
));
8520 static PyObject
* CheckListBox_swigregister(PyObject
*, PyObject
*args
) {
8522 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8523 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
8525 return Py_BuildValue((char *)"");
8527 static int _wrap_TextCtrlNameStr_set(PyObject
*) {
8528 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
8533 static PyObject
*_wrap_TextCtrlNameStr_get(void) {
8538 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
8540 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
8547 static PyObject
*_wrap_new_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8548 PyObject
*resultobj
;
8549 wxColour
const &arg1_defvalue
= wxNullColour
;
8550 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
8551 wxColour
const &arg2_defvalue
= wxNullColour
;
8552 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8553 wxFont
const &arg3_defvalue
= wxNullFont
;
8554 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
8555 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
8559 PyObject
* obj0
= 0 ;
8560 PyObject
* obj1
= 0 ;
8561 PyObject
* obj2
= 0 ;
8562 PyObject
* obj3
= 0 ;
8564 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
8567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8571 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
8577 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8582 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8583 if (SWIG_arg_fail(3)) SWIG_fail
;
8585 SWIG_null_ref("wxFont");
8587 if (SWIG_arg_fail(3)) SWIG_fail
;
8592 arg4
= (wxTextAttrAlignment
)(SWIG_As_int(obj3
));
8593 if (SWIG_arg_fail(4)) SWIG_fail
;
8597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8598 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
8600 wxPyEndAllowThreads(__tstate
);
8601 if (PyErr_Occurred()) SWIG_fail
;
8603 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
8610 static PyObject
*_wrap_delete_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8611 PyObject
*resultobj
;
8612 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8613 PyObject
* obj0
= 0 ;
8615 (char *) "self", NULL
8618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
8619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8620 if (SWIG_arg_fail(1)) SWIG_fail
;
8622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8625 wxPyEndAllowThreads(__tstate
);
8626 if (PyErr_Occurred()) SWIG_fail
;
8628 Py_INCREF(Py_None
); resultobj
= Py_None
;
8635 static PyObject
*_wrap_TextAttr_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8636 PyObject
*resultobj
;
8637 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8638 PyObject
* obj0
= 0 ;
8640 (char *) "self", NULL
8643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
8644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8645 if (SWIG_arg_fail(1)) SWIG_fail
;
8647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8650 wxPyEndAllowThreads(__tstate
);
8651 if (PyErr_Occurred()) SWIG_fail
;
8653 Py_INCREF(Py_None
); resultobj
= Py_None
;
8660 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8661 PyObject
*resultobj
;
8662 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8663 wxColour
*arg2
= 0 ;
8665 PyObject
* obj0
= 0 ;
8666 PyObject
* obj1
= 0 ;
8668 (char *) "self",(char *) "colText", NULL
8671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
8672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8673 if (SWIG_arg_fail(1)) SWIG_fail
;
8676 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8680 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
8682 wxPyEndAllowThreads(__tstate
);
8683 if (PyErr_Occurred()) SWIG_fail
;
8685 Py_INCREF(Py_None
); resultobj
= Py_None
;
8692 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8693 PyObject
*resultobj
;
8694 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8695 wxColour
*arg2
= 0 ;
8697 PyObject
* obj0
= 0 ;
8698 PyObject
* obj1
= 0 ;
8700 (char *) "self",(char *) "colBack", NULL
8703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
8704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8705 if (SWIG_arg_fail(1)) SWIG_fail
;
8708 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8712 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
8714 wxPyEndAllowThreads(__tstate
);
8715 if (PyErr_Occurred()) SWIG_fail
;
8717 Py_INCREF(Py_None
); resultobj
= Py_None
;
8724 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8725 PyObject
*resultobj
;
8726 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8728 long arg3
= (long) wxTEXT_ATTR_FONT
;
8729 PyObject
* obj0
= 0 ;
8730 PyObject
* obj1
= 0 ;
8731 PyObject
* obj2
= 0 ;
8733 (char *) "self",(char *) "font",(char *) "flags", NULL
8736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8738 if (SWIG_arg_fail(1)) SWIG_fail
;
8740 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8741 if (SWIG_arg_fail(2)) SWIG_fail
;
8743 SWIG_null_ref("wxFont");
8745 if (SWIG_arg_fail(2)) SWIG_fail
;
8749 arg3
= (long)(SWIG_As_long(obj2
));
8750 if (SWIG_arg_fail(3)) SWIG_fail
;
8754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8755 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
8757 wxPyEndAllowThreads(__tstate
);
8758 if (PyErr_Occurred()) SWIG_fail
;
8760 Py_INCREF(Py_None
); resultobj
= Py_None
;
8767 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8768 PyObject
*resultobj
;
8769 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8770 wxTextAttrAlignment arg2
;
8771 PyObject
* obj0
= 0 ;
8772 PyObject
* obj1
= 0 ;
8774 (char *) "self",(char *) "alignment", NULL
8777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8779 if (SWIG_arg_fail(1)) SWIG_fail
;
8781 arg2
= (wxTextAttrAlignment
)(SWIG_As_int(obj1
));
8782 if (SWIG_arg_fail(2)) SWIG_fail
;
8785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8786 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
8788 wxPyEndAllowThreads(__tstate
);
8789 if (PyErr_Occurred()) SWIG_fail
;
8791 Py_INCREF(Py_None
); resultobj
= Py_None
;
8798 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8799 PyObject
*resultobj
;
8800 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8801 wxArrayInt
*arg2
= 0 ;
8802 bool temp2
= false ;
8803 PyObject
* obj0
= 0 ;
8804 PyObject
* obj1
= 0 ;
8806 (char *) "self",(char *) "tabs", NULL
8809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
8810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8811 if (SWIG_arg_fail(1)) SWIG_fail
;
8813 if (! PySequence_Check(obj1
)) {
8814 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
8817 arg2
= new wxArrayInt
;
8819 int i
, len
=PySequence_Length(obj1
);
8820 for (i
=0; i
<len
; i
++) {
8821 PyObject
* item
= PySequence_GetItem(obj1
, i
);
8822 PyObject
* number
= PyNumber_Int(item
);
8823 arg2
->Add(PyInt_AS_LONG(number
));
8829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8830 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
8832 wxPyEndAllowThreads(__tstate
);
8833 if (PyErr_Occurred()) SWIG_fail
;
8835 Py_INCREF(Py_None
); resultobj
= Py_None
;
8837 if (temp2
) delete arg2
;
8842 if (temp2
) delete arg2
;
8848 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8849 PyObject
*resultobj
;
8850 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8852 int arg3
= (int) 0 ;
8853 PyObject
* obj0
= 0 ;
8854 PyObject
* obj1
= 0 ;
8855 PyObject
* obj2
= 0 ;
8857 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
8860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8862 if (SWIG_arg_fail(1)) SWIG_fail
;
8864 arg2
= (int)(SWIG_As_int(obj1
));
8865 if (SWIG_arg_fail(2)) SWIG_fail
;
8869 arg3
= (int)(SWIG_As_int(obj2
));
8870 if (SWIG_arg_fail(3)) SWIG_fail
;
8874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8875 (arg1
)->SetLeftIndent(arg2
,arg3
);
8877 wxPyEndAllowThreads(__tstate
);
8878 if (PyErr_Occurred()) SWIG_fail
;
8880 Py_INCREF(Py_None
); resultobj
= Py_None
;
8887 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8888 PyObject
*resultobj
;
8889 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8891 PyObject
* obj0
= 0 ;
8892 PyObject
* obj1
= 0 ;
8894 (char *) "self",(char *) "indent", NULL
8897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
8898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8899 if (SWIG_arg_fail(1)) SWIG_fail
;
8901 arg2
= (int)(SWIG_As_int(obj1
));
8902 if (SWIG_arg_fail(2)) SWIG_fail
;
8905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8906 (arg1
)->SetRightIndent(arg2
);
8908 wxPyEndAllowThreads(__tstate
);
8909 if (PyErr_Occurred()) SWIG_fail
;
8911 Py_INCREF(Py_None
); resultobj
= Py_None
;
8918 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8919 PyObject
*resultobj
;
8920 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8922 PyObject
* obj0
= 0 ;
8923 PyObject
* obj1
= 0 ;
8925 (char *) "self",(char *) "flags", NULL
8928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
8929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8930 if (SWIG_arg_fail(1)) SWIG_fail
;
8932 arg2
= (long)(SWIG_As_long(obj1
));
8933 if (SWIG_arg_fail(2)) SWIG_fail
;
8936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8937 (arg1
)->SetFlags(arg2
);
8939 wxPyEndAllowThreads(__tstate
);
8940 if (PyErr_Occurred()) SWIG_fail
;
8942 Py_INCREF(Py_None
); resultobj
= Py_None
;
8949 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8950 PyObject
*resultobj
;
8951 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8953 PyObject
* obj0
= 0 ;
8955 (char *) "self", NULL
8958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
8959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8960 if (SWIG_arg_fail(1)) SWIG_fail
;
8962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8963 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
8965 wxPyEndAllowThreads(__tstate
);
8966 if (PyErr_Occurred()) SWIG_fail
;
8969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8977 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8978 PyObject
*resultobj
;
8979 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8981 PyObject
* obj0
= 0 ;
8983 (char *) "self", NULL
8986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
8987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8988 if (SWIG_arg_fail(1)) SWIG_fail
;
8990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8991 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
8993 wxPyEndAllowThreads(__tstate
);
8994 if (PyErr_Occurred()) SWIG_fail
;
8997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9005 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9006 PyObject
*resultobj
;
9007 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9009 PyObject
* obj0
= 0 ;
9011 (char *) "self", NULL
9014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
9015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9016 if (SWIG_arg_fail(1)) SWIG_fail
;
9018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9019 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
9021 wxPyEndAllowThreads(__tstate
);
9022 if (PyErr_Occurred()) SWIG_fail
;
9025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9033 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9034 PyObject
*resultobj
;
9035 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9037 PyObject
* obj0
= 0 ;
9039 (char *) "self", NULL
9042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
9043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9044 if (SWIG_arg_fail(1)) SWIG_fail
;
9046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9047 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
9049 wxPyEndAllowThreads(__tstate
);
9050 if (PyErr_Occurred()) SWIG_fail
;
9053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9061 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9062 PyObject
*resultobj
;
9063 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9065 PyObject
* obj0
= 0 ;
9067 (char *) "self", NULL
9070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
9071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9072 if (SWIG_arg_fail(1)) SWIG_fail
;
9074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9075 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
9077 wxPyEndAllowThreads(__tstate
);
9078 if (PyErr_Occurred()) SWIG_fail
;
9081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9089 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9090 PyObject
*resultobj
;
9091 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9093 PyObject
* obj0
= 0 ;
9095 (char *) "self", NULL
9098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
9099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9100 if (SWIG_arg_fail(1)) SWIG_fail
;
9102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9103 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
9105 wxPyEndAllowThreads(__tstate
);
9106 if (PyErr_Occurred()) SWIG_fail
;
9109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9117 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9118 PyObject
*resultobj
;
9119 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9121 PyObject
* obj0
= 0 ;
9123 (char *) "self", NULL
9126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
9127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9128 if (SWIG_arg_fail(1)) SWIG_fail
;
9130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9131 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
9133 wxPyEndAllowThreads(__tstate
);
9134 if (PyErr_Occurred()) SWIG_fail
;
9137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9145 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9146 PyObject
*resultobj
;
9147 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9150 PyObject
* obj0
= 0 ;
9151 PyObject
* obj1
= 0 ;
9153 (char *) "self",(char *) "flag", NULL
9156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
9157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9158 if (SWIG_arg_fail(1)) SWIG_fail
;
9160 arg2
= (long)(SWIG_As_long(obj1
));
9161 if (SWIG_arg_fail(2)) SWIG_fail
;
9164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9165 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
9167 wxPyEndAllowThreads(__tstate
);
9168 if (PyErr_Occurred()) SWIG_fail
;
9171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9179 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9180 PyObject
*resultobj
;
9181 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9183 PyObject
* obj0
= 0 ;
9185 (char *) "self", NULL
9188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
9189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9190 if (SWIG_arg_fail(1)) SWIG_fail
;
9192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9194 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
9195 result
= (wxColour
*) &_result_ref
;
9198 wxPyEndAllowThreads(__tstate
);
9199 if (PyErr_Occurred()) SWIG_fail
;
9201 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9208 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9209 PyObject
*resultobj
;
9210 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9212 PyObject
* obj0
= 0 ;
9214 (char *) "self", NULL
9217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
9218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9219 if (SWIG_arg_fail(1)) SWIG_fail
;
9221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9223 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
9224 result
= (wxColour
*) &_result_ref
;
9227 wxPyEndAllowThreads(__tstate
);
9228 if (PyErr_Occurred()) SWIG_fail
;
9230 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9237 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9238 PyObject
*resultobj
;
9239 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9241 PyObject
* obj0
= 0 ;
9243 (char *) "self", NULL
9246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
9247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9248 if (SWIG_arg_fail(1)) SWIG_fail
;
9250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9252 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
9253 result
= (wxFont
*) &_result_ref
;
9256 wxPyEndAllowThreads(__tstate
);
9257 if (PyErr_Occurred()) SWIG_fail
;
9260 wxFont
* resultptr
= new wxFont(*result
);
9261 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
9269 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9270 PyObject
*resultobj
;
9271 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9272 wxTextAttrAlignment result
;
9273 PyObject
* obj0
= 0 ;
9275 (char *) "self", NULL
9278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
9279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9280 if (SWIG_arg_fail(1)) SWIG_fail
;
9282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9283 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
9285 wxPyEndAllowThreads(__tstate
);
9286 if (PyErr_Occurred()) SWIG_fail
;
9288 resultobj
= SWIG_From_int((result
));
9295 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9296 PyObject
*resultobj
;
9297 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9299 PyObject
* obj0
= 0 ;
9301 (char *) "self", NULL
9304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
9305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9306 if (SWIG_arg_fail(1)) SWIG_fail
;
9308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9310 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
9311 result
= (wxArrayInt
*) &_result_ref
;
9314 wxPyEndAllowThreads(__tstate
);
9315 if (PyErr_Occurred()) SWIG_fail
;
9318 resultobj
= PyList_New(0);
9320 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
9321 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
9322 PyList_Append(resultobj
, val
);
9332 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9333 PyObject
*resultobj
;
9334 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9336 PyObject
* obj0
= 0 ;
9338 (char *) "self", NULL
9341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
9342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9343 if (SWIG_arg_fail(1)) SWIG_fail
;
9345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9346 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
9348 wxPyEndAllowThreads(__tstate
);
9349 if (PyErr_Occurred()) SWIG_fail
;
9352 resultobj
= SWIG_From_long((long)(result
));
9360 static PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9361 PyObject
*resultobj
;
9362 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9364 PyObject
* obj0
= 0 ;
9366 (char *) "self", NULL
9369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftSubIndent",kwnames
,&obj0
)) goto fail
;
9370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9371 if (SWIG_arg_fail(1)) SWIG_fail
;
9373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9374 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
9376 wxPyEndAllowThreads(__tstate
);
9377 if (PyErr_Occurred()) SWIG_fail
;
9380 resultobj
= SWIG_From_long((long)(result
));
9388 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9389 PyObject
*resultobj
;
9390 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9392 PyObject
* obj0
= 0 ;
9394 (char *) "self", NULL
9397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
9398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9399 if (SWIG_arg_fail(1)) SWIG_fail
;
9401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9402 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
9404 wxPyEndAllowThreads(__tstate
);
9405 if (PyErr_Occurred()) SWIG_fail
;
9408 resultobj
= SWIG_From_long((long)(result
));
9416 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9417 PyObject
*resultobj
;
9418 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9420 PyObject
* obj0
= 0 ;
9422 (char *) "self", NULL
9425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
9426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9427 if (SWIG_arg_fail(1)) SWIG_fail
;
9429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9430 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
9432 wxPyEndAllowThreads(__tstate
);
9433 if (PyErr_Occurred()) SWIG_fail
;
9436 resultobj
= SWIG_From_long((long)(result
));
9444 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9445 PyObject
*resultobj
;
9446 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9448 PyObject
* obj0
= 0 ;
9450 (char *) "self", NULL
9453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
9454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9455 if (SWIG_arg_fail(1)) SWIG_fail
;
9457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9458 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
9460 wxPyEndAllowThreads(__tstate
);
9461 if (PyErr_Occurred()) SWIG_fail
;
9464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9472 static PyObject
*_wrap_TextAttr_Combine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9473 PyObject
*resultobj
;
9474 wxTextAttr
*arg1
= 0 ;
9475 wxTextAttr
*arg2
= 0 ;
9476 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
9478 PyObject
* obj0
= 0 ;
9479 PyObject
* obj1
= 0 ;
9480 PyObject
* obj2
= 0 ;
9482 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
9485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9488 if (SWIG_arg_fail(1)) SWIG_fail
;
9490 SWIG_null_ref("wxTextAttr");
9492 if (SWIG_arg_fail(1)) SWIG_fail
;
9495 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9496 if (SWIG_arg_fail(2)) SWIG_fail
;
9498 SWIG_null_ref("wxTextAttr");
9500 if (SWIG_arg_fail(2)) SWIG_fail
;
9502 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9503 if (SWIG_arg_fail(3)) SWIG_fail
;
9505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9506 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
9508 wxPyEndAllowThreads(__tstate
);
9509 if (PyErr_Occurred()) SWIG_fail
;
9512 wxTextAttr
* resultptr
;
9513 resultptr
= new wxTextAttr((wxTextAttr
&)(result
));
9514 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
9522 static PyObject
* TextAttr_swigregister(PyObject
*, PyObject
*args
) {
9524 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9525 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
9527 return Py_BuildValue((char *)"");
9529 static PyObject
*_wrap_new_TextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9530 PyObject
*resultobj
;
9531 wxWindow
*arg1
= (wxWindow
*) 0 ;
9532 int arg2
= (int) -1 ;
9533 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9534 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9535 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9536 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9537 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9538 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9539 long arg6
= (long) 0 ;
9540 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9541 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9542 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
9543 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9545 bool temp3
= false ;
9548 bool temp8
= false ;
9549 PyObject
* obj0
= 0 ;
9550 PyObject
* obj1
= 0 ;
9551 PyObject
* obj2
= 0 ;
9552 PyObject
* obj3
= 0 ;
9553 PyObject
* obj4
= 0 ;
9554 PyObject
* obj5
= 0 ;
9555 PyObject
* obj6
= 0 ;
9556 PyObject
* obj7
= 0 ;
9558 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9563 if (SWIG_arg_fail(1)) SWIG_fail
;
9566 arg2
= (int)(SWIG_As_int(obj1
));
9567 if (SWIG_arg_fail(2)) SWIG_fail
;
9572 arg3
= wxString_in_helper(obj2
);
9573 if (arg3
== NULL
) SWIG_fail
;
9580 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9586 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9591 arg6
= (long)(SWIG_As_long(obj5
));
9592 if (SWIG_arg_fail(6)) SWIG_fail
;
9597 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
9598 if (SWIG_arg_fail(7)) SWIG_fail
;
9600 SWIG_null_ref("wxValidator");
9602 if (SWIG_arg_fail(7)) SWIG_fail
;
9607 arg8
= wxString_in_helper(obj7
);
9608 if (arg8
== NULL
) SWIG_fail
;
9613 if (!wxPyCheckForApp()) SWIG_fail
;
9614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9615 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9617 wxPyEndAllowThreads(__tstate
);
9618 if (PyErr_Occurred()) SWIG_fail
;
9620 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
9643 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9644 PyObject
*resultobj
;
9650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
9652 if (!wxPyCheckForApp()) SWIG_fail
;
9653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9654 result
= (wxTextCtrl
*)new wxTextCtrl();
9656 wxPyEndAllowThreads(__tstate
);
9657 if (PyErr_Occurred()) SWIG_fail
;
9659 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
9666 static PyObject
*_wrap_TextCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9667 PyObject
*resultobj
;
9668 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9669 wxWindow
*arg2
= (wxWindow
*) 0 ;
9670 int arg3
= (int) -1 ;
9671 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9672 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9673 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
9674 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
9675 wxSize
const &arg6_defvalue
= wxDefaultSize
;
9676 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
9677 long arg7
= (long) 0 ;
9678 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
9679 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
9680 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
9681 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
9683 bool temp4
= false ;
9686 bool temp9
= false ;
9687 PyObject
* obj0
= 0 ;
9688 PyObject
* obj1
= 0 ;
9689 PyObject
* obj2
= 0 ;
9690 PyObject
* obj3
= 0 ;
9691 PyObject
* obj4
= 0 ;
9692 PyObject
* obj5
= 0 ;
9693 PyObject
* obj6
= 0 ;
9694 PyObject
* obj7
= 0 ;
9695 PyObject
* obj8
= 0 ;
9697 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
9701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9702 if (SWIG_arg_fail(1)) SWIG_fail
;
9703 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9704 if (SWIG_arg_fail(2)) SWIG_fail
;
9707 arg3
= (int)(SWIG_As_int(obj2
));
9708 if (SWIG_arg_fail(3)) SWIG_fail
;
9713 arg4
= wxString_in_helper(obj3
);
9714 if (arg4
== NULL
) SWIG_fail
;
9721 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
9727 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
9732 arg7
= (long)(SWIG_As_long(obj6
));
9733 if (SWIG_arg_fail(7)) SWIG_fail
;
9738 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
9739 if (SWIG_arg_fail(8)) SWIG_fail
;
9741 SWIG_null_ref("wxValidator");
9743 if (SWIG_arg_fail(8)) SWIG_fail
;
9748 arg9
= wxString_in_helper(obj8
);
9749 if (arg9
== NULL
) SWIG_fail
;
9754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9755 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9757 wxPyEndAllowThreads(__tstate
);
9758 if (PyErr_Occurred()) SWIG_fail
;
9761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9785 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9786 PyObject
*resultobj
;
9787 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9789 PyObject
* obj0
= 0 ;
9791 (char *) "self", NULL
9794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
9795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9796 if (SWIG_arg_fail(1)) SWIG_fail
;
9798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9799 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
9801 wxPyEndAllowThreads(__tstate
);
9802 if (PyErr_Occurred()) SWIG_fail
;
9806 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9808 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9817 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9818 PyObject
*resultobj
;
9819 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9820 wxString
*arg2
= 0 ;
9821 bool temp2
= false ;
9822 PyObject
* obj0
= 0 ;
9823 PyObject
* obj1
= 0 ;
9825 (char *) "self",(char *) "value", NULL
9828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
9829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9830 if (SWIG_arg_fail(1)) SWIG_fail
;
9832 arg2
= wxString_in_helper(obj1
);
9833 if (arg2
== NULL
) SWIG_fail
;
9837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9838 (arg1
)->SetValue((wxString
const &)*arg2
);
9840 wxPyEndAllowThreads(__tstate
);
9841 if (PyErr_Occurred()) SWIG_fail
;
9843 Py_INCREF(Py_None
); resultobj
= Py_None
;
9858 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9859 PyObject
*resultobj
;
9860 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9864 PyObject
* obj0
= 0 ;
9865 PyObject
* obj1
= 0 ;
9866 PyObject
* obj2
= 0 ;
9868 (char *) "self",(char *) "from",(char *) "to", NULL
9871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9873 if (SWIG_arg_fail(1)) SWIG_fail
;
9875 arg2
= (long)(SWIG_As_long(obj1
));
9876 if (SWIG_arg_fail(2)) SWIG_fail
;
9879 arg3
= (long)(SWIG_As_long(obj2
));
9880 if (SWIG_arg_fail(3)) SWIG_fail
;
9883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9884 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
9886 wxPyEndAllowThreads(__tstate
);
9887 if (PyErr_Occurred()) SWIG_fail
;
9891 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9893 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9902 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9903 PyObject
*resultobj
;
9904 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9907 PyObject
* obj0
= 0 ;
9908 PyObject
* obj1
= 0 ;
9910 (char *) "self",(char *) "lineNo", NULL
9913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
9914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9915 if (SWIG_arg_fail(1)) SWIG_fail
;
9917 arg2
= (long)(SWIG_As_long(obj1
));
9918 if (SWIG_arg_fail(2)) SWIG_fail
;
9921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9922 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
9924 wxPyEndAllowThreads(__tstate
);
9925 if (PyErr_Occurred()) SWIG_fail
;
9928 resultobj
= SWIG_From_int((int)(result
));
9936 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9937 PyObject
*resultobj
;
9938 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9941 PyObject
* obj0
= 0 ;
9942 PyObject
* obj1
= 0 ;
9944 (char *) "self",(char *) "lineNo", NULL
9947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
9948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9949 if (SWIG_arg_fail(1)) SWIG_fail
;
9951 arg2
= (long)(SWIG_As_long(obj1
));
9952 if (SWIG_arg_fail(2)) SWIG_fail
;
9955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9956 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
9958 wxPyEndAllowThreads(__tstate
);
9959 if (PyErr_Occurred()) SWIG_fail
;
9963 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9965 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9974 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9975 PyObject
*resultobj
;
9976 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9978 PyObject
* obj0
= 0 ;
9980 (char *) "self", NULL
9983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
9984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9985 if (SWIG_arg_fail(1)) SWIG_fail
;
9987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9988 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
9990 wxPyEndAllowThreads(__tstate
);
9991 if (PyErr_Occurred()) SWIG_fail
;
9994 resultobj
= SWIG_From_int((int)(result
));
10002 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10003 PyObject
*resultobj
;
10004 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10006 PyObject
* obj0
= 0 ;
10007 char *kwnames
[] = {
10008 (char *) "self", NULL
10011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
10012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10013 if (SWIG_arg_fail(1)) SWIG_fail
;
10015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10016 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
10018 wxPyEndAllowThreads(__tstate
);
10019 if (PyErr_Occurred()) SWIG_fail
;
10022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10030 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10031 PyObject
*resultobj
;
10032 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10034 PyObject
* obj0
= 0 ;
10035 char *kwnames
[] = {
10036 (char *) "self", NULL
10039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
10040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10041 if (SWIG_arg_fail(1)) SWIG_fail
;
10043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10044 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
10046 wxPyEndAllowThreads(__tstate
);
10047 if (PyErr_Occurred()) SWIG_fail
;
10050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10058 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10059 PyObject
*resultobj
;
10060 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10062 PyObject
* obj0
= 0 ;
10063 char *kwnames
[] = {
10064 (char *) "self", NULL
10067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
10068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10069 if (SWIG_arg_fail(1)) SWIG_fail
;
10071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10072 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
10074 wxPyEndAllowThreads(__tstate
);
10075 if (PyErr_Occurred()) SWIG_fail
;
10078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10086 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10087 PyObject
*resultobj
;
10088 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10090 PyObject
* obj0
= 0 ;
10091 char *kwnames
[] = {
10092 (char *) "self", NULL
10095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
10096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10097 if (SWIG_arg_fail(1)) SWIG_fail
;
10099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10100 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
10102 wxPyEndAllowThreads(__tstate
);
10103 if (PyErr_Occurred()) SWIG_fail
;
10106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10114 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10115 PyObject
*resultobj
;
10116 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10117 long *arg2
= (long *) 0 ;
10118 long *arg3
= (long *) 0 ;
10123 PyObject
* obj0
= 0 ;
10124 char *kwnames
[] = {
10125 (char *) "self", NULL
10128 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10129 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
10131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10132 if (SWIG_arg_fail(1)) SWIG_fail
;
10134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10135 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
10137 wxPyEndAllowThreads(__tstate
);
10138 if (PyErr_Occurred()) SWIG_fail
;
10140 Py_INCREF(Py_None
); resultobj
= Py_None
;
10141 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10142 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
10143 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10144 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10151 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10152 PyObject
*resultobj
;
10153 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10155 PyObject
* obj0
= 0 ;
10156 char *kwnames
[] = {
10157 (char *) "self", NULL
10160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
10161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10162 if (SWIG_arg_fail(1)) SWIG_fail
;
10164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10165 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
10167 wxPyEndAllowThreads(__tstate
);
10168 if (PyErr_Occurred()) SWIG_fail
;
10172 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10174 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10183 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10184 PyObject
*resultobj
;
10185 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10186 PyObject
* obj0
= 0 ;
10187 char *kwnames
[] = {
10188 (char *) "self", NULL
10191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
10192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10193 if (SWIG_arg_fail(1)) SWIG_fail
;
10195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10198 wxPyEndAllowThreads(__tstate
);
10199 if (PyErr_Occurred()) SWIG_fail
;
10201 Py_INCREF(Py_None
); resultobj
= Py_None
;
10208 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10209 PyObject
*resultobj
;
10210 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10213 wxString
*arg4
= 0 ;
10214 bool temp4
= false ;
10215 PyObject
* obj0
= 0 ;
10216 PyObject
* obj1
= 0 ;
10217 PyObject
* obj2
= 0 ;
10218 PyObject
* obj3
= 0 ;
10219 char *kwnames
[] = {
10220 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
10223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10225 if (SWIG_arg_fail(1)) SWIG_fail
;
10227 arg2
= (long)(SWIG_As_long(obj1
));
10228 if (SWIG_arg_fail(2)) SWIG_fail
;
10231 arg3
= (long)(SWIG_As_long(obj2
));
10232 if (SWIG_arg_fail(3)) SWIG_fail
;
10235 arg4
= wxString_in_helper(obj3
);
10236 if (arg4
== NULL
) SWIG_fail
;
10240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10241 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
10243 wxPyEndAllowThreads(__tstate
);
10244 if (PyErr_Occurred()) SWIG_fail
;
10246 Py_INCREF(Py_None
); resultobj
= Py_None
;
10261 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10262 PyObject
*resultobj
;
10263 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10266 PyObject
* obj0
= 0 ;
10267 PyObject
* obj1
= 0 ;
10268 PyObject
* obj2
= 0 ;
10269 char *kwnames
[] = {
10270 (char *) "self",(char *) "from",(char *) "to", NULL
10273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10275 if (SWIG_arg_fail(1)) SWIG_fail
;
10277 arg2
= (long)(SWIG_As_long(obj1
));
10278 if (SWIG_arg_fail(2)) SWIG_fail
;
10281 arg3
= (long)(SWIG_As_long(obj2
));
10282 if (SWIG_arg_fail(3)) SWIG_fail
;
10285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10286 (arg1
)->Remove(arg2
,arg3
);
10288 wxPyEndAllowThreads(__tstate
);
10289 if (PyErr_Occurred()) SWIG_fail
;
10291 Py_INCREF(Py_None
); resultobj
= Py_None
;
10298 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10299 PyObject
*resultobj
;
10300 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10301 wxString
*arg2
= 0 ;
10303 bool temp2
= false ;
10304 PyObject
* obj0
= 0 ;
10305 PyObject
* obj1
= 0 ;
10306 char *kwnames
[] = {
10307 (char *) "self",(char *) "file", NULL
10310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
10311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10312 if (SWIG_arg_fail(1)) SWIG_fail
;
10314 arg2
= wxString_in_helper(obj1
);
10315 if (arg2
== NULL
) SWIG_fail
;
10319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10320 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
10322 wxPyEndAllowThreads(__tstate
);
10323 if (PyErr_Occurred()) SWIG_fail
;
10326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10342 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10343 PyObject
*resultobj
;
10344 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10345 wxString
const &arg2_defvalue
= wxPyEmptyString
;
10346 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
10348 bool temp2
= false ;
10349 PyObject
* obj0
= 0 ;
10350 PyObject
* obj1
= 0 ;
10351 char *kwnames
[] = {
10352 (char *) "self",(char *) "file", NULL
10355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
10356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10357 if (SWIG_arg_fail(1)) SWIG_fail
;
10360 arg2
= wxString_in_helper(obj1
);
10361 if (arg2
== NULL
) SWIG_fail
;
10366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10367 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
10369 wxPyEndAllowThreads(__tstate
);
10370 if (PyErr_Occurred()) SWIG_fail
;
10373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10389 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10390 PyObject
*resultobj
;
10391 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10392 PyObject
* obj0
= 0 ;
10393 char *kwnames
[] = {
10394 (char *) "self", NULL
10397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
10398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10399 if (SWIG_arg_fail(1)) SWIG_fail
;
10401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10402 (arg1
)->MarkDirty();
10404 wxPyEndAllowThreads(__tstate
);
10405 if (PyErr_Occurred()) SWIG_fail
;
10407 Py_INCREF(Py_None
); resultobj
= Py_None
;
10414 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10415 PyObject
*resultobj
;
10416 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10417 PyObject
* obj0
= 0 ;
10418 char *kwnames
[] = {
10419 (char *) "self", NULL
10422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
10423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10424 if (SWIG_arg_fail(1)) SWIG_fail
;
10426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10427 (arg1
)->DiscardEdits();
10429 wxPyEndAllowThreads(__tstate
);
10430 if (PyErr_Occurred()) SWIG_fail
;
10432 Py_INCREF(Py_None
); resultobj
= Py_None
;
10439 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10440 PyObject
*resultobj
;
10441 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10442 unsigned long arg2
;
10443 PyObject
* obj0
= 0 ;
10444 PyObject
* obj1
= 0 ;
10445 char *kwnames
[] = {
10446 (char *) "self",(char *) "len", NULL
10449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
10450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10451 if (SWIG_arg_fail(1)) SWIG_fail
;
10453 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
10454 if (SWIG_arg_fail(2)) SWIG_fail
;
10457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10458 (arg1
)->SetMaxLength(arg2
);
10460 wxPyEndAllowThreads(__tstate
);
10461 if (PyErr_Occurred()) SWIG_fail
;
10463 Py_INCREF(Py_None
); resultobj
= Py_None
;
10470 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10471 PyObject
*resultobj
;
10472 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10473 wxString
*arg2
= 0 ;
10474 bool temp2
= false ;
10475 PyObject
* obj0
= 0 ;
10476 PyObject
* obj1
= 0 ;
10477 char *kwnames
[] = {
10478 (char *) "self",(char *) "text", NULL
10481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
10482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10483 if (SWIG_arg_fail(1)) SWIG_fail
;
10485 arg2
= wxString_in_helper(obj1
);
10486 if (arg2
== NULL
) SWIG_fail
;
10490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10491 (arg1
)->WriteText((wxString
const &)*arg2
);
10493 wxPyEndAllowThreads(__tstate
);
10494 if (PyErr_Occurred()) SWIG_fail
;
10496 Py_INCREF(Py_None
); resultobj
= Py_None
;
10511 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10512 PyObject
*resultobj
;
10513 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10514 wxString
*arg2
= 0 ;
10515 bool temp2
= false ;
10516 PyObject
* obj0
= 0 ;
10517 PyObject
* obj1
= 0 ;
10518 char *kwnames
[] = {
10519 (char *) "self",(char *) "text", NULL
10522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
10523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10524 if (SWIG_arg_fail(1)) SWIG_fail
;
10526 arg2
= wxString_in_helper(obj1
);
10527 if (arg2
== NULL
) SWIG_fail
;
10531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10532 (arg1
)->AppendText((wxString
const &)*arg2
);
10534 wxPyEndAllowThreads(__tstate
);
10535 if (PyErr_Occurred()) SWIG_fail
;
10537 Py_INCREF(Py_None
); resultobj
= Py_None
;
10552 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10553 PyObject
*resultobj
;
10554 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10555 wxKeyEvent
*arg2
= 0 ;
10557 PyObject
* obj0
= 0 ;
10558 PyObject
* obj1
= 0 ;
10559 char *kwnames
[] = {
10560 (char *) "self",(char *) "event", NULL
10563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
10564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10565 if (SWIG_arg_fail(1)) SWIG_fail
;
10567 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
10568 if (SWIG_arg_fail(2)) SWIG_fail
;
10569 if (arg2
== NULL
) {
10570 SWIG_null_ref("wxKeyEvent");
10572 if (SWIG_arg_fail(2)) SWIG_fail
;
10575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10576 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
10578 wxPyEndAllowThreads(__tstate
);
10579 if (PyErr_Occurred()) SWIG_fail
;
10582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10590 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10591 PyObject
*resultobj
;
10592 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10595 wxTextAttr
*arg4
= 0 ;
10597 PyObject
* obj0
= 0 ;
10598 PyObject
* obj1
= 0 ;
10599 PyObject
* obj2
= 0 ;
10600 PyObject
* obj3
= 0 ;
10601 char *kwnames
[] = {
10602 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
10605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10607 if (SWIG_arg_fail(1)) SWIG_fail
;
10609 arg2
= (long)(SWIG_As_long(obj1
));
10610 if (SWIG_arg_fail(2)) SWIG_fail
;
10613 arg3
= (long)(SWIG_As_long(obj2
));
10614 if (SWIG_arg_fail(3)) SWIG_fail
;
10617 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10618 if (SWIG_arg_fail(4)) SWIG_fail
;
10619 if (arg4
== NULL
) {
10620 SWIG_null_ref("wxTextAttr");
10622 if (SWIG_arg_fail(4)) SWIG_fail
;
10625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10626 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
10628 wxPyEndAllowThreads(__tstate
);
10629 if (PyErr_Occurred()) SWIG_fail
;
10632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10640 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10641 PyObject
*resultobj
;
10642 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10644 wxTextAttr
*arg3
= 0 ;
10646 PyObject
* obj0
= 0 ;
10647 PyObject
* obj1
= 0 ;
10648 PyObject
* obj2
= 0 ;
10649 char *kwnames
[] = {
10650 (char *) "self",(char *) "position",(char *) "style", NULL
10653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10655 if (SWIG_arg_fail(1)) SWIG_fail
;
10657 arg2
= (long)(SWIG_As_long(obj1
));
10658 if (SWIG_arg_fail(2)) SWIG_fail
;
10661 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10662 if (SWIG_arg_fail(3)) SWIG_fail
;
10663 if (arg3
== NULL
) {
10664 SWIG_null_ref("wxTextAttr");
10666 if (SWIG_arg_fail(3)) SWIG_fail
;
10669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10670 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
10672 wxPyEndAllowThreads(__tstate
);
10673 if (PyErr_Occurred()) SWIG_fail
;
10676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10684 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10685 PyObject
*resultobj
;
10686 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10687 wxTextAttr
*arg2
= 0 ;
10689 PyObject
* obj0
= 0 ;
10690 PyObject
* obj1
= 0 ;
10691 char *kwnames
[] = {
10692 (char *) "self",(char *) "style", NULL
10695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
10696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10697 if (SWIG_arg_fail(1)) SWIG_fail
;
10699 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10700 if (SWIG_arg_fail(2)) SWIG_fail
;
10701 if (arg2
== NULL
) {
10702 SWIG_null_ref("wxTextAttr");
10704 if (SWIG_arg_fail(2)) SWIG_fail
;
10707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10708 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
10710 wxPyEndAllowThreads(__tstate
);
10711 if (PyErr_Occurred()) SWIG_fail
;
10714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10722 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10723 PyObject
*resultobj
;
10724 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10725 wxTextAttr
*result
;
10726 PyObject
* obj0
= 0 ;
10727 char *kwnames
[] = {
10728 (char *) "self", NULL
10731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
10732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10733 if (SWIG_arg_fail(1)) SWIG_fail
;
10735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10737 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
10738 result
= (wxTextAttr
*) &_result_ref
;
10741 wxPyEndAllowThreads(__tstate
);
10742 if (PyErr_Occurred()) SWIG_fail
;
10744 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
10751 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10752 PyObject
*resultobj
;
10753 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10757 PyObject
* obj0
= 0 ;
10758 PyObject
* obj1
= 0 ;
10759 PyObject
* obj2
= 0 ;
10760 char *kwnames
[] = {
10761 (char *) "self",(char *) "x",(char *) "y", NULL
10764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10766 if (SWIG_arg_fail(1)) SWIG_fail
;
10768 arg2
= (long)(SWIG_As_long(obj1
));
10769 if (SWIG_arg_fail(2)) SWIG_fail
;
10772 arg3
= (long)(SWIG_As_long(obj2
));
10773 if (SWIG_arg_fail(3)) SWIG_fail
;
10776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10777 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
10779 wxPyEndAllowThreads(__tstate
);
10780 if (PyErr_Occurred()) SWIG_fail
;
10783 resultobj
= SWIG_From_long((long)(result
));
10791 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10792 PyObject
*resultobj
;
10793 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10795 long *arg3
= (long *) 0 ;
10796 long *arg4
= (long *) 0 ;
10801 PyObject
* obj0
= 0 ;
10802 PyObject
* obj1
= 0 ;
10803 char *kwnames
[] = {
10804 (char *) "self",(char *) "pos", NULL
10807 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10808 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
10810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10811 if (SWIG_arg_fail(1)) SWIG_fail
;
10813 arg2
= (long)(SWIG_As_long(obj1
));
10814 if (SWIG_arg_fail(2)) SWIG_fail
;
10817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10818 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
10820 wxPyEndAllowThreads(__tstate
);
10821 if (PyErr_Occurred()) SWIG_fail
;
10823 Py_INCREF(Py_None
); resultobj
= Py_None
;
10824 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10825 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10826 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10827 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
10834 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10835 PyObject
*resultobj
;
10836 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10838 PyObject
* obj0
= 0 ;
10839 PyObject
* obj1
= 0 ;
10840 char *kwnames
[] = {
10841 (char *) "self",(char *) "pos", NULL
10844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10846 if (SWIG_arg_fail(1)) SWIG_fail
;
10848 arg2
= (long)(SWIG_As_long(obj1
));
10849 if (SWIG_arg_fail(2)) SWIG_fail
;
10852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10853 (arg1
)->ShowPosition(arg2
);
10855 wxPyEndAllowThreads(__tstate
);
10856 if (PyErr_Occurred()) SWIG_fail
;
10858 Py_INCREF(Py_None
); resultobj
= Py_None
;
10865 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10866 PyObject
*resultobj
;
10867 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10868 wxPoint
*arg2
= 0 ;
10869 long *arg3
= (long *) 0 ;
10870 long *arg4
= (long *) 0 ;
10871 wxTextCtrlHitTestResult result
;
10877 PyObject
* obj0
= 0 ;
10878 PyObject
* obj1
= 0 ;
10879 char *kwnames
[] = {
10880 (char *) "self",(char *) "pt", NULL
10883 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10884 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
10886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10887 if (SWIG_arg_fail(1)) SWIG_fail
;
10890 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10894 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
10896 wxPyEndAllowThreads(__tstate
);
10897 if (PyErr_Occurred()) SWIG_fail
;
10899 resultobj
= SWIG_From_int((result
));
10900 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10901 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10902 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10903 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
10910 static PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10911 PyObject
*resultobj
;
10912 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10913 wxPoint
*arg2
= 0 ;
10914 long *arg3
= (long *) 0 ;
10915 wxTextCtrlHitTestResult result
;
10919 PyObject
* obj0
= 0 ;
10920 PyObject
* obj1
= 0 ;
10921 char *kwnames
[] = {
10922 (char *) "self",(char *) "pt", NULL
10925 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) goto fail
;
10927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10928 if (SWIG_arg_fail(1)) SWIG_fail
;
10931 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10935 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
10937 wxPyEndAllowThreads(__tstate
);
10938 if (PyErr_Occurred()) SWIG_fail
;
10940 resultobj
= SWIG_From_int((result
));
10941 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10942 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10949 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10950 PyObject
*resultobj
;
10951 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10952 PyObject
* obj0
= 0 ;
10953 char *kwnames
[] = {
10954 (char *) "self", NULL
10957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
10958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10959 if (SWIG_arg_fail(1)) SWIG_fail
;
10961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10964 wxPyEndAllowThreads(__tstate
);
10965 if (PyErr_Occurred()) SWIG_fail
;
10967 Py_INCREF(Py_None
); resultobj
= Py_None
;
10974 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10975 PyObject
*resultobj
;
10976 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10977 PyObject
* obj0
= 0 ;
10978 char *kwnames
[] = {
10979 (char *) "self", NULL
10982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
10983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10984 if (SWIG_arg_fail(1)) SWIG_fail
;
10986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10989 wxPyEndAllowThreads(__tstate
);
10990 if (PyErr_Occurred()) SWIG_fail
;
10992 Py_INCREF(Py_None
); resultobj
= Py_None
;
10999 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11000 PyObject
*resultobj
;
11001 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11002 PyObject
* obj0
= 0 ;
11003 char *kwnames
[] = {
11004 (char *) "self", NULL
11007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
11008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11009 if (SWIG_arg_fail(1)) SWIG_fail
;
11011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11014 wxPyEndAllowThreads(__tstate
);
11015 if (PyErr_Occurred()) SWIG_fail
;
11017 Py_INCREF(Py_None
); resultobj
= Py_None
;
11024 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11025 PyObject
*resultobj
;
11026 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11028 PyObject
* obj0
= 0 ;
11029 char *kwnames
[] = {
11030 (char *) "self", NULL
11033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
11034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11035 if (SWIG_arg_fail(1)) SWIG_fail
;
11037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11038 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
11040 wxPyEndAllowThreads(__tstate
);
11041 if (PyErr_Occurred()) SWIG_fail
;
11044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11052 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11053 PyObject
*resultobj
;
11054 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11056 PyObject
* obj0
= 0 ;
11057 char *kwnames
[] = {
11058 (char *) "self", NULL
11061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
11062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11063 if (SWIG_arg_fail(1)) SWIG_fail
;
11065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11066 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
11068 wxPyEndAllowThreads(__tstate
);
11069 if (PyErr_Occurred()) SWIG_fail
;
11072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11080 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11081 PyObject
*resultobj
;
11082 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11084 PyObject
* obj0
= 0 ;
11085 char *kwnames
[] = {
11086 (char *) "self", NULL
11089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
11090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11091 if (SWIG_arg_fail(1)) SWIG_fail
;
11093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11094 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
11096 wxPyEndAllowThreads(__tstate
);
11097 if (PyErr_Occurred()) SWIG_fail
;
11100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11108 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11109 PyObject
*resultobj
;
11110 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11111 PyObject
* obj0
= 0 ;
11112 char *kwnames
[] = {
11113 (char *) "self", NULL
11116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
11117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11118 if (SWIG_arg_fail(1)) SWIG_fail
;
11120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11123 wxPyEndAllowThreads(__tstate
);
11124 if (PyErr_Occurred()) SWIG_fail
;
11126 Py_INCREF(Py_None
); resultobj
= Py_None
;
11133 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11134 PyObject
*resultobj
;
11135 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11136 PyObject
* obj0
= 0 ;
11137 char *kwnames
[] = {
11138 (char *) "self", NULL
11141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
11142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11143 if (SWIG_arg_fail(1)) SWIG_fail
;
11145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11148 wxPyEndAllowThreads(__tstate
);
11149 if (PyErr_Occurred()) SWIG_fail
;
11151 Py_INCREF(Py_None
); resultobj
= Py_None
;
11158 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11159 PyObject
*resultobj
;
11160 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11162 PyObject
* obj0
= 0 ;
11163 char *kwnames
[] = {
11164 (char *) "self", NULL
11167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
11168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11169 if (SWIG_arg_fail(1)) SWIG_fail
;
11171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11172 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
11174 wxPyEndAllowThreads(__tstate
);
11175 if (PyErr_Occurred()) SWIG_fail
;
11178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11186 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11187 PyObject
*resultobj
;
11188 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11190 PyObject
* obj0
= 0 ;
11191 char *kwnames
[] = {
11192 (char *) "self", NULL
11195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
11196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11197 if (SWIG_arg_fail(1)) SWIG_fail
;
11199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11200 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
11202 wxPyEndAllowThreads(__tstate
);
11203 if (PyErr_Occurred()) SWIG_fail
;
11206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11214 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11215 PyObject
*resultobj
;
11216 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11218 PyObject
* obj0
= 0 ;
11219 PyObject
* obj1
= 0 ;
11220 char *kwnames
[] = {
11221 (char *) "self",(char *) "pos", NULL
11224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11226 if (SWIG_arg_fail(1)) SWIG_fail
;
11228 arg2
= (long)(SWIG_As_long(obj1
));
11229 if (SWIG_arg_fail(2)) SWIG_fail
;
11232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11233 (arg1
)->SetInsertionPoint(arg2
);
11235 wxPyEndAllowThreads(__tstate
);
11236 if (PyErr_Occurred()) SWIG_fail
;
11238 Py_INCREF(Py_None
); resultobj
= Py_None
;
11245 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11246 PyObject
*resultobj
;
11247 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11248 PyObject
* obj0
= 0 ;
11249 char *kwnames
[] = {
11250 (char *) "self", NULL
11253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
11254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11255 if (SWIG_arg_fail(1)) SWIG_fail
;
11257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11258 (arg1
)->SetInsertionPointEnd();
11260 wxPyEndAllowThreads(__tstate
);
11261 if (PyErr_Occurred()) SWIG_fail
;
11263 Py_INCREF(Py_None
); resultobj
= Py_None
;
11270 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11271 PyObject
*resultobj
;
11272 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11274 PyObject
* obj0
= 0 ;
11275 char *kwnames
[] = {
11276 (char *) "self", NULL
11279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
11280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11281 if (SWIG_arg_fail(1)) SWIG_fail
;
11283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11284 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
11286 wxPyEndAllowThreads(__tstate
);
11287 if (PyErr_Occurred()) SWIG_fail
;
11290 resultobj
= SWIG_From_long((long)(result
));
11298 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11299 PyObject
*resultobj
;
11300 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11302 PyObject
* obj0
= 0 ;
11303 char *kwnames
[] = {
11304 (char *) "self", NULL
11307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
11308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11309 if (SWIG_arg_fail(1)) SWIG_fail
;
11311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11312 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
11314 wxPyEndAllowThreads(__tstate
);
11315 if (PyErr_Occurred()) SWIG_fail
;
11318 resultobj
= SWIG_From_long((long)(result
));
11326 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11327 PyObject
*resultobj
;
11328 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11331 PyObject
* obj0
= 0 ;
11332 PyObject
* obj1
= 0 ;
11333 PyObject
* obj2
= 0 ;
11334 char *kwnames
[] = {
11335 (char *) "self",(char *) "from",(char *) "to", NULL
11338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) 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 arg2
= (long)(SWIG_As_long(obj1
));
11343 if (SWIG_arg_fail(2)) SWIG_fail
;
11346 arg3
= (long)(SWIG_As_long(obj2
));
11347 if (SWIG_arg_fail(3)) SWIG_fail
;
11350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11351 (arg1
)->SetSelection(arg2
,arg3
);
11353 wxPyEndAllowThreads(__tstate
);
11354 if (PyErr_Occurred()) SWIG_fail
;
11356 Py_INCREF(Py_None
); resultobj
= Py_None
;
11363 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11364 PyObject
*resultobj
;
11365 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11366 PyObject
* obj0
= 0 ;
11367 char *kwnames
[] = {
11368 (char *) "self", NULL
11371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
11372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11373 if (SWIG_arg_fail(1)) SWIG_fail
;
11375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11376 (arg1
)->SelectAll();
11378 wxPyEndAllowThreads(__tstate
);
11379 if (PyErr_Occurred()) SWIG_fail
;
11381 Py_INCREF(Py_None
); resultobj
= Py_None
;
11388 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11389 PyObject
*resultobj
;
11390 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11392 PyObject
* obj0
= 0 ;
11393 PyObject
* obj1
= 0 ;
11394 char *kwnames
[] = {
11395 (char *) "self",(char *) "editable", NULL
11398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
11399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11400 if (SWIG_arg_fail(1)) SWIG_fail
;
11402 arg2
= (bool)(SWIG_As_bool(obj1
));
11403 if (SWIG_arg_fail(2)) SWIG_fail
;
11406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11407 (arg1
)->SetEditable(arg2
);
11409 wxPyEndAllowThreads(__tstate
);
11410 if (PyErr_Occurred()) SWIG_fail
;
11412 Py_INCREF(Py_None
); resultobj
= Py_None
;
11419 static PyObject
*_wrap_TextCtrl_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11420 PyObject
*resultobj
;
11421 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11422 wxString
*arg2
= 0 ;
11423 bool temp2
= false ;
11424 PyObject
* obj0
= 0 ;
11425 PyObject
* obj1
= 0 ;
11426 char *kwnames
[] = {
11427 (char *) "self",(char *) "text", NULL
11430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
11431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11432 if (SWIG_arg_fail(1)) SWIG_fail
;
11434 arg2
= wxString_in_helper(obj1
);
11435 if (arg2
== NULL
) SWIG_fail
;
11439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11440 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
11442 wxPyEndAllowThreads(__tstate
);
11443 if (PyErr_Occurred()) SWIG_fail
;
11445 Py_INCREF(Py_None
); resultobj
= Py_None
;
11460 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11461 PyObject
*resultobj
;
11462 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11466 PyObject
* obj0
= 0 ;
11467 PyObject
* obj1
= 0 ;
11468 PyObject
* obj2
= 0 ;
11469 char *kwnames
[] = {
11470 (char *) "self",(char *) "from",(char *) "to", NULL
11473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11475 if (SWIG_arg_fail(1)) SWIG_fail
;
11477 arg2
= (long)(SWIG_As_long(obj1
));
11478 if (SWIG_arg_fail(2)) SWIG_fail
;
11481 arg3
= (long)(SWIG_As_long(obj2
));
11482 if (SWIG_arg_fail(3)) SWIG_fail
;
11485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11486 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
11488 wxPyEndAllowThreads(__tstate
);
11489 if (PyErr_Occurred()) SWIG_fail
;
11493 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11495 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11504 static PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11505 PyObject
*resultobj
;
11506 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
11507 wxVisualAttributes result
;
11508 PyObject
* obj0
= 0 ;
11509 char *kwnames
[] = {
11510 (char *) "variant", NULL
11513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11516 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
11517 if (SWIG_arg_fail(1)) SWIG_fail
;
11521 if (!wxPyCheckForApp()) SWIG_fail
;
11522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11523 result
= wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11525 wxPyEndAllowThreads(__tstate
);
11526 if (PyErr_Occurred()) SWIG_fail
;
11529 wxVisualAttributes
* resultptr
;
11530 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
11531 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11539 static PyObject
* TextCtrl_swigregister(PyObject
*, PyObject
*args
) {
11541 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11542 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
11544 return Py_BuildValue((char *)"");
11546 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11547 PyObject
*resultobj
;
11549 wxMouseEvent
*arg2
= 0 ;
11552 wxTextUrlEvent
*result
;
11553 PyObject
* obj0
= 0 ;
11554 PyObject
* obj1
= 0 ;
11555 PyObject
* obj2
= 0 ;
11556 PyObject
* obj3
= 0 ;
11557 char *kwnames
[] = {
11558 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
11561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11563 arg1
= (int)(SWIG_As_int(obj0
));
11564 if (SWIG_arg_fail(1)) SWIG_fail
;
11567 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
11568 if (SWIG_arg_fail(2)) SWIG_fail
;
11569 if (arg2
== NULL
) {
11570 SWIG_null_ref("wxMouseEvent");
11572 if (SWIG_arg_fail(2)) SWIG_fail
;
11575 arg3
= (long)(SWIG_As_long(obj2
));
11576 if (SWIG_arg_fail(3)) SWIG_fail
;
11579 arg4
= (long)(SWIG_As_long(obj3
));
11580 if (SWIG_arg_fail(4)) SWIG_fail
;
11583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11584 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
11586 wxPyEndAllowThreads(__tstate
);
11587 if (PyErr_Occurred()) SWIG_fail
;
11589 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
11596 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11597 PyObject
*resultobj
;
11598 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11599 wxMouseEvent
*result
;
11600 PyObject
* obj0
= 0 ;
11601 char *kwnames
[] = {
11602 (char *) "self", NULL
11605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
11606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11607 if (SWIG_arg_fail(1)) SWIG_fail
;
11609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11611 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
11612 result
= (wxMouseEvent
*) &_result_ref
;
11615 wxPyEndAllowThreads(__tstate
);
11616 if (PyErr_Occurred()) SWIG_fail
;
11618 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
11625 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11626 PyObject
*resultobj
;
11627 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11629 PyObject
* obj0
= 0 ;
11630 char *kwnames
[] = {
11631 (char *) "self", NULL
11634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
11635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11636 if (SWIG_arg_fail(1)) SWIG_fail
;
11638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11639 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
11641 wxPyEndAllowThreads(__tstate
);
11642 if (PyErr_Occurred()) SWIG_fail
;
11645 resultobj
= SWIG_From_long((long)(result
));
11653 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11654 PyObject
*resultobj
;
11655 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11657 PyObject
* obj0
= 0 ;
11658 char *kwnames
[] = {
11659 (char *) "self", NULL
11662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
11663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11664 if (SWIG_arg_fail(1)) SWIG_fail
;
11666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11667 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
11669 wxPyEndAllowThreads(__tstate
);
11670 if (PyErr_Occurred()) SWIG_fail
;
11673 resultobj
= SWIG_From_long((long)(result
));
11681 static PyObject
* TextUrlEvent_swigregister(PyObject
*, PyObject
*args
) {
11683 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11684 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
11686 return Py_BuildValue((char *)"");
11688 static int _wrap_ScrollBarNameStr_set(PyObject
*) {
11689 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
11694 static PyObject
*_wrap_ScrollBarNameStr_get(void) {
11699 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
11701 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
11708 static PyObject
*_wrap_new_ScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11709 PyObject
*resultobj
;
11710 wxWindow
*arg1
= (wxWindow
*) 0 ;
11711 int arg2
= (int) -1 ;
11712 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11713 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11714 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11715 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11716 long arg5
= (long) wxSB_HORIZONTAL
;
11717 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
11718 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
11719 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
11720 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11721 wxScrollBar
*result
;
11724 bool temp7
= false ;
11725 PyObject
* obj0
= 0 ;
11726 PyObject
* obj1
= 0 ;
11727 PyObject
* obj2
= 0 ;
11728 PyObject
* obj3
= 0 ;
11729 PyObject
* obj4
= 0 ;
11730 PyObject
* obj5
= 0 ;
11731 PyObject
* obj6
= 0 ;
11732 char *kwnames
[] = {
11733 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11738 if (SWIG_arg_fail(1)) SWIG_fail
;
11741 arg2
= (int)(SWIG_As_int(obj1
));
11742 if (SWIG_arg_fail(2)) SWIG_fail
;
11748 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11754 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11759 arg5
= (long)(SWIG_As_long(obj4
));
11760 if (SWIG_arg_fail(5)) SWIG_fail
;
11765 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
11766 if (SWIG_arg_fail(6)) SWIG_fail
;
11767 if (arg6
== NULL
) {
11768 SWIG_null_ref("wxValidator");
11770 if (SWIG_arg_fail(6)) SWIG_fail
;
11775 arg7
= wxString_in_helper(obj6
);
11776 if (arg7
== NULL
) SWIG_fail
;
11781 if (!wxPyCheckForApp()) SWIG_fail
;
11782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11783 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
11785 wxPyEndAllowThreads(__tstate
);
11786 if (PyErr_Occurred()) SWIG_fail
;
11788 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
11803 static PyObject
*_wrap_new_PreScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11804 PyObject
*resultobj
;
11805 wxScrollBar
*result
;
11806 char *kwnames
[] = {
11810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
11812 if (!wxPyCheckForApp()) SWIG_fail
;
11813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11814 result
= (wxScrollBar
*)new wxScrollBar();
11816 wxPyEndAllowThreads(__tstate
);
11817 if (PyErr_Occurred()) SWIG_fail
;
11819 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
11826 static PyObject
*_wrap_ScrollBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11827 PyObject
*resultobj
;
11828 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
11829 wxWindow
*arg2
= (wxWindow
*) 0 ;
11830 int arg3
= (int) -1 ;
11831 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11832 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11833 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11834 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11835 long arg6
= (long) wxSB_HORIZONTAL
;
11836 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11837 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11838 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
11839 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11843 bool temp8
= false ;
11844 PyObject
* obj0
= 0 ;
11845 PyObject
* obj1
= 0 ;
11846 PyObject
* obj2
= 0 ;
11847 PyObject
* obj3
= 0 ;
11848 PyObject
* obj4
= 0 ;
11849 PyObject
* obj5
= 0 ;
11850 PyObject
* obj6
= 0 ;
11851 PyObject
* obj7
= 0 ;
11852 char *kwnames
[] = {
11853 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
11858 if (SWIG_arg_fail(1)) SWIG_fail
;
11859 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11860 if (SWIG_arg_fail(2)) SWIG_fail
;
11863 arg3
= (int)(SWIG_As_int(obj2
));
11864 if (SWIG_arg_fail(3)) SWIG_fail
;
11870 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11876 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11881 arg6
= (long)(SWIG_As_long(obj5
));
11882 if (SWIG_arg_fail(6)) SWIG_fail
;
11887 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
11888 if (SWIG_arg_fail(7)) SWIG_fail
;
11889 if (arg7
== NULL
) {
11890 SWIG_null_ref("wxValidator");
11892 if (SWIG_arg_fail(7)) SWIG_fail
;
11897 arg8
= wxString_in_helper(obj7
);
11898 if (arg8
== NULL
) SWIG_fail
;
11903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11904 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11906 wxPyEndAllowThreads(__tstate
);
11907 if (PyErr_Occurred()) SWIG_fail
;
11910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11926 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11927 PyObject
*resultobj
;
11928 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
11930 PyObject
* obj0
= 0 ;
11931 char *kwnames
[] = {
11932 (char *) "self", NULL
11935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
11936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
11937 if (SWIG_arg_fail(1)) SWIG_fail
;
11939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11940 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
11942 wxPyEndAllowThreads(__tstate
);
11943 if (PyErr_Occurred()) SWIG_fail
;
11946 resultobj
= SWIG_From_int((int)(result
));
11954 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11955 PyObject
*resultobj
;
11956 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
11958 PyObject
* obj0
= 0 ;
11959 char *kwnames
[] = {
11960 (char *) "self", NULL
11963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
11964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
11965 if (SWIG_arg_fail(1)) SWIG_fail
;
11967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11968 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
11970 wxPyEndAllowThreads(__tstate
);
11971 if (PyErr_Occurred()) SWIG_fail
;
11974 resultobj
= SWIG_From_int((int)(result
));
11982 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11983 PyObject
*resultobj
;
11984 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
11986 PyObject
* obj0
= 0 ;
11987 char *kwnames
[] = {
11988 (char *) "self", NULL
11991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
11992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
11993 if (SWIG_arg_fail(1)) SWIG_fail
;
11995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11996 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
11998 wxPyEndAllowThreads(__tstate
);
11999 if (PyErr_Occurred()) SWIG_fail
;
12002 resultobj
= SWIG_From_int((int)(result
));
12010 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12011 PyObject
*resultobj
;
12012 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12014 PyObject
* obj0
= 0 ;
12015 char *kwnames
[] = {
12016 (char *) "self", NULL
12019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
12020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12021 if (SWIG_arg_fail(1)) SWIG_fail
;
12023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12024 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
12026 wxPyEndAllowThreads(__tstate
);
12027 if (PyErr_Occurred()) SWIG_fail
;
12030 resultobj
= SWIG_From_int((int)(result
));
12038 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12039 PyObject
*resultobj
;
12040 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12042 PyObject
* obj0
= 0 ;
12043 char *kwnames
[] = {
12044 (char *) "self", NULL
12047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
12048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12049 if (SWIG_arg_fail(1)) SWIG_fail
;
12051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12052 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
12054 wxPyEndAllowThreads(__tstate
);
12055 if (PyErr_Occurred()) SWIG_fail
;
12058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12066 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12067 PyObject
*resultobj
;
12068 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12070 PyObject
* obj0
= 0 ;
12071 PyObject
* obj1
= 0 ;
12072 char *kwnames
[] = {
12073 (char *) "self",(char *) "viewStart", NULL
12076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
12077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12078 if (SWIG_arg_fail(1)) SWIG_fail
;
12080 arg2
= (int)(SWIG_As_int(obj1
));
12081 if (SWIG_arg_fail(2)) SWIG_fail
;
12084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12085 (arg1
)->SetThumbPosition(arg2
);
12087 wxPyEndAllowThreads(__tstate
);
12088 if (PyErr_Occurred()) SWIG_fail
;
12090 Py_INCREF(Py_None
); resultobj
= Py_None
;
12097 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12098 PyObject
*resultobj
;
12099 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12104 bool arg6
= (bool) true ;
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 char *kwnames
[] = {
12112 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
12115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12117 if (SWIG_arg_fail(1)) SWIG_fail
;
12119 arg2
= (int)(SWIG_As_int(obj1
));
12120 if (SWIG_arg_fail(2)) SWIG_fail
;
12123 arg3
= (int)(SWIG_As_int(obj2
));
12124 if (SWIG_arg_fail(3)) SWIG_fail
;
12127 arg4
= (int)(SWIG_As_int(obj3
));
12128 if (SWIG_arg_fail(4)) SWIG_fail
;
12131 arg5
= (int)(SWIG_As_int(obj4
));
12132 if (SWIG_arg_fail(5)) SWIG_fail
;
12136 arg6
= (bool)(SWIG_As_bool(obj5
));
12137 if (SWIG_arg_fail(6)) SWIG_fail
;
12141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12142 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
12144 wxPyEndAllowThreads(__tstate
);
12145 if (PyErr_Occurred()) SWIG_fail
;
12147 Py_INCREF(Py_None
); resultobj
= Py_None
;
12154 static PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12155 PyObject
*resultobj
;
12156 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
12157 wxVisualAttributes result
;
12158 PyObject
* obj0
= 0 ;
12159 char *kwnames
[] = {
12160 (char *) "variant", NULL
12163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12166 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
12167 if (SWIG_arg_fail(1)) SWIG_fail
;
12171 if (!wxPyCheckForApp()) SWIG_fail
;
12172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12173 result
= wxScrollBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12175 wxPyEndAllowThreads(__tstate
);
12176 if (PyErr_Occurred()) SWIG_fail
;
12179 wxVisualAttributes
* resultptr
;
12180 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
12181 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12189 static PyObject
* ScrollBar_swigregister(PyObject
*, PyObject
*args
) {
12191 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12192 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
12194 return Py_BuildValue((char *)"");
12196 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*) {
12197 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
12202 static PyObject
*_wrap_SPIN_BUTTON_NAME_get(void) {
12207 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
12209 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
12216 static int _wrap_SpinCtrlNameStr_set(PyObject
*) {
12217 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
12222 static PyObject
*_wrap_SpinCtrlNameStr_get(void) {
12227 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
12229 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
12236 static PyObject
*_wrap_new_SpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12237 PyObject
*resultobj
;
12238 wxWindow
*arg1
= (wxWindow
*) 0 ;
12239 int arg2
= (int) -1 ;
12240 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12241 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12242 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12243 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12244 long arg5
= (long) wxSP_HORIZONTAL
;
12245 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
12246 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12247 wxSpinButton
*result
;
12250 bool temp6
= false ;
12251 PyObject
* obj0
= 0 ;
12252 PyObject
* obj1
= 0 ;
12253 PyObject
* obj2
= 0 ;
12254 PyObject
* obj3
= 0 ;
12255 PyObject
* obj4
= 0 ;
12256 PyObject
* obj5
= 0 ;
12257 char *kwnames
[] = {
12258 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12263 if (SWIG_arg_fail(1)) SWIG_fail
;
12266 arg2
= (int)(SWIG_As_int(obj1
));
12267 if (SWIG_arg_fail(2)) SWIG_fail
;
12273 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12279 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12284 arg5
= (long)(SWIG_As_long(obj4
));
12285 if (SWIG_arg_fail(5)) SWIG_fail
;
12290 arg6
= wxString_in_helper(obj5
);
12291 if (arg6
== NULL
) SWIG_fail
;
12296 if (!wxPyCheckForApp()) SWIG_fail
;
12297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12298 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12300 wxPyEndAllowThreads(__tstate
);
12301 if (PyErr_Occurred()) SWIG_fail
;
12303 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
12318 static PyObject
*_wrap_new_PreSpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12319 PyObject
*resultobj
;
12320 wxSpinButton
*result
;
12321 char *kwnames
[] = {
12325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
12327 if (!wxPyCheckForApp()) SWIG_fail
;
12328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12329 result
= (wxSpinButton
*)new wxSpinButton();
12331 wxPyEndAllowThreads(__tstate
);
12332 if (PyErr_Occurred()) SWIG_fail
;
12334 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
12341 static PyObject
*_wrap_SpinButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12342 PyObject
*resultobj
;
12343 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12344 wxWindow
*arg2
= (wxWindow
*) 0 ;
12345 int arg3
= (int) -1 ;
12346 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12347 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12348 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12349 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12350 long arg6
= (long) wxSP_HORIZONTAL
;
12351 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
12352 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12356 bool temp7
= false ;
12357 PyObject
* obj0
= 0 ;
12358 PyObject
* obj1
= 0 ;
12359 PyObject
* obj2
= 0 ;
12360 PyObject
* obj3
= 0 ;
12361 PyObject
* obj4
= 0 ;
12362 PyObject
* obj5
= 0 ;
12363 PyObject
* obj6
= 0 ;
12364 char *kwnames
[] = {
12365 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12370 if (SWIG_arg_fail(1)) SWIG_fail
;
12371 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12372 if (SWIG_arg_fail(2)) SWIG_fail
;
12375 arg3
= (int)(SWIG_As_int(obj2
));
12376 if (SWIG_arg_fail(3)) SWIG_fail
;
12382 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12388 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12393 arg6
= (long)(SWIG_As_long(obj5
));
12394 if (SWIG_arg_fail(6)) SWIG_fail
;
12399 arg7
= wxString_in_helper(obj6
);
12400 if (arg7
== NULL
) SWIG_fail
;
12405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12406 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12408 wxPyEndAllowThreads(__tstate
);
12409 if (PyErr_Occurred()) SWIG_fail
;
12412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12428 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12429 PyObject
*resultobj
;
12430 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12432 PyObject
* obj0
= 0 ;
12433 char *kwnames
[] = {
12434 (char *) "self", NULL
12437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
12438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12439 if (SWIG_arg_fail(1)) SWIG_fail
;
12441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12442 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
12444 wxPyEndAllowThreads(__tstate
);
12445 if (PyErr_Occurred()) SWIG_fail
;
12448 resultobj
= SWIG_From_int((int)(result
));
12456 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12457 PyObject
*resultobj
;
12458 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12460 PyObject
* obj0
= 0 ;
12461 char *kwnames
[] = {
12462 (char *) "self", NULL
12465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
12466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12467 if (SWIG_arg_fail(1)) SWIG_fail
;
12469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12470 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
12472 wxPyEndAllowThreads(__tstate
);
12473 if (PyErr_Occurred()) SWIG_fail
;
12476 resultobj
= SWIG_From_int((int)(result
));
12484 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12485 PyObject
*resultobj
;
12486 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12488 PyObject
* obj0
= 0 ;
12489 char *kwnames
[] = {
12490 (char *) "self", NULL
12493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
12494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12495 if (SWIG_arg_fail(1)) SWIG_fail
;
12497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12498 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
12500 wxPyEndAllowThreads(__tstate
);
12501 if (PyErr_Occurred()) SWIG_fail
;
12504 resultobj
= SWIG_From_int((int)(result
));
12512 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12513 PyObject
*resultobj
;
12514 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12516 PyObject
* obj0
= 0 ;
12517 PyObject
* obj1
= 0 ;
12518 char *kwnames
[] = {
12519 (char *) "self",(char *) "val", NULL
12522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12524 if (SWIG_arg_fail(1)) SWIG_fail
;
12526 arg2
= (int)(SWIG_As_int(obj1
));
12527 if (SWIG_arg_fail(2)) SWIG_fail
;
12530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12531 (arg1
)->SetValue(arg2
);
12533 wxPyEndAllowThreads(__tstate
);
12534 if (PyErr_Occurred()) SWIG_fail
;
12536 Py_INCREF(Py_None
); resultobj
= Py_None
;
12543 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12544 PyObject
*resultobj
;
12545 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12547 PyObject
* obj0
= 0 ;
12548 PyObject
* obj1
= 0 ;
12549 char *kwnames
[] = {
12550 (char *) "self",(char *) "minVal", NULL
12553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
12554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12555 if (SWIG_arg_fail(1)) SWIG_fail
;
12557 arg2
= (int)(SWIG_As_int(obj1
));
12558 if (SWIG_arg_fail(2)) SWIG_fail
;
12561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12562 (arg1
)->SetMin(arg2
);
12564 wxPyEndAllowThreads(__tstate
);
12565 if (PyErr_Occurred()) SWIG_fail
;
12567 Py_INCREF(Py_None
); resultobj
= Py_None
;
12574 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12575 PyObject
*resultobj
;
12576 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12578 PyObject
* obj0
= 0 ;
12579 PyObject
* obj1
= 0 ;
12580 char *kwnames
[] = {
12581 (char *) "self",(char *) "maxVal", NULL
12584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
12585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12586 if (SWIG_arg_fail(1)) SWIG_fail
;
12588 arg2
= (int)(SWIG_As_int(obj1
));
12589 if (SWIG_arg_fail(2)) SWIG_fail
;
12592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12593 (arg1
)->SetMax(arg2
);
12595 wxPyEndAllowThreads(__tstate
);
12596 if (PyErr_Occurred()) SWIG_fail
;
12598 Py_INCREF(Py_None
); resultobj
= Py_None
;
12605 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12606 PyObject
*resultobj
;
12607 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12610 PyObject
* obj0
= 0 ;
12611 PyObject
* obj1
= 0 ;
12612 PyObject
* obj2
= 0 ;
12613 char *kwnames
[] = {
12614 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
12617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12619 if (SWIG_arg_fail(1)) SWIG_fail
;
12621 arg2
= (int)(SWIG_As_int(obj1
));
12622 if (SWIG_arg_fail(2)) SWIG_fail
;
12625 arg3
= (int)(SWIG_As_int(obj2
));
12626 if (SWIG_arg_fail(3)) SWIG_fail
;
12629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12630 (arg1
)->SetRange(arg2
,arg3
);
12632 wxPyEndAllowThreads(__tstate
);
12633 if (PyErr_Occurred()) SWIG_fail
;
12635 Py_INCREF(Py_None
); resultobj
= Py_None
;
12642 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12643 PyObject
*resultobj
;
12644 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12646 PyObject
* obj0
= 0 ;
12647 char *kwnames
[] = {
12648 (char *) "self", NULL
12651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
12652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12653 if (SWIG_arg_fail(1)) SWIG_fail
;
12655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12656 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
12658 wxPyEndAllowThreads(__tstate
);
12659 if (PyErr_Occurred()) SWIG_fail
;
12662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12670 static PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12671 PyObject
*resultobj
;
12672 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
12673 wxVisualAttributes result
;
12674 PyObject
* obj0
= 0 ;
12675 char *kwnames
[] = {
12676 (char *) "variant", NULL
12679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12682 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
12683 if (SWIG_arg_fail(1)) SWIG_fail
;
12687 if (!wxPyCheckForApp()) SWIG_fail
;
12688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12689 result
= wxSpinButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12691 wxPyEndAllowThreads(__tstate
);
12692 if (PyErr_Occurred()) SWIG_fail
;
12695 wxVisualAttributes
* resultptr
;
12696 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
12697 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12705 static PyObject
* SpinButton_swigregister(PyObject
*, PyObject
*args
) {
12707 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12708 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
12710 return Py_BuildValue((char *)"");
12712 static PyObject
*_wrap_new_SpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12713 PyObject
*resultobj
;
12714 wxWindow
*arg1
= (wxWindow
*) 0 ;
12715 int arg2
= (int) -1 ;
12716 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12717 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12718 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12719 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12720 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12721 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12722 long arg6
= (long) wxSP_ARROW_KEYS
;
12723 int arg7
= (int) 0 ;
12724 int arg8
= (int) 100 ;
12725 int arg9
= (int) 0 ;
12726 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
12727 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12728 wxSpinCtrl
*result
;
12729 bool temp3
= false ;
12732 bool temp10
= false ;
12733 PyObject
* obj0
= 0 ;
12734 PyObject
* obj1
= 0 ;
12735 PyObject
* obj2
= 0 ;
12736 PyObject
* obj3
= 0 ;
12737 PyObject
* obj4
= 0 ;
12738 PyObject
* obj5
= 0 ;
12739 PyObject
* obj6
= 0 ;
12740 PyObject
* obj7
= 0 ;
12741 PyObject
* obj8
= 0 ;
12742 PyObject
* obj9
= 0 ;
12743 char *kwnames
[] = {
12744 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
12747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12749 if (SWIG_arg_fail(1)) SWIG_fail
;
12752 arg2
= (int)(SWIG_As_int(obj1
));
12753 if (SWIG_arg_fail(2)) SWIG_fail
;
12758 arg3
= wxString_in_helper(obj2
);
12759 if (arg3
== NULL
) SWIG_fail
;
12766 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12772 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12777 arg6
= (long)(SWIG_As_long(obj5
));
12778 if (SWIG_arg_fail(6)) SWIG_fail
;
12783 arg7
= (int)(SWIG_As_int(obj6
));
12784 if (SWIG_arg_fail(7)) SWIG_fail
;
12789 arg8
= (int)(SWIG_As_int(obj7
));
12790 if (SWIG_arg_fail(8)) SWIG_fail
;
12795 arg9
= (int)(SWIG_As_int(obj8
));
12796 if (SWIG_arg_fail(9)) SWIG_fail
;
12801 arg10
= wxString_in_helper(obj9
);
12802 if (arg10
== NULL
) SWIG_fail
;
12807 if (!wxPyCheckForApp()) SWIG_fail
;
12808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12809 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
12811 wxPyEndAllowThreads(__tstate
);
12812 if (PyErr_Occurred()) SWIG_fail
;
12814 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
12837 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12838 PyObject
*resultobj
;
12839 wxSpinCtrl
*result
;
12840 char *kwnames
[] = {
12844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
12846 if (!wxPyCheckForApp()) SWIG_fail
;
12847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12848 result
= (wxSpinCtrl
*)new wxSpinCtrl();
12850 wxPyEndAllowThreads(__tstate
);
12851 if (PyErr_Occurred()) SWIG_fail
;
12853 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
12860 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12861 PyObject
*resultobj
;
12862 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
12863 wxWindow
*arg2
= (wxWindow
*) 0 ;
12864 int arg3
= (int) -1 ;
12865 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12866 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12867 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12868 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12869 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12870 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12871 long arg7
= (long) wxSP_ARROW_KEYS
;
12872 int arg8
= (int) 0 ;
12873 int arg9
= (int) 100 ;
12874 int arg10
= (int) 0 ;
12875 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
12876 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
12878 bool temp4
= false ;
12881 bool temp11
= false ;
12882 PyObject
* obj0
= 0 ;
12883 PyObject
* obj1
= 0 ;
12884 PyObject
* obj2
= 0 ;
12885 PyObject
* obj3
= 0 ;
12886 PyObject
* obj4
= 0 ;
12887 PyObject
* obj5
= 0 ;
12888 PyObject
* obj6
= 0 ;
12889 PyObject
* obj7
= 0 ;
12890 PyObject
* obj8
= 0 ;
12891 PyObject
* obj9
= 0 ;
12892 PyObject
* obj10
= 0 ;
12893 char *kwnames
[] = {
12894 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
12897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
12898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
12899 if (SWIG_arg_fail(1)) SWIG_fail
;
12900 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12901 if (SWIG_arg_fail(2)) SWIG_fail
;
12904 arg3
= (int)(SWIG_As_int(obj2
));
12905 if (SWIG_arg_fail(3)) SWIG_fail
;
12910 arg4
= wxString_in_helper(obj3
);
12911 if (arg4
== NULL
) SWIG_fail
;
12918 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12924 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12929 arg7
= (long)(SWIG_As_long(obj6
));
12930 if (SWIG_arg_fail(7)) SWIG_fail
;
12935 arg8
= (int)(SWIG_As_int(obj7
));
12936 if (SWIG_arg_fail(8)) SWIG_fail
;
12941 arg9
= (int)(SWIG_As_int(obj8
));
12942 if (SWIG_arg_fail(9)) SWIG_fail
;
12947 arg10
= (int)(SWIG_As_int(obj9
));
12948 if (SWIG_arg_fail(10)) SWIG_fail
;
12953 arg11
= wxString_in_helper(obj10
);
12954 if (arg11
== NULL
) SWIG_fail
;
12959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12960 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
12962 wxPyEndAllowThreads(__tstate
);
12963 if (PyErr_Occurred()) SWIG_fail
;
12966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12990 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12991 PyObject
*resultobj
;
12992 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
12994 PyObject
* obj0
= 0 ;
12995 char *kwnames
[] = {
12996 (char *) "self", NULL
12999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
13000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13001 if (SWIG_arg_fail(1)) SWIG_fail
;
13003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13004 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
13006 wxPyEndAllowThreads(__tstate
);
13007 if (PyErr_Occurred()) SWIG_fail
;
13010 resultobj
= SWIG_From_int((int)(result
));
13018 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13019 PyObject
*resultobj
;
13020 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13022 PyObject
* obj0
= 0 ;
13023 PyObject
* obj1
= 0 ;
13024 char *kwnames
[] = {
13025 (char *) "self",(char *) "value", NULL
13028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13030 if (SWIG_arg_fail(1)) SWIG_fail
;
13032 arg2
= (int)(SWIG_As_int(obj1
));
13033 if (SWIG_arg_fail(2)) SWIG_fail
;
13036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13037 (arg1
)->SetValue(arg2
);
13039 wxPyEndAllowThreads(__tstate
);
13040 if (PyErr_Occurred()) SWIG_fail
;
13042 Py_INCREF(Py_None
); resultobj
= Py_None
;
13049 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13050 PyObject
*resultobj
;
13051 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13052 wxString
*arg2
= 0 ;
13053 bool temp2
= false ;
13054 PyObject
* obj0
= 0 ;
13055 PyObject
* obj1
= 0 ;
13056 char *kwnames
[] = {
13057 (char *) "self",(char *) "text", NULL
13060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
13061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13062 if (SWIG_arg_fail(1)) SWIG_fail
;
13064 arg2
= wxString_in_helper(obj1
);
13065 if (arg2
== NULL
) SWIG_fail
;
13069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13070 (arg1
)->SetValue((wxString
const &)*arg2
);
13072 wxPyEndAllowThreads(__tstate
);
13073 if (PyErr_Occurred()) SWIG_fail
;
13075 Py_INCREF(Py_None
); resultobj
= Py_None
;
13090 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13091 PyObject
*resultobj
;
13092 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13095 PyObject
* obj0
= 0 ;
13096 PyObject
* obj1
= 0 ;
13097 PyObject
* obj2
= 0 ;
13098 char *kwnames
[] = {
13099 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
13102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13104 if (SWIG_arg_fail(1)) SWIG_fail
;
13106 arg2
= (int)(SWIG_As_int(obj1
));
13107 if (SWIG_arg_fail(2)) SWIG_fail
;
13110 arg3
= (int)(SWIG_As_int(obj2
));
13111 if (SWIG_arg_fail(3)) SWIG_fail
;
13114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13115 (arg1
)->SetRange(arg2
,arg3
);
13117 wxPyEndAllowThreads(__tstate
);
13118 if (PyErr_Occurred()) SWIG_fail
;
13120 Py_INCREF(Py_None
); resultobj
= Py_None
;
13127 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13128 PyObject
*resultobj
;
13129 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13131 PyObject
* obj0
= 0 ;
13132 char *kwnames
[] = {
13133 (char *) "self", NULL
13136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
13137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13138 if (SWIG_arg_fail(1)) SWIG_fail
;
13140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13141 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
13143 wxPyEndAllowThreads(__tstate
);
13144 if (PyErr_Occurred()) SWIG_fail
;
13147 resultobj
= SWIG_From_int((int)(result
));
13155 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13156 PyObject
*resultobj
;
13157 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13159 PyObject
* obj0
= 0 ;
13160 char *kwnames
[] = {
13161 (char *) "self", NULL
13164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
13165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13166 if (SWIG_arg_fail(1)) SWIG_fail
;
13168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13169 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
13171 wxPyEndAllowThreads(__tstate
);
13172 if (PyErr_Occurred()) SWIG_fail
;
13175 resultobj
= SWIG_From_int((int)(result
));
13183 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13184 PyObject
*resultobj
;
13185 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13188 PyObject
* obj0
= 0 ;
13189 PyObject
* obj1
= 0 ;
13190 PyObject
* obj2
= 0 ;
13191 char *kwnames
[] = {
13192 (char *) "self",(char *) "from",(char *) "to", NULL
13195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13197 if (SWIG_arg_fail(1)) SWIG_fail
;
13199 arg2
= (long)(SWIG_As_long(obj1
));
13200 if (SWIG_arg_fail(2)) SWIG_fail
;
13203 arg3
= (long)(SWIG_As_long(obj2
));
13204 if (SWIG_arg_fail(3)) SWIG_fail
;
13207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13208 (arg1
)->SetSelection(arg2
,arg3
);
13210 wxPyEndAllowThreads(__tstate
);
13211 if (PyErr_Occurred()) SWIG_fail
;
13213 Py_INCREF(Py_None
); resultobj
= Py_None
;
13220 static PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13221 PyObject
*resultobj
;
13222 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13223 wxVisualAttributes result
;
13224 PyObject
* obj0
= 0 ;
13225 char *kwnames
[] = {
13226 (char *) "variant", NULL
13229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13232 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
13233 if (SWIG_arg_fail(1)) SWIG_fail
;
13237 if (!wxPyCheckForApp()) SWIG_fail
;
13238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13239 result
= wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13241 wxPyEndAllowThreads(__tstate
);
13242 if (PyErr_Occurred()) SWIG_fail
;
13245 wxVisualAttributes
* resultptr
;
13246 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
13247 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13255 static PyObject
* SpinCtrl_swigregister(PyObject
*, PyObject
*args
) {
13257 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13258 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
13260 return Py_BuildValue((char *)"");
13262 static PyObject
*_wrap_new_SpinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13263 PyObject
*resultobj
;
13264 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13265 int arg2
= (int) 0 ;
13266 wxSpinEvent
*result
;
13267 PyObject
* obj0
= 0 ;
13268 PyObject
* obj1
= 0 ;
13269 char *kwnames
[] = {
13270 (char *) "commandType",(char *) "winid", NULL
13273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13276 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
13277 if (SWIG_arg_fail(1)) SWIG_fail
;
13282 arg2
= (int)(SWIG_As_int(obj1
));
13283 if (SWIG_arg_fail(2)) SWIG_fail
;
13287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13288 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
13290 wxPyEndAllowThreads(__tstate
);
13291 if (PyErr_Occurred()) SWIG_fail
;
13293 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
13300 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13301 PyObject
*resultobj
;
13302 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
13304 PyObject
* obj0
= 0 ;
13305 char *kwnames
[] = {
13306 (char *) "self", NULL
13309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_EXCEPTION
| 0);
13311 if (SWIG_arg_fail(1)) SWIG_fail
;
13313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13314 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
13316 wxPyEndAllowThreads(__tstate
);
13317 if (PyErr_Occurred()) SWIG_fail
;
13320 resultobj
= SWIG_From_int((int)(result
));
13328 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13329 PyObject
*resultobj
;
13330 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
13332 PyObject
* obj0
= 0 ;
13333 PyObject
* obj1
= 0 ;
13334 char *kwnames
[] = {
13335 (char *) "self",(char *) "pos", NULL
13338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_EXCEPTION
| 0);
13340 if (SWIG_arg_fail(1)) SWIG_fail
;
13342 arg2
= (int)(SWIG_As_int(obj1
));
13343 if (SWIG_arg_fail(2)) SWIG_fail
;
13346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13347 (arg1
)->SetPosition(arg2
);
13349 wxPyEndAllowThreads(__tstate
);
13350 if (PyErr_Occurred()) SWIG_fail
;
13352 Py_INCREF(Py_None
); resultobj
= Py_None
;
13359 static PyObject
* SpinEvent_swigregister(PyObject
*, PyObject
*args
) {
13361 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13362 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
13364 return Py_BuildValue((char *)"");
13366 static int _wrap_RadioBoxNameStr_set(PyObject
*) {
13367 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
13372 static PyObject
*_wrap_RadioBoxNameStr_get(void) {
13377 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
13379 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
13386 static int _wrap_RadioButtonNameStr_set(PyObject
*) {
13387 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
13392 static PyObject
*_wrap_RadioButtonNameStr_get(void) {
13397 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
13399 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
13406 static PyObject
*_wrap_new_RadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13407 PyObject
*resultobj
;
13408 wxWindow
*arg1
= (wxWindow
*) 0 ;
13409 int arg2
= (int) -1 ;
13410 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13411 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13412 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13413 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13414 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13415 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13416 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
13417 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
13418 int arg7
= (int) 0 ;
13419 long arg8
= (long) wxRA_HORIZONTAL
;
13420 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
13421 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
13422 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
13423 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
13424 wxRadioBox
*result
;
13425 bool temp3
= false ;
13428 bool temp6
= false ;
13429 bool temp10
= false ;
13430 PyObject
* obj0
= 0 ;
13431 PyObject
* obj1
= 0 ;
13432 PyObject
* obj2
= 0 ;
13433 PyObject
* obj3
= 0 ;
13434 PyObject
* obj4
= 0 ;
13435 PyObject
* obj5
= 0 ;
13436 PyObject
* obj6
= 0 ;
13437 PyObject
* obj7
= 0 ;
13438 PyObject
* obj8
= 0 ;
13439 PyObject
* obj9
= 0 ;
13440 char *kwnames
[] = {
13441 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
13445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13446 if (SWIG_arg_fail(1)) SWIG_fail
;
13449 arg2
= (int)(SWIG_As_int(obj1
));
13450 if (SWIG_arg_fail(2)) SWIG_fail
;
13455 arg3
= wxString_in_helper(obj2
);
13456 if (arg3
== NULL
) SWIG_fail
;
13463 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13469 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13474 if (! PySequence_Check(obj5
)) {
13475 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13478 arg6
= new wxArrayString
;
13480 int i
, len
=PySequence_Length(obj5
);
13481 for (i
=0; i
<len
; i
++) {
13482 PyObject
* item
= PySequence_GetItem(obj5
, i
);
13483 wxString
* s
= wxString_in_helper(item
);
13484 if (PyErr_Occurred()) SWIG_fail
;
13493 arg7
= (int)(SWIG_As_int(obj6
));
13494 if (SWIG_arg_fail(7)) SWIG_fail
;
13499 arg8
= (long)(SWIG_As_long(obj7
));
13500 if (SWIG_arg_fail(8)) SWIG_fail
;
13505 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
13506 if (SWIG_arg_fail(9)) SWIG_fail
;
13507 if (arg9
== NULL
) {
13508 SWIG_null_ref("wxValidator");
13510 if (SWIG_arg_fail(9)) SWIG_fail
;
13515 arg10
= wxString_in_helper(obj9
);
13516 if (arg10
== NULL
) SWIG_fail
;
13521 if (!wxPyCheckForApp()) SWIG_fail
;
13522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13523 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
);
13525 wxPyEndAllowThreads(__tstate
);
13526 if (PyErr_Occurred()) SWIG_fail
;
13528 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
13534 if (temp6
) delete arg6
;
13547 if (temp6
) delete arg6
;
13557 static PyObject
*_wrap_new_PreRadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13558 PyObject
*resultobj
;
13559 wxRadioBox
*result
;
13560 char *kwnames
[] = {
13564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
13566 if (!wxPyCheckForApp()) SWIG_fail
;
13567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13568 result
= (wxRadioBox
*)new wxRadioBox();
13570 wxPyEndAllowThreads(__tstate
);
13571 if (PyErr_Occurred()) SWIG_fail
;
13573 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
13580 static PyObject
*_wrap_RadioBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13581 PyObject
*resultobj
;
13582 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13583 wxWindow
*arg2
= (wxWindow
*) 0 ;
13584 int arg3
= (int) -1 ;
13585 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13586 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13587 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13588 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13589 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13590 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13591 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
13592 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
13593 int arg8
= (int) 0 ;
13594 long arg9
= (long) wxRA_HORIZONTAL
;
13595 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
13596 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
13597 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
13598 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
13600 bool temp4
= false ;
13603 bool temp7
= false ;
13604 bool temp11
= false ;
13605 PyObject
* obj0
= 0 ;
13606 PyObject
* obj1
= 0 ;
13607 PyObject
* obj2
= 0 ;
13608 PyObject
* obj3
= 0 ;
13609 PyObject
* obj4
= 0 ;
13610 PyObject
* obj5
= 0 ;
13611 PyObject
* obj6
= 0 ;
13612 PyObject
* obj7
= 0 ;
13613 PyObject
* obj8
= 0 ;
13614 PyObject
* obj9
= 0 ;
13615 PyObject
* obj10
= 0 ;
13616 char *kwnames
[] = {
13617 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
13621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13622 if (SWIG_arg_fail(1)) SWIG_fail
;
13623 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13624 if (SWIG_arg_fail(2)) SWIG_fail
;
13627 arg3
= (int)(SWIG_As_int(obj2
));
13628 if (SWIG_arg_fail(3)) SWIG_fail
;
13633 arg4
= wxString_in_helper(obj3
);
13634 if (arg4
== NULL
) SWIG_fail
;
13641 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13647 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13652 if (! PySequence_Check(obj6
)) {
13653 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13656 arg7
= new wxArrayString
;
13658 int i
, len
=PySequence_Length(obj6
);
13659 for (i
=0; i
<len
; i
++) {
13660 PyObject
* item
= PySequence_GetItem(obj6
, i
);
13661 wxString
* s
= wxString_in_helper(item
);
13662 if (PyErr_Occurred()) SWIG_fail
;
13671 arg8
= (int)(SWIG_As_int(obj7
));
13672 if (SWIG_arg_fail(8)) SWIG_fail
;
13677 arg9
= (long)(SWIG_As_long(obj8
));
13678 if (SWIG_arg_fail(9)) SWIG_fail
;
13683 SWIG_Python_ConvertPtr(obj9
, (void **)&arg10
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
13684 if (SWIG_arg_fail(10)) SWIG_fail
;
13685 if (arg10
== NULL
) {
13686 SWIG_null_ref("wxValidator");
13688 if (SWIG_arg_fail(10)) SWIG_fail
;
13693 arg11
= wxString_in_helper(obj10
);
13694 if (arg11
== NULL
) SWIG_fail
;
13699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13700 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
);
13702 wxPyEndAllowThreads(__tstate
);
13703 if (PyErr_Occurred()) SWIG_fail
;
13706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13713 if (temp7
) delete arg7
;
13726 if (temp7
) delete arg7
;
13736 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13737 PyObject
*resultobj
;
13738 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13740 PyObject
* obj0
= 0 ;
13741 PyObject
* obj1
= 0 ;
13742 char *kwnames
[] = {
13743 (char *) "self",(char *) "n", NULL
13746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13748 if (SWIG_arg_fail(1)) SWIG_fail
;
13750 arg2
= (int)(SWIG_As_int(obj1
));
13751 if (SWIG_arg_fail(2)) SWIG_fail
;
13754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13755 (arg1
)->SetSelection(arg2
);
13757 wxPyEndAllowThreads(__tstate
);
13758 if (PyErr_Occurred()) SWIG_fail
;
13760 Py_INCREF(Py_None
); resultobj
= Py_None
;
13767 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13768 PyObject
*resultobj
;
13769 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13771 PyObject
* obj0
= 0 ;
13772 char *kwnames
[] = {
13773 (char *) "self", NULL
13776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
13777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13778 if (SWIG_arg_fail(1)) SWIG_fail
;
13780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13781 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
13783 wxPyEndAllowThreads(__tstate
);
13784 if (PyErr_Occurred()) SWIG_fail
;
13787 resultobj
= SWIG_From_int((int)(result
));
13795 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13796 PyObject
*resultobj
;
13797 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13799 PyObject
* obj0
= 0 ;
13800 char *kwnames
[] = {
13801 (char *) "self", NULL
13804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
13805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13806 if (SWIG_arg_fail(1)) SWIG_fail
;
13808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13809 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
13811 wxPyEndAllowThreads(__tstate
);
13812 if (PyErr_Occurred()) SWIG_fail
;
13816 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13818 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13827 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13828 PyObject
*resultobj
;
13829 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13830 wxString
*arg2
= 0 ;
13832 bool temp2
= false ;
13833 PyObject
* obj0
= 0 ;
13834 PyObject
* obj1
= 0 ;
13835 char *kwnames
[] = {
13836 (char *) "self",(char *) "s", NULL
13839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13841 if (SWIG_arg_fail(1)) SWIG_fail
;
13843 arg2
= wxString_in_helper(obj1
);
13844 if (arg2
== NULL
) SWIG_fail
;
13848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13849 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
13851 wxPyEndAllowThreads(__tstate
);
13852 if (PyErr_Occurred()) SWIG_fail
;
13855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13871 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13872 PyObject
*resultobj
;
13873 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13875 PyObject
* obj0
= 0 ;
13876 char *kwnames
[] = {
13877 (char *) "self", NULL
13880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
13881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13882 if (SWIG_arg_fail(1)) SWIG_fail
;
13884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13885 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
13887 wxPyEndAllowThreads(__tstate
);
13888 if (PyErr_Occurred()) SWIG_fail
;
13891 resultobj
= SWIG_From_int((int)(result
));
13899 static PyObject
*_wrap_RadioBox_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13900 PyObject
*resultobj
;
13901 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13902 wxString
*arg2
= 0 ;
13904 bool temp2
= false ;
13905 PyObject
* obj0
= 0 ;
13906 PyObject
* obj1
= 0 ;
13907 char *kwnames
[] = {
13908 (char *) "self",(char *) "s", NULL
13911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13913 if (SWIG_arg_fail(1)) SWIG_fail
;
13915 arg2
= wxString_in_helper(obj1
);
13916 if (arg2
== NULL
) SWIG_fail
;
13920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13921 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
13923 wxPyEndAllowThreads(__tstate
);
13924 if (PyErr_Occurred()) SWIG_fail
;
13927 resultobj
= SWIG_From_int((int)(result
));
13943 static PyObject
*_wrap_RadioBox_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13944 PyObject
*resultobj
;
13945 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13948 PyObject
* obj0
= 0 ;
13949 PyObject
* obj1
= 0 ;
13950 char *kwnames
[] = {
13951 (char *) "self",(char *) "n", NULL
13954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
13955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13956 if (SWIG_arg_fail(1)) SWIG_fail
;
13958 arg2
= (int)(SWIG_As_int(obj1
));
13959 if (SWIG_arg_fail(2)) SWIG_fail
;
13962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13963 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
13965 wxPyEndAllowThreads(__tstate
);
13966 if (PyErr_Occurred()) SWIG_fail
;
13970 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13972 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13981 static PyObject
*_wrap_RadioBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13982 PyObject
*resultobj
;
13983 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13985 wxString
*arg3
= 0 ;
13986 bool temp3
= false ;
13987 PyObject
* obj0
= 0 ;
13988 PyObject
* obj1
= 0 ;
13989 PyObject
* obj2
= 0 ;
13990 char *kwnames
[] = {
13991 (char *) "self",(char *) "n",(char *) "label", NULL
13994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13996 if (SWIG_arg_fail(1)) SWIG_fail
;
13998 arg2
= (int)(SWIG_As_int(obj1
));
13999 if (SWIG_arg_fail(2)) SWIG_fail
;
14002 arg3
= wxString_in_helper(obj2
);
14003 if (arg3
== NULL
) SWIG_fail
;
14007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14008 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
14010 wxPyEndAllowThreads(__tstate
);
14011 if (PyErr_Occurred()) SWIG_fail
;
14013 Py_INCREF(Py_None
); resultobj
= Py_None
;
14028 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14029 PyObject
*resultobj
;
14030 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14032 bool arg3
= (bool) true ;
14033 PyObject
* obj0
= 0 ;
14034 PyObject
* obj1
= 0 ;
14035 PyObject
* obj2
= 0 ;
14036 char *kwnames
[] = {
14037 (char *) "self",(char *) "n",(char *) "enable", NULL
14040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14042 if (SWIG_arg_fail(1)) SWIG_fail
;
14044 arg2
= (int)(SWIG_As_int(obj1
));
14045 if (SWIG_arg_fail(2)) SWIG_fail
;
14049 arg3
= (bool)(SWIG_As_bool(obj2
));
14050 if (SWIG_arg_fail(3)) SWIG_fail
;
14054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14055 (arg1
)->Enable(arg2
,arg3
);
14057 wxPyEndAllowThreads(__tstate
);
14058 if (PyErr_Occurred()) SWIG_fail
;
14060 Py_INCREF(Py_None
); resultobj
= Py_None
;
14067 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14068 PyObject
*resultobj
;
14069 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14071 bool arg3
= (bool) true ;
14072 PyObject
* obj0
= 0 ;
14073 PyObject
* obj1
= 0 ;
14074 PyObject
* obj2
= 0 ;
14075 char *kwnames
[] = {
14076 (char *) "self",(char *) "n",(char *) "show", NULL
14079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14081 if (SWIG_arg_fail(1)) SWIG_fail
;
14083 arg2
= (int)(SWIG_As_int(obj1
));
14084 if (SWIG_arg_fail(2)) SWIG_fail
;
14088 arg3
= (bool)(SWIG_As_bool(obj2
));
14089 if (SWIG_arg_fail(3)) SWIG_fail
;
14093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14094 (arg1
)->Show(arg2
,arg3
);
14096 wxPyEndAllowThreads(__tstate
);
14097 if (PyErr_Occurred()) SWIG_fail
;
14099 Py_INCREF(Py_None
); resultobj
= Py_None
;
14106 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14107 PyObject
*resultobj
;
14108 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14110 PyObject
* obj0
= 0 ;
14111 char *kwnames
[] = {
14112 (char *) "self", NULL
14115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
14116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14117 if (SWIG_arg_fail(1)) SWIG_fail
;
14119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14120 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
14122 wxPyEndAllowThreads(__tstate
);
14123 if (PyErr_Occurred()) SWIG_fail
;
14126 resultobj
= SWIG_From_int((int)(result
));
14134 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14135 PyObject
*resultobj
;
14136 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14138 PyObject
* obj0
= 0 ;
14139 char *kwnames
[] = {
14140 (char *) "self", NULL
14143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
14144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14145 if (SWIG_arg_fail(1)) SWIG_fail
;
14147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14148 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
14150 wxPyEndAllowThreads(__tstate
);
14151 if (PyErr_Occurred()) SWIG_fail
;
14154 resultobj
= SWIG_From_int((int)(result
));
14162 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14163 PyObject
*resultobj
;
14164 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14169 PyObject
* obj0
= 0 ;
14170 PyObject
* obj1
= 0 ;
14171 PyObject
* obj2
= 0 ;
14172 PyObject
* obj3
= 0 ;
14173 char *kwnames
[] = {
14174 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
14177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14179 if (SWIG_arg_fail(1)) SWIG_fail
;
14181 arg2
= (int)(SWIG_As_int(obj1
));
14182 if (SWIG_arg_fail(2)) SWIG_fail
;
14185 arg3
= (wxDirection
)(SWIG_As_int(obj2
));
14186 if (SWIG_arg_fail(3)) SWIG_fail
;
14189 arg4
= (long)(SWIG_As_long(obj3
));
14190 if (SWIG_arg_fail(4)) SWIG_fail
;
14193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14194 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
14196 wxPyEndAllowThreads(__tstate
);
14197 if (PyErr_Occurred()) SWIG_fail
;
14200 resultobj
= SWIG_From_int((int)(result
));
14208 static PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14209 PyObject
*resultobj
;
14210 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14211 wxVisualAttributes result
;
14212 PyObject
* obj0
= 0 ;
14213 char *kwnames
[] = {
14214 (char *) "variant", NULL
14217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14220 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
14221 if (SWIG_arg_fail(1)) SWIG_fail
;
14225 if (!wxPyCheckForApp()) SWIG_fail
;
14226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14227 result
= wxRadioBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14229 wxPyEndAllowThreads(__tstate
);
14230 if (PyErr_Occurred()) SWIG_fail
;
14233 wxVisualAttributes
* resultptr
;
14234 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
14235 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14243 static PyObject
* RadioBox_swigregister(PyObject
*, PyObject
*args
) {
14245 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14246 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
14248 return Py_BuildValue((char *)"");
14250 static PyObject
*_wrap_new_RadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14251 PyObject
*resultobj
;
14252 wxWindow
*arg1
= (wxWindow
*) 0 ;
14253 int arg2
= (int) -1 ;
14254 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14255 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14256 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14257 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14258 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14259 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14260 long arg6
= (long) 0 ;
14261 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14262 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14263 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
14264 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14265 wxRadioButton
*result
;
14266 bool temp3
= false ;
14269 bool temp8
= false ;
14270 PyObject
* obj0
= 0 ;
14271 PyObject
* obj1
= 0 ;
14272 PyObject
* obj2
= 0 ;
14273 PyObject
* obj3
= 0 ;
14274 PyObject
* obj4
= 0 ;
14275 PyObject
* obj5
= 0 ;
14276 PyObject
* obj6
= 0 ;
14277 PyObject
* obj7
= 0 ;
14278 char *kwnames
[] = {
14279 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14284 if (SWIG_arg_fail(1)) SWIG_fail
;
14287 arg2
= (int)(SWIG_As_int(obj1
));
14288 if (SWIG_arg_fail(2)) SWIG_fail
;
14293 arg3
= wxString_in_helper(obj2
);
14294 if (arg3
== NULL
) SWIG_fail
;
14301 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14307 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14312 arg6
= (long)(SWIG_As_long(obj5
));
14313 if (SWIG_arg_fail(6)) SWIG_fail
;
14318 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14319 if (SWIG_arg_fail(7)) SWIG_fail
;
14320 if (arg7
== NULL
) {
14321 SWIG_null_ref("wxValidator");
14323 if (SWIG_arg_fail(7)) SWIG_fail
;
14328 arg8
= wxString_in_helper(obj7
);
14329 if (arg8
== NULL
) SWIG_fail
;
14334 if (!wxPyCheckForApp()) SWIG_fail
;
14335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14336 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14338 wxPyEndAllowThreads(__tstate
);
14339 if (PyErr_Occurred()) SWIG_fail
;
14341 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
14364 static PyObject
*_wrap_new_PreRadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14365 PyObject
*resultobj
;
14366 wxRadioButton
*result
;
14367 char *kwnames
[] = {
14371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
14373 if (!wxPyCheckForApp()) SWIG_fail
;
14374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14375 result
= (wxRadioButton
*)new wxRadioButton();
14377 wxPyEndAllowThreads(__tstate
);
14378 if (PyErr_Occurred()) SWIG_fail
;
14380 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
14387 static PyObject
*_wrap_RadioButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14388 PyObject
*resultobj
;
14389 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14390 wxWindow
*arg2
= (wxWindow
*) 0 ;
14391 int arg3
= (int) -1 ;
14392 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14393 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14394 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14395 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14396 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14397 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14398 long arg7
= (long) 0 ;
14399 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
14400 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
14401 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
14402 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
14404 bool temp4
= false ;
14407 bool temp9
= false ;
14408 PyObject
* obj0
= 0 ;
14409 PyObject
* obj1
= 0 ;
14410 PyObject
* obj2
= 0 ;
14411 PyObject
* obj3
= 0 ;
14412 PyObject
* obj4
= 0 ;
14413 PyObject
* obj5
= 0 ;
14414 PyObject
* obj6
= 0 ;
14415 PyObject
* obj7
= 0 ;
14416 PyObject
* obj8
= 0 ;
14417 char *kwnames
[] = {
14418 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
14422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14423 if (SWIG_arg_fail(1)) SWIG_fail
;
14424 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14425 if (SWIG_arg_fail(2)) SWIG_fail
;
14428 arg3
= (int)(SWIG_As_int(obj2
));
14429 if (SWIG_arg_fail(3)) SWIG_fail
;
14434 arg4
= wxString_in_helper(obj3
);
14435 if (arg4
== NULL
) SWIG_fail
;
14442 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14448 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14453 arg7
= (long)(SWIG_As_long(obj6
));
14454 if (SWIG_arg_fail(7)) SWIG_fail
;
14459 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14460 if (SWIG_arg_fail(8)) SWIG_fail
;
14461 if (arg8
== NULL
) {
14462 SWIG_null_ref("wxValidator");
14464 if (SWIG_arg_fail(8)) SWIG_fail
;
14469 arg9
= wxString_in_helper(obj8
);
14470 if (arg9
== NULL
) SWIG_fail
;
14475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14476 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
14478 wxPyEndAllowThreads(__tstate
);
14479 if (PyErr_Occurred()) SWIG_fail
;
14482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14506 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14507 PyObject
*resultobj
;
14508 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14510 PyObject
* obj0
= 0 ;
14511 char *kwnames
[] = {
14512 (char *) "self", NULL
14515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
14516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14517 if (SWIG_arg_fail(1)) SWIG_fail
;
14519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14520 result
= (bool)(arg1
)->GetValue();
14522 wxPyEndAllowThreads(__tstate
);
14523 if (PyErr_Occurred()) SWIG_fail
;
14526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14534 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14535 PyObject
*resultobj
;
14536 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14538 PyObject
* obj0
= 0 ;
14539 PyObject
* obj1
= 0 ;
14540 char *kwnames
[] = {
14541 (char *) "self",(char *) "value", NULL
14544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
14545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14546 if (SWIG_arg_fail(1)) SWIG_fail
;
14548 arg2
= (bool)(SWIG_As_bool(obj1
));
14549 if (SWIG_arg_fail(2)) SWIG_fail
;
14552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14553 (arg1
)->SetValue(arg2
);
14555 wxPyEndAllowThreads(__tstate
);
14556 if (PyErr_Occurred()) SWIG_fail
;
14558 Py_INCREF(Py_None
); resultobj
= Py_None
;
14565 static PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14566 PyObject
*resultobj
;
14567 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14568 wxVisualAttributes result
;
14569 PyObject
* obj0
= 0 ;
14570 char *kwnames
[] = {
14571 (char *) "variant", NULL
14574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14577 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
14578 if (SWIG_arg_fail(1)) SWIG_fail
;
14582 if (!wxPyCheckForApp()) SWIG_fail
;
14583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14584 result
= wxRadioButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14586 wxPyEndAllowThreads(__tstate
);
14587 if (PyErr_Occurred()) SWIG_fail
;
14590 wxVisualAttributes
* resultptr
;
14591 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
14592 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14600 static PyObject
* RadioButton_swigregister(PyObject
*, PyObject
*args
) {
14602 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14603 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
14605 return Py_BuildValue((char *)"");
14607 static int _wrap_SliderNameStr_set(PyObject
*) {
14608 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
14613 static PyObject
*_wrap_SliderNameStr_get(void) {
14618 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
14620 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
14627 static PyObject
*_wrap_new_Slider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14628 PyObject
*resultobj
;
14629 wxWindow
*arg1
= (wxWindow
*) 0 ;
14630 int arg2
= (int) -1 ;
14631 int arg3
= (int) 0 ;
14632 int arg4
= (int) 0 ;
14633 int arg5
= (int) 100 ;
14634 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
14635 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
14636 wxSize
const &arg7_defvalue
= wxDefaultSize
;
14637 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
14638 long arg8
= (long) wxSL_HORIZONTAL
;
14639 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
14640 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
14641 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
14642 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
14646 bool temp10
= false ;
14647 PyObject
* obj0
= 0 ;
14648 PyObject
* obj1
= 0 ;
14649 PyObject
* obj2
= 0 ;
14650 PyObject
* obj3
= 0 ;
14651 PyObject
* obj4
= 0 ;
14652 PyObject
* obj5
= 0 ;
14653 PyObject
* obj6
= 0 ;
14654 PyObject
* obj7
= 0 ;
14655 PyObject
* obj8
= 0 ;
14656 PyObject
* obj9
= 0 ;
14657 char *kwnames
[] = {
14658 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
14662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14663 if (SWIG_arg_fail(1)) SWIG_fail
;
14666 arg2
= (int)(SWIG_As_int(obj1
));
14667 if (SWIG_arg_fail(2)) SWIG_fail
;
14672 arg3
= (int)(SWIG_As_int(obj2
));
14673 if (SWIG_arg_fail(3)) SWIG_fail
;
14678 arg4
= (int)(SWIG_As_int(obj3
));
14679 if (SWIG_arg_fail(4)) SWIG_fail
;
14684 arg5
= (int)(SWIG_As_int(obj4
));
14685 if (SWIG_arg_fail(5)) SWIG_fail
;
14691 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
14697 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
14702 arg8
= (long)(SWIG_As_long(obj7
));
14703 if (SWIG_arg_fail(8)) SWIG_fail
;
14708 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14709 if (SWIG_arg_fail(9)) SWIG_fail
;
14710 if (arg9
== NULL
) {
14711 SWIG_null_ref("wxValidator");
14713 if (SWIG_arg_fail(9)) SWIG_fail
;
14718 arg10
= wxString_in_helper(obj9
);
14719 if (arg10
== NULL
) SWIG_fail
;
14724 if (!wxPyCheckForApp()) SWIG_fail
;
14725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14726 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
14728 wxPyEndAllowThreads(__tstate
);
14729 if (PyErr_Occurred()) SWIG_fail
;
14731 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
14746 static PyObject
*_wrap_new_PreSlider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14747 PyObject
*resultobj
;
14749 char *kwnames
[] = {
14753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
14755 if (!wxPyCheckForApp()) SWIG_fail
;
14756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14757 result
= (wxSlider
*)new wxSlider();
14759 wxPyEndAllowThreads(__tstate
);
14760 if (PyErr_Occurred()) SWIG_fail
;
14762 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
14769 static PyObject
*_wrap_Slider_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14770 PyObject
*resultobj
;
14771 wxSlider
*arg1
= (wxSlider
*) 0 ;
14772 wxWindow
*arg2
= (wxWindow
*) 0 ;
14773 int arg3
= (int) -1 ;
14774 int arg4
= (int) 0 ;
14775 int arg5
= (int) 0 ;
14776 int arg6
= (int) 100 ;
14777 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14778 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14779 wxSize
const &arg8_defvalue
= wxDefaultSize
;
14780 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
14781 long arg9
= (long) wxSL_HORIZONTAL
;
14782 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
14783 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
14784 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
14785 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
14789 bool temp11
= false ;
14790 PyObject
* obj0
= 0 ;
14791 PyObject
* obj1
= 0 ;
14792 PyObject
* obj2
= 0 ;
14793 PyObject
* obj3
= 0 ;
14794 PyObject
* obj4
= 0 ;
14795 PyObject
* obj5
= 0 ;
14796 PyObject
* obj6
= 0 ;
14797 PyObject
* obj7
= 0 ;
14798 PyObject
* obj8
= 0 ;
14799 PyObject
* obj9
= 0 ;
14800 PyObject
* obj10
= 0 ;
14801 char *kwnames
[] = {
14802 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
14806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
14807 if (SWIG_arg_fail(1)) SWIG_fail
;
14808 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14809 if (SWIG_arg_fail(2)) SWIG_fail
;
14812 arg3
= (int)(SWIG_As_int(obj2
));
14813 if (SWIG_arg_fail(3)) SWIG_fail
;
14818 arg4
= (int)(SWIG_As_int(obj3
));
14819 if (SWIG_arg_fail(4)) SWIG_fail
;
14824 arg5
= (int)(SWIG_As_int(obj4
));
14825 if (SWIG_arg_fail(5)) SWIG_fail
;
14830 arg6
= (int)(SWIG_As_int(obj5
));
14831 if (SWIG_arg_fail(6)) SWIG_fail
;
14837 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
14843 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
14848 arg9
= (long)(SWIG_As_long(obj8
));
14849 if (SWIG_arg_fail(9)) SWIG_fail
;
14854 SWIG_Python_ConvertPtr(obj9
, (void **)&arg10
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14855 if (SWIG_arg_fail(10)) SWIG_fail
;
14856 if (arg10
== NULL
) {
14857 SWIG_null_ref("wxValidator");
14859 if (SWIG_arg_fail(10)) SWIG_fail
;
14864 arg11
= wxString_in_helper(obj10
);
14865 if (arg11
== NULL
) SWIG_fail
;
14870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14871 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
14873 wxPyEndAllowThreads(__tstate
);
14874 if (PyErr_Occurred()) SWIG_fail
;
14877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14893 static PyObject
*_wrap_Slider_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14894 PyObject
*resultobj
;
14895 wxSlider
*arg1
= (wxSlider
*) 0 ;
14897 PyObject
* obj0
= 0 ;
14898 char *kwnames
[] = {
14899 (char *) "self", NULL
14902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
14903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
14904 if (SWIG_arg_fail(1)) SWIG_fail
;
14906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14907 result
= (int)((wxSlider
const *)arg1
)->GetValue();
14909 wxPyEndAllowThreads(__tstate
);
14910 if (PyErr_Occurred()) SWIG_fail
;
14913 resultobj
= SWIG_From_int((int)(result
));
14921 static PyObject
*_wrap_Slider_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14922 PyObject
*resultobj
;
14923 wxSlider
*arg1
= (wxSlider
*) 0 ;
14925 PyObject
* obj0
= 0 ;
14926 PyObject
* obj1
= 0 ;
14927 char *kwnames
[] = {
14928 (char *) "self",(char *) "value", NULL
14931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
14932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
14933 if (SWIG_arg_fail(1)) SWIG_fail
;
14935 arg2
= (int)(SWIG_As_int(obj1
));
14936 if (SWIG_arg_fail(2)) SWIG_fail
;
14939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14940 (arg1
)->SetValue(arg2
);
14942 wxPyEndAllowThreads(__tstate
);
14943 if (PyErr_Occurred()) SWIG_fail
;
14945 Py_INCREF(Py_None
); resultobj
= Py_None
;
14952 static PyObject
*_wrap_Slider_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14953 PyObject
*resultobj
;
14954 wxSlider
*arg1
= (wxSlider
*) 0 ;
14957 PyObject
* obj0
= 0 ;
14958 PyObject
* obj1
= 0 ;
14959 PyObject
* obj2
= 0 ;
14960 char *kwnames
[] = {
14961 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
14964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
14966 if (SWIG_arg_fail(1)) SWIG_fail
;
14968 arg2
= (int)(SWIG_As_int(obj1
));
14969 if (SWIG_arg_fail(2)) SWIG_fail
;
14972 arg3
= (int)(SWIG_As_int(obj2
));
14973 if (SWIG_arg_fail(3)) SWIG_fail
;
14976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14977 (arg1
)->SetRange(arg2
,arg3
);
14979 wxPyEndAllowThreads(__tstate
);
14980 if (PyErr_Occurred()) SWIG_fail
;
14982 Py_INCREF(Py_None
); resultobj
= Py_None
;
14989 static PyObject
*_wrap_Slider_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14990 PyObject
*resultobj
;
14991 wxSlider
*arg1
= (wxSlider
*) 0 ;
14993 PyObject
* obj0
= 0 ;
14994 char *kwnames
[] = {
14995 (char *) "self", NULL
14998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
14999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15000 if (SWIG_arg_fail(1)) SWIG_fail
;
15002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15003 result
= (int)((wxSlider
const *)arg1
)->GetMin();
15005 wxPyEndAllowThreads(__tstate
);
15006 if (PyErr_Occurred()) SWIG_fail
;
15009 resultobj
= SWIG_From_int((int)(result
));
15017 static PyObject
*_wrap_Slider_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15018 PyObject
*resultobj
;
15019 wxSlider
*arg1
= (wxSlider
*) 0 ;
15021 PyObject
* obj0
= 0 ;
15022 char *kwnames
[] = {
15023 (char *) "self", NULL
15026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
15027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15028 if (SWIG_arg_fail(1)) SWIG_fail
;
15030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15031 result
= (int)((wxSlider
const *)arg1
)->GetMax();
15033 wxPyEndAllowThreads(__tstate
);
15034 if (PyErr_Occurred()) SWIG_fail
;
15037 resultobj
= SWIG_From_int((int)(result
));
15045 static PyObject
*_wrap_Slider_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15046 PyObject
*resultobj
;
15047 wxSlider
*arg1
= (wxSlider
*) 0 ;
15049 PyObject
* obj0
= 0 ;
15050 PyObject
* obj1
= 0 ;
15051 char *kwnames
[] = {
15052 (char *) "self",(char *) "minValue", NULL
15055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
15056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15057 if (SWIG_arg_fail(1)) SWIG_fail
;
15059 arg2
= (int)(SWIG_As_int(obj1
));
15060 if (SWIG_arg_fail(2)) SWIG_fail
;
15063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15064 (arg1
)->SetMin(arg2
);
15066 wxPyEndAllowThreads(__tstate
);
15067 if (PyErr_Occurred()) SWIG_fail
;
15069 Py_INCREF(Py_None
); resultobj
= Py_None
;
15076 static PyObject
*_wrap_Slider_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15077 PyObject
*resultobj
;
15078 wxSlider
*arg1
= (wxSlider
*) 0 ;
15080 PyObject
* obj0
= 0 ;
15081 PyObject
* obj1
= 0 ;
15082 char *kwnames
[] = {
15083 (char *) "self",(char *) "maxValue", NULL
15086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
15087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15088 if (SWIG_arg_fail(1)) SWIG_fail
;
15090 arg2
= (int)(SWIG_As_int(obj1
));
15091 if (SWIG_arg_fail(2)) SWIG_fail
;
15094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15095 (arg1
)->SetMax(arg2
);
15097 wxPyEndAllowThreads(__tstate
);
15098 if (PyErr_Occurred()) SWIG_fail
;
15100 Py_INCREF(Py_None
); resultobj
= Py_None
;
15107 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15108 PyObject
*resultobj
;
15109 wxSlider
*arg1
= (wxSlider
*) 0 ;
15111 PyObject
* obj0
= 0 ;
15112 PyObject
* obj1
= 0 ;
15113 char *kwnames
[] = {
15114 (char *) "self",(char *) "lineSize", NULL
15117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15119 if (SWIG_arg_fail(1)) SWIG_fail
;
15121 arg2
= (int)(SWIG_As_int(obj1
));
15122 if (SWIG_arg_fail(2)) SWIG_fail
;
15125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15126 (arg1
)->SetLineSize(arg2
);
15128 wxPyEndAllowThreads(__tstate
);
15129 if (PyErr_Occurred()) SWIG_fail
;
15131 Py_INCREF(Py_None
); resultobj
= Py_None
;
15138 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15139 PyObject
*resultobj
;
15140 wxSlider
*arg1
= (wxSlider
*) 0 ;
15142 PyObject
* obj0
= 0 ;
15143 PyObject
* obj1
= 0 ;
15144 char *kwnames
[] = {
15145 (char *) "self",(char *) "pageSize", NULL
15148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15150 if (SWIG_arg_fail(1)) SWIG_fail
;
15152 arg2
= (int)(SWIG_As_int(obj1
));
15153 if (SWIG_arg_fail(2)) SWIG_fail
;
15156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15157 (arg1
)->SetPageSize(arg2
);
15159 wxPyEndAllowThreads(__tstate
);
15160 if (PyErr_Occurred()) SWIG_fail
;
15162 Py_INCREF(Py_None
); resultobj
= Py_None
;
15169 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15170 PyObject
*resultobj
;
15171 wxSlider
*arg1
= (wxSlider
*) 0 ;
15173 PyObject
* obj0
= 0 ;
15174 char *kwnames
[] = {
15175 (char *) "self", NULL
15178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
15179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15180 if (SWIG_arg_fail(1)) SWIG_fail
;
15182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15183 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
15185 wxPyEndAllowThreads(__tstate
);
15186 if (PyErr_Occurred()) SWIG_fail
;
15189 resultobj
= SWIG_From_int((int)(result
));
15197 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15198 PyObject
*resultobj
;
15199 wxSlider
*arg1
= (wxSlider
*) 0 ;
15201 PyObject
* obj0
= 0 ;
15202 char *kwnames
[] = {
15203 (char *) "self", NULL
15206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
15207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15208 if (SWIG_arg_fail(1)) SWIG_fail
;
15210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15211 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
15213 wxPyEndAllowThreads(__tstate
);
15214 if (PyErr_Occurred()) SWIG_fail
;
15217 resultobj
= SWIG_From_int((int)(result
));
15225 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15226 PyObject
*resultobj
;
15227 wxSlider
*arg1
= (wxSlider
*) 0 ;
15229 PyObject
* obj0
= 0 ;
15230 PyObject
* obj1
= 0 ;
15231 char *kwnames
[] = {
15232 (char *) "self",(char *) "lenPixels", NULL
15235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
15236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15237 if (SWIG_arg_fail(1)) SWIG_fail
;
15239 arg2
= (int)(SWIG_As_int(obj1
));
15240 if (SWIG_arg_fail(2)) SWIG_fail
;
15243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15244 (arg1
)->SetThumbLength(arg2
);
15246 wxPyEndAllowThreads(__tstate
);
15247 if (PyErr_Occurred()) SWIG_fail
;
15249 Py_INCREF(Py_None
); resultobj
= Py_None
;
15256 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15257 PyObject
*resultobj
;
15258 wxSlider
*arg1
= (wxSlider
*) 0 ;
15260 PyObject
* obj0
= 0 ;
15261 char *kwnames
[] = {
15262 (char *) "self", NULL
15265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
15266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15267 if (SWIG_arg_fail(1)) SWIG_fail
;
15269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15270 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
15272 wxPyEndAllowThreads(__tstate
);
15273 if (PyErr_Occurred()) SWIG_fail
;
15276 resultobj
= SWIG_From_int((int)(result
));
15284 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15285 PyObject
*resultobj
;
15286 wxSlider
*arg1
= (wxSlider
*) 0 ;
15288 int arg3
= (int) 1 ;
15289 PyObject
* obj0
= 0 ;
15290 PyObject
* obj1
= 0 ;
15291 PyObject
* obj2
= 0 ;
15292 char *kwnames
[] = {
15293 (char *) "self",(char *) "n",(char *) "pos", NULL
15296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15298 if (SWIG_arg_fail(1)) SWIG_fail
;
15300 arg2
= (int)(SWIG_As_int(obj1
));
15301 if (SWIG_arg_fail(2)) SWIG_fail
;
15305 arg3
= (int)(SWIG_As_int(obj2
));
15306 if (SWIG_arg_fail(3)) SWIG_fail
;
15310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15311 (arg1
)->SetTickFreq(arg2
,arg3
);
15313 wxPyEndAllowThreads(__tstate
);
15314 if (PyErr_Occurred()) SWIG_fail
;
15316 Py_INCREF(Py_None
); resultobj
= Py_None
;
15323 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15324 PyObject
*resultobj
;
15325 wxSlider
*arg1
= (wxSlider
*) 0 ;
15327 PyObject
* obj0
= 0 ;
15328 char *kwnames
[] = {
15329 (char *) "self", NULL
15332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
15333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15334 if (SWIG_arg_fail(1)) SWIG_fail
;
15336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15337 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
15339 wxPyEndAllowThreads(__tstate
);
15340 if (PyErr_Occurred()) SWIG_fail
;
15343 resultobj
= SWIG_From_int((int)(result
));
15351 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15352 PyObject
*resultobj
;
15353 wxSlider
*arg1
= (wxSlider
*) 0 ;
15354 PyObject
* obj0
= 0 ;
15355 char *kwnames
[] = {
15356 (char *) "self", NULL
15359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
15360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15361 if (SWIG_arg_fail(1)) SWIG_fail
;
15363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15364 (arg1
)->ClearTicks();
15366 wxPyEndAllowThreads(__tstate
);
15367 if (PyErr_Occurred()) SWIG_fail
;
15369 Py_INCREF(Py_None
); resultobj
= Py_None
;
15376 static PyObject
*_wrap_Slider_SetTick(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 *) "tickPos", NULL
15386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",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
)->SetTick(arg2
);
15397 wxPyEndAllowThreads(__tstate
);
15398 if (PyErr_Occurred()) SWIG_fail
;
15400 Py_INCREF(Py_None
); resultobj
= Py_None
;
15407 static PyObject
*_wrap_Slider_ClearSel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15408 PyObject
*resultobj
;
15409 wxSlider
*arg1
= (wxSlider
*) 0 ;
15410 PyObject
* obj0
= 0 ;
15411 char *kwnames
[] = {
15412 (char *) "self", NULL
15415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
15416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15417 if (SWIG_arg_fail(1)) SWIG_fail
;
15419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15420 (arg1
)->ClearSel();
15422 wxPyEndAllowThreads(__tstate
);
15423 if (PyErr_Occurred()) SWIG_fail
;
15425 Py_INCREF(Py_None
); resultobj
= Py_None
;
15432 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15433 PyObject
*resultobj
;
15434 wxSlider
*arg1
= (wxSlider
*) 0 ;
15436 PyObject
* obj0
= 0 ;
15437 char *kwnames
[] = {
15438 (char *) "self", NULL
15441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
15442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15443 if (SWIG_arg_fail(1)) SWIG_fail
;
15445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15446 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
15448 wxPyEndAllowThreads(__tstate
);
15449 if (PyErr_Occurred()) SWIG_fail
;
15452 resultobj
= SWIG_From_int((int)(result
));
15460 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15461 PyObject
*resultobj
;
15462 wxSlider
*arg1
= (wxSlider
*) 0 ;
15464 PyObject
* obj0
= 0 ;
15465 char *kwnames
[] = {
15466 (char *) "self", NULL
15469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
15470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15471 if (SWIG_arg_fail(1)) SWIG_fail
;
15473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15474 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
15476 wxPyEndAllowThreads(__tstate
);
15477 if (PyErr_Occurred()) SWIG_fail
;
15480 resultobj
= SWIG_From_int((int)(result
));
15488 static PyObject
*_wrap_Slider_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15489 PyObject
*resultobj
;
15490 wxSlider
*arg1
= (wxSlider
*) 0 ;
15493 PyObject
* obj0
= 0 ;
15494 PyObject
* obj1
= 0 ;
15495 PyObject
* obj2
= 0 ;
15496 char *kwnames
[] = {
15497 (char *) "self",(char *) "min",(char *) "max", NULL
15500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15502 if (SWIG_arg_fail(1)) SWIG_fail
;
15504 arg2
= (int)(SWIG_As_int(obj1
));
15505 if (SWIG_arg_fail(2)) SWIG_fail
;
15508 arg3
= (int)(SWIG_As_int(obj2
));
15509 if (SWIG_arg_fail(3)) SWIG_fail
;
15512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15513 (arg1
)->SetSelection(arg2
,arg3
);
15515 wxPyEndAllowThreads(__tstate
);
15516 if (PyErr_Occurred()) SWIG_fail
;
15518 Py_INCREF(Py_None
); resultobj
= Py_None
;
15525 static PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15526 PyObject
*resultobj
;
15527 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15528 wxVisualAttributes result
;
15529 PyObject
* obj0
= 0 ;
15530 char *kwnames
[] = {
15531 (char *) "variant", NULL
15534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15537 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
15538 if (SWIG_arg_fail(1)) SWIG_fail
;
15542 if (!wxPyCheckForApp()) SWIG_fail
;
15543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15544 result
= wxSlider::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15546 wxPyEndAllowThreads(__tstate
);
15547 if (PyErr_Occurred()) SWIG_fail
;
15550 wxVisualAttributes
* resultptr
;
15551 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
15552 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15560 static PyObject
* Slider_swigregister(PyObject
*, PyObject
*args
) {
15562 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15563 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
15565 return Py_BuildValue((char *)"");
15567 static int _wrap_ToggleButtonNameStr_set(PyObject
*) {
15568 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
15573 static PyObject
*_wrap_ToggleButtonNameStr_get(void) {
15578 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
15580 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
15587 static PyObject
*_wrap_new_ToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15588 PyObject
*resultobj
;
15589 wxWindow
*arg1
= (wxWindow
*) 0 ;
15590 int arg2
= (int) -1 ;
15591 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15592 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15593 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15594 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15595 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15596 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15597 long arg6
= (long) 0 ;
15598 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
15599 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
15600 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
15601 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15602 wxToggleButton
*result
;
15603 bool temp3
= false ;
15606 bool temp8
= false ;
15607 PyObject
* obj0
= 0 ;
15608 PyObject
* obj1
= 0 ;
15609 PyObject
* obj2
= 0 ;
15610 PyObject
* obj3
= 0 ;
15611 PyObject
* obj4
= 0 ;
15612 PyObject
* obj5
= 0 ;
15613 PyObject
* obj6
= 0 ;
15614 PyObject
* obj7
= 0 ;
15615 char *kwnames
[] = {
15616 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
15620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15621 if (SWIG_arg_fail(1)) SWIG_fail
;
15624 arg2
= (int)(SWIG_As_int(obj1
));
15625 if (SWIG_arg_fail(2)) SWIG_fail
;
15630 arg3
= wxString_in_helper(obj2
);
15631 if (arg3
== NULL
) SWIG_fail
;
15638 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15644 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15649 arg6
= (long)(SWIG_As_long(obj5
));
15650 if (SWIG_arg_fail(6)) SWIG_fail
;
15655 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
15656 if (SWIG_arg_fail(7)) SWIG_fail
;
15657 if (arg7
== NULL
) {
15658 SWIG_null_ref("wxValidator");
15660 if (SWIG_arg_fail(7)) SWIG_fail
;
15665 arg8
= wxString_in_helper(obj7
);
15666 if (arg8
== NULL
) SWIG_fail
;
15671 if (!wxPyCheckForApp()) SWIG_fail
;
15672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15673 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
15675 wxPyEndAllowThreads(__tstate
);
15676 if (PyErr_Occurred()) SWIG_fail
;
15678 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
15701 static PyObject
*_wrap_new_PreToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15702 PyObject
*resultobj
;
15703 wxToggleButton
*result
;
15704 char *kwnames
[] = {
15708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
15710 if (!wxPyCheckForApp()) SWIG_fail
;
15711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15712 result
= (wxToggleButton
*)new wxToggleButton();
15714 wxPyEndAllowThreads(__tstate
);
15715 if (PyErr_Occurred()) SWIG_fail
;
15717 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
15724 static PyObject
*_wrap_ToggleButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15725 PyObject
*resultobj
;
15726 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
15727 wxWindow
*arg2
= (wxWindow
*) 0 ;
15728 int arg3
= (int) -1 ;
15729 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15730 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15731 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15732 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15733 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15734 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15735 long arg7
= (long) 0 ;
15736 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
15737 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
15738 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
15739 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
15741 bool temp4
= false ;
15744 bool temp9
= false ;
15745 PyObject
* obj0
= 0 ;
15746 PyObject
* obj1
= 0 ;
15747 PyObject
* obj2
= 0 ;
15748 PyObject
* obj3
= 0 ;
15749 PyObject
* obj4
= 0 ;
15750 PyObject
* obj5
= 0 ;
15751 PyObject
* obj6
= 0 ;
15752 PyObject
* obj7
= 0 ;
15753 PyObject
* obj8
= 0 ;
15754 char *kwnames
[] = {
15755 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
15759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
15760 if (SWIG_arg_fail(1)) SWIG_fail
;
15761 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15762 if (SWIG_arg_fail(2)) SWIG_fail
;
15765 arg3
= (int)(SWIG_As_int(obj2
));
15766 if (SWIG_arg_fail(3)) SWIG_fail
;
15771 arg4
= wxString_in_helper(obj3
);
15772 if (arg4
== NULL
) SWIG_fail
;
15779 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15785 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15790 arg7
= (long)(SWIG_As_long(obj6
));
15791 if (SWIG_arg_fail(7)) SWIG_fail
;
15796 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
15797 if (SWIG_arg_fail(8)) SWIG_fail
;
15798 if (arg8
== NULL
) {
15799 SWIG_null_ref("wxValidator");
15801 if (SWIG_arg_fail(8)) SWIG_fail
;
15806 arg9
= wxString_in_helper(obj8
);
15807 if (arg9
== NULL
) SWIG_fail
;
15812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15813 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
15815 wxPyEndAllowThreads(__tstate
);
15816 if (PyErr_Occurred()) SWIG_fail
;
15819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15843 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15844 PyObject
*resultobj
;
15845 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
15847 PyObject
* obj0
= 0 ;
15848 PyObject
* obj1
= 0 ;
15849 char *kwnames
[] = {
15850 (char *) "self",(char *) "value", NULL
15853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
15854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
15855 if (SWIG_arg_fail(1)) SWIG_fail
;
15857 arg2
= (bool)(SWIG_As_bool(obj1
));
15858 if (SWIG_arg_fail(2)) SWIG_fail
;
15861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15862 (arg1
)->SetValue(arg2
);
15864 wxPyEndAllowThreads(__tstate
);
15865 if (PyErr_Occurred()) SWIG_fail
;
15867 Py_INCREF(Py_None
); resultobj
= Py_None
;
15874 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15875 PyObject
*resultobj
;
15876 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
15878 PyObject
* obj0
= 0 ;
15879 char *kwnames
[] = {
15880 (char *) "self", NULL
15883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
15884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
15885 if (SWIG_arg_fail(1)) SWIG_fail
;
15887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15888 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
15890 wxPyEndAllowThreads(__tstate
);
15891 if (PyErr_Occurred()) SWIG_fail
;
15894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15902 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15903 PyObject
*resultobj
;
15904 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
15905 wxString
*arg2
= 0 ;
15906 bool temp2
= false ;
15907 PyObject
* obj0
= 0 ;
15908 PyObject
* obj1
= 0 ;
15909 char *kwnames
[] = {
15910 (char *) "self",(char *) "label", NULL
15913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
15914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
15915 if (SWIG_arg_fail(1)) SWIG_fail
;
15917 arg2
= wxString_in_helper(obj1
);
15918 if (arg2
== NULL
) SWIG_fail
;
15922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15923 (arg1
)->SetLabel((wxString
const &)*arg2
);
15925 wxPyEndAllowThreads(__tstate
);
15926 if (PyErr_Occurred()) SWIG_fail
;
15928 Py_INCREF(Py_None
); resultobj
= Py_None
;
15943 static PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15944 PyObject
*resultobj
;
15945 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15946 wxVisualAttributes result
;
15947 PyObject
* obj0
= 0 ;
15948 char *kwnames
[] = {
15949 (char *) "variant", NULL
15952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15955 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
15956 if (SWIG_arg_fail(1)) SWIG_fail
;
15960 if (!wxPyCheckForApp()) SWIG_fail
;
15961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15962 result
= wxToggleButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15964 wxPyEndAllowThreads(__tstate
);
15965 if (PyErr_Occurred()) SWIG_fail
;
15968 wxVisualAttributes
* resultptr
;
15969 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
15970 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15978 static PyObject
* ToggleButton_swigregister(PyObject
*, PyObject
*args
) {
15980 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15981 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
15983 return Py_BuildValue((char *)"");
15985 static int _wrap_NotebookNameStr_set(PyObject
*) {
15986 PyErr_SetString(PyExc_TypeError
,"Variable NotebookNameStr is read-only.");
15991 static PyObject
*_wrap_NotebookNameStr_get(void) {
15996 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
15998 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
16005 static PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16006 PyObject
*resultobj
;
16007 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16009 PyObject
* obj0
= 0 ;
16010 char *kwnames
[] = {
16011 (char *) "self", NULL
16014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetPageCount",kwnames
,&obj0
)) goto fail
;
16015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16016 if (SWIG_arg_fail(1)) SWIG_fail
;
16018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16019 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
16021 wxPyEndAllowThreads(__tstate
);
16022 if (PyErr_Occurred()) SWIG_fail
;
16025 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
16033 static PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16034 PyObject
*resultobj
;
16035 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16038 PyObject
* obj0
= 0 ;
16039 PyObject
* obj1
= 0 ;
16040 char *kwnames
[] = {
16041 (char *) "self",(char *) "n", NULL
16044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
16045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16046 if (SWIG_arg_fail(1)) SWIG_fail
;
16048 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16049 if (SWIG_arg_fail(2)) SWIG_fail
;
16052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16053 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
16055 wxPyEndAllowThreads(__tstate
);
16056 if (PyErr_Occurred()) SWIG_fail
;
16059 resultobj
= wxPyMake_wxObject(result
, 0);
16067 static PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16068 PyObject
*resultobj
;
16069 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16071 PyObject
* obj0
= 0 ;
16072 char *kwnames
[] = {
16073 (char *) "self", NULL
16076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
16077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16078 if (SWIG_arg_fail(1)) SWIG_fail
;
16080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16081 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
16083 wxPyEndAllowThreads(__tstate
);
16084 if (PyErr_Occurred()) SWIG_fail
;
16087 resultobj
= wxPyMake_wxObject(result
, 0);
16095 static PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16096 PyObject
*resultobj
;
16097 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16099 PyObject
* obj0
= 0 ;
16100 char *kwnames
[] = {
16101 (char *) "self", NULL
16104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetSelection",kwnames
,&obj0
)) goto fail
;
16105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16106 if (SWIG_arg_fail(1)) SWIG_fail
;
16108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16109 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
16111 wxPyEndAllowThreads(__tstate
);
16112 if (PyErr_Occurred()) SWIG_fail
;
16115 resultobj
= SWIG_From_int((int)(result
));
16123 static PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16124 PyObject
*resultobj
;
16125 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16127 wxString
*arg3
= 0 ;
16129 bool temp3
= false ;
16130 PyObject
* obj0
= 0 ;
16131 PyObject
* obj1
= 0 ;
16132 PyObject
* obj2
= 0 ;
16133 char *kwnames
[] = {
16134 (char *) "self",(char *) "n",(char *) "strText", NULL
16137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16139 if (SWIG_arg_fail(1)) SWIG_fail
;
16141 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16142 if (SWIG_arg_fail(2)) SWIG_fail
;
16145 arg3
= wxString_in_helper(obj2
);
16146 if (arg3
== NULL
) SWIG_fail
;
16150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16151 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
16153 wxPyEndAllowThreads(__tstate
);
16154 if (PyErr_Occurred()) SWIG_fail
;
16157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16173 static PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16174 PyObject
*resultobj
;
16175 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16178 PyObject
* obj0
= 0 ;
16179 PyObject
* obj1
= 0 ;
16180 char *kwnames
[] = {
16181 (char *) "self",(char *) "n", NULL
16184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
16185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16186 if (SWIG_arg_fail(1)) SWIG_fail
;
16188 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16189 if (SWIG_arg_fail(2)) SWIG_fail
;
16192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16193 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
16195 wxPyEndAllowThreads(__tstate
);
16196 if (PyErr_Occurred()) SWIG_fail
;
16200 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16202 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16211 static PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16212 PyObject
*resultobj
;
16213 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16214 wxImageList
*arg2
= (wxImageList
*) 0 ;
16215 PyObject
* obj0
= 0 ;
16216 PyObject
* obj1
= 0 ;
16217 char *kwnames
[] = {
16218 (char *) "self",(char *) "imageList", NULL
16221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
16222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16223 if (SWIG_arg_fail(1)) SWIG_fail
;
16224 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
16225 if (SWIG_arg_fail(2)) SWIG_fail
;
16227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16228 (arg1
)->SetImageList(arg2
);
16230 wxPyEndAllowThreads(__tstate
);
16231 if (PyErr_Occurred()) SWIG_fail
;
16233 Py_INCREF(Py_None
); resultobj
= Py_None
;
16240 static PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16241 PyObject
*resultobj
;
16242 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16243 wxImageList
*arg2
= (wxImageList
*) 0 ;
16244 PyObject
* obj0
= 0 ;
16245 PyObject
* obj1
= 0 ;
16246 char *kwnames
[] = {
16247 (char *) "self",(char *) "imageList", NULL
16250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
16251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16252 if (SWIG_arg_fail(1)) SWIG_fail
;
16253 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
16254 if (SWIG_arg_fail(2)) SWIG_fail
;
16256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16257 (arg1
)->AssignImageList(arg2
);
16259 wxPyEndAllowThreads(__tstate
);
16260 if (PyErr_Occurred()) SWIG_fail
;
16262 Py_INCREF(Py_None
); resultobj
= Py_None
;
16269 static PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16270 PyObject
*resultobj
;
16271 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16272 wxImageList
*result
;
16273 PyObject
* obj0
= 0 ;
16274 char *kwnames
[] = {
16275 (char *) "self", NULL
16278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetImageList",kwnames
,&obj0
)) goto fail
;
16279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16280 if (SWIG_arg_fail(1)) SWIG_fail
;
16282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16283 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
16285 wxPyEndAllowThreads(__tstate
);
16286 if (PyErr_Occurred()) SWIG_fail
;
16289 resultobj
= wxPyMake_wxObject(result
, 0);
16297 static PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16298 PyObject
*resultobj
;
16299 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16302 PyObject
* obj0
= 0 ;
16303 PyObject
* obj1
= 0 ;
16304 char *kwnames
[] = {
16305 (char *) "self",(char *) "n", NULL
16308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
16309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16310 if (SWIG_arg_fail(1)) SWIG_fail
;
16312 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16313 if (SWIG_arg_fail(2)) SWIG_fail
;
16316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16317 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
16319 wxPyEndAllowThreads(__tstate
);
16320 if (PyErr_Occurred()) SWIG_fail
;
16323 resultobj
= SWIG_From_int((int)(result
));
16331 static PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16332 PyObject
*resultobj
;
16333 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16337 PyObject
* obj0
= 0 ;
16338 PyObject
* obj1
= 0 ;
16339 PyObject
* obj2
= 0 ;
16340 char *kwnames
[] = {
16341 (char *) "self",(char *) "n",(char *) "imageId", NULL
16344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16346 if (SWIG_arg_fail(1)) SWIG_fail
;
16348 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16349 if (SWIG_arg_fail(2)) SWIG_fail
;
16352 arg3
= (int)(SWIG_As_int(obj2
));
16353 if (SWIG_arg_fail(3)) SWIG_fail
;
16356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16357 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
16359 wxPyEndAllowThreads(__tstate
);
16360 if (PyErr_Occurred()) SWIG_fail
;
16363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16371 static PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16372 PyObject
*resultobj
;
16373 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16376 PyObject
* obj0
= 0 ;
16377 PyObject
* obj1
= 0 ;
16378 char *kwnames
[] = {
16379 (char *) "self",(char *) "size", NULL
16382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16384 if (SWIG_arg_fail(1)) SWIG_fail
;
16387 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16391 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
16393 wxPyEndAllowThreads(__tstate
);
16394 if (PyErr_Occurred()) SWIG_fail
;
16396 Py_INCREF(Py_None
); resultobj
= Py_None
;
16403 static PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16404 PyObject
*resultobj
;
16405 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16409 PyObject
* obj0
= 0 ;
16410 PyObject
* obj1
= 0 ;
16411 char *kwnames
[] = {
16412 (char *) "self",(char *) "sizePage", NULL
16415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
16416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16417 if (SWIG_arg_fail(1)) SWIG_fail
;
16420 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16424 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
16426 wxPyEndAllowThreads(__tstate
);
16427 if (PyErr_Occurred()) SWIG_fail
;
16430 wxSize
* resultptr
;
16431 resultptr
= new wxSize((wxSize
&)(result
));
16432 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16440 static PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16441 PyObject
*resultobj
;
16442 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16445 PyObject
* obj0
= 0 ;
16446 PyObject
* obj1
= 0 ;
16447 char *kwnames
[] = {
16448 (char *) "self",(char *) "n", NULL
16451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
16452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16453 if (SWIG_arg_fail(1)) SWIG_fail
;
16455 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16456 if (SWIG_arg_fail(2)) SWIG_fail
;
16459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16460 result
= (bool)(arg1
)->DeletePage(arg2
);
16462 wxPyEndAllowThreads(__tstate
);
16463 if (PyErr_Occurred()) SWIG_fail
;
16466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16474 static PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16475 PyObject
*resultobj
;
16476 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16479 PyObject
* obj0
= 0 ;
16480 PyObject
* obj1
= 0 ;
16481 char *kwnames
[] = {
16482 (char *) "self",(char *) "n", NULL
16485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
16486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16487 if (SWIG_arg_fail(1)) SWIG_fail
;
16489 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16490 if (SWIG_arg_fail(2)) SWIG_fail
;
16493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16494 result
= (bool)(arg1
)->RemovePage(arg2
);
16496 wxPyEndAllowThreads(__tstate
);
16497 if (PyErr_Occurred()) SWIG_fail
;
16500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16508 static PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16509 PyObject
*resultobj
;
16510 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16512 PyObject
* obj0
= 0 ;
16513 char *kwnames
[] = {
16514 (char *) "self", NULL
16517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
16518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16519 if (SWIG_arg_fail(1)) SWIG_fail
;
16521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16522 result
= (bool)(arg1
)->DeleteAllPages();
16524 wxPyEndAllowThreads(__tstate
);
16525 if (PyErr_Occurred()) SWIG_fail
;
16528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16536 static PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16537 PyObject
*resultobj
;
16538 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16539 wxWindow
*arg2
= (wxWindow
*) 0 ;
16540 wxString
*arg3
= 0 ;
16541 bool arg4
= (bool) false ;
16542 int arg5
= (int) -1 ;
16544 bool temp3
= false ;
16545 PyObject
* obj0
= 0 ;
16546 PyObject
* obj1
= 0 ;
16547 PyObject
* obj2
= 0 ;
16548 PyObject
* obj3
= 0 ;
16549 PyObject
* obj4
= 0 ;
16550 char *kwnames
[] = {
16551 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16556 if (SWIG_arg_fail(1)) SWIG_fail
;
16557 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16558 if (SWIG_arg_fail(2)) SWIG_fail
;
16560 arg3
= wxString_in_helper(obj2
);
16561 if (arg3
== NULL
) SWIG_fail
;
16566 arg4
= (bool)(SWIG_As_bool(obj3
));
16567 if (SWIG_arg_fail(4)) SWIG_fail
;
16572 arg5
= (int)(SWIG_As_int(obj4
));
16573 if (SWIG_arg_fail(5)) SWIG_fail
;
16577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16578 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
16580 wxPyEndAllowThreads(__tstate
);
16581 if (PyErr_Occurred()) SWIG_fail
;
16584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16600 static PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16601 PyObject
*resultobj
;
16602 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16604 wxWindow
*arg3
= (wxWindow
*) 0 ;
16605 wxString
*arg4
= 0 ;
16606 bool arg5
= (bool) false ;
16607 int arg6
= (int) -1 ;
16609 bool temp4
= false ;
16610 PyObject
* obj0
= 0 ;
16611 PyObject
* obj1
= 0 ;
16612 PyObject
* obj2
= 0 ;
16613 PyObject
* obj3
= 0 ;
16614 PyObject
* obj4
= 0 ;
16615 PyObject
* obj5
= 0 ;
16616 char *kwnames
[] = {
16617 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16622 if (SWIG_arg_fail(1)) SWIG_fail
;
16624 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16625 if (SWIG_arg_fail(2)) SWIG_fail
;
16627 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16628 if (SWIG_arg_fail(3)) SWIG_fail
;
16630 arg4
= wxString_in_helper(obj3
);
16631 if (arg4
== NULL
) SWIG_fail
;
16636 arg5
= (bool)(SWIG_As_bool(obj4
));
16637 if (SWIG_arg_fail(5)) SWIG_fail
;
16642 arg6
= (int)(SWIG_As_int(obj5
));
16643 if (SWIG_arg_fail(6)) SWIG_fail
;
16647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16648 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16650 wxPyEndAllowThreads(__tstate
);
16651 if (PyErr_Occurred()) SWIG_fail
;
16654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16670 static PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16671 PyObject
*resultobj
;
16672 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16675 PyObject
* obj0
= 0 ;
16676 PyObject
* obj1
= 0 ;
16677 char *kwnames
[] = {
16678 (char *) "self",(char *) "n", NULL
16681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16683 if (SWIG_arg_fail(1)) SWIG_fail
;
16685 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16686 if (SWIG_arg_fail(2)) SWIG_fail
;
16689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16690 result
= (int)(arg1
)->SetSelection(arg2
);
16692 wxPyEndAllowThreads(__tstate
);
16693 if (PyErr_Occurred()) SWIG_fail
;
16696 resultobj
= SWIG_From_int((int)(result
));
16704 static PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16705 PyObject
*resultobj
;
16706 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16707 bool arg2
= (bool) true ;
16708 PyObject
* obj0
= 0 ;
16709 PyObject
* obj1
= 0 ;
16710 char *kwnames
[] = {
16711 (char *) "self",(char *) "forward", NULL
16714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16716 if (SWIG_arg_fail(1)) SWIG_fail
;
16719 arg2
= (bool)(SWIG_As_bool(obj1
));
16720 if (SWIG_arg_fail(2)) SWIG_fail
;
16724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16725 (arg1
)->AdvanceSelection(arg2
);
16727 wxPyEndAllowThreads(__tstate
);
16728 if (PyErr_Occurred()) SWIG_fail
;
16730 Py_INCREF(Py_None
); resultobj
= Py_None
;
16737 static PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16738 PyObject
*resultobj
;
16739 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16740 wxVisualAttributes result
;
16741 PyObject
* obj0
= 0 ;
16742 char *kwnames
[] = {
16743 (char *) "variant", NULL
16746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16749 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
16750 if (SWIG_arg_fail(1)) SWIG_fail
;
16754 if (!wxPyCheckForApp()) SWIG_fail
;
16755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16756 result
= wxBookCtrlBase::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
16758 wxPyEndAllowThreads(__tstate
);
16759 if (PyErr_Occurred()) SWIG_fail
;
16762 wxVisualAttributes
* resultptr
;
16763 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
16764 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16772 static PyObject
* BookCtrlBase_swigregister(PyObject
*, PyObject
*args
) {
16774 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16775 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBase
, obj
);
16777 return Py_BuildValue((char *)"");
16779 static PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16780 PyObject
*resultobj
;
16781 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16782 int arg2
= (int) 0 ;
16783 int arg3
= (int) -1 ;
16784 int arg4
= (int) -1 ;
16785 wxBookCtrlBaseEvent
*result
;
16786 PyObject
* obj0
= 0 ;
16787 PyObject
* obj1
= 0 ;
16788 PyObject
* obj2
= 0 ;
16789 PyObject
* obj3
= 0 ;
16790 char *kwnames
[] = {
16791 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
16794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16797 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16798 if (SWIG_arg_fail(1)) SWIG_fail
;
16803 arg2
= (int)(SWIG_As_int(obj1
));
16804 if (SWIG_arg_fail(2)) SWIG_fail
;
16809 arg3
= (int)(SWIG_As_int(obj2
));
16810 if (SWIG_arg_fail(3)) SWIG_fail
;
16815 arg4
= (int)(SWIG_As_int(obj3
));
16816 if (SWIG_arg_fail(4)) SWIG_fail
;
16820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16821 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
16823 wxPyEndAllowThreads(__tstate
);
16824 if (PyErr_Occurred()) SWIG_fail
;
16826 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, 1);
16833 static PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16834 PyObject
*resultobj
;
16835 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
16837 PyObject
* obj0
= 0 ;
16838 char *kwnames
[] = {
16839 (char *) "self", NULL
16842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
16843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16844 if (SWIG_arg_fail(1)) SWIG_fail
;
16846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16847 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
16849 wxPyEndAllowThreads(__tstate
);
16850 if (PyErr_Occurred()) SWIG_fail
;
16853 resultobj
= SWIG_From_int((int)(result
));
16861 static PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16862 PyObject
*resultobj
;
16863 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
16865 PyObject
* obj0
= 0 ;
16866 PyObject
* obj1
= 0 ;
16867 char *kwnames
[] = {
16868 (char *) "self",(char *) "nSel", NULL
16871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16873 if (SWIG_arg_fail(1)) SWIG_fail
;
16875 arg2
= (int)(SWIG_As_int(obj1
));
16876 if (SWIG_arg_fail(2)) SWIG_fail
;
16879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16880 (arg1
)->SetSelection(arg2
);
16882 wxPyEndAllowThreads(__tstate
);
16883 if (PyErr_Occurred()) SWIG_fail
;
16885 Py_INCREF(Py_None
); resultobj
= Py_None
;
16892 static PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16893 PyObject
*resultobj
;
16894 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
16896 PyObject
* obj0
= 0 ;
16897 char *kwnames
[] = {
16898 (char *) "self", NULL
16901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
16902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16903 if (SWIG_arg_fail(1)) SWIG_fail
;
16905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16906 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
16908 wxPyEndAllowThreads(__tstate
);
16909 if (PyErr_Occurred()) SWIG_fail
;
16912 resultobj
= SWIG_From_int((int)(result
));
16920 static PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16921 PyObject
*resultobj
;
16922 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
16924 PyObject
* obj0
= 0 ;
16925 PyObject
* obj1
= 0 ;
16926 char *kwnames
[] = {
16927 (char *) "self",(char *) "nOldSel", NULL
16930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16932 if (SWIG_arg_fail(1)) SWIG_fail
;
16934 arg2
= (int)(SWIG_As_int(obj1
));
16935 if (SWIG_arg_fail(2)) SWIG_fail
;
16938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16939 (arg1
)->SetOldSelection(arg2
);
16941 wxPyEndAllowThreads(__tstate
);
16942 if (PyErr_Occurred()) SWIG_fail
;
16944 Py_INCREF(Py_None
); resultobj
= Py_None
;
16951 static PyObject
* BookCtrlBaseEvent_swigregister(PyObject
*, PyObject
*args
) {
16953 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16954 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, obj
);
16956 return Py_BuildValue((char *)"");
16958 static PyObject
*_wrap_new_Notebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16959 PyObject
*resultobj
;
16960 wxWindow
*arg1
= (wxWindow
*) 0 ;
16961 int arg2
= (int) -1 ;
16962 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16963 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16964 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16965 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16966 long arg5
= (long) 0 ;
16967 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
16968 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16969 wxNotebook
*result
;
16972 bool temp6
= false ;
16973 PyObject
* obj0
= 0 ;
16974 PyObject
* obj1
= 0 ;
16975 PyObject
* obj2
= 0 ;
16976 PyObject
* obj3
= 0 ;
16977 PyObject
* obj4
= 0 ;
16978 PyObject
* obj5
= 0 ;
16979 char *kwnames
[] = {
16980 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16985 if (SWIG_arg_fail(1)) SWIG_fail
;
16988 arg2
= (int)(SWIG_As_int(obj1
));
16989 if (SWIG_arg_fail(2)) SWIG_fail
;
16995 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17001 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17006 arg5
= (long)(SWIG_As_long(obj4
));
17007 if (SWIG_arg_fail(5)) SWIG_fail
;
17012 arg6
= wxString_in_helper(obj5
);
17013 if (arg6
== NULL
) SWIG_fail
;
17018 if (!wxPyCheckForApp()) SWIG_fail
;
17019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17020 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17022 wxPyEndAllowThreads(__tstate
);
17023 if (PyErr_Occurred()) SWIG_fail
;
17025 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
17040 static PyObject
*_wrap_new_PreNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17041 PyObject
*resultobj
;
17042 wxNotebook
*result
;
17043 char *kwnames
[] = {
17047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
17049 if (!wxPyCheckForApp()) SWIG_fail
;
17050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17051 result
= (wxNotebook
*)new wxNotebook();
17053 wxPyEndAllowThreads(__tstate
);
17054 if (PyErr_Occurred()) SWIG_fail
;
17056 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
17063 static PyObject
*_wrap_Notebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17064 PyObject
*resultobj
;
17065 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17066 wxWindow
*arg2
= (wxWindow
*) 0 ;
17067 int arg3
= (int) -1 ;
17068 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17069 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17070 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17071 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17072 long arg6
= (long) 0 ;
17073 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
17074 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17078 bool temp7
= false ;
17079 PyObject
* obj0
= 0 ;
17080 PyObject
* obj1
= 0 ;
17081 PyObject
* obj2
= 0 ;
17082 PyObject
* obj3
= 0 ;
17083 PyObject
* obj4
= 0 ;
17084 PyObject
* obj5
= 0 ;
17085 PyObject
* obj6
= 0 ;
17086 char *kwnames
[] = {
17087 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17092 if (SWIG_arg_fail(1)) SWIG_fail
;
17093 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17094 if (SWIG_arg_fail(2)) SWIG_fail
;
17097 arg3
= (int)(SWIG_As_int(obj2
));
17098 if (SWIG_arg_fail(3)) SWIG_fail
;
17104 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17110 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17115 arg6
= (long)(SWIG_As_long(obj5
));
17116 if (SWIG_arg_fail(6)) SWIG_fail
;
17121 arg7
= wxString_in_helper(obj6
);
17122 if (arg7
== NULL
) SWIG_fail
;
17127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17128 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17130 wxPyEndAllowThreads(__tstate
);
17131 if (PyErr_Occurred()) SWIG_fail
;
17134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17150 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17151 PyObject
*resultobj
;
17152 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17154 PyObject
* obj0
= 0 ;
17155 char *kwnames
[] = {
17156 (char *) "self", NULL
17159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
17160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17161 if (SWIG_arg_fail(1)) SWIG_fail
;
17163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17164 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
17166 wxPyEndAllowThreads(__tstate
);
17167 if (PyErr_Occurred()) SWIG_fail
;
17170 resultobj
= SWIG_From_int((int)(result
));
17178 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17179 PyObject
*resultobj
;
17180 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17183 PyObject
* obj0
= 0 ;
17184 PyObject
* obj1
= 0 ;
17185 char *kwnames
[] = {
17186 (char *) "self",(char *) "padding", NULL
17189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
17190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17191 if (SWIG_arg_fail(1)) SWIG_fail
;
17194 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17198 (arg1
)->SetPadding((wxSize
const &)*arg2
);
17200 wxPyEndAllowThreads(__tstate
);
17201 if (PyErr_Occurred()) SWIG_fail
;
17203 Py_INCREF(Py_None
); resultobj
= Py_None
;
17210 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17211 PyObject
*resultobj
;
17212 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17215 PyObject
* obj0
= 0 ;
17216 PyObject
* obj1
= 0 ;
17217 char *kwnames
[] = {
17218 (char *) "self",(char *) "sz", NULL
17221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17223 if (SWIG_arg_fail(1)) SWIG_fail
;
17226 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17230 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
17232 wxPyEndAllowThreads(__tstate
);
17233 if (PyErr_Occurred()) SWIG_fail
;
17235 Py_INCREF(Py_None
); resultobj
= Py_None
;
17242 static PyObject
*_wrap_Notebook_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17243 PyObject
*resultobj
;
17244 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17245 wxPoint
*arg2
= 0 ;
17246 long *arg3
= (long *) 0 ;
17251 PyObject
* obj0
= 0 ;
17252 PyObject
* obj1
= 0 ;
17253 char *kwnames
[] = {
17254 (char *) "self",(char *) "pt", NULL
17257 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
17259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17260 if (SWIG_arg_fail(1)) SWIG_fail
;
17263 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17267 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
17269 wxPyEndAllowThreads(__tstate
);
17270 if (PyErr_Occurred()) SWIG_fail
;
17273 resultobj
= SWIG_From_int((int)(result
));
17275 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17276 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
17283 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17284 PyObject
*resultobj
;
17285 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17289 PyObject
* obj0
= 0 ;
17290 PyObject
* obj1
= 0 ;
17291 char *kwnames
[] = {
17292 (char *) "self",(char *) "sizePage", NULL
17295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
17296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17297 if (SWIG_arg_fail(1)) SWIG_fail
;
17300 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17304 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
17306 wxPyEndAllowThreads(__tstate
);
17307 if (PyErr_Occurred()) SWIG_fail
;
17310 wxSize
* resultptr
;
17311 resultptr
= new wxSize((wxSize
&)(result
));
17312 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17320 static PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17321 PyObject
*resultobj
;
17322 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17324 PyObject
* obj0
= 0 ;
17325 char *kwnames
[] = {
17326 (char *) "self", NULL
17329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetThemeBackgroundColour",kwnames
,&obj0
)) goto fail
;
17330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17331 if (SWIG_arg_fail(1)) SWIG_fail
;
17333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17334 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
17336 wxPyEndAllowThreads(__tstate
);
17337 if (PyErr_Occurred()) SWIG_fail
;
17340 wxColour
* resultptr
;
17341 resultptr
= new wxColour((wxColour
&)(result
));
17342 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17350 static PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17351 PyObject
*resultobj
;
17352 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17353 wxVisualAttributes result
;
17354 PyObject
* obj0
= 0 ;
17355 char *kwnames
[] = {
17356 (char *) "variant", NULL
17359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17362 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
17363 if (SWIG_arg_fail(1)) SWIG_fail
;
17367 if (!wxPyCheckForApp()) SWIG_fail
;
17368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17369 result
= wxNotebook::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
17371 wxPyEndAllowThreads(__tstate
);
17372 if (PyErr_Occurred()) SWIG_fail
;
17375 wxVisualAttributes
* resultptr
;
17376 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
17377 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17385 static PyObject
* Notebook_swigregister(PyObject
*, PyObject
*args
) {
17387 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17388 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
17390 return Py_BuildValue((char *)"");
17392 static PyObject
*_wrap_new_NotebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17393 PyObject
*resultobj
;
17394 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17395 int arg2
= (int) 0 ;
17396 int arg3
= (int) -1 ;
17397 int arg4
= (int) -1 ;
17398 wxNotebookEvent
*result
;
17399 PyObject
* obj0
= 0 ;
17400 PyObject
* obj1
= 0 ;
17401 PyObject
* obj2
= 0 ;
17402 PyObject
* obj3
= 0 ;
17403 char *kwnames
[] = {
17404 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17410 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17411 if (SWIG_arg_fail(1)) SWIG_fail
;
17416 arg2
= (int)(SWIG_As_int(obj1
));
17417 if (SWIG_arg_fail(2)) SWIG_fail
;
17422 arg3
= (int)(SWIG_As_int(obj2
));
17423 if (SWIG_arg_fail(3)) SWIG_fail
;
17428 arg4
= (int)(SWIG_As_int(obj3
));
17429 if (SWIG_arg_fail(4)) SWIG_fail
;
17433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17434 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
17436 wxPyEndAllowThreads(__tstate
);
17437 if (PyErr_Occurred()) SWIG_fail
;
17439 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
17446 static PyObject
* NotebookEvent_swigregister(PyObject
*, PyObject
*args
) {
17448 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17449 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
17451 return Py_BuildValue((char *)"");
17453 static PyObject
*_wrap_new_Listbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17454 PyObject
*resultobj
;
17455 wxWindow
*arg1
= (wxWindow
*) 0 ;
17456 int arg2
= (int) -1 ;
17457 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17458 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17459 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17460 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17461 long arg5
= (long) 0 ;
17462 wxString
const &arg6_defvalue
= wxPyEmptyString
;
17463 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17464 wxListbook
*result
;
17467 bool temp6
= false ;
17468 PyObject
* obj0
= 0 ;
17469 PyObject
* obj1
= 0 ;
17470 PyObject
* obj2
= 0 ;
17471 PyObject
* obj3
= 0 ;
17472 PyObject
* obj4
= 0 ;
17473 PyObject
* obj5
= 0 ;
17474 char *kwnames
[] = {
17475 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17480 if (SWIG_arg_fail(1)) SWIG_fail
;
17483 arg2
= (int)(SWIG_As_int(obj1
));
17484 if (SWIG_arg_fail(2)) SWIG_fail
;
17490 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17496 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17501 arg5
= (long)(SWIG_As_long(obj4
));
17502 if (SWIG_arg_fail(5)) SWIG_fail
;
17507 arg6
= wxString_in_helper(obj5
);
17508 if (arg6
== NULL
) SWIG_fail
;
17513 if (!wxPyCheckForApp()) SWIG_fail
;
17514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17515 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17517 wxPyEndAllowThreads(__tstate
);
17518 if (PyErr_Occurred()) SWIG_fail
;
17520 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
17535 static PyObject
*_wrap_new_PreListbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17536 PyObject
*resultobj
;
17537 wxListbook
*result
;
17538 char *kwnames
[] = {
17542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
17544 if (!wxPyCheckForApp()) SWIG_fail
;
17545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17546 result
= (wxListbook
*)new wxListbook();
17548 wxPyEndAllowThreads(__tstate
);
17549 if (PyErr_Occurred()) SWIG_fail
;
17551 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
17558 static PyObject
*_wrap_Listbook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17559 PyObject
*resultobj
;
17560 wxListbook
*arg1
= (wxListbook
*) 0 ;
17561 wxWindow
*arg2
= (wxWindow
*) 0 ;
17562 int arg3
= (int) -1 ;
17563 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17564 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17565 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17566 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17567 long arg6
= (long) 0 ;
17568 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17569 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17573 bool temp7
= false ;
17574 PyObject
* obj0
= 0 ;
17575 PyObject
* obj1
= 0 ;
17576 PyObject
* obj2
= 0 ;
17577 PyObject
* obj3
= 0 ;
17578 PyObject
* obj4
= 0 ;
17579 PyObject
* obj5
= 0 ;
17580 PyObject
* obj6
= 0 ;
17581 char *kwnames
[] = {
17582 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17587 if (SWIG_arg_fail(1)) SWIG_fail
;
17588 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17589 if (SWIG_arg_fail(2)) SWIG_fail
;
17592 arg3
= (int)(SWIG_As_int(obj2
));
17593 if (SWIG_arg_fail(3)) SWIG_fail
;
17599 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17605 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17610 arg6
= (long)(SWIG_As_long(obj5
));
17611 if (SWIG_arg_fail(6)) SWIG_fail
;
17616 arg7
= wxString_in_helper(obj6
);
17617 if (arg7
== NULL
) SWIG_fail
;
17622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17623 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17625 wxPyEndAllowThreads(__tstate
);
17626 if (PyErr_Occurred()) SWIG_fail
;
17629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17645 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17646 PyObject
*resultobj
;
17647 wxListbook
*arg1
= (wxListbook
*) 0 ;
17649 PyObject
* obj0
= 0 ;
17650 char *kwnames
[] = {
17651 (char *) "self", NULL
17654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
17655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17656 if (SWIG_arg_fail(1)) SWIG_fail
;
17658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17659 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
17661 wxPyEndAllowThreads(__tstate
);
17662 if (PyErr_Occurred()) SWIG_fail
;
17665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17673 static PyObject
*_wrap_Listbook_GetListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17674 PyObject
*resultobj
;
17675 wxListbook
*arg1
= (wxListbook
*) 0 ;
17676 wxListView
*result
;
17677 PyObject
* obj0
= 0 ;
17678 char *kwnames
[] = {
17679 (char *) "self", NULL
17682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_GetListView",kwnames
,&obj0
)) goto fail
;
17683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17684 if (SWIG_arg_fail(1)) SWIG_fail
;
17686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17687 result
= (wxListView
*)(arg1
)->GetListView();
17689 wxPyEndAllowThreads(__tstate
);
17690 if (PyErr_Occurred()) SWIG_fail
;
17692 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 0);
17699 static PyObject
* Listbook_swigregister(PyObject
*, PyObject
*args
) {
17701 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17702 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
17704 return Py_BuildValue((char *)"");
17706 static PyObject
*_wrap_new_ListbookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17707 PyObject
*resultobj
;
17708 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17709 int arg2
= (int) 0 ;
17710 int arg3
= (int) -1 ;
17711 int arg4
= (int) -1 ;
17712 wxListbookEvent
*result
;
17713 PyObject
* obj0
= 0 ;
17714 PyObject
* obj1
= 0 ;
17715 PyObject
* obj2
= 0 ;
17716 PyObject
* obj3
= 0 ;
17717 char *kwnames
[] = {
17718 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17724 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17725 if (SWIG_arg_fail(1)) SWIG_fail
;
17730 arg2
= (int)(SWIG_As_int(obj1
));
17731 if (SWIG_arg_fail(2)) SWIG_fail
;
17736 arg3
= (int)(SWIG_As_int(obj2
));
17737 if (SWIG_arg_fail(3)) SWIG_fail
;
17742 arg4
= (int)(SWIG_As_int(obj3
));
17743 if (SWIG_arg_fail(4)) SWIG_fail
;
17747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17748 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
17750 wxPyEndAllowThreads(__tstate
);
17751 if (PyErr_Occurred()) SWIG_fail
;
17753 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
17760 static PyObject
* ListbookEvent_swigregister(PyObject
*, PyObject
*args
) {
17762 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17763 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
17765 return Py_BuildValue((char *)"");
17767 static PyObject
*_wrap_new_Choicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17768 PyObject
*resultobj
;
17769 wxWindow
*arg1
= (wxWindow
*) 0 ;
17771 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17772 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17773 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17774 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17775 long arg5
= (long) 0 ;
17776 wxString
const &arg6_defvalue
= wxPyEmptyString
;
17777 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17778 wxChoicebook
*result
;
17781 bool temp6
= false ;
17782 PyObject
* obj0
= 0 ;
17783 PyObject
* obj1
= 0 ;
17784 PyObject
* obj2
= 0 ;
17785 PyObject
* obj3
= 0 ;
17786 PyObject
* obj4
= 0 ;
17787 PyObject
* obj5
= 0 ;
17788 char *kwnames
[] = {
17789 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17794 if (SWIG_arg_fail(1)) SWIG_fail
;
17796 arg2
= (int)(SWIG_As_int(obj1
));
17797 if (SWIG_arg_fail(2)) SWIG_fail
;
17802 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17808 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17813 arg5
= (long)(SWIG_As_long(obj4
));
17814 if (SWIG_arg_fail(5)) SWIG_fail
;
17819 arg6
= wxString_in_helper(obj5
);
17820 if (arg6
== NULL
) SWIG_fail
;
17825 if (!wxPyCheckForApp()) SWIG_fail
;
17826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17827 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17829 wxPyEndAllowThreads(__tstate
);
17830 if (PyErr_Occurred()) SWIG_fail
;
17832 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
17847 static PyObject
*_wrap_new_PreChoicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17848 PyObject
*resultobj
;
17849 wxChoicebook
*result
;
17850 char *kwnames
[] = {
17854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoicebook",kwnames
)) goto fail
;
17856 if (!wxPyCheckForApp()) SWIG_fail
;
17857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17858 result
= (wxChoicebook
*)new wxChoicebook();
17860 wxPyEndAllowThreads(__tstate
);
17861 if (PyErr_Occurred()) SWIG_fail
;
17863 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
17870 static PyObject
*_wrap_Choicebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17871 PyObject
*resultobj
;
17872 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
17873 wxWindow
*arg2
= (wxWindow
*) 0 ;
17875 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17876 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17877 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17878 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17879 long arg6
= (long) 0 ;
17880 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17881 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17885 bool temp7
= false ;
17886 PyObject
* obj0
= 0 ;
17887 PyObject
* obj1
= 0 ;
17888 PyObject
* obj2
= 0 ;
17889 PyObject
* obj3
= 0 ;
17890 PyObject
* obj4
= 0 ;
17891 PyObject
* obj5
= 0 ;
17892 PyObject
* obj6
= 0 ;
17893 char *kwnames
[] = {
17894 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
17899 if (SWIG_arg_fail(1)) SWIG_fail
;
17900 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17901 if (SWIG_arg_fail(2)) SWIG_fail
;
17903 arg3
= (int)(SWIG_As_int(obj2
));
17904 if (SWIG_arg_fail(3)) SWIG_fail
;
17909 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17915 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17920 arg6
= (long)(SWIG_As_long(obj5
));
17921 if (SWIG_arg_fail(6)) SWIG_fail
;
17926 arg7
= wxString_in_helper(obj6
);
17927 if (arg7
== NULL
) SWIG_fail
;
17932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17933 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17935 wxPyEndAllowThreads(__tstate
);
17936 if (PyErr_Occurred()) SWIG_fail
;
17939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17955 static PyObject
*_wrap_Choicebook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17956 PyObject
*resultobj
;
17957 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
17959 PyObject
* obj0
= 0 ;
17960 char *kwnames
[] = {
17961 (char *) "self", NULL
17964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_IsVertical",kwnames
,&obj0
)) goto fail
;
17965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
17966 if (SWIG_arg_fail(1)) SWIG_fail
;
17968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17969 result
= (bool)((wxChoicebook
const *)arg1
)->IsVertical();
17971 wxPyEndAllowThreads(__tstate
);
17972 if (PyErr_Occurred()) SWIG_fail
;
17975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17983 static PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17984 PyObject
*resultobj
;
17985 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
17987 PyObject
* obj0
= 0 ;
17988 char *kwnames
[] = {
17989 (char *) "self", NULL
17992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_GetChoiceCtrl",kwnames
,&obj0
)) goto fail
;
17993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
17994 if (SWIG_arg_fail(1)) SWIG_fail
;
17996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17997 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
17999 wxPyEndAllowThreads(__tstate
);
18000 if (PyErr_Occurred()) SWIG_fail
;
18002 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 0);
18009 static PyObject
*_wrap_Choicebook_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18010 PyObject
*resultobj
;
18011 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18013 PyObject
* obj0
= 0 ;
18014 char *kwnames
[] = {
18015 (char *) "self", NULL
18018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
18019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18020 if (SWIG_arg_fail(1)) SWIG_fail
;
18022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18023 result
= (bool)(arg1
)->DeleteAllPages();
18025 wxPyEndAllowThreads(__tstate
);
18026 if (PyErr_Occurred()) SWIG_fail
;
18029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18037 static PyObject
* Choicebook_swigregister(PyObject
*, PyObject
*args
) {
18039 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18040 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook
, obj
);
18042 return Py_BuildValue((char *)"");
18044 static PyObject
*_wrap_new_ChoicebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18045 PyObject
*resultobj
;
18046 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18047 int arg2
= (int) 0 ;
18048 int arg3
= (int) -1 ;
18049 int arg4
= (int) -1 ;
18050 wxChoicebookEvent
*result
;
18051 PyObject
* obj0
= 0 ;
18052 PyObject
* obj1
= 0 ;
18053 PyObject
* obj2
= 0 ;
18054 PyObject
* obj3
= 0 ;
18055 char *kwnames
[] = {
18056 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18062 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
18063 if (SWIG_arg_fail(1)) SWIG_fail
;
18068 arg2
= (int)(SWIG_As_int(obj1
));
18069 if (SWIG_arg_fail(2)) SWIG_fail
;
18074 arg3
= (int)(SWIG_As_int(obj2
));
18075 if (SWIG_arg_fail(3)) SWIG_fail
;
18080 arg4
= (int)(SWIG_As_int(obj3
));
18081 if (SWIG_arg_fail(4)) SWIG_fail
;
18085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18086 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
18088 wxPyEndAllowThreads(__tstate
);
18089 if (PyErr_Occurred()) SWIG_fail
;
18091 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebookEvent
, 1);
18098 static PyObject
* ChoicebookEvent_swigregister(PyObject
*, PyObject
*args
) {
18100 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18101 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent
, obj
);
18103 return Py_BuildValue((char *)"");
18105 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18106 PyObject
*resultobj
;
18107 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18108 wxBookCtrlSizer
*result
;
18109 PyObject
* obj0
= 0 ;
18110 char *kwnames
[] = {
18111 (char *) "nb", NULL
18114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
18115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
18116 if (SWIG_arg_fail(1)) SWIG_fail
;
18118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18119 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
18121 wxPyEndAllowThreads(__tstate
);
18122 if (PyErr_Occurred()) SWIG_fail
;
18124 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
18131 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18132 PyObject
*resultobj
;
18133 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
18134 PyObject
* obj0
= 0 ;
18135 char *kwnames
[] = {
18136 (char *) "self", NULL
18139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
18140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION
| 0);
18141 if (SWIG_arg_fail(1)) SWIG_fail
;
18143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18144 (arg1
)->RecalcSizes();
18146 wxPyEndAllowThreads(__tstate
);
18147 if (PyErr_Occurred()) SWIG_fail
;
18149 Py_INCREF(Py_None
); resultobj
= Py_None
;
18156 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18157 PyObject
*resultobj
;
18158 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
18160 PyObject
* obj0
= 0 ;
18161 char *kwnames
[] = {
18162 (char *) "self", NULL
18165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
18166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION
| 0);
18167 if (SWIG_arg_fail(1)) SWIG_fail
;
18169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18170 result
= (arg1
)->CalcMin();
18172 wxPyEndAllowThreads(__tstate
);
18173 if (PyErr_Occurred()) SWIG_fail
;
18176 wxSize
* resultptr
;
18177 resultptr
= new wxSize((wxSize
&)(result
));
18178 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18186 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18187 PyObject
*resultobj
;
18188 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
18189 wxBookCtrlBase
*result
;
18190 PyObject
* obj0
= 0 ;
18191 char *kwnames
[] = {
18192 (char *) "self", NULL
18195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
18196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION
| 0);
18197 if (SWIG_arg_fail(1)) SWIG_fail
;
18199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18200 result
= (wxBookCtrlBase
*)(arg1
)->GetControl();
18202 wxPyEndAllowThreads(__tstate
);
18203 if (PyErr_Occurred()) SWIG_fail
;
18205 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlBase
, 0);
18212 static PyObject
* BookCtrlSizer_swigregister(PyObject
*, PyObject
*args
) {
18214 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18215 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
18217 return Py_BuildValue((char *)"");
18219 static PyObject
*_wrap_new_NotebookSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18220 PyObject
*resultobj
;
18221 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
18222 wxNotebookSizer
*result
;
18223 PyObject
* obj0
= 0 ;
18224 char *kwnames
[] = {
18225 (char *) "nb", NULL
18228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
18229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
18230 if (SWIG_arg_fail(1)) SWIG_fail
;
18232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18233 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
18235 wxPyEndAllowThreads(__tstate
);
18236 if (PyErr_Occurred()) SWIG_fail
;
18238 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
18245 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18246 PyObject
*resultobj
;
18247 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
18248 PyObject
* obj0
= 0 ;
18249 char *kwnames
[] = {
18250 (char *) "self", NULL
18253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
18254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION
| 0);
18255 if (SWIG_arg_fail(1)) SWIG_fail
;
18257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18258 (arg1
)->RecalcSizes();
18260 wxPyEndAllowThreads(__tstate
);
18261 if (PyErr_Occurred()) SWIG_fail
;
18263 Py_INCREF(Py_None
); resultobj
= Py_None
;
18270 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18271 PyObject
*resultobj
;
18272 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
18274 PyObject
* obj0
= 0 ;
18275 char *kwnames
[] = {
18276 (char *) "self", NULL
18279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
18280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION
| 0);
18281 if (SWIG_arg_fail(1)) SWIG_fail
;
18283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18284 result
= (arg1
)->CalcMin();
18286 wxPyEndAllowThreads(__tstate
);
18287 if (PyErr_Occurred()) SWIG_fail
;
18290 wxSize
* resultptr
;
18291 resultptr
= new wxSize((wxSize
&)(result
));
18292 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18300 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18301 PyObject
*resultobj
;
18302 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
18303 wxNotebook
*result
;
18304 PyObject
* obj0
= 0 ;
18305 char *kwnames
[] = {
18306 (char *) "self", NULL
18309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
18310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION
| 0);
18311 if (SWIG_arg_fail(1)) SWIG_fail
;
18313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18314 result
= (wxNotebook
*)(arg1
)->GetNotebook();
18316 wxPyEndAllowThreads(__tstate
);
18317 if (PyErr_Occurred()) SWIG_fail
;
18320 resultobj
= wxPyMake_wxObject(result
, 0);
18328 static PyObject
* NotebookSizer_swigregister(PyObject
*, PyObject
*args
) {
18330 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18331 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
18333 return Py_BuildValue((char *)"");
18335 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18336 PyObject
*resultobj
;
18337 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18339 PyObject
* obj0
= 0 ;
18340 char *kwnames
[] = {
18341 (char *) "self", NULL
18344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
18345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18346 if (SWIG_arg_fail(1)) SWIG_fail
;
18348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18349 result
= (int)(arg1
)->GetId();
18351 wxPyEndAllowThreads(__tstate
);
18352 if (PyErr_Occurred()) SWIG_fail
;
18355 resultobj
= SWIG_From_int((int)(result
));
18363 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18364 PyObject
*resultobj
;
18365 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18367 PyObject
* obj0
= 0 ;
18368 char *kwnames
[] = {
18369 (char *) "self", NULL
18372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
18373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18374 if (SWIG_arg_fail(1)) SWIG_fail
;
18376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18377 result
= (wxControl
*)(arg1
)->GetControl();
18379 wxPyEndAllowThreads(__tstate
);
18380 if (PyErr_Occurred()) SWIG_fail
;
18383 resultobj
= wxPyMake_wxObject(result
, 0);
18391 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18392 PyObject
*resultobj
;
18393 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18394 wxToolBarBase
*result
;
18395 PyObject
* obj0
= 0 ;
18396 char *kwnames
[] = {
18397 (char *) "self", NULL
18400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
18401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18402 if (SWIG_arg_fail(1)) SWIG_fail
;
18404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18405 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
18407 wxPyEndAllowThreads(__tstate
);
18408 if (PyErr_Occurred()) SWIG_fail
;
18411 resultobj
= wxPyMake_wxObject(result
, 0);
18419 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18420 PyObject
*resultobj
;
18421 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18423 PyObject
* obj0
= 0 ;
18424 char *kwnames
[] = {
18425 (char *) "self", NULL
18428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
18429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18430 if (SWIG_arg_fail(1)) SWIG_fail
;
18432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18433 result
= (int)(arg1
)->IsButton();
18435 wxPyEndAllowThreads(__tstate
);
18436 if (PyErr_Occurred()) SWIG_fail
;
18439 resultobj
= SWIG_From_int((int)(result
));
18447 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18448 PyObject
*resultobj
;
18449 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18451 PyObject
* obj0
= 0 ;
18452 char *kwnames
[] = {
18453 (char *) "self", NULL
18456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
18457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18458 if (SWIG_arg_fail(1)) SWIG_fail
;
18460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18461 result
= (int)(arg1
)->IsControl();
18463 wxPyEndAllowThreads(__tstate
);
18464 if (PyErr_Occurred()) SWIG_fail
;
18467 resultobj
= SWIG_From_int((int)(result
));
18475 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18476 PyObject
*resultobj
;
18477 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18479 PyObject
* obj0
= 0 ;
18480 char *kwnames
[] = {
18481 (char *) "self", NULL
18484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
18485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18486 if (SWIG_arg_fail(1)) SWIG_fail
;
18488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18489 result
= (int)(arg1
)->IsSeparator();
18491 wxPyEndAllowThreads(__tstate
);
18492 if (PyErr_Occurred()) SWIG_fail
;
18495 resultobj
= SWIG_From_int((int)(result
));
18503 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18504 PyObject
*resultobj
;
18505 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18507 PyObject
* obj0
= 0 ;
18508 char *kwnames
[] = {
18509 (char *) "self", NULL
18512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
18513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18514 if (SWIG_arg_fail(1)) SWIG_fail
;
18516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18517 result
= (int)(arg1
)->GetStyle();
18519 wxPyEndAllowThreads(__tstate
);
18520 if (PyErr_Occurred()) SWIG_fail
;
18523 resultobj
= SWIG_From_int((int)(result
));
18531 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18532 PyObject
*resultobj
;
18533 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18535 PyObject
* obj0
= 0 ;
18536 char *kwnames
[] = {
18537 (char *) "self", NULL
18540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
18541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18542 if (SWIG_arg_fail(1)) SWIG_fail
;
18544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18545 result
= (wxItemKind
)(arg1
)->GetKind();
18547 wxPyEndAllowThreads(__tstate
);
18548 if (PyErr_Occurred()) SWIG_fail
;
18550 resultobj
= SWIG_From_int((result
));
18557 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18558 PyObject
*resultobj
;
18559 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18561 PyObject
* obj0
= 0 ;
18562 char *kwnames
[] = {
18563 (char *) "self", NULL
18566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
18567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18568 if (SWIG_arg_fail(1)) SWIG_fail
;
18570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18571 result
= (bool)(arg1
)->IsEnabled();
18573 wxPyEndAllowThreads(__tstate
);
18574 if (PyErr_Occurred()) SWIG_fail
;
18577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18585 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18586 PyObject
*resultobj
;
18587 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18589 PyObject
* obj0
= 0 ;
18590 char *kwnames
[] = {
18591 (char *) "self", NULL
18594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
18595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18596 if (SWIG_arg_fail(1)) SWIG_fail
;
18598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18599 result
= (bool)(arg1
)->IsToggled();
18601 wxPyEndAllowThreads(__tstate
);
18602 if (PyErr_Occurred()) SWIG_fail
;
18605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18613 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18614 PyObject
*resultobj
;
18615 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18617 PyObject
* obj0
= 0 ;
18618 char *kwnames
[] = {
18619 (char *) "self", NULL
18622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
18623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18624 if (SWIG_arg_fail(1)) SWIG_fail
;
18626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18627 result
= (bool)(arg1
)->CanBeToggled();
18629 wxPyEndAllowThreads(__tstate
);
18630 if (PyErr_Occurred()) SWIG_fail
;
18633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18641 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18642 PyObject
*resultobj
;
18643 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18645 PyObject
* obj0
= 0 ;
18646 char *kwnames
[] = {
18647 (char *) "self", NULL
18650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
18651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18652 if (SWIG_arg_fail(1)) SWIG_fail
;
18654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18656 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
18657 result
= (wxBitmap
*) &_result_ref
;
18660 wxPyEndAllowThreads(__tstate
);
18661 if (PyErr_Occurred()) SWIG_fail
;
18664 wxBitmap
* resultptr
= new wxBitmap(*result
);
18665 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18673 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18674 PyObject
*resultobj
;
18675 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18677 PyObject
* obj0
= 0 ;
18678 char *kwnames
[] = {
18679 (char *) "self", NULL
18682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
18683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18684 if (SWIG_arg_fail(1)) SWIG_fail
;
18686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18688 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
18689 result
= (wxBitmap
*) &_result_ref
;
18692 wxPyEndAllowThreads(__tstate
);
18693 if (PyErr_Occurred()) SWIG_fail
;
18696 wxBitmap
* resultptr
= new wxBitmap(*result
);
18697 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18705 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18706 PyObject
*resultobj
;
18707 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18709 PyObject
* obj0
= 0 ;
18710 char *kwnames
[] = {
18711 (char *) "self", NULL
18714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
18715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18716 if (SWIG_arg_fail(1)) SWIG_fail
;
18718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18719 result
= (arg1
)->GetBitmap();
18721 wxPyEndAllowThreads(__tstate
);
18722 if (PyErr_Occurred()) SWIG_fail
;
18725 wxBitmap
* resultptr
;
18726 resultptr
= new wxBitmap((wxBitmap
&)(result
));
18727 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18735 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18736 PyObject
*resultobj
;
18737 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18739 PyObject
* obj0
= 0 ;
18740 char *kwnames
[] = {
18741 (char *) "self", NULL
18744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
18745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18746 if (SWIG_arg_fail(1)) SWIG_fail
;
18748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18749 result
= (arg1
)->GetLabel();
18751 wxPyEndAllowThreads(__tstate
);
18752 if (PyErr_Occurred()) SWIG_fail
;
18756 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18758 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18767 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18768 PyObject
*resultobj
;
18769 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18771 PyObject
* obj0
= 0 ;
18772 char *kwnames
[] = {
18773 (char *) "self", NULL
18776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
18777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18778 if (SWIG_arg_fail(1)) SWIG_fail
;
18780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18781 result
= (arg1
)->GetShortHelp();
18783 wxPyEndAllowThreads(__tstate
);
18784 if (PyErr_Occurred()) SWIG_fail
;
18788 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18790 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18799 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18800 PyObject
*resultobj
;
18801 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18803 PyObject
* obj0
= 0 ;
18804 char *kwnames
[] = {
18805 (char *) "self", NULL
18808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
18809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18810 if (SWIG_arg_fail(1)) SWIG_fail
;
18812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18813 result
= (arg1
)->GetLongHelp();
18815 wxPyEndAllowThreads(__tstate
);
18816 if (PyErr_Occurred()) SWIG_fail
;
18820 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18822 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18831 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18832 PyObject
*resultobj
;
18833 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18836 PyObject
* obj0
= 0 ;
18837 PyObject
* obj1
= 0 ;
18838 char *kwnames
[] = {
18839 (char *) "self",(char *) "enable", NULL
18842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
18843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18844 if (SWIG_arg_fail(1)) SWIG_fail
;
18846 arg2
= (bool)(SWIG_As_bool(obj1
));
18847 if (SWIG_arg_fail(2)) SWIG_fail
;
18850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18851 result
= (bool)(arg1
)->Enable(arg2
);
18853 wxPyEndAllowThreads(__tstate
);
18854 if (PyErr_Occurred()) SWIG_fail
;
18857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18865 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18866 PyObject
*resultobj
;
18867 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18868 PyObject
* obj0
= 0 ;
18869 char *kwnames
[] = {
18870 (char *) "self", NULL
18873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
18874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18875 if (SWIG_arg_fail(1)) SWIG_fail
;
18877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18880 wxPyEndAllowThreads(__tstate
);
18881 if (PyErr_Occurred()) SWIG_fail
;
18883 Py_INCREF(Py_None
); resultobj
= Py_None
;
18890 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18891 PyObject
*resultobj
;
18892 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18895 PyObject
* obj0
= 0 ;
18896 PyObject
* obj1
= 0 ;
18897 char *kwnames
[] = {
18898 (char *) "self",(char *) "toggle", NULL
18901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
18902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18903 if (SWIG_arg_fail(1)) SWIG_fail
;
18905 arg2
= (bool)(SWIG_As_bool(obj1
));
18906 if (SWIG_arg_fail(2)) SWIG_fail
;
18909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18910 result
= (bool)(arg1
)->SetToggle(arg2
);
18912 wxPyEndAllowThreads(__tstate
);
18913 if (PyErr_Occurred()) SWIG_fail
;
18916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18924 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18925 PyObject
*resultobj
;
18926 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18927 wxString
*arg2
= 0 ;
18929 bool temp2
= false ;
18930 PyObject
* obj0
= 0 ;
18931 PyObject
* obj1
= 0 ;
18932 char *kwnames
[] = {
18933 (char *) "self",(char *) "help", NULL
18936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
18937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18938 if (SWIG_arg_fail(1)) SWIG_fail
;
18940 arg2
= wxString_in_helper(obj1
);
18941 if (arg2
== NULL
) SWIG_fail
;
18945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18946 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
18948 wxPyEndAllowThreads(__tstate
);
18949 if (PyErr_Occurred()) SWIG_fail
;
18952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18968 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18969 PyObject
*resultobj
;
18970 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18971 wxString
*arg2
= 0 ;
18973 bool temp2
= false ;
18974 PyObject
* obj0
= 0 ;
18975 PyObject
* obj1
= 0 ;
18976 char *kwnames
[] = {
18977 (char *) "self",(char *) "help", NULL
18980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
18981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18982 if (SWIG_arg_fail(1)) SWIG_fail
;
18984 arg2
= wxString_in_helper(obj1
);
18985 if (arg2
== NULL
) SWIG_fail
;
18989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18990 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
18992 wxPyEndAllowThreads(__tstate
);
18993 if (PyErr_Occurred()) SWIG_fail
;
18996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19012 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19013 PyObject
*resultobj
;
19014 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19015 wxBitmap
*arg2
= 0 ;
19016 PyObject
* obj0
= 0 ;
19017 PyObject
* obj1
= 0 ;
19018 char *kwnames
[] = {
19019 (char *) "self",(char *) "bmp", NULL
19022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
19023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19024 if (SWIG_arg_fail(1)) SWIG_fail
;
19026 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19027 if (SWIG_arg_fail(2)) SWIG_fail
;
19028 if (arg2
== NULL
) {
19029 SWIG_null_ref("wxBitmap");
19031 if (SWIG_arg_fail(2)) SWIG_fail
;
19034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19035 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
19037 wxPyEndAllowThreads(__tstate
);
19038 if (PyErr_Occurred()) SWIG_fail
;
19040 Py_INCREF(Py_None
); resultobj
= Py_None
;
19047 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19048 PyObject
*resultobj
;
19049 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19050 wxBitmap
*arg2
= 0 ;
19051 PyObject
* obj0
= 0 ;
19052 PyObject
* obj1
= 0 ;
19053 char *kwnames
[] = {
19054 (char *) "self",(char *) "bmp", NULL
19057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
19058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19059 if (SWIG_arg_fail(1)) SWIG_fail
;
19061 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19062 if (SWIG_arg_fail(2)) SWIG_fail
;
19063 if (arg2
== NULL
) {
19064 SWIG_null_ref("wxBitmap");
19066 if (SWIG_arg_fail(2)) SWIG_fail
;
19069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19070 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
19072 wxPyEndAllowThreads(__tstate
);
19073 if (PyErr_Occurred()) SWIG_fail
;
19075 Py_INCREF(Py_None
); resultobj
= Py_None
;
19082 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19083 PyObject
*resultobj
;
19084 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19085 wxString
*arg2
= 0 ;
19086 bool temp2
= false ;
19087 PyObject
* obj0
= 0 ;
19088 PyObject
* obj1
= 0 ;
19089 char *kwnames
[] = {
19090 (char *) "self",(char *) "label", NULL
19093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
19094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19095 if (SWIG_arg_fail(1)) SWIG_fail
;
19097 arg2
= wxString_in_helper(obj1
);
19098 if (arg2
== NULL
) SWIG_fail
;
19102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19103 (arg1
)->SetLabel((wxString
const &)*arg2
);
19105 wxPyEndAllowThreads(__tstate
);
19106 if (PyErr_Occurred()) SWIG_fail
;
19108 Py_INCREF(Py_None
); resultobj
= Py_None
;
19123 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19124 PyObject
*resultobj
;
19125 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19126 PyObject
* obj0
= 0 ;
19127 char *kwnames
[] = {
19128 (char *) "self", NULL
19131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
19132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19133 if (SWIG_arg_fail(1)) SWIG_fail
;
19135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19138 wxPyEndAllowThreads(__tstate
);
19139 if (PyErr_Occurred()) SWIG_fail
;
19141 Py_INCREF(Py_None
); resultobj
= Py_None
;
19148 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19149 PyObject
*resultobj
;
19150 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19151 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
19152 PyObject
* obj0
= 0 ;
19153 PyObject
* obj1
= 0 ;
19154 char *kwnames
[] = {
19155 (char *) "self",(char *) "tbar", NULL
19158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
19159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19160 if (SWIG_arg_fail(1)) SWIG_fail
;
19161 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19162 if (SWIG_arg_fail(2)) SWIG_fail
;
19164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19165 (arg1
)->Attach(arg2
);
19167 wxPyEndAllowThreads(__tstate
);
19168 if (PyErr_Occurred()) SWIG_fail
;
19170 Py_INCREF(Py_None
); resultobj
= Py_None
;
19177 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19178 PyObject
*resultobj
;
19179 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19181 PyObject
* obj0
= 0 ;
19182 char *kwnames
[] = {
19183 (char *) "self", NULL
19186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
19187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19188 if (SWIG_arg_fail(1)) SWIG_fail
;
19190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19191 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
19193 wxPyEndAllowThreads(__tstate
);
19194 if (PyErr_Occurred()) SWIG_fail
;
19196 resultobj
= result
;
19203 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19204 PyObject
*resultobj
;
19205 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19206 PyObject
*arg2
= (PyObject
*) 0 ;
19207 PyObject
* obj0
= 0 ;
19208 PyObject
* obj1
= 0 ;
19209 char *kwnames
[] = {
19210 (char *) "self",(char *) "clientData", NULL
19213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
19214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19215 if (SWIG_arg_fail(1)) SWIG_fail
;
19218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19219 wxToolBarToolBase_SetClientData(arg1
,arg2
);
19221 wxPyEndAllowThreads(__tstate
);
19222 if (PyErr_Occurred()) SWIG_fail
;
19224 Py_INCREF(Py_None
); resultobj
= Py_None
;
19231 static PyObject
* ToolBarToolBase_swigregister(PyObject
*, PyObject
*args
) {
19233 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19234 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
19236 return Py_BuildValue((char *)"");
19238 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19239 PyObject
*resultobj
;
19240 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19242 wxString
*arg3
= 0 ;
19243 wxBitmap
*arg4
= 0 ;
19244 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
19245 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
19246 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
19247 wxString
const &arg7_defvalue
= wxPyEmptyString
;
19248 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19249 wxString
const &arg8_defvalue
= wxPyEmptyString
;
19250 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19251 PyObject
*arg9
= (PyObject
*) NULL
;
19252 wxToolBarToolBase
*result
;
19253 bool temp3
= false ;
19254 bool temp7
= false ;
19255 bool temp8
= false ;
19256 PyObject
* obj0
= 0 ;
19257 PyObject
* obj1
= 0 ;
19258 PyObject
* obj2
= 0 ;
19259 PyObject
* obj3
= 0 ;
19260 PyObject
* obj4
= 0 ;
19261 PyObject
* obj5
= 0 ;
19262 PyObject
* obj6
= 0 ;
19263 PyObject
* obj7
= 0 ;
19264 PyObject
* obj8
= 0 ;
19265 char *kwnames
[] = {
19266 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
19270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19271 if (SWIG_arg_fail(1)) SWIG_fail
;
19273 arg2
= (int)(SWIG_As_int(obj1
));
19274 if (SWIG_arg_fail(2)) SWIG_fail
;
19277 arg3
= wxString_in_helper(obj2
);
19278 if (arg3
== NULL
) SWIG_fail
;
19282 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19283 if (SWIG_arg_fail(4)) SWIG_fail
;
19284 if (arg4
== NULL
) {
19285 SWIG_null_ref("wxBitmap");
19287 if (SWIG_arg_fail(4)) SWIG_fail
;
19291 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19292 if (SWIG_arg_fail(5)) SWIG_fail
;
19293 if (arg5
== NULL
) {
19294 SWIG_null_ref("wxBitmap");
19296 if (SWIG_arg_fail(5)) SWIG_fail
;
19301 arg6
= (wxItemKind
)(SWIG_As_int(obj5
));
19302 if (SWIG_arg_fail(6)) SWIG_fail
;
19307 arg7
= wxString_in_helper(obj6
);
19308 if (arg7
== NULL
) SWIG_fail
;
19314 arg8
= wxString_in_helper(obj7
);
19315 if (arg8
== NULL
) SWIG_fail
;
19323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19324 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
19326 wxPyEndAllowThreads(__tstate
);
19327 if (PyErr_Occurred()) SWIG_fail
;
19330 resultobj
= wxPyMake_wxObject(result
, 0);
19362 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19363 PyObject
*resultobj
;
19364 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19367 wxString
*arg4
= 0 ;
19368 wxBitmap
*arg5
= 0 ;
19369 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
19370 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
19371 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
19372 wxString
const &arg8_defvalue
= wxPyEmptyString
;
19373 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19374 wxString
const &arg9_defvalue
= wxPyEmptyString
;
19375 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
19376 PyObject
*arg10
= (PyObject
*) NULL
;
19377 wxToolBarToolBase
*result
;
19378 bool temp4
= false ;
19379 bool temp8
= false ;
19380 bool temp9
= false ;
19381 PyObject
* obj0
= 0 ;
19382 PyObject
* obj1
= 0 ;
19383 PyObject
* obj2
= 0 ;
19384 PyObject
* obj3
= 0 ;
19385 PyObject
* obj4
= 0 ;
19386 PyObject
* obj5
= 0 ;
19387 PyObject
* obj6
= 0 ;
19388 PyObject
* obj7
= 0 ;
19389 PyObject
* obj8
= 0 ;
19390 PyObject
* obj9
= 0 ;
19391 char *kwnames
[] = {
19392 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
19396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19397 if (SWIG_arg_fail(1)) SWIG_fail
;
19399 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19400 if (SWIG_arg_fail(2)) SWIG_fail
;
19403 arg3
= (int)(SWIG_As_int(obj2
));
19404 if (SWIG_arg_fail(3)) SWIG_fail
;
19407 arg4
= wxString_in_helper(obj3
);
19408 if (arg4
== NULL
) SWIG_fail
;
19412 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19413 if (SWIG_arg_fail(5)) SWIG_fail
;
19414 if (arg5
== NULL
) {
19415 SWIG_null_ref("wxBitmap");
19417 if (SWIG_arg_fail(5)) SWIG_fail
;
19421 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19422 if (SWIG_arg_fail(6)) SWIG_fail
;
19423 if (arg6
== NULL
) {
19424 SWIG_null_ref("wxBitmap");
19426 if (SWIG_arg_fail(6)) SWIG_fail
;
19431 arg7
= (wxItemKind
)(SWIG_As_int(obj6
));
19432 if (SWIG_arg_fail(7)) SWIG_fail
;
19437 arg8
= wxString_in_helper(obj7
);
19438 if (arg8
== NULL
) SWIG_fail
;
19444 arg9
= wxString_in_helper(obj8
);
19445 if (arg9
== NULL
) SWIG_fail
;
19453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19454 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
);
19456 wxPyEndAllowThreads(__tstate
);
19457 if (PyErr_Occurred()) SWIG_fail
;
19460 resultobj
= wxPyMake_wxObject(result
, 0);
19492 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19493 PyObject
*resultobj
;
19494 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19495 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
19496 wxToolBarToolBase
*result
;
19497 PyObject
* obj0
= 0 ;
19498 PyObject
* obj1
= 0 ;
19499 char *kwnames
[] = {
19500 (char *) "self",(char *) "tool", NULL
19503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
19504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19505 if (SWIG_arg_fail(1)) SWIG_fail
;
19506 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19507 if (SWIG_arg_fail(2)) SWIG_fail
;
19509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19510 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
19512 wxPyEndAllowThreads(__tstate
);
19513 if (PyErr_Occurred()) SWIG_fail
;
19516 resultobj
= wxPyMake_wxObject(result
, 0);
19524 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19525 PyObject
*resultobj
;
19526 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19528 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
19529 wxToolBarToolBase
*result
;
19530 PyObject
* obj0
= 0 ;
19531 PyObject
* obj1
= 0 ;
19532 PyObject
* obj2
= 0 ;
19533 char *kwnames
[] = {
19534 (char *) "self",(char *) "pos",(char *) "tool", NULL
19537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19539 if (SWIG_arg_fail(1)) SWIG_fail
;
19541 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19542 if (SWIG_arg_fail(2)) SWIG_fail
;
19544 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19545 if (SWIG_arg_fail(3)) SWIG_fail
;
19547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19548 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
19550 wxPyEndAllowThreads(__tstate
);
19551 if (PyErr_Occurred()) SWIG_fail
;
19554 resultobj
= wxPyMake_wxObject(result
, 0);
19562 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19563 PyObject
*resultobj
;
19564 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19565 wxControl
*arg2
= (wxControl
*) 0 ;
19566 wxToolBarToolBase
*result
;
19567 PyObject
* obj0
= 0 ;
19568 PyObject
* obj1
= 0 ;
19569 char *kwnames
[] = {
19570 (char *) "self",(char *) "control", NULL
19573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
19574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19575 if (SWIG_arg_fail(1)) SWIG_fail
;
19576 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
19577 if (SWIG_arg_fail(2)) SWIG_fail
;
19579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19580 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
19582 wxPyEndAllowThreads(__tstate
);
19583 if (PyErr_Occurred()) SWIG_fail
;
19586 resultobj
= wxPyMake_wxObject(result
, 0);
19594 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19595 PyObject
*resultobj
;
19596 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19598 wxControl
*arg3
= (wxControl
*) 0 ;
19599 wxToolBarToolBase
*result
;
19600 PyObject
* obj0
= 0 ;
19601 PyObject
* obj1
= 0 ;
19602 PyObject
* obj2
= 0 ;
19603 char *kwnames
[] = {
19604 (char *) "self",(char *) "pos",(char *) "control", NULL
19607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19609 if (SWIG_arg_fail(1)) SWIG_fail
;
19611 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19612 if (SWIG_arg_fail(2)) SWIG_fail
;
19614 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
19615 if (SWIG_arg_fail(3)) SWIG_fail
;
19617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19618 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
19620 wxPyEndAllowThreads(__tstate
);
19621 if (PyErr_Occurred()) SWIG_fail
;
19624 resultobj
= wxPyMake_wxObject(result
, 0);
19632 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19633 PyObject
*resultobj
;
19634 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19637 PyObject
* obj0
= 0 ;
19638 PyObject
* obj1
= 0 ;
19639 char *kwnames
[] = {
19640 (char *) "self",(char *) "id", NULL
19643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
19644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19645 if (SWIG_arg_fail(1)) SWIG_fail
;
19647 arg2
= (int)(SWIG_As_int(obj1
));
19648 if (SWIG_arg_fail(2)) SWIG_fail
;
19651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19652 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
19654 wxPyEndAllowThreads(__tstate
);
19655 if (PyErr_Occurred()) SWIG_fail
;
19658 resultobj
= wxPyMake_wxObject(result
, 0);
19666 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19667 PyObject
*resultobj
;
19668 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19669 wxToolBarToolBase
*result
;
19670 PyObject
* obj0
= 0 ;
19671 char *kwnames
[] = {
19672 (char *) "self", NULL
19675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
19676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19677 if (SWIG_arg_fail(1)) SWIG_fail
;
19679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19680 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
19682 wxPyEndAllowThreads(__tstate
);
19683 if (PyErr_Occurred()) SWIG_fail
;
19686 resultobj
= wxPyMake_wxObject(result
, 0);
19694 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19695 PyObject
*resultobj
;
19696 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19698 wxToolBarToolBase
*result
;
19699 PyObject
* obj0
= 0 ;
19700 PyObject
* obj1
= 0 ;
19701 char *kwnames
[] = {
19702 (char *) "self",(char *) "pos", NULL
19705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
19706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19707 if (SWIG_arg_fail(1)) SWIG_fail
;
19709 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19710 if (SWIG_arg_fail(2)) SWIG_fail
;
19713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19714 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
19716 wxPyEndAllowThreads(__tstate
);
19717 if (PyErr_Occurred()) SWIG_fail
;
19720 resultobj
= wxPyMake_wxObject(result
, 0);
19728 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19729 PyObject
*resultobj
;
19730 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19732 wxToolBarToolBase
*result
;
19733 PyObject
* obj0
= 0 ;
19734 PyObject
* obj1
= 0 ;
19735 char *kwnames
[] = {
19736 (char *) "self",(char *) "id", NULL
19739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
19740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19741 if (SWIG_arg_fail(1)) SWIG_fail
;
19743 arg2
= (int)(SWIG_As_int(obj1
));
19744 if (SWIG_arg_fail(2)) SWIG_fail
;
19747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19748 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
19750 wxPyEndAllowThreads(__tstate
);
19751 if (PyErr_Occurred()) SWIG_fail
;
19754 resultobj
= wxPyMake_wxObject(result
, 0);
19762 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19763 PyObject
*resultobj
;
19764 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19767 PyObject
* obj0
= 0 ;
19768 PyObject
* obj1
= 0 ;
19769 char *kwnames
[] = {
19770 (char *) "self",(char *) "pos", NULL
19773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
19774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19775 if (SWIG_arg_fail(1)) SWIG_fail
;
19777 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19778 if (SWIG_arg_fail(2)) SWIG_fail
;
19781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19782 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
19784 wxPyEndAllowThreads(__tstate
);
19785 if (PyErr_Occurred()) SWIG_fail
;
19788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19796 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19797 PyObject
*resultobj
;
19798 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19801 PyObject
* obj0
= 0 ;
19802 PyObject
* obj1
= 0 ;
19803 char *kwnames
[] = {
19804 (char *) "self",(char *) "id", NULL
19807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
19808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19809 if (SWIG_arg_fail(1)) SWIG_fail
;
19811 arg2
= (int)(SWIG_As_int(obj1
));
19812 if (SWIG_arg_fail(2)) SWIG_fail
;
19815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19816 result
= (bool)(arg1
)->DeleteTool(arg2
);
19818 wxPyEndAllowThreads(__tstate
);
19819 if (PyErr_Occurred()) SWIG_fail
;
19822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19830 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19831 PyObject
*resultobj
;
19832 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19833 PyObject
* obj0
= 0 ;
19834 char *kwnames
[] = {
19835 (char *) "self", NULL
19838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
19839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19840 if (SWIG_arg_fail(1)) SWIG_fail
;
19842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19843 (arg1
)->ClearTools();
19845 wxPyEndAllowThreads(__tstate
);
19846 if (PyErr_Occurred()) SWIG_fail
;
19848 Py_INCREF(Py_None
); resultobj
= Py_None
;
19855 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19856 PyObject
*resultobj
;
19857 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19859 PyObject
* obj0
= 0 ;
19860 char *kwnames
[] = {
19861 (char *) "self", NULL
19864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
19865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19866 if (SWIG_arg_fail(1)) SWIG_fail
;
19868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19869 result
= (bool)(arg1
)->Realize();
19871 wxPyEndAllowThreads(__tstate
);
19872 if (PyErr_Occurred()) SWIG_fail
;
19875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19883 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19884 PyObject
*resultobj
;
19885 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19888 PyObject
* obj0
= 0 ;
19889 PyObject
* obj1
= 0 ;
19890 PyObject
* obj2
= 0 ;
19891 char *kwnames
[] = {
19892 (char *) "self",(char *) "id",(char *) "enable", NULL
19895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19897 if (SWIG_arg_fail(1)) SWIG_fail
;
19899 arg2
= (int)(SWIG_As_int(obj1
));
19900 if (SWIG_arg_fail(2)) SWIG_fail
;
19903 arg3
= (bool)(SWIG_As_bool(obj2
));
19904 if (SWIG_arg_fail(3)) SWIG_fail
;
19907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19908 (arg1
)->EnableTool(arg2
,arg3
);
19910 wxPyEndAllowThreads(__tstate
);
19911 if (PyErr_Occurred()) SWIG_fail
;
19913 Py_INCREF(Py_None
); resultobj
= Py_None
;
19920 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19921 PyObject
*resultobj
;
19922 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19925 PyObject
* obj0
= 0 ;
19926 PyObject
* obj1
= 0 ;
19927 PyObject
* obj2
= 0 ;
19928 char *kwnames
[] = {
19929 (char *) "self",(char *) "id",(char *) "toggle", NULL
19932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19934 if (SWIG_arg_fail(1)) SWIG_fail
;
19936 arg2
= (int)(SWIG_As_int(obj1
));
19937 if (SWIG_arg_fail(2)) SWIG_fail
;
19940 arg3
= (bool)(SWIG_As_bool(obj2
));
19941 if (SWIG_arg_fail(3)) SWIG_fail
;
19944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19945 (arg1
)->ToggleTool(arg2
,arg3
);
19947 wxPyEndAllowThreads(__tstate
);
19948 if (PyErr_Occurred()) SWIG_fail
;
19950 Py_INCREF(Py_None
); resultobj
= Py_None
;
19957 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19958 PyObject
*resultobj
;
19959 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19962 PyObject
* obj0
= 0 ;
19963 PyObject
* obj1
= 0 ;
19964 PyObject
* obj2
= 0 ;
19965 char *kwnames
[] = {
19966 (char *) "self",(char *) "id",(char *) "toggle", NULL
19969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19971 if (SWIG_arg_fail(1)) SWIG_fail
;
19973 arg2
= (int)(SWIG_As_int(obj1
));
19974 if (SWIG_arg_fail(2)) SWIG_fail
;
19977 arg3
= (bool)(SWIG_As_bool(obj2
));
19978 if (SWIG_arg_fail(3)) SWIG_fail
;
19981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19982 (arg1
)->SetToggle(arg2
,arg3
);
19984 wxPyEndAllowThreads(__tstate
);
19985 if (PyErr_Occurred()) SWIG_fail
;
19987 Py_INCREF(Py_None
); resultobj
= Py_None
;
19994 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19995 PyObject
*resultobj
;
19996 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19999 PyObject
* obj0
= 0 ;
20000 PyObject
* obj1
= 0 ;
20001 char *kwnames
[] = {
20002 (char *) "self",(char *) "id", NULL
20005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
20006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20007 if (SWIG_arg_fail(1)) SWIG_fail
;
20009 arg2
= (int)(SWIG_As_int(obj1
));
20010 if (SWIG_arg_fail(2)) SWIG_fail
;
20013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20014 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
20016 wxPyEndAllowThreads(__tstate
);
20017 if (PyErr_Occurred()) SWIG_fail
;
20019 resultobj
= result
;
20026 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20027 PyObject
*resultobj
;
20028 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20030 PyObject
*arg3
= (PyObject
*) 0 ;
20031 PyObject
* obj0
= 0 ;
20032 PyObject
* obj1
= 0 ;
20033 PyObject
* obj2
= 0 ;
20034 char *kwnames
[] = {
20035 (char *) "self",(char *) "id",(char *) "clientData", NULL
20038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20040 if (SWIG_arg_fail(1)) SWIG_fail
;
20042 arg2
= (int)(SWIG_As_int(obj1
));
20043 if (SWIG_arg_fail(2)) SWIG_fail
;
20047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20048 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
20050 wxPyEndAllowThreads(__tstate
);
20051 if (PyErr_Occurred()) SWIG_fail
;
20053 Py_INCREF(Py_None
); resultobj
= Py_None
;
20060 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20061 PyObject
*resultobj
;
20062 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20065 PyObject
* obj0
= 0 ;
20066 PyObject
* obj1
= 0 ;
20067 char *kwnames
[] = {
20068 (char *) "self",(char *) "id", NULL
20071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
20072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20073 if (SWIG_arg_fail(1)) SWIG_fail
;
20075 arg2
= (int)(SWIG_As_int(obj1
));
20076 if (SWIG_arg_fail(2)) SWIG_fail
;
20079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20080 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
20082 wxPyEndAllowThreads(__tstate
);
20083 if (PyErr_Occurred()) SWIG_fail
;
20086 resultobj
= SWIG_From_int((int)(result
));
20094 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20095 PyObject
*resultobj
;
20096 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20099 PyObject
* obj0
= 0 ;
20100 PyObject
* obj1
= 0 ;
20101 char *kwnames
[] = {
20102 (char *) "self",(char *) "id", NULL
20105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
20106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20107 if (SWIG_arg_fail(1)) SWIG_fail
;
20109 arg2
= (int)(SWIG_As_int(obj1
));
20110 if (SWIG_arg_fail(2)) SWIG_fail
;
20113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20114 result
= (bool)(arg1
)->GetToolState(arg2
);
20116 wxPyEndAllowThreads(__tstate
);
20117 if (PyErr_Occurred()) SWIG_fail
;
20120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20128 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20129 PyObject
*resultobj
;
20130 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20133 PyObject
* obj0
= 0 ;
20134 PyObject
* obj1
= 0 ;
20135 char *kwnames
[] = {
20136 (char *) "self",(char *) "id", NULL
20139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
20140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20141 if (SWIG_arg_fail(1)) SWIG_fail
;
20143 arg2
= (int)(SWIG_As_int(obj1
));
20144 if (SWIG_arg_fail(2)) SWIG_fail
;
20147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20148 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
20150 wxPyEndAllowThreads(__tstate
);
20151 if (PyErr_Occurred()) SWIG_fail
;
20154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20162 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20163 PyObject
*resultobj
;
20164 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20166 wxString
*arg3
= 0 ;
20167 bool temp3
= false ;
20168 PyObject
* obj0
= 0 ;
20169 PyObject
* obj1
= 0 ;
20170 PyObject
* obj2
= 0 ;
20171 char *kwnames
[] = {
20172 (char *) "self",(char *) "id",(char *) "helpString", NULL
20175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20177 if (SWIG_arg_fail(1)) SWIG_fail
;
20179 arg2
= (int)(SWIG_As_int(obj1
));
20180 if (SWIG_arg_fail(2)) SWIG_fail
;
20183 arg3
= wxString_in_helper(obj2
);
20184 if (arg3
== NULL
) SWIG_fail
;
20188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20189 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
20191 wxPyEndAllowThreads(__tstate
);
20192 if (PyErr_Occurred()) SWIG_fail
;
20194 Py_INCREF(Py_None
); resultobj
= Py_None
;
20209 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20210 PyObject
*resultobj
;
20211 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20214 PyObject
* obj0
= 0 ;
20215 PyObject
* obj1
= 0 ;
20216 char *kwnames
[] = {
20217 (char *) "self",(char *) "id", NULL
20220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20222 if (SWIG_arg_fail(1)) SWIG_fail
;
20224 arg2
= (int)(SWIG_As_int(obj1
));
20225 if (SWIG_arg_fail(2)) SWIG_fail
;
20228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20229 result
= (arg1
)->GetToolShortHelp(arg2
);
20231 wxPyEndAllowThreads(__tstate
);
20232 if (PyErr_Occurred()) SWIG_fail
;
20236 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20238 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20247 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20248 PyObject
*resultobj
;
20249 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20251 wxString
*arg3
= 0 ;
20252 bool temp3
= false ;
20253 PyObject
* obj0
= 0 ;
20254 PyObject
* obj1
= 0 ;
20255 PyObject
* obj2
= 0 ;
20256 char *kwnames
[] = {
20257 (char *) "self",(char *) "id",(char *) "helpString", NULL
20260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20262 if (SWIG_arg_fail(1)) SWIG_fail
;
20264 arg2
= (int)(SWIG_As_int(obj1
));
20265 if (SWIG_arg_fail(2)) SWIG_fail
;
20268 arg3
= wxString_in_helper(obj2
);
20269 if (arg3
== NULL
) SWIG_fail
;
20273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20274 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
20276 wxPyEndAllowThreads(__tstate
);
20277 if (PyErr_Occurred()) SWIG_fail
;
20279 Py_INCREF(Py_None
); resultobj
= Py_None
;
20294 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20295 PyObject
*resultobj
;
20296 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20299 PyObject
* obj0
= 0 ;
20300 PyObject
* obj1
= 0 ;
20301 char *kwnames
[] = {
20302 (char *) "self",(char *) "id", NULL
20305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20307 if (SWIG_arg_fail(1)) SWIG_fail
;
20309 arg2
= (int)(SWIG_As_int(obj1
));
20310 if (SWIG_arg_fail(2)) SWIG_fail
;
20313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20314 result
= (arg1
)->GetToolLongHelp(arg2
);
20316 wxPyEndAllowThreads(__tstate
);
20317 if (PyErr_Occurred()) SWIG_fail
;
20321 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20323 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20332 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20333 PyObject
*resultobj
;
20334 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20337 PyObject
* obj0
= 0 ;
20338 PyObject
* obj1
= 0 ;
20339 PyObject
* obj2
= 0 ;
20340 char *kwnames
[] = {
20341 (char *) "self",(char *) "x",(char *) "y", NULL
20344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20346 if (SWIG_arg_fail(1)) SWIG_fail
;
20348 arg2
= (int)(SWIG_As_int(obj1
));
20349 if (SWIG_arg_fail(2)) SWIG_fail
;
20352 arg3
= (int)(SWIG_As_int(obj2
));
20353 if (SWIG_arg_fail(3)) SWIG_fail
;
20356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20357 (arg1
)->SetMargins(arg2
,arg3
);
20359 wxPyEndAllowThreads(__tstate
);
20360 if (PyErr_Occurred()) SWIG_fail
;
20362 Py_INCREF(Py_None
); resultobj
= Py_None
;
20369 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20370 PyObject
*resultobj
;
20371 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20374 PyObject
* obj0
= 0 ;
20375 PyObject
* obj1
= 0 ;
20376 char *kwnames
[] = {
20377 (char *) "self",(char *) "size", NULL
20380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
20381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20382 if (SWIG_arg_fail(1)) SWIG_fail
;
20385 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20389 (arg1
)->SetMargins((wxSize
const &)*arg2
);
20391 wxPyEndAllowThreads(__tstate
);
20392 if (PyErr_Occurred()) SWIG_fail
;
20394 Py_INCREF(Py_None
); resultobj
= Py_None
;
20401 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20402 PyObject
*resultobj
;
20403 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20405 PyObject
* obj0
= 0 ;
20406 PyObject
* obj1
= 0 ;
20407 char *kwnames
[] = {
20408 (char *) "self",(char *) "packing", NULL
20411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
20412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20413 if (SWIG_arg_fail(1)) SWIG_fail
;
20415 arg2
= (int)(SWIG_As_int(obj1
));
20416 if (SWIG_arg_fail(2)) SWIG_fail
;
20419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20420 (arg1
)->SetToolPacking(arg2
);
20422 wxPyEndAllowThreads(__tstate
);
20423 if (PyErr_Occurred()) SWIG_fail
;
20425 Py_INCREF(Py_None
); resultobj
= Py_None
;
20432 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20433 PyObject
*resultobj
;
20434 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20436 PyObject
* obj0
= 0 ;
20437 PyObject
* obj1
= 0 ;
20438 char *kwnames
[] = {
20439 (char *) "self",(char *) "separation", NULL
20442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
20443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20444 if (SWIG_arg_fail(1)) SWIG_fail
;
20446 arg2
= (int)(SWIG_As_int(obj1
));
20447 if (SWIG_arg_fail(2)) SWIG_fail
;
20450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20451 (arg1
)->SetToolSeparation(arg2
);
20453 wxPyEndAllowThreads(__tstate
);
20454 if (PyErr_Occurred()) SWIG_fail
;
20456 Py_INCREF(Py_None
); resultobj
= Py_None
;
20463 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20464 PyObject
*resultobj
;
20465 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20467 PyObject
* obj0
= 0 ;
20468 char *kwnames
[] = {
20469 (char *) "self", NULL
20472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
20473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20474 if (SWIG_arg_fail(1)) SWIG_fail
;
20476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20477 result
= (arg1
)->GetToolMargins();
20479 wxPyEndAllowThreads(__tstate
);
20480 if (PyErr_Occurred()) SWIG_fail
;
20483 wxSize
* resultptr
;
20484 resultptr
= new wxSize((wxSize
&)(result
));
20485 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20493 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20494 PyObject
*resultobj
;
20495 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20497 PyObject
* obj0
= 0 ;
20498 char *kwnames
[] = {
20499 (char *) "self", NULL
20502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
20503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20504 if (SWIG_arg_fail(1)) SWIG_fail
;
20506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20507 result
= (arg1
)->GetMargins();
20509 wxPyEndAllowThreads(__tstate
);
20510 if (PyErr_Occurred()) SWIG_fail
;
20513 wxSize
* resultptr
;
20514 resultptr
= new wxSize((wxSize
&)(result
));
20515 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20523 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20524 PyObject
*resultobj
;
20525 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20527 PyObject
* obj0
= 0 ;
20528 char *kwnames
[] = {
20529 (char *) "self", NULL
20532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
20533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20534 if (SWIG_arg_fail(1)) SWIG_fail
;
20536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20537 result
= (int)(arg1
)->GetToolPacking();
20539 wxPyEndAllowThreads(__tstate
);
20540 if (PyErr_Occurred()) SWIG_fail
;
20543 resultobj
= SWIG_From_int((int)(result
));
20551 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20552 PyObject
*resultobj
;
20553 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20555 PyObject
* obj0
= 0 ;
20556 char *kwnames
[] = {
20557 (char *) "self", NULL
20560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
20561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20562 if (SWIG_arg_fail(1)) SWIG_fail
;
20564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20565 result
= (int)(arg1
)->GetToolSeparation();
20567 wxPyEndAllowThreads(__tstate
);
20568 if (PyErr_Occurred()) SWIG_fail
;
20571 resultobj
= SWIG_From_int((int)(result
));
20579 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20580 PyObject
*resultobj
;
20581 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20583 PyObject
* obj0
= 0 ;
20584 PyObject
* obj1
= 0 ;
20585 char *kwnames
[] = {
20586 (char *) "self",(char *) "nRows", NULL
20589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
20590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20591 if (SWIG_arg_fail(1)) SWIG_fail
;
20593 arg2
= (int)(SWIG_As_int(obj1
));
20594 if (SWIG_arg_fail(2)) SWIG_fail
;
20597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20598 (arg1
)->SetRows(arg2
);
20600 wxPyEndAllowThreads(__tstate
);
20601 if (PyErr_Occurred()) SWIG_fail
;
20603 Py_INCREF(Py_None
); resultobj
= Py_None
;
20610 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20611 PyObject
*resultobj
;
20612 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20615 PyObject
* obj0
= 0 ;
20616 PyObject
* obj1
= 0 ;
20617 PyObject
* obj2
= 0 ;
20618 char *kwnames
[] = {
20619 (char *) "self",(char *) "rows",(char *) "cols", NULL
20622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20624 if (SWIG_arg_fail(1)) SWIG_fail
;
20626 arg2
= (int)(SWIG_As_int(obj1
));
20627 if (SWIG_arg_fail(2)) SWIG_fail
;
20630 arg3
= (int)(SWIG_As_int(obj2
));
20631 if (SWIG_arg_fail(3)) SWIG_fail
;
20634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20635 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
20637 wxPyEndAllowThreads(__tstate
);
20638 if (PyErr_Occurred()) SWIG_fail
;
20640 Py_INCREF(Py_None
); resultobj
= Py_None
;
20647 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20648 PyObject
*resultobj
;
20649 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20651 PyObject
* obj0
= 0 ;
20652 char *kwnames
[] = {
20653 (char *) "self", NULL
20656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
20657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20658 if (SWIG_arg_fail(1)) SWIG_fail
;
20660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20661 result
= (int)(arg1
)->GetMaxRows();
20663 wxPyEndAllowThreads(__tstate
);
20664 if (PyErr_Occurred()) SWIG_fail
;
20667 resultobj
= SWIG_From_int((int)(result
));
20675 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20676 PyObject
*resultobj
;
20677 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20679 PyObject
* obj0
= 0 ;
20680 char *kwnames
[] = {
20681 (char *) "self", NULL
20684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
20685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20686 if (SWIG_arg_fail(1)) SWIG_fail
;
20688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20689 result
= (int)(arg1
)->GetMaxCols();
20691 wxPyEndAllowThreads(__tstate
);
20692 if (PyErr_Occurred()) SWIG_fail
;
20695 resultobj
= SWIG_From_int((int)(result
));
20703 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20704 PyObject
*resultobj
;
20705 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20708 PyObject
* obj0
= 0 ;
20709 PyObject
* obj1
= 0 ;
20710 char *kwnames
[] = {
20711 (char *) "self",(char *) "size", NULL
20714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20716 if (SWIG_arg_fail(1)) SWIG_fail
;
20719 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20723 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
20725 wxPyEndAllowThreads(__tstate
);
20726 if (PyErr_Occurred()) SWIG_fail
;
20728 Py_INCREF(Py_None
); resultobj
= Py_None
;
20735 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20736 PyObject
*resultobj
;
20737 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20739 PyObject
* obj0
= 0 ;
20740 char *kwnames
[] = {
20741 (char *) "self", NULL
20744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
20745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20746 if (SWIG_arg_fail(1)) SWIG_fail
;
20748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20749 result
= (arg1
)->GetToolBitmapSize();
20751 wxPyEndAllowThreads(__tstate
);
20752 if (PyErr_Occurred()) SWIG_fail
;
20755 wxSize
* resultptr
;
20756 resultptr
= new wxSize((wxSize
&)(result
));
20757 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20765 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20766 PyObject
*resultobj
;
20767 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20769 PyObject
* obj0
= 0 ;
20770 char *kwnames
[] = {
20771 (char *) "self", NULL
20774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
20775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20776 if (SWIG_arg_fail(1)) SWIG_fail
;
20778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20779 result
= (arg1
)->GetToolSize();
20781 wxPyEndAllowThreads(__tstate
);
20782 if (PyErr_Occurred()) SWIG_fail
;
20785 wxSize
* resultptr
;
20786 resultptr
= new wxSize((wxSize
&)(result
));
20787 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20795 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20796 PyObject
*resultobj
;
20797 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20800 wxToolBarToolBase
*result
;
20801 PyObject
* obj0
= 0 ;
20802 PyObject
* obj1
= 0 ;
20803 PyObject
* obj2
= 0 ;
20804 char *kwnames
[] = {
20805 (char *) "self",(char *) "x",(char *) "y", NULL
20808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20810 if (SWIG_arg_fail(1)) SWIG_fail
;
20812 arg2
= (int)(SWIG_As_int(obj1
));
20813 if (SWIG_arg_fail(2)) SWIG_fail
;
20816 arg3
= (int)(SWIG_As_int(obj2
));
20817 if (SWIG_arg_fail(3)) SWIG_fail
;
20820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20821 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
20823 wxPyEndAllowThreads(__tstate
);
20824 if (PyErr_Occurred()) SWIG_fail
;
20827 resultobj
= wxPyMake_wxObject(result
, 0);
20835 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20836 PyObject
*resultobj
;
20837 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20839 wxToolBarToolBase
*result
;
20840 PyObject
* obj0
= 0 ;
20841 PyObject
* obj1
= 0 ;
20842 char *kwnames
[] = {
20843 (char *) "self",(char *) "toolid", NULL
20846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
20847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20848 if (SWIG_arg_fail(1)) SWIG_fail
;
20850 arg2
= (int)(SWIG_As_int(obj1
));
20851 if (SWIG_arg_fail(2)) SWIG_fail
;
20854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20855 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
20857 wxPyEndAllowThreads(__tstate
);
20858 if (PyErr_Occurred()) SWIG_fail
;
20861 resultobj
= wxPyMake_wxObject(result
, 0);
20869 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20870 PyObject
*resultobj
;
20871 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20873 PyObject
* obj0
= 0 ;
20874 char *kwnames
[] = {
20875 (char *) "self", NULL
20878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
20879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20880 if (SWIG_arg_fail(1)) SWIG_fail
;
20882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20883 result
= (bool)(arg1
)->IsVertical();
20885 wxPyEndAllowThreads(__tstate
);
20886 if (PyErr_Occurred()) SWIG_fail
;
20889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20897 static PyObject
* ToolBarBase_swigregister(PyObject
*, PyObject
*args
) {
20899 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20900 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
20902 return Py_BuildValue((char *)"");
20904 static PyObject
*_wrap_new_ToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20905 PyObject
*resultobj
;
20906 wxWindow
*arg1
= (wxWindow
*) 0 ;
20907 int arg2
= (int) -1 ;
20908 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20909 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20910 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20911 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20912 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
20913 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
20914 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20918 bool temp6
= false ;
20919 PyObject
* obj0
= 0 ;
20920 PyObject
* obj1
= 0 ;
20921 PyObject
* obj2
= 0 ;
20922 PyObject
* obj3
= 0 ;
20923 PyObject
* obj4
= 0 ;
20924 PyObject
* obj5
= 0 ;
20925 char *kwnames
[] = {
20926 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20931 if (SWIG_arg_fail(1)) SWIG_fail
;
20934 arg2
= (int)(SWIG_As_int(obj1
));
20935 if (SWIG_arg_fail(2)) SWIG_fail
;
20941 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20947 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20952 arg5
= (long)(SWIG_As_long(obj4
));
20953 if (SWIG_arg_fail(5)) SWIG_fail
;
20958 arg6
= wxString_in_helper(obj5
);
20959 if (arg6
== NULL
) SWIG_fail
;
20964 if (!wxPyCheckForApp()) SWIG_fail
;
20965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20966 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20968 wxPyEndAllowThreads(__tstate
);
20969 if (PyErr_Occurred()) SWIG_fail
;
20971 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
20986 static PyObject
*_wrap_new_PreToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20987 PyObject
*resultobj
;
20989 char *kwnames
[] = {
20993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
20995 if (!wxPyCheckForApp()) SWIG_fail
;
20996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20997 result
= (wxToolBar
*)new wxToolBar();
20999 wxPyEndAllowThreads(__tstate
);
21000 if (PyErr_Occurred()) SWIG_fail
;
21002 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
21009 static PyObject
*_wrap_ToolBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21010 PyObject
*resultobj
;
21011 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
21012 wxWindow
*arg2
= (wxWindow
*) 0 ;
21013 int arg3
= (int) -1 ;
21014 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21015 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21016 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21017 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21018 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
21019 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
21020 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21024 bool temp7
= false ;
21025 PyObject
* obj0
= 0 ;
21026 PyObject
* obj1
= 0 ;
21027 PyObject
* obj2
= 0 ;
21028 PyObject
* obj3
= 0 ;
21029 PyObject
* obj4
= 0 ;
21030 PyObject
* obj5
= 0 ;
21031 PyObject
* obj6
= 0 ;
21032 char *kwnames
[] = {
21033 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
21038 if (SWIG_arg_fail(1)) SWIG_fail
;
21039 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21040 if (SWIG_arg_fail(2)) SWIG_fail
;
21043 arg3
= (int)(SWIG_As_int(obj2
));
21044 if (SWIG_arg_fail(3)) SWIG_fail
;
21050 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21056 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21061 arg6
= (long)(SWIG_As_long(obj5
));
21062 if (SWIG_arg_fail(6)) SWIG_fail
;
21067 arg7
= wxString_in_helper(obj6
);
21068 if (arg7
== NULL
) SWIG_fail
;
21073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21074 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21076 wxPyEndAllowThreads(__tstate
);
21077 if (PyErr_Occurred()) SWIG_fail
;
21080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21096 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21097 PyObject
*resultobj
;
21098 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
21101 wxToolBarToolBase
*result
;
21102 PyObject
* obj0
= 0 ;
21103 PyObject
* obj1
= 0 ;
21104 PyObject
* obj2
= 0 ;
21105 char *kwnames
[] = {
21106 (char *) "self",(char *) "x",(char *) "y", NULL
21109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
21111 if (SWIG_arg_fail(1)) SWIG_fail
;
21113 arg2
= (int)(SWIG_As_int(obj1
));
21114 if (SWIG_arg_fail(2)) SWIG_fail
;
21117 arg3
= (int)(SWIG_As_int(obj2
));
21118 if (SWIG_arg_fail(3)) SWIG_fail
;
21121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21122 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
21124 wxPyEndAllowThreads(__tstate
);
21125 if (PyErr_Occurred()) SWIG_fail
;
21128 resultobj
= wxPyMake_wxObject(result
, 0);
21136 static PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21137 PyObject
*resultobj
;
21138 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
21139 wxVisualAttributes result
;
21140 PyObject
* obj0
= 0 ;
21141 char *kwnames
[] = {
21142 (char *) "variant", NULL
21145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
21148 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
21149 if (SWIG_arg_fail(1)) SWIG_fail
;
21153 if (!wxPyCheckForApp()) SWIG_fail
;
21154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21155 result
= wxToolBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
21157 wxPyEndAllowThreads(__tstate
);
21158 if (PyErr_Occurred()) SWIG_fail
;
21161 wxVisualAttributes
* resultptr
;
21162 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
21163 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
21171 static PyObject
* ToolBar_swigregister(PyObject
*, PyObject
*args
) {
21173 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21174 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
21176 return Py_BuildValue((char *)"");
21178 static int _wrap_ListCtrlNameStr_set(PyObject
*) {
21179 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
21184 static PyObject
*_wrap_ListCtrlNameStr_get(void) {
21189 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
21191 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
21198 static PyObject
*_wrap_new_ListItemAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21199 PyObject
*resultobj
;
21200 wxColour
const &arg1_defvalue
= wxNullColour
;
21201 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
21202 wxColour
const &arg2_defvalue
= wxNullColour
;
21203 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
21204 wxFont
const &arg3_defvalue
= wxNullFont
;
21205 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
21206 wxListItemAttr
*result
;
21209 PyObject
* obj0
= 0 ;
21210 PyObject
* obj1
= 0 ;
21211 PyObject
* obj2
= 0 ;
21212 char *kwnames
[] = {
21213 (char *) "colText",(char *) "colBack",(char *) "font", NULL
21216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21220 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
21226 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21231 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
21232 if (SWIG_arg_fail(3)) SWIG_fail
;
21233 if (arg3
== NULL
) {
21234 SWIG_null_ref("wxFont");
21236 if (SWIG_arg_fail(3)) SWIG_fail
;
21240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21241 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
21243 wxPyEndAllowThreads(__tstate
);
21244 if (PyErr_Occurred()) SWIG_fail
;
21246 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
21253 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21254 PyObject
*resultobj
;
21255 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21256 wxColour
*arg2
= 0 ;
21258 PyObject
* obj0
= 0 ;
21259 PyObject
* obj1
= 0 ;
21260 char *kwnames
[] = {
21261 (char *) "self",(char *) "colText", NULL
21264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21266 if (SWIG_arg_fail(1)) SWIG_fail
;
21269 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21273 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
21275 wxPyEndAllowThreads(__tstate
);
21276 if (PyErr_Occurred()) SWIG_fail
;
21278 Py_INCREF(Py_None
); resultobj
= Py_None
;
21285 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21286 PyObject
*resultobj
;
21287 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21288 wxColour
*arg2
= 0 ;
21290 PyObject
* obj0
= 0 ;
21291 PyObject
* obj1
= 0 ;
21292 char *kwnames
[] = {
21293 (char *) "self",(char *) "colBack", NULL
21296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21298 if (SWIG_arg_fail(1)) SWIG_fail
;
21301 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21305 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
21307 wxPyEndAllowThreads(__tstate
);
21308 if (PyErr_Occurred()) SWIG_fail
;
21310 Py_INCREF(Py_None
); resultobj
= Py_None
;
21317 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21318 PyObject
*resultobj
;
21319 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21321 PyObject
* obj0
= 0 ;
21322 PyObject
* obj1
= 0 ;
21323 char *kwnames
[] = {
21324 (char *) "self",(char *) "font", NULL
21327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
21328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21329 if (SWIG_arg_fail(1)) SWIG_fail
;
21331 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
21332 if (SWIG_arg_fail(2)) SWIG_fail
;
21333 if (arg2
== NULL
) {
21334 SWIG_null_ref("wxFont");
21336 if (SWIG_arg_fail(2)) SWIG_fail
;
21339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21340 (arg1
)->SetFont((wxFont
const &)*arg2
);
21342 wxPyEndAllowThreads(__tstate
);
21343 if (PyErr_Occurred()) SWIG_fail
;
21345 Py_INCREF(Py_None
); resultobj
= Py_None
;
21352 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21353 PyObject
*resultobj
;
21354 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21356 PyObject
* obj0
= 0 ;
21357 char *kwnames
[] = {
21358 (char *) "self", NULL
21361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
21362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21363 if (SWIG_arg_fail(1)) SWIG_fail
;
21365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21366 result
= (bool)(arg1
)->HasTextColour();
21368 wxPyEndAllowThreads(__tstate
);
21369 if (PyErr_Occurred()) SWIG_fail
;
21372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21380 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21381 PyObject
*resultobj
;
21382 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21384 PyObject
* obj0
= 0 ;
21385 char *kwnames
[] = {
21386 (char *) "self", NULL
21389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
21390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21391 if (SWIG_arg_fail(1)) SWIG_fail
;
21393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21394 result
= (bool)(arg1
)->HasBackgroundColour();
21396 wxPyEndAllowThreads(__tstate
);
21397 if (PyErr_Occurred()) SWIG_fail
;
21400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21408 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21409 PyObject
*resultobj
;
21410 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21412 PyObject
* obj0
= 0 ;
21413 char *kwnames
[] = {
21414 (char *) "self", NULL
21417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
21418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21419 if (SWIG_arg_fail(1)) SWIG_fail
;
21421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21422 result
= (bool)(arg1
)->HasFont();
21424 wxPyEndAllowThreads(__tstate
);
21425 if (PyErr_Occurred()) SWIG_fail
;
21428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21436 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21437 PyObject
*resultobj
;
21438 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21440 PyObject
* obj0
= 0 ;
21441 char *kwnames
[] = {
21442 (char *) "self", NULL
21445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
21446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21447 if (SWIG_arg_fail(1)) SWIG_fail
;
21449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21450 result
= (arg1
)->GetTextColour();
21452 wxPyEndAllowThreads(__tstate
);
21453 if (PyErr_Occurred()) SWIG_fail
;
21456 wxColour
* resultptr
;
21457 resultptr
= new wxColour((wxColour
&)(result
));
21458 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21466 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21467 PyObject
*resultobj
;
21468 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21470 PyObject
* obj0
= 0 ;
21471 char *kwnames
[] = {
21472 (char *) "self", NULL
21475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
21476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21477 if (SWIG_arg_fail(1)) SWIG_fail
;
21479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21480 result
= (arg1
)->GetBackgroundColour();
21482 wxPyEndAllowThreads(__tstate
);
21483 if (PyErr_Occurred()) SWIG_fail
;
21486 wxColour
* resultptr
;
21487 resultptr
= new wxColour((wxColour
&)(result
));
21488 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21496 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21497 PyObject
*resultobj
;
21498 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21500 PyObject
* obj0
= 0 ;
21501 char *kwnames
[] = {
21502 (char *) "self", NULL
21505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
21506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21507 if (SWIG_arg_fail(1)) SWIG_fail
;
21509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21510 result
= (arg1
)->GetFont();
21512 wxPyEndAllowThreads(__tstate
);
21513 if (PyErr_Occurred()) SWIG_fail
;
21516 wxFont
* resultptr
;
21517 resultptr
= new wxFont((wxFont
&)(result
));
21518 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
21526 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21527 PyObject
*resultobj
;
21528 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21529 PyObject
* obj0
= 0 ;
21530 char *kwnames
[] = {
21531 (char *) "self", NULL
21534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
21535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21536 if (SWIG_arg_fail(1)) SWIG_fail
;
21538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21539 wxListItemAttr_Destroy(arg1
);
21541 wxPyEndAllowThreads(__tstate
);
21542 if (PyErr_Occurred()) SWIG_fail
;
21544 Py_INCREF(Py_None
); resultobj
= Py_None
;
21551 static PyObject
* ListItemAttr_swigregister(PyObject
*, PyObject
*args
) {
21553 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21554 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
21556 return Py_BuildValue((char *)"");
21558 static PyObject
*_wrap_new_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21559 PyObject
*resultobj
;
21560 wxListItem
*result
;
21561 char *kwnames
[] = {
21565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
21567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21568 result
= (wxListItem
*)new wxListItem();
21570 wxPyEndAllowThreads(__tstate
);
21571 if (PyErr_Occurred()) SWIG_fail
;
21574 resultobj
= wxPyMake_wxObject(result
, 1);
21582 static PyObject
*_wrap_delete_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21583 PyObject
*resultobj
;
21584 wxListItem
*arg1
= (wxListItem
*) 0 ;
21585 PyObject
* obj0
= 0 ;
21586 char *kwnames
[] = {
21587 (char *) "self", NULL
21590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
21591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21592 if (SWIG_arg_fail(1)) SWIG_fail
;
21594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21597 wxPyEndAllowThreads(__tstate
);
21598 if (PyErr_Occurred()) SWIG_fail
;
21600 Py_INCREF(Py_None
); resultobj
= Py_None
;
21607 static PyObject
*_wrap_ListItem_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21608 PyObject
*resultobj
;
21609 wxListItem
*arg1
= (wxListItem
*) 0 ;
21610 PyObject
* obj0
= 0 ;
21611 char *kwnames
[] = {
21612 (char *) "self", NULL
21615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
21616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21617 if (SWIG_arg_fail(1)) SWIG_fail
;
21619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21622 wxPyEndAllowThreads(__tstate
);
21623 if (PyErr_Occurred()) SWIG_fail
;
21625 Py_INCREF(Py_None
); resultobj
= Py_None
;
21632 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21633 PyObject
*resultobj
;
21634 wxListItem
*arg1
= (wxListItem
*) 0 ;
21635 PyObject
* obj0
= 0 ;
21636 char *kwnames
[] = {
21637 (char *) "self", NULL
21640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
21641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21642 if (SWIG_arg_fail(1)) SWIG_fail
;
21644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21645 (arg1
)->ClearAttributes();
21647 wxPyEndAllowThreads(__tstate
);
21648 if (PyErr_Occurred()) SWIG_fail
;
21650 Py_INCREF(Py_None
); resultobj
= Py_None
;
21657 static PyObject
*_wrap_ListItem_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21658 PyObject
*resultobj
;
21659 wxListItem
*arg1
= (wxListItem
*) 0 ;
21661 PyObject
* obj0
= 0 ;
21662 PyObject
* obj1
= 0 ;
21663 char *kwnames
[] = {
21664 (char *) "self",(char *) "mask", NULL
21667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
21668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21669 if (SWIG_arg_fail(1)) SWIG_fail
;
21671 arg2
= (long)(SWIG_As_long(obj1
));
21672 if (SWIG_arg_fail(2)) SWIG_fail
;
21675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21676 (arg1
)->SetMask(arg2
);
21678 wxPyEndAllowThreads(__tstate
);
21679 if (PyErr_Occurred()) SWIG_fail
;
21681 Py_INCREF(Py_None
); resultobj
= Py_None
;
21688 static PyObject
*_wrap_ListItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21689 PyObject
*resultobj
;
21690 wxListItem
*arg1
= (wxListItem
*) 0 ;
21692 PyObject
* obj0
= 0 ;
21693 PyObject
* obj1
= 0 ;
21694 char *kwnames
[] = {
21695 (char *) "self",(char *) "id", NULL
21698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
21699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21700 if (SWIG_arg_fail(1)) SWIG_fail
;
21702 arg2
= (long)(SWIG_As_long(obj1
));
21703 if (SWIG_arg_fail(2)) SWIG_fail
;
21706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21707 (arg1
)->SetId(arg2
);
21709 wxPyEndAllowThreads(__tstate
);
21710 if (PyErr_Occurred()) SWIG_fail
;
21712 Py_INCREF(Py_None
); resultobj
= Py_None
;
21719 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21720 PyObject
*resultobj
;
21721 wxListItem
*arg1
= (wxListItem
*) 0 ;
21723 PyObject
* obj0
= 0 ;
21724 PyObject
* obj1
= 0 ;
21725 char *kwnames
[] = {
21726 (char *) "self",(char *) "col", NULL
21729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21731 if (SWIG_arg_fail(1)) SWIG_fail
;
21733 arg2
= (int)(SWIG_As_int(obj1
));
21734 if (SWIG_arg_fail(2)) SWIG_fail
;
21737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21738 (arg1
)->SetColumn(arg2
);
21740 wxPyEndAllowThreads(__tstate
);
21741 if (PyErr_Occurred()) SWIG_fail
;
21743 Py_INCREF(Py_None
); resultobj
= Py_None
;
21750 static PyObject
*_wrap_ListItem_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21751 PyObject
*resultobj
;
21752 wxListItem
*arg1
= (wxListItem
*) 0 ;
21754 PyObject
* obj0
= 0 ;
21755 PyObject
* obj1
= 0 ;
21756 char *kwnames
[] = {
21757 (char *) "self",(char *) "state", NULL
21760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
21761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21762 if (SWIG_arg_fail(1)) SWIG_fail
;
21764 arg2
= (long)(SWIG_As_long(obj1
));
21765 if (SWIG_arg_fail(2)) SWIG_fail
;
21768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21769 (arg1
)->SetState(arg2
);
21771 wxPyEndAllowThreads(__tstate
);
21772 if (PyErr_Occurred()) SWIG_fail
;
21774 Py_INCREF(Py_None
); resultobj
= Py_None
;
21781 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21782 PyObject
*resultobj
;
21783 wxListItem
*arg1
= (wxListItem
*) 0 ;
21785 PyObject
* obj0
= 0 ;
21786 PyObject
* obj1
= 0 ;
21787 char *kwnames
[] = {
21788 (char *) "self",(char *) "stateMask", NULL
21791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
21792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21793 if (SWIG_arg_fail(1)) SWIG_fail
;
21795 arg2
= (long)(SWIG_As_long(obj1
));
21796 if (SWIG_arg_fail(2)) SWIG_fail
;
21799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21800 (arg1
)->SetStateMask(arg2
);
21802 wxPyEndAllowThreads(__tstate
);
21803 if (PyErr_Occurred()) SWIG_fail
;
21805 Py_INCREF(Py_None
); resultobj
= Py_None
;
21812 static PyObject
*_wrap_ListItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21813 PyObject
*resultobj
;
21814 wxListItem
*arg1
= (wxListItem
*) 0 ;
21815 wxString
*arg2
= 0 ;
21816 bool temp2
= false ;
21817 PyObject
* obj0
= 0 ;
21818 PyObject
* obj1
= 0 ;
21819 char *kwnames
[] = {
21820 (char *) "self",(char *) "text", NULL
21823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
21824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21825 if (SWIG_arg_fail(1)) SWIG_fail
;
21827 arg2
= wxString_in_helper(obj1
);
21828 if (arg2
== NULL
) SWIG_fail
;
21832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21833 (arg1
)->SetText((wxString
const &)*arg2
);
21835 wxPyEndAllowThreads(__tstate
);
21836 if (PyErr_Occurred()) SWIG_fail
;
21838 Py_INCREF(Py_None
); resultobj
= Py_None
;
21853 static PyObject
*_wrap_ListItem_SetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21854 PyObject
*resultobj
;
21855 wxListItem
*arg1
= (wxListItem
*) 0 ;
21857 PyObject
* obj0
= 0 ;
21858 PyObject
* obj1
= 0 ;
21859 char *kwnames
[] = {
21860 (char *) "self",(char *) "image", NULL
21863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
21864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21865 if (SWIG_arg_fail(1)) SWIG_fail
;
21867 arg2
= (int)(SWIG_As_int(obj1
));
21868 if (SWIG_arg_fail(2)) SWIG_fail
;
21871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21872 (arg1
)->SetImage(arg2
);
21874 wxPyEndAllowThreads(__tstate
);
21875 if (PyErr_Occurred()) SWIG_fail
;
21877 Py_INCREF(Py_None
); resultobj
= Py_None
;
21884 static PyObject
*_wrap_ListItem_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21885 PyObject
*resultobj
;
21886 wxListItem
*arg1
= (wxListItem
*) 0 ;
21888 PyObject
* obj0
= 0 ;
21889 PyObject
* obj1
= 0 ;
21890 char *kwnames
[] = {
21891 (char *) "self",(char *) "data", NULL
21894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
21895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21896 if (SWIG_arg_fail(1)) SWIG_fail
;
21898 arg2
= (long)(SWIG_As_long(obj1
));
21899 if (SWIG_arg_fail(2)) SWIG_fail
;
21902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21903 (arg1
)->SetData(arg2
);
21905 wxPyEndAllowThreads(__tstate
);
21906 if (PyErr_Occurred()) SWIG_fail
;
21908 Py_INCREF(Py_None
); resultobj
= Py_None
;
21915 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21916 PyObject
*resultobj
;
21917 wxListItem
*arg1
= (wxListItem
*) 0 ;
21919 PyObject
* obj0
= 0 ;
21920 PyObject
* obj1
= 0 ;
21921 char *kwnames
[] = {
21922 (char *) "self",(char *) "width", NULL
21925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
21926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21927 if (SWIG_arg_fail(1)) SWIG_fail
;
21929 arg2
= (int)(SWIG_As_int(obj1
));
21930 if (SWIG_arg_fail(2)) SWIG_fail
;
21933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21934 (arg1
)->SetWidth(arg2
);
21936 wxPyEndAllowThreads(__tstate
);
21937 if (PyErr_Occurred()) SWIG_fail
;
21939 Py_INCREF(Py_None
); resultobj
= Py_None
;
21946 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21947 PyObject
*resultobj
;
21948 wxListItem
*arg1
= (wxListItem
*) 0 ;
21949 wxListColumnFormat arg2
;
21950 PyObject
* obj0
= 0 ;
21951 PyObject
* obj1
= 0 ;
21952 char *kwnames
[] = {
21953 (char *) "self",(char *) "align", NULL
21956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
21957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21958 if (SWIG_arg_fail(1)) SWIG_fail
;
21960 arg2
= (wxListColumnFormat
)(SWIG_As_int(obj1
));
21961 if (SWIG_arg_fail(2)) SWIG_fail
;
21964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21965 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
21967 wxPyEndAllowThreads(__tstate
);
21968 if (PyErr_Occurred()) SWIG_fail
;
21970 Py_INCREF(Py_None
); resultobj
= Py_None
;
21977 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21978 PyObject
*resultobj
;
21979 wxListItem
*arg1
= (wxListItem
*) 0 ;
21980 wxColour
*arg2
= 0 ;
21982 PyObject
* obj0
= 0 ;
21983 PyObject
* obj1
= 0 ;
21984 char *kwnames
[] = {
21985 (char *) "self",(char *) "colText", NULL
21988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21990 if (SWIG_arg_fail(1)) SWIG_fail
;
21993 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21997 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
21999 wxPyEndAllowThreads(__tstate
);
22000 if (PyErr_Occurred()) SWIG_fail
;
22002 Py_INCREF(Py_None
); resultobj
= Py_None
;
22009 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22010 PyObject
*resultobj
;
22011 wxListItem
*arg1
= (wxListItem
*) 0 ;
22012 wxColour
*arg2
= 0 ;
22014 PyObject
* obj0
= 0 ;
22015 PyObject
* obj1
= 0 ;
22016 char *kwnames
[] = {
22017 (char *) "self",(char *) "colBack", NULL
22020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22022 if (SWIG_arg_fail(1)) SWIG_fail
;
22025 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22029 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
22031 wxPyEndAllowThreads(__tstate
);
22032 if (PyErr_Occurred()) SWIG_fail
;
22034 Py_INCREF(Py_None
); resultobj
= Py_None
;
22041 static PyObject
*_wrap_ListItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22042 PyObject
*resultobj
;
22043 wxListItem
*arg1
= (wxListItem
*) 0 ;
22045 PyObject
* obj0
= 0 ;
22046 PyObject
* obj1
= 0 ;
22047 char *kwnames
[] = {
22048 (char *) "self",(char *) "font", NULL
22051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
22052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22053 if (SWIG_arg_fail(1)) SWIG_fail
;
22055 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
22056 if (SWIG_arg_fail(2)) SWIG_fail
;
22057 if (arg2
== NULL
) {
22058 SWIG_null_ref("wxFont");
22060 if (SWIG_arg_fail(2)) SWIG_fail
;
22063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22064 (arg1
)->SetFont((wxFont
const &)*arg2
);
22066 wxPyEndAllowThreads(__tstate
);
22067 if (PyErr_Occurred()) SWIG_fail
;
22069 Py_INCREF(Py_None
); resultobj
= Py_None
;
22076 static PyObject
*_wrap_ListItem_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22077 PyObject
*resultobj
;
22078 wxListItem
*arg1
= (wxListItem
*) 0 ;
22080 PyObject
* obj0
= 0 ;
22081 char *kwnames
[] = {
22082 (char *) "self", NULL
22085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
22086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22087 if (SWIG_arg_fail(1)) SWIG_fail
;
22089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22090 result
= (long)(arg1
)->GetMask();
22092 wxPyEndAllowThreads(__tstate
);
22093 if (PyErr_Occurred()) SWIG_fail
;
22096 resultobj
= SWIG_From_long((long)(result
));
22104 static PyObject
*_wrap_ListItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22105 PyObject
*resultobj
;
22106 wxListItem
*arg1
= (wxListItem
*) 0 ;
22108 PyObject
* obj0
= 0 ;
22109 char *kwnames
[] = {
22110 (char *) "self", NULL
22113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
22114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22115 if (SWIG_arg_fail(1)) SWIG_fail
;
22117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22118 result
= (long)(arg1
)->GetId();
22120 wxPyEndAllowThreads(__tstate
);
22121 if (PyErr_Occurred()) SWIG_fail
;
22124 resultobj
= SWIG_From_long((long)(result
));
22132 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22133 PyObject
*resultobj
;
22134 wxListItem
*arg1
= (wxListItem
*) 0 ;
22136 PyObject
* obj0
= 0 ;
22137 char *kwnames
[] = {
22138 (char *) "self", NULL
22141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
22142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22143 if (SWIG_arg_fail(1)) SWIG_fail
;
22145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22146 result
= (int)(arg1
)->GetColumn();
22148 wxPyEndAllowThreads(__tstate
);
22149 if (PyErr_Occurred()) SWIG_fail
;
22152 resultobj
= SWIG_From_int((int)(result
));
22160 static PyObject
*_wrap_ListItem_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22161 PyObject
*resultobj
;
22162 wxListItem
*arg1
= (wxListItem
*) 0 ;
22164 PyObject
* obj0
= 0 ;
22165 char *kwnames
[] = {
22166 (char *) "self", NULL
22169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
22170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22171 if (SWIG_arg_fail(1)) SWIG_fail
;
22173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22174 result
= (long)(arg1
)->GetState();
22176 wxPyEndAllowThreads(__tstate
);
22177 if (PyErr_Occurred()) SWIG_fail
;
22180 resultobj
= SWIG_From_long((long)(result
));
22188 static PyObject
*_wrap_ListItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22189 PyObject
*resultobj
;
22190 wxListItem
*arg1
= (wxListItem
*) 0 ;
22192 PyObject
* obj0
= 0 ;
22193 char *kwnames
[] = {
22194 (char *) "self", NULL
22197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
22198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22199 if (SWIG_arg_fail(1)) SWIG_fail
;
22201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22203 wxString
const &_result_ref
= (arg1
)->GetText();
22204 result
= (wxString
*) &_result_ref
;
22207 wxPyEndAllowThreads(__tstate
);
22208 if (PyErr_Occurred()) SWIG_fail
;
22212 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22214 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22223 static PyObject
*_wrap_ListItem_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22224 PyObject
*resultobj
;
22225 wxListItem
*arg1
= (wxListItem
*) 0 ;
22227 PyObject
* obj0
= 0 ;
22228 char *kwnames
[] = {
22229 (char *) "self", NULL
22232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
22233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22234 if (SWIG_arg_fail(1)) SWIG_fail
;
22236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22237 result
= (int)(arg1
)->GetImage();
22239 wxPyEndAllowThreads(__tstate
);
22240 if (PyErr_Occurred()) SWIG_fail
;
22243 resultobj
= SWIG_From_int((int)(result
));
22251 static PyObject
*_wrap_ListItem_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22252 PyObject
*resultobj
;
22253 wxListItem
*arg1
= (wxListItem
*) 0 ;
22255 PyObject
* obj0
= 0 ;
22256 char *kwnames
[] = {
22257 (char *) "self", NULL
22260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
22261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22262 if (SWIG_arg_fail(1)) SWIG_fail
;
22264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22265 result
= (long)(arg1
)->GetData();
22267 wxPyEndAllowThreads(__tstate
);
22268 if (PyErr_Occurred()) SWIG_fail
;
22271 resultobj
= SWIG_From_long((long)(result
));
22279 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22280 PyObject
*resultobj
;
22281 wxListItem
*arg1
= (wxListItem
*) 0 ;
22283 PyObject
* obj0
= 0 ;
22284 char *kwnames
[] = {
22285 (char *) "self", NULL
22288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
22289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22290 if (SWIG_arg_fail(1)) SWIG_fail
;
22292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22293 result
= (int)(arg1
)->GetWidth();
22295 wxPyEndAllowThreads(__tstate
);
22296 if (PyErr_Occurred()) SWIG_fail
;
22299 resultobj
= SWIG_From_int((int)(result
));
22307 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22308 PyObject
*resultobj
;
22309 wxListItem
*arg1
= (wxListItem
*) 0 ;
22310 wxListColumnFormat result
;
22311 PyObject
* obj0
= 0 ;
22312 char *kwnames
[] = {
22313 (char *) "self", NULL
22316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
22317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22318 if (SWIG_arg_fail(1)) SWIG_fail
;
22320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22321 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
22323 wxPyEndAllowThreads(__tstate
);
22324 if (PyErr_Occurred()) SWIG_fail
;
22326 resultobj
= SWIG_From_int((result
));
22333 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22334 PyObject
*resultobj
;
22335 wxListItem
*arg1
= (wxListItem
*) 0 ;
22336 wxListItemAttr
*result
;
22337 PyObject
* obj0
= 0 ;
22338 char *kwnames
[] = {
22339 (char *) "self", NULL
22342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
22343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22344 if (SWIG_arg_fail(1)) SWIG_fail
;
22346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22347 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
22349 wxPyEndAllowThreads(__tstate
);
22350 if (PyErr_Occurred()) SWIG_fail
;
22352 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
22359 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22360 PyObject
*resultobj
;
22361 wxListItem
*arg1
= (wxListItem
*) 0 ;
22363 PyObject
* obj0
= 0 ;
22364 char *kwnames
[] = {
22365 (char *) "self", NULL
22368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
22369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22370 if (SWIG_arg_fail(1)) SWIG_fail
;
22372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22373 result
= (bool)(arg1
)->HasAttributes();
22375 wxPyEndAllowThreads(__tstate
);
22376 if (PyErr_Occurred()) SWIG_fail
;
22379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22387 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22388 PyObject
*resultobj
;
22389 wxListItem
*arg1
= (wxListItem
*) 0 ;
22391 PyObject
* obj0
= 0 ;
22392 char *kwnames
[] = {
22393 (char *) "self", NULL
22396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
22397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22398 if (SWIG_arg_fail(1)) SWIG_fail
;
22400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22401 result
= ((wxListItem
const *)arg1
)->GetTextColour();
22403 wxPyEndAllowThreads(__tstate
);
22404 if (PyErr_Occurred()) SWIG_fail
;
22407 wxColour
* resultptr
;
22408 resultptr
= new wxColour((wxColour
&)(result
));
22409 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22417 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22418 PyObject
*resultobj
;
22419 wxListItem
*arg1
= (wxListItem
*) 0 ;
22421 PyObject
* obj0
= 0 ;
22422 char *kwnames
[] = {
22423 (char *) "self", NULL
22426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
22427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22428 if (SWIG_arg_fail(1)) SWIG_fail
;
22430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22431 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
22433 wxPyEndAllowThreads(__tstate
);
22434 if (PyErr_Occurred()) SWIG_fail
;
22437 wxColour
* resultptr
;
22438 resultptr
= new wxColour((wxColour
&)(result
));
22439 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22447 static PyObject
*_wrap_ListItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22448 PyObject
*resultobj
;
22449 wxListItem
*arg1
= (wxListItem
*) 0 ;
22451 PyObject
* obj0
= 0 ;
22452 char *kwnames
[] = {
22453 (char *) "self", NULL
22456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
22457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22458 if (SWIG_arg_fail(1)) SWIG_fail
;
22460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22461 result
= ((wxListItem
const *)arg1
)->GetFont();
22463 wxPyEndAllowThreads(__tstate
);
22464 if (PyErr_Occurred()) SWIG_fail
;
22467 wxFont
* resultptr
;
22468 resultptr
= new wxFont((wxFont
&)(result
));
22469 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22477 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22478 PyObject
*resultobj
;
22479 wxListItem
*arg1
= (wxListItem
*) 0 ;
22481 PyObject
* obj0
= 0 ;
22482 PyObject
* obj1
= 0 ;
22483 char *kwnames
[] = {
22484 (char *) "self",(char *) "m_mask", NULL
22487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22489 if (SWIG_arg_fail(1)) SWIG_fail
;
22491 arg2
= (long)(SWIG_As_long(obj1
));
22492 if (SWIG_arg_fail(2)) SWIG_fail
;
22494 if (arg1
) (arg1
)->m_mask
= arg2
;
22496 Py_INCREF(Py_None
); resultobj
= Py_None
;
22503 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22504 PyObject
*resultobj
;
22505 wxListItem
*arg1
= (wxListItem
*) 0 ;
22507 PyObject
* obj0
= 0 ;
22508 char *kwnames
[] = {
22509 (char *) "self", NULL
22512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
22513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22514 if (SWIG_arg_fail(1)) SWIG_fail
;
22515 result
= (long) ((arg1
)->m_mask
);
22518 resultobj
= SWIG_From_long((long)(result
));
22526 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22527 PyObject
*resultobj
;
22528 wxListItem
*arg1
= (wxListItem
*) 0 ;
22530 PyObject
* obj0
= 0 ;
22531 PyObject
* obj1
= 0 ;
22532 char *kwnames
[] = {
22533 (char *) "self",(char *) "m_itemId", NULL
22536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22538 if (SWIG_arg_fail(1)) SWIG_fail
;
22540 arg2
= (long)(SWIG_As_long(obj1
));
22541 if (SWIG_arg_fail(2)) SWIG_fail
;
22543 if (arg1
) (arg1
)->m_itemId
= arg2
;
22545 Py_INCREF(Py_None
); resultobj
= Py_None
;
22552 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22553 PyObject
*resultobj
;
22554 wxListItem
*arg1
= (wxListItem
*) 0 ;
22556 PyObject
* obj0
= 0 ;
22557 char *kwnames
[] = {
22558 (char *) "self", NULL
22561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
22562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22563 if (SWIG_arg_fail(1)) SWIG_fail
;
22564 result
= (long) ((arg1
)->m_itemId
);
22567 resultobj
= SWIG_From_long((long)(result
));
22575 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22576 PyObject
*resultobj
;
22577 wxListItem
*arg1
= (wxListItem
*) 0 ;
22579 PyObject
* obj0
= 0 ;
22580 PyObject
* obj1
= 0 ;
22581 char *kwnames
[] = {
22582 (char *) "self",(char *) "m_col", NULL
22585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22587 if (SWIG_arg_fail(1)) SWIG_fail
;
22589 arg2
= (int)(SWIG_As_int(obj1
));
22590 if (SWIG_arg_fail(2)) SWIG_fail
;
22592 if (arg1
) (arg1
)->m_col
= arg2
;
22594 Py_INCREF(Py_None
); resultobj
= Py_None
;
22601 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22602 PyObject
*resultobj
;
22603 wxListItem
*arg1
= (wxListItem
*) 0 ;
22605 PyObject
* obj0
= 0 ;
22606 char *kwnames
[] = {
22607 (char *) "self", NULL
22610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
22611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22612 if (SWIG_arg_fail(1)) SWIG_fail
;
22613 result
= (int) ((arg1
)->m_col
);
22616 resultobj
= SWIG_From_int((int)(result
));
22624 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22625 PyObject
*resultobj
;
22626 wxListItem
*arg1
= (wxListItem
*) 0 ;
22628 PyObject
* obj0
= 0 ;
22629 PyObject
* obj1
= 0 ;
22630 char *kwnames
[] = {
22631 (char *) "self",(char *) "m_state", NULL
22634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22636 if (SWIG_arg_fail(1)) SWIG_fail
;
22638 arg2
= (long)(SWIG_As_long(obj1
));
22639 if (SWIG_arg_fail(2)) SWIG_fail
;
22641 if (arg1
) (arg1
)->m_state
= arg2
;
22643 Py_INCREF(Py_None
); resultobj
= Py_None
;
22650 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22651 PyObject
*resultobj
;
22652 wxListItem
*arg1
= (wxListItem
*) 0 ;
22654 PyObject
* obj0
= 0 ;
22655 char *kwnames
[] = {
22656 (char *) "self", NULL
22659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
22660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22661 if (SWIG_arg_fail(1)) SWIG_fail
;
22662 result
= (long) ((arg1
)->m_state
);
22665 resultobj
= SWIG_From_long((long)(result
));
22673 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22674 PyObject
*resultobj
;
22675 wxListItem
*arg1
= (wxListItem
*) 0 ;
22677 PyObject
* obj0
= 0 ;
22678 PyObject
* obj1
= 0 ;
22679 char *kwnames
[] = {
22680 (char *) "self",(char *) "m_stateMask", NULL
22683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22685 if (SWIG_arg_fail(1)) SWIG_fail
;
22687 arg2
= (long)(SWIG_As_long(obj1
));
22688 if (SWIG_arg_fail(2)) SWIG_fail
;
22690 if (arg1
) (arg1
)->m_stateMask
= arg2
;
22692 Py_INCREF(Py_None
); resultobj
= Py_None
;
22699 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22700 PyObject
*resultobj
;
22701 wxListItem
*arg1
= (wxListItem
*) 0 ;
22703 PyObject
* obj0
= 0 ;
22704 char *kwnames
[] = {
22705 (char *) "self", NULL
22708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
22709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22710 if (SWIG_arg_fail(1)) SWIG_fail
;
22711 result
= (long) ((arg1
)->m_stateMask
);
22714 resultobj
= SWIG_From_long((long)(result
));
22722 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22723 PyObject
*resultobj
;
22724 wxListItem
*arg1
= (wxListItem
*) 0 ;
22725 wxString
*arg2
= (wxString
*) 0 ;
22726 bool temp2
= false ;
22727 PyObject
* obj0
= 0 ;
22728 PyObject
* obj1
= 0 ;
22729 char *kwnames
[] = {
22730 (char *) "self",(char *) "m_text", NULL
22733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22735 if (SWIG_arg_fail(1)) SWIG_fail
;
22737 arg2
= wxString_in_helper(obj1
);
22738 if (arg2
== NULL
) SWIG_fail
;
22741 if (arg1
) (arg1
)->m_text
= *arg2
;
22743 Py_INCREF(Py_None
); resultobj
= Py_None
;
22758 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22759 PyObject
*resultobj
;
22760 wxListItem
*arg1
= (wxListItem
*) 0 ;
22762 PyObject
* obj0
= 0 ;
22763 char *kwnames
[] = {
22764 (char *) "self", NULL
22767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
22768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22769 if (SWIG_arg_fail(1)) SWIG_fail
;
22770 result
= (wxString
*)& ((arg1
)->m_text
);
22774 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22776 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22785 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22786 PyObject
*resultobj
;
22787 wxListItem
*arg1
= (wxListItem
*) 0 ;
22789 PyObject
* obj0
= 0 ;
22790 PyObject
* obj1
= 0 ;
22791 char *kwnames
[] = {
22792 (char *) "self",(char *) "m_image", NULL
22795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22797 if (SWIG_arg_fail(1)) SWIG_fail
;
22799 arg2
= (int)(SWIG_As_int(obj1
));
22800 if (SWIG_arg_fail(2)) SWIG_fail
;
22802 if (arg1
) (arg1
)->m_image
= arg2
;
22804 Py_INCREF(Py_None
); resultobj
= Py_None
;
22811 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22812 PyObject
*resultobj
;
22813 wxListItem
*arg1
= (wxListItem
*) 0 ;
22815 PyObject
* obj0
= 0 ;
22816 char *kwnames
[] = {
22817 (char *) "self", NULL
22820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
22821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22822 if (SWIG_arg_fail(1)) SWIG_fail
;
22823 result
= (int) ((arg1
)->m_image
);
22826 resultobj
= SWIG_From_int((int)(result
));
22834 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22835 PyObject
*resultobj
;
22836 wxListItem
*arg1
= (wxListItem
*) 0 ;
22838 PyObject
* obj0
= 0 ;
22839 PyObject
* obj1
= 0 ;
22840 char *kwnames
[] = {
22841 (char *) "self",(char *) "m_data", NULL
22844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22846 if (SWIG_arg_fail(1)) SWIG_fail
;
22848 arg2
= (long)(SWIG_As_long(obj1
));
22849 if (SWIG_arg_fail(2)) SWIG_fail
;
22851 if (arg1
) (arg1
)->m_data
= arg2
;
22853 Py_INCREF(Py_None
); resultobj
= Py_None
;
22860 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22861 PyObject
*resultobj
;
22862 wxListItem
*arg1
= (wxListItem
*) 0 ;
22864 PyObject
* obj0
= 0 ;
22865 char *kwnames
[] = {
22866 (char *) "self", NULL
22869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
22870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22871 if (SWIG_arg_fail(1)) SWIG_fail
;
22872 result
= (long) ((arg1
)->m_data
);
22875 resultobj
= SWIG_From_long((long)(result
));
22883 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22884 PyObject
*resultobj
;
22885 wxListItem
*arg1
= (wxListItem
*) 0 ;
22887 PyObject
* obj0
= 0 ;
22888 PyObject
* obj1
= 0 ;
22889 char *kwnames
[] = {
22890 (char *) "self",(char *) "m_format", NULL
22893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22895 if (SWIG_arg_fail(1)) SWIG_fail
;
22897 arg2
= (int)(SWIG_As_int(obj1
));
22898 if (SWIG_arg_fail(2)) SWIG_fail
;
22900 if (arg1
) (arg1
)->m_format
= arg2
;
22902 Py_INCREF(Py_None
); resultobj
= Py_None
;
22909 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22910 PyObject
*resultobj
;
22911 wxListItem
*arg1
= (wxListItem
*) 0 ;
22913 PyObject
* obj0
= 0 ;
22914 char *kwnames
[] = {
22915 (char *) "self", NULL
22918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
22919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22920 if (SWIG_arg_fail(1)) SWIG_fail
;
22921 result
= (int) ((arg1
)->m_format
);
22924 resultobj
= SWIG_From_int((int)(result
));
22932 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22933 PyObject
*resultobj
;
22934 wxListItem
*arg1
= (wxListItem
*) 0 ;
22936 PyObject
* obj0
= 0 ;
22937 PyObject
* obj1
= 0 ;
22938 char *kwnames
[] = {
22939 (char *) "self",(char *) "m_width", NULL
22942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22944 if (SWIG_arg_fail(1)) SWIG_fail
;
22946 arg2
= (int)(SWIG_As_int(obj1
));
22947 if (SWIG_arg_fail(2)) SWIG_fail
;
22949 if (arg1
) (arg1
)->m_width
= arg2
;
22951 Py_INCREF(Py_None
); resultobj
= Py_None
;
22958 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22959 PyObject
*resultobj
;
22960 wxListItem
*arg1
= (wxListItem
*) 0 ;
22962 PyObject
* obj0
= 0 ;
22963 char *kwnames
[] = {
22964 (char *) "self", NULL
22967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
22968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22969 if (SWIG_arg_fail(1)) SWIG_fail
;
22970 result
= (int) ((arg1
)->m_width
);
22973 resultobj
= SWIG_From_int((int)(result
));
22981 static PyObject
* ListItem_swigregister(PyObject
*, PyObject
*args
) {
22983 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22984 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
22986 return Py_BuildValue((char *)"");
22988 static PyObject
*_wrap_new_ListEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22989 PyObject
*resultobj
;
22990 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22991 int arg2
= (int) 0 ;
22992 wxListEvent
*result
;
22993 PyObject
* obj0
= 0 ;
22994 PyObject
* obj1
= 0 ;
22995 char *kwnames
[] = {
22996 (char *) "commandType",(char *) "id", NULL
22999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23002 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
23003 if (SWIG_arg_fail(1)) SWIG_fail
;
23008 arg2
= (int)(SWIG_As_int(obj1
));
23009 if (SWIG_arg_fail(2)) SWIG_fail
;
23013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23014 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
23016 wxPyEndAllowThreads(__tstate
);
23017 if (PyErr_Occurred()) SWIG_fail
;
23019 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
23026 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23027 PyObject
*resultobj
;
23028 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23030 PyObject
* obj0
= 0 ;
23031 PyObject
* obj1
= 0 ;
23032 char *kwnames
[] = {
23033 (char *) "self",(char *) "m_code", NULL
23036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23038 if (SWIG_arg_fail(1)) SWIG_fail
;
23040 arg2
= (int)(SWIG_As_int(obj1
));
23041 if (SWIG_arg_fail(2)) SWIG_fail
;
23043 if (arg1
) (arg1
)->m_code
= arg2
;
23045 Py_INCREF(Py_None
); resultobj
= Py_None
;
23052 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23053 PyObject
*resultobj
;
23054 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23056 PyObject
* obj0
= 0 ;
23057 char *kwnames
[] = {
23058 (char *) "self", NULL
23061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
23062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23063 if (SWIG_arg_fail(1)) SWIG_fail
;
23064 result
= (int) ((arg1
)->m_code
);
23067 resultobj
= SWIG_From_int((int)(result
));
23075 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23076 PyObject
*resultobj
;
23077 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23079 PyObject
* obj0
= 0 ;
23080 PyObject
* obj1
= 0 ;
23081 char *kwnames
[] = {
23082 (char *) "self",(char *) "m_oldItemIndex", NULL
23085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23087 if (SWIG_arg_fail(1)) SWIG_fail
;
23089 arg2
= (long)(SWIG_As_long(obj1
));
23090 if (SWIG_arg_fail(2)) SWIG_fail
;
23092 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
23094 Py_INCREF(Py_None
); resultobj
= Py_None
;
23101 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23102 PyObject
*resultobj
;
23103 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23105 PyObject
* obj0
= 0 ;
23106 char *kwnames
[] = {
23107 (char *) "self", NULL
23110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
23111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23112 if (SWIG_arg_fail(1)) SWIG_fail
;
23113 result
= (long) ((arg1
)->m_oldItemIndex
);
23116 resultobj
= SWIG_From_long((long)(result
));
23124 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23125 PyObject
*resultobj
;
23126 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23128 PyObject
* obj0
= 0 ;
23129 PyObject
* obj1
= 0 ;
23130 char *kwnames
[] = {
23131 (char *) "self",(char *) "m_itemIndex", NULL
23134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23136 if (SWIG_arg_fail(1)) SWIG_fail
;
23138 arg2
= (long)(SWIG_As_long(obj1
));
23139 if (SWIG_arg_fail(2)) SWIG_fail
;
23141 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
23143 Py_INCREF(Py_None
); resultobj
= Py_None
;
23150 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23151 PyObject
*resultobj
;
23152 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23154 PyObject
* obj0
= 0 ;
23155 char *kwnames
[] = {
23156 (char *) "self", NULL
23159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
23160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23161 if (SWIG_arg_fail(1)) SWIG_fail
;
23162 result
= (long) ((arg1
)->m_itemIndex
);
23165 resultobj
= SWIG_From_long((long)(result
));
23173 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23174 PyObject
*resultobj
;
23175 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23177 PyObject
* obj0
= 0 ;
23178 PyObject
* obj1
= 0 ;
23179 char *kwnames
[] = {
23180 (char *) "self",(char *) "m_col", NULL
23183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23185 if (SWIG_arg_fail(1)) SWIG_fail
;
23187 arg2
= (int)(SWIG_As_int(obj1
));
23188 if (SWIG_arg_fail(2)) SWIG_fail
;
23190 if (arg1
) (arg1
)->m_col
= arg2
;
23192 Py_INCREF(Py_None
); resultobj
= Py_None
;
23199 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23200 PyObject
*resultobj
;
23201 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23203 PyObject
* obj0
= 0 ;
23204 char *kwnames
[] = {
23205 (char *) "self", NULL
23208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
23209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23210 if (SWIG_arg_fail(1)) SWIG_fail
;
23211 result
= (int) ((arg1
)->m_col
);
23214 resultobj
= SWIG_From_int((int)(result
));
23222 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23223 PyObject
*resultobj
;
23224 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23225 wxPoint
*arg2
= (wxPoint
*) 0 ;
23226 PyObject
* obj0
= 0 ;
23227 PyObject
* obj1
= 0 ;
23228 char *kwnames
[] = {
23229 (char *) "self",(char *) "m_pointDrag", NULL
23232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23234 if (SWIG_arg_fail(1)) SWIG_fail
;
23235 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
23236 if (SWIG_arg_fail(2)) SWIG_fail
;
23237 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
23239 Py_INCREF(Py_None
); resultobj
= Py_None
;
23246 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23247 PyObject
*resultobj
;
23248 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23250 PyObject
* obj0
= 0 ;
23251 char *kwnames
[] = {
23252 (char *) "self", NULL
23255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
23256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23257 if (SWIG_arg_fail(1)) SWIG_fail
;
23258 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
23260 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
23267 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23268 PyObject
*resultobj
;
23269 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23270 wxListItem
*result
;
23271 PyObject
* obj0
= 0 ;
23272 char *kwnames
[] = {
23273 (char *) "self", NULL
23276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
23277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23278 if (SWIG_arg_fail(1)) SWIG_fail
;
23279 result
= (wxListItem
*)& ((arg1
)->m_item
);
23282 resultobj
= wxPyMake_wxObject(result
, 0);
23290 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23291 PyObject
*resultobj
;
23292 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23294 PyObject
* obj0
= 0 ;
23295 char *kwnames
[] = {
23296 (char *) "self", NULL
23299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
23300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23301 if (SWIG_arg_fail(1)) SWIG_fail
;
23303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23304 result
= (int)(arg1
)->GetKeyCode();
23306 wxPyEndAllowThreads(__tstate
);
23307 if (PyErr_Occurred()) SWIG_fail
;
23310 resultobj
= SWIG_From_int((int)(result
));
23318 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23319 PyObject
*resultobj
;
23320 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23322 PyObject
* obj0
= 0 ;
23323 char *kwnames
[] = {
23324 (char *) "self", NULL
23327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
23328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23329 if (SWIG_arg_fail(1)) SWIG_fail
;
23331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23332 result
= (long)(arg1
)->GetIndex();
23334 wxPyEndAllowThreads(__tstate
);
23335 if (PyErr_Occurred()) SWIG_fail
;
23338 resultobj
= SWIG_From_long((long)(result
));
23346 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23347 PyObject
*resultobj
;
23348 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23350 PyObject
* obj0
= 0 ;
23351 char *kwnames
[] = {
23352 (char *) "self", NULL
23355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
23356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23357 if (SWIG_arg_fail(1)) SWIG_fail
;
23359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23360 result
= (int)(arg1
)->GetColumn();
23362 wxPyEndAllowThreads(__tstate
);
23363 if (PyErr_Occurred()) SWIG_fail
;
23366 resultobj
= SWIG_From_int((int)(result
));
23374 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23375 PyObject
*resultobj
;
23376 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23378 PyObject
* obj0
= 0 ;
23379 char *kwnames
[] = {
23380 (char *) "self", NULL
23383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
23384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23385 if (SWIG_arg_fail(1)) SWIG_fail
;
23387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23388 result
= (arg1
)->GetPoint();
23390 wxPyEndAllowThreads(__tstate
);
23391 if (PyErr_Occurred()) SWIG_fail
;
23394 wxPoint
* resultptr
;
23395 resultptr
= new wxPoint((wxPoint
&)(result
));
23396 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23404 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23405 PyObject
*resultobj
;
23406 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23408 PyObject
* obj0
= 0 ;
23409 char *kwnames
[] = {
23410 (char *) "self", NULL
23413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
23414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23415 if (SWIG_arg_fail(1)) SWIG_fail
;
23417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23419 wxString
const &_result_ref
= (arg1
)->GetLabel();
23420 result
= (wxString
*) &_result_ref
;
23423 wxPyEndAllowThreads(__tstate
);
23424 if (PyErr_Occurred()) SWIG_fail
;
23428 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23430 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23439 static PyObject
*_wrap_ListEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23440 PyObject
*resultobj
;
23441 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23443 PyObject
* obj0
= 0 ;
23444 char *kwnames
[] = {
23445 (char *) "self", NULL
23448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
23449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23450 if (SWIG_arg_fail(1)) SWIG_fail
;
23452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23454 wxString
const &_result_ref
= (arg1
)->GetText();
23455 result
= (wxString
*) &_result_ref
;
23458 wxPyEndAllowThreads(__tstate
);
23459 if (PyErr_Occurred()) SWIG_fail
;
23463 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23465 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23474 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23475 PyObject
*resultobj
;
23476 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23478 PyObject
* obj0
= 0 ;
23479 char *kwnames
[] = {
23480 (char *) "self", NULL
23483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
23484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23485 if (SWIG_arg_fail(1)) SWIG_fail
;
23487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23488 result
= (int)(arg1
)->GetImage();
23490 wxPyEndAllowThreads(__tstate
);
23491 if (PyErr_Occurred()) SWIG_fail
;
23494 resultobj
= SWIG_From_int((int)(result
));
23502 static PyObject
*_wrap_ListEvent_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23503 PyObject
*resultobj
;
23504 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23506 PyObject
* obj0
= 0 ;
23507 char *kwnames
[] = {
23508 (char *) "self", NULL
23511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
23512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23513 if (SWIG_arg_fail(1)) SWIG_fail
;
23515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23516 result
= (long)(arg1
)->GetData();
23518 wxPyEndAllowThreads(__tstate
);
23519 if (PyErr_Occurred()) SWIG_fail
;
23522 resultobj
= SWIG_From_long((long)(result
));
23530 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23531 PyObject
*resultobj
;
23532 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23534 PyObject
* obj0
= 0 ;
23535 char *kwnames
[] = {
23536 (char *) "self", NULL
23539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
23540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23541 if (SWIG_arg_fail(1)) SWIG_fail
;
23543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23544 result
= (long)(arg1
)->GetMask();
23546 wxPyEndAllowThreads(__tstate
);
23547 if (PyErr_Occurred()) SWIG_fail
;
23550 resultobj
= SWIG_From_long((long)(result
));
23558 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23559 PyObject
*resultobj
;
23560 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23561 wxListItem
*result
;
23562 PyObject
* obj0
= 0 ;
23563 char *kwnames
[] = {
23564 (char *) "self", NULL
23567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
23568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23569 if (SWIG_arg_fail(1)) SWIG_fail
;
23571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23573 wxListItem
const &_result_ref
= (arg1
)->GetItem();
23574 result
= (wxListItem
*) &_result_ref
;
23577 wxPyEndAllowThreads(__tstate
);
23578 if (PyErr_Occurred()) SWIG_fail
;
23580 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
23587 static PyObject
*_wrap_ListEvent_GetCacheFrom(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_GetCacheFrom",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
= (long)(arg1
)->GetCacheFrom();
23603 wxPyEndAllowThreads(__tstate
);
23604 if (PyErr_Occurred()) SWIG_fail
;
23607 resultobj
= SWIG_From_long((long)(result
));
23615 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23616 PyObject
*resultobj
;
23617 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23619 PyObject
* obj0
= 0 ;
23620 char *kwnames
[] = {
23621 (char *) "self", NULL
23624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
23625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23626 if (SWIG_arg_fail(1)) SWIG_fail
;
23628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23629 result
= (long)(arg1
)->GetCacheTo();
23631 wxPyEndAllowThreads(__tstate
);
23632 if (PyErr_Occurred()) SWIG_fail
;
23635 resultobj
= SWIG_From_long((long)(result
));
23643 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23644 PyObject
*resultobj
;
23645 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23647 PyObject
* obj0
= 0 ;
23648 char *kwnames
[] = {
23649 (char *) "self", NULL
23652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
23653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23654 if (SWIG_arg_fail(1)) SWIG_fail
;
23656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23657 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
23659 wxPyEndAllowThreads(__tstate
);
23660 if (PyErr_Occurred()) SWIG_fail
;
23663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23671 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23672 PyObject
*resultobj
;
23673 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23675 PyObject
* obj0
= 0 ;
23676 PyObject
* obj1
= 0 ;
23677 char *kwnames
[] = {
23678 (char *) "self",(char *) "editCancelled", NULL
23681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
23682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23683 if (SWIG_arg_fail(1)) SWIG_fail
;
23685 arg2
= (bool)(SWIG_As_bool(obj1
));
23686 if (SWIG_arg_fail(2)) SWIG_fail
;
23689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23690 (arg1
)->SetEditCanceled(arg2
);
23692 wxPyEndAllowThreads(__tstate
);
23693 if (PyErr_Occurred()) SWIG_fail
;
23695 Py_INCREF(Py_None
); resultobj
= Py_None
;
23702 static PyObject
* ListEvent_swigregister(PyObject
*, PyObject
*args
) {
23704 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23705 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
23707 return Py_BuildValue((char *)"");
23709 static PyObject
*_wrap_new_ListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23710 PyObject
*resultobj
;
23711 wxWindow
*arg1
= (wxWindow
*) 0 ;
23712 int arg2
= (int) -1 ;
23713 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23714 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23715 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23716 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23717 long arg5
= (long) wxLC_ICON
;
23718 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23719 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23720 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
23721 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23722 wxPyListCtrl
*result
;
23725 bool temp7
= false ;
23726 PyObject
* obj0
= 0 ;
23727 PyObject
* obj1
= 0 ;
23728 PyObject
* obj2
= 0 ;
23729 PyObject
* obj3
= 0 ;
23730 PyObject
* obj4
= 0 ;
23731 PyObject
* obj5
= 0 ;
23732 PyObject
* obj6
= 0 ;
23733 char *kwnames
[] = {
23734 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23739 if (SWIG_arg_fail(1)) SWIG_fail
;
23742 arg2
= (int)(SWIG_As_int(obj1
));
23743 if (SWIG_arg_fail(2)) SWIG_fail
;
23749 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23755 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23760 arg5
= (long)(SWIG_As_long(obj4
));
23761 if (SWIG_arg_fail(5)) SWIG_fail
;
23766 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
23767 if (SWIG_arg_fail(6)) SWIG_fail
;
23768 if (arg6
== NULL
) {
23769 SWIG_null_ref("wxValidator");
23771 if (SWIG_arg_fail(6)) SWIG_fail
;
23776 arg7
= wxString_in_helper(obj6
);
23777 if (arg7
== NULL
) SWIG_fail
;
23782 if (!wxPyCheckForApp()) SWIG_fail
;
23783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23784 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23786 wxPyEndAllowThreads(__tstate
);
23787 if (PyErr_Occurred()) SWIG_fail
;
23789 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
23804 static PyObject
*_wrap_new_PreListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23805 PyObject
*resultobj
;
23806 wxPyListCtrl
*result
;
23807 char *kwnames
[] = {
23811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
23813 if (!wxPyCheckForApp()) SWIG_fail
;
23814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23815 result
= (wxPyListCtrl
*)new wxPyListCtrl();
23817 wxPyEndAllowThreads(__tstate
);
23818 if (PyErr_Occurred()) SWIG_fail
;
23820 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
23827 static PyObject
*_wrap_ListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23828 PyObject
*resultobj
;
23829 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23830 wxWindow
*arg2
= (wxWindow
*) 0 ;
23831 int arg3
= (int) -1 ;
23832 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23833 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23834 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23835 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23836 long arg6
= (long) wxLC_ICON
;
23837 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23838 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23839 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
23840 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23844 bool temp8
= false ;
23845 PyObject
* obj0
= 0 ;
23846 PyObject
* obj1
= 0 ;
23847 PyObject
* obj2
= 0 ;
23848 PyObject
* obj3
= 0 ;
23849 PyObject
* obj4
= 0 ;
23850 PyObject
* obj5
= 0 ;
23851 PyObject
* obj6
= 0 ;
23852 PyObject
* obj7
= 0 ;
23853 char *kwnames
[] = {
23854 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
23859 if (SWIG_arg_fail(1)) SWIG_fail
;
23860 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23861 if (SWIG_arg_fail(2)) SWIG_fail
;
23864 arg3
= (int)(SWIG_As_int(obj2
));
23865 if (SWIG_arg_fail(3)) SWIG_fail
;
23871 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23877 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23882 arg6
= (long)(SWIG_As_long(obj5
));
23883 if (SWIG_arg_fail(6)) SWIG_fail
;
23888 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
23889 if (SWIG_arg_fail(7)) SWIG_fail
;
23890 if (arg7
== NULL
) {
23891 SWIG_null_ref("wxValidator");
23893 if (SWIG_arg_fail(7)) SWIG_fail
;
23898 arg8
= wxString_in_helper(obj7
);
23899 if (arg8
== NULL
) SWIG_fail
;
23904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23905 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
23907 wxPyEndAllowThreads(__tstate
);
23908 if (PyErr_Occurred()) SWIG_fail
;
23911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23927 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23928 PyObject
*resultobj
;
23929 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23930 PyObject
*arg2
= (PyObject
*) 0 ;
23931 PyObject
*arg3
= (PyObject
*) 0 ;
23932 PyObject
* obj0
= 0 ;
23933 PyObject
* obj1
= 0 ;
23934 PyObject
* obj2
= 0 ;
23935 char *kwnames
[] = {
23936 (char *) "self",(char *) "self",(char *) "_class", NULL
23939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
23941 if (SWIG_arg_fail(1)) SWIG_fail
;
23945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23946 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23948 wxPyEndAllowThreads(__tstate
);
23949 if (PyErr_Occurred()) SWIG_fail
;
23951 Py_INCREF(Py_None
); resultobj
= Py_None
;
23958 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23959 PyObject
*resultobj
;
23960 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23961 wxColour
*arg2
= 0 ;
23964 PyObject
* obj0
= 0 ;
23965 PyObject
* obj1
= 0 ;
23966 char *kwnames
[] = {
23967 (char *) "self",(char *) "col", NULL
23970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
23972 if (SWIG_arg_fail(1)) SWIG_fail
;
23975 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23979 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
23981 wxPyEndAllowThreads(__tstate
);
23982 if (PyErr_Occurred()) SWIG_fail
;
23985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23993 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23994 PyObject
*resultobj
;
23995 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23996 wxColour
*arg2
= 0 ;
23999 PyObject
* obj0
= 0 ;
24000 PyObject
* obj1
= 0 ;
24001 char *kwnames
[] = {
24002 (char *) "self",(char *) "col", NULL
24005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24007 if (SWIG_arg_fail(1)) SWIG_fail
;
24010 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24014 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
24016 wxPyEndAllowThreads(__tstate
);
24017 if (PyErr_Occurred()) SWIG_fail
;
24020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24028 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24029 PyObject
*resultobj
;
24030 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24032 wxListItem
*result
;
24033 PyObject
* obj0
= 0 ;
24034 PyObject
* obj1
= 0 ;
24035 char *kwnames
[] = {
24036 (char *) "self",(char *) "col", NULL
24039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
24040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24041 if (SWIG_arg_fail(1)) SWIG_fail
;
24043 arg2
= (int)(SWIG_As_int(obj1
));
24044 if (SWIG_arg_fail(2)) SWIG_fail
;
24047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24048 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
24050 wxPyEndAllowThreads(__tstate
);
24051 if (PyErr_Occurred()) SWIG_fail
;
24054 resultobj
= wxPyMake_wxObject(result
, 0);
24062 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24063 PyObject
*resultobj
;
24064 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24066 wxListItem
*arg3
= 0 ;
24068 PyObject
* obj0
= 0 ;
24069 PyObject
* obj1
= 0 ;
24070 PyObject
* obj2
= 0 ;
24071 char *kwnames
[] = {
24072 (char *) "self",(char *) "col",(char *) "item", NULL
24075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24077 if (SWIG_arg_fail(1)) SWIG_fail
;
24079 arg2
= (int)(SWIG_As_int(obj1
));
24080 if (SWIG_arg_fail(2)) SWIG_fail
;
24083 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24084 if (SWIG_arg_fail(3)) SWIG_fail
;
24085 if (arg3
== NULL
) {
24086 SWIG_null_ref("wxListItem");
24088 if (SWIG_arg_fail(3)) SWIG_fail
;
24091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24092 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
24094 wxPyEndAllowThreads(__tstate
);
24095 if (PyErr_Occurred()) SWIG_fail
;
24098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24106 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24107 PyObject
*resultobj
;
24108 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24111 PyObject
* obj0
= 0 ;
24112 PyObject
* obj1
= 0 ;
24113 char *kwnames
[] = {
24114 (char *) "self",(char *) "col", NULL
24117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
24118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24119 if (SWIG_arg_fail(1)) SWIG_fail
;
24121 arg2
= (int)(SWIG_As_int(obj1
));
24122 if (SWIG_arg_fail(2)) SWIG_fail
;
24125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24126 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
24128 wxPyEndAllowThreads(__tstate
);
24129 if (PyErr_Occurred()) SWIG_fail
;
24132 resultobj
= SWIG_From_int((int)(result
));
24140 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24141 PyObject
*resultobj
;
24142 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24146 PyObject
* obj0
= 0 ;
24147 PyObject
* obj1
= 0 ;
24148 PyObject
* obj2
= 0 ;
24149 char *kwnames
[] = {
24150 (char *) "self",(char *) "col",(char *) "width", NULL
24153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24155 if (SWIG_arg_fail(1)) SWIG_fail
;
24157 arg2
= (int)(SWIG_As_int(obj1
));
24158 if (SWIG_arg_fail(2)) SWIG_fail
;
24161 arg3
= (int)(SWIG_As_int(obj2
));
24162 if (SWIG_arg_fail(3)) SWIG_fail
;
24165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24166 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
24168 wxPyEndAllowThreads(__tstate
);
24169 if (PyErr_Occurred()) SWIG_fail
;
24172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24180 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24181 PyObject
*resultobj
;
24182 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24184 PyObject
* obj0
= 0 ;
24185 char *kwnames
[] = {
24186 (char *) "self", NULL
24189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
24190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24191 if (SWIG_arg_fail(1)) SWIG_fail
;
24193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24194 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
24196 wxPyEndAllowThreads(__tstate
);
24197 if (PyErr_Occurred()) SWIG_fail
;
24200 resultobj
= SWIG_From_int((int)(result
));
24208 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24209 PyObject
*resultobj
;
24210 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24212 PyObject
* obj0
= 0 ;
24213 char *kwnames
[] = {
24214 (char *) "self", NULL
24217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
24218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24219 if (SWIG_arg_fail(1)) SWIG_fail
;
24221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24222 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
24224 wxPyEndAllowThreads(__tstate
);
24225 if (PyErr_Occurred()) SWIG_fail
;
24228 wxRect
* resultptr
;
24229 resultptr
= new wxRect((wxRect
&)(result
));
24230 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
24238 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24239 PyObject
*resultobj
;
24240 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24242 int arg3
= (int) 0 ;
24243 wxListItem
*result
;
24244 PyObject
* obj0
= 0 ;
24245 PyObject
* obj1
= 0 ;
24246 PyObject
* obj2
= 0 ;
24247 char *kwnames
[] = {
24248 (char *) "self",(char *) "itemId",(char *) "col", NULL
24251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24253 if (SWIG_arg_fail(1)) SWIG_fail
;
24255 arg2
= (long)(SWIG_As_long(obj1
));
24256 if (SWIG_arg_fail(2)) SWIG_fail
;
24260 arg3
= (int)(SWIG_As_int(obj2
));
24261 if (SWIG_arg_fail(3)) SWIG_fail
;
24265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24266 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
24268 wxPyEndAllowThreads(__tstate
);
24269 if (PyErr_Occurred()) SWIG_fail
;
24272 resultobj
= wxPyMake_wxObject(result
, 0);
24280 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24281 PyObject
*resultobj
;
24282 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24283 wxListItem
*arg2
= 0 ;
24285 PyObject
* obj0
= 0 ;
24286 PyObject
* obj1
= 0 ;
24287 char *kwnames
[] = {
24288 (char *) "self",(char *) "info", NULL
24291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24293 if (SWIG_arg_fail(1)) SWIG_fail
;
24295 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24296 if (SWIG_arg_fail(2)) SWIG_fail
;
24297 if (arg2
== NULL
) {
24298 SWIG_null_ref("wxListItem");
24300 if (SWIG_arg_fail(2)) SWIG_fail
;
24303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24304 result
= (bool)(arg1
)->SetItem(*arg2
);
24306 wxPyEndAllowThreads(__tstate
);
24307 if (PyErr_Occurred()) SWIG_fail
;
24310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24318 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24319 PyObject
*resultobj
;
24320 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24323 wxString
*arg4
= 0 ;
24324 int arg5
= (int) -1 ;
24326 bool temp4
= false ;
24327 PyObject
* obj0
= 0 ;
24328 PyObject
* obj1
= 0 ;
24329 PyObject
* obj2
= 0 ;
24330 PyObject
* obj3
= 0 ;
24331 PyObject
* obj4
= 0 ;
24332 char *kwnames
[] = {
24333 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
24336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24338 if (SWIG_arg_fail(1)) SWIG_fail
;
24340 arg2
= (long)(SWIG_As_long(obj1
));
24341 if (SWIG_arg_fail(2)) SWIG_fail
;
24344 arg3
= (int)(SWIG_As_int(obj2
));
24345 if (SWIG_arg_fail(3)) SWIG_fail
;
24348 arg4
= wxString_in_helper(obj3
);
24349 if (arg4
== NULL
) SWIG_fail
;
24354 arg5
= (int)(SWIG_As_int(obj4
));
24355 if (SWIG_arg_fail(5)) SWIG_fail
;
24359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24360 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
24362 wxPyEndAllowThreads(__tstate
);
24363 if (PyErr_Occurred()) SWIG_fail
;
24366 resultobj
= SWIG_From_long((long)(result
));
24382 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24383 PyObject
*resultobj
;
24384 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24388 PyObject
* obj0
= 0 ;
24389 PyObject
* obj1
= 0 ;
24390 PyObject
* obj2
= 0 ;
24391 char *kwnames
[] = {
24392 (char *) "self",(char *) "item",(char *) "stateMask", NULL
24395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24397 if (SWIG_arg_fail(1)) SWIG_fail
;
24399 arg2
= (long)(SWIG_As_long(obj1
));
24400 if (SWIG_arg_fail(2)) SWIG_fail
;
24403 arg3
= (long)(SWIG_As_long(obj2
));
24404 if (SWIG_arg_fail(3)) SWIG_fail
;
24407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24408 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
24410 wxPyEndAllowThreads(__tstate
);
24411 if (PyErr_Occurred()) SWIG_fail
;
24414 resultobj
= SWIG_From_int((int)(result
));
24422 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24423 PyObject
*resultobj
;
24424 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24429 PyObject
* obj0
= 0 ;
24430 PyObject
* obj1
= 0 ;
24431 PyObject
* obj2
= 0 ;
24432 PyObject
* obj3
= 0 ;
24433 char *kwnames
[] = {
24434 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
24437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24439 if (SWIG_arg_fail(1)) SWIG_fail
;
24441 arg2
= (long)(SWIG_As_long(obj1
));
24442 if (SWIG_arg_fail(2)) SWIG_fail
;
24445 arg3
= (long)(SWIG_As_long(obj2
));
24446 if (SWIG_arg_fail(3)) SWIG_fail
;
24449 arg4
= (long)(SWIG_As_long(obj3
));
24450 if (SWIG_arg_fail(4)) SWIG_fail
;
24453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24454 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
24456 wxPyEndAllowThreads(__tstate
);
24457 if (PyErr_Occurred()) SWIG_fail
;
24460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24468 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24469 PyObject
*resultobj
;
24470 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24473 int arg4
= (int) -1 ;
24475 PyObject
* obj0
= 0 ;
24476 PyObject
* obj1
= 0 ;
24477 PyObject
* obj2
= 0 ;
24478 PyObject
* obj3
= 0 ;
24479 char *kwnames
[] = {
24480 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
24483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24485 if (SWIG_arg_fail(1)) SWIG_fail
;
24487 arg2
= (long)(SWIG_As_long(obj1
));
24488 if (SWIG_arg_fail(2)) SWIG_fail
;
24491 arg3
= (int)(SWIG_As_int(obj2
));
24492 if (SWIG_arg_fail(3)) SWIG_fail
;
24496 arg4
= (int)(SWIG_As_int(obj3
));
24497 if (SWIG_arg_fail(4)) SWIG_fail
;
24501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24502 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
24504 wxPyEndAllowThreads(__tstate
);
24505 if (PyErr_Occurred()) SWIG_fail
;
24508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24516 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24517 PyObject
*resultobj
;
24518 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24521 PyObject
* obj0
= 0 ;
24522 PyObject
* obj1
= 0 ;
24523 char *kwnames
[] = {
24524 (char *) "self",(char *) "item", NULL
24527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
24528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24529 if (SWIG_arg_fail(1)) SWIG_fail
;
24531 arg2
= (long)(SWIG_As_long(obj1
));
24532 if (SWIG_arg_fail(2)) SWIG_fail
;
24535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24536 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
24538 wxPyEndAllowThreads(__tstate
);
24539 if (PyErr_Occurred()) SWIG_fail
;
24543 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24545 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24554 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24555 PyObject
*resultobj
;
24556 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24558 wxString
*arg3
= 0 ;
24559 bool temp3
= false ;
24560 PyObject
* obj0
= 0 ;
24561 PyObject
* obj1
= 0 ;
24562 PyObject
* obj2
= 0 ;
24563 char *kwnames
[] = {
24564 (char *) "self",(char *) "item",(char *) "str", NULL
24567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24569 if (SWIG_arg_fail(1)) SWIG_fail
;
24571 arg2
= (long)(SWIG_As_long(obj1
));
24572 if (SWIG_arg_fail(2)) SWIG_fail
;
24575 arg3
= wxString_in_helper(obj2
);
24576 if (arg3
== NULL
) SWIG_fail
;
24580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24581 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
24583 wxPyEndAllowThreads(__tstate
);
24584 if (PyErr_Occurred()) SWIG_fail
;
24586 Py_INCREF(Py_None
); resultobj
= Py_None
;
24601 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24602 PyObject
*resultobj
;
24603 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24606 PyObject
* obj0
= 0 ;
24607 PyObject
* obj1
= 0 ;
24608 char *kwnames
[] = {
24609 (char *) "self",(char *) "item", NULL
24612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
24613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24614 if (SWIG_arg_fail(1)) SWIG_fail
;
24616 arg2
= (long)(SWIG_As_long(obj1
));
24617 if (SWIG_arg_fail(2)) SWIG_fail
;
24620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24621 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
24623 wxPyEndAllowThreads(__tstate
);
24624 if (PyErr_Occurred()) SWIG_fail
;
24627 resultobj
= SWIG_From_long((long)(result
));
24635 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24636 PyObject
*resultobj
;
24637 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24641 PyObject
* obj0
= 0 ;
24642 PyObject
* obj1
= 0 ;
24643 PyObject
* obj2
= 0 ;
24644 char *kwnames
[] = {
24645 (char *) "self",(char *) "item",(char *) "data", NULL
24648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24650 if (SWIG_arg_fail(1)) SWIG_fail
;
24652 arg2
= (long)(SWIG_As_long(obj1
));
24653 if (SWIG_arg_fail(2)) SWIG_fail
;
24656 arg3
= (long)(SWIG_As_long(obj2
));
24657 if (SWIG_arg_fail(3)) SWIG_fail
;
24660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24661 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
24663 wxPyEndAllowThreads(__tstate
);
24664 if (PyErr_Occurred()) SWIG_fail
;
24667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24675 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24676 PyObject
*resultobj
;
24677 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24680 PyObject
* obj0
= 0 ;
24681 PyObject
* obj1
= 0 ;
24682 char *kwnames
[] = {
24683 (char *) "self",(char *) "item", NULL
24686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
24687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24688 if (SWIG_arg_fail(1)) SWIG_fail
;
24690 arg2
= (long)(SWIG_As_long(obj1
));
24691 if (SWIG_arg_fail(2)) SWIG_fail
;
24694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24695 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
24697 wxPyEndAllowThreads(__tstate
);
24698 if (PyErr_Occurred()) SWIG_fail
;
24701 wxPoint
* resultptr
;
24702 resultptr
= new wxPoint((wxPoint
&)(result
));
24703 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24711 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24712 PyObject
*resultobj
;
24713 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24715 int arg3
= (int) wxLIST_RECT_BOUNDS
;
24717 PyObject
* obj0
= 0 ;
24718 PyObject
* obj1
= 0 ;
24719 PyObject
* obj2
= 0 ;
24720 char *kwnames
[] = {
24721 (char *) "self",(char *) "item",(char *) "code", NULL
24724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) 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
;
24733 arg3
= (int)(SWIG_As_int(obj2
));
24734 if (SWIG_arg_fail(3)) SWIG_fail
;
24738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24739 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
24741 wxPyEndAllowThreads(__tstate
);
24742 if (PyErr_Occurred()) SWIG_fail
;
24745 wxRect
* resultptr
;
24746 resultptr
= new wxRect((wxRect
&)(result
));
24747 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
24755 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24756 PyObject
*resultobj
;
24757 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24759 wxPoint
*arg3
= 0 ;
24762 PyObject
* obj0
= 0 ;
24763 PyObject
* obj1
= 0 ;
24764 PyObject
* obj2
= 0 ;
24765 char *kwnames
[] = {
24766 (char *) "self",(char *) "item",(char *) "pos", NULL
24769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24771 if (SWIG_arg_fail(1)) SWIG_fail
;
24773 arg2
= (long)(SWIG_As_long(obj1
));
24774 if (SWIG_arg_fail(2)) SWIG_fail
;
24778 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24782 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
24784 wxPyEndAllowThreads(__tstate
);
24785 if (PyErr_Occurred()) SWIG_fail
;
24788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24796 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24797 PyObject
*resultobj
;
24798 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24800 PyObject
* obj0
= 0 ;
24801 char *kwnames
[] = {
24802 (char *) "self", NULL
24805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
24806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24807 if (SWIG_arg_fail(1)) SWIG_fail
;
24809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24810 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
24812 wxPyEndAllowThreads(__tstate
);
24813 if (PyErr_Occurred()) SWIG_fail
;
24816 resultobj
= SWIG_From_int((int)(result
));
24824 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24825 PyObject
*resultobj
;
24826 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24828 PyObject
* obj0
= 0 ;
24829 char *kwnames
[] = {
24830 (char *) "self", NULL
24833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
24834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24835 if (SWIG_arg_fail(1)) SWIG_fail
;
24837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24838 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
24840 wxPyEndAllowThreads(__tstate
);
24841 if (PyErr_Occurred()) SWIG_fail
;
24844 resultobj
= SWIG_From_int((int)(result
));
24852 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24853 PyObject
*resultobj
;
24854 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24856 PyObject
* obj0
= 0 ;
24857 char *kwnames
[] = {
24858 (char *) "self", NULL
24861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
24862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24863 if (SWIG_arg_fail(1)) SWIG_fail
;
24865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24866 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
24868 wxPyEndAllowThreads(__tstate
);
24869 if (PyErr_Occurred()) SWIG_fail
;
24872 wxSize
* resultptr
;
24873 resultptr
= new wxSize((wxSize
&)(result
));
24874 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24882 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24883 PyObject
*resultobj
;
24884 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24886 bool arg3
= (bool) false ;
24887 PyObject
* obj0
= 0 ;
24888 PyObject
* obj1
= 0 ;
24889 PyObject
* obj2
= 0 ;
24890 char *kwnames
[] = {
24891 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
24894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24896 if (SWIG_arg_fail(1)) SWIG_fail
;
24898 arg2
= (int)(SWIG_As_int(obj1
));
24899 if (SWIG_arg_fail(2)) SWIG_fail
;
24903 arg3
= (bool)(SWIG_As_bool(obj2
));
24904 if (SWIG_arg_fail(3)) SWIG_fail
;
24908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24909 (arg1
)->SetItemSpacing(arg2
,arg3
);
24911 wxPyEndAllowThreads(__tstate
);
24912 if (PyErr_Occurred()) SWIG_fail
;
24914 Py_INCREF(Py_None
); resultobj
= Py_None
;
24921 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24922 PyObject
*resultobj
;
24923 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24925 PyObject
* obj0
= 0 ;
24926 char *kwnames
[] = {
24927 (char *) "self", NULL
24930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
24931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24932 if (SWIG_arg_fail(1)) SWIG_fail
;
24934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24935 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
24937 wxPyEndAllowThreads(__tstate
);
24938 if (PyErr_Occurred()) SWIG_fail
;
24941 resultobj
= SWIG_From_int((int)(result
));
24949 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24950 PyObject
*resultobj
;
24951 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24953 PyObject
* obj0
= 0 ;
24954 char *kwnames
[] = {
24955 (char *) "self", NULL
24958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
24959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24960 if (SWIG_arg_fail(1)) SWIG_fail
;
24962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24963 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
24965 wxPyEndAllowThreads(__tstate
);
24966 if (PyErr_Occurred()) SWIG_fail
;
24969 wxColour
* resultptr
;
24970 resultptr
= new wxColour((wxColour
&)(result
));
24971 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24979 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24980 PyObject
*resultobj
;
24981 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24982 wxColour
*arg2
= 0 ;
24984 PyObject
* obj0
= 0 ;
24985 PyObject
* obj1
= 0 ;
24986 char *kwnames
[] = {
24987 (char *) "self",(char *) "col", NULL
24990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24992 if (SWIG_arg_fail(1)) SWIG_fail
;
24995 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24999 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
25001 wxPyEndAllowThreads(__tstate
);
25002 if (PyErr_Occurred()) SWIG_fail
;
25004 Py_INCREF(Py_None
); resultobj
= Py_None
;
25011 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25012 PyObject
*resultobj
;
25013 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25015 PyObject
* obj0
= 0 ;
25016 char *kwnames
[] = {
25017 (char *) "self", NULL
25020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
25021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25022 if (SWIG_arg_fail(1)) SWIG_fail
;
25024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25025 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
25027 wxPyEndAllowThreads(__tstate
);
25028 if (PyErr_Occurred()) SWIG_fail
;
25031 resultobj
= SWIG_From_long((long)(result
));
25039 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25040 PyObject
*resultobj
;
25041 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25043 bool arg3
= (bool) true ;
25044 PyObject
* obj0
= 0 ;
25045 PyObject
* obj1
= 0 ;
25046 PyObject
* obj2
= 0 ;
25047 char *kwnames
[] = {
25048 (char *) "self",(char *) "style",(char *) "add", NULL
25051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25053 if (SWIG_arg_fail(1)) SWIG_fail
;
25055 arg2
= (long)(SWIG_As_long(obj1
));
25056 if (SWIG_arg_fail(2)) SWIG_fail
;
25060 arg3
= (bool)(SWIG_As_bool(obj2
));
25061 if (SWIG_arg_fail(3)) SWIG_fail
;
25065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25066 (arg1
)->SetSingleStyle(arg2
,arg3
);
25068 wxPyEndAllowThreads(__tstate
);
25069 if (PyErr_Occurred()) SWIG_fail
;
25071 Py_INCREF(Py_None
); resultobj
= Py_None
;
25078 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25079 PyObject
*resultobj
;
25080 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25082 PyObject
* obj0
= 0 ;
25083 PyObject
* obj1
= 0 ;
25084 char *kwnames
[] = {
25085 (char *) "self",(char *) "style", NULL
25088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
25089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25090 if (SWIG_arg_fail(1)) SWIG_fail
;
25092 arg2
= (long)(SWIG_As_long(obj1
));
25093 if (SWIG_arg_fail(2)) SWIG_fail
;
25096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25097 (arg1
)->SetWindowStyleFlag(arg2
);
25099 wxPyEndAllowThreads(__tstate
);
25100 if (PyErr_Occurred()) SWIG_fail
;
25102 Py_INCREF(Py_None
); resultobj
= Py_None
;
25109 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25110 PyObject
*resultobj
;
25111 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25113 int arg3
= (int) wxLIST_NEXT_ALL
;
25114 int arg4
= (int) wxLIST_STATE_DONTCARE
;
25116 PyObject
* obj0
= 0 ;
25117 PyObject
* obj1
= 0 ;
25118 PyObject
* obj2
= 0 ;
25119 PyObject
* obj3
= 0 ;
25120 char *kwnames
[] = {
25121 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
25124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25126 if (SWIG_arg_fail(1)) SWIG_fail
;
25128 arg2
= (long)(SWIG_As_long(obj1
));
25129 if (SWIG_arg_fail(2)) SWIG_fail
;
25133 arg3
= (int)(SWIG_As_int(obj2
));
25134 if (SWIG_arg_fail(3)) SWIG_fail
;
25139 arg4
= (int)(SWIG_As_int(obj3
));
25140 if (SWIG_arg_fail(4)) SWIG_fail
;
25144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25145 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
25147 wxPyEndAllowThreads(__tstate
);
25148 if (PyErr_Occurred()) SWIG_fail
;
25151 resultobj
= SWIG_From_long((long)(result
));
25159 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25160 PyObject
*resultobj
;
25161 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25163 wxImageList
*result
;
25164 PyObject
* obj0
= 0 ;
25165 PyObject
* obj1
= 0 ;
25166 char *kwnames
[] = {
25167 (char *) "self",(char *) "which", NULL
25170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25172 if (SWIG_arg_fail(1)) SWIG_fail
;
25174 arg2
= (int)(SWIG_As_int(obj1
));
25175 if (SWIG_arg_fail(2)) SWIG_fail
;
25178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25179 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
25181 wxPyEndAllowThreads(__tstate
);
25182 if (PyErr_Occurred()) SWIG_fail
;
25185 resultobj
= wxPyMake_wxObject(result
, 0);
25193 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25194 PyObject
*resultobj
;
25195 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25196 wxImageList
*arg2
= (wxImageList
*) 0 ;
25198 PyObject
* obj0
= 0 ;
25199 PyObject
* obj1
= 0 ;
25200 PyObject
* obj2
= 0 ;
25201 char *kwnames
[] = {
25202 (char *) "self",(char *) "imageList",(char *) "which", NULL
25205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25207 if (SWIG_arg_fail(1)) SWIG_fail
;
25208 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
25209 if (SWIG_arg_fail(2)) SWIG_fail
;
25211 arg3
= (int)(SWIG_As_int(obj2
));
25212 if (SWIG_arg_fail(3)) SWIG_fail
;
25215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25216 (arg1
)->SetImageList(arg2
,arg3
);
25218 wxPyEndAllowThreads(__tstate
);
25219 if (PyErr_Occurred()) SWIG_fail
;
25221 Py_INCREF(Py_None
); resultobj
= Py_None
;
25228 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25229 PyObject
*resultobj
;
25230 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25231 wxImageList
*arg2
= (wxImageList
*) 0 ;
25233 PyObject
* obj0
= 0 ;
25234 PyObject
* obj1
= 0 ;
25235 PyObject
* obj2
= 0 ;
25236 char *kwnames
[] = {
25237 (char *) "self",(char *) "imageList",(char *) "which", NULL
25240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25242 if (SWIG_arg_fail(1)) SWIG_fail
;
25243 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25244 if (SWIG_arg_fail(2)) SWIG_fail
;
25246 arg3
= (int)(SWIG_As_int(obj2
));
25247 if (SWIG_arg_fail(3)) SWIG_fail
;
25250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25251 (arg1
)->AssignImageList(arg2
,arg3
);
25253 wxPyEndAllowThreads(__tstate
);
25254 if (PyErr_Occurred()) SWIG_fail
;
25256 Py_INCREF(Py_None
); resultobj
= Py_None
;
25263 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25264 PyObject
*resultobj
;
25265 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25267 PyObject
* obj0
= 0 ;
25268 char *kwnames
[] = {
25269 (char *) "self", NULL
25272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
25273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25274 if (SWIG_arg_fail(1)) SWIG_fail
;
25276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25277 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
25279 wxPyEndAllowThreads(__tstate
);
25280 if (PyErr_Occurred()) SWIG_fail
;
25283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25291 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25292 PyObject
*resultobj
;
25293 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25295 PyObject
* obj0
= 0 ;
25296 char *kwnames
[] = {
25297 (char *) "self", NULL
25300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
25301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25302 if (SWIG_arg_fail(1)) SWIG_fail
;
25304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25305 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
25307 wxPyEndAllowThreads(__tstate
);
25308 if (PyErr_Occurred()) SWIG_fail
;
25311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25319 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25320 PyObject
*resultobj
;
25321 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25323 PyObject
* obj0
= 0 ;
25324 PyObject
* obj1
= 0 ;
25325 char *kwnames
[] = {
25326 (char *) "self",(char *) "item", NULL
25329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25331 if (SWIG_arg_fail(1)) SWIG_fail
;
25333 arg2
= (long)(SWIG_As_long(obj1
));
25334 if (SWIG_arg_fail(2)) SWIG_fail
;
25337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25338 (arg1
)->RefreshItem(arg2
);
25340 wxPyEndAllowThreads(__tstate
);
25341 if (PyErr_Occurred()) SWIG_fail
;
25343 Py_INCREF(Py_None
); resultobj
= Py_None
;
25350 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25351 PyObject
*resultobj
;
25352 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25355 PyObject
* obj0
= 0 ;
25356 PyObject
* obj1
= 0 ;
25357 PyObject
* obj2
= 0 ;
25358 char *kwnames
[] = {
25359 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
25362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25364 if (SWIG_arg_fail(1)) SWIG_fail
;
25366 arg2
= (long)(SWIG_As_long(obj1
));
25367 if (SWIG_arg_fail(2)) SWIG_fail
;
25370 arg3
= (long)(SWIG_As_long(obj2
));
25371 if (SWIG_arg_fail(3)) SWIG_fail
;
25374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25375 (arg1
)->RefreshItems(arg2
,arg3
);
25377 wxPyEndAllowThreads(__tstate
);
25378 if (PyErr_Occurred()) SWIG_fail
;
25380 Py_INCREF(Py_None
); resultobj
= Py_None
;
25387 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25388 PyObject
*resultobj
;
25389 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25390 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
25392 PyObject
* obj0
= 0 ;
25393 PyObject
* obj1
= 0 ;
25394 char *kwnames
[] = {
25395 (char *) "self",(char *) "flag", NULL
25398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
25399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25400 if (SWIG_arg_fail(1)) SWIG_fail
;
25403 arg2
= (int)(SWIG_As_int(obj1
));
25404 if (SWIG_arg_fail(2)) SWIG_fail
;
25408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25409 result
= (bool)(arg1
)->Arrange(arg2
);
25411 wxPyEndAllowThreads(__tstate
);
25412 if (PyErr_Occurred()) SWIG_fail
;
25415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25423 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25424 PyObject
*resultobj
;
25425 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25428 PyObject
* obj0
= 0 ;
25429 PyObject
* obj1
= 0 ;
25430 char *kwnames
[] = {
25431 (char *) "self",(char *) "item", NULL
25434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25436 if (SWIG_arg_fail(1)) SWIG_fail
;
25438 arg2
= (long)(SWIG_As_long(obj1
));
25439 if (SWIG_arg_fail(2)) SWIG_fail
;
25442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25443 result
= (bool)(arg1
)->DeleteItem(arg2
);
25445 wxPyEndAllowThreads(__tstate
);
25446 if (PyErr_Occurred()) SWIG_fail
;
25449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25457 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25458 PyObject
*resultobj
;
25459 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25461 PyObject
* obj0
= 0 ;
25462 char *kwnames
[] = {
25463 (char *) "self", NULL
25466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
25467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25468 if (SWIG_arg_fail(1)) SWIG_fail
;
25470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25471 result
= (bool)(arg1
)->DeleteAllItems();
25473 wxPyEndAllowThreads(__tstate
);
25474 if (PyErr_Occurred()) SWIG_fail
;
25477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25485 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25486 PyObject
*resultobj
;
25487 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25490 PyObject
* obj0
= 0 ;
25491 PyObject
* obj1
= 0 ;
25492 char *kwnames
[] = {
25493 (char *) "self",(char *) "col", NULL
25496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
25497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25498 if (SWIG_arg_fail(1)) SWIG_fail
;
25500 arg2
= (int)(SWIG_As_int(obj1
));
25501 if (SWIG_arg_fail(2)) SWIG_fail
;
25504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25505 result
= (bool)(arg1
)->DeleteColumn(arg2
);
25507 wxPyEndAllowThreads(__tstate
);
25508 if (PyErr_Occurred()) SWIG_fail
;
25511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25519 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25520 PyObject
*resultobj
;
25521 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25523 PyObject
* obj0
= 0 ;
25524 char *kwnames
[] = {
25525 (char *) "self", NULL
25528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
25529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25530 if (SWIG_arg_fail(1)) SWIG_fail
;
25532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25533 result
= (bool)(arg1
)->DeleteAllColumns();
25535 wxPyEndAllowThreads(__tstate
);
25536 if (PyErr_Occurred()) SWIG_fail
;
25539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25547 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25548 PyObject
*resultobj
;
25549 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25550 PyObject
* obj0
= 0 ;
25551 char *kwnames
[] = {
25552 (char *) "self", NULL
25555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
25556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25557 if (SWIG_arg_fail(1)) SWIG_fail
;
25559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25560 (arg1
)->ClearAll();
25562 wxPyEndAllowThreads(__tstate
);
25563 if (PyErr_Occurred()) SWIG_fail
;
25565 Py_INCREF(Py_None
); resultobj
= Py_None
;
25572 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25573 PyObject
*resultobj
;
25574 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25576 PyObject
* obj0
= 0 ;
25577 PyObject
* obj1
= 0 ;
25578 char *kwnames
[] = {
25579 (char *) "self",(char *) "item", NULL
25582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25584 if (SWIG_arg_fail(1)) SWIG_fail
;
25586 arg2
= (long)(SWIG_As_long(obj1
));
25587 if (SWIG_arg_fail(2)) SWIG_fail
;
25590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25591 (arg1
)->EditLabel(arg2
);
25593 wxPyEndAllowThreads(__tstate
);
25594 if (PyErr_Occurred()) SWIG_fail
;
25596 Py_INCREF(Py_None
); resultobj
= Py_None
;
25603 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25604 PyObject
*resultobj
;
25605 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25608 PyObject
* obj0
= 0 ;
25609 PyObject
* obj1
= 0 ;
25610 char *kwnames
[] = {
25611 (char *) "self",(char *) "item", NULL
25614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25616 if (SWIG_arg_fail(1)) SWIG_fail
;
25618 arg2
= (long)(SWIG_As_long(obj1
));
25619 if (SWIG_arg_fail(2)) SWIG_fail
;
25622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25623 result
= (bool)(arg1
)->EnsureVisible(arg2
);
25625 wxPyEndAllowThreads(__tstate
);
25626 if (PyErr_Occurred()) SWIG_fail
;
25629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25637 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25638 PyObject
*resultobj
;
25639 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25641 wxString
*arg3
= 0 ;
25642 bool arg4
= (bool) false ;
25644 bool temp3
= false ;
25645 PyObject
* obj0
= 0 ;
25646 PyObject
* obj1
= 0 ;
25647 PyObject
* obj2
= 0 ;
25648 PyObject
* obj3
= 0 ;
25649 char *kwnames
[] = {
25650 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
25653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25655 if (SWIG_arg_fail(1)) SWIG_fail
;
25657 arg2
= (long)(SWIG_As_long(obj1
));
25658 if (SWIG_arg_fail(2)) SWIG_fail
;
25661 arg3
= wxString_in_helper(obj2
);
25662 if (arg3
== NULL
) SWIG_fail
;
25667 arg4
= (bool)(SWIG_As_bool(obj3
));
25668 if (SWIG_arg_fail(4)) SWIG_fail
;
25672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25673 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
25675 wxPyEndAllowThreads(__tstate
);
25676 if (PyErr_Occurred()) SWIG_fail
;
25679 resultobj
= SWIG_From_long((long)(result
));
25695 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25696 PyObject
*resultobj
;
25697 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25701 PyObject
* obj0
= 0 ;
25702 PyObject
* obj1
= 0 ;
25703 PyObject
* obj2
= 0 ;
25704 char *kwnames
[] = {
25705 (char *) "self",(char *) "start",(char *) "data", NULL
25708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25710 if (SWIG_arg_fail(1)) SWIG_fail
;
25712 arg2
= (long)(SWIG_As_long(obj1
));
25713 if (SWIG_arg_fail(2)) SWIG_fail
;
25716 arg3
= (long)(SWIG_As_long(obj2
));
25717 if (SWIG_arg_fail(3)) SWIG_fail
;
25720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25721 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
25723 wxPyEndAllowThreads(__tstate
);
25724 if (PyErr_Occurred()) SWIG_fail
;
25727 resultobj
= SWIG_From_long((long)(result
));
25735 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25736 PyObject
*resultobj
;
25737 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25739 wxPoint
*arg3
= 0 ;
25743 PyObject
* obj0
= 0 ;
25744 PyObject
* obj1
= 0 ;
25745 PyObject
* obj2
= 0 ;
25746 PyObject
* obj3
= 0 ;
25747 char *kwnames
[] = {
25748 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
25751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25753 if (SWIG_arg_fail(1)) SWIG_fail
;
25755 arg2
= (long)(SWIG_As_long(obj1
));
25756 if (SWIG_arg_fail(2)) SWIG_fail
;
25760 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25763 arg4
= (int)(SWIG_As_int(obj3
));
25764 if (SWIG_arg_fail(4)) SWIG_fail
;
25767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25768 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
25770 wxPyEndAllowThreads(__tstate
);
25771 if (PyErr_Occurred()) SWIG_fail
;
25774 resultobj
= SWIG_From_long((long)(result
));
25782 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25783 PyObject
*resultobj
;
25784 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25785 wxPoint
*arg2
= 0 ;
25791 PyObject
* obj0
= 0 ;
25792 PyObject
* obj1
= 0 ;
25793 char *kwnames
[] = {
25794 (char *) "self",(char *) "point", NULL
25797 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
25799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25800 if (SWIG_arg_fail(1)) SWIG_fail
;
25803 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25807 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
25809 wxPyEndAllowThreads(__tstate
);
25810 if (PyErr_Occurred()) SWIG_fail
;
25813 resultobj
= SWIG_From_long((long)(result
));
25815 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25816 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25823 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25824 PyObject
*resultobj
;
25825 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25826 wxListItem
*arg2
= 0 ;
25828 PyObject
* obj0
= 0 ;
25829 PyObject
* obj1
= 0 ;
25830 char *kwnames
[] = {
25831 (char *) "self",(char *) "info", NULL
25834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25836 if (SWIG_arg_fail(1)) SWIG_fail
;
25838 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
25839 if (SWIG_arg_fail(2)) SWIG_fail
;
25840 if (arg2
== NULL
) {
25841 SWIG_null_ref("wxListItem");
25843 if (SWIG_arg_fail(2)) SWIG_fail
;
25846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25847 result
= (long)(arg1
)->InsertItem(*arg2
);
25849 wxPyEndAllowThreads(__tstate
);
25850 if (PyErr_Occurred()) SWIG_fail
;
25853 resultobj
= SWIG_From_long((long)(result
));
25861 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25862 PyObject
*resultobj
;
25863 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25865 wxString
*arg3
= 0 ;
25867 bool temp3
= false ;
25868 PyObject
* obj0
= 0 ;
25869 PyObject
* obj1
= 0 ;
25870 PyObject
* obj2
= 0 ;
25871 char *kwnames
[] = {
25872 (char *) "self",(char *) "index",(char *) "label", NULL
25875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25877 if (SWIG_arg_fail(1)) SWIG_fail
;
25879 arg2
= (long)(SWIG_As_long(obj1
));
25880 if (SWIG_arg_fail(2)) SWIG_fail
;
25883 arg3
= wxString_in_helper(obj2
);
25884 if (arg3
== NULL
) SWIG_fail
;
25888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25889 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
25891 wxPyEndAllowThreads(__tstate
);
25892 if (PyErr_Occurred()) SWIG_fail
;
25895 resultobj
= SWIG_From_long((long)(result
));
25911 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25912 PyObject
*resultobj
;
25913 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25917 PyObject
* obj0
= 0 ;
25918 PyObject
* obj1
= 0 ;
25919 PyObject
* obj2
= 0 ;
25920 char *kwnames
[] = {
25921 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
25924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25926 if (SWIG_arg_fail(1)) SWIG_fail
;
25928 arg2
= (long)(SWIG_As_long(obj1
));
25929 if (SWIG_arg_fail(2)) SWIG_fail
;
25932 arg3
= (int)(SWIG_As_int(obj2
));
25933 if (SWIG_arg_fail(3)) SWIG_fail
;
25936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25937 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
25939 wxPyEndAllowThreads(__tstate
);
25940 if (PyErr_Occurred()) SWIG_fail
;
25943 resultobj
= SWIG_From_long((long)(result
));
25951 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25952 PyObject
*resultobj
;
25953 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25955 wxString
*arg3
= 0 ;
25958 bool temp3
= false ;
25959 PyObject
* obj0
= 0 ;
25960 PyObject
* obj1
= 0 ;
25961 PyObject
* obj2
= 0 ;
25962 PyObject
* obj3
= 0 ;
25963 char *kwnames
[] = {
25964 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
25967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25969 if (SWIG_arg_fail(1)) SWIG_fail
;
25971 arg2
= (long)(SWIG_As_long(obj1
));
25972 if (SWIG_arg_fail(2)) SWIG_fail
;
25975 arg3
= wxString_in_helper(obj2
);
25976 if (arg3
== NULL
) SWIG_fail
;
25980 arg4
= (int)(SWIG_As_int(obj3
));
25981 if (SWIG_arg_fail(4)) SWIG_fail
;
25984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25985 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
25987 wxPyEndAllowThreads(__tstate
);
25988 if (PyErr_Occurred()) SWIG_fail
;
25991 resultobj
= SWIG_From_long((long)(result
));
26007 static PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26008 PyObject
*resultobj
;
26009 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26011 wxListItem
*arg3
= 0 ;
26013 PyObject
* obj0
= 0 ;
26014 PyObject
* obj1
= 0 ;
26015 PyObject
* obj2
= 0 ;
26016 char *kwnames
[] = {
26017 (char *) "self",(char *) "col",(char *) "info", NULL
26020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26022 if (SWIG_arg_fail(1)) SWIG_fail
;
26024 arg2
= (long)(SWIG_As_long(obj1
));
26025 if (SWIG_arg_fail(2)) SWIG_fail
;
26028 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
26029 if (SWIG_arg_fail(3)) SWIG_fail
;
26030 if (arg3
== NULL
) {
26031 SWIG_null_ref("wxListItem");
26033 if (SWIG_arg_fail(3)) SWIG_fail
;
26036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26037 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
26039 wxPyEndAllowThreads(__tstate
);
26040 if (PyErr_Occurred()) SWIG_fail
;
26043 resultobj
= SWIG_From_long((long)(result
));
26051 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26052 PyObject
*resultobj
;
26053 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26055 wxString
*arg3
= 0 ;
26056 int arg4
= (int) wxLIST_FORMAT_LEFT
;
26057 int arg5
= (int) -1 ;
26059 bool temp3
= false ;
26060 PyObject
* obj0
= 0 ;
26061 PyObject
* obj1
= 0 ;
26062 PyObject
* obj2
= 0 ;
26063 PyObject
* obj3
= 0 ;
26064 PyObject
* obj4
= 0 ;
26065 char *kwnames
[] = {
26066 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
26069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26071 if (SWIG_arg_fail(1)) SWIG_fail
;
26073 arg2
= (long)(SWIG_As_long(obj1
));
26074 if (SWIG_arg_fail(2)) SWIG_fail
;
26077 arg3
= wxString_in_helper(obj2
);
26078 if (arg3
== NULL
) SWIG_fail
;
26083 arg4
= (int)(SWIG_As_int(obj3
));
26084 if (SWIG_arg_fail(4)) SWIG_fail
;
26089 arg5
= (int)(SWIG_As_int(obj4
));
26090 if (SWIG_arg_fail(5)) SWIG_fail
;
26094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26095 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
26097 wxPyEndAllowThreads(__tstate
);
26098 if (PyErr_Occurred()) SWIG_fail
;
26101 resultobj
= SWIG_From_long((long)(result
));
26117 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26118 PyObject
*resultobj
;
26119 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26121 PyObject
* obj0
= 0 ;
26122 PyObject
* obj1
= 0 ;
26123 char *kwnames
[] = {
26124 (char *) "self",(char *) "count", NULL
26127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
26128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26129 if (SWIG_arg_fail(1)) SWIG_fail
;
26131 arg2
= (long)(SWIG_As_long(obj1
));
26132 if (SWIG_arg_fail(2)) SWIG_fail
;
26135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26136 (arg1
)->SetItemCount(arg2
);
26138 wxPyEndAllowThreads(__tstate
);
26139 if (PyErr_Occurred()) SWIG_fail
;
26141 Py_INCREF(Py_None
); resultobj
= Py_None
;
26148 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26149 PyObject
*resultobj
;
26150 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26154 PyObject
* obj0
= 0 ;
26155 PyObject
* obj1
= 0 ;
26156 PyObject
* obj2
= 0 ;
26157 char *kwnames
[] = {
26158 (char *) "self",(char *) "dx",(char *) "dy", NULL
26161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26163 if (SWIG_arg_fail(1)) SWIG_fail
;
26165 arg2
= (int)(SWIG_As_int(obj1
));
26166 if (SWIG_arg_fail(2)) SWIG_fail
;
26169 arg3
= (int)(SWIG_As_int(obj2
));
26170 if (SWIG_arg_fail(3)) SWIG_fail
;
26173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26174 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
26176 wxPyEndAllowThreads(__tstate
);
26177 if (PyErr_Occurred()) SWIG_fail
;
26180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26188 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26189 PyObject
*resultobj
;
26190 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26192 wxColour
*arg3
= 0 ;
26194 PyObject
* obj0
= 0 ;
26195 PyObject
* obj1
= 0 ;
26196 PyObject
* obj2
= 0 ;
26197 char *kwnames
[] = {
26198 (char *) "self",(char *) "item",(char *) "col", NULL
26201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26203 if (SWIG_arg_fail(1)) SWIG_fail
;
26205 arg2
= (long)(SWIG_As_long(obj1
));
26206 if (SWIG_arg_fail(2)) SWIG_fail
;
26210 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26214 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
26216 wxPyEndAllowThreads(__tstate
);
26217 if (PyErr_Occurred()) SWIG_fail
;
26219 Py_INCREF(Py_None
); resultobj
= Py_None
;
26226 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26227 PyObject
*resultobj
;
26228 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26231 PyObject
* obj0
= 0 ;
26232 PyObject
* obj1
= 0 ;
26233 char *kwnames
[] = {
26234 (char *) "self",(char *) "item", NULL
26237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26239 if (SWIG_arg_fail(1)) SWIG_fail
;
26241 arg2
= (long)(SWIG_As_long(obj1
));
26242 if (SWIG_arg_fail(2)) SWIG_fail
;
26245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26246 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
26248 wxPyEndAllowThreads(__tstate
);
26249 if (PyErr_Occurred()) SWIG_fail
;
26252 wxColour
* resultptr
;
26253 resultptr
= new wxColour((wxColour
&)(result
));
26254 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26262 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26263 PyObject
*resultobj
;
26264 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26266 wxColour
*arg3
= 0 ;
26268 PyObject
* obj0
= 0 ;
26269 PyObject
* obj1
= 0 ;
26270 PyObject
* obj2
= 0 ;
26271 char *kwnames
[] = {
26272 (char *) "self",(char *) "item",(char *) "col", NULL
26275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26277 if (SWIG_arg_fail(1)) SWIG_fail
;
26279 arg2
= (long)(SWIG_As_long(obj1
));
26280 if (SWIG_arg_fail(2)) SWIG_fail
;
26284 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26288 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
26290 wxPyEndAllowThreads(__tstate
);
26291 if (PyErr_Occurred()) SWIG_fail
;
26293 Py_INCREF(Py_None
); resultobj
= Py_None
;
26300 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26301 PyObject
*resultobj
;
26302 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26305 PyObject
* obj0
= 0 ;
26306 PyObject
* obj1
= 0 ;
26307 char *kwnames
[] = {
26308 (char *) "self",(char *) "item", NULL
26311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26313 if (SWIG_arg_fail(1)) SWIG_fail
;
26315 arg2
= (long)(SWIG_As_long(obj1
));
26316 if (SWIG_arg_fail(2)) SWIG_fail
;
26319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26320 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
26322 wxPyEndAllowThreads(__tstate
);
26323 if (PyErr_Occurred()) SWIG_fail
;
26326 wxColour
* resultptr
;
26327 resultptr
= new wxColour((wxColour
&)(result
));
26328 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26336 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26337 PyObject
*resultobj
;
26338 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26339 PyObject
*arg2
= (PyObject
*) 0 ;
26341 PyObject
* obj0
= 0 ;
26342 PyObject
* obj1
= 0 ;
26343 char *kwnames
[] = {
26344 (char *) "self",(char *) "func", NULL
26347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
26348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26349 if (SWIG_arg_fail(1)) SWIG_fail
;
26352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26353 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
26355 wxPyEndAllowThreads(__tstate
);
26356 if (PyErr_Occurred()) SWIG_fail
;
26359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26367 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26368 PyObject
*resultobj
;
26369 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26371 PyObject
* obj0
= 0 ;
26372 char *kwnames
[] = {
26373 (char *) "self", NULL
26376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
26377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26378 if (SWIG_arg_fail(1)) SWIG_fail
;
26380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26381 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
26383 wxPyEndAllowThreads(__tstate
);
26384 if (PyErr_Occurred()) SWIG_fail
;
26387 resultobj
= wxPyMake_wxObject(result
, 0);
26395 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26396 PyObject
*resultobj
;
26397 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
26398 wxVisualAttributes result
;
26399 PyObject
* obj0
= 0 ;
26400 char *kwnames
[] = {
26401 (char *) "variant", NULL
26404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26407 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
26408 if (SWIG_arg_fail(1)) SWIG_fail
;
26412 if (!wxPyCheckForApp()) SWIG_fail
;
26413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26414 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
26416 wxPyEndAllowThreads(__tstate
);
26417 if (PyErr_Occurred()) SWIG_fail
;
26420 wxVisualAttributes
* resultptr
;
26421 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
26422 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26430 static PyObject
* ListCtrl_swigregister(PyObject
*, PyObject
*args
) {
26432 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26433 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
26435 return Py_BuildValue((char *)"");
26437 static PyObject
*_wrap_new_ListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26438 PyObject
*resultobj
;
26439 wxWindow
*arg1
= (wxWindow
*) 0 ;
26440 int arg2
= (int) -1 ;
26441 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
26442 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
26443 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26444 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26445 long arg5
= (long) wxLC_REPORT
;
26446 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
26447 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
26448 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
26449 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26450 wxListView
*result
;
26453 bool temp7
= false ;
26454 PyObject
* obj0
= 0 ;
26455 PyObject
* obj1
= 0 ;
26456 PyObject
* obj2
= 0 ;
26457 PyObject
* obj3
= 0 ;
26458 PyObject
* obj4
= 0 ;
26459 PyObject
* obj5
= 0 ;
26460 PyObject
* obj6
= 0 ;
26461 char *kwnames
[] = {
26462 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26467 if (SWIG_arg_fail(1)) SWIG_fail
;
26470 arg2
= (int)(SWIG_As_int(obj1
));
26471 if (SWIG_arg_fail(2)) SWIG_fail
;
26477 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26483 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26488 arg5
= (long)(SWIG_As_long(obj4
));
26489 if (SWIG_arg_fail(5)) SWIG_fail
;
26494 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
26495 if (SWIG_arg_fail(6)) SWIG_fail
;
26496 if (arg6
== NULL
) {
26497 SWIG_null_ref("wxValidator");
26499 if (SWIG_arg_fail(6)) SWIG_fail
;
26504 arg7
= wxString_in_helper(obj6
);
26505 if (arg7
== NULL
) SWIG_fail
;
26510 if (!wxPyCheckForApp()) SWIG_fail
;
26511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26512 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
26514 wxPyEndAllowThreads(__tstate
);
26515 if (PyErr_Occurred()) SWIG_fail
;
26517 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
26532 static PyObject
*_wrap_new_PreListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26533 PyObject
*resultobj
;
26534 wxListView
*result
;
26535 char *kwnames
[] = {
26539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
26541 if (!wxPyCheckForApp()) SWIG_fail
;
26542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26543 result
= (wxListView
*)new wxListView();
26545 wxPyEndAllowThreads(__tstate
);
26546 if (PyErr_Occurred()) SWIG_fail
;
26548 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
26555 static PyObject
*_wrap_ListView_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26556 PyObject
*resultobj
;
26557 wxListView
*arg1
= (wxListView
*) 0 ;
26558 wxWindow
*arg2
= (wxWindow
*) 0 ;
26559 int arg3
= (int) -1 ;
26560 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26561 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26562 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26563 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26564 long arg6
= (long) wxLC_REPORT
;
26565 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
26566 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
26567 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
26568 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
26572 bool temp8
= false ;
26573 PyObject
* obj0
= 0 ;
26574 PyObject
* obj1
= 0 ;
26575 PyObject
* obj2
= 0 ;
26576 PyObject
* obj3
= 0 ;
26577 PyObject
* obj4
= 0 ;
26578 PyObject
* obj5
= 0 ;
26579 PyObject
* obj6
= 0 ;
26580 PyObject
* obj7
= 0 ;
26581 char *kwnames
[] = {
26582 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
26586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26587 if (SWIG_arg_fail(1)) SWIG_fail
;
26588 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26589 if (SWIG_arg_fail(2)) SWIG_fail
;
26592 arg3
= (int)(SWIG_As_int(obj2
));
26593 if (SWIG_arg_fail(3)) SWIG_fail
;
26599 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26605 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26610 arg6
= (long)(SWIG_As_long(obj5
));
26611 if (SWIG_arg_fail(6)) SWIG_fail
;
26616 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
26617 if (SWIG_arg_fail(7)) SWIG_fail
;
26618 if (arg7
== NULL
) {
26619 SWIG_null_ref("wxValidator");
26621 if (SWIG_arg_fail(7)) SWIG_fail
;
26626 arg8
= wxString_in_helper(obj7
);
26627 if (arg8
== NULL
) SWIG_fail
;
26632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26633 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
26635 wxPyEndAllowThreads(__tstate
);
26636 if (PyErr_Occurred()) SWIG_fail
;
26639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26655 static PyObject
*_wrap_ListView_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26656 PyObject
*resultobj
;
26657 wxListView
*arg1
= (wxListView
*) 0 ;
26659 bool arg3
= (bool) true ;
26660 PyObject
* obj0
= 0 ;
26661 PyObject
* obj1
= 0 ;
26662 PyObject
* obj2
= 0 ;
26663 char *kwnames
[] = {
26664 (char *) "self",(char *) "n",(char *) "on", NULL
26667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26669 if (SWIG_arg_fail(1)) SWIG_fail
;
26671 arg2
= (long)(SWIG_As_long(obj1
));
26672 if (SWIG_arg_fail(2)) SWIG_fail
;
26676 arg3
= (bool)(SWIG_As_bool(obj2
));
26677 if (SWIG_arg_fail(3)) SWIG_fail
;
26681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26682 (arg1
)->Select(arg2
,arg3
);
26684 wxPyEndAllowThreads(__tstate
);
26685 if (PyErr_Occurred()) SWIG_fail
;
26687 Py_INCREF(Py_None
); resultobj
= Py_None
;
26694 static PyObject
*_wrap_ListView_Focus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26695 PyObject
*resultobj
;
26696 wxListView
*arg1
= (wxListView
*) 0 ;
26698 PyObject
* obj0
= 0 ;
26699 PyObject
* obj1
= 0 ;
26700 char *kwnames
[] = {
26701 (char *) "self",(char *) "index", NULL
26704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
26705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26706 if (SWIG_arg_fail(1)) SWIG_fail
;
26708 arg2
= (long)(SWIG_As_long(obj1
));
26709 if (SWIG_arg_fail(2)) SWIG_fail
;
26712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26713 (arg1
)->Focus(arg2
);
26715 wxPyEndAllowThreads(__tstate
);
26716 if (PyErr_Occurred()) SWIG_fail
;
26718 Py_INCREF(Py_None
); resultobj
= Py_None
;
26725 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26726 PyObject
*resultobj
;
26727 wxListView
*arg1
= (wxListView
*) 0 ;
26729 PyObject
* obj0
= 0 ;
26730 char *kwnames
[] = {
26731 (char *) "self", NULL
26734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
26735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26736 if (SWIG_arg_fail(1)) SWIG_fail
;
26738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26739 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
26741 wxPyEndAllowThreads(__tstate
);
26742 if (PyErr_Occurred()) SWIG_fail
;
26745 resultobj
= SWIG_From_long((long)(result
));
26753 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26754 PyObject
*resultobj
;
26755 wxListView
*arg1
= (wxListView
*) 0 ;
26758 PyObject
* obj0
= 0 ;
26759 PyObject
* obj1
= 0 ;
26760 char *kwnames
[] = {
26761 (char *) "self",(char *) "item", NULL
26764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26766 if (SWIG_arg_fail(1)) SWIG_fail
;
26768 arg2
= (long)(SWIG_As_long(obj1
));
26769 if (SWIG_arg_fail(2)) SWIG_fail
;
26772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26773 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
26775 wxPyEndAllowThreads(__tstate
);
26776 if (PyErr_Occurred()) SWIG_fail
;
26779 resultobj
= SWIG_From_long((long)(result
));
26787 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26788 PyObject
*resultobj
;
26789 wxListView
*arg1
= (wxListView
*) 0 ;
26791 PyObject
* obj0
= 0 ;
26792 char *kwnames
[] = {
26793 (char *) "self", NULL
26796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
26797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26798 if (SWIG_arg_fail(1)) SWIG_fail
;
26800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26801 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
26803 wxPyEndAllowThreads(__tstate
);
26804 if (PyErr_Occurred()) SWIG_fail
;
26807 resultobj
= SWIG_From_long((long)(result
));
26815 static PyObject
*_wrap_ListView_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26816 PyObject
*resultobj
;
26817 wxListView
*arg1
= (wxListView
*) 0 ;
26820 PyObject
* obj0
= 0 ;
26821 PyObject
* obj1
= 0 ;
26822 char *kwnames
[] = {
26823 (char *) "self",(char *) "index", NULL
26826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26828 if (SWIG_arg_fail(1)) SWIG_fail
;
26830 arg2
= (long)(SWIG_As_long(obj1
));
26831 if (SWIG_arg_fail(2)) SWIG_fail
;
26834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26835 result
= (bool)(arg1
)->IsSelected(arg2
);
26837 wxPyEndAllowThreads(__tstate
);
26838 if (PyErr_Occurred()) SWIG_fail
;
26841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26849 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26850 PyObject
*resultobj
;
26851 wxListView
*arg1
= (wxListView
*) 0 ;
26854 PyObject
* obj0
= 0 ;
26855 PyObject
* obj1
= 0 ;
26856 PyObject
* obj2
= 0 ;
26857 char *kwnames
[] = {
26858 (char *) "self",(char *) "col",(char *) "image", NULL
26861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26863 if (SWIG_arg_fail(1)) SWIG_fail
;
26865 arg2
= (int)(SWIG_As_int(obj1
));
26866 if (SWIG_arg_fail(2)) SWIG_fail
;
26869 arg3
= (int)(SWIG_As_int(obj2
));
26870 if (SWIG_arg_fail(3)) SWIG_fail
;
26873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26874 (arg1
)->SetColumnImage(arg2
,arg3
);
26876 wxPyEndAllowThreads(__tstate
);
26877 if (PyErr_Occurred()) SWIG_fail
;
26879 Py_INCREF(Py_None
); resultobj
= Py_None
;
26886 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26887 PyObject
*resultobj
;
26888 wxListView
*arg1
= (wxListView
*) 0 ;
26890 PyObject
* obj0
= 0 ;
26891 PyObject
* obj1
= 0 ;
26892 char *kwnames
[] = {
26893 (char *) "self",(char *) "col", NULL
26896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
26897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26898 if (SWIG_arg_fail(1)) SWIG_fail
;
26900 arg2
= (int)(SWIG_As_int(obj1
));
26901 if (SWIG_arg_fail(2)) SWIG_fail
;
26904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26905 (arg1
)->ClearColumnImage(arg2
);
26907 wxPyEndAllowThreads(__tstate
);
26908 if (PyErr_Occurred()) SWIG_fail
;
26910 Py_INCREF(Py_None
); resultobj
= Py_None
;
26917 static PyObject
* ListView_swigregister(PyObject
*, PyObject
*args
) {
26919 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26920 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
26922 return Py_BuildValue((char *)"");
26924 static int _wrap_TreeCtrlNameStr_set(PyObject
*) {
26925 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
26930 static PyObject
*_wrap_TreeCtrlNameStr_get(void) {
26935 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
26937 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
26944 static PyObject
*_wrap_new_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26945 PyObject
*resultobj
;
26946 wxTreeItemId
*result
;
26947 char *kwnames
[] = {
26951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
26953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26954 result
= (wxTreeItemId
*)new wxTreeItemId();
26956 wxPyEndAllowThreads(__tstate
);
26957 if (PyErr_Occurred()) SWIG_fail
;
26959 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
26966 static PyObject
*_wrap_delete_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26967 PyObject
*resultobj
;
26968 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
26969 PyObject
* obj0
= 0 ;
26970 char *kwnames
[] = {
26971 (char *) "self", NULL
26974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
26975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
26976 if (SWIG_arg_fail(1)) SWIG_fail
;
26978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26981 wxPyEndAllowThreads(__tstate
);
26982 if (PyErr_Occurred()) SWIG_fail
;
26984 Py_INCREF(Py_None
); resultobj
= Py_None
;
26991 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26992 PyObject
*resultobj
;
26993 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
26995 PyObject
* obj0
= 0 ;
26996 char *kwnames
[] = {
26997 (char *) "self", NULL
27000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
27001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27002 if (SWIG_arg_fail(1)) SWIG_fail
;
27004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27005 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
27007 wxPyEndAllowThreads(__tstate
);
27008 if (PyErr_Occurred()) SWIG_fail
;
27011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27019 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27020 PyObject
*resultobj
;
27021 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27022 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
27024 PyObject
* obj0
= 0 ;
27025 PyObject
* obj1
= 0 ;
27026 char *kwnames
[] = {
27027 (char *) "self",(char *) "other", NULL
27030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27032 if (SWIG_arg_fail(1)) SWIG_fail
;
27033 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27034 if (SWIG_arg_fail(2)) SWIG_fail
;
27036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27037 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
27039 wxPyEndAllowThreads(__tstate
);
27040 if (PyErr_Occurred()) SWIG_fail
;
27043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27051 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27052 PyObject
*resultobj
;
27053 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27054 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
27056 PyObject
* obj0
= 0 ;
27057 PyObject
* obj1
= 0 ;
27058 char *kwnames
[] = {
27059 (char *) "self",(char *) "other", NULL
27062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27064 if (SWIG_arg_fail(1)) SWIG_fail
;
27065 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27066 if (SWIG_arg_fail(2)) SWIG_fail
;
27068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27069 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
27071 wxPyEndAllowThreads(__tstate
);
27072 if (PyErr_Occurred()) SWIG_fail
;
27075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27083 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27084 PyObject
*resultobj
;
27085 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27086 void *arg2
= (void *) 0 ;
27087 PyObject
* obj0
= 0 ;
27088 PyObject
* obj1
= 0 ;
27089 char *kwnames
[] = {
27090 (char *) "self",(char *) "m_pItem", NULL
27093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27095 if (SWIG_arg_fail(1)) SWIG_fail
;
27097 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),0,SWIG_POINTER_EXCEPTION
|SWIG_POINTER_DISOWN
))== -1) {
27098 SWIG_arg_fail(2);SWIG_fail
;
27101 if (arg1
) (arg1
)->m_pItem
= arg2
;
27103 Py_INCREF(Py_None
); resultobj
= Py_None
;
27110 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27111 PyObject
*resultobj
;
27112 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27114 PyObject
* obj0
= 0 ;
27115 char *kwnames
[] = {
27116 (char *) "self", NULL
27119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
27120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27121 if (SWIG_arg_fail(1)) SWIG_fail
;
27122 result
= (void *) ((arg1
)->m_pItem
);
27124 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
27131 static PyObject
* TreeItemId_swigregister(PyObject
*, PyObject
*args
) {
27133 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27134 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
27136 return Py_BuildValue((char *)"");
27138 static PyObject
*_wrap_new_TreeItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27139 PyObject
*resultobj
;
27140 PyObject
*arg1
= (PyObject
*) NULL
;
27141 wxPyTreeItemData
*result
;
27142 PyObject
* obj0
= 0 ;
27143 char *kwnames
[] = {
27144 (char *) "obj", NULL
27147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
27152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27153 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
27155 wxPyEndAllowThreads(__tstate
);
27156 if (PyErr_Occurred()) SWIG_fail
;
27158 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
27165 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27166 PyObject
*resultobj
;
27167 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27169 PyObject
* obj0
= 0 ;
27170 char *kwnames
[] = {
27171 (char *) "self", NULL
27174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
27175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27176 if (SWIG_arg_fail(1)) SWIG_fail
;
27178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27179 result
= (PyObject
*)(arg1
)->GetData();
27181 wxPyEndAllowThreads(__tstate
);
27182 if (PyErr_Occurred()) SWIG_fail
;
27184 resultobj
= result
;
27191 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27192 PyObject
*resultobj
;
27193 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27194 PyObject
*arg2
= (PyObject
*) 0 ;
27195 PyObject
* obj0
= 0 ;
27196 PyObject
* obj1
= 0 ;
27197 char *kwnames
[] = {
27198 (char *) "self",(char *) "obj", NULL
27201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27203 if (SWIG_arg_fail(1)) SWIG_fail
;
27206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27207 (arg1
)->SetData(arg2
);
27209 wxPyEndAllowThreads(__tstate
);
27210 if (PyErr_Occurred()) SWIG_fail
;
27212 Py_INCREF(Py_None
); resultobj
= Py_None
;
27219 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27220 PyObject
*resultobj
;
27221 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27222 wxTreeItemId
*result
;
27223 PyObject
* obj0
= 0 ;
27224 char *kwnames
[] = {
27225 (char *) "self", NULL
27228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
27229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27230 if (SWIG_arg_fail(1)) SWIG_fail
;
27232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27234 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
27235 result
= (wxTreeItemId
*) &_result_ref
;
27238 wxPyEndAllowThreads(__tstate
);
27239 if (PyErr_Occurred()) SWIG_fail
;
27241 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
27248 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27249 PyObject
*resultobj
;
27250 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27251 wxTreeItemId
*arg2
= 0 ;
27252 PyObject
* obj0
= 0 ;
27253 PyObject
* obj1
= 0 ;
27254 char *kwnames
[] = {
27255 (char *) "self",(char *) "id", NULL
27258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
27259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27260 if (SWIG_arg_fail(1)) SWIG_fail
;
27262 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27263 if (SWIG_arg_fail(2)) SWIG_fail
;
27264 if (arg2
== NULL
) {
27265 SWIG_null_ref("wxTreeItemId");
27267 if (SWIG_arg_fail(2)) SWIG_fail
;
27270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27271 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
27273 wxPyEndAllowThreads(__tstate
);
27274 if (PyErr_Occurred()) SWIG_fail
;
27276 Py_INCREF(Py_None
); resultobj
= Py_None
;
27283 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27284 PyObject
*resultobj
;
27285 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27286 PyObject
* obj0
= 0 ;
27287 char *kwnames
[] = {
27288 (char *) "self", NULL
27291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
27292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27293 if (SWIG_arg_fail(1)) SWIG_fail
;
27295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27296 wxPyTreeItemData_Destroy(arg1
);
27298 wxPyEndAllowThreads(__tstate
);
27299 if (PyErr_Occurred()) SWIG_fail
;
27301 Py_INCREF(Py_None
); resultobj
= Py_None
;
27308 static PyObject
* TreeItemData_swigregister(PyObject
*, PyObject
*args
) {
27310 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27311 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
27313 return Py_BuildValue((char *)"");
27315 static PyObject
*_wrap_new_TreeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27316 PyObject
*resultobj
;
27317 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27318 int arg2
= (int) 0 ;
27319 wxTreeEvent
*result
;
27320 PyObject
* obj0
= 0 ;
27321 PyObject
* obj1
= 0 ;
27322 char *kwnames
[] = {
27323 (char *) "commandType",(char *) "id", NULL
27326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
27329 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
27330 if (SWIG_arg_fail(1)) SWIG_fail
;
27335 arg2
= (int)(SWIG_As_int(obj1
));
27336 if (SWIG_arg_fail(2)) SWIG_fail
;
27340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27341 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
27343 wxPyEndAllowThreads(__tstate
);
27344 if (PyErr_Occurred()) SWIG_fail
;
27346 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
27353 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27354 PyObject
*resultobj
;
27355 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27356 wxTreeItemId result
;
27357 PyObject
* obj0
= 0 ;
27358 char *kwnames
[] = {
27359 (char *) "self", NULL
27362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
27363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27364 if (SWIG_arg_fail(1)) SWIG_fail
;
27366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27367 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
27369 wxPyEndAllowThreads(__tstate
);
27370 if (PyErr_Occurred()) SWIG_fail
;
27373 wxTreeItemId
* resultptr
;
27374 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
27375 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27383 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27384 PyObject
*resultobj
;
27385 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27386 wxTreeItemId
*arg2
= 0 ;
27387 PyObject
* obj0
= 0 ;
27388 PyObject
* obj1
= 0 ;
27389 char *kwnames
[] = {
27390 (char *) "self",(char *) "item", NULL
27393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27395 if (SWIG_arg_fail(1)) SWIG_fail
;
27397 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27398 if (SWIG_arg_fail(2)) SWIG_fail
;
27399 if (arg2
== NULL
) {
27400 SWIG_null_ref("wxTreeItemId");
27402 if (SWIG_arg_fail(2)) SWIG_fail
;
27405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27406 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
27408 wxPyEndAllowThreads(__tstate
);
27409 if (PyErr_Occurred()) SWIG_fail
;
27411 Py_INCREF(Py_None
); resultobj
= Py_None
;
27418 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27419 PyObject
*resultobj
;
27420 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27421 wxTreeItemId result
;
27422 PyObject
* obj0
= 0 ;
27423 char *kwnames
[] = {
27424 (char *) "self", NULL
27427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
27428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27429 if (SWIG_arg_fail(1)) SWIG_fail
;
27431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27432 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
27434 wxPyEndAllowThreads(__tstate
);
27435 if (PyErr_Occurred()) SWIG_fail
;
27438 wxTreeItemId
* resultptr
;
27439 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
27440 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27448 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27449 PyObject
*resultobj
;
27450 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27451 wxTreeItemId
*arg2
= 0 ;
27452 PyObject
* obj0
= 0 ;
27453 PyObject
* obj1
= 0 ;
27454 char *kwnames
[] = {
27455 (char *) "self",(char *) "item", NULL
27458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27460 if (SWIG_arg_fail(1)) SWIG_fail
;
27462 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27463 if (SWIG_arg_fail(2)) SWIG_fail
;
27464 if (arg2
== NULL
) {
27465 SWIG_null_ref("wxTreeItemId");
27467 if (SWIG_arg_fail(2)) SWIG_fail
;
27470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27471 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
27473 wxPyEndAllowThreads(__tstate
);
27474 if (PyErr_Occurred()) SWIG_fail
;
27476 Py_INCREF(Py_None
); resultobj
= Py_None
;
27483 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27484 PyObject
*resultobj
;
27485 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27487 PyObject
* obj0
= 0 ;
27488 char *kwnames
[] = {
27489 (char *) "self", NULL
27492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
27493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27494 if (SWIG_arg_fail(1)) SWIG_fail
;
27496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27497 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
27499 wxPyEndAllowThreads(__tstate
);
27500 if (PyErr_Occurred()) SWIG_fail
;
27503 wxPoint
* resultptr
;
27504 resultptr
= new wxPoint((wxPoint
&)(result
));
27505 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
27513 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27514 PyObject
*resultobj
;
27515 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27516 wxPoint
*arg2
= 0 ;
27518 PyObject
* obj0
= 0 ;
27519 PyObject
* obj1
= 0 ;
27520 char *kwnames
[] = {
27521 (char *) "self",(char *) "pt", NULL
27524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
27525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27526 if (SWIG_arg_fail(1)) SWIG_fail
;
27529 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27533 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
27535 wxPyEndAllowThreads(__tstate
);
27536 if (PyErr_Occurred()) SWIG_fail
;
27538 Py_INCREF(Py_None
); resultobj
= Py_None
;
27545 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27546 PyObject
*resultobj
;
27547 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27548 wxKeyEvent
*result
;
27549 PyObject
* obj0
= 0 ;
27550 char *kwnames
[] = {
27551 (char *) "self", NULL
27554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
27555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27556 if (SWIG_arg_fail(1)) SWIG_fail
;
27558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27560 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
27561 result
= (wxKeyEvent
*) &_result_ref
;
27564 wxPyEndAllowThreads(__tstate
);
27565 if (PyErr_Occurred()) SWIG_fail
;
27567 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
27574 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27575 PyObject
*resultobj
;
27576 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27578 PyObject
* obj0
= 0 ;
27579 char *kwnames
[] = {
27580 (char *) "self", NULL
27583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
27584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27585 if (SWIG_arg_fail(1)) SWIG_fail
;
27587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27588 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
27590 wxPyEndAllowThreads(__tstate
);
27591 if (PyErr_Occurred()) SWIG_fail
;
27594 resultobj
= SWIG_From_int((int)(result
));
27602 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27603 PyObject
*resultobj
;
27604 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27605 wxKeyEvent
*arg2
= 0 ;
27606 PyObject
* obj0
= 0 ;
27607 PyObject
* obj1
= 0 ;
27608 char *kwnames
[] = {
27609 (char *) "self",(char *) "evt", NULL
27612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
27613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27614 if (SWIG_arg_fail(1)) SWIG_fail
;
27616 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
27617 if (SWIG_arg_fail(2)) SWIG_fail
;
27618 if (arg2
== NULL
) {
27619 SWIG_null_ref("wxKeyEvent");
27621 if (SWIG_arg_fail(2)) SWIG_fail
;
27624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27625 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
27627 wxPyEndAllowThreads(__tstate
);
27628 if (PyErr_Occurred()) SWIG_fail
;
27630 Py_INCREF(Py_None
); resultobj
= Py_None
;
27637 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27638 PyObject
*resultobj
;
27639 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27641 PyObject
* obj0
= 0 ;
27642 char *kwnames
[] = {
27643 (char *) "self", NULL
27646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
27647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27648 if (SWIG_arg_fail(1)) SWIG_fail
;
27650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27652 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
27653 result
= (wxString
*) &_result_ref
;
27656 wxPyEndAllowThreads(__tstate
);
27657 if (PyErr_Occurred()) SWIG_fail
;
27661 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27663 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27672 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27673 PyObject
*resultobj
;
27674 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27675 wxString
*arg2
= 0 ;
27676 bool temp2
= false ;
27677 PyObject
* obj0
= 0 ;
27678 PyObject
* obj1
= 0 ;
27679 char *kwnames
[] = {
27680 (char *) "self",(char *) "label", NULL
27683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
27684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27685 if (SWIG_arg_fail(1)) SWIG_fail
;
27687 arg2
= wxString_in_helper(obj1
);
27688 if (arg2
== NULL
) SWIG_fail
;
27692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27693 (arg1
)->SetLabel((wxString
const &)*arg2
);
27695 wxPyEndAllowThreads(__tstate
);
27696 if (PyErr_Occurred()) SWIG_fail
;
27698 Py_INCREF(Py_None
); resultobj
= Py_None
;
27713 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27714 PyObject
*resultobj
;
27715 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27717 PyObject
* obj0
= 0 ;
27718 char *kwnames
[] = {
27719 (char *) "self", NULL
27722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
27723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27724 if (SWIG_arg_fail(1)) SWIG_fail
;
27726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27727 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
27729 wxPyEndAllowThreads(__tstate
);
27730 if (PyErr_Occurred()) SWIG_fail
;
27733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27741 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27742 PyObject
*resultobj
;
27743 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27745 PyObject
* obj0
= 0 ;
27746 PyObject
* obj1
= 0 ;
27747 char *kwnames
[] = {
27748 (char *) "self",(char *) "editCancelled", NULL
27751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
27752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27753 if (SWIG_arg_fail(1)) SWIG_fail
;
27755 arg2
= (bool)(SWIG_As_bool(obj1
));
27756 if (SWIG_arg_fail(2)) SWIG_fail
;
27759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27760 (arg1
)->SetEditCanceled(arg2
);
27762 wxPyEndAllowThreads(__tstate
);
27763 if (PyErr_Occurred()) SWIG_fail
;
27765 Py_INCREF(Py_None
); resultobj
= Py_None
;
27772 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27773 PyObject
*resultobj
;
27774 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27775 wxString
*arg2
= 0 ;
27776 bool temp2
= false ;
27777 PyObject
* obj0
= 0 ;
27778 PyObject
* obj1
= 0 ;
27779 char *kwnames
[] = {
27780 (char *) "self",(char *) "toolTip", NULL
27783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
27784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27785 if (SWIG_arg_fail(1)) SWIG_fail
;
27787 arg2
= wxString_in_helper(obj1
);
27788 if (arg2
== NULL
) SWIG_fail
;
27792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27793 (arg1
)->SetToolTip((wxString
const &)*arg2
);
27795 wxPyEndAllowThreads(__tstate
);
27796 if (PyErr_Occurred()) SWIG_fail
;
27798 Py_INCREF(Py_None
); resultobj
= Py_None
;
27813 static PyObject
*_wrap_TreeEvent_GetToolTip(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_GetToolTip",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
= (arg1
)->GetToolTip();
27829 wxPyEndAllowThreads(__tstate
);
27830 if (PyErr_Occurred()) SWIG_fail
;
27834 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27836 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27845 static PyObject
* TreeEvent_swigregister(PyObject
*, PyObject
*args
) {
27847 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27848 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
27850 return Py_BuildValue((char *)"");
27852 static PyObject
*_wrap_new_TreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27853 PyObject
*resultobj
;
27854 wxWindow
*arg1
= (wxWindow
*) 0 ;
27855 int arg2
= (int) -1 ;
27856 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27857 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27858 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27859 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27860 long arg5
= (long) wxTR_DEFAULT_STYLE
;
27861 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
27862 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
27863 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
27864 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27865 wxPyTreeCtrl
*result
;
27868 bool temp7
= false ;
27869 PyObject
* obj0
= 0 ;
27870 PyObject
* obj1
= 0 ;
27871 PyObject
* obj2
= 0 ;
27872 PyObject
* obj3
= 0 ;
27873 PyObject
* obj4
= 0 ;
27874 PyObject
* obj5
= 0 ;
27875 PyObject
* obj6
= 0 ;
27876 char *kwnames
[] = {
27877 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27882 if (SWIG_arg_fail(1)) SWIG_fail
;
27885 arg2
= (int)(SWIG_As_int(obj1
));
27886 if (SWIG_arg_fail(2)) SWIG_fail
;
27892 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27898 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27903 arg5
= (long)(SWIG_As_long(obj4
));
27904 if (SWIG_arg_fail(5)) SWIG_fail
;
27909 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
27910 if (SWIG_arg_fail(6)) SWIG_fail
;
27911 if (arg6
== NULL
) {
27912 SWIG_null_ref("wxValidator");
27914 if (SWIG_arg_fail(6)) SWIG_fail
;
27919 arg7
= wxString_in_helper(obj6
);
27920 if (arg7
== NULL
) SWIG_fail
;
27925 if (!wxPyCheckForApp()) SWIG_fail
;
27926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27927 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
27929 wxPyEndAllowThreads(__tstate
);
27930 if (PyErr_Occurred()) SWIG_fail
;
27932 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
27947 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27948 PyObject
*resultobj
;
27949 wxPyTreeCtrl
*result
;
27950 char *kwnames
[] = {
27954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
27956 if (!wxPyCheckForApp()) SWIG_fail
;
27957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27958 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
27960 wxPyEndAllowThreads(__tstate
);
27961 if (PyErr_Occurred()) SWIG_fail
;
27963 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
27970 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27971 PyObject
*resultobj
;
27972 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27973 wxWindow
*arg2
= (wxWindow
*) 0 ;
27974 int arg3
= (int) -1 ;
27975 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27976 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27977 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27978 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27979 long arg6
= (long) wxTR_DEFAULT_STYLE
;
27980 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
27981 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
27982 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
27983 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
27987 bool temp8
= false ;
27988 PyObject
* obj0
= 0 ;
27989 PyObject
* obj1
= 0 ;
27990 PyObject
* obj2
= 0 ;
27991 PyObject
* obj3
= 0 ;
27992 PyObject
* obj4
= 0 ;
27993 PyObject
* obj5
= 0 ;
27994 PyObject
* obj6
= 0 ;
27995 PyObject
* obj7
= 0 ;
27996 char *kwnames
[] = {
27997 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
28001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28002 if (SWIG_arg_fail(1)) SWIG_fail
;
28003 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28004 if (SWIG_arg_fail(2)) SWIG_fail
;
28007 arg3
= (int)(SWIG_As_int(obj2
));
28008 if (SWIG_arg_fail(3)) SWIG_fail
;
28014 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28020 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28025 arg6
= (long)(SWIG_As_long(obj5
));
28026 if (SWIG_arg_fail(6)) SWIG_fail
;
28031 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
28032 if (SWIG_arg_fail(7)) SWIG_fail
;
28033 if (arg7
== NULL
) {
28034 SWIG_null_ref("wxValidator");
28036 if (SWIG_arg_fail(7)) SWIG_fail
;
28041 arg8
= wxString_in_helper(obj7
);
28042 if (arg8
== NULL
) SWIG_fail
;
28047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28048 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28050 wxPyEndAllowThreads(__tstate
);
28051 if (PyErr_Occurred()) SWIG_fail
;
28054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28070 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28071 PyObject
*resultobj
;
28072 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28073 PyObject
*arg2
= (PyObject
*) 0 ;
28074 PyObject
*arg3
= (PyObject
*) 0 ;
28075 PyObject
* obj0
= 0 ;
28076 PyObject
* obj1
= 0 ;
28077 PyObject
* obj2
= 0 ;
28078 char *kwnames
[] = {
28079 (char *) "self",(char *) "self",(char *) "_class", NULL
28082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28084 if (SWIG_arg_fail(1)) SWIG_fail
;
28088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28089 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28091 wxPyEndAllowThreads(__tstate
);
28092 if (PyErr_Occurred()) SWIG_fail
;
28094 Py_INCREF(Py_None
); resultobj
= Py_None
;
28101 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28102 PyObject
*resultobj
;
28103 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28105 PyObject
* obj0
= 0 ;
28106 char *kwnames
[] = {
28107 (char *) "self", NULL
28110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
28111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28112 if (SWIG_arg_fail(1)) SWIG_fail
;
28114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28115 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
28117 wxPyEndAllowThreads(__tstate
);
28118 if (PyErr_Occurred()) SWIG_fail
;
28121 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
28129 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28130 PyObject
*resultobj
;
28131 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28132 unsigned int result
;
28133 PyObject
* obj0
= 0 ;
28134 char *kwnames
[] = {
28135 (char *) "self", NULL
28138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
28139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28140 if (SWIG_arg_fail(1)) SWIG_fail
;
28142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28143 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
28145 wxPyEndAllowThreads(__tstate
);
28146 if (PyErr_Occurred()) SWIG_fail
;
28149 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
28157 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28158 PyObject
*resultobj
;
28159 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28160 unsigned int arg2
;
28161 PyObject
* obj0
= 0 ;
28162 PyObject
* obj1
= 0 ;
28163 char *kwnames
[] = {
28164 (char *) "self",(char *) "indent", NULL
28167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
28168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28169 if (SWIG_arg_fail(1)) SWIG_fail
;
28171 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
28172 if (SWIG_arg_fail(2)) SWIG_fail
;
28175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28176 (arg1
)->SetIndent(arg2
);
28178 wxPyEndAllowThreads(__tstate
);
28179 if (PyErr_Occurred()) SWIG_fail
;
28181 Py_INCREF(Py_None
); resultobj
= Py_None
;
28188 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28189 PyObject
*resultobj
;
28190 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28191 unsigned int result
;
28192 PyObject
* obj0
= 0 ;
28193 char *kwnames
[] = {
28194 (char *) "self", NULL
28197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
28198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28199 if (SWIG_arg_fail(1)) SWIG_fail
;
28201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28202 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
28204 wxPyEndAllowThreads(__tstate
);
28205 if (PyErr_Occurred()) SWIG_fail
;
28208 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
28216 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28217 PyObject
*resultobj
;
28218 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28219 unsigned int arg2
;
28220 PyObject
* obj0
= 0 ;
28221 PyObject
* obj1
= 0 ;
28222 char *kwnames
[] = {
28223 (char *) "self",(char *) "spacing", NULL
28226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
28227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28228 if (SWIG_arg_fail(1)) SWIG_fail
;
28230 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
28231 if (SWIG_arg_fail(2)) SWIG_fail
;
28234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28235 (arg1
)->SetSpacing(arg2
);
28237 wxPyEndAllowThreads(__tstate
);
28238 if (PyErr_Occurred()) SWIG_fail
;
28240 Py_INCREF(Py_None
); resultobj
= Py_None
;
28247 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28248 PyObject
*resultobj
;
28249 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28250 wxImageList
*result
;
28251 PyObject
* obj0
= 0 ;
28252 char *kwnames
[] = {
28253 (char *) "self", NULL
28256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
28257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28258 if (SWIG_arg_fail(1)) SWIG_fail
;
28260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28261 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
28263 wxPyEndAllowThreads(__tstate
);
28264 if (PyErr_Occurred()) SWIG_fail
;
28267 resultobj
= wxPyMake_wxObject(result
, 0);
28275 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28276 PyObject
*resultobj
;
28277 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28278 wxImageList
*result
;
28279 PyObject
* obj0
= 0 ;
28280 char *kwnames
[] = {
28281 (char *) "self", NULL
28284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
28285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28286 if (SWIG_arg_fail(1)) SWIG_fail
;
28288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28289 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
28291 wxPyEndAllowThreads(__tstate
);
28292 if (PyErr_Occurred()) SWIG_fail
;
28295 resultobj
= wxPyMake_wxObject(result
, 0);
28303 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28304 PyObject
*resultobj
;
28305 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28306 wxImageList
*arg2
= (wxImageList
*) 0 ;
28307 PyObject
* obj0
= 0 ;
28308 PyObject
* obj1
= 0 ;
28309 char *kwnames
[] = {
28310 (char *) "self",(char *) "imageList", NULL
28313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28315 if (SWIG_arg_fail(1)) SWIG_fail
;
28316 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
28317 if (SWIG_arg_fail(2)) SWIG_fail
;
28319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28320 (arg1
)->SetImageList(arg2
);
28322 wxPyEndAllowThreads(__tstate
);
28323 if (PyErr_Occurred()) SWIG_fail
;
28325 Py_INCREF(Py_None
); resultobj
= Py_None
;
28332 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28333 PyObject
*resultobj
;
28334 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28335 wxImageList
*arg2
= (wxImageList
*) 0 ;
28336 PyObject
* obj0
= 0 ;
28337 PyObject
* obj1
= 0 ;
28338 char *kwnames
[] = {
28339 (char *) "self",(char *) "imageList", NULL
28342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28344 if (SWIG_arg_fail(1)) SWIG_fail
;
28345 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
28346 if (SWIG_arg_fail(2)) SWIG_fail
;
28348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28349 (arg1
)->SetStateImageList(arg2
);
28351 wxPyEndAllowThreads(__tstate
);
28352 if (PyErr_Occurred()) SWIG_fail
;
28354 Py_INCREF(Py_None
); resultobj
= Py_None
;
28361 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28362 PyObject
*resultobj
;
28363 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28364 wxImageList
*arg2
= (wxImageList
*) 0 ;
28365 PyObject
* obj0
= 0 ;
28366 PyObject
* obj1
= 0 ;
28367 char *kwnames
[] = {
28368 (char *) "self",(char *) "imageList", NULL
28371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28373 if (SWIG_arg_fail(1)) SWIG_fail
;
28374 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28375 if (SWIG_arg_fail(2)) SWIG_fail
;
28377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28378 (arg1
)->AssignImageList(arg2
);
28380 wxPyEndAllowThreads(__tstate
);
28381 if (PyErr_Occurred()) SWIG_fail
;
28383 Py_INCREF(Py_None
); resultobj
= Py_None
;
28390 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28391 PyObject
*resultobj
;
28392 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28393 wxImageList
*arg2
= (wxImageList
*) 0 ;
28394 PyObject
* obj0
= 0 ;
28395 PyObject
* obj1
= 0 ;
28396 char *kwnames
[] = {
28397 (char *) "self",(char *) "imageList", NULL
28400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28402 if (SWIG_arg_fail(1)) SWIG_fail
;
28403 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28404 if (SWIG_arg_fail(2)) SWIG_fail
;
28406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28407 (arg1
)->AssignStateImageList(arg2
);
28409 wxPyEndAllowThreads(__tstate
);
28410 if (PyErr_Occurred()) SWIG_fail
;
28412 Py_INCREF(Py_None
); resultobj
= Py_None
;
28419 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28420 PyObject
*resultobj
;
28421 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28422 wxTreeItemId
*arg2
= 0 ;
28424 PyObject
* obj0
= 0 ;
28425 PyObject
* obj1
= 0 ;
28426 char *kwnames
[] = {
28427 (char *) "self",(char *) "item", NULL
28430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
28431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28432 if (SWIG_arg_fail(1)) SWIG_fail
;
28434 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28435 if (SWIG_arg_fail(2)) SWIG_fail
;
28436 if (arg2
== NULL
) {
28437 SWIG_null_ref("wxTreeItemId");
28439 if (SWIG_arg_fail(2)) SWIG_fail
;
28442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28443 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
28445 wxPyEndAllowThreads(__tstate
);
28446 if (PyErr_Occurred()) SWIG_fail
;
28450 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28452 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28461 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28462 PyObject
*resultobj
;
28463 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28464 wxTreeItemId
*arg2
= 0 ;
28465 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
28467 PyObject
* obj0
= 0 ;
28468 PyObject
* obj1
= 0 ;
28469 PyObject
* obj2
= 0 ;
28470 char *kwnames
[] = {
28471 (char *) "self",(char *) "item",(char *) "which", NULL
28474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28476 if (SWIG_arg_fail(1)) SWIG_fail
;
28478 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28479 if (SWIG_arg_fail(2)) SWIG_fail
;
28480 if (arg2
== NULL
) {
28481 SWIG_null_ref("wxTreeItemId");
28483 if (SWIG_arg_fail(2)) SWIG_fail
;
28487 arg3
= (wxTreeItemIcon
)(SWIG_As_int(obj2
));
28488 if (SWIG_arg_fail(3)) SWIG_fail
;
28492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28493 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
28495 wxPyEndAllowThreads(__tstate
);
28496 if (PyErr_Occurred()) SWIG_fail
;
28499 resultobj
= SWIG_From_int((int)(result
));
28507 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28508 PyObject
*resultobj
;
28509 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28510 wxTreeItemId
*arg2
= 0 ;
28511 wxPyTreeItemData
*result
;
28512 PyObject
* obj0
= 0 ;
28513 PyObject
* obj1
= 0 ;
28514 char *kwnames
[] = {
28515 (char *) "self",(char *) "item", NULL
28518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
28519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28520 if (SWIG_arg_fail(1)) SWIG_fail
;
28522 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28523 if (SWIG_arg_fail(2)) SWIG_fail
;
28524 if (arg2
== NULL
) {
28525 SWIG_null_ref("wxTreeItemId");
28527 if (SWIG_arg_fail(2)) SWIG_fail
;
28530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28531 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
28533 wxPyEndAllowThreads(__tstate
);
28534 if (PyErr_Occurred()) SWIG_fail
;
28536 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
28543 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28544 PyObject
*resultobj
;
28545 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28546 wxTreeItemId
*arg2
= 0 ;
28548 PyObject
* obj0
= 0 ;
28549 PyObject
* obj1
= 0 ;
28550 char *kwnames
[] = {
28551 (char *) "self",(char *) "item", NULL
28554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
28555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28556 if (SWIG_arg_fail(1)) SWIG_fail
;
28558 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28559 if (SWIG_arg_fail(2)) SWIG_fail
;
28560 if (arg2
== NULL
) {
28561 SWIG_null_ref("wxTreeItemId");
28563 if (SWIG_arg_fail(2)) SWIG_fail
;
28566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28567 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
28569 wxPyEndAllowThreads(__tstate
);
28570 if (PyErr_Occurred()) SWIG_fail
;
28572 resultobj
= result
;
28579 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28580 PyObject
*resultobj
;
28581 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28582 wxTreeItemId
*arg2
= 0 ;
28584 PyObject
* obj0
= 0 ;
28585 PyObject
* obj1
= 0 ;
28586 char *kwnames
[] = {
28587 (char *) "self",(char *) "item", NULL
28590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28592 if (SWIG_arg_fail(1)) SWIG_fail
;
28594 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28595 if (SWIG_arg_fail(2)) SWIG_fail
;
28596 if (arg2
== NULL
) {
28597 SWIG_null_ref("wxTreeItemId");
28599 if (SWIG_arg_fail(2)) SWIG_fail
;
28602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28603 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
28605 wxPyEndAllowThreads(__tstate
);
28606 if (PyErr_Occurred()) SWIG_fail
;
28609 wxColour
* resultptr
;
28610 resultptr
= new wxColour((wxColour
&)(result
));
28611 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
28619 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28620 PyObject
*resultobj
;
28621 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28622 wxTreeItemId
*arg2
= 0 ;
28624 PyObject
* obj0
= 0 ;
28625 PyObject
* obj1
= 0 ;
28626 char *kwnames
[] = {
28627 (char *) "self",(char *) "item", NULL
28630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28632 if (SWIG_arg_fail(1)) SWIG_fail
;
28634 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28635 if (SWIG_arg_fail(2)) SWIG_fail
;
28636 if (arg2
== NULL
) {
28637 SWIG_null_ref("wxTreeItemId");
28639 if (SWIG_arg_fail(2)) SWIG_fail
;
28642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28643 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
28645 wxPyEndAllowThreads(__tstate
);
28646 if (PyErr_Occurred()) SWIG_fail
;
28649 wxColour
* resultptr
;
28650 resultptr
= new wxColour((wxColour
&)(result
));
28651 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
28659 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28660 PyObject
*resultobj
;
28661 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28662 wxTreeItemId
*arg2
= 0 ;
28664 PyObject
* obj0
= 0 ;
28665 PyObject
* obj1
= 0 ;
28666 char *kwnames
[] = {
28667 (char *) "self",(char *) "item", NULL
28670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
28671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28672 if (SWIG_arg_fail(1)) SWIG_fail
;
28674 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28675 if (SWIG_arg_fail(2)) SWIG_fail
;
28676 if (arg2
== NULL
) {
28677 SWIG_null_ref("wxTreeItemId");
28679 if (SWIG_arg_fail(2)) SWIG_fail
;
28682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28683 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
28685 wxPyEndAllowThreads(__tstate
);
28686 if (PyErr_Occurred()) SWIG_fail
;
28689 wxFont
* resultptr
;
28690 resultptr
= new wxFont((wxFont
&)(result
));
28691 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
28699 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28700 PyObject
*resultobj
;
28701 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28702 wxTreeItemId
*arg2
= 0 ;
28703 wxString
*arg3
= 0 ;
28704 bool temp3
= false ;
28705 PyObject
* obj0
= 0 ;
28706 PyObject
* obj1
= 0 ;
28707 PyObject
* obj2
= 0 ;
28708 char *kwnames
[] = {
28709 (char *) "self",(char *) "item",(char *) "text", NULL
28712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28714 if (SWIG_arg_fail(1)) SWIG_fail
;
28716 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28717 if (SWIG_arg_fail(2)) SWIG_fail
;
28718 if (arg2
== NULL
) {
28719 SWIG_null_ref("wxTreeItemId");
28721 if (SWIG_arg_fail(2)) SWIG_fail
;
28724 arg3
= wxString_in_helper(obj2
);
28725 if (arg3
== NULL
) SWIG_fail
;
28729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28730 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
28732 wxPyEndAllowThreads(__tstate
);
28733 if (PyErr_Occurred()) SWIG_fail
;
28735 Py_INCREF(Py_None
); resultobj
= Py_None
;
28750 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28751 PyObject
*resultobj
;
28752 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28753 wxTreeItemId
*arg2
= 0 ;
28755 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
28756 PyObject
* obj0
= 0 ;
28757 PyObject
* obj1
= 0 ;
28758 PyObject
* obj2
= 0 ;
28759 PyObject
* obj3
= 0 ;
28760 char *kwnames
[] = {
28761 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
28764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28766 if (SWIG_arg_fail(1)) SWIG_fail
;
28768 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28769 if (SWIG_arg_fail(2)) SWIG_fail
;
28770 if (arg2
== NULL
) {
28771 SWIG_null_ref("wxTreeItemId");
28773 if (SWIG_arg_fail(2)) SWIG_fail
;
28776 arg3
= (int)(SWIG_As_int(obj2
));
28777 if (SWIG_arg_fail(3)) SWIG_fail
;
28781 arg4
= (wxTreeItemIcon
)(SWIG_As_int(obj3
));
28782 if (SWIG_arg_fail(4)) SWIG_fail
;
28786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28787 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
28789 wxPyEndAllowThreads(__tstate
);
28790 if (PyErr_Occurred()) SWIG_fail
;
28792 Py_INCREF(Py_None
); resultobj
= Py_None
;
28799 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28800 PyObject
*resultobj
;
28801 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28802 wxTreeItemId
*arg2
= 0 ;
28803 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
28804 PyObject
* obj0
= 0 ;
28805 PyObject
* obj1
= 0 ;
28806 PyObject
* obj2
= 0 ;
28807 char *kwnames
[] = {
28808 (char *) "self",(char *) "item",(char *) "data", NULL
28811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28813 if (SWIG_arg_fail(1)) SWIG_fail
;
28815 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28816 if (SWIG_arg_fail(2)) SWIG_fail
;
28817 if (arg2
== NULL
) {
28818 SWIG_null_ref("wxTreeItemId");
28820 if (SWIG_arg_fail(2)) SWIG_fail
;
28822 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
28823 if (SWIG_arg_fail(3)) SWIG_fail
;
28825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28826 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
28828 wxPyEndAllowThreads(__tstate
);
28829 if (PyErr_Occurred()) SWIG_fail
;
28831 Py_INCREF(Py_None
); resultobj
= Py_None
;
28838 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28839 PyObject
*resultobj
;
28840 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28841 wxTreeItemId
*arg2
= 0 ;
28842 PyObject
*arg3
= (PyObject
*) 0 ;
28843 PyObject
* obj0
= 0 ;
28844 PyObject
* obj1
= 0 ;
28845 PyObject
* obj2
= 0 ;
28846 char *kwnames
[] = {
28847 (char *) "self",(char *) "item",(char *) "obj", NULL
28850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28852 if (SWIG_arg_fail(1)) SWIG_fail
;
28854 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28855 if (SWIG_arg_fail(2)) SWIG_fail
;
28856 if (arg2
== NULL
) {
28857 SWIG_null_ref("wxTreeItemId");
28859 if (SWIG_arg_fail(2)) SWIG_fail
;
28863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28864 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
28866 wxPyEndAllowThreads(__tstate
);
28867 if (PyErr_Occurred()) SWIG_fail
;
28869 Py_INCREF(Py_None
); resultobj
= Py_None
;
28876 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28877 PyObject
*resultobj
;
28878 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28879 wxTreeItemId
*arg2
= 0 ;
28880 bool arg3
= (bool) true ;
28881 PyObject
* obj0
= 0 ;
28882 PyObject
* obj1
= 0 ;
28883 PyObject
* obj2
= 0 ;
28884 char *kwnames
[] = {
28885 (char *) "self",(char *) "item",(char *) "has", NULL
28888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28890 if (SWIG_arg_fail(1)) SWIG_fail
;
28892 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28893 if (SWIG_arg_fail(2)) SWIG_fail
;
28894 if (arg2
== NULL
) {
28895 SWIG_null_ref("wxTreeItemId");
28897 if (SWIG_arg_fail(2)) SWIG_fail
;
28901 arg3
= (bool)(SWIG_As_bool(obj2
));
28902 if (SWIG_arg_fail(3)) SWIG_fail
;
28906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28907 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
28909 wxPyEndAllowThreads(__tstate
);
28910 if (PyErr_Occurred()) SWIG_fail
;
28912 Py_INCREF(Py_None
); resultobj
= Py_None
;
28919 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28920 PyObject
*resultobj
;
28921 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28922 wxTreeItemId
*arg2
= 0 ;
28923 bool arg3
= (bool) true ;
28924 PyObject
* obj0
= 0 ;
28925 PyObject
* obj1
= 0 ;
28926 PyObject
* obj2
= 0 ;
28927 char *kwnames
[] = {
28928 (char *) "self",(char *) "item",(char *) "bold", NULL
28931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28933 if (SWIG_arg_fail(1)) SWIG_fail
;
28935 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28936 if (SWIG_arg_fail(2)) SWIG_fail
;
28937 if (arg2
== NULL
) {
28938 SWIG_null_ref("wxTreeItemId");
28940 if (SWIG_arg_fail(2)) SWIG_fail
;
28944 arg3
= (bool)(SWIG_As_bool(obj2
));
28945 if (SWIG_arg_fail(3)) SWIG_fail
;
28949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28950 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
28952 wxPyEndAllowThreads(__tstate
);
28953 if (PyErr_Occurred()) SWIG_fail
;
28955 Py_INCREF(Py_None
); resultobj
= Py_None
;
28962 static PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28963 PyObject
*resultobj
;
28964 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28965 wxTreeItemId
*arg2
= 0 ;
28966 bool arg3
= (bool) true ;
28967 PyObject
* obj0
= 0 ;
28968 PyObject
* obj1
= 0 ;
28969 PyObject
* obj2
= 0 ;
28970 char *kwnames
[] = {
28971 (char *) "self",(char *) "item",(char *) "highlight", NULL
28974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28976 if (SWIG_arg_fail(1)) SWIG_fail
;
28978 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28979 if (SWIG_arg_fail(2)) SWIG_fail
;
28980 if (arg2
== NULL
) {
28981 SWIG_null_ref("wxTreeItemId");
28983 if (SWIG_arg_fail(2)) SWIG_fail
;
28987 arg3
= (bool)(SWIG_As_bool(obj2
));
28988 if (SWIG_arg_fail(3)) SWIG_fail
;
28992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28993 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
28995 wxPyEndAllowThreads(__tstate
);
28996 if (PyErr_Occurred()) SWIG_fail
;
28998 Py_INCREF(Py_None
); resultobj
= Py_None
;
29005 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29006 PyObject
*resultobj
;
29007 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29008 wxTreeItemId
*arg2
= 0 ;
29009 wxColour
*arg3
= 0 ;
29011 PyObject
* obj0
= 0 ;
29012 PyObject
* obj1
= 0 ;
29013 PyObject
* obj2
= 0 ;
29014 char *kwnames
[] = {
29015 (char *) "self",(char *) "item",(char *) "col", NULL
29018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",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
;
29031 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29035 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
29037 wxPyEndAllowThreads(__tstate
);
29038 if (PyErr_Occurred()) SWIG_fail
;
29040 Py_INCREF(Py_None
); resultobj
= Py_None
;
29047 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29048 PyObject
*resultobj
;
29049 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29050 wxTreeItemId
*arg2
= 0 ;
29051 wxColour
*arg3
= 0 ;
29053 PyObject
* obj0
= 0 ;
29054 PyObject
* obj1
= 0 ;
29055 PyObject
* obj2
= 0 ;
29056 char *kwnames
[] = {
29057 (char *) "self",(char *) "item",(char *) "col", NULL
29060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29062 if (SWIG_arg_fail(1)) SWIG_fail
;
29064 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29065 if (SWIG_arg_fail(2)) SWIG_fail
;
29066 if (arg2
== NULL
) {
29067 SWIG_null_ref("wxTreeItemId");
29069 if (SWIG_arg_fail(2)) SWIG_fail
;
29073 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29077 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
29079 wxPyEndAllowThreads(__tstate
);
29080 if (PyErr_Occurred()) SWIG_fail
;
29082 Py_INCREF(Py_None
); resultobj
= Py_None
;
29089 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29090 PyObject
*resultobj
;
29091 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29092 wxTreeItemId
*arg2
= 0 ;
29094 PyObject
* obj0
= 0 ;
29095 PyObject
* obj1
= 0 ;
29096 PyObject
* obj2
= 0 ;
29097 char *kwnames
[] = {
29098 (char *) "self",(char *) "item",(char *) "font", NULL
29101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29103 if (SWIG_arg_fail(1)) SWIG_fail
;
29105 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29106 if (SWIG_arg_fail(2)) SWIG_fail
;
29107 if (arg2
== NULL
) {
29108 SWIG_null_ref("wxTreeItemId");
29110 if (SWIG_arg_fail(2)) SWIG_fail
;
29113 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29114 if (SWIG_arg_fail(3)) SWIG_fail
;
29115 if (arg3
== NULL
) {
29116 SWIG_null_ref("wxFont");
29118 if (SWIG_arg_fail(3)) SWIG_fail
;
29121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29122 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
29124 wxPyEndAllowThreads(__tstate
);
29125 if (PyErr_Occurred()) SWIG_fail
;
29127 Py_INCREF(Py_None
); resultobj
= Py_None
;
29134 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29135 PyObject
*resultobj
;
29136 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29137 wxTreeItemId
*arg2
= 0 ;
29139 PyObject
* obj0
= 0 ;
29140 PyObject
* obj1
= 0 ;
29141 char *kwnames
[] = {
29142 (char *) "self",(char *) "item", NULL
29145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29147 if (SWIG_arg_fail(1)) SWIG_fail
;
29149 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29150 if (SWIG_arg_fail(2)) SWIG_fail
;
29151 if (arg2
== NULL
) {
29152 SWIG_null_ref("wxTreeItemId");
29154 if (SWIG_arg_fail(2)) SWIG_fail
;
29157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29158 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
29160 wxPyEndAllowThreads(__tstate
);
29161 if (PyErr_Occurred()) SWIG_fail
;
29164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29172 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29173 PyObject
*resultobj
;
29174 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29175 wxTreeItemId
*arg2
= 0 ;
29177 PyObject
* obj0
= 0 ;
29178 PyObject
* obj1
= 0 ;
29179 char *kwnames
[] = {
29180 (char *) "self",(char *) "item", NULL
29183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
29184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29185 if (SWIG_arg_fail(1)) SWIG_fail
;
29187 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29188 if (SWIG_arg_fail(2)) SWIG_fail
;
29189 if (arg2
== NULL
) {
29190 SWIG_null_ref("wxTreeItemId");
29192 if (SWIG_arg_fail(2)) SWIG_fail
;
29195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29196 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
29198 wxPyEndAllowThreads(__tstate
);
29199 if (PyErr_Occurred()) SWIG_fail
;
29202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29210 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29211 PyObject
*resultobj
;
29212 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29213 wxTreeItemId
*arg2
= 0 ;
29215 PyObject
* obj0
= 0 ;
29216 PyObject
* obj1
= 0 ;
29217 char *kwnames
[] = {
29218 (char *) "self",(char *) "item", NULL
29221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
29222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29223 if (SWIG_arg_fail(1)) SWIG_fail
;
29225 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29226 if (SWIG_arg_fail(2)) SWIG_fail
;
29227 if (arg2
== NULL
) {
29228 SWIG_null_ref("wxTreeItemId");
29230 if (SWIG_arg_fail(2)) SWIG_fail
;
29233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29234 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
29236 wxPyEndAllowThreads(__tstate
);
29237 if (PyErr_Occurred()) SWIG_fail
;
29240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29248 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29249 PyObject
*resultobj
;
29250 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29251 wxTreeItemId
*arg2
= 0 ;
29253 PyObject
* obj0
= 0 ;
29254 PyObject
* obj1
= 0 ;
29255 char *kwnames
[] = {
29256 (char *) "self",(char *) "item", NULL
29259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
29260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29261 if (SWIG_arg_fail(1)) SWIG_fail
;
29263 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29264 if (SWIG_arg_fail(2)) SWIG_fail
;
29265 if (arg2
== NULL
) {
29266 SWIG_null_ref("wxTreeItemId");
29268 if (SWIG_arg_fail(2)) SWIG_fail
;
29271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29272 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
29274 wxPyEndAllowThreads(__tstate
);
29275 if (PyErr_Occurred()) SWIG_fail
;
29278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29286 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29287 PyObject
*resultobj
;
29288 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29289 wxTreeItemId
*arg2
= 0 ;
29291 PyObject
* obj0
= 0 ;
29292 PyObject
* obj1
= 0 ;
29293 char *kwnames
[] = {
29294 (char *) "self",(char *) "item", NULL
29297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
29298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29299 if (SWIG_arg_fail(1)) SWIG_fail
;
29301 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29302 if (SWIG_arg_fail(2)) SWIG_fail
;
29303 if (arg2
== NULL
) {
29304 SWIG_null_ref("wxTreeItemId");
29306 if (SWIG_arg_fail(2)) SWIG_fail
;
29309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29310 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
29312 wxPyEndAllowThreads(__tstate
);
29313 if (PyErr_Occurred()) SWIG_fail
;
29316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29324 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29325 PyObject
*resultobj
;
29326 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29327 wxTreeItemId
*arg2
= 0 ;
29328 bool arg3
= (bool) true ;
29330 PyObject
* obj0
= 0 ;
29331 PyObject
* obj1
= 0 ;
29332 PyObject
* obj2
= 0 ;
29333 char *kwnames
[] = {
29334 (char *) "self",(char *) "item",(char *) "recursively", NULL
29337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29339 if (SWIG_arg_fail(1)) SWIG_fail
;
29341 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29342 if (SWIG_arg_fail(2)) SWIG_fail
;
29343 if (arg2
== NULL
) {
29344 SWIG_null_ref("wxTreeItemId");
29346 if (SWIG_arg_fail(2)) SWIG_fail
;
29350 arg3
= (bool)(SWIG_As_bool(obj2
));
29351 if (SWIG_arg_fail(3)) SWIG_fail
;
29355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29356 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
29358 wxPyEndAllowThreads(__tstate
);
29359 if (PyErr_Occurred()) SWIG_fail
;
29362 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
29370 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29371 PyObject
*resultobj
;
29372 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29373 wxTreeItemId result
;
29374 PyObject
* obj0
= 0 ;
29375 char *kwnames
[] = {
29376 (char *) "self", NULL
29379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
29380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29381 if (SWIG_arg_fail(1)) SWIG_fail
;
29383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29384 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
29386 wxPyEndAllowThreads(__tstate
);
29387 if (PyErr_Occurred()) SWIG_fail
;
29390 wxTreeItemId
* resultptr
;
29391 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29392 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29400 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29401 PyObject
*resultobj
;
29402 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29403 wxTreeItemId result
;
29404 PyObject
* obj0
= 0 ;
29405 char *kwnames
[] = {
29406 (char *) "self", NULL
29409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
29410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29411 if (SWIG_arg_fail(1)) SWIG_fail
;
29413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29414 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
29416 wxPyEndAllowThreads(__tstate
);
29417 if (PyErr_Occurred()) SWIG_fail
;
29420 wxTreeItemId
* resultptr
;
29421 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29422 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29430 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29431 PyObject
*resultobj
;
29432 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29434 PyObject
* obj0
= 0 ;
29435 char *kwnames
[] = {
29436 (char *) "self", NULL
29439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
29440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29441 if (SWIG_arg_fail(1)) SWIG_fail
;
29443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29444 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
29446 wxPyEndAllowThreads(__tstate
);
29447 if (PyErr_Occurred()) SWIG_fail
;
29449 resultobj
= result
;
29456 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29457 PyObject
*resultobj
;
29458 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29459 wxTreeItemId
*arg2
= 0 ;
29460 wxTreeItemId result
;
29461 PyObject
* obj0
= 0 ;
29462 PyObject
* obj1
= 0 ;
29463 char *kwnames
[] = {
29464 (char *) "self",(char *) "item", NULL
29467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
29468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29469 if (SWIG_arg_fail(1)) SWIG_fail
;
29471 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29472 if (SWIG_arg_fail(2)) SWIG_fail
;
29473 if (arg2
== NULL
) {
29474 SWIG_null_ref("wxTreeItemId");
29476 if (SWIG_arg_fail(2)) SWIG_fail
;
29479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29480 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
29482 wxPyEndAllowThreads(__tstate
);
29483 if (PyErr_Occurred()) SWIG_fail
;
29486 wxTreeItemId
* resultptr
;
29487 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29488 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29496 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29497 PyObject
*resultobj
;
29498 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29499 wxTreeItemId
*arg2
= 0 ;
29501 PyObject
* obj0
= 0 ;
29502 PyObject
* obj1
= 0 ;
29503 char *kwnames
[] = {
29504 (char *) "self",(char *) "item", NULL
29507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29509 if (SWIG_arg_fail(1)) SWIG_fail
;
29511 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29512 if (SWIG_arg_fail(2)) SWIG_fail
;
29513 if (arg2
== NULL
) {
29514 SWIG_null_ref("wxTreeItemId");
29516 if (SWIG_arg_fail(2)) SWIG_fail
;
29519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29520 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
29522 wxPyEndAllowThreads(__tstate
);
29523 if (PyErr_Occurred()) SWIG_fail
;
29525 resultobj
= result
;
29532 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29533 PyObject
*resultobj
;
29534 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29535 wxTreeItemId
*arg2
= 0 ;
29536 void *arg3
= (void *) 0 ;
29538 PyObject
* obj0
= 0 ;
29539 PyObject
* obj1
= 0 ;
29540 PyObject
* obj2
= 0 ;
29541 char *kwnames
[] = {
29542 (char *) "self",(char *) "item",(char *) "cookie", NULL
29545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29547 if (SWIG_arg_fail(1)) SWIG_fail
;
29549 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29550 if (SWIG_arg_fail(2)) SWIG_fail
;
29551 if (arg2
== NULL
) {
29552 SWIG_null_ref("wxTreeItemId");
29554 if (SWIG_arg_fail(2)) SWIG_fail
;
29557 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),0,SWIG_POINTER_EXCEPTION
|0))== -1) {
29558 SWIG_arg_fail(3);SWIG_fail
;
29562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29563 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
29565 wxPyEndAllowThreads(__tstate
);
29566 if (PyErr_Occurred()) SWIG_fail
;
29568 resultobj
= result
;
29575 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29576 PyObject
*resultobj
;
29577 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29578 wxTreeItemId
*arg2
= 0 ;
29579 wxTreeItemId result
;
29580 PyObject
* obj0
= 0 ;
29581 PyObject
* obj1
= 0 ;
29582 char *kwnames
[] = {
29583 (char *) "self",(char *) "item", NULL
29586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) 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 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29591 if (SWIG_arg_fail(2)) SWIG_fail
;
29592 if (arg2
== NULL
) {
29593 SWIG_null_ref("wxTreeItemId");
29595 if (SWIG_arg_fail(2)) SWIG_fail
;
29598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29599 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
29601 wxPyEndAllowThreads(__tstate
);
29602 if (PyErr_Occurred()) SWIG_fail
;
29605 wxTreeItemId
* resultptr
;
29606 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29607 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29615 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29616 PyObject
*resultobj
;
29617 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29618 wxTreeItemId
*arg2
= 0 ;
29619 wxTreeItemId result
;
29620 PyObject
* obj0
= 0 ;
29621 PyObject
* obj1
= 0 ;
29622 char *kwnames
[] = {
29623 (char *) "self",(char *) "item", NULL
29626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
29627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29628 if (SWIG_arg_fail(1)) SWIG_fail
;
29630 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29631 if (SWIG_arg_fail(2)) SWIG_fail
;
29632 if (arg2
== NULL
) {
29633 SWIG_null_ref("wxTreeItemId");
29635 if (SWIG_arg_fail(2)) SWIG_fail
;
29638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29639 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
29641 wxPyEndAllowThreads(__tstate
);
29642 if (PyErr_Occurred()) SWIG_fail
;
29645 wxTreeItemId
* resultptr
;
29646 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29647 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29655 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29656 PyObject
*resultobj
;
29657 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29658 wxTreeItemId
*arg2
= 0 ;
29659 wxTreeItemId result
;
29660 PyObject
* obj0
= 0 ;
29661 PyObject
* obj1
= 0 ;
29662 char *kwnames
[] = {
29663 (char *) "self",(char *) "item", NULL
29666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
29667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29668 if (SWIG_arg_fail(1)) SWIG_fail
;
29670 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29671 if (SWIG_arg_fail(2)) SWIG_fail
;
29672 if (arg2
== NULL
) {
29673 SWIG_null_ref("wxTreeItemId");
29675 if (SWIG_arg_fail(2)) SWIG_fail
;
29678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29679 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
29681 wxPyEndAllowThreads(__tstate
);
29682 if (PyErr_Occurred()) SWIG_fail
;
29685 wxTreeItemId
* resultptr
;
29686 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29687 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29695 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29696 PyObject
*resultobj
;
29697 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29698 wxTreeItemId result
;
29699 PyObject
* obj0
= 0 ;
29700 char *kwnames
[] = {
29701 (char *) "self", NULL
29704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
29705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29706 if (SWIG_arg_fail(1)) SWIG_fail
;
29708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29709 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
29711 wxPyEndAllowThreads(__tstate
);
29712 if (PyErr_Occurred()) SWIG_fail
;
29715 wxTreeItemId
* resultptr
;
29716 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29717 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29725 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29726 PyObject
*resultobj
;
29727 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29728 wxTreeItemId
*arg2
= 0 ;
29729 wxTreeItemId result
;
29730 PyObject
* obj0
= 0 ;
29731 PyObject
* obj1
= 0 ;
29732 char *kwnames
[] = {
29733 (char *) "self",(char *) "item", NULL
29736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29738 if (SWIG_arg_fail(1)) SWIG_fail
;
29740 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29741 if (SWIG_arg_fail(2)) SWIG_fail
;
29742 if (arg2
== NULL
) {
29743 SWIG_null_ref("wxTreeItemId");
29745 if (SWIG_arg_fail(2)) SWIG_fail
;
29748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29749 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
29751 wxPyEndAllowThreads(__tstate
);
29752 if (PyErr_Occurred()) SWIG_fail
;
29755 wxTreeItemId
* resultptr
;
29756 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29757 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29765 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29766 PyObject
*resultobj
;
29767 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29768 wxTreeItemId
*arg2
= 0 ;
29769 wxTreeItemId result
;
29770 PyObject
* obj0
= 0 ;
29771 PyObject
* obj1
= 0 ;
29772 char *kwnames
[] = {
29773 (char *) "self",(char *) "item", NULL
29776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29778 if (SWIG_arg_fail(1)) SWIG_fail
;
29780 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29781 if (SWIG_arg_fail(2)) SWIG_fail
;
29782 if (arg2
== NULL
) {
29783 SWIG_null_ref("wxTreeItemId");
29785 if (SWIG_arg_fail(2)) SWIG_fail
;
29788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29789 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
29791 wxPyEndAllowThreads(__tstate
);
29792 if (PyErr_Occurred()) SWIG_fail
;
29795 wxTreeItemId
* resultptr
;
29796 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29797 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29805 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29806 PyObject
*resultobj
;
29807 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29808 wxString
*arg2
= 0 ;
29809 int arg3
= (int) -1 ;
29810 int arg4
= (int) -1 ;
29811 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
29812 wxTreeItemId result
;
29813 bool temp2
= false ;
29814 PyObject
* obj0
= 0 ;
29815 PyObject
* obj1
= 0 ;
29816 PyObject
* obj2
= 0 ;
29817 PyObject
* obj3
= 0 ;
29818 PyObject
* obj4
= 0 ;
29819 char *kwnames
[] = {
29820 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29825 if (SWIG_arg_fail(1)) SWIG_fail
;
29827 arg2
= wxString_in_helper(obj1
);
29828 if (arg2
== NULL
) SWIG_fail
;
29833 arg3
= (int)(SWIG_As_int(obj2
));
29834 if (SWIG_arg_fail(3)) SWIG_fail
;
29839 arg4
= (int)(SWIG_As_int(obj3
));
29840 if (SWIG_arg_fail(4)) SWIG_fail
;
29844 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
29845 if (SWIG_arg_fail(5)) SWIG_fail
;
29848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29849 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
29851 wxPyEndAllowThreads(__tstate
);
29852 if (PyErr_Occurred()) SWIG_fail
;
29855 wxTreeItemId
* resultptr
;
29856 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29857 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29873 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29874 PyObject
*resultobj
;
29875 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29876 wxTreeItemId
*arg2
= 0 ;
29877 wxString
*arg3
= 0 ;
29878 int arg4
= (int) -1 ;
29879 int arg5
= (int) -1 ;
29880 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
29881 wxTreeItemId result
;
29882 bool temp3
= false ;
29883 PyObject
* obj0
= 0 ;
29884 PyObject
* obj1
= 0 ;
29885 PyObject
* obj2
= 0 ;
29886 PyObject
* obj3
= 0 ;
29887 PyObject
* obj4
= 0 ;
29888 PyObject
* obj5
= 0 ;
29889 char *kwnames
[] = {
29890 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29895 if (SWIG_arg_fail(1)) SWIG_fail
;
29897 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29898 if (SWIG_arg_fail(2)) SWIG_fail
;
29899 if (arg2
== NULL
) {
29900 SWIG_null_ref("wxTreeItemId");
29902 if (SWIG_arg_fail(2)) SWIG_fail
;
29905 arg3
= wxString_in_helper(obj2
);
29906 if (arg3
== NULL
) SWIG_fail
;
29911 arg4
= (int)(SWIG_As_int(obj3
));
29912 if (SWIG_arg_fail(4)) SWIG_fail
;
29917 arg5
= (int)(SWIG_As_int(obj4
));
29918 if (SWIG_arg_fail(5)) SWIG_fail
;
29922 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
29923 if (SWIG_arg_fail(6)) SWIG_fail
;
29926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29927 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
29929 wxPyEndAllowThreads(__tstate
);
29930 if (PyErr_Occurred()) SWIG_fail
;
29933 wxTreeItemId
* resultptr
;
29934 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29935 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29951 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29952 PyObject
*resultobj
;
29953 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29954 wxTreeItemId
*arg2
= 0 ;
29955 wxTreeItemId
*arg3
= 0 ;
29956 wxString
*arg4
= 0 ;
29957 int arg5
= (int) -1 ;
29958 int arg6
= (int) -1 ;
29959 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
29960 wxTreeItemId result
;
29961 bool temp4
= false ;
29962 PyObject
* obj0
= 0 ;
29963 PyObject
* obj1
= 0 ;
29964 PyObject
* obj2
= 0 ;
29965 PyObject
* obj3
= 0 ;
29966 PyObject
* obj4
= 0 ;
29967 PyObject
* obj5
= 0 ;
29968 PyObject
* obj6
= 0 ;
29969 char *kwnames
[] = {
29970 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
29974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29975 if (SWIG_arg_fail(1)) SWIG_fail
;
29977 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29978 if (SWIG_arg_fail(2)) SWIG_fail
;
29979 if (arg2
== NULL
) {
29980 SWIG_null_ref("wxTreeItemId");
29982 if (SWIG_arg_fail(2)) SWIG_fail
;
29985 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29986 if (SWIG_arg_fail(3)) SWIG_fail
;
29987 if (arg3
== NULL
) {
29988 SWIG_null_ref("wxTreeItemId");
29990 if (SWIG_arg_fail(3)) SWIG_fail
;
29993 arg4
= wxString_in_helper(obj3
);
29994 if (arg4
== NULL
) SWIG_fail
;
29999 arg5
= (int)(SWIG_As_int(obj4
));
30000 if (SWIG_arg_fail(5)) SWIG_fail
;
30005 arg6
= (int)(SWIG_As_int(obj5
));
30006 if (SWIG_arg_fail(6)) SWIG_fail
;
30010 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30011 if (SWIG_arg_fail(7)) SWIG_fail
;
30014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30015 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
30017 wxPyEndAllowThreads(__tstate
);
30018 if (PyErr_Occurred()) SWIG_fail
;
30021 wxTreeItemId
* resultptr
;
30022 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30023 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30039 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30040 PyObject
*resultobj
;
30041 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30042 wxTreeItemId
*arg2
= 0 ;
30044 wxString
*arg4
= 0 ;
30045 int arg5
= (int) -1 ;
30046 int arg6
= (int) -1 ;
30047 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
30048 wxTreeItemId result
;
30049 bool temp4
= false ;
30050 PyObject
* obj0
= 0 ;
30051 PyObject
* obj1
= 0 ;
30052 PyObject
* obj2
= 0 ;
30053 PyObject
* obj3
= 0 ;
30054 PyObject
* obj4
= 0 ;
30055 PyObject
* obj5
= 0 ;
30056 PyObject
* obj6
= 0 ;
30057 char *kwnames
[] = {
30058 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30063 if (SWIG_arg_fail(1)) SWIG_fail
;
30065 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30066 if (SWIG_arg_fail(2)) SWIG_fail
;
30067 if (arg2
== NULL
) {
30068 SWIG_null_ref("wxTreeItemId");
30070 if (SWIG_arg_fail(2)) SWIG_fail
;
30073 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
30074 if (SWIG_arg_fail(3)) SWIG_fail
;
30077 arg4
= wxString_in_helper(obj3
);
30078 if (arg4
== NULL
) SWIG_fail
;
30083 arg5
= (int)(SWIG_As_int(obj4
));
30084 if (SWIG_arg_fail(5)) SWIG_fail
;
30089 arg6
= (int)(SWIG_As_int(obj5
));
30090 if (SWIG_arg_fail(6)) SWIG_fail
;
30094 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30095 if (SWIG_arg_fail(7)) SWIG_fail
;
30098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30099 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
30101 wxPyEndAllowThreads(__tstate
);
30102 if (PyErr_Occurred()) SWIG_fail
;
30105 wxTreeItemId
* resultptr
;
30106 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30107 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30123 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30124 PyObject
*resultobj
;
30125 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30126 wxTreeItemId
*arg2
= 0 ;
30127 wxString
*arg3
= 0 ;
30128 int arg4
= (int) -1 ;
30129 int arg5
= (int) -1 ;
30130 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
30131 wxTreeItemId result
;
30132 bool temp3
= false ;
30133 PyObject
* obj0
= 0 ;
30134 PyObject
* obj1
= 0 ;
30135 PyObject
* obj2
= 0 ;
30136 PyObject
* obj3
= 0 ;
30137 PyObject
* obj4
= 0 ;
30138 PyObject
* obj5
= 0 ;
30139 char *kwnames
[] = {
30140 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30145 if (SWIG_arg_fail(1)) SWIG_fail
;
30147 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30148 if (SWIG_arg_fail(2)) SWIG_fail
;
30149 if (arg2
== NULL
) {
30150 SWIG_null_ref("wxTreeItemId");
30152 if (SWIG_arg_fail(2)) SWIG_fail
;
30155 arg3
= wxString_in_helper(obj2
);
30156 if (arg3
== NULL
) SWIG_fail
;
30161 arg4
= (int)(SWIG_As_int(obj3
));
30162 if (SWIG_arg_fail(4)) SWIG_fail
;
30167 arg5
= (int)(SWIG_As_int(obj4
));
30168 if (SWIG_arg_fail(5)) SWIG_fail
;
30172 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30173 if (SWIG_arg_fail(6)) SWIG_fail
;
30176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30177 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
30179 wxPyEndAllowThreads(__tstate
);
30180 if (PyErr_Occurred()) SWIG_fail
;
30183 wxTreeItemId
* resultptr
;
30184 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30185 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30201 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30202 PyObject
*resultobj
;
30203 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30204 wxTreeItemId
*arg2
= 0 ;
30205 PyObject
* obj0
= 0 ;
30206 PyObject
* obj1
= 0 ;
30207 char *kwnames
[] = {
30208 (char *) "self",(char *) "item", NULL
30211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
30212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30213 if (SWIG_arg_fail(1)) SWIG_fail
;
30215 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30216 if (SWIG_arg_fail(2)) SWIG_fail
;
30217 if (arg2
== NULL
) {
30218 SWIG_null_ref("wxTreeItemId");
30220 if (SWIG_arg_fail(2)) SWIG_fail
;
30223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30224 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
30226 wxPyEndAllowThreads(__tstate
);
30227 if (PyErr_Occurred()) SWIG_fail
;
30229 Py_INCREF(Py_None
); resultobj
= Py_None
;
30236 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30237 PyObject
*resultobj
;
30238 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30239 wxTreeItemId
*arg2
= 0 ;
30240 PyObject
* obj0
= 0 ;
30241 PyObject
* obj1
= 0 ;
30242 char *kwnames
[] = {
30243 (char *) "self",(char *) "item", NULL
30246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
30247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30248 if (SWIG_arg_fail(1)) SWIG_fail
;
30250 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30251 if (SWIG_arg_fail(2)) SWIG_fail
;
30252 if (arg2
== NULL
) {
30253 SWIG_null_ref("wxTreeItemId");
30255 if (SWIG_arg_fail(2)) SWIG_fail
;
30258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30259 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
30261 wxPyEndAllowThreads(__tstate
);
30262 if (PyErr_Occurred()) SWIG_fail
;
30264 Py_INCREF(Py_None
); resultobj
= Py_None
;
30271 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30272 PyObject
*resultobj
;
30273 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30274 PyObject
* obj0
= 0 ;
30275 char *kwnames
[] = {
30276 (char *) "self", NULL
30279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
30280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30281 if (SWIG_arg_fail(1)) SWIG_fail
;
30283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30284 (arg1
)->DeleteAllItems();
30286 wxPyEndAllowThreads(__tstate
);
30287 if (PyErr_Occurred()) SWIG_fail
;
30289 Py_INCREF(Py_None
); resultobj
= Py_None
;
30296 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30297 PyObject
*resultobj
;
30298 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30299 wxTreeItemId
*arg2
= 0 ;
30300 PyObject
* obj0
= 0 ;
30301 PyObject
* obj1
= 0 ;
30302 char *kwnames
[] = {
30303 (char *) "self",(char *) "item", NULL
30306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
30307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30308 if (SWIG_arg_fail(1)) SWIG_fail
;
30310 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30311 if (SWIG_arg_fail(2)) SWIG_fail
;
30312 if (arg2
== NULL
) {
30313 SWIG_null_ref("wxTreeItemId");
30315 if (SWIG_arg_fail(2)) SWIG_fail
;
30318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30319 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
30321 wxPyEndAllowThreads(__tstate
);
30322 if (PyErr_Occurred()) SWIG_fail
;
30324 Py_INCREF(Py_None
); resultobj
= Py_None
;
30331 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30332 PyObject
*resultobj
;
30333 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30334 wxTreeItemId
*arg2
= 0 ;
30335 PyObject
* obj0
= 0 ;
30336 PyObject
* obj1
= 0 ;
30337 char *kwnames
[] = {
30338 (char *) "self",(char *) "item", NULL
30341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
30342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30343 if (SWIG_arg_fail(1)) SWIG_fail
;
30345 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30346 if (SWIG_arg_fail(2)) SWIG_fail
;
30347 if (arg2
== NULL
) {
30348 SWIG_null_ref("wxTreeItemId");
30350 if (SWIG_arg_fail(2)) SWIG_fail
;
30353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30354 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
30356 wxPyEndAllowThreads(__tstate
);
30357 if (PyErr_Occurred()) SWIG_fail
;
30359 Py_INCREF(Py_None
); resultobj
= Py_None
;
30366 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30367 PyObject
*resultobj
;
30368 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30369 wxTreeItemId
*arg2
= 0 ;
30370 PyObject
* obj0
= 0 ;
30371 PyObject
* obj1
= 0 ;
30372 char *kwnames
[] = {
30373 (char *) "self",(char *) "item", NULL
30376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
30377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30378 if (SWIG_arg_fail(1)) SWIG_fail
;
30380 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30381 if (SWIG_arg_fail(2)) SWIG_fail
;
30382 if (arg2
== NULL
) {
30383 SWIG_null_ref("wxTreeItemId");
30385 if (SWIG_arg_fail(2)) SWIG_fail
;
30388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30389 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
30391 wxPyEndAllowThreads(__tstate
);
30392 if (PyErr_Occurred()) SWIG_fail
;
30394 Py_INCREF(Py_None
); resultobj
= Py_None
;
30401 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30402 PyObject
*resultobj
;
30403 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30404 wxTreeItemId
*arg2
= 0 ;
30405 PyObject
* obj0
= 0 ;
30406 PyObject
* obj1
= 0 ;
30407 char *kwnames
[] = {
30408 (char *) "self",(char *) "item", NULL
30411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
30412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30413 if (SWIG_arg_fail(1)) SWIG_fail
;
30415 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30416 if (SWIG_arg_fail(2)) SWIG_fail
;
30417 if (arg2
== NULL
) {
30418 SWIG_null_ref("wxTreeItemId");
30420 if (SWIG_arg_fail(2)) SWIG_fail
;
30423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30424 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
30426 wxPyEndAllowThreads(__tstate
);
30427 if (PyErr_Occurred()) SWIG_fail
;
30429 Py_INCREF(Py_None
); resultobj
= Py_None
;
30436 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30437 PyObject
*resultobj
;
30438 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30439 PyObject
* obj0
= 0 ;
30440 char *kwnames
[] = {
30441 (char *) "self", NULL
30444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
30445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30446 if (SWIG_arg_fail(1)) SWIG_fail
;
30448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30449 (arg1
)->Unselect();
30451 wxPyEndAllowThreads(__tstate
);
30452 if (PyErr_Occurred()) SWIG_fail
;
30454 Py_INCREF(Py_None
); resultobj
= Py_None
;
30461 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30462 PyObject
*resultobj
;
30463 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30464 wxTreeItemId
*arg2
= 0 ;
30465 PyObject
* obj0
= 0 ;
30466 PyObject
* obj1
= 0 ;
30467 char *kwnames
[] = {
30468 (char *) "self",(char *) "item", NULL
30471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30473 if (SWIG_arg_fail(1)) SWIG_fail
;
30475 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30476 if (SWIG_arg_fail(2)) SWIG_fail
;
30477 if (arg2
== NULL
) {
30478 SWIG_null_ref("wxTreeItemId");
30480 if (SWIG_arg_fail(2)) SWIG_fail
;
30483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30484 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
30486 wxPyEndAllowThreads(__tstate
);
30487 if (PyErr_Occurred()) SWIG_fail
;
30489 Py_INCREF(Py_None
); resultobj
= Py_None
;
30496 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30497 PyObject
*resultobj
;
30498 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30499 PyObject
* obj0
= 0 ;
30500 char *kwnames
[] = {
30501 (char *) "self", NULL
30504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
30505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30506 if (SWIG_arg_fail(1)) SWIG_fail
;
30508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30509 (arg1
)->UnselectAll();
30511 wxPyEndAllowThreads(__tstate
);
30512 if (PyErr_Occurred()) SWIG_fail
;
30514 Py_INCREF(Py_None
); resultobj
= Py_None
;
30521 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30522 PyObject
*resultobj
;
30523 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30524 wxTreeItemId
*arg2
= 0 ;
30525 bool arg3
= (bool) true ;
30526 PyObject
* obj0
= 0 ;
30527 PyObject
* obj1
= 0 ;
30528 PyObject
* obj2
= 0 ;
30529 char *kwnames
[] = {
30530 (char *) "self",(char *) "item",(char *) "select", NULL
30533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30535 if (SWIG_arg_fail(1)) SWIG_fail
;
30537 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30538 if (SWIG_arg_fail(2)) SWIG_fail
;
30539 if (arg2
== NULL
) {
30540 SWIG_null_ref("wxTreeItemId");
30542 if (SWIG_arg_fail(2)) SWIG_fail
;
30546 arg3
= (bool)(SWIG_As_bool(obj2
));
30547 if (SWIG_arg_fail(3)) SWIG_fail
;
30551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30552 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
30554 wxPyEndAllowThreads(__tstate
);
30555 if (PyErr_Occurred()) SWIG_fail
;
30557 Py_INCREF(Py_None
); resultobj
= Py_None
;
30564 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30565 PyObject
*resultobj
;
30566 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30567 wxTreeItemId
*arg2
= 0 ;
30568 PyObject
* obj0
= 0 ;
30569 PyObject
* obj1
= 0 ;
30570 char *kwnames
[] = {
30571 (char *) "self",(char *) "item", NULL
30574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
30575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30576 if (SWIG_arg_fail(1)) SWIG_fail
;
30578 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30579 if (SWIG_arg_fail(2)) SWIG_fail
;
30580 if (arg2
== NULL
) {
30581 SWIG_null_ref("wxTreeItemId");
30583 if (SWIG_arg_fail(2)) SWIG_fail
;
30586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30587 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
30589 wxPyEndAllowThreads(__tstate
);
30590 if (PyErr_Occurred()) SWIG_fail
;
30592 Py_INCREF(Py_None
); resultobj
= Py_None
;
30599 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30600 PyObject
*resultobj
;
30601 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30602 wxTreeItemId
*arg2
= 0 ;
30603 PyObject
* obj0
= 0 ;
30604 PyObject
* obj1
= 0 ;
30605 char *kwnames
[] = {
30606 (char *) "self",(char *) "item", NULL
30609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
30610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30611 if (SWIG_arg_fail(1)) SWIG_fail
;
30613 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30614 if (SWIG_arg_fail(2)) SWIG_fail
;
30615 if (arg2
== NULL
) {
30616 SWIG_null_ref("wxTreeItemId");
30618 if (SWIG_arg_fail(2)) SWIG_fail
;
30621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30622 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
30624 wxPyEndAllowThreads(__tstate
);
30625 if (PyErr_Occurred()) SWIG_fail
;
30627 Py_INCREF(Py_None
); resultobj
= Py_None
;
30634 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30635 PyObject
*resultobj
;
30636 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30637 wxTreeItemId
*arg2
= 0 ;
30638 PyObject
* obj0
= 0 ;
30639 PyObject
* obj1
= 0 ;
30640 char *kwnames
[] = {
30641 (char *) "self",(char *) "item", NULL
30644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
30645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30646 if (SWIG_arg_fail(1)) SWIG_fail
;
30648 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30649 if (SWIG_arg_fail(2)) SWIG_fail
;
30650 if (arg2
== NULL
) {
30651 SWIG_null_ref("wxTreeItemId");
30653 if (SWIG_arg_fail(2)) SWIG_fail
;
30656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30657 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
30659 wxPyEndAllowThreads(__tstate
);
30660 if (PyErr_Occurred()) SWIG_fail
;
30662 Py_INCREF(Py_None
); resultobj
= Py_None
;
30669 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30670 PyObject
*resultobj
;
30671 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30672 wxTreeItemId
*arg2
= 0 ;
30673 PyObject
* obj0
= 0 ;
30674 PyObject
* obj1
= 0 ;
30675 char *kwnames
[] = {
30676 (char *) "self",(char *) "item", NULL
30679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
30680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30681 if (SWIG_arg_fail(1)) SWIG_fail
;
30683 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30684 if (SWIG_arg_fail(2)) SWIG_fail
;
30685 if (arg2
== NULL
) {
30686 SWIG_null_ref("wxTreeItemId");
30688 if (SWIG_arg_fail(2)) SWIG_fail
;
30691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30692 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
30694 wxPyEndAllowThreads(__tstate
);
30695 if (PyErr_Occurred()) SWIG_fail
;
30697 Py_INCREF(Py_None
); resultobj
= Py_None
;
30704 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30705 PyObject
*resultobj
;
30706 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30707 wxTextCtrl
*result
;
30708 PyObject
* obj0
= 0 ;
30709 char *kwnames
[] = {
30710 (char *) "self", NULL
30713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
30714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30715 if (SWIG_arg_fail(1)) SWIG_fail
;
30717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30718 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
30720 wxPyEndAllowThreads(__tstate
);
30721 if (PyErr_Occurred()) SWIG_fail
;
30724 resultobj
= wxPyMake_wxObject(result
, 0);
30732 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30733 PyObject
*resultobj
;
30734 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30735 wxTreeItemId
*arg2
= 0 ;
30736 PyObject
* obj0
= 0 ;
30737 PyObject
* obj1
= 0 ;
30738 char *kwnames
[] = {
30739 (char *) "self",(char *) "item", NULL
30742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
30743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30744 if (SWIG_arg_fail(1)) SWIG_fail
;
30746 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30747 if (SWIG_arg_fail(2)) SWIG_fail
;
30748 if (arg2
== NULL
) {
30749 SWIG_null_ref("wxTreeItemId");
30751 if (SWIG_arg_fail(2)) SWIG_fail
;
30754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30755 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
30757 wxPyEndAllowThreads(__tstate
);
30758 if (PyErr_Occurred()) SWIG_fail
;
30760 Py_INCREF(Py_None
); resultobj
= Py_None
;
30767 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30768 PyObject
*resultobj
;
30769 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30770 wxPoint
*arg2
= 0 ;
30772 wxTreeItemId result
;
30776 PyObject
* obj0
= 0 ;
30777 PyObject
* obj1
= 0 ;
30778 char *kwnames
[] = {
30779 (char *) "self",(char *) "point", NULL
30782 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
30784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30785 if (SWIG_arg_fail(1)) SWIG_fail
;
30788 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30792 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
30794 wxPyEndAllowThreads(__tstate
);
30795 if (PyErr_Occurred()) SWIG_fail
;
30798 wxTreeItemId
* resultptr
;
30799 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30800 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30802 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30803 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30810 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30811 PyObject
*resultobj
;
30812 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30813 wxTreeItemId
*arg2
= 0 ;
30814 bool arg3
= (bool) false ;
30816 PyObject
* obj0
= 0 ;
30817 PyObject
* obj1
= 0 ;
30818 PyObject
* obj2
= 0 ;
30819 char *kwnames
[] = {
30820 (char *) "self",(char *) "item",(char *) "textOnly", NULL
30823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30825 if (SWIG_arg_fail(1)) SWIG_fail
;
30827 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30828 if (SWIG_arg_fail(2)) SWIG_fail
;
30829 if (arg2
== NULL
) {
30830 SWIG_null_ref("wxTreeItemId");
30832 if (SWIG_arg_fail(2)) SWIG_fail
;
30836 arg3
= (bool)(SWIG_As_bool(obj2
));
30837 if (SWIG_arg_fail(3)) SWIG_fail
;
30841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30842 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
30844 wxPyEndAllowThreads(__tstate
);
30845 if (PyErr_Occurred()) SWIG_fail
;
30847 resultobj
= result
;
30854 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30855 PyObject
*resultobj
;
30856 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
30857 wxVisualAttributes result
;
30858 PyObject
* obj0
= 0 ;
30859 char *kwnames
[] = {
30860 (char *) "variant", NULL
30863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
30866 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
30867 if (SWIG_arg_fail(1)) SWIG_fail
;
30871 if (!wxPyCheckForApp()) SWIG_fail
;
30872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30873 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
30875 wxPyEndAllowThreads(__tstate
);
30876 if (PyErr_Occurred()) SWIG_fail
;
30879 wxVisualAttributes
* resultptr
;
30880 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
30881 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
30889 static PyObject
* TreeCtrl_swigregister(PyObject
*, PyObject
*args
) {
30891 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30892 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
30894 return Py_BuildValue((char *)"");
30896 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*) {
30897 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
30902 static PyObject
*_wrap_DirDialogDefaultFolderStr_get(void) {
30907 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
30909 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
30916 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30917 PyObject
*resultobj
;
30918 wxWindow
*arg1
= (wxWindow
*) 0 ;
30919 int arg2
= (int) (int)-1 ;
30920 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
30921 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
30922 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30923 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30924 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30925 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30926 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
30927 wxString
const &arg7_defvalue
= wxPyEmptyString
;
30928 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30929 int arg8
= (int) 0 ;
30930 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
30931 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
30932 wxGenericDirCtrl
*result
;
30933 bool temp3
= false ;
30936 bool temp7
= false ;
30937 bool temp9
= false ;
30938 PyObject
* obj0
= 0 ;
30939 PyObject
* obj1
= 0 ;
30940 PyObject
* obj2
= 0 ;
30941 PyObject
* obj3
= 0 ;
30942 PyObject
* obj4
= 0 ;
30943 PyObject
* obj5
= 0 ;
30944 PyObject
* obj6
= 0 ;
30945 PyObject
* obj7
= 0 ;
30946 PyObject
* obj8
= 0 ;
30947 char *kwnames
[] = {
30948 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
30951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
30952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30953 if (SWIG_arg_fail(1)) SWIG_fail
;
30956 arg2
= (int const)(SWIG_As_int(obj1
));
30957 if (SWIG_arg_fail(2)) SWIG_fail
;
30962 arg3
= wxString_in_helper(obj2
);
30963 if (arg3
== NULL
) SWIG_fail
;
30970 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30976 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30981 arg6
= (long)(SWIG_As_long(obj5
));
30982 if (SWIG_arg_fail(6)) SWIG_fail
;
30987 arg7
= wxString_in_helper(obj6
);
30988 if (arg7
== NULL
) SWIG_fail
;
30994 arg8
= (int)(SWIG_As_int(obj7
));
30995 if (SWIG_arg_fail(8)) SWIG_fail
;
31000 arg9
= wxString_in_helper(obj8
);
31001 if (arg9
== NULL
) SWIG_fail
;
31006 if (!wxPyCheckForApp()) SWIG_fail
;
31007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31008 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
31010 wxPyEndAllowThreads(__tstate
);
31011 if (PyErr_Occurred()) SWIG_fail
;
31013 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
31044 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31045 PyObject
*resultobj
;
31046 wxGenericDirCtrl
*result
;
31047 char *kwnames
[] = {
31051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
31053 if (!wxPyCheckForApp()) SWIG_fail
;
31054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31055 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
31057 wxPyEndAllowThreads(__tstate
);
31058 if (PyErr_Occurred()) SWIG_fail
;
31060 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
31067 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31068 PyObject
*resultobj
;
31069 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31070 wxWindow
*arg2
= (wxWindow
*) 0 ;
31071 int arg3
= (int) (int)-1 ;
31072 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
31073 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
31074 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
31075 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
31076 wxSize
const &arg6_defvalue
= wxDefaultSize
;
31077 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
31078 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
31079 wxString
const &arg8_defvalue
= wxPyEmptyString
;
31080 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
31081 int arg9
= (int) 0 ;
31082 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
31083 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
31085 bool temp4
= false ;
31088 bool temp8
= false ;
31089 bool temp10
= false ;
31090 PyObject
* obj0
= 0 ;
31091 PyObject
* obj1
= 0 ;
31092 PyObject
* obj2
= 0 ;
31093 PyObject
* obj3
= 0 ;
31094 PyObject
* obj4
= 0 ;
31095 PyObject
* obj5
= 0 ;
31096 PyObject
* obj6
= 0 ;
31097 PyObject
* obj7
= 0 ;
31098 PyObject
* obj8
= 0 ;
31099 PyObject
* obj9
= 0 ;
31100 char *kwnames
[] = {
31101 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
31105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31106 if (SWIG_arg_fail(1)) SWIG_fail
;
31107 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31108 if (SWIG_arg_fail(2)) SWIG_fail
;
31111 arg3
= (int const)(SWIG_As_int(obj2
));
31112 if (SWIG_arg_fail(3)) SWIG_fail
;
31117 arg4
= wxString_in_helper(obj3
);
31118 if (arg4
== NULL
) SWIG_fail
;
31125 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
31131 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
31136 arg7
= (long)(SWIG_As_long(obj6
));
31137 if (SWIG_arg_fail(7)) SWIG_fail
;
31142 arg8
= wxString_in_helper(obj7
);
31143 if (arg8
== NULL
) SWIG_fail
;
31149 arg9
= (int)(SWIG_As_int(obj8
));
31150 if (SWIG_arg_fail(9)) SWIG_fail
;
31155 arg10
= wxString_in_helper(obj9
);
31156 if (arg10
== NULL
) SWIG_fail
;
31161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31162 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
31164 wxPyEndAllowThreads(__tstate
);
31165 if (PyErr_Occurred()) SWIG_fail
;
31168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31200 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31201 PyObject
*resultobj
;
31202 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31203 wxString
*arg2
= 0 ;
31205 bool temp2
= false ;
31206 PyObject
* obj0
= 0 ;
31207 PyObject
* obj1
= 0 ;
31208 char *kwnames
[] = {
31209 (char *) "self",(char *) "path", NULL
31212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31214 if (SWIG_arg_fail(1)) SWIG_fail
;
31216 arg2
= wxString_in_helper(obj1
);
31217 if (arg2
== NULL
) SWIG_fail
;
31221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31222 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
31224 wxPyEndAllowThreads(__tstate
);
31225 if (PyErr_Occurred()) SWIG_fail
;
31228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31244 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31245 PyObject
*resultobj
;
31246 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31248 PyObject
* obj0
= 0 ;
31249 char *kwnames
[] = {
31250 (char *) "self", NULL
31253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
31254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31255 if (SWIG_arg_fail(1)) SWIG_fail
;
31257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31258 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
31260 wxPyEndAllowThreads(__tstate
);
31261 if (PyErr_Occurred()) SWIG_fail
;
31265 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31267 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31276 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31277 PyObject
*resultobj
;
31278 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31279 wxString
*arg2
= 0 ;
31280 bool temp2
= false ;
31281 PyObject
* obj0
= 0 ;
31282 PyObject
* obj1
= 0 ;
31283 char *kwnames
[] = {
31284 (char *) "self",(char *) "path", NULL
31287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31289 if (SWIG_arg_fail(1)) SWIG_fail
;
31291 arg2
= wxString_in_helper(obj1
);
31292 if (arg2
== NULL
) SWIG_fail
;
31296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31297 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
31299 wxPyEndAllowThreads(__tstate
);
31300 if (PyErr_Occurred()) SWIG_fail
;
31302 Py_INCREF(Py_None
); resultobj
= Py_None
;
31317 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31318 PyObject
*resultobj
;
31319 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31321 PyObject
* obj0
= 0 ;
31322 char *kwnames
[] = {
31323 (char *) "self", NULL
31326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
31327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31328 if (SWIG_arg_fail(1)) SWIG_fail
;
31330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31331 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
31333 wxPyEndAllowThreads(__tstate
);
31334 if (PyErr_Occurred()) SWIG_fail
;
31338 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31340 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31349 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31350 PyObject
*resultobj
;
31351 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31353 PyObject
* obj0
= 0 ;
31354 char *kwnames
[] = {
31355 (char *) "self", NULL
31358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
31359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31360 if (SWIG_arg_fail(1)) SWIG_fail
;
31362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31363 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
31365 wxPyEndAllowThreads(__tstate
);
31366 if (PyErr_Occurred()) SWIG_fail
;
31370 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31372 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31381 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31382 PyObject
*resultobj
;
31383 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31384 wxString
*arg2
= 0 ;
31385 bool temp2
= false ;
31386 PyObject
* obj0
= 0 ;
31387 PyObject
* obj1
= 0 ;
31388 char *kwnames
[] = {
31389 (char *) "self",(char *) "path", NULL
31392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31394 if (SWIG_arg_fail(1)) SWIG_fail
;
31396 arg2
= wxString_in_helper(obj1
);
31397 if (arg2
== NULL
) SWIG_fail
;
31401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31402 (arg1
)->SetPath((wxString
const &)*arg2
);
31404 wxPyEndAllowThreads(__tstate
);
31405 if (PyErr_Occurred()) SWIG_fail
;
31407 Py_INCREF(Py_None
); resultobj
= Py_None
;
31422 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31423 PyObject
*resultobj
;
31424 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31426 PyObject
* obj0
= 0 ;
31427 PyObject
* obj1
= 0 ;
31428 char *kwnames
[] = {
31429 (char *) "self",(char *) "show", NULL
31432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
31433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31434 if (SWIG_arg_fail(1)) SWIG_fail
;
31436 arg2
= (bool)(SWIG_As_bool(obj1
));
31437 if (SWIG_arg_fail(2)) SWIG_fail
;
31440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31441 (arg1
)->ShowHidden(arg2
);
31443 wxPyEndAllowThreads(__tstate
);
31444 if (PyErr_Occurred()) SWIG_fail
;
31446 Py_INCREF(Py_None
); resultobj
= Py_None
;
31453 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31454 PyObject
*resultobj
;
31455 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31457 PyObject
* obj0
= 0 ;
31458 char *kwnames
[] = {
31459 (char *) "self", NULL
31462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
31463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31464 if (SWIG_arg_fail(1)) SWIG_fail
;
31466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31467 result
= (bool)(arg1
)->GetShowHidden();
31469 wxPyEndAllowThreads(__tstate
);
31470 if (PyErr_Occurred()) SWIG_fail
;
31473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31481 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31482 PyObject
*resultobj
;
31483 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31485 PyObject
* obj0
= 0 ;
31486 char *kwnames
[] = {
31487 (char *) "self", NULL
31490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
31491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31492 if (SWIG_arg_fail(1)) SWIG_fail
;
31494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31495 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
31497 wxPyEndAllowThreads(__tstate
);
31498 if (PyErr_Occurred()) SWIG_fail
;
31502 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31504 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31513 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31514 PyObject
*resultobj
;
31515 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31516 wxString
*arg2
= 0 ;
31517 bool temp2
= false ;
31518 PyObject
* obj0
= 0 ;
31519 PyObject
* obj1
= 0 ;
31520 char *kwnames
[] = {
31521 (char *) "self",(char *) "filter", NULL
31524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
31525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31526 if (SWIG_arg_fail(1)) SWIG_fail
;
31528 arg2
= wxString_in_helper(obj1
);
31529 if (arg2
== NULL
) SWIG_fail
;
31533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31534 (arg1
)->SetFilter((wxString
const &)*arg2
);
31536 wxPyEndAllowThreads(__tstate
);
31537 if (PyErr_Occurred()) SWIG_fail
;
31539 Py_INCREF(Py_None
); resultobj
= Py_None
;
31554 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31555 PyObject
*resultobj
;
31556 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31558 PyObject
* obj0
= 0 ;
31559 char *kwnames
[] = {
31560 (char *) "self", NULL
31563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
31564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31565 if (SWIG_arg_fail(1)) SWIG_fail
;
31567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31568 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
31570 wxPyEndAllowThreads(__tstate
);
31571 if (PyErr_Occurred()) SWIG_fail
;
31574 resultobj
= SWIG_From_int((int)(result
));
31582 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31583 PyObject
*resultobj
;
31584 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31586 PyObject
* obj0
= 0 ;
31587 PyObject
* obj1
= 0 ;
31588 char *kwnames
[] = {
31589 (char *) "self",(char *) "n", NULL
31592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
31593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31594 if (SWIG_arg_fail(1)) SWIG_fail
;
31596 arg2
= (int)(SWIG_As_int(obj1
));
31597 if (SWIG_arg_fail(2)) SWIG_fail
;
31600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31601 (arg1
)->SetFilterIndex(arg2
);
31603 wxPyEndAllowThreads(__tstate
);
31604 if (PyErr_Occurred()) SWIG_fail
;
31606 Py_INCREF(Py_None
); resultobj
= Py_None
;
31613 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31614 PyObject
*resultobj
;
31615 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31616 wxTreeItemId result
;
31617 PyObject
* obj0
= 0 ;
31618 char *kwnames
[] = {
31619 (char *) "self", NULL
31622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
31623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31624 if (SWIG_arg_fail(1)) SWIG_fail
;
31626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31627 result
= (arg1
)->GetRootId();
31629 wxPyEndAllowThreads(__tstate
);
31630 if (PyErr_Occurred()) SWIG_fail
;
31633 wxTreeItemId
* resultptr
;
31634 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
31635 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31643 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31644 PyObject
*resultobj
;
31645 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31646 wxPyTreeCtrl
*result
;
31647 PyObject
* obj0
= 0 ;
31648 char *kwnames
[] = {
31649 (char *) "self", NULL
31652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
31653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31654 if (SWIG_arg_fail(1)) SWIG_fail
;
31656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31657 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
31659 wxPyEndAllowThreads(__tstate
);
31660 if (PyErr_Occurred()) SWIG_fail
;
31663 resultobj
= wxPyMake_wxObject(result
, 0);
31671 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31672 PyObject
*resultobj
;
31673 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31674 wxDirFilterListCtrl
*result
;
31675 PyObject
* obj0
= 0 ;
31676 char *kwnames
[] = {
31677 (char *) "self", NULL
31680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
31681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31682 if (SWIG_arg_fail(1)) SWIG_fail
;
31684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31685 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
31687 wxPyEndAllowThreads(__tstate
);
31688 if (PyErr_Occurred()) SWIG_fail
;
31690 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
31697 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31698 PyObject
*resultobj
;
31699 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31700 wxTreeItemId arg2
;
31701 wxString
*arg3
= 0 ;
31703 wxTreeItemId result
;
31704 bool temp3
= false ;
31707 PyObject
* obj0
= 0 ;
31708 PyObject
* obj1
= 0 ;
31709 PyObject
* obj2
= 0 ;
31710 char *kwnames
[] = {
31711 (char *) "self",(char *) "parentId",(char *) "path", NULL
31714 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
31715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31717 if (SWIG_arg_fail(1)) SWIG_fail
;
31719 wxTreeItemId
* argp
;
31720 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
);
31721 if (SWIG_arg_fail(2)) SWIG_fail
;
31722 if (argp
== NULL
) {
31723 SWIG_null_ref("wxTreeItemId");
31725 if (SWIG_arg_fail(2)) SWIG_fail
;
31729 arg3
= wxString_in_helper(obj2
);
31730 if (arg3
== NULL
) SWIG_fail
;
31734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31735 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
31737 wxPyEndAllowThreads(__tstate
);
31738 if (PyErr_Occurred()) SWIG_fail
;
31741 wxTreeItemId
* resultptr
;
31742 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
31743 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31745 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
31746 SWIG_From_bool((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, 0)));
31761 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31762 PyObject
*resultobj
;
31763 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31764 PyObject
* obj0
= 0 ;
31765 char *kwnames
[] = {
31766 (char *) "self", NULL
31769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
31770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31771 if (SWIG_arg_fail(1)) SWIG_fail
;
31773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31774 (arg1
)->DoResize();
31776 wxPyEndAllowThreads(__tstate
);
31777 if (PyErr_Occurred()) SWIG_fail
;
31779 Py_INCREF(Py_None
); resultobj
= Py_None
;
31786 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31787 PyObject
*resultobj
;
31788 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31789 PyObject
* obj0
= 0 ;
31790 char *kwnames
[] = {
31791 (char *) "self", NULL
31794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
31795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31796 if (SWIG_arg_fail(1)) SWIG_fail
;
31798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31799 (arg1
)->ReCreateTree();
31801 wxPyEndAllowThreads(__tstate
);
31802 if (PyErr_Occurred()) SWIG_fail
;
31804 Py_INCREF(Py_None
); resultobj
= Py_None
;
31811 static PyObject
* GenericDirCtrl_swigregister(PyObject
*, PyObject
*args
) {
31813 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31814 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
31816 return Py_BuildValue((char *)"");
31818 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31819 PyObject
*resultobj
;
31820 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31821 int arg2
= (int) (int)-1 ;
31822 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31823 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31824 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31825 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31826 long arg5
= (long) 0 ;
31827 wxDirFilterListCtrl
*result
;
31830 PyObject
* obj0
= 0 ;
31831 PyObject
* obj1
= 0 ;
31832 PyObject
* obj2
= 0 ;
31833 PyObject
* obj3
= 0 ;
31834 PyObject
* obj4
= 0 ;
31835 char *kwnames
[] = {
31836 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
31839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31841 if (SWIG_arg_fail(1)) SWIG_fail
;
31844 arg2
= (int const)(SWIG_As_int(obj1
));
31845 if (SWIG_arg_fail(2)) SWIG_fail
;
31851 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31857 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31862 arg5
= (long)(SWIG_As_long(obj4
));
31863 if (SWIG_arg_fail(5)) SWIG_fail
;
31867 if (!wxPyCheckForApp()) SWIG_fail
;
31868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31869 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
31871 wxPyEndAllowThreads(__tstate
);
31872 if (PyErr_Occurred()) SWIG_fail
;
31874 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
31881 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31882 PyObject
*resultobj
;
31883 wxDirFilterListCtrl
*result
;
31884 char *kwnames
[] = {
31888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
31890 if (!wxPyCheckForApp()) SWIG_fail
;
31891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31892 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
31894 wxPyEndAllowThreads(__tstate
);
31895 if (PyErr_Occurred()) SWIG_fail
;
31897 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
31904 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31905 PyObject
*resultobj
;
31906 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
31907 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
31908 int arg3
= (int) (int)-1 ;
31909 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31910 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31911 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31912 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31913 long arg6
= (long) 0 ;
31917 PyObject
* obj0
= 0 ;
31918 PyObject
* obj1
= 0 ;
31919 PyObject
* obj2
= 0 ;
31920 PyObject
* obj3
= 0 ;
31921 PyObject
* obj4
= 0 ;
31922 PyObject
* obj5
= 0 ;
31923 char *kwnames
[] = {
31924 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
31927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31929 if (SWIG_arg_fail(1)) SWIG_fail
;
31930 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31931 if (SWIG_arg_fail(2)) SWIG_fail
;
31934 arg3
= (int const)(SWIG_As_int(obj2
));
31935 if (SWIG_arg_fail(3)) SWIG_fail
;
31941 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31947 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31952 arg6
= (long)(SWIG_As_long(obj5
));
31953 if (SWIG_arg_fail(6)) SWIG_fail
;
31957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31958 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
31960 wxPyEndAllowThreads(__tstate
);
31961 if (PyErr_Occurred()) SWIG_fail
;
31964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31972 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31973 PyObject
*resultobj
;
31974 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
31975 wxString
*arg2
= 0 ;
31977 bool temp2
= false ;
31978 PyObject
* obj0
= 0 ;
31979 PyObject
* obj1
= 0 ;
31980 PyObject
* obj2
= 0 ;
31981 char *kwnames
[] = {
31982 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
31985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31987 if (SWIG_arg_fail(1)) SWIG_fail
;
31989 arg2
= wxString_in_helper(obj1
);
31990 if (arg2
== NULL
) SWIG_fail
;
31994 arg3
= (int)(SWIG_As_int(obj2
));
31995 if (SWIG_arg_fail(3)) SWIG_fail
;
31998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31999 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
32001 wxPyEndAllowThreads(__tstate
);
32002 if (PyErr_Occurred()) SWIG_fail
;
32004 Py_INCREF(Py_None
); resultobj
= Py_None
;
32019 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*, PyObject
*args
) {
32021 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32022 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
32024 return Py_BuildValue((char *)"");
32026 static PyObject
*_wrap_new_PyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32027 PyObject
*resultobj
;
32028 wxWindow
*arg1
= (wxWindow
*) 0 ;
32029 int arg2
= (int) (int)-1 ;
32030 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32031 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32032 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32033 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32034 long arg5
= (long) 0 ;
32035 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32036 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32037 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
32038 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32039 wxPyControl
*result
;
32042 bool temp7
= false ;
32043 PyObject
* obj0
= 0 ;
32044 PyObject
* obj1
= 0 ;
32045 PyObject
* obj2
= 0 ;
32046 PyObject
* obj3
= 0 ;
32047 PyObject
* obj4
= 0 ;
32048 PyObject
* obj5
= 0 ;
32049 PyObject
* obj6
= 0 ;
32050 char *kwnames
[] = {
32051 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
32055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32056 if (SWIG_arg_fail(1)) SWIG_fail
;
32059 arg2
= (int const)(SWIG_As_int(obj1
));
32060 if (SWIG_arg_fail(2)) SWIG_fail
;
32066 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32072 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32077 arg5
= (long)(SWIG_As_long(obj4
));
32078 if (SWIG_arg_fail(5)) SWIG_fail
;
32083 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32084 if (SWIG_arg_fail(6)) SWIG_fail
;
32085 if (arg6
== NULL
) {
32086 SWIG_null_ref("wxValidator");
32088 if (SWIG_arg_fail(6)) SWIG_fail
;
32093 arg7
= wxString_in_helper(obj6
);
32094 if (arg7
== NULL
) SWIG_fail
;
32099 if (!wxPyCheckForApp()) SWIG_fail
;
32100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32101 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32103 wxPyEndAllowThreads(__tstate
);
32104 if (PyErr_Occurred()) SWIG_fail
;
32106 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
32121 static PyObject
*_wrap_new_PrePyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32122 PyObject
*resultobj
;
32123 wxPyControl
*result
;
32124 char *kwnames
[] = {
32128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
32130 if (!wxPyCheckForApp()) SWIG_fail
;
32131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32132 result
= (wxPyControl
*)new wxPyControl();
32134 wxPyEndAllowThreads(__tstate
);
32135 if (PyErr_Occurred()) SWIG_fail
;
32137 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
32144 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32145 PyObject
*resultobj
;
32146 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32147 PyObject
*arg2
= (PyObject
*) 0 ;
32148 PyObject
*arg3
= (PyObject
*) 0 ;
32149 PyObject
* obj0
= 0 ;
32150 PyObject
* obj1
= 0 ;
32151 PyObject
* obj2
= 0 ;
32152 char *kwnames
[] = {
32153 (char *) "self",(char *) "self",(char *) "_class", NULL
32156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32158 if (SWIG_arg_fail(1)) SWIG_fail
;
32162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32163 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32165 wxPyEndAllowThreads(__tstate
);
32166 if (PyErr_Occurred()) SWIG_fail
;
32168 Py_INCREF(Py_None
); resultobj
= Py_None
;
32175 static PyObject
*_wrap_PyControl_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32176 PyObject
*resultobj
;
32177 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32180 PyObject
* obj0
= 0 ;
32181 PyObject
* obj1
= 0 ;
32182 char *kwnames
[] = {
32183 (char *) "self",(char *) "size", NULL
32186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
32187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32188 if (SWIG_arg_fail(1)) SWIG_fail
;
32191 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
32194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32195 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
32197 wxPyEndAllowThreads(__tstate
);
32198 if (PyErr_Occurred()) SWIG_fail
;
32200 Py_INCREF(Py_None
); resultobj
= Py_None
;
32207 static PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32208 PyObject
*resultobj
;
32209 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32210 wxDC
*arg2
= (wxDC
*) 0 ;
32212 PyObject
* obj0
= 0 ;
32213 PyObject
* obj1
= 0 ;
32214 char *kwnames
[] = {
32215 (char *) "self",(char *) "dc", NULL
32218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
32219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32220 if (SWIG_arg_fail(1)) SWIG_fail
;
32221 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
32222 if (SWIG_arg_fail(2)) SWIG_fail
;
32224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32225 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
32227 wxPyEndAllowThreads(__tstate
);
32228 if (PyErr_Occurred()) SWIG_fail
;
32231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32239 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32240 PyObject
*resultobj
;
32241 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32246 PyObject
* obj0
= 0 ;
32247 PyObject
* obj1
= 0 ;
32248 PyObject
* obj2
= 0 ;
32249 PyObject
* obj3
= 0 ;
32250 PyObject
* obj4
= 0 ;
32251 char *kwnames
[] = {
32252 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32257 if (SWIG_arg_fail(1)) SWIG_fail
;
32259 arg2
= (int)(SWIG_As_int(obj1
));
32260 if (SWIG_arg_fail(2)) SWIG_fail
;
32263 arg3
= (int)(SWIG_As_int(obj2
));
32264 if (SWIG_arg_fail(3)) SWIG_fail
;
32267 arg4
= (int)(SWIG_As_int(obj3
));
32268 if (SWIG_arg_fail(4)) SWIG_fail
;
32271 arg5
= (int)(SWIG_As_int(obj4
));
32272 if (SWIG_arg_fail(5)) SWIG_fail
;
32275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32276 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
32278 wxPyEndAllowThreads(__tstate
);
32279 if (PyErr_Occurred()) SWIG_fail
;
32281 Py_INCREF(Py_None
); resultobj
= Py_None
;
32288 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32289 PyObject
*resultobj
;
32290 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32295 int arg6
= (int) wxSIZE_AUTO
;
32296 PyObject
* obj0
= 0 ;
32297 PyObject
* obj1
= 0 ;
32298 PyObject
* obj2
= 0 ;
32299 PyObject
* obj3
= 0 ;
32300 PyObject
* obj4
= 0 ;
32301 PyObject
* obj5
= 0 ;
32302 char *kwnames
[] = {
32303 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
32306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32308 if (SWIG_arg_fail(1)) SWIG_fail
;
32310 arg2
= (int)(SWIG_As_int(obj1
));
32311 if (SWIG_arg_fail(2)) SWIG_fail
;
32314 arg3
= (int)(SWIG_As_int(obj2
));
32315 if (SWIG_arg_fail(3)) SWIG_fail
;
32318 arg4
= (int)(SWIG_As_int(obj3
));
32319 if (SWIG_arg_fail(4)) SWIG_fail
;
32322 arg5
= (int)(SWIG_As_int(obj4
));
32323 if (SWIG_arg_fail(5)) SWIG_fail
;
32327 arg6
= (int)(SWIG_As_int(obj5
));
32328 if (SWIG_arg_fail(6)) SWIG_fail
;
32332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32333 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
32335 wxPyEndAllowThreads(__tstate
);
32336 if (PyErr_Occurred()) SWIG_fail
;
32338 Py_INCREF(Py_None
); resultobj
= Py_None
;
32345 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32346 PyObject
*resultobj
;
32347 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32350 PyObject
* obj0
= 0 ;
32351 PyObject
* obj1
= 0 ;
32352 PyObject
* obj2
= 0 ;
32353 char *kwnames
[] = {
32354 (char *) "self",(char *) "width",(char *) "height", NULL
32357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32359 if (SWIG_arg_fail(1)) SWIG_fail
;
32361 arg2
= (int)(SWIG_As_int(obj1
));
32362 if (SWIG_arg_fail(2)) SWIG_fail
;
32365 arg3
= (int)(SWIG_As_int(obj2
));
32366 if (SWIG_arg_fail(3)) SWIG_fail
;
32369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32370 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
32372 wxPyEndAllowThreads(__tstate
);
32373 if (PyErr_Occurred()) SWIG_fail
;
32375 Py_INCREF(Py_None
); resultobj
= Py_None
;
32382 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32383 PyObject
*resultobj
;
32384 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32387 PyObject
* obj0
= 0 ;
32388 PyObject
* obj1
= 0 ;
32389 PyObject
* obj2
= 0 ;
32390 char *kwnames
[] = {
32391 (char *) "self",(char *) "x",(char *) "y", NULL
32394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32396 if (SWIG_arg_fail(1)) SWIG_fail
;
32398 arg2
= (int)(SWIG_As_int(obj1
));
32399 if (SWIG_arg_fail(2)) SWIG_fail
;
32402 arg3
= (int)(SWIG_As_int(obj2
));
32403 if (SWIG_arg_fail(3)) SWIG_fail
;
32406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32407 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
32409 wxPyEndAllowThreads(__tstate
);
32410 if (PyErr_Occurred()) SWIG_fail
;
32412 Py_INCREF(Py_None
); resultobj
= Py_None
;
32419 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32420 PyObject
*resultobj
;
32421 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32422 int *arg2
= (int *) 0 ;
32423 int *arg3
= (int *) 0 ;
32428 PyObject
* obj0
= 0 ;
32429 char *kwnames
[] = {
32430 (char *) "self", NULL
32433 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32434 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
32436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32437 if (SWIG_arg_fail(1)) SWIG_fail
;
32439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32440 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
32442 wxPyEndAllowThreads(__tstate
);
32443 if (PyErr_Occurred()) SWIG_fail
;
32445 Py_INCREF(Py_None
); resultobj
= Py_None
;
32446 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32447 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32448 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32449 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32456 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32457 PyObject
*resultobj
;
32458 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32459 int *arg2
= (int *) 0 ;
32460 int *arg3
= (int *) 0 ;
32465 PyObject
* obj0
= 0 ;
32466 char *kwnames
[] = {
32467 (char *) "self", NULL
32470 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32471 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
32473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32474 if (SWIG_arg_fail(1)) SWIG_fail
;
32476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32477 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
32479 wxPyEndAllowThreads(__tstate
);
32480 if (PyErr_Occurred()) SWIG_fail
;
32482 Py_INCREF(Py_None
); resultobj
= Py_None
;
32483 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32484 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32485 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32486 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32493 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32494 PyObject
*resultobj
;
32495 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32496 int *arg2
= (int *) 0 ;
32497 int *arg3
= (int *) 0 ;
32502 PyObject
* obj0
= 0 ;
32503 char *kwnames
[] = {
32504 (char *) "self", NULL
32507 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32508 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
32510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32511 if (SWIG_arg_fail(1)) SWIG_fail
;
32513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32514 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
32516 wxPyEndAllowThreads(__tstate
);
32517 if (PyErr_Occurred()) SWIG_fail
;
32519 Py_INCREF(Py_None
); resultobj
= Py_None
;
32520 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32521 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32522 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32523 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32530 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32531 PyObject
*resultobj
;
32532 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32534 PyObject
* obj0
= 0 ;
32535 char *kwnames
[] = {
32536 (char *) "self", NULL
32539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
32540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32541 if (SWIG_arg_fail(1)) SWIG_fail
;
32543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32544 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
32546 wxPyEndAllowThreads(__tstate
);
32547 if (PyErr_Occurred()) SWIG_fail
;
32550 wxSize
* resultptr
;
32551 resultptr
= new wxSize((wxSize
&)(result
));
32552 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32560 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32561 PyObject
*resultobj
;
32562 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32564 PyObject
* obj0
= 0 ;
32565 char *kwnames
[] = {
32566 (char *) "self", NULL
32569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
32570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32571 if (SWIG_arg_fail(1)) SWIG_fail
;
32573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32574 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
32576 wxPyEndAllowThreads(__tstate
);
32577 if (PyErr_Occurred()) SWIG_fail
;
32580 wxSize
* resultptr
;
32581 resultptr
= new wxSize((wxSize
&)(result
));
32582 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32590 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32591 PyObject
*resultobj
;
32592 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32593 PyObject
* obj0
= 0 ;
32594 char *kwnames
[] = {
32595 (char *) "self", NULL
32598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
32599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32600 if (SWIG_arg_fail(1)) SWIG_fail
;
32602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32603 (arg1
)->base_InitDialog();
32605 wxPyEndAllowThreads(__tstate
);
32606 if (PyErr_Occurred()) SWIG_fail
;
32608 Py_INCREF(Py_None
); resultobj
= Py_None
;
32615 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32616 PyObject
*resultobj
;
32617 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32619 PyObject
* obj0
= 0 ;
32620 char *kwnames
[] = {
32621 (char *) "self", NULL
32624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
32625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32626 if (SWIG_arg_fail(1)) SWIG_fail
;
32628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32629 result
= (bool)(arg1
)->base_TransferDataToWindow();
32631 wxPyEndAllowThreads(__tstate
);
32632 if (PyErr_Occurred()) SWIG_fail
;
32635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32643 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32644 PyObject
*resultobj
;
32645 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32647 PyObject
* obj0
= 0 ;
32648 char *kwnames
[] = {
32649 (char *) "self", NULL
32652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
32653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32654 if (SWIG_arg_fail(1)) SWIG_fail
;
32656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32657 result
= (bool)(arg1
)->base_TransferDataFromWindow();
32659 wxPyEndAllowThreads(__tstate
);
32660 if (PyErr_Occurred()) SWIG_fail
;
32663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32671 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32672 PyObject
*resultobj
;
32673 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32675 PyObject
* obj0
= 0 ;
32676 char *kwnames
[] = {
32677 (char *) "self", NULL
32680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
32681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32682 if (SWIG_arg_fail(1)) SWIG_fail
;
32684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32685 result
= (bool)(arg1
)->base_Validate();
32687 wxPyEndAllowThreads(__tstate
);
32688 if (PyErr_Occurred()) SWIG_fail
;
32691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32699 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32700 PyObject
*resultobj
;
32701 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32703 PyObject
* obj0
= 0 ;
32704 char *kwnames
[] = {
32705 (char *) "self", NULL
32708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
32709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32710 if (SWIG_arg_fail(1)) SWIG_fail
;
32712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32713 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
32715 wxPyEndAllowThreads(__tstate
);
32716 if (PyErr_Occurred()) SWIG_fail
;
32719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32727 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32728 PyObject
*resultobj
;
32729 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32731 PyObject
* obj0
= 0 ;
32732 char *kwnames
[] = {
32733 (char *) "self", NULL
32736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
32737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32738 if (SWIG_arg_fail(1)) SWIG_fail
;
32740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32741 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
32743 wxPyEndAllowThreads(__tstate
);
32744 if (PyErr_Occurred()) SWIG_fail
;
32747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32755 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32756 PyObject
*resultobj
;
32757 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32759 PyObject
* obj0
= 0 ;
32760 char *kwnames
[] = {
32761 (char *) "self", NULL
32764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
32765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32766 if (SWIG_arg_fail(1)) SWIG_fail
;
32768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32769 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
32771 wxPyEndAllowThreads(__tstate
);
32772 if (PyErr_Occurred()) SWIG_fail
;
32775 wxSize
* resultptr
;
32776 resultptr
= new wxSize((wxSize
&)(result
));
32777 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32785 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32786 PyObject
*resultobj
;
32787 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32788 wxWindow
*arg2
= (wxWindow
*) 0 ;
32789 PyObject
* obj0
= 0 ;
32790 PyObject
* obj1
= 0 ;
32791 char *kwnames
[] = {
32792 (char *) "self",(char *) "child", NULL
32795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
32796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32797 if (SWIG_arg_fail(1)) SWIG_fail
;
32798 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32799 if (SWIG_arg_fail(2)) SWIG_fail
;
32801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32802 (arg1
)->base_AddChild(arg2
);
32804 wxPyEndAllowThreads(__tstate
);
32805 if (PyErr_Occurred()) SWIG_fail
;
32807 Py_INCREF(Py_None
); resultobj
= Py_None
;
32814 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32815 PyObject
*resultobj
;
32816 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32817 wxWindow
*arg2
= (wxWindow
*) 0 ;
32818 PyObject
* obj0
= 0 ;
32819 PyObject
* obj1
= 0 ;
32820 char *kwnames
[] = {
32821 (char *) "self",(char *) "child", NULL
32824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
32825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32826 if (SWIG_arg_fail(1)) SWIG_fail
;
32827 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32828 if (SWIG_arg_fail(2)) SWIG_fail
;
32830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32831 (arg1
)->base_RemoveChild(arg2
);
32833 wxPyEndAllowThreads(__tstate
);
32834 if (PyErr_Occurred()) SWIG_fail
;
32836 Py_INCREF(Py_None
); resultobj
= Py_None
;
32843 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32844 PyObject
*resultobj
;
32845 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32847 PyObject
* obj0
= 0 ;
32848 char *kwnames
[] = {
32849 (char *) "self", NULL
32852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
32853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32854 if (SWIG_arg_fail(1)) SWIG_fail
;
32856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32857 result
= (bool)((wxPyControl
const *)arg1
)->base_ShouldInheritColours();
32859 wxPyEndAllowThreads(__tstate
);
32860 if (PyErr_Occurred()) SWIG_fail
;
32863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32871 static PyObject
*_wrap_PyControl_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32872 PyObject
*resultobj
;
32873 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32874 wxVisualAttributes result
;
32875 PyObject
* obj0
= 0 ;
32876 char *kwnames
[] = {
32877 (char *) "self", NULL
32880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
32881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32882 if (SWIG_arg_fail(1)) SWIG_fail
;
32884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32885 result
= (arg1
)->base_GetDefaultAttributes();
32887 wxPyEndAllowThreads(__tstate
);
32888 if (PyErr_Occurred()) SWIG_fail
;
32891 wxVisualAttributes
* resultptr
;
32892 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
32893 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
32901 static PyObject
*_wrap_PyControl_base_OnInternalIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32902 PyObject
*resultobj
;
32903 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32904 PyObject
* obj0
= 0 ;
32905 char *kwnames
[] = {
32906 (char *) "self", NULL
32909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_OnInternalIdle",kwnames
,&obj0
)) goto fail
;
32910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32911 if (SWIG_arg_fail(1)) SWIG_fail
;
32913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32914 (arg1
)->base_OnInternalIdle();
32916 wxPyEndAllowThreads(__tstate
);
32917 if (PyErr_Occurred()) SWIG_fail
;
32919 Py_INCREF(Py_None
); resultobj
= Py_None
;
32926 static PyObject
* PyControl_swigregister(PyObject
*, PyObject
*args
) {
32928 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32929 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
32931 return Py_BuildValue((char *)"");
32933 static PyObject
*_wrap_new_HelpEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32934 PyObject
*resultobj
;
32935 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
32936 int arg2
= (int) 0 ;
32937 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32938 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32939 wxHelpEvent
*result
;
32941 PyObject
* obj0
= 0 ;
32942 PyObject
* obj1
= 0 ;
32943 PyObject
* obj2
= 0 ;
32944 char *kwnames
[] = {
32945 (char *) "type",(char *) "winid",(char *) "pt", NULL
32948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32951 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
32952 if (SWIG_arg_fail(1)) SWIG_fail
;
32957 arg2
= (int)(SWIG_As_int(obj1
));
32958 if (SWIG_arg_fail(2)) SWIG_fail
;
32964 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32969 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
32971 wxPyEndAllowThreads(__tstate
);
32972 if (PyErr_Occurred()) SWIG_fail
;
32974 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
32981 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32982 PyObject
*resultobj
;
32983 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
32985 PyObject
* obj0
= 0 ;
32986 char *kwnames
[] = {
32987 (char *) "self", NULL
32990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
32991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
32992 if (SWIG_arg_fail(1)) SWIG_fail
;
32994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32995 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
32997 wxPyEndAllowThreads(__tstate
);
32998 if (PyErr_Occurred()) SWIG_fail
;
33001 wxPoint
* resultptr
;
33002 resultptr
= new wxPoint((wxPoint
const &)(result
));
33003 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
33011 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33012 PyObject
*resultobj
;
33013 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33014 wxPoint
*arg2
= 0 ;
33016 PyObject
* obj0
= 0 ;
33017 PyObject
* obj1
= 0 ;
33018 char *kwnames
[] = {
33019 (char *) "self",(char *) "pos", NULL
33022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
33023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33024 if (SWIG_arg_fail(1)) SWIG_fail
;
33027 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33031 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
33033 wxPyEndAllowThreads(__tstate
);
33034 if (PyErr_Occurred()) SWIG_fail
;
33036 Py_INCREF(Py_None
); resultobj
= Py_None
;
33043 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33044 PyObject
*resultobj
;
33045 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33047 PyObject
* obj0
= 0 ;
33048 char *kwnames
[] = {
33049 (char *) "self", NULL
33052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
33053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33054 if (SWIG_arg_fail(1)) SWIG_fail
;
33056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33058 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
33059 result
= (wxString
*) &_result_ref
;
33062 wxPyEndAllowThreads(__tstate
);
33063 if (PyErr_Occurred()) SWIG_fail
;
33067 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33069 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33078 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33079 PyObject
*resultobj
;
33080 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33081 wxString
*arg2
= 0 ;
33082 bool temp2
= false ;
33083 PyObject
* obj0
= 0 ;
33084 PyObject
* obj1
= 0 ;
33085 char *kwnames
[] = {
33086 (char *) "self",(char *) "link", NULL
33089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
33090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33091 if (SWIG_arg_fail(1)) SWIG_fail
;
33093 arg2
= wxString_in_helper(obj1
);
33094 if (arg2
== NULL
) SWIG_fail
;
33098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33099 (arg1
)->SetLink((wxString
const &)*arg2
);
33101 wxPyEndAllowThreads(__tstate
);
33102 if (PyErr_Occurred()) SWIG_fail
;
33104 Py_INCREF(Py_None
); resultobj
= Py_None
;
33119 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33120 PyObject
*resultobj
;
33121 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33123 PyObject
* obj0
= 0 ;
33124 char *kwnames
[] = {
33125 (char *) "self", NULL
33128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
33129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33130 if (SWIG_arg_fail(1)) SWIG_fail
;
33132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33134 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
33135 result
= (wxString
*) &_result_ref
;
33138 wxPyEndAllowThreads(__tstate
);
33139 if (PyErr_Occurred()) SWIG_fail
;
33143 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33145 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33154 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33155 PyObject
*resultobj
;
33156 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33157 wxString
*arg2
= 0 ;
33158 bool temp2
= false ;
33159 PyObject
* obj0
= 0 ;
33160 PyObject
* obj1
= 0 ;
33161 char *kwnames
[] = {
33162 (char *) "self",(char *) "target", NULL
33165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
33166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33167 if (SWIG_arg_fail(1)) SWIG_fail
;
33169 arg2
= wxString_in_helper(obj1
);
33170 if (arg2
== NULL
) SWIG_fail
;
33174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33175 (arg1
)->SetTarget((wxString
const &)*arg2
);
33177 wxPyEndAllowThreads(__tstate
);
33178 if (PyErr_Occurred()) SWIG_fail
;
33180 Py_INCREF(Py_None
); resultobj
= Py_None
;
33195 static PyObject
* HelpEvent_swigregister(PyObject
*, PyObject
*args
) {
33197 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33198 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
33200 return Py_BuildValue((char *)"");
33202 static PyObject
*_wrap_new_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33203 PyObject
*resultobj
;
33204 wxWindow
*arg1
= (wxWindow
*) NULL
;
33205 bool arg2
= (bool) true ;
33206 wxContextHelp
*result
;
33207 PyObject
* obj0
= 0 ;
33208 PyObject
* obj1
= 0 ;
33209 char *kwnames
[] = {
33210 (char *) "window",(char *) "doNow", NULL
33213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33216 if (SWIG_arg_fail(1)) SWIG_fail
;
33220 arg2
= (bool)(SWIG_As_bool(obj1
));
33221 if (SWIG_arg_fail(2)) SWIG_fail
;
33225 if (!wxPyCheckForApp()) SWIG_fail
;
33226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33227 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
33229 wxPyEndAllowThreads(__tstate
);
33230 if (PyErr_Occurred()) SWIG_fail
;
33232 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
33239 static PyObject
*_wrap_delete_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33240 PyObject
*resultobj
;
33241 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33242 PyObject
* obj0
= 0 ;
33243 char *kwnames
[] = {
33244 (char *) "self", NULL
33247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
33248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33249 if (SWIG_arg_fail(1)) SWIG_fail
;
33251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33254 wxPyEndAllowThreads(__tstate
);
33255 if (PyErr_Occurred()) SWIG_fail
;
33257 Py_INCREF(Py_None
); resultobj
= Py_None
;
33264 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33265 PyObject
*resultobj
;
33266 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33267 wxWindow
*arg2
= (wxWindow
*) NULL
;
33269 PyObject
* obj0
= 0 ;
33270 PyObject
* obj1
= 0 ;
33271 char *kwnames
[] = {
33272 (char *) "self",(char *) "window", NULL
33275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33277 if (SWIG_arg_fail(1)) SWIG_fail
;
33279 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33280 if (SWIG_arg_fail(2)) SWIG_fail
;
33283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33284 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
33286 wxPyEndAllowThreads(__tstate
);
33287 if (PyErr_Occurred()) SWIG_fail
;
33290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33298 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33299 PyObject
*resultobj
;
33300 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33302 PyObject
* obj0
= 0 ;
33303 char *kwnames
[] = {
33304 (char *) "self", NULL
33307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
33308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33309 if (SWIG_arg_fail(1)) SWIG_fail
;
33311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33312 result
= (bool)(arg1
)->EndContextHelp();
33314 wxPyEndAllowThreads(__tstate
);
33315 if (PyErr_Occurred()) SWIG_fail
;
33318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33326 static PyObject
* ContextHelp_swigregister(PyObject
*, PyObject
*args
) {
33328 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33329 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
33331 return Py_BuildValue((char *)"");
33333 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33334 PyObject
*resultobj
;
33335 wxWindow
*arg1
= (wxWindow
*) 0 ;
33336 int arg2
= (int) wxID_CONTEXT_HELP
;
33337 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33338 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33339 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33340 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33341 long arg5
= (long) wxBU_AUTODRAW
;
33342 wxContextHelpButton
*result
;
33345 PyObject
* obj0
= 0 ;
33346 PyObject
* obj1
= 0 ;
33347 PyObject
* obj2
= 0 ;
33348 PyObject
* obj3
= 0 ;
33349 PyObject
* obj4
= 0 ;
33350 char *kwnames
[] = {
33351 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33356 if (SWIG_arg_fail(1)) SWIG_fail
;
33359 arg2
= (int)(SWIG_As_int(obj1
));
33360 if (SWIG_arg_fail(2)) SWIG_fail
;
33366 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33372 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33377 arg5
= (long)(SWIG_As_long(obj4
));
33378 if (SWIG_arg_fail(5)) SWIG_fail
;
33382 if (!wxPyCheckForApp()) SWIG_fail
;
33383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33384 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
33386 wxPyEndAllowThreads(__tstate
);
33387 if (PyErr_Occurred()) SWIG_fail
;
33389 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
33396 static PyObject
* ContextHelpButton_swigregister(PyObject
*, PyObject
*args
) {
33398 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33399 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
33401 return Py_BuildValue((char *)"");
33403 static PyObject
*_wrap_HelpProvider_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33404 PyObject
*resultobj
;
33405 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33406 wxHelpProvider
*result
;
33407 PyObject
* obj0
= 0 ;
33408 char *kwnames
[] = {
33409 (char *) "helpProvider", NULL
33412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
33413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33414 if (SWIG_arg_fail(1)) SWIG_fail
;
33416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33417 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
33419 wxPyEndAllowThreads(__tstate
);
33420 if (PyErr_Occurred()) SWIG_fail
;
33422 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
33429 static PyObject
*_wrap_HelpProvider_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33430 PyObject
*resultobj
;
33431 wxHelpProvider
*result
;
33432 char *kwnames
[] = {
33436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
33438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33439 result
= (wxHelpProvider
*)wxHelpProvider::Get();
33441 wxPyEndAllowThreads(__tstate
);
33442 if (PyErr_Occurred()) SWIG_fail
;
33444 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
33451 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33452 PyObject
*resultobj
;
33453 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33454 wxWindow
*arg2
= (wxWindow
*) 0 ;
33456 PyObject
* obj0
= 0 ;
33457 PyObject
* obj1
= 0 ;
33458 char *kwnames
[] = {
33459 (char *) "self",(char *) "window", NULL
33462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33464 if (SWIG_arg_fail(1)) SWIG_fail
;
33465 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33466 if (SWIG_arg_fail(2)) SWIG_fail
;
33468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33469 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
33471 wxPyEndAllowThreads(__tstate
);
33472 if (PyErr_Occurred()) SWIG_fail
;
33476 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33478 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33487 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33488 PyObject
*resultobj
;
33489 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33490 wxWindow
*arg2
= (wxWindow
*) 0 ;
33492 PyObject
* obj0
= 0 ;
33493 PyObject
* obj1
= 0 ;
33494 char *kwnames
[] = {
33495 (char *) "self",(char *) "window", NULL
33498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33500 if (SWIG_arg_fail(1)) SWIG_fail
;
33501 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33502 if (SWIG_arg_fail(2)) SWIG_fail
;
33504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33505 result
= (bool)(arg1
)->ShowHelp(arg2
);
33507 wxPyEndAllowThreads(__tstate
);
33508 if (PyErr_Occurred()) SWIG_fail
;
33511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33519 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33520 PyObject
*resultobj
;
33521 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33522 wxWindow
*arg2
= (wxWindow
*) 0 ;
33523 wxString
*arg3
= 0 ;
33524 bool temp3
= false ;
33525 PyObject
* obj0
= 0 ;
33526 PyObject
* obj1
= 0 ;
33527 PyObject
* obj2
= 0 ;
33528 char *kwnames
[] = {
33529 (char *) "self",(char *) "window",(char *) "text", NULL
33532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33534 if (SWIG_arg_fail(1)) SWIG_fail
;
33535 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33536 if (SWIG_arg_fail(2)) SWIG_fail
;
33538 arg3
= wxString_in_helper(obj2
);
33539 if (arg3
== NULL
) SWIG_fail
;
33543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33544 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
33546 wxPyEndAllowThreads(__tstate
);
33547 if (PyErr_Occurred()) SWIG_fail
;
33549 Py_INCREF(Py_None
); resultobj
= Py_None
;
33564 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33565 PyObject
*resultobj
;
33566 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33568 wxString
*arg3
= 0 ;
33569 bool temp3
= false ;
33570 PyObject
* obj0
= 0 ;
33571 PyObject
* obj1
= 0 ;
33572 PyObject
* obj2
= 0 ;
33573 char *kwnames
[] = {
33574 (char *) "self",(char *) "id",(char *) "text", NULL
33577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33579 if (SWIG_arg_fail(1)) SWIG_fail
;
33581 arg2
= (int)(SWIG_As_int(obj1
));
33582 if (SWIG_arg_fail(2)) SWIG_fail
;
33585 arg3
= wxString_in_helper(obj2
);
33586 if (arg3
== NULL
) SWIG_fail
;
33590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33591 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
33593 wxPyEndAllowThreads(__tstate
);
33594 if (PyErr_Occurred()) SWIG_fail
;
33596 Py_INCREF(Py_None
); resultobj
= Py_None
;
33611 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33612 PyObject
*resultobj
;
33613 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33614 wxWindow
*arg2
= (wxWindow
*) 0 ;
33615 PyObject
* obj0
= 0 ;
33616 PyObject
* obj1
= 0 ;
33617 char *kwnames
[] = {
33618 (char *) "self",(char *) "window", NULL
33621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33623 if (SWIG_arg_fail(1)) SWIG_fail
;
33624 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33625 if (SWIG_arg_fail(2)) SWIG_fail
;
33627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33628 (arg1
)->RemoveHelp(arg2
);
33630 wxPyEndAllowThreads(__tstate
);
33631 if (PyErr_Occurred()) SWIG_fail
;
33633 Py_INCREF(Py_None
); resultobj
= Py_None
;
33640 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33641 PyObject
*resultobj
;
33642 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33643 PyObject
* obj0
= 0 ;
33644 char *kwnames
[] = {
33645 (char *) "self", NULL
33648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
33649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33650 if (SWIG_arg_fail(1)) SWIG_fail
;
33652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33653 wxHelpProvider_Destroy(arg1
);
33655 wxPyEndAllowThreads(__tstate
);
33656 if (PyErr_Occurred()) SWIG_fail
;
33658 Py_INCREF(Py_None
); resultobj
= Py_None
;
33665 static PyObject
* HelpProvider_swigregister(PyObject
*, PyObject
*args
) {
33667 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33668 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
33670 return Py_BuildValue((char *)"");
33672 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33673 PyObject
*resultobj
;
33674 wxSimpleHelpProvider
*result
;
33675 char *kwnames
[] = {
33679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
33681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33682 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
33684 wxPyEndAllowThreads(__tstate
);
33685 if (PyErr_Occurred()) SWIG_fail
;
33687 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
33694 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*, PyObject
*args
) {
33696 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33697 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
33699 return Py_BuildValue((char *)"");
33701 static PyObject
*_wrap_new_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33702 PyObject
*resultobj
;
33703 wxBitmap
*arg1
= 0 ;
33704 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33705 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
33706 wxGenericDragImage
*result
;
33707 PyObject
* obj0
= 0 ;
33708 PyObject
* obj1
= 0 ;
33709 char *kwnames
[] = {
33710 (char *) "image",(char *) "cursor", NULL
33713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
33715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
33716 if (SWIG_arg_fail(1)) SWIG_fail
;
33717 if (arg1
== NULL
) {
33718 SWIG_null_ref("wxBitmap");
33720 if (SWIG_arg_fail(1)) SWIG_fail
;
33724 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
33725 if (SWIG_arg_fail(2)) SWIG_fail
;
33726 if (arg2
== NULL
) {
33727 SWIG_null_ref("wxCursor");
33729 if (SWIG_arg_fail(2)) SWIG_fail
;
33733 if (!wxPyCheckForApp()) SWIG_fail
;
33734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33735 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
33737 wxPyEndAllowThreads(__tstate
);
33738 if (PyErr_Occurred()) SWIG_fail
;
33740 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33747 static PyObject
*_wrap_new_DragIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33748 PyObject
*resultobj
;
33750 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33751 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
33752 wxGenericDragImage
*result
;
33753 PyObject
* obj0
= 0 ;
33754 PyObject
* obj1
= 0 ;
33755 char *kwnames
[] = {
33756 (char *) "image",(char *) "cursor", NULL
33759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
33761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
33762 if (SWIG_arg_fail(1)) SWIG_fail
;
33763 if (arg1
== NULL
) {
33764 SWIG_null_ref("wxIcon");
33766 if (SWIG_arg_fail(1)) SWIG_fail
;
33770 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
33771 if (SWIG_arg_fail(2)) SWIG_fail
;
33772 if (arg2
== NULL
) {
33773 SWIG_null_ref("wxCursor");
33775 if (SWIG_arg_fail(2)) SWIG_fail
;
33779 if (!wxPyCheckForApp()) SWIG_fail
;
33780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33781 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
33783 wxPyEndAllowThreads(__tstate
);
33784 if (PyErr_Occurred()) SWIG_fail
;
33786 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33793 static PyObject
*_wrap_new_DragString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33794 PyObject
*resultobj
;
33795 wxString
*arg1
= 0 ;
33796 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33797 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
33798 wxGenericDragImage
*result
;
33799 bool temp1
= false ;
33800 PyObject
* obj0
= 0 ;
33801 PyObject
* obj1
= 0 ;
33802 char *kwnames
[] = {
33803 (char *) "str",(char *) "cursor", NULL
33806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
33808 arg1
= wxString_in_helper(obj0
);
33809 if (arg1
== NULL
) SWIG_fail
;
33814 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
33815 if (SWIG_arg_fail(2)) SWIG_fail
;
33816 if (arg2
== NULL
) {
33817 SWIG_null_ref("wxCursor");
33819 if (SWIG_arg_fail(2)) SWIG_fail
;
33823 if (!wxPyCheckForApp()) SWIG_fail
;
33824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33825 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
33827 wxPyEndAllowThreads(__tstate
);
33828 if (PyErr_Occurred()) SWIG_fail
;
33830 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33845 static PyObject
*_wrap_new_DragTreeItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33846 PyObject
*resultobj
;
33847 wxPyTreeCtrl
*arg1
= 0 ;
33848 wxTreeItemId
*arg2
= 0 ;
33849 wxGenericDragImage
*result
;
33850 PyObject
* obj0
= 0 ;
33851 PyObject
* obj1
= 0 ;
33852 char *kwnames
[] = {
33853 (char *) "treeCtrl",(char *) "id", NULL
33856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33859 if (SWIG_arg_fail(1)) SWIG_fail
;
33860 if (arg1
== NULL
) {
33861 SWIG_null_ref("wxPyTreeCtrl");
33863 if (SWIG_arg_fail(1)) SWIG_fail
;
33866 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
33867 if (SWIG_arg_fail(2)) SWIG_fail
;
33868 if (arg2
== NULL
) {
33869 SWIG_null_ref("wxTreeItemId");
33871 if (SWIG_arg_fail(2)) SWIG_fail
;
33874 if (!wxPyCheckForApp()) SWIG_fail
;
33875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33876 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
33878 wxPyEndAllowThreads(__tstate
);
33879 if (PyErr_Occurred()) SWIG_fail
;
33881 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33888 static PyObject
*_wrap_new_DragListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33889 PyObject
*resultobj
;
33890 wxPyListCtrl
*arg1
= 0 ;
33892 wxGenericDragImage
*result
;
33893 PyObject
* obj0
= 0 ;
33894 PyObject
* obj1
= 0 ;
33895 char *kwnames
[] = {
33896 (char *) "listCtrl",(char *) "id", NULL
33899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33902 if (SWIG_arg_fail(1)) SWIG_fail
;
33903 if (arg1
== NULL
) {
33904 SWIG_null_ref("wxPyListCtrl");
33906 if (SWIG_arg_fail(1)) SWIG_fail
;
33909 arg2
= (long)(SWIG_As_long(obj1
));
33910 if (SWIG_arg_fail(2)) SWIG_fail
;
33913 if (!wxPyCheckForApp()) SWIG_fail
;
33914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33915 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
33917 wxPyEndAllowThreads(__tstate
);
33918 if (PyErr_Occurred()) SWIG_fail
;
33920 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33927 static PyObject
*_wrap_delete_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33928 PyObject
*resultobj
;
33929 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
33930 PyObject
* obj0
= 0 ;
33931 char *kwnames
[] = {
33932 (char *) "self", NULL
33935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
33936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
33937 if (SWIG_arg_fail(1)) SWIG_fail
;
33939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33942 wxPyEndAllowThreads(__tstate
);
33943 if (PyErr_Occurred()) SWIG_fail
;
33945 Py_INCREF(Py_None
); resultobj
= Py_None
;
33952 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33953 PyObject
*resultobj
;
33954 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
33955 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
33956 PyObject
* obj0
= 0 ;
33957 PyObject
* obj1
= 0 ;
33958 char *kwnames
[] = {
33959 (char *) "self",(char *) "bitmap", NULL
33962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
33963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
33964 if (SWIG_arg_fail(1)) SWIG_fail
;
33965 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
33966 if (SWIG_arg_fail(2)) SWIG_fail
;
33968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33969 (arg1
)->SetBackingBitmap(arg2
);
33971 wxPyEndAllowThreads(__tstate
);
33972 if (PyErr_Occurred()) SWIG_fail
;
33974 Py_INCREF(Py_None
); resultobj
= Py_None
;
33981 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33982 PyObject
*resultobj
;
33983 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
33984 wxPoint
*arg2
= 0 ;
33985 wxWindow
*arg3
= (wxWindow
*) 0 ;
33986 bool arg4
= (bool) false ;
33987 wxRect
*arg5
= (wxRect
*) NULL
;
33990 PyObject
* obj0
= 0 ;
33991 PyObject
* obj1
= 0 ;
33992 PyObject
* obj2
= 0 ;
33993 PyObject
* obj3
= 0 ;
33994 PyObject
* obj4
= 0 ;
33995 char *kwnames
[] = {
33996 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
33999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34001 if (SWIG_arg_fail(1)) SWIG_fail
;
34004 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34006 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34007 if (SWIG_arg_fail(3)) SWIG_fail
;
34010 arg4
= (bool)(SWIG_As_bool(obj3
));
34011 if (SWIG_arg_fail(4)) SWIG_fail
;
34015 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
34016 if (SWIG_arg_fail(5)) SWIG_fail
;
34019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34020 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
34022 wxPyEndAllowThreads(__tstate
);
34023 if (PyErr_Occurred()) SWIG_fail
;
34026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34034 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34035 PyObject
*resultobj
;
34036 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34037 wxPoint
*arg2
= 0 ;
34038 wxWindow
*arg3
= (wxWindow
*) 0 ;
34039 wxWindow
*arg4
= (wxWindow
*) 0 ;
34042 PyObject
* obj0
= 0 ;
34043 PyObject
* obj1
= 0 ;
34044 PyObject
* obj2
= 0 ;
34045 PyObject
* obj3
= 0 ;
34046 char *kwnames
[] = {
34047 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
34050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34052 if (SWIG_arg_fail(1)) SWIG_fail
;
34055 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34057 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34058 if (SWIG_arg_fail(3)) SWIG_fail
;
34059 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34060 if (SWIG_arg_fail(4)) SWIG_fail
;
34062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34063 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
34065 wxPyEndAllowThreads(__tstate
);
34066 if (PyErr_Occurred()) SWIG_fail
;
34069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34077 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34078 PyObject
*resultobj
;
34079 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34081 PyObject
* obj0
= 0 ;
34082 char *kwnames
[] = {
34083 (char *) "self", NULL
34086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
34087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34088 if (SWIG_arg_fail(1)) SWIG_fail
;
34090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34091 result
= (bool)(arg1
)->EndDrag();
34093 wxPyEndAllowThreads(__tstate
);
34094 if (PyErr_Occurred()) SWIG_fail
;
34097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34105 static PyObject
*_wrap_DragImage_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34106 PyObject
*resultobj
;
34107 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34108 wxPoint
*arg2
= 0 ;
34111 PyObject
* obj0
= 0 ;
34112 PyObject
* obj1
= 0 ;
34113 char *kwnames
[] = {
34114 (char *) "self",(char *) "pt", NULL
34117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
34118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34119 if (SWIG_arg_fail(1)) SWIG_fail
;
34122 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34126 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
34128 wxPyEndAllowThreads(__tstate
);
34129 if (PyErr_Occurred()) SWIG_fail
;
34132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34140 static PyObject
*_wrap_DragImage_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34141 PyObject
*resultobj
;
34142 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34144 PyObject
* obj0
= 0 ;
34145 char *kwnames
[] = {
34146 (char *) "self", NULL
34149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
34150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34151 if (SWIG_arg_fail(1)) SWIG_fail
;
34153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34154 result
= (bool)(arg1
)->Show();
34156 wxPyEndAllowThreads(__tstate
);
34157 if (PyErr_Occurred()) SWIG_fail
;
34160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34168 static PyObject
*_wrap_DragImage_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34169 PyObject
*resultobj
;
34170 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34172 PyObject
* obj0
= 0 ;
34173 char *kwnames
[] = {
34174 (char *) "self", NULL
34177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
34178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34179 if (SWIG_arg_fail(1)) SWIG_fail
;
34181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34182 result
= (bool)(arg1
)->Hide();
34184 wxPyEndAllowThreads(__tstate
);
34185 if (PyErr_Occurred()) SWIG_fail
;
34188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34196 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34197 PyObject
*resultobj
;
34198 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34199 wxPoint
*arg2
= 0 ;
34202 PyObject
* obj0
= 0 ;
34203 PyObject
* obj1
= 0 ;
34204 char *kwnames
[] = {
34205 (char *) "self",(char *) "pos", NULL
34208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
34209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34210 if (SWIG_arg_fail(1)) SWIG_fail
;
34213 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34217 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
34219 wxPyEndAllowThreads(__tstate
);
34220 if (PyErr_Occurred()) SWIG_fail
;
34223 wxRect
* resultptr
;
34224 resultptr
= new wxRect((wxRect
&)(result
));
34225 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
34233 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34234 PyObject
*resultobj
;
34235 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34237 wxPoint
*arg3
= 0 ;
34240 PyObject
* obj0
= 0 ;
34241 PyObject
* obj1
= 0 ;
34242 PyObject
* obj2
= 0 ;
34243 char *kwnames
[] = {
34244 (char *) "self",(char *) "dc",(char *) "pos", NULL
34247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34249 if (SWIG_arg_fail(1)) SWIG_fail
;
34251 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
34252 if (SWIG_arg_fail(2)) SWIG_fail
;
34253 if (arg2
== NULL
) {
34254 SWIG_null_ref("wxDC");
34256 if (SWIG_arg_fail(2)) SWIG_fail
;
34260 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34264 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
34266 wxPyEndAllowThreads(__tstate
);
34267 if (PyErr_Occurred()) SWIG_fail
;
34270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34278 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34279 PyObject
*resultobj
;
34280 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34282 wxMemoryDC
*arg3
= 0 ;
34288 PyObject
* obj0
= 0 ;
34289 PyObject
* obj1
= 0 ;
34290 PyObject
* obj2
= 0 ;
34291 PyObject
* obj3
= 0 ;
34292 PyObject
* obj4
= 0 ;
34293 char *kwnames
[] = {
34294 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
34297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34299 if (SWIG_arg_fail(1)) SWIG_fail
;
34301 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
34302 if (SWIG_arg_fail(2)) SWIG_fail
;
34303 if (arg2
== NULL
) {
34304 SWIG_null_ref("wxDC");
34306 if (SWIG_arg_fail(2)) SWIG_fail
;
34309 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_EXCEPTION
| 0);
34310 if (SWIG_arg_fail(3)) SWIG_fail
;
34311 if (arg3
== NULL
) {
34312 SWIG_null_ref("wxMemoryDC");
34314 if (SWIG_arg_fail(3)) SWIG_fail
;
34318 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34322 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
34325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34326 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
34328 wxPyEndAllowThreads(__tstate
);
34329 if (PyErr_Occurred()) SWIG_fail
;
34332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34340 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34341 PyObject
*resultobj
;
34342 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34343 wxPoint
*arg2
= 0 ;
34344 wxPoint
*arg3
= 0 ;
34350 PyObject
* obj0
= 0 ;
34351 PyObject
* obj1
= 0 ;
34352 PyObject
* obj2
= 0 ;
34353 PyObject
* obj3
= 0 ;
34354 PyObject
* obj4
= 0 ;
34355 char *kwnames
[] = {
34356 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
34359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34361 if (SWIG_arg_fail(1)) SWIG_fail
;
34364 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34368 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34371 arg4
= (bool)(SWIG_As_bool(obj3
));
34372 if (SWIG_arg_fail(4)) SWIG_fail
;
34375 arg5
= (bool)(SWIG_As_bool(obj4
));
34376 if (SWIG_arg_fail(5)) SWIG_fail
;
34379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34380 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
34382 wxPyEndAllowThreads(__tstate
);
34383 if (PyErr_Occurred()) SWIG_fail
;
34386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34394 static PyObject
* DragImage_swigregister(PyObject
*, PyObject
*args
) {
34396 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34397 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
34399 return Py_BuildValue((char *)"");
34401 static int _wrap_DatePickerCtrlNameStr_set(PyObject
*) {
34402 PyErr_SetString(PyExc_TypeError
,"Variable DatePickerCtrlNameStr is read-only.");
34407 static PyObject
*_wrap_DatePickerCtrlNameStr_get(void) {
34412 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
34414 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
34421 static PyObject
*_wrap_new_DatePickerCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34422 PyObject
*resultobj
;
34423 wxWindow
*arg1
= (wxWindow
*) 0 ;
34424 int arg2
= (int) -1 ;
34425 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
34426 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
34427 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
34428 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
34429 wxSize
const &arg5_defvalue
= wxDefaultSize
;
34430 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
34431 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
34432 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
34433 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
34434 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
34435 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
34436 wxDatePickerCtrl
*result
;
34439 bool temp8
= false ;
34440 PyObject
* obj0
= 0 ;
34441 PyObject
* obj1
= 0 ;
34442 PyObject
* obj2
= 0 ;
34443 PyObject
* obj3
= 0 ;
34444 PyObject
* obj4
= 0 ;
34445 PyObject
* obj5
= 0 ;
34446 PyObject
* obj6
= 0 ;
34447 PyObject
* obj7
= 0 ;
34448 char *kwnames
[] = {
34449 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
34453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34454 if (SWIG_arg_fail(1)) SWIG_fail
;
34457 arg2
= (int)(SWIG_As_int(obj1
));
34458 if (SWIG_arg_fail(2)) SWIG_fail
;
34463 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34464 if (SWIG_arg_fail(3)) SWIG_fail
;
34465 if (arg3
== NULL
) {
34466 SWIG_null_ref("wxDateTime");
34468 if (SWIG_arg_fail(3)) SWIG_fail
;
34474 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
34480 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
34485 arg6
= (long)(SWIG_As_long(obj5
));
34486 if (SWIG_arg_fail(6)) SWIG_fail
;
34491 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
34492 if (SWIG_arg_fail(7)) SWIG_fail
;
34493 if (arg7
== NULL
) {
34494 SWIG_null_ref("wxValidator");
34496 if (SWIG_arg_fail(7)) SWIG_fail
;
34501 arg8
= wxString_in_helper(obj7
);
34502 if (arg8
== NULL
) SWIG_fail
;
34507 if (!wxPyCheckForApp()) SWIG_fail
;
34508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34509 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
34511 wxPyEndAllowThreads(__tstate
);
34512 if (PyErr_Occurred()) SWIG_fail
;
34514 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDatePickerCtrl
, 1);
34529 static PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34530 PyObject
*resultobj
;
34531 wxDatePickerCtrl
*result
;
34532 char *kwnames
[] = {
34536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDatePickerCtrl",kwnames
)) goto fail
;
34538 if (!wxPyCheckForApp()) SWIG_fail
;
34539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34540 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
34542 wxPyEndAllowThreads(__tstate
);
34543 if (PyErr_Occurred()) SWIG_fail
;
34545 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDatePickerCtrl
, 1);
34552 static PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34553 PyObject
*resultobj
;
34554 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34555 wxWindow
*arg2
= (wxWindow
*) 0 ;
34556 int arg3
= (int) -1 ;
34557 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
34558 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
34559 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
34560 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
34561 wxSize
const &arg6_defvalue
= wxDefaultSize
;
34562 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
34563 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
34564 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
34565 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
34566 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
34567 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
34571 bool temp9
= false ;
34572 PyObject
* obj0
= 0 ;
34573 PyObject
* obj1
= 0 ;
34574 PyObject
* obj2
= 0 ;
34575 PyObject
* obj3
= 0 ;
34576 PyObject
* obj4
= 0 ;
34577 PyObject
* obj5
= 0 ;
34578 PyObject
* obj6
= 0 ;
34579 PyObject
* obj7
= 0 ;
34580 PyObject
* obj8
= 0 ;
34581 char *kwnames
[] = {
34582 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
34586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34587 if (SWIG_arg_fail(1)) SWIG_fail
;
34588 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34589 if (SWIG_arg_fail(2)) SWIG_fail
;
34592 arg3
= (int)(SWIG_As_int(obj2
));
34593 if (SWIG_arg_fail(3)) SWIG_fail
;
34598 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34599 if (SWIG_arg_fail(4)) SWIG_fail
;
34600 if (arg4
== NULL
) {
34601 SWIG_null_ref("wxDateTime");
34603 if (SWIG_arg_fail(4)) SWIG_fail
;
34609 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
34615 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
34620 arg7
= (long)(SWIG_As_long(obj6
));
34621 if (SWIG_arg_fail(7)) SWIG_fail
;
34626 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
34627 if (SWIG_arg_fail(8)) SWIG_fail
;
34628 if (arg8
== NULL
) {
34629 SWIG_null_ref("wxValidator");
34631 if (SWIG_arg_fail(8)) SWIG_fail
;
34636 arg9
= wxString_in_helper(obj8
);
34637 if (arg9
== NULL
) SWIG_fail
;
34642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34643 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
34645 wxPyEndAllowThreads(__tstate
);
34646 if (PyErr_Occurred()) SWIG_fail
;
34649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34665 static PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34666 PyObject
*resultobj
;
34667 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34668 wxDateTime
*arg2
= 0 ;
34669 PyObject
* obj0
= 0 ;
34670 PyObject
* obj1
= 0 ;
34671 char *kwnames
[] = {
34672 (char *) "self",(char *) "dt", NULL
34675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
34676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34677 if (SWIG_arg_fail(1)) SWIG_fail
;
34679 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34680 if (SWIG_arg_fail(2)) SWIG_fail
;
34681 if (arg2
== NULL
) {
34682 SWIG_null_ref("wxDateTime");
34684 if (SWIG_arg_fail(2)) SWIG_fail
;
34687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34688 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
34690 wxPyEndAllowThreads(__tstate
);
34691 if (PyErr_Occurred()) SWIG_fail
;
34693 Py_INCREF(Py_None
); resultobj
= Py_None
;
34700 static PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34701 PyObject
*resultobj
;
34702 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34704 PyObject
* obj0
= 0 ;
34705 char *kwnames
[] = {
34706 (char *) "self", NULL
34709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
34710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34711 if (SWIG_arg_fail(1)) SWIG_fail
;
34713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34714 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
34716 wxPyEndAllowThreads(__tstate
);
34717 if (PyErr_Occurred()) SWIG_fail
;
34720 wxDateTime
* resultptr
;
34721 resultptr
= new wxDateTime((wxDateTime
&)(result
));
34722 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
34730 static PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34731 PyObject
*resultobj
;
34732 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34733 wxDateTime
*arg2
= 0 ;
34734 wxDateTime
*arg3
= 0 ;
34735 PyObject
* obj0
= 0 ;
34736 PyObject
* obj1
= 0 ;
34737 PyObject
* obj2
= 0 ;
34738 char *kwnames
[] = {
34739 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
34742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34744 if (SWIG_arg_fail(1)) SWIG_fail
;
34746 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34747 if (SWIG_arg_fail(2)) SWIG_fail
;
34748 if (arg2
== NULL
) {
34749 SWIG_null_ref("wxDateTime");
34751 if (SWIG_arg_fail(2)) SWIG_fail
;
34754 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34755 if (SWIG_arg_fail(3)) SWIG_fail
;
34756 if (arg3
== NULL
) {
34757 SWIG_null_ref("wxDateTime");
34759 if (SWIG_arg_fail(3)) SWIG_fail
;
34762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34763 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
34765 wxPyEndAllowThreads(__tstate
);
34766 if (PyErr_Occurred()) SWIG_fail
;
34768 Py_INCREF(Py_None
); resultobj
= Py_None
;
34775 static PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34776 PyObject
*resultobj
;
34777 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34779 PyObject
* obj0
= 0 ;
34780 char *kwnames
[] = {
34781 (char *) "self", NULL
34784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetLowerLimit",kwnames
,&obj0
)) goto fail
;
34785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34786 if (SWIG_arg_fail(1)) SWIG_fail
;
34788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34789 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
34791 wxPyEndAllowThreads(__tstate
);
34792 if (PyErr_Occurred()) SWIG_fail
;
34795 wxDateTime
* resultptr
;
34796 resultptr
= new wxDateTime((wxDateTime
&)(result
));
34797 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
34805 static PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34806 PyObject
*resultobj
;
34807 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34809 PyObject
* obj0
= 0 ;
34810 char *kwnames
[] = {
34811 (char *) "self", NULL
34814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetUpperLimit",kwnames
,&obj0
)) goto fail
;
34815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34816 if (SWIG_arg_fail(1)) SWIG_fail
;
34818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34819 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
34821 wxPyEndAllowThreads(__tstate
);
34822 if (PyErr_Occurred()) SWIG_fail
;
34825 wxDateTime
* resultptr
;
34826 resultptr
= new wxDateTime((wxDateTime
&)(result
));
34827 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
34835 static PyObject
* DatePickerCtrl_swigregister(PyObject
*, PyObject
*args
) {
34837 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34838 SWIG_TypeClientData(SWIGTYPE_p_wxDatePickerCtrl
, obj
);
34840 return Py_BuildValue((char *)"");
34842 static PyMethodDef SwigMethods
[] = {
34843 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34844 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34845 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34846 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34847 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34848 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34849 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
34850 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34851 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34852 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34853 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34854 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34855 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34856 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34857 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34858 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34859 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34860 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34861 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34862 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34863 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34864 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
34865 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34866 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34867 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34868 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34869 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34870 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34871 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34872 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34873 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34874 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34875 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34876 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
34877 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34878 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34879 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34880 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34881 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
34882 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34883 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34884 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34885 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34886 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34887 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34888 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34889 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34890 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34891 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34892 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34893 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34894 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34895 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34896 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34897 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34898 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34899 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34900 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34901 { (char *)"ComboBox_IsEditable", (PyCFunction
) _wrap_ComboBox_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34902 { (char *)"ComboBox_Undo", (PyCFunction
) _wrap_ComboBox_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34903 { (char *)"ComboBox_Redo", (PyCFunction
) _wrap_ComboBox_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34904 { (char *)"ComboBox_SelectAll", (PyCFunction
) _wrap_ComboBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34905 { (char *)"ComboBox_CanCopy", (PyCFunction
) _wrap_ComboBox_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34906 { (char *)"ComboBox_CanCut", (PyCFunction
) _wrap_ComboBox_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34907 { (char *)"ComboBox_CanPaste", (PyCFunction
) _wrap_ComboBox_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34908 { (char *)"ComboBox_CanUndo", (PyCFunction
) _wrap_ComboBox_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34909 { (char *)"ComboBox_CanRedo", (PyCFunction
) _wrap_ComboBox_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34910 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34911 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
34912 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34913 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34914 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34915 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34916 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34917 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34918 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34919 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34920 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34921 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34922 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34923 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34924 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34925 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
34926 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34927 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34928 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34929 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34930 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
34931 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34932 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34933 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34934 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34935 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34936 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34937 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
34938 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34939 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34940 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34941 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34942 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
34943 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34944 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34945 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34946 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34947 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34948 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34949 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34950 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
34951 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34952 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34953 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34954 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34955 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34956 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34957 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34958 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34959 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34960 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34961 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34962 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34963 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34964 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34965 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34966 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34967 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34968 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34969 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34970 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34971 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34972 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34973 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
34974 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34975 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34976 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34977 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34978 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34979 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34980 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34981 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
34982 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34983 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34984 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34985 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34986 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34987 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34988 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34989 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34990 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34991 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34992 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34993 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34994 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34995 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34996 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34997 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34998 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34999 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35000 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35001 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35002 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35003 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35004 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35005 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35006 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35007 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
) _wrap_TextAttr_GetLeftSubIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35008 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35009 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35010 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35011 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35012 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
35013 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35014 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35015 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35016 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35017 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35018 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35019 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35020 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35021 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35022 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35023 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35024 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35025 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35026 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35027 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35028 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35029 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35030 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35031 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35032 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35033 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35034 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35035 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35036 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35037 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35038 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35039 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35040 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35041 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35042 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35043 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35044 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35045 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35046 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35047 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35048 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35049 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35050 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35051 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35052 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35053 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35054 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35055 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35056 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35057 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35058 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35059 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35060 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35061 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35062 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35063 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35064 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35065 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35066 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35067 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35068 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
35069 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35070 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35071 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35072 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35073 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
35074 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35075 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35076 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35077 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35078 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35079 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35080 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35081 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35082 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35083 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35084 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35085 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
35086 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35087 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35088 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35089 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35090 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35091 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35092 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35093 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35094 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35095 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35096 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35097 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35098 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
35099 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35100 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35101 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35102 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35103 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35104 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35105 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35106 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35107 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35108 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35109 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35110 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
35111 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35112 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35113 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35114 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
35115 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35116 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35117 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35118 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35119 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35120 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35121 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35122 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35123 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35124 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35125 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35126 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35127 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35128 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35129 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35130 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35131 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35132 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
35133 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35134 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35135 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35136 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35137 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35138 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35139 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
35140 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35141 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35142 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35143 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35144 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35145 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35146 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35147 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35148 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35149 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35150 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35151 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35152 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35153 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35154 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35155 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35156 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35157 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35158 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35159 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35160 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35161 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35162 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35163 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35164 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35165 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
35166 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35167 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35168 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35169 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35170 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35171 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35172 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35173 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
35174 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
) _wrap_BookCtrlBase_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35175 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35176 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35177 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
) _wrap_BookCtrlBase_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35178 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35179 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35180 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35181 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35182 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
) _wrap_BookCtrlBase_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35183 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35184 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35185 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35186 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35187 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35188 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35189 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
) _wrap_BookCtrlBase_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35190 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35191 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35192 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35193 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35194 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35195 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
35196 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35197 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35198 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35199 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35200 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35201 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
35202 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35203 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35204 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35205 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35206 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35207 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35208 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35209 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35210 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
) _wrap_Notebook_GetThemeBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35211 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35212 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
35213 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35214 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
35215 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35216 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35217 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35218 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35219 { (char *)"Listbook_GetListView", (PyCFunction
) _wrap_Listbook_GetListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35220 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
35221 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35222 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
35223 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35224 { (char *)"new_PreChoicebook", (PyCFunction
) _wrap_new_PreChoicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35225 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35226 { (char *)"Choicebook_IsVertical", (PyCFunction
) _wrap_Choicebook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35227 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
) _wrap_Choicebook_GetChoiceCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35228 { (char *)"Choicebook_DeleteAllPages", (PyCFunction
) _wrap_Choicebook_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35229 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
35230 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35231 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
35232 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35233 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35234 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35235 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35236 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
, NULL
},
35237 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35238 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35239 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35240 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35241 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
, NULL
},
35242 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35243 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35244 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35245 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35246 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35247 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35248 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35249 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35250 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35251 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35252 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35253 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35254 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35255 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35256 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35257 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35258 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35259 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35260 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35261 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35262 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35263 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35264 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35265 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35266 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35267 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35268 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35269 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35270 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35271 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
35272 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35273 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35274 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35275 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35276 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35277 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35278 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35279 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35280 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35281 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35282 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35283 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35284 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35285 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35286 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35287 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35288 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35289 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35290 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35291 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35292 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35293 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35294 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35295 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35296 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35297 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35298 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35299 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35300 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35301 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35302 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35303 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35304 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35305 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35306 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35307 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35308 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35309 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35310 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35311 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35312 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35313 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35314 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35315 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35316 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
35317 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35318 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35319 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35320 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35321 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35322 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
35323 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35324 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35325 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35326 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35327 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35328 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35329 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35330 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35331 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35332 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35333 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35334 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
35335 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35336 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35337 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35338 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35339 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35340 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35341 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35342 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35343 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35344 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35345 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35346 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35347 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35348 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35349 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35350 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35351 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35352 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35353 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35354 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35355 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35356 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35357 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35358 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35359 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35360 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35361 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35362 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35363 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35364 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35365 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35366 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35367 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35368 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35369 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35370 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35371 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35372 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35373 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35374 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35375 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35376 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35377 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35378 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35379 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35380 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35381 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35382 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35383 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35384 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35385 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35386 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
35387 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35388 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35389 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35390 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35391 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35392 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35393 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35394 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35395 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35396 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35397 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35398 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35399 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35400 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35401 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35402 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35403 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35404 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35405 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35406 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35407 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35408 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35409 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35410 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35411 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35412 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35413 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
35414 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35415 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35416 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35417 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35418 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35419 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35420 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35421 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35422 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35423 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35424 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35425 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35426 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35427 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35428 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35429 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35430 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35431 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35432 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35433 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35434 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35435 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35436 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35437 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35438 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35439 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35440 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35441 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35442 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35443 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35444 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35445 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35446 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35447 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35448 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35449 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35450 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35451 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35452 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35453 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35454 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35455 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35456 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35457 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35458 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35459 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35460 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35461 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35462 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35463 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35464 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35465 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35466 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35467 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35468 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35469 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35470 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35471 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35472 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35473 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35474 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35475 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35476 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35477 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35478 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35479 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35480 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35481 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35482 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35483 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35484 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
35485 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35486 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35487 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35488 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35489 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35490 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35491 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35492 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35493 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35494 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35495 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35496 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
35497 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35498 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35499 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35500 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35501 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35502 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35503 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35504 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
35505 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35506 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35507 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35508 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35509 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35510 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35511 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
35512 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35513 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35514 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35515 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35516 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35517 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35518 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35519 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35520 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35521 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35522 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35523 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35524 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35525 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35526 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35527 { (char *)"TreeEvent_GetToolTip", (PyCFunction
) _wrap_TreeEvent_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35528 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
35529 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35530 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35531 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35532 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35533 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35534 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35535 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35536 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35537 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35538 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35539 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35540 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35541 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35542 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35543 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35544 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35545 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35546 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35547 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35548 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35549 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35550 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35551 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35552 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35553 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35554 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35555 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35556 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35557 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35558 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35559 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35560 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35561 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35562 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35563 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35564 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35565 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35566 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35567 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35568 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35569 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35570 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35571 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35572 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35573 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35574 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35575 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35576 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35577 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35578 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35579 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35580 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35581 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35582 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35583 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35584 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35585 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35586 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35587 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35588 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35589 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35590 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35591 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35592 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35593 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35594 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35595 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35596 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35597 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35598 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35599 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35600 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35601 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35602 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35603 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35604 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
35605 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35606 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35607 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35608 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35609 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35610 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35611 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35612 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35613 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35614 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35615 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35616 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35617 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35618 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35619 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35620 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35621 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35622 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35623 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35624 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35625 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35626 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
35627 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35628 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35629 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35630 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35631 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
35632 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35633 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35634 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35635 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35636 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35637 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35638 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35639 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35640 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35641 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35642 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35643 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35644 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35645 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35646 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35647 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35648 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35649 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35650 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35651 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35652 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35653 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35654 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35655 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35656 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyControl_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35657 { (char *)"PyControl_base_OnInternalIdle", (PyCFunction
) _wrap_PyControl_base_OnInternalIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35658 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
35659 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35660 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35661 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35662 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35663 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35664 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35665 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35666 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
35667 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35668 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35669 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35670 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35671 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
35672 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35673 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
35674 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35675 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35676 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35677 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35678 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35679 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35680 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35681 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35682 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
35683 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35684 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
35685 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35686 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35687 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35688 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35689 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35690 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35691 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35692 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35693 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35694 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35695 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35696 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35697 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35698 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35699 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35700 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35701 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35702 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
35703 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35704 { (char *)"new_PreDatePickerCtrl", (PyCFunction
) _wrap_new_PreDatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35705 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35706 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35707 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
) _wrap_DatePickerCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35708 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35709 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
) _wrap_DatePickerCtrl_GetLowerLimit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35710 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
) _wrap_DatePickerCtrl_GetUpperLimit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35711 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
35712 { NULL
, NULL
, 0, NULL
}
35716 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
35718 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
35719 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
35721 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
35722 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
35724 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
35725 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
35727 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
35728 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
35730 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
35731 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
35733 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
35734 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
35736 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
35737 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
35739 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
35740 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
35742 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
35743 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
35745 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
35746 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
35748 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
35749 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
35751 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
35752 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
35754 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
35755 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
35757 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
35758 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
35760 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
35761 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
35763 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
35764 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
35766 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
35767 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
35769 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
35770 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
35772 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
35773 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
35775 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
35776 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
35778 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
35779 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
35781 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
35782 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
35784 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
35785 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
35787 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
35788 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
35790 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
35791 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
35793 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
35794 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
35796 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
35797 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
35799 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
35800 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
35802 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
35803 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
35805 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
35806 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
35808 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
35809 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
35811 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
35812 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
35814 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
35815 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
35817 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
35818 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
35820 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
35821 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
35823 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
35824 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
35826 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
35827 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
35829 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
35830 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
35832 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
35833 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
35835 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
35836 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
35838 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
35839 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
35841 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
35842 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
35844 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
35845 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
35847 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
35848 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
35850 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
35851 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
35853 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
35854 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
35856 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
35857 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
35859 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
35860 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
35862 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
35863 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
35865 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
35866 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
35868 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
35869 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
35871 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
35872 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
35874 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
35875 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
35877 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
35878 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
35880 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
35881 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
35883 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
35884 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
35886 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
35887 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
35889 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
35890 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
35892 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
35893 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
35895 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
35896 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
35898 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
35899 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
35901 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
35902 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
35904 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
35905 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
35907 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
35908 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
35910 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
35911 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
35913 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
35914 return (void *)((wxControl
*) ((wxPyControl
*) x
));
35916 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
35917 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
35919 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
35920 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
35922 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
35923 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
35925 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
35926 return (void *)((wxControl
*) ((wxComboBox
*) x
));
35928 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
35929 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
35931 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
35932 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
35934 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
35935 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
35937 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
35938 return (void *)((wxControl
*) ((wxGauge
*) x
));
35940 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
35941 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
35943 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
35944 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
35946 static void *_p_wxListbookTo_p_wxControl(void *x
) {
35947 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
35949 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
35950 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
35952 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
35953 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
35955 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
35956 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
35958 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
35959 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
35961 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
35962 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
35964 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
35965 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
35967 static void *_p_wxListViewTo_p_wxControl(void *x
) {
35968 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
35970 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
35971 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
35973 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
35974 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
35976 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
35977 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
35979 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
35980 return (void *)((wxControl
*) ((wxStaticText
*) x
));
35982 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
35983 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
35985 static void *_p_wxSliderTo_p_wxControl(void *x
) {
35986 return (void *)((wxControl
*) ((wxSlider
*) x
));
35988 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
35989 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
35991 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
35992 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
35994 static void *_p_wxButtonTo_p_wxControl(void *x
) {
35995 return (void *)((wxControl
*) ((wxButton
*) x
));
35997 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
35998 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
36000 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
36001 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
36003 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
36004 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
36006 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
36007 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
36009 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
36010 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36012 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
36013 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36015 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
36016 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36018 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
36019 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
36021 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
36022 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36024 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
36025 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36027 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
36028 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36030 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
36031 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36033 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
36034 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36036 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
36037 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
36039 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
36040 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
36042 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
36043 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
36045 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
36046 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
36048 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
36049 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
36051 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
36052 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
36054 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
36055 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36057 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
36058 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
36060 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
36061 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
36063 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
36064 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
36066 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
36067 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
36069 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
36070 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
36072 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
36073 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
36075 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
36076 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
36078 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
36079 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
36081 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
36082 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36084 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
36085 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
36087 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
36088 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
36090 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
36091 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
36093 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
36094 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
36096 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
36097 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
36099 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
36100 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
36102 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
36103 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
36105 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
36106 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36108 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
36109 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36111 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
36112 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
36114 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
36115 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
36117 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
36118 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
36120 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
36121 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36123 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
36124 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36126 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
36127 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36129 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
36130 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36132 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
36133 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
36135 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
36136 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36138 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
36139 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
36141 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
36142 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
36144 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
36145 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
36147 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
36148 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
36150 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
36151 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
36153 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
36154 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
36156 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
36157 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36159 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
36160 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36162 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
36163 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
36165 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
36166 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
36168 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
36169 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
36171 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
36172 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
36174 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
36175 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36177 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
36178 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36180 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
36181 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
36183 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
36184 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
36186 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
36187 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
36189 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
36190 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
36192 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
36193 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
36195 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
36196 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
36198 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
36199 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
36201 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
36202 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
36204 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
36205 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
36207 static void *_p_wxSizerTo_p_wxObject(void *x
) {
36208 return (void *)((wxObject
*) ((wxSizer
*) x
));
36210 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
36211 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
36213 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
36214 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
36216 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
36217 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
36219 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
36220 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36222 static void *_p_wxEventTo_p_wxObject(void *x
) {
36223 return (void *)((wxObject
*) ((wxEvent
*) x
));
36225 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
36226 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
36228 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
36229 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
36231 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
36232 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
36234 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
36235 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
36237 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
36238 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
36240 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
36241 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36243 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
36244 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
36246 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
36247 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
36249 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
36250 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
36252 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
36253 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
36255 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
36256 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
36258 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
36259 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
36261 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
36262 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
36264 static void *_p_wxControlTo_p_wxObject(void *x
) {
36265 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
36267 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
36268 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
36270 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
36271 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
36273 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
36274 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
36276 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
36277 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
36279 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
36280 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
36282 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
36283 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
36285 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
36286 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36288 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
36289 return (void *)((wxObject
*) ((wxFSFile
*) x
));
36291 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
36292 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
36294 static void *_p_wxListViewTo_p_wxObject(void *x
) {
36295 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36297 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
36298 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
36300 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
36301 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36303 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
36304 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
36306 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
36307 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36309 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
36310 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36312 static void *_p_wxListbookTo_p_wxObject(void *x
) {
36313 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36315 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
36316 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
36318 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
36319 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
36321 static void *_p_wxSliderTo_p_wxObject(void *x
) {
36322 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
36324 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
36325 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
36327 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
36328 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
36330 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
36331 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
36333 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
36334 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36336 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
36337 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
36339 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
36340 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
36342 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
36343 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
36345 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
36346 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
36348 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
36349 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
36351 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
36352 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
36354 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
36355 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
36357 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
36358 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
36360 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
36361 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
36363 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
36364 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
36366 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
36367 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
36369 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
36370 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
36372 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
36373 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
36375 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
36376 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
36378 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
36379 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
36381 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
36382 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
36384 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
36385 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
36387 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
36388 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
36390 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
36391 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
36393 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
36394 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
36396 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
36397 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
36399 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
36400 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
36402 static void *_p_wxListEventTo_p_wxObject(void *x
) {
36403 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
36405 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
36406 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36408 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
36409 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36411 static void *_p_wxButtonTo_p_wxObject(void *x
) {
36412 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
36414 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
36415 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36417 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
36418 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
36420 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
36421 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36423 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
36424 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
36426 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
36427 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
36429 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
36430 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
36432 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
36433 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
36435 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
36436 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
36438 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
36439 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
36441 static void *_p_wxListItemTo_p_wxObject(void *x
) {
36442 return (void *)((wxObject
*) ((wxListItem
*) x
));
36444 static void *_p_wxImageTo_p_wxObject(void *x
) {
36445 return (void *)((wxObject
*) ((wxImage
*) x
));
36447 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
36448 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
36450 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
36451 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
36453 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
36454 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36456 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
36457 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
36459 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
36460 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
36462 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
36463 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36465 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
36466 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36468 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
36469 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36471 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
36472 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36474 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
36475 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
36477 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
36478 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
36480 static void *_p_wxWindowTo_p_wxObject(void *x
) {
36481 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
36483 static void *_p_wxMenuTo_p_wxObject(void *x
) {
36484 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
36486 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
36487 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
36489 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
36490 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
36492 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
36493 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36495 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
36496 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
36498 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
36499 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
36501 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
36502 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
36504 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
36505 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
36507 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
36508 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
36510 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
36511 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36513 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
36514 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36516 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
36517 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36519 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
36520 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
36522 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
36523 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
36525 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
36526 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
36528 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
36529 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
36531 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
36532 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36534 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
36535 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
36537 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
36538 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
36540 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
36541 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
36543 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
36544 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36546 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
36547 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
36549 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
36550 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
36552 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
36553 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
36555 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
36556 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
36558 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
36559 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
36561 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
36562 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36564 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
36565 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
36567 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
36568 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
36570 static void *_p_wxControlTo_p_wxWindow(void *x
) {
36571 return (void *)((wxWindow
*) ((wxControl
*) x
));
36573 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
36574 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
36576 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
36577 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36579 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
36580 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
36582 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
36583 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
36585 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
36586 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
36588 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
36589 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
36591 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
36592 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
36594 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
36595 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
36597 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
36598 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
36600 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
36601 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
36603 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
36604 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36606 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
36607 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36609 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
36610 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
36612 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
36613 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
36615 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
36616 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
36618 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
36619 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36621 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
36622 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36624 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
36625 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36627 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
36628 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36630 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
36631 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36633 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
36634 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
36636 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
36637 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
36639 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
36640 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
36642 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
36643 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
36645 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
36646 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
36648 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
36649 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
36651 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
36652 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
36654 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
36655 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36657 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
36658 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36660 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
36661 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
36663 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
36664 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
36666 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36667 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36669 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36670 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36672 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36673 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36675 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
36676 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36678 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
36679 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
36681 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
36682 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
36684 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
36685 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36687 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
36688 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36690 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
36691 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36693 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
36694 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36696 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
36697 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36699 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
36700 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36702 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
36703 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
36705 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
36706 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36708 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
36709 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
36711 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
36712 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36714 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
36715 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36717 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
36718 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36720 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
36721 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
36723 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
36724 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36726 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
36727 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36729 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
36730 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36732 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
36733 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
36735 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
36736 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
36738 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
36739 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
36741 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
36742 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
36744 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}};
36745 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}};
36746 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}};
36747 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}};
36748 static swig_type_info _swigt__p_wxEvent
[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36749 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}};
36750 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}};
36751 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}};
36752 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}};
36753 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}};
36754 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}};
36755 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}};
36756 static swig_type_info _swigt__p_wxControl
[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36757 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}};
36758 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}};
36759 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}};
36760 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}};
36761 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}};
36762 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}};
36763 static swig_type_info _swigt__p_wxChoice
[] = {{"_p_wxChoice", 0, "wxChoice *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice
, 0, 0, 0, 0, 0},{"_p_wxChoice", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36764 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}};
36765 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}};
36766 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}};
36767 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}};
36768 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}};
36769 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}};
36770 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}};
36771 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}};
36772 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}};
36773 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}};
36774 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}};
36775 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}};
36776 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}};
36777 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}};
36778 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}};
36779 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}};
36780 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}};
36781 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}};
36782 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}};
36783 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}};
36784 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}};
36785 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}};
36786 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}};
36787 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}};
36788 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}};
36789 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}};
36790 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36791 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}};
36792 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}};
36793 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}};
36794 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}};
36795 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}};
36796 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}};
36797 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}};
36798 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}};
36799 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}};
36800 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}};
36801 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}};
36802 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}};
36803 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}};
36804 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}};
36805 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}};
36806 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}};
36807 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}};
36808 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}};
36809 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}};
36810 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}};
36811 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}};
36812 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}};
36813 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}};
36814 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}};
36815 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}};
36816 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}};
36817 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}};
36818 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}};
36819 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextHelp", _p_wxContextHelpTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListItem", _p_wxListItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGenericDragImage", _p_wxGenericDragImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToolBarToolBase", _p_wxToolBarToolBaseTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36820 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}};
36821 static swig_type_info _swigt__p_wxDateTime
[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0, 0, 0, 0},{"_p_wxDateTime", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36822 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}};
36823 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}};
36824 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36825 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}};
36826 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}};
36827 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}};
36828 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}};
36829 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}};
36830 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}};
36831 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}};
36832 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}};
36833 static swig_type_info _swigt__p_wxCommandEvent
[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36834 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}};
36835 static swig_type_info _swigt__p_wxDatePickerCtrl
[] = {{"_p_wxDatePickerCtrl", 0, "wxDatePickerCtrl *", 0, 0, 0, 0},{"_p_wxDatePickerCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36836 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", 0, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36837 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}};
36838 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}};
36839 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}};
36840 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}};
36841 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}};
36843 static swig_type_info
*swig_types_initial
[] = {
36844 _swigt__p_wxTextUrlEvent
,
36846 _swigt__p_wxCheckBox
,
36847 _swigt__p_wxPyTreeCtrl
,
36849 _swigt__p_wxGenericDirCtrl
,
36851 _swigt__p_wxItemContainer
,
36852 _swigt__p_wxPyListCtrl
,
36853 _swigt__p_wxPyTreeItemData
,
36854 _swigt__p_wxDirFilterListCtrl
,
36855 _swigt__p_wxStaticLine
,
36856 _swigt__p_wxControl
,
36857 _swigt__p_wxPyControl
,
36859 _swigt__p_wxToolBarBase
,
36861 _swigt__p_wxToggleButton
,
36862 _swigt__p_wxRadioButton
,
36863 _swigt__p_wxChoice
,
36864 _swigt__p_wxMemoryDC
,
36866 _swigt__std__ptrdiff_t
,
36867 _swigt__p_wxListItemAttr
,
36872 _swigt__p_wxListView
,
36874 _swigt__p_wxVisualAttributes
,
36875 _swigt__p_wxTextCtrl
,
36876 _swigt__p_wxNotebook
,
36877 _swigt__p_wxChoicebook
,
36878 _swigt__p_wxNotifyEvent
,
36879 _swigt__p_wxArrayString
,
36880 _swigt__p_form_ops_t
,
36881 _swigt__p_wxListbook
,
36882 _swigt__p_wxStaticBitmap
,
36883 _swigt__p_wxSlider
,
36884 _swigt__p_wxStaticBox
,
36885 _swigt__p_wxArrayInt
,
36886 _swigt__p_wxContextHelp
,
36888 _swigt__p_wxDuplexMode
,
36889 _swigt__p_wxBookCtrlBase
,
36890 _swigt__p_wxEvtHandler
,
36891 _swigt__p_wxListEvent
,
36892 _swigt__p_wxCheckListBox
,
36893 _swigt__p_wxListBox
,
36894 _swigt__p_wxSpinButton
,
36895 _swigt__p_wxButton
,
36896 _swigt__p_wxBitmapButton
,
36898 _swigt__p_wxContextHelpButton
,
36899 _swigt__p_wxRadioBox
,
36900 _swigt__p_wxScrollBar
,
36902 _swigt__p_wxComboBox
,
36903 _swigt__p_wxTreeItemId
,
36904 _swigt__p_wxHelpEvent
,
36905 _swigt__p_wxListItem
,
36906 _swigt__p_wxNotebookSizer
,
36907 _swigt__p_wxSpinEvent
,
36908 _swigt__p_wxGenericDragImage
,
36909 _swigt__p_wxSpinCtrl
,
36910 _swigt__p_wxPaperSize
,
36911 _swigt__p_wxImageList
,
36912 _swigt__p_wxHelpProvider
,
36913 _swigt__p_wxTextAttr
,
36914 _swigt__p_wxSimpleHelpProvider
,
36915 _swigt__p_wxChoicebookEvent
,
36916 _swigt__p_wxListbookEvent
,
36917 _swigt__p_wxNotebookEvent
,
36919 _swigt__p_wxObject
,
36920 _swigt__p_wxCursor
,
36921 _swigt__p_wxDateTime
,
36922 _swigt__p_wxKeyEvent
,
36923 _swigt__p_unsigned_long
,
36924 _swigt__p_wxWindow
,
36925 _swigt__p_wxString
,
36926 _swigt__p_wxBitmap
,
36927 _swigt__unsigned_int
,
36928 _swigt__p_unsigned_int
,
36929 _swigt__p_unsigned_char
,
36930 _swigt__p_wxMouseEvent
,
36931 _swigt__p_wxBookCtrlBaseEvent
,
36932 _swigt__p_wxTreeEvent
,
36933 _swigt__p_wxCommandEvent
,
36934 _swigt__p_wxStaticText
,
36935 _swigt__p_wxDatePickerCtrl
,
36936 _swigt__p_wxControlWithItems
,
36937 _swigt__p_wxToolBarToolBase
,
36938 _swigt__p_wxColour
,
36939 _swigt__p_wxToolBar
,
36940 _swigt__p_wxBookCtrlSizer
,
36941 _swigt__p_wxValidator
,
36946 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
36948 static swig_const_info swig_const_table
[] = {
36949 {0, 0, 0, 0.0, 0, 0}};
36960 /* Python-specific SWIG API */
36961 #define SWIG_newvarlink() SWIG_Python_newvarlink()
36962 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
36963 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
36965 /* -----------------------------------------------------------------------------
36966 * global variable support code.
36967 * ----------------------------------------------------------------------------- */
36969 typedef struct swig_globalvar
{
36970 char *name
; /* Name of global variable */
36971 PyObject
*(*get_attr
)(); /* Return the current value */
36972 int (*set_attr
)(PyObject
*); /* Set the value */
36973 struct swig_globalvar
*next
;
36976 typedef struct swig_varlinkobject
{
36978 swig_globalvar
*vars
;
36979 } swig_varlinkobject
;
36982 swig_varlink_repr(swig_varlinkobject
*v
) {
36984 return PyString_FromString("<Swig global variables>");
36988 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
36989 swig_globalvar
*var
;
36991 fprintf(fp
,"Swig global variables { ");
36992 for (var
= v
->vars
; var
; var
=var
->next
) {
36993 fprintf(fp
,"%s", var
->name
);
36994 if (var
->next
) fprintf(fp
,", ");
36996 fprintf(fp
," }\n");
37001 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
37002 swig_globalvar
*var
= v
->vars
;
37004 if (strcmp(var
->name
,n
) == 0) {
37005 return (*var
->get_attr
)();
37009 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
37014 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
37015 swig_globalvar
*var
= v
->vars
;
37017 if (strcmp(var
->name
,n
) == 0) {
37018 return (*var
->set_attr
)(p
);
37022 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
37026 static PyTypeObject varlinktype
= {
37027 PyObject_HEAD_INIT(0)
37028 0, /* Number of items in variable part (ob_size) */
37029 (char *)"swigvarlink", /* Type name (tp_name) */
37030 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
37031 0, /* Itemsize (tp_itemsize) */
37032 0, /* Deallocator (tp_dealloc) */
37033 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
37034 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
37035 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
37036 0, /* tp_compare */
37037 (reprfunc
) swig_varlink_repr
, /* tp_repr */
37038 0, /* tp_as_number */
37039 0, /* tp_as_sequence */
37040 0, /* tp_as_mapping */
37044 0, /* tp_getattro */
37045 0, /* tp_setattro */
37046 0, /* tp_as_buffer */
37049 #if PY_VERSION_HEX >= 0x02000000
37050 0, /* tp_traverse */
37053 #if PY_VERSION_HEX >= 0x02010000
37054 0, /* tp_richcompare */
37055 0, /* tp_weaklistoffset */
37057 #if PY_VERSION_HEX >= 0x02020000
37058 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
37060 #if PY_VERSION_HEX >= 0x02030000
37063 #ifdef COUNT_ALLOCS
37064 0,0,0,0 /* tp_alloc -> tp_next */
37068 /* Create a variable linking object for use later */
37070 SWIG_Python_newvarlink(void) {
37071 swig_varlinkobject
*result
= 0;
37072 result
= PyMem_NEW(swig_varlinkobject
,1);
37073 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
37074 result
->ob_type
= &varlinktype
;
37076 result
->ob_refcnt
= 0;
37077 Py_XINCREF((PyObject
*) result
);
37078 return ((PyObject
*) result
);
37082 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
37083 swig_varlinkobject
*v
;
37084 swig_globalvar
*gv
;
37085 v
= (swig_varlinkobject
*) p
;
37086 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
37087 gv
->name
= (char *) malloc(strlen(name
)+1);
37088 strcpy(gv
->name
,name
);
37089 gv
->get_attr
= get_attr
;
37090 gv
->set_attr
= set_attr
;
37091 gv
->next
= v
->vars
;
37095 /* -----------------------------------------------------------------------------
37096 * constants/methods manipulation
37097 * ----------------------------------------------------------------------------- */
37099 /* Install Constants */
37101 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
37104 for (i
= 0; constants
[i
].type
; i
++) {
37105 switch(constants
[i
].type
) {
37107 obj
= PyInt_FromLong(constants
[i
].lvalue
);
37109 case SWIG_PY_FLOAT
:
37110 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
37112 case SWIG_PY_STRING
:
37113 if (constants
[i
].pvalue
) {
37114 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
37116 Py_INCREF(Py_None
);
37120 case SWIG_PY_POINTER
:
37121 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
37123 case SWIG_PY_BINARY
:
37124 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
37131 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
37137 /* -----------------------------------------------------------------------------*/
37138 /* Fix SwigMethods to carry the callback ptrs when needed */
37139 /* -----------------------------------------------------------------------------*/
37142 SWIG_Python_FixMethods(PyMethodDef
*methods
,
37143 swig_const_info
*const_table
,
37144 swig_type_info
**types
,
37145 swig_type_info
**types_initial
) {
37147 for (i
= 0; methods
[i
].ml_name
; ++i
) {
37148 char *c
= methods
[i
].ml_doc
;
37149 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
37151 swig_const_info
*ci
= 0;
37152 char *name
= c
+ 10;
37153 for (j
= 0; const_table
[j
].type
; j
++) {
37154 if (strncmp(const_table
[j
].name
, name
,
37155 strlen(const_table
[j
].name
)) == 0) {
37156 ci
= &(const_table
[j
]);
37161 size_t shift
= (ci
->ptype
) - types
;
37162 swig_type_info
*ty
= types_initial
[shift
];
37163 size_t ldoc
= (c
- methods
[i
].ml_doc
);
37164 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
37165 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
37167 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
37168 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
37170 strncpy(buff
, "swig_ptr: ", 10);
37172 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
37173 methods
[i
].ml_doc
= ndoc
;
37179 /* -----------------------------------------------------------------------------*
37180 * Initialize type list
37181 * -----------------------------------------------------------------------------*/
37183 #if PY_MAJOR_VERSION < 2
37184 /* PyModule_AddObject function was introduced in Python 2.0. The following function
37185 is copied out of Python/modsupport.c in python version 2.3.4 */
37187 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
37190 if (!PyModule_Check(m
)) {
37191 PyErr_SetString(PyExc_TypeError
,
37192 "PyModule_AddObject() needs module as first arg");
37196 PyErr_SetString(PyExc_TypeError
,
37197 "PyModule_AddObject() needs non-NULL value");
37201 dict
= PyModule_GetDict(m
);
37202 if (dict
== NULL
) {
37203 /* Internal error -- modules must have a dict! */
37204 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
37205 PyModule_GetName(m
));
37208 if (PyDict_SetItemString(dict
, name
, o
))
37215 static swig_type_info
**
37216 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
37217 static PyMethodDef swig_empty_runtime_method_table
[] = {
37219 NULL
, NULL
, 0, NULL
37223 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
37224 swig_empty_runtime_method_table
);
37225 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
37226 if (pointer
&& module) {
37227 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
37229 return type_list_handle
;
37232 static swig_type_info
**
37233 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
37234 swig_type_info
**type_pointer
;
37236 /* first check if module already created */
37237 type_pointer
= SWIG_Python_GetTypeListHandle();
37238 if (type_pointer
) {
37239 return type_pointer
;
37241 /* create a new module and variable */
37242 return SWIG_Python_SetTypeListHandle(type_list_handle
);
37250 /* -----------------------------------------------------------------------------*
37251 * Partial Init method
37252 * -----------------------------------------------------------------------------*/
37254 #ifdef SWIG_LINK_RUNTIME
37258 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
37264 SWIGEXPORT(void) SWIG_init(void) {
37265 static PyObject
*SWIG_globals
= 0;
37266 static int typeinit
= 0;
37269 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
37271 /* Fix SwigMethods to carry the callback ptrs when needed */
37272 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
37274 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
37275 d
= PyModule_GetDict(m
);
37278 #ifdef SWIG_LINK_RUNTIME
37279 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
37281 # ifndef SWIG_STATIC_RUNTIME
37282 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
37285 for (i
= 0; swig_types_initial
[i
]; i
++) {
37286 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
37290 SWIG_InstallConstants(d
,swig_const_table
);
37292 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
37293 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
37295 PyDict_SetItemString(d
,"BU_LEFT", SWIG_From_int((int)(wxBU_LEFT
)));
37298 PyDict_SetItemString(d
,"BU_TOP", SWIG_From_int((int)(wxBU_TOP
)));
37301 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_From_int((int)(wxBU_RIGHT
)));
37304 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_From_int((int)(wxBU_BOTTOM
)));
37307 PyDict_SetItemString(d
,"BU_ALIGN_MASK", SWIG_From_int((int)(wxBU_ALIGN_MASK
)));
37310 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_From_int((int)(wxBU_EXACTFIT
)));
37313 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_From_int((int)(wxBU_AUTODRAW
)));
37315 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
37317 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_From_int((int)(wxCHK_2STATE
)));
37320 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_From_int((int)(wxCHK_3STATE
)));
37323 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int((int)(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
37326 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_From_int((int)(wxCHK_UNCHECKED
)));
37329 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_From_int((int)(wxCHK_CHECKED
)));
37332 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_From_int((int)(wxCHK_UNDETERMINED
)));
37334 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
37335 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
37336 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
37338 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_From_int((int)(wxGA_HORIZONTAL
)));
37341 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_From_int((int)(wxGA_VERTICAL
)));
37344 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_From_int((int)(wxGA_SMOOTH
)));
37347 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_From_int((int)(wxGA_PROGRESSBAR
)));
37349 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
37350 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
37351 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
37352 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
37353 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
37355 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_From_int((int)(wxTE_NO_VSCROLL
)));
37358 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_From_int((int)(wxTE_AUTO_SCROLL
)));
37361 PyDict_SetItemString(d
,"TE_READONLY", SWIG_From_int((int)(wxTE_READONLY
)));
37364 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_From_int((int)(wxTE_MULTILINE
)));
37367 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_From_int((int)(wxTE_PROCESS_TAB
)));
37370 PyDict_SetItemString(d
,"TE_LEFT", SWIG_From_int((int)(wxTE_LEFT
)));
37373 PyDict_SetItemString(d
,"TE_CENTER", SWIG_From_int((int)(wxTE_CENTER
)));
37376 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_From_int((int)(wxTE_RIGHT
)));
37379 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_From_int((int)(wxTE_CENTRE
)));
37382 PyDict_SetItemString(d
,"TE_RICH", SWIG_From_int((int)(wxTE_RICH
)));
37385 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_From_int((int)(wxTE_PROCESS_ENTER
)));
37388 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_From_int((int)(wxTE_PASSWORD
)));
37391 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_From_int((int)(wxTE_AUTO_URL
)));
37394 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_From_int((int)(wxTE_NOHIDESEL
)));
37397 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_From_int((int)(wxTE_DONTWRAP
)));
37400 PyDict_SetItemString(d
,"TE_CHARWRAP", SWIG_From_int((int)(wxTE_CHARWRAP
)));
37403 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_From_int((int)(wxTE_WORDWRAP
)));
37406 PyDict_SetItemString(d
,"TE_BESTWRAP", SWIG_From_int((int)(wxTE_BESTWRAP
)));
37409 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_From_int((int)(wxTE_LINEWRAP
)));
37412 PyDict_SetItemString(d
,"TE_RICH2", SWIG_From_int((int)(wxTE_RICH2
)));
37415 PyDict_SetItemString(d
,"TE_CAPITALIZE", SWIG_From_int((int)(wxTE_CAPITALIZE
)));
37418 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_DEFAULT
)));
37421 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_LEFT
)));
37424 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTRE
)));
37427 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTER
)));
37430 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_RIGHT
)));
37433 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)(wxTEXT_ALIGNMENT_JUSTIFIED
)));
37436 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_TEXT_COLOUR
)));
37439 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
37442 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_FACE
)));
37445 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_SIZE
)));
37448 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)(wxTEXT_ATTR_FONT_WEIGHT
)));
37451 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)(wxTEXT_ATTR_FONT_ITALIC
)));
37454 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_UNDERLINE
)));
37457 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_From_int((int)(wxTEXT_ATTR_FONT
)));
37460 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)(wxTEXT_ATTR_ALIGNMENT
)));
37463 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_LEFT_INDENT
)));
37466 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_RIGHT_INDENT
)));
37469 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_From_int((int)(wxTEXT_ATTR_TABS
)));
37472 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_From_int((int)(wxTE_HT_UNKNOWN
)));
37475 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_From_int((int)(wxTE_HT_BEFORE
)));
37478 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_From_int((int)(wxTE_HT_ON_TEXT
)));
37481 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_From_int((int)(wxTE_HT_BELOW
)));
37484 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_From_int((int)(wxTE_HT_BEYOND
)));
37487 PyDict_SetItemString(d
,"OutOfRangeTextCoord", SWIG_From_int((int)(wxOutOfRangeTextCoord
)));
37490 PyDict_SetItemString(d
,"InvalidTextCoord", SWIG_From_int((int)(wxInvalidTextCoord
)));
37492 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
37493 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
37494 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
37495 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
37496 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
37497 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
37498 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
37500 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_From_int((int)(wxSP_HORIZONTAL
)));
37503 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_From_int((int)(wxSP_VERTICAL
)));
37506 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_From_int((int)(wxSP_ARROW_KEYS
)));
37509 PyDict_SetItemString(d
,"SP_WRAP", SWIG_From_int((int)(wxSP_WRAP
)));
37511 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
37512 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
37513 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
37514 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
37516 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_From_int((int)(wxSL_HORIZONTAL
)));
37519 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_From_int((int)(wxSL_VERTICAL
)));
37522 PyDict_SetItemString(d
,"SL_TICKS", SWIG_From_int((int)(wxSL_TICKS
)));
37525 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_From_int((int)(wxSL_AUTOTICKS
)));
37528 PyDict_SetItemString(d
,"SL_LABELS", SWIG_From_int((int)(wxSL_LABELS
)));
37531 PyDict_SetItemString(d
,"SL_LEFT", SWIG_From_int((int)(wxSL_LEFT
)));
37534 PyDict_SetItemString(d
,"SL_TOP", SWIG_From_int((int)(wxSL_TOP
)));
37537 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_From_int((int)(wxSL_RIGHT
)));
37540 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_From_int((int)(wxSL_BOTTOM
)));
37543 PyDict_SetItemString(d
,"SL_BOTH", SWIG_From_int((int)(wxSL_BOTH
)));
37546 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_From_int((int)(wxSL_SELRANGE
)));
37549 PyDict_SetItemString(d
,"SL_INVERSE", SWIG_From_int((int)(wxSL_INVERSE
)));
37551 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
37552 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
37553 SWIG_addvarlink(SWIG_globals
,(char*)"NotebookNameStr",_wrap_NotebookNameStr_get
, _wrap_NotebookNameStr_set
);
37555 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_From_int((int)(wxNB_FIXEDWIDTH
)));
37558 PyDict_SetItemString(d
,"NB_TOP", SWIG_From_int((int)(wxNB_TOP
)));
37561 PyDict_SetItemString(d
,"NB_LEFT", SWIG_From_int((int)(wxNB_LEFT
)));
37564 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_From_int((int)(wxNB_RIGHT
)));
37567 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_From_int((int)(wxNB_BOTTOM
)));
37570 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_From_int((int)(wxNB_MULTILINE
)));
37573 PyDict_SetItemString(d
,"NB_NOPAGETHEME", SWIG_From_int((int)(wxNB_NOPAGETHEME
)));
37576 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_From_int((int)(wxNB_HITTEST_NOWHERE
)));
37579 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_From_int((int)(wxNB_HITTEST_ONICON
)));
37582 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_From_int((int)(wxNB_HITTEST_ONLABEL
)));
37585 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_From_int((int)(wxNB_HITTEST_ONITEM
)));
37587 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
37588 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
37590 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_From_int((int)(wxLB_DEFAULT
)));
37593 PyDict_SetItemString(d
,"LB_TOP", SWIG_From_int((int)(wxLB_TOP
)));
37596 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_From_int((int)(wxLB_BOTTOM
)));
37599 PyDict_SetItemString(d
,"LB_LEFT", SWIG_From_int((int)(wxLB_LEFT
)));
37602 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_From_int((int)(wxLB_RIGHT
)));
37605 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_From_int((int)(wxLB_ALIGN_MASK
)));
37607 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
37608 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
37610 PyDict_SetItemString(d
,"CHB_DEFAULT", SWIG_From_int((int)(wxCHB_DEFAULT
)));
37613 PyDict_SetItemString(d
,"CHB_TOP", SWIG_From_int((int)(wxCHB_TOP
)));
37616 PyDict_SetItemString(d
,"CHB_BOTTOM", SWIG_From_int((int)(wxCHB_BOTTOM
)));
37619 PyDict_SetItemString(d
,"CHB_LEFT", SWIG_From_int((int)(wxCHB_LEFT
)));
37622 PyDict_SetItemString(d
,"CHB_RIGHT", SWIG_From_int((int)(wxCHB_RIGHT
)));
37625 PyDict_SetItemString(d
,"CHB_ALIGN_MASK", SWIG_From_int((int)(wxCHB_ALIGN_MASK
)));
37627 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
37628 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
37630 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_From_int((int)(wxTOOL_STYLE_BUTTON
)));
37633 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_From_int((int)(wxTOOL_STYLE_SEPARATOR
)));
37636 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_From_int((int)(wxTOOL_STYLE_CONTROL
)));
37639 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_From_int((int)(wxTB_HORIZONTAL
)));
37642 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_From_int((int)(wxTB_VERTICAL
)));
37645 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_From_int((int)(wxTB_3DBUTTONS
)));
37648 PyDict_SetItemString(d
,"TB_FLAT", SWIG_From_int((int)(wxTB_FLAT
)));
37651 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_From_int((int)(wxTB_DOCKABLE
)));
37654 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_From_int((int)(wxTB_NOICONS
)));
37657 PyDict_SetItemString(d
,"TB_TEXT", SWIG_From_int((int)(wxTB_TEXT
)));
37660 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_From_int((int)(wxTB_NODIVIDER
)));
37663 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_From_int((int)(wxTB_NOALIGN
)));
37666 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_From_int((int)(wxTB_HORZ_LAYOUT
)));
37669 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_From_int((int)(wxTB_HORZ_TEXT
)));
37671 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
37673 PyDict_SetItemString(d
,"LC_VRULES", SWIG_From_int((int)(wxLC_VRULES
)));
37676 PyDict_SetItemString(d
,"LC_HRULES", SWIG_From_int((int)(wxLC_HRULES
)));
37679 PyDict_SetItemString(d
,"LC_ICON", SWIG_From_int((int)(wxLC_ICON
)));
37682 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_From_int((int)(wxLC_SMALL_ICON
)));
37685 PyDict_SetItemString(d
,"LC_LIST", SWIG_From_int((int)(wxLC_LIST
)));
37688 PyDict_SetItemString(d
,"LC_REPORT", SWIG_From_int((int)(wxLC_REPORT
)));
37691 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_From_int((int)(wxLC_ALIGN_TOP
)));
37694 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_From_int((int)(wxLC_ALIGN_LEFT
)));
37697 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_From_int((int)(wxLC_AUTOARRANGE
)));
37700 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_From_int((int)(wxLC_VIRTUAL
)));
37703 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_From_int((int)(wxLC_EDIT_LABELS
)));
37706 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_From_int((int)(wxLC_NO_HEADER
)));
37709 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_From_int((int)(wxLC_NO_SORT_HEADER
)));
37712 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_From_int((int)(wxLC_SINGLE_SEL
)));
37715 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_From_int((int)(wxLC_SORT_ASCENDING
)));
37718 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_From_int((int)(wxLC_SORT_DESCENDING
)));
37721 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_From_int((int)(wxLC_MASK_TYPE
)));
37724 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_From_int((int)(wxLC_MASK_ALIGN
)));
37727 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_From_int((int)(wxLC_MASK_SORT
)));
37730 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_From_int((int)(wxLIST_MASK_STATE
)));
37733 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_From_int((int)(wxLIST_MASK_TEXT
)));
37736 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_From_int((int)(wxLIST_MASK_IMAGE
)));
37739 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_From_int((int)(wxLIST_MASK_DATA
)));
37742 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_From_int((int)(wxLIST_SET_ITEM
)));
37745 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_From_int((int)(wxLIST_MASK_WIDTH
)));
37748 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_From_int((int)(wxLIST_MASK_FORMAT
)));
37751 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_From_int((int)(wxLIST_STATE_DONTCARE
)));
37754 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_From_int((int)(wxLIST_STATE_DROPHILITED
)));
37757 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_From_int((int)(wxLIST_STATE_FOCUSED
)));
37760 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_From_int((int)(wxLIST_STATE_SELECTED
)));
37763 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_From_int((int)(wxLIST_STATE_CUT
)));
37766 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_From_int((int)(wxLIST_STATE_DISABLED
)));
37769 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_From_int((int)(wxLIST_STATE_FILTERED
)));
37772 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_From_int((int)(wxLIST_STATE_INUSE
)));
37775 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_From_int((int)(wxLIST_STATE_PICKED
)));
37778 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_From_int((int)(wxLIST_STATE_SOURCE
)));
37781 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_From_int((int)(wxLIST_HITTEST_ABOVE
)));
37784 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_From_int((int)(wxLIST_HITTEST_BELOW
)));
37787 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_From_int((int)(wxLIST_HITTEST_NOWHERE
)));
37790 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMICON
)));
37793 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMLABEL
)));
37796 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMRIGHT
)));
37799 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMSTATEICON
)));
37802 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_From_int((int)(wxLIST_HITTEST_TOLEFT
)));
37805 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_From_int((int)(wxLIST_HITTEST_TORIGHT
)));
37808 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_From_int((int)(wxLIST_HITTEST_ONITEM
)));
37811 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_From_int((int)(wxLIST_NEXT_ABOVE
)));
37814 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_From_int((int)(wxLIST_NEXT_ALL
)));
37817 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_From_int((int)(wxLIST_NEXT_BELOW
)));
37820 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_From_int((int)(wxLIST_NEXT_LEFT
)));
37823 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_From_int((int)(wxLIST_NEXT_RIGHT
)));
37826 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_From_int((int)(wxLIST_ALIGN_DEFAULT
)));
37829 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_From_int((int)(wxLIST_ALIGN_LEFT
)));
37832 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_From_int((int)(wxLIST_ALIGN_TOP
)));
37835 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int((int)(wxLIST_ALIGN_SNAP_TO_GRID
)));
37838 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_From_int((int)(wxLIST_FORMAT_LEFT
)));
37841 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_From_int((int)(wxLIST_FORMAT_RIGHT
)));
37844 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_From_int((int)(wxLIST_FORMAT_CENTRE
)));
37847 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_From_int((int)(wxLIST_FORMAT_CENTER
)));
37850 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_From_int((int)(wxLIST_AUTOSIZE
)));
37853 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int((int)(wxLIST_AUTOSIZE_USEHEADER
)));
37856 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_From_int((int)(wxLIST_RECT_BOUNDS
)));
37859 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_From_int((int)(wxLIST_RECT_ICON
)));
37862 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_From_int((int)(wxLIST_RECT_LABEL
)));
37865 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_From_int((int)(wxLIST_FIND_UP
)));
37868 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_From_int((int)(wxLIST_FIND_DOWN
)));
37871 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_From_int((int)(wxLIST_FIND_LEFT
)));
37874 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_From_int((int)(wxLIST_FIND_RIGHT
)));
37876 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
37877 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
37878 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
37879 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
37880 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
37881 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
37882 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
37883 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
37884 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
37885 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
37886 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
37887 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
37888 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
37889 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
37890 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
37891 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
37892 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
37893 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
37894 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
37895 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
37896 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
37897 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
37899 // Map renamed classes back to their common name for OOR
37900 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
37902 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
37904 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_From_int((int)(wxTR_NO_BUTTONS
)));
37907 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_From_int((int)(wxTR_HAS_BUTTONS
)));
37910 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_From_int((int)(wxTR_NO_LINES
)));
37913 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_From_int((int)(wxTR_LINES_AT_ROOT
)));
37916 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_From_int((int)(wxTR_SINGLE
)));
37919 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_From_int((int)(wxTR_MULTIPLE
)));
37922 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_From_int((int)(wxTR_EXTENDED
)));
37925 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int((int)(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
37928 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_From_int((int)(wxTR_EDIT_LABELS
)));
37931 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_From_int((int)(wxTR_HIDE_ROOT
)));
37934 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_From_int((int)(wxTR_ROW_LINES
)));
37937 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int((int)(wxTR_FULL_ROW_HIGHLIGHT
)));
37940 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_From_int((int)(wxTR_DEFAULT_STYLE
)));
37943 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_From_int((int)(wxTR_TWIST_BUTTONS
)));
37946 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_From_int((int)(wxTR_MAC_BUTTONS
)));
37949 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_From_int((int)(wxTR_AQUA_BUTTONS
)));
37952 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_From_int((int)(wxTreeItemIcon_Normal
)));
37955 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_From_int((int)(wxTreeItemIcon_Selected
)));
37958 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_From_int((int)(wxTreeItemIcon_Expanded
)));
37961 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)(wxTreeItemIcon_SelectedExpanded
)));
37964 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_From_int((int)(wxTreeItemIcon_Max
)));
37967 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_From_int((int)(wxTREE_HITTEST_ABOVE
)));
37970 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_From_int((int)(wxTREE_HITTEST_BELOW
)));
37973 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_From_int((int)(wxTREE_HITTEST_NOWHERE
)));
37976 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMBUTTON
)));
37979 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMICON
)));
37982 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMINDENT
)));
37985 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLABEL
)));
37988 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMRIGHT
)));
37991 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMSTATEICON
)));
37994 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_From_int((int)(wxTREE_HITTEST_TOLEFT
)));
37997 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_From_int((int)(wxTREE_HITTEST_TORIGHT
)));
38000 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMUPPERPART
)));
38003 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLOWERPART
)));
38006 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_From_int((int)(wxTREE_HITTEST_ONITEM
)));
38008 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
38009 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
38010 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
38011 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
38012 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
38013 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
38014 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
38015 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
38016 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
38017 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
38018 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
38019 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
38020 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
38021 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
38022 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
38023 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
38024 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
38025 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
38026 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
38027 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
38028 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
38030 // Map renamed classes back to their common name for OOR
38031 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
38032 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
38034 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
38036 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_From_int((int)(wxDIRCTRL_DIR_ONLY
)));
38039 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_From_int((int)(wxDIRCTRL_SELECT_FIRST
)));
38042 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_From_int((int)(wxDIRCTRL_SHOW_FILTERS
)));
38045 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_From_int((int)(wxDIRCTRL_3D_INTERNAL
)));
38048 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_From_int((int)(wxDIRCTRL_EDIT_LABELS
)));
38051 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_From_int((int)(wxFRAME_EX_CONTEXTHELP
)));
38054 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_From_int((int)(wxDIALOG_EX_CONTEXTHELP
)));
38056 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
38057 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
38059 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
38061 SWIG_addvarlink(SWIG_globals
,(char*)"DatePickerCtrlNameStr",_wrap_DatePickerCtrlNameStr_get
, _wrap_DatePickerCtrlNameStr_set
);
38063 PyDict_SetItemString(d
,"DP_DEFAULT", SWIG_From_int((int)(wxDP_DEFAULT
)));
38066 PyDict_SetItemString(d
,"DP_SPIN", SWIG_From_int((int)(wxDP_SPIN
)));
38069 PyDict_SetItemString(d
,"DP_DROPDOWN", SWIG_From_int((int)(wxDP_DROPDOWN
)));
38072 PyDict_SetItemString(d
,"DP_SHOWCENTURY", SWIG_From_int((int)(wxDP_SHOWCENTURY
)));
38075 PyDict_SetItemString(d
,"DP_ALLOWNONE", SWIG_From_int((int)(wxDP_ALLOWNONE
)));