1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1044 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1046 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1050 SWIGRUNTIMEINLINE
void
1051 SWIG_Python_NullRef(const char *type
)
1054 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1056 PyErr_Format(PyExc_TypeError
, "null reference was received");
1061 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1063 if (PyErr_Occurred()) {
1065 PyObject
*value
= 0;
1066 PyObject
*traceback
= 0;
1067 PyErr_Fetch(&type
, &value
, &traceback
);
1069 PyObject
*old_str
= PyObject_Str(value
);
1073 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1075 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1086 SWIG_Python_ArgFail(int argnum
)
1088 if (PyErr_Occurred()) {
1089 /* add information about failing argument */
1091 sprintf(mesg
, "argument number %d:", argnum
);
1092 return SWIG_Python_AddErrMesg(mesg
, 1);
1099 /* -----------------------------------------------------------------------------
1100 * pointers/data manipulation
1101 * ----------------------------------------------------------------------------- */
1103 /* Convert a pointer value */
1105 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1108 static PyObject
*SWIG_this
= 0;
1110 PyObject
*pyobj
= 0;
1114 if (obj
== Py_None
) {
1119 #ifdef SWIG_COBJECT_TYPES
1120 if (!(PySwigObject_Check(obj
))) {
1122 SWIG_this
= PyString_FromString("this");
1124 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1126 if (!obj
) goto type_error
;
1127 if (!PySwigObject_Check(obj
)) {
1132 vptr
= PySwigObject_AsVoidPtr(obj
);
1133 c
= (const char *) PySwigObject_GetDesc(obj
);
1134 if (newref
) { Py_DECREF(obj
); }
1137 if (!(PyString_Check(obj
))) {
1139 SWIG_this
= PyString_FromString("this");
1141 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1143 if (!obj
) goto type_error
;
1144 if (!PyString_Check(obj
)) {
1149 c
= PyString_AS_STRING(obj
);
1150 /* Pointer values must start with leading underscore */
1151 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1152 if (newref
) { Py_DECREF(obj
); }
1153 if (!c
) goto type_error
;
1159 tc
= SWIG_TypeCheck(c
,ty
);
1160 if (!tc
) goto type_error
;
1161 *ptr
= SWIG_TypeCast(tc
,vptr
);
1166 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1167 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1173 if (pyobj
&& !obj
) {
1175 if (PyCFunction_Check(obj
)) {
1176 /* here we get the method pointer for callbacks */
1177 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1178 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1180 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1181 if (!c
) goto type_error
;
1186 if (flags
& SWIG_POINTER_EXCEPTION
) {
1188 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1190 SWIG_Python_TypeError("C/C++ pointer", obj
);
1196 /* Convert a pointer value, signal an exception on a type mismatch */
1198 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1200 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1202 if (flags
& SWIG_POINTER_EXCEPTION
) {
1203 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1204 SWIG_Python_ArgFail(argnum
);
1210 /* Convert a packed value value */
1212 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1216 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1217 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1219 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1220 c
= PyString_AS_STRING(obj
);
1221 /* Pointer values must start with leading underscore */
1222 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1224 if (!c
) goto type_error
;
1226 tc
= SWIG_TypeCheck(c
,ty
);
1227 if (!tc
) goto type_error
;
1233 if (flags
& SWIG_POINTER_EXCEPTION
) {
1235 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1237 SWIG_Python_TypeError("C/C++ packed data", obj
);
1243 /* Create a new array object */
1244 SWIGRUNTIME PyObject
*
1245 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1251 #ifdef SWIG_COBJECT_TYPES
1252 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1255 char result
[SWIG_BUFFER_SIZE
];
1256 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1257 PyString_FromString(result
) : 0;
1260 if (!robj
|| (robj
== Py_None
)) return robj
;
1261 if (type
->clientdata
) {
1263 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1265 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1269 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1277 SWIGRUNTIME PyObject
*
1278 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1284 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1285 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1288 char result
[SWIG_BUFFER_SIZE
];
1289 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1290 PyString_FromString(result
) : 0;
1296 /* -----------------------------------------------------------------------------*
1298 * -----------------------------------------------------------------------------*/
1300 #ifdef SWIG_LINK_RUNTIME
1301 void *SWIG_ReturnGlobalTypeList(void *);
1304 SWIGRUNTIME swig_type_info
**
1305 SWIG_Python_GetTypeListHandle() {
1306 static void *type_pointer
= (void *)0;
1307 /* first check if module already created */
1308 if (!type_pointer
) {
1309 #ifdef SWIG_LINK_RUNTIME
1310 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1312 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1313 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1314 if (PyErr_Occurred()) {
1316 type_pointer
= (void *)0;
1320 return (swig_type_info
**) type_pointer
;
1324 Search for a swig_type_info structure
1326 SWIGRUNTIMEINLINE swig_type_info
*
1327 SWIG_Python_GetTypeList() {
1328 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1329 return tlh
? *tlh
: (swig_type_info
*)0;
1332 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1339 /* -------- TYPES TABLE (BEGIN) -------- */
1341 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
1342 #define SWIGTYPE_p_wxSizer swig_types[1]
1343 #define SWIGTYPE_p_wxCheckBox swig_types[2]
1344 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[3]
1345 #define SWIGTYPE_p_wxEvent swig_types[4]
1346 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[5]
1347 #define SWIGTYPE_p_bool swig_types[6]
1348 #define SWIGTYPE_p_wxItemContainer swig_types[7]
1349 #define SWIGTYPE_p_wxPyListCtrl swig_types[8]
1350 #define SWIGTYPE_p_wxPyTreeItemData swig_types[9]
1351 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[10]
1352 #define SWIGTYPE_p_wxStaticLine swig_types[11]
1353 #define SWIGTYPE_p_wxControl swig_types[12]
1354 #define SWIGTYPE_p_wxPyControl swig_types[13]
1355 #define SWIGTYPE_p_wxGauge swig_types[14]
1356 #define SWIGTYPE_p_wxToolBarBase swig_types[15]
1357 #define SWIGTYPE_p_wxFont swig_types[16]
1358 #define SWIGTYPE_p_wxToggleButton swig_types[17]
1359 #define SWIGTYPE_p_wxRadioButton swig_types[18]
1360 #define SWIGTYPE_p_wxChoice swig_types[19]
1361 #define SWIGTYPE_p_wxMemoryDC swig_types[20]
1362 #define SWIGTYPE_ptrdiff_t swig_types[21]
1363 #define SWIGTYPE_std__ptrdiff_t swig_types[22]
1364 #define SWIGTYPE_p_wxListItemAttr swig_types[23]
1365 #define SWIGTYPE_p_void swig_types[24]
1366 #define SWIGTYPE_p_int swig_types[25]
1367 #define SWIGTYPE_p_wxSize swig_types[26]
1368 #define SWIGTYPE_p_wxDC swig_types[27]
1369 #define SWIGTYPE_p_wxListView swig_types[28]
1370 #define SWIGTYPE_p_wxIcon swig_types[29]
1371 #define SWIGTYPE_p_wxVisualAttributes swig_types[30]
1372 #define SWIGTYPE_p_wxTextCtrl swig_types[31]
1373 #define SWIGTYPE_p_wxNotebook swig_types[32]
1374 #define SWIGTYPE_p_wxChoicebook swig_types[33]
1375 #define SWIGTYPE_p_wxNotifyEvent swig_types[34]
1376 #define SWIGTYPE_p_wxArrayString swig_types[35]
1377 #define SWIGTYPE_p_form_ops_t swig_types[36]
1378 #define SWIGTYPE_p_wxListbook swig_types[37]
1379 #define SWIGTYPE_p_wxStaticBitmap swig_types[38]
1380 #define SWIGTYPE_p_wxSlider swig_types[39]
1381 #define SWIGTYPE_p_wxStaticBox swig_types[40]
1382 #define SWIGTYPE_p_wxArrayInt swig_types[41]
1383 #define SWIGTYPE_p_wxContextHelp swig_types[42]
1384 #define SWIGTYPE_p_long swig_types[43]
1385 #define SWIGTYPE_p_wxDuplexMode swig_types[44]
1386 #define SWIGTYPE_p_wxBookCtrlBase swig_types[45]
1387 #define SWIGTYPE_p_wxEvtHandler swig_types[46]
1388 #define SWIGTYPE_p_wxListEvent swig_types[47]
1389 #define SWIGTYPE_p_wxCheckListBox swig_types[48]
1390 #define SWIGTYPE_p_wxListBox swig_types[49]
1391 #define SWIGTYPE_p_wxSpinButton swig_types[50]
1392 #define SWIGTYPE_p_wxButton swig_types[51]
1393 #define SWIGTYPE_p_wxBitmapButton swig_types[52]
1394 #define SWIGTYPE_p_wxRect swig_types[53]
1395 #define SWIGTYPE_p_wxContextHelpButton swig_types[54]
1396 #define SWIGTYPE_p_wxRadioBox swig_types[55]
1397 #define SWIGTYPE_p_wxScrollBar swig_types[56]
1398 #define SWIGTYPE_p_char swig_types[57]
1399 #define SWIGTYPE_p_wxComboBox swig_types[58]
1400 #define SWIGTYPE_p_wxTreeItemId swig_types[59]
1401 #define SWIGTYPE_p_wxHelpEvent swig_types[60]
1402 #define SWIGTYPE_p_wxListItem swig_types[61]
1403 #define SWIGTYPE_p_wxNotebookSizer swig_types[62]
1404 #define SWIGTYPE_p_wxSpinEvent swig_types[63]
1405 #define SWIGTYPE_p_wxGenericDragImage swig_types[64]
1406 #define SWIGTYPE_p_wxSpinCtrl swig_types[65]
1407 #define SWIGTYPE_p_wxPaperSize swig_types[66]
1408 #define SWIGTYPE_p_wxImageList swig_types[67]
1409 #define SWIGTYPE_p_wxHelpProvider swig_types[68]
1410 #define SWIGTYPE_p_wxTextAttr swig_types[69]
1411 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[70]
1412 #define SWIGTYPE_p_wxChoicebookEvent swig_types[71]
1413 #define SWIGTYPE_p_wxListbookEvent swig_types[72]
1414 #define SWIGTYPE_p_wxNotebookEvent swig_types[73]
1415 #define SWIGTYPE_p_wxPoint swig_types[74]
1416 #define SWIGTYPE_p_wxObject swig_types[75]
1417 #define SWIGTYPE_p_wxCursor swig_types[76]
1418 #define SWIGTYPE_p_wxKeyEvent swig_types[77]
1419 #define SWIGTYPE_p_unsigned_long swig_types[78]
1420 #define SWIGTYPE_p_wxWindow swig_types[79]
1421 #define SWIGTYPE_p_wxString swig_types[80]
1422 #define SWIGTYPE_p_wxBitmap swig_types[81]
1423 #define SWIGTYPE_unsigned_int swig_types[82]
1424 #define SWIGTYPE_p_unsigned_int swig_types[83]
1425 #define SWIGTYPE_p_unsigned_char swig_types[84]
1426 #define SWIGTYPE_p_wxMouseEvent swig_types[85]
1427 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[86]
1428 #define SWIGTYPE_p_wxTreeEvent swig_types[87]
1429 #define SWIGTYPE_p_wxCommandEvent swig_types[88]
1430 #define SWIGTYPE_p_wxStaticText swig_types[89]
1431 #define SWIGTYPE_p_wxControlWithItems swig_types[90]
1432 #define SWIGTYPE_p_wxToolBarToolBase swig_types[91]
1433 #define SWIGTYPE_p_wxColour swig_types[92]
1434 #define SWIGTYPE_p_wxToolBar swig_types[93]
1435 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[94]
1436 #define SWIGTYPE_p_wxValidator swig_types[95]
1437 static swig_type_info
*swig_types
[97];
1439 /* -------- TYPES TABLE (END) -------- */
1442 /*-----------------------------------------------
1443 @(target):= _controls_.so
1444 ------------------------------------------------*/
1445 #define SWIG_init init_controls_
1447 #define SWIG_name "_controls_"
1449 #include "wx/wxPython/wxPython.h"
1450 #include "wx/wxPython/pyclasses.h"
1452 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1453 static const wxString
wxPyEmptyString(wxEmptyString
);
1454 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1456 const wxArrayString wxPyEmptyStringArray
;
1458 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
1460 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1461 #define SWIG_From_int PyInt_FromLong
1469 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1472 if (value
< min_value
) {
1474 PyErr_Format(PyExc_OverflowError
,
1475 "value %ld is less than '%s' minimum %ld",
1476 value
, errmsg
, min_value
);
1479 } else if (value
> max_value
) {
1481 PyErr_Format(PyExc_OverflowError
,
1482 "value %ld is greater than '%s' maximum %ld",
1483 value
, errmsg
, max_value
);
1492 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1494 if (PyNumber_Check(obj
)) {
1495 if (val
) *val
= PyInt_AsLong(obj
);
1499 SWIG_type_error("number", obj
);
1505 #if INT_MAX != LONG_MAX
1507 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1509 const char* errmsg
= val
? "int" : (char*)0;
1511 if (SWIG_AsVal_long(obj
, &v
)) {
1512 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1513 if (val
) *val
= (int)(v
);
1522 SWIG_type_error(errmsg
, obj
);
1528 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1530 return SWIG_AsVal_long(obj
,(long*)val
);
1536 SWIG_As_int(PyObject
* obj
)
1539 if (!SWIG_AsVal_int(obj
, &v
)) {
1541 this is needed to make valgrind/purify happier.
1543 memset((void*)&v
, 0, sizeof(int));
1549 SWIGINTERNSHORT
long
1550 SWIG_As_long(PyObject
* obj
)
1553 if (!SWIG_AsVal_long(obj
, &v
)) {
1555 this is needed to make valgrind/purify happier.
1557 memset((void*)&v
, 0, sizeof(long));
1564 SWIG_Check_int(PyObject
* obj
)
1566 return SWIG_AsVal_int(obj
, (int*)0);
1571 SWIG_Check_long(PyObject
* obj
)
1573 return SWIG_AsVal_long(obj
, (long*)0);
1576 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
1579 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1581 if (obj
== Py_True
) {
1582 if (val
) *val
= true;
1585 if (obj
== Py_False
) {
1586 if (val
) *val
= false;
1590 if (SWIG_AsVal_int(obj
, &res
)) {
1591 if (val
) *val
= res
? true : false;
1597 SWIG_type_error("bool", obj
);
1603 SWIGINTERNSHORT
bool
1604 SWIG_As_bool(PyObject
* obj
)
1607 if (!SWIG_AsVal_bool(obj
, &v
)) {
1609 this is needed to make valgrind/purify happier.
1611 memset((void*)&v
, 0, sizeof(bool));
1618 SWIG_Check_bool(PyObject
* obj
)
1620 return SWIG_AsVal_bool(obj
, (bool*)0);
1623 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
1624 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
1626 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1627 #define SWIG_From_long PyInt_FromLong
1630 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
1631 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
1632 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
1633 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
1635 #include <wx/checklst.h>
1638 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
1639 static void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
1641 wxPyClientData
* data
= new wxPyClientData(clientData
);
1642 self
->Insert(item
, pos
, data
);
1644 self
->Insert(item
, pos
);
1646 static PyObject
*wxListBox_GetSelections(wxListBox
*self
){
1648 self
->GetSelections(lst
);
1649 PyObject
*tup
= PyTuple_New(lst
.GetCount());
1650 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
1651 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
1655 static void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
1657 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1658 self
->GetItem(item
)->SetTextColour(c
);
1661 static void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
1663 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1664 self
->GetItem(item
)->SetBackgroundColour(c
);
1667 static void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
1669 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1670 self
->GetItem(item
)->SetFont(f
);
1673 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
1675 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1681 } else if (target
== Py_None
) {
1685 if (!PyTuple_Check(target
)) {
1687 target
= PyTuple_New(1);
1688 PyTuple_SetItem(target
, 0, o2
);
1690 o3
= PyTuple_New(1);
1691 PyTuple_SetItem(o3
, 0, o
);
1694 target
= PySequence_Concat(o2
, o3
);
1704 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1707 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1708 SWIG_type_error("unsigned number", obj
);
1711 *val
= (unsigned long)v
;
1716 SWIGINTERNSHORT
unsigned long
1717 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1720 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1722 this is needed to make valgrind/purify happier.
1724 memset((void*)&v
, 0, sizeof(unsigned long));
1731 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1733 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1736 static void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
1737 self
->AppendText(text
);
1739 static wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
1740 return self
->GetValue().Mid(from
, to
- from
);
1742 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
1743 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
1744 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
1745 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
1746 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
1747 static int wxRadioBox_GetColumnCount(wxRadioBox
const *self
){ return -1; }
1748 static int wxRadioBox_GetRowCount(wxRadioBox
const *self
){ return -1; }
1749 static int wxRadioBox_GetNextItem(wxRadioBox
const *self
,int item
,wxDirection dir
,long style
){ return -1; }
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 bool 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 bool 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 bool 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 bool 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 bool 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 bool 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 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2169 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2170 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2171 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2173 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2174 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2175 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2177 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2178 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2180 DEC_PYCALLBACK__(InitDialog
);
2181 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2182 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2183 DEC_PYCALLBACK_BOOL_(Validate
);
2185 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2186 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2187 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2189 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2190 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2192 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2193 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
2194 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2196 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2201 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
2203 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
2204 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
2205 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
2206 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
2208 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
2209 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
2210 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
2212 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
2213 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
2215 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
2216 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
2217 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
2218 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
2220 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
2221 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
2222 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
2224 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
2225 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
2227 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
2228 IMP_PYCALLBACK__COLOUR(wxPyControl
, wxControl
, ApplyParentThemeBackground
);
2229 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
2231 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
2235 static void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
2237 #include <wx/generic/dragimgg.h>
2242 static int _wrap_ButtonNameStr_set(PyObject
*) {
2243 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
2248 static PyObject
*_wrap_ButtonNameStr_get(void) {
2253 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
2255 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
2262 static PyObject
*_wrap_new_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2263 PyObject
*resultobj
;
2264 wxWindow
*arg1
= (wxWindow
*) 0 ;
2265 int arg2
= (int) -1 ;
2266 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2267 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2268 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2269 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2270 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2271 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2272 long arg6
= (long) 0 ;
2273 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2274 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2275 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
2276 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2278 bool temp3
= false ;
2281 bool temp8
= false ;
2282 PyObject
* obj0
= 0 ;
2283 PyObject
* obj1
= 0 ;
2284 PyObject
* obj2
= 0 ;
2285 PyObject
* obj3
= 0 ;
2286 PyObject
* obj4
= 0 ;
2287 PyObject
* obj5
= 0 ;
2288 PyObject
* obj6
= 0 ;
2289 PyObject
* obj7
= 0 ;
2291 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2296 if (SWIG_arg_fail(1)) SWIG_fail
;
2299 arg2
= (int)(SWIG_As_int(obj1
));
2300 if (SWIG_arg_fail(2)) SWIG_fail
;
2305 arg3
= wxString_in_helper(obj2
);
2306 if (arg3
== NULL
) SWIG_fail
;
2313 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2319 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2324 arg6
= (long)(SWIG_As_long(obj5
));
2325 if (SWIG_arg_fail(6)) SWIG_fail
;
2330 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2331 if (SWIG_arg_fail(7)) SWIG_fail
;
2333 SWIG_null_ref("wxValidator");
2335 if (SWIG_arg_fail(7)) SWIG_fail
;
2340 arg8
= wxString_in_helper(obj7
);
2341 if (arg8
== NULL
) SWIG_fail
;
2346 if (!wxPyCheckForApp()) SWIG_fail
;
2347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2348 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2350 wxPyEndAllowThreads(__tstate
);
2351 if (PyErr_Occurred()) SWIG_fail
;
2353 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
2376 static PyObject
*_wrap_new_PreButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2377 PyObject
*resultobj
;
2383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
2385 if (!wxPyCheckForApp()) SWIG_fail
;
2386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2387 result
= (wxButton
*)new wxButton();
2389 wxPyEndAllowThreads(__tstate
);
2390 if (PyErr_Occurred()) SWIG_fail
;
2392 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
2399 static PyObject
*_wrap_Button_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2400 PyObject
*resultobj
;
2401 wxButton
*arg1
= (wxButton
*) 0 ;
2402 wxWindow
*arg2
= (wxWindow
*) 0 ;
2403 int arg3
= (int) -1 ;
2404 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2405 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2406 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2407 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2408 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2409 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2410 long arg7
= (long) 0 ;
2411 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2412 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2413 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
2414 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2416 bool temp4
= false ;
2419 bool temp9
= false ;
2420 PyObject
* obj0
= 0 ;
2421 PyObject
* obj1
= 0 ;
2422 PyObject
* obj2
= 0 ;
2423 PyObject
* obj3
= 0 ;
2424 PyObject
* obj4
= 0 ;
2425 PyObject
* obj5
= 0 ;
2426 PyObject
* obj6
= 0 ;
2427 PyObject
* obj7
= 0 ;
2428 PyObject
* obj8
= 0 ;
2430 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
2435 if (SWIG_arg_fail(1)) SWIG_fail
;
2436 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2437 if (SWIG_arg_fail(2)) SWIG_fail
;
2440 arg3
= (int)(SWIG_As_int(obj2
));
2441 if (SWIG_arg_fail(3)) SWIG_fail
;
2446 arg4
= wxString_in_helper(obj3
);
2447 if (arg4
== NULL
) SWIG_fail
;
2454 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2460 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2465 arg7
= (long)(SWIG_As_long(obj6
));
2466 if (SWIG_arg_fail(7)) SWIG_fail
;
2471 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2472 if (SWIG_arg_fail(8)) SWIG_fail
;
2474 SWIG_null_ref("wxValidator");
2476 if (SWIG_arg_fail(8)) SWIG_fail
;
2481 arg9
= wxString_in_helper(obj8
);
2482 if (arg9
== NULL
) SWIG_fail
;
2487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2488 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2490 wxPyEndAllowThreads(__tstate
);
2491 if (PyErr_Occurred()) SWIG_fail
;
2494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2518 static PyObject
*_wrap_Button_SetDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2519 PyObject
*resultobj
;
2520 wxButton
*arg1
= (wxButton
*) 0 ;
2521 PyObject
* obj0
= 0 ;
2523 (char *) "self", NULL
2526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
2527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
2528 if (SWIG_arg_fail(1)) SWIG_fail
;
2530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2531 (arg1
)->SetDefault();
2533 wxPyEndAllowThreads(__tstate
);
2534 if (PyErr_Occurred()) SWIG_fail
;
2536 Py_INCREF(Py_None
); resultobj
= Py_None
;
2543 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2544 PyObject
*resultobj
;
2550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
2552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2553 result
= wxButton::GetDefaultSize();
2555 wxPyEndAllowThreads(__tstate
);
2556 if (PyErr_Occurred()) SWIG_fail
;
2560 resultptr
= new wxSize((wxSize
&)(result
));
2561 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2569 static PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2570 PyObject
*resultobj
;
2571 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
2572 wxVisualAttributes result
;
2573 PyObject
* obj0
= 0 ;
2575 (char *) "variant", NULL
2578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2581 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
2582 if (SWIG_arg_fail(1)) SWIG_fail
;
2586 if (!wxPyCheckForApp()) SWIG_fail
;
2587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2588 result
= wxButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2590 wxPyEndAllowThreads(__tstate
);
2591 if (PyErr_Occurred()) SWIG_fail
;
2594 wxVisualAttributes
* resultptr
;
2595 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
2596 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2604 static PyObject
* Button_swigregister(PyObject
*, PyObject
*args
) {
2606 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2607 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
2609 return Py_BuildValue((char *)"");
2611 static PyObject
*_wrap_new_BitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2612 PyObject
*resultobj
;
2613 wxWindow
*arg1
= (wxWindow
*) 0 ;
2614 int arg2
= (int) -1 ;
2615 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
2616 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
2617 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2618 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2619 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2620 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2621 long arg6
= (long) wxBU_AUTODRAW
;
2622 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2623 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2624 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
2625 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2626 wxBitmapButton
*result
;
2629 bool temp8
= false ;
2630 PyObject
* obj0
= 0 ;
2631 PyObject
* obj1
= 0 ;
2632 PyObject
* obj2
= 0 ;
2633 PyObject
* obj3
= 0 ;
2634 PyObject
* obj4
= 0 ;
2635 PyObject
* obj5
= 0 ;
2636 PyObject
* obj6
= 0 ;
2637 PyObject
* obj7
= 0 ;
2639 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2644 if (SWIG_arg_fail(1)) SWIG_fail
;
2647 arg2
= (int)(SWIG_As_int(obj1
));
2648 if (SWIG_arg_fail(2)) SWIG_fail
;
2653 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
2654 if (SWIG_arg_fail(3)) SWIG_fail
;
2656 SWIG_null_ref("wxBitmap");
2658 if (SWIG_arg_fail(3)) SWIG_fail
;
2664 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2670 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2675 arg6
= (long)(SWIG_As_long(obj5
));
2676 if (SWIG_arg_fail(6)) SWIG_fail
;
2681 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2682 if (SWIG_arg_fail(7)) SWIG_fail
;
2684 SWIG_null_ref("wxValidator");
2686 if (SWIG_arg_fail(7)) SWIG_fail
;
2691 arg8
= wxString_in_helper(obj7
);
2692 if (arg8
== NULL
) SWIG_fail
;
2697 if (!wxPyCheckForApp()) SWIG_fail
;
2698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2699 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2701 wxPyEndAllowThreads(__tstate
);
2702 if (PyErr_Occurred()) SWIG_fail
;
2704 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
2719 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2720 PyObject
*resultobj
;
2721 wxBitmapButton
*result
;
2726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
2728 if (!wxPyCheckForApp()) SWIG_fail
;
2729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2730 result
= (wxBitmapButton
*)new wxBitmapButton();
2732 wxPyEndAllowThreads(__tstate
);
2733 if (PyErr_Occurred()) SWIG_fail
;
2735 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
2742 static PyObject
*_wrap_BitmapButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2743 PyObject
*resultobj
;
2744 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2745 wxWindow
*arg2
= (wxWindow
*) 0 ;
2746 int arg3
= (int) -1 ;
2747 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
2748 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
2749 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2750 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2751 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2752 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2753 long arg7
= (long) wxBU_AUTODRAW
;
2754 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2755 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2756 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
2757 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2761 bool temp9
= false ;
2762 PyObject
* obj0
= 0 ;
2763 PyObject
* obj1
= 0 ;
2764 PyObject
* obj2
= 0 ;
2765 PyObject
* obj3
= 0 ;
2766 PyObject
* obj4
= 0 ;
2767 PyObject
* obj5
= 0 ;
2768 PyObject
* obj6
= 0 ;
2769 PyObject
* obj7
= 0 ;
2770 PyObject
* obj8
= 0 ;
2772 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2777 if (SWIG_arg_fail(1)) SWIG_fail
;
2778 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2779 if (SWIG_arg_fail(2)) SWIG_fail
;
2782 arg3
= (int)(SWIG_As_int(obj2
));
2783 if (SWIG_arg_fail(3)) SWIG_fail
;
2788 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
2789 if (SWIG_arg_fail(4)) SWIG_fail
;
2791 SWIG_null_ref("wxBitmap");
2793 if (SWIG_arg_fail(4)) SWIG_fail
;
2799 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2805 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2810 arg7
= (long)(SWIG_As_long(obj6
));
2811 if (SWIG_arg_fail(7)) SWIG_fail
;
2816 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2817 if (SWIG_arg_fail(8)) SWIG_fail
;
2819 SWIG_null_ref("wxValidator");
2821 if (SWIG_arg_fail(8)) SWIG_fail
;
2826 arg9
= wxString_in_helper(obj8
);
2827 if (arg9
== NULL
) SWIG_fail
;
2832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2833 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2835 wxPyEndAllowThreads(__tstate
);
2836 if (PyErr_Occurred()) SWIG_fail
;
2839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2855 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2856 PyObject
*resultobj
;
2857 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2859 PyObject
* obj0
= 0 ;
2861 (char *) "self", NULL
2864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
2865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2866 if (SWIG_arg_fail(1)) SWIG_fail
;
2868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2869 result
= (arg1
)->GetBitmapLabel();
2871 wxPyEndAllowThreads(__tstate
);
2872 if (PyErr_Occurred()) SWIG_fail
;
2875 wxBitmap
* resultptr
;
2876 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2877 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2885 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2886 PyObject
*resultobj
;
2887 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2889 PyObject
* obj0
= 0 ;
2891 (char *) "self", NULL
2894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
2895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2896 if (SWIG_arg_fail(1)) SWIG_fail
;
2898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2899 result
= (arg1
)->GetBitmapDisabled();
2901 wxPyEndAllowThreads(__tstate
);
2902 if (PyErr_Occurred()) SWIG_fail
;
2905 wxBitmap
* resultptr
;
2906 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2907 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2915 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2916 PyObject
*resultobj
;
2917 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2919 PyObject
* obj0
= 0 ;
2921 (char *) "self", NULL
2924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
2925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2926 if (SWIG_arg_fail(1)) SWIG_fail
;
2928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2929 result
= (arg1
)->GetBitmapFocus();
2931 wxPyEndAllowThreads(__tstate
);
2932 if (PyErr_Occurred()) SWIG_fail
;
2935 wxBitmap
* resultptr
;
2936 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2937 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2945 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2946 PyObject
*resultobj
;
2947 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2949 PyObject
* obj0
= 0 ;
2951 (char *) "self", NULL
2954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
2955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2956 if (SWIG_arg_fail(1)) SWIG_fail
;
2958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2959 result
= (arg1
)->GetBitmapSelected();
2961 wxPyEndAllowThreads(__tstate
);
2962 if (PyErr_Occurred()) SWIG_fail
;
2965 wxBitmap
* resultptr
;
2966 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2967 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2975 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2976 PyObject
*resultobj
;
2977 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2978 wxBitmap
*arg2
= 0 ;
2979 PyObject
* obj0
= 0 ;
2980 PyObject
* obj1
= 0 ;
2982 (char *) "self",(char *) "bitmap", NULL
2985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
2986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2987 if (SWIG_arg_fail(1)) SWIG_fail
;
2989 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
2990 if (SWIG_arg_fail(2)) SWIG_fail
;
2992 SWIG_null_ref("wxBitmap");
2994 if (SWIG_arg_fail(2)) SWIG_fail
;
2997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2998 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
3000 wxPyEndAllowThreads(__tstate
);
3001 if (PyErr_Occurred()) SWIG_fail
;
3003 Py_INCREF(Py_None
); resultobj
= Py_None
;
3010 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3011 PyObject
*resultobj
;
3012 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3013 wxBitmap
*arg2
= 0 ;
3014 PyObject
* obj0
= 0 ;
3015 PyObject
* obj1
= 0 ;
3017 (char *) "self",(char *) "bitmap", NULL
3020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
3021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3022 if (SWIG_arg_fail(1)) SWIG_fail
;
3024 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3025 if (SWIG_arg_fail(2)) SWIG_fail
;
3027 SWIG_null_ref("wxBitmap");
3029 if (SWIG_arg_fail(2)) SWIG_fail
;
3032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3033 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
3035 wxPyEndAllowThreads(__tstate
);
3036 if (PyErr_Occurred()) SWIG_fail
;
3038 Py_INCREF(Py_None
); resultobj
= Py_None
;
3045 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3046 PyObject
*resultobj
;
3047 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3048 wxBitmap
*arg2
= 0 ;
3049 PyObject
* obj0
= 0 ;
3050 PyObject
* obj1
= 0 ;
3052 (char *) "self",(char *) "bitmap", NULL
3055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
3056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3057 if (SWIG_arg_fail(1)) SWIG_fail
;
3059 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3060 if (SWIG_arg_fail(2)) SWIG_fail
;
3062 SWIG_null_ref("wxBitmap");
3064 if (SWIG_arg_fail(2)) SWIG_fail
;
3067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3068 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
3070 wxPyEndAllowThreads(__tstate
);
3071 if (PyErr_Occurred()) SWIG_fail
;
3073 Py_INCREF(Py_None
); resultobj
= Py_None
;
3080 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3081 PyObject
*resultobj
;
3082 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3083 wxBitmap
*arg2
= 0 ;
3084 PyObject
* obj0
= 0 ;
3085 PyObject
* obj1
= 0 ;
3087 (char *) "self",(char *) "bitmap", NULL
3090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
3091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3092 if (SWIG_arg_fail(1)) SWIG_fail
;
3094 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3095 if (SWIG_arg_fail(2)) SWIG_fail
;
3097 SWIG_null_ref("wxBitmap");
3099 if (SWIG_arg_fail(2)) SWIG_fail
;
3102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3103 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
3105 wxPyEndAllowThreads(__tstate
);
3106 if (PyErr_Occurred()) SWIG_fail
;
3108 Py_INCREF(Py_None
); resultobj
= Py_None
;
3115 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3116 PyObject
*resultobj
;
3117 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3120 PyObject
* obj0
= 0 ;
3121 PyObject
* obj1
= 0 ;
3122 PyObject
* obj2
= 0 ;
3124 (char *) "self",(char *) "x",(char *) "y", NULL
3127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3129 if (SWIG_arg_fail(1)) SWIG_fail
;
3131 arg2
= (int)(SWIG_As_int(obj1
));
3132 if (SWIG_arg_fail(2)) SWIG_fail
;
3135 arg3
= (int)(SWIG_As_int(obj2
));
3136 if (SWIG_arg_fail(3)) SWIG_fail
;
3139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3140 (arg1
)->SetMargins(arg2
,arg3
);
3142 wxPyEndAllowThreads(__tstate
);
3143 if (PyErr_Occurred()) SWIG_fail
;
3145 Py_INCREF(Py_None
); resultobj
= Py_None
;
3152 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3153 PyObject
*resultobj
;
3154 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3156 PyObject
* obj0
= 0 ;
3158 (char *) "self", NULL
3161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
3162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3163 if (SWIG_arg_fail(1)) SWIG_fail
;
3165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3166 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
3168 wxPyEndAllowThreads(__tstate
);
3169 if (PyErr_Occurred()) SWIG_fail
;
3172 resultobj
= SWIG_From_int((int)(result
));
3180 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3181 PyObject
*resultobj
;
3182 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3184 PyObject
* obj0
= 0 ;
3186 (char *) "self", NULL
3189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
3190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3191 if (SWIG_arg_fail(1)) SWIG_fail
;
3193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3194 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
3196 wxPyEndAllowThreads(__tstate
);
3197 if (PyErr_Occurred()) SWIG_fail
;
3200 resultobj
= SWIG_From_int((int)(result
));
3208 static PyObject
* BitmapButton_swigregister(PyObject
*, PyObject
*args
) {
3210 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3211 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
3213 return Py_BuildValue((char *)"");
3215 static int _wrap_CheckBoxNameStr_set(PyObject
*) {
3216 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
3221 static PyObject
*_wrap_CheckBoxNameStr_get(void) {
3226 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
3228 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
3235 static PyObject
*_wrap_new_CheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3236 PyObject
*resultobj
;
3237 wxWindow
*arg1
= (wxWindow
*) 0 ;
3238 int arg2
= (int) -1 ;
3239 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3240 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3241 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3242 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3243 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3244 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3245 long arg6
= (long) 0 ;
3246 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3247 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3248 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
3249 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3251 bool temp3
= false ;
3254 bool temp8
= false ;
3255 PyObject
* obj0
= 0 ;
3256 PyObject
* obj1
= 0 ;
3257 PyObject
* obj2
= 0 ;
3258 PyObject
* obj3
= 0 ;
3259 PyObject
* obj4
= 0 ;
3260 PyObject
* obj5
= 0 ;
3261 PyObject
* obj6
= 0 ;
3262 PyObject
* obj7
= 0 ;
3264 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3269 if (SWIG_arg_fail(1)) SWIG_fail
;
3272 arg2
= (int)(SWIG_As_int(obj1
));
3273 if (SWIG_arg_fail(2)) SWIG_fail
;
3278 arg3
= wxString_in_helper(obj2
);
3279 if (arg3
== NULL
) SWIG_fail
;
3286 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3292 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3297 arg6
= (long)(SWIG_As_long(obj5
));
3298 if (SWIG_arg_fail(6)) SWIG_fail
;
3303 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3304 if (SWIG_arg_fail(7)) SWIG_fail
;
3306 SWIG_null_ref("wxValidator");
3308 if (SWIG_arg_fail(7)) SWIG_fail
;
3313 arg8
= wxString_in_helper(obj7
);
3314 if (arg8
== NULL
) SWIG_fail
;
3319 if (!wxPyCheckForApp()) SWIG_fail
;
3320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3321 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3323 wxPyEndAllowThreads(__tstate
);
3324 if (PyErr_Occurred()) SWIG_fail
;
3326 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
3349 static PyObject
*_wrap_new_PreCheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3350 PyObject
*resultobj
;
3356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
3358 if (!wxPyCheckForApp()) SWIG_fail
;
3359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3360 result
= (wxCheckBox
*)new wxCheckBox();
3362 wxPyEndAllowThreads(__tstate
);
3363 if (PyErr_Occurred()) SWIG_fail
;
3365 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
3372 static PyObject
*_wrap_CheckBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3373 PyObject
*resultobj
;
3374 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3375 wxWindow
*arg2
= (wxWindow
*) 0 ;
3376 int arg3
= (int) -1 ;
3377 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3378 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3379 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3380 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3381 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3382 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3383 long arg7
= (long) 0 ;
3384 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3385 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3386 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
3387 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3389 bool temp4
= false ;
3392 bool temp9
= false ;
3393 PyObject
* obj0
= 0 ;
3394 PyObject
* obj1
= 0 ;
3395 PyObject
* obj2
= 0 ;
3396 PyObject
* obj3
= 0 ;
3397 PyObject
* obj4
= 0 ;
3398 PyObject
* obj5
= 0 ;
3399 PyObject
* obj6
= 0 ;
3400 PyObject
* obj7
= 0 ;
3401 PyObject
* obj8
= 0 ;
3403 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3408 if (SWIG_arg_fail(1)) SWIG_fail
;
3409 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3410 if (SWIG_arg_fail(2)) SWIG_fail
;
3413 arg3
= (int)(SWIG_As_int(obj2
));
3414 if (SWIG_arg_fail(3)) SWIG_fail
;
3419 arg4
= wxString_in_helper(obj3
);
3420 if (arg4
== NULL
) SWIG_fail
;
3427 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3433 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3438 arg7
= (long)(SWIG_As_long(obj6
));
3439 if (SWIG_arg_fail(7)) SWIG_fail
;
3444 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3445 if (SWIG_arg_fail(8)) SWIG_fail
;
3447 SWIG_null_ref("wxValidator");
3449 if (SWIG_arg_fail(8)) SWIG_fail
;
3454 arg9
= wxString_in_helper(obj8
);
3455 if (arg9
== NULL
) SWIG_fail
;
3460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3461 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3463 wxPyEndAllowThreads(__tstate
);
3464 if (PyErr_Occurred()) SWIG_fail
;
3467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3491 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3492 PyObject
*resultobj
;
3493 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3495 PyObject
* obj0
= 0 ;
3497 (char *) "self", NULL
3500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
3501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3502 if (SWIG_arg_fail(1)) SWIG_fail
;
3504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3505 result
= (bool)(arg1
)->GetValue();
3507 wxPyEndAllowThreads(__tstate
);
3508 if (PyErr_Occurred()) SWIG_fail
;
3511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3519 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3520 PyObject
*resultobj
;
3521 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3523 PyObject
* obj0
= 0 ;
3525 (char *) "self", NULL
3528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
3529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3530 if (SWIG_arg_fail(1)) SWIG_fail
;
3532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3533 result
= (bool)(arg1
)->IsChecked();
3535 wxPyEndAllowThreads(__tstate
);
3536 if (PyErr_Occurred()) SWIG_fail
;
3539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3547 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3548 PyObject
*resultobj
;
3549 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3551 PyObject
* obj0
= 0 ;
3552 PyObject
* obj1
= 0 ;
3554 (char *) "self",(char *) "state", NULL
3557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3559 if (SWIG_arg_fail(1)) SWIG_fail
;
3561 arg2
= (bool const)(SWIG_As_bool(obj1
));
3562 if (SWIG_arg_fail(2)) SWIG_fail
;
3565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3566 (arg1
)->SetValue(arg2
);
3568 wxPyEndAllowThreads(__tstate
);
3569 if (PyErr_Occurred()) SWIG_fail
;
3571 Py_INCREF(Py_None
); resultobj
= Py_None
;
3578 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3579 PyObject
*resultobj
;
3580 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3581 wxCheckBoxState result
;
3582 PyObject
* obj0
= 0 ;
3584 (char *) "self", NULL
3587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
3588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3589 if (SWIG_arg_fail(1)) SWIG_fail
;
3591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3592 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
3594 wxPyEndAllowThreads(__tstate
);
3595 if (PyErr_Occurred()) SWIG_fail
;
3597 resultobj
= SWIG_From_int((result
));
3604 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3605 PyObject
*resultobj
;
3606 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3607 wxCheckBoxState arg2
;
3608 PyObject
* obj0
= 0 ;
3609 PyObject
* obj1
= 0 ;
3611 (char *) "self",(char *) "state", NULL
3614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3616 if (SWIG_arg_fail(1)) SWIG_fail
;
3618 arg2
= (wxCheckBoxState
)(SWIG_As_int(obj1
));
3619 if (SWIG_arg_fail(2)) SWIG_fail
;
3622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3623 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
3625 wxPyEndAllowThreads(__tstate
);
3626 if (PyErr_Occurred()) SWIG_fail
;
3628 Py_INCREF(Py_None
); resultobj
= Py_None
;
3635 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3636 PyObject
*resultobj
;
3637 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3639 PyObject
* obj0
= 0 ;
3641 (char *) "self", NULL
3644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
3645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3646 if (SWIG_arg_fail(1)) SWIG_fail
;
3648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3649 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
3651 wxPyEndAllowThreads(__tstate
);
3652 if (PyErr_Occurred()) SWIG_fail
;
3655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3663 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3664 PyObject
*resultobj
;
3665 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3667 PyObject
* obj0
= 0 ;
3669 (char *) "self", NULL
3672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
3673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3674 if (SWIG_arg_fail(1)) SWIG_fail
;
3676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3677 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
3679 wxPyEndAllowThreads(__tstate
);
3680 if (PyErr_Occurred()) SWIG_fail
;
3683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3691 static PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3692 PyObject
*resultobj
;
3693 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3694 wxVisualAttributes result
;
3695 PyObject
* obj0
= 0 ;
3697 (char *) "variant", NULL
3700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3703 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
3704 if (SWIG_arg_fail(1)) SWIG_fail
;
3708 if (!wxPyCheckForApp()) SWIG_fail
;
3709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3710 result
= wxCheckBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3712 wxPyEndAllowThreads(__tstate
);
3713 if (PyErr_Occurred()) SWIG_fail
;
3716 wxVisualAttributes
* resultptr
;
3717 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
3718 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3726 static PyObject
* CheckBox_swigregister(PyObject
*, PyObject
*args
) {
3728 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3729 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
3731 return Py_BuildValue((char *)"");
3733 static int _wrap_ChoiceNameStr_set(PyObject
*) {
3734 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
3739 static PyObject
*_wrap_ChoiceNameStr_get(void) {
3744 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
3746 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
3753 static PyObject
*_wrap_new_Choice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3754 PyObject
*resultobj
;
3755 wxWindow
*arg1
= (wxWindow
*) 0 ;
3756 int arg2
= (int) -1 ;
3757 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3758 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3759 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3760 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3761 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
3762 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
3763 long arg6
= (long) 0 ;
3764 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3765 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3766 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
3767 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3771 bool temp5
= false ;
3772 bool temp8
= false ;
3773 PyObject
* obj0
= 0 ;
3774 PyObject
* obj1
= 0 ;
3775 PyObject
* obj2
= 0 ;
3776 PyObject
* obj3
= 0 ;
3777 PyObject
* obj4
= 0 ;
3778 PyObject
* obj5
= 0 ;
3779 PyObject
* obj6
= 0 ;
3780 PyObject
* obj7
= 0 ;
3782 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3787 if (SWIG_arg_fail(1)) SWIG_fail
;
3790 arg2
= (int)(SWIG_As_int(obj1
));
3791 if (SWIG_arg_fail(2)) SWIG_fail
;
3797 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3803 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3808 if (! PySequence_Check(obj4
)) {
3809 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3812 arg5
= new wxArrayString
;
3814 int i
, len
=PySequence_Length(obj4
);
3815 for (i
=0; i
<len
; i
++) {
3816 PyObject
* item
= PySequence_GetItem(obj4
, i
);
3818 PyObject
* str
= PyObject_Unicode(item
);
3820 PyObject
* str
= PyObject_Str(item
);
3822 if (PyErr_Occurred()) SWIG_fail
;
3823 arg5
->Add(Py2wxString(str
));
3831 arg6
= (long)(SWIG_As_long(obj5
));
3832 if (SWIG_arg_fail(6)) SWIG_fail
;
3837 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3838 if (SWIG_arg_fail(7)) SWIG_fail
;
3840 SWIG_null_ref("wxValidator");
3842 if (SWIG_arg_fail(7)) SWIG_fail
;
3847 arg8
= wxString_in_helper(obj7
);
3848 if (arg8
== NULL
) SWIG_fail
;
3853 if (!wxPyCheckForApp()) SWIG_fail
;
3854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3855 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3857 wxPyEndAllowThreads(__tstate
);
3858 if (PyErr_Occurred()) SWIG_fail
;
3860 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
3862 if (temp5
) delete arg5
;
3871 if (temp5
) delete arg5
;
3881 static PyObject
*_wrap_new_PreChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3882 PyObject
*resultobj
;
3888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
3890 if (!wxPyCheckForApp()) SWIG_fail
;
3891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3892 result
= (wxChoice
*)new wxChoice();
3894 wxPyEndAllowThreads(__tstate
);
3895 if (PyErr_Occurred()) SWIG_fail
;
3897 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
3904 static PyObject
*_wrap_Choice_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3905 PyObject
*resultobj
;
3906 wxChoice
*arg1
= (wxChoice
*) 0 ;
3907 wxWindow
*arg2
= (wxWindow
*) 0 ;
3908 int arg3
= (int) -1 ;
3909 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3910 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3911 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3912 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3913 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
3914 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
3915 long arg7
= (long) 0 ;
3916 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3917 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3918 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
3919 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3923 bool temp6
= false ;
3924 bool temp9
= false ;
3925 PyObject
* obj0
= 0 ;
3926 PyObject
* obj1
= 0 ;
3927 PyObject
* obj2
= 0 ;
3928 PyObject
* obj3
= 0 ;
3929 PyObject
* obj4
= 0 ;
3930 PyObject
* obj5
= 0 ;
3931 PyObject
* obj6
= 0 ;
3932 PyObject
* obj7
= 0 ;
3933 PyObject
* obj8
= 0 ;
3935 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoice
, SWIG_POINTER_EXCEPTION
| 0);
3940 if (SWIG_arg_fail(1)) SWIG_fail
;
3941 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3942 if (SWIG_arg_fail(2)) SWIG_fail
;
3945 arg3
= (int)(SWIG_As_int(obj2
));
3946 if (SWIG_arg_fail(3)) SWIG_fail
;
3952 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3958 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3963 if (! PySequence_Check(obj5
)) {
3964 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3967 arg6
= new wxArrayString
;
3969 int i
, len
=PySequence_Length(obj5
);
3970 for (i
=0; i
<len
; i
++) {
3971 PyObject
* item
= PySequence_GetItem(obj5
, i
);
3973 PyObject
* str
= PyObject_Unicode(item
);
3975 PyObject
* str
= PyObject_Str(item
);
3977 if (PyErr_Occurred()) SWIG_fail
;
3978 arg6
->Add(Py2wxString(str
));
3986 arg7
= (long)(SWIG_As_long(obj6
));
3987 if (SWIG_arg_fail(7)) SWIG_fail
;
3992 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3993 if (SWIG_arg_fail(8)) SWIG_fail
;
3995 SWIG_null_ref("wxValidator");
3997 if (SWIG_arg_fail(8)) SWIG_fail
;
4002 arg9
= wxString_in_helper(obj8
);
4003 if (arg9
== NULL
) SWIG_fail
;
4008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4009 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4011 wxPyEndAllowThreads(__tstate
);
4012 if (PyErr_Occurred()) SWIG_fail
;
4015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4018 if (temp6
) delete arg6
;
4027 if (temp6
) delete arg6
;
4037 static PyObject
*_wrap_Choice_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4038 PyObject
*resultobj
;
4039 wxChoice
*arg1
= (wxChoice
*) 0 ;
4041 PyObject
* obj0
= 0 ;
4042 PyObject
* obj1
= 0 ;
4044 (char *) "self",(char *) "n", NULL
4047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
4048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoice
, SWIG_POINTER_EXCEPTION
| 0);
4049 if (SWIG_arg_fail(1)) SWIG_fail
;
4051 arg2
= (int const)(SWIG_As_int(obj1
));
4052 if (SWIG_arg_fail(2)) SWIG_fail
;
4055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4056 (arg1
)->SetSelection(arg2
);
4058 wxPyEndAllowThreads(__tstate
);
4059 if (PyErr_Occurred()) SWIG_fail
;
4061 Py_INCREF(Py_None
); resultobj
= Py_None
;
4068 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4069 PyObject
*resultobj
;
4070 wxChoice
*arg1
= (wxChoice
*) 0 ;
4071 wxString
*arg2
= 0 ;
4073 bool temp2
= false ;
4074 PyObject
* obj0
= 0 ;
4075 PyObject
* obj1
= 0 ;
4077 (char *) "self",(char *) "string", NULL
4080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
4081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoice
, SWIG_POINTER_EXCEPTION
| 0);
4082 if (SWIG_arg_fail(1)) SWIG_fail
;
4084 arg2
= wxString_in_helper(obj1
);
4085 if (arg2
== NULL
) SWIG_fail
;
4089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4090 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
4092 wxPyEndAllowThreads(__tstate
);
4093 if (PyErr_Occurred()) SWIG_fail
;
4096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4112 static PyObject
*_wrap_Choice_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4113 PyObject
*resultobj
;
4114 wxChoice
*arg1
= (wxChoice
*) 0 ;
4116 wxString
*arg3
= 0 ;
4117 bool temp3
= false ;
4118 PyObject
* obj0
= 0 ;
4119 PyObject
* obj1
= 0 ;
4120 PyObject
* obj2
= 0 ;
4122 (char *) "self",(char *) "n",(char *) "string", NULL
4125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoice
, SWIG_POINTER_EXCEPTION
| 0);
4127 if (SWIG_arg_fail(1)) SWIG_fail
;
4129 arg2
= (int)(SWIG_As_int(obj1
));
4130 if (SWIG_arg_fail(2)) SWIG_fail
;
4133 arg3
= wxString_in_helper(obj2
);
4134 if (arg3
== NULL
) SWIG_fail
;
4138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4139 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
4141 wxPyEndAllowThreads(__tstate
);
4142 if (PyErr_Occurred()) SWIG_fail
;
4144 Py_INCREF(Py_None
); resultobj
= Py_None
;
4159 static PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4160 PyObject
*resultobj
;
4161 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
4162 wxVisualAttributes result
;
4163 PyObject
* obj0
= 0 ;
4165 (char *) "variant", NULL
4168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4171 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
4172 if (SWIG_arg_fail(1)) SWIG_fail
;
4176 if (!wxPyCheckForApp()) SWIG_fail
;
4177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4178 result
= wxChoice::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4180 wxPyEndAllowThreads(__tstate
);
4181 if (PyErr_Occurred()) SWIG_fail
;
4184 wxVisualAttributes
* resultptr
;
4185 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
4186 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4194 static PyObject
* Choice_swigregister(PyObject
*, PyObject
*args
) {
4196 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4197 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
4199 return Py_BuildValue((char *)"");
4201 static int _wrap_ComboBoxNameStr_set(PyObject
*) {
4202 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
4207 static PyObject
*_wrap_ComboBoxNameStr_get(void) {
4212 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
4214 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
4221 static PyObject
*_wrap_new_ComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4222 PyObject
*resultobj
;
4223 wxWindow
*arg1
= (wxWindow
*) 0 ;
4224 int arg2
= (int) -1 ;
4225 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4226 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4227 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4228 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4229 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4230 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4231 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
4232 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
4233 long arg7
= (long) 0 ;
4234 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4235 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4236 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
4237 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4239 bool temp3
= false ;
4242 bool temp6
= false ;
4243 bool temp9
= false ;
4244 PyObject
* obj0
= 0 ;
4245 PyObject
* obj1
= 0 ;
4246 PyObject
* obj2
= 0 ;
4247 PyObject
* obj3
= 0 ;
4248 PyObject
* obj4
= 0 ;
4249 PyObject
* obj5
= 0 ;
4250 PyObject
* obj6
= 0 ;
4251 PyObject
* obj7
= 0 ;
4252 PyObject
* obj8
= 0 ;
4254 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4259 if (SWIG_arg_fail(1)) SWIG_fail
;
4262 arg2
= (int)(SWIG_As_int(obj1
));
4263 if (SWIG_arg_fail(2)) SWIG_fail
;
4268 arg3
= wxString_in_helper(obj2
);
4269 if (arg3
== NULL
) SWIG_fail
;
4276 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4282 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4287 if (! PySequence_Check(obj5
)) {
4288 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4291 arg6
= new wxArrayString
;
4293 int i
, len
=PySequence_Length(obj5
);
4294 for (i
=0; i
<len
; i
++) {
4295 PyObject
* item
= PySequence_GetItem(obj5
, i
);
4297 PyObject
* str
= PyObject_Unicode(item
);
4299 PyObject
* str
= PyObject_Str(item
);
4301 if (PyErr_Occurred()) SWIG_fail
;
4302 arg6
->Add(Py2wxString(str
));
4310 arg7
= (long)(SWIG_As_long(obj6
));
4311 if (SWIG_arg_fail(7)) SWIG_fail
;
4316 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4317 if (SWIG_arg_fail(8)) SWIG_fail
;
4319 SWIG_null_ref("wxValidator");
4321 if (SWIG_arg_fail(8)) SWIG_fail
;
4326 arg9
= wxString_in_helper(obj8
);
4327 if (arg9
== NULL
) SWIG_fail
;
4332 if (!wxPyCheckForApp()) SWIG_fail
;
4333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4334 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
);
4336 wxPyEndAllowThreads(__tstate
);
4337 if (PyErr_Occurred()) SWIG_fail
;
4339 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
4345 if (temp6
) delete arg6
;
4358 if (temp6
) delete arg6
;
4368 static PyObject
*_wrap_new_PreComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4369 PyObject
*resultobj
;
4375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
4377 if (!wxPyCheckForApp()) SWIG_fail
;
4378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4379 result
= (wxComboBox
*)new wxComboBox();
4381 wxPyEndAllowThreads(__tstate
);
4382 if (PyErr_Occurred()) SWIG_fail
;
4384 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
4391 static PyObject
*_wrap_ComboBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4392 PyObject
*resultobj
;
4393 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4394 wxWindow
*arg2
= (wxWindow
*) 0 ;
4395 int arg3
= (int) -1 ;
4396 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4397 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4398 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4399 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4400 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4401 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4402 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
4403 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
4404 long arg8
= (long) 0 ;
4405 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
4406 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
4407 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
4408 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
4410 bool temp4
= false ;
4413 bool temp7
= false ;
4414 bool temp10
= false ;
4415 PyObject
* obj0
= 0 ;
4416 PyObject
* obj1
= 0 ;
4417 PyObject
* obj2
= 0 ;
4418 PyObject
* obj3
= 0 ;
4419 PyObject
* obj4
= 0 ;
4420 PyObject
* obj5
= 0 ;
4421 PyObject
* obj6
= 0 ;
4422 PyObject
* obj7
= 0 ;
4423 PyObject
* obj8
= 0 ;
4424 PyObject
* obj9
= 0 ;
4426 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
4430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4431 if (SWIG_arg_fail(1)) SWIG_fail
;
4432 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4433 if (SWIG_arg_fail(2)) SWIG_fail
;
4436 arg3
= (int)(SWIG_As_int(obj2
));
4437 if (SWIG_arg_fail(3)) SWIG_fail
;
4442 arg4
= wxString_in_helper(obj3
);
4443 if (arg4
== NULL
) SWIG_fail
;
4450 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4456 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4461 if (! PySequence_Check(obj6
)) {
4462 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4465 arg7
= new wxArrayString
;
4467 int i
, len
=PySequence_Length(obj6
);
4468 for (i
=0; i
<len
; i
++) {
4469 PyObject
* item
= PySequence_GetItem(obj6
, i
);
4471 PyObject
* str
= PyObject_Unicode(item
);
4473 PyObject
* str
= PyObject_Str(item
);
4475 if (PyErr_Occurred()) SWIG_fail
;
4476 arg7
->Add(Py2wxString(str
));
4484 arg8
= (long)(SWIG_As_long(obj7
));
4485 if (SWIG_arg_fail(8)) SWIG_fail
;
4490 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4491 if (SWIG_arg_fail(9)) SWIG_fail
;
4493 SWIG_null_ref("wxValidator");
4495 if (SWIG_arg_fail(9)) SWIG_fail
;
4500 arg10
= wxString_in_helper(obj9
);
4501 if (arg10
== NULL
) SWIG_fail
;
4506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4507 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
);
4509 wxPyEndAllowThreads(__tstate
);
4510 if (PyErr_Occurred()) SWIG_fail
;
4513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4520 if (temp7
) delete arg7
;
4533 if (temp7
) delete arg7
;
4543 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4544 PyObject
*resultobj
;
4545 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4547 PyObject
* obj0
= 0 ;
4549 (char *) "self", NULL
4552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
4553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4554 if (SWIG_arg_fail(1)) SWIG_fail
;
4556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4557 result
= ((wxComboBox
const *)arg1
)->GetValue();
4559 wxPyEndAllowThreads(__tstate
);
4560 if (PyErr_Occurred()) SWIG_fail
;
4564 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4566 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4575 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4576 PyObject
*resultobj
;
4577 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4578 wxString
*arg2
= 0 ;
4579 bool temp2
= false ;
4580 PyObject
* obj0
= 0 ;
4581 PyObject
* obj1
= 0 ;
4583 (char *) "self",(char *) "value", NULL
4586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",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
= wxString_in_helper(obj1
);
4591 if (arg2
== NULL
) SWIG_fail
;
4595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4596 (arg1
)->SetValue((wxString
const &)*arg2
);
4598 wxPyEndAllowThreads(__tstate
);
4599 if (PyErr_Occurred()) SWIG_fail
;
4601 Py_INCREF(Py_None
); resultobj
= Py_None
;
4616 static PyObject
*_wrap_ComboBox_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4617 PyObject
*resultobj
;
4618 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4619 PyObject
* obj0
= 0 ;
4621 (char *) "self", NULL
4624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
4625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4626 if (SWIG_arg_fail(1)) SWIG_fail
;
4628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4631 wxPyEndAllowThreads(__tstate
);
4632 if (PyErr_Occurred()) SWIG_fail
;
4634 Py_INCREF(Py_None
); resultobj
= Py_None
;
4641 static PyObject
*_wrap_ComboBox_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4642 PyObject
*resultobj
;
4643 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4644 PyObject
* obj0
= 0 ;
4646 (char *) "self", NULL
4649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
4650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4651 if (SWIG_arg_fail(1)) SWIG_fail
;
4653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4656 wxPyEndAllowThreads(__tstate
);
4657 if (PyErr_Occurred()) SWIG_fail
;
4659 Py_INCREF(Py_None
); resultobj
= Py_None
;
4666 static PyObject
*_wrap_ComboBox_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4667 PyObject
*resultobj
;
4668 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4669 PyObject
* obj0
= 0 ;
4671 (char *) "self", NULL
4674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
4675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4676 if (SWIG_arg_fail(1)) SWIG_fail
;
4678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4681 wxPyEndAllowThreads(__tstate
);
4682 if (PyErr_Occurred()) SWIG_fail
;
4684 Py_INCREF(Py_None
); resultobj
= Py_None
;
4691 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4692 PyObject
*resultobj
;
4693 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4695 PyObject
* obj0
= 0 ;
4696 PyObject
* obj1
= 0 ;
4698 (char *) "self",(char *) "pos", NULL
4701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4703 if (SWIG_arg_fail(1)) SWIG_fail
;
4705 arg2
= (long)(SWIG_As_long(obj1
));
4706 if (SWIG_arg_fail(2)) SWIG_fail
;
4709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4710 (arg1
)->SetInsertionPoint(arg2
);
4712 wxPyEndAllowThreads(__tstate
);
4713 if (PyErr_Occurred()) SWIG_fail
;
4715 Py_INCREF(Py_None
); resultobj
= Py_None
;
4722 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4723 PyObject
*resultobj
;
4724 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4726 PyObject
* obj0
= 0 ;
4728 (char *) "self", NULL
4731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
4732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4733 if (SWIG_arg_fail(1)) SWIG_fail
;
4735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4736 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
4738 wxPyEndAllowThreads(__tstate
);
4739 if (PyErr_Occurred()) SWIG_fail
;
4742 resultobj
= SWIG_From_long((long)(result
));
4750 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4751 PyObject
*resultobj
;
4752 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4754 PyObject
* obj0
= 0 ;
4756 (char *) "self", NULL
4759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4764 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
4766 wxPyEndAllowThreads(__tstate
);
4767 if (PyErr_Occurred()) SWIG_fail
;
4770 resultobj
= SWIG_From_long((long)(result
));
4778 static PyObject
*_wrap_ComboBox_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4779 PyObject
*resultobj
;
4780 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4783 wxString
*arg4
= 0 ;
4784 bool temp4
= false ;
4785 PyObject
* obj0
= 0 ;
4786 PyObject
* obj1
= 0 ;
4787 PyObject
* obj2
= 0 ;
4788 PyObject
* obj3
= 0 ;
4790 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
4793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4795 if (SWIG_arg_fail(1)) SWIG_fail
;
4797 arg2
= (long)(SWIG_As_long(obj1
));
4798 if (SWIG_arg_fail(2)) SWIG_fail
;
4801 arg3
= (long)(SWIG_As_long(obj2
));
4802 if (SWIG_arg_fail(3)) SWIG_fail
;
4805 arg4
= wxString_in_helper(obj3
);
4806 if (arg4
== NULL
) SWIG_fail
;
4810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4811 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
4813 wxPyEndAllowThreads(__tstate
);
4814 if (PyErr_Occurred()) SWIG_fail
;
4816 Py_INCREF(Py_None
); resultobj
= Py_None
;
4831 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4832 PyObject
*resultobj
;
4833 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4835 PyObject
* obj0
= 0 ;
4836 PyObject
* obj1
= 0 ;
4838 (char *) "self",(char *) "n", NULL
4841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4850 (arg1
)->SetSelection(arg2
);
4852 wxPyEndAllowThreads(__tstate
);
4853 if (PyErr_Occurred()) SWIG_fail
;
4855 Py_INCREF(Py_None
); resultobj
= Py_None
;
4862 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4863 PyObject
*resultobj
;
4864 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4867 PyObject
* obj0
= 0 ;
4868 PyObject
* obj1
= 0 ;
4869 PyObject
* obj2
= 0 ;
4871 (char *) "self",(char *) "from",(char *) "to", NULL
4874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4876 if (SWIG_arg_fail(1)) SWIG_fail
;
4878 arg2
= (long)(SWIG_As_long(obj1
));
4879 if (SWIG_arg_fail(2)) SWIG_fail
;
4882 arg3
= (long)(SWIG_As_long(obj2
));
4883 if (SWIG_arg_fail(3)) SWIG_fail
;
4886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4887 (arg1
)->SetSelection(arg2
,arg3
);
4889 wxPyEndAllowThreads(__tstate
);
4890 if (PyErr_Occurred()) SWIG_fail
;
4892 Py_INCREF(Py_None
); resultobj
= Py_None
;
4899 static PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4900 PyObject
*resultobj
;
4901 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4902 wxString
*arg2
= 0 ;
4904 bool temp2
= false ;
4905 PyObject
* obj0
= 0 ;
4906 PyObject
* obj1
= 0 ;
4908 (char *) "self",(char *) "string", NULL
4911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
4912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4913 if (SWIG_arg_fail(1)) SWIG_fail
;
4915 arg2
= wxString_in_helper(obj1
);
4916 if (arg2
== NULL
) SWIG_fail
;
4920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4921 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
4923 wxPyEndAllowThreads(__tstate
);
4924 if (PyErr_Occurred()) SWIG_fail
;
4927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4943 static PyObject
*_wrap_ComboBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4944 PyObject
*resultobj
;
4945 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4947 wxString
*arg3
= 0 ;
4948 bool temp3
= false ;
4949 PyObject
* obj0
= 0 ;
4950 PyObject
* obj1
= 0 ;
4951 PyObject
* obj2
= 0 ;
4953 (char *) "self",(char *) "n",(char *) "string", NULL
4956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4958 if (SWIG_arg_fail(1)) SWIG_fail
;
4960 arg2
= (int)(SWIG_As_int(obj1
));
4961 if (SWIG_arg_fail(2)) SWIG_fail
;
4964 arg3
= wxString_in_helper(obj2
);
4965 if (arg3
== NULL
) SWIG_fail
;
4969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4970 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
4972 wxPyEndAllowThreads(__tstate
);
4973 if (PyErr_Occurred()) SWIG_fail
;
4975 Py_INCREF(Py_None
); resultobj
= Py_None
;
4990 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4991 PyObject
*resultobj
;
4992 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4994 PyObject
* obj0
= 0 ;
4995 PyObject
* obj1
= 0 ;
4997 (char *) "self",(char *) "editable", NULL
5000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
5001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5002 if (SWIG_arg_fail(1)) SWIG_fail
;
5004 arg2
= (bool)(SWIG_As_bool(obj1
));
5005 if (SWIG_arg_fail(2)) SWIG_fail
;
5008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5009 (arg1
)->SetEditable(arg2
);
5011 wxPyEndAllowThreads(__tstate
);
5012 if (PyErr_Occurred()) SWIG_fail
;
5014 Py_INCREF(Py_None
); resultobj
= Py_None
;
5021 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(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_SetInsertionPointEnd",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();
5034 (arg1
)->SetInsertionPointEnd();
5036 wxPyEndAllowThreads(__tstate
);
5037 if (PyErr_Occurred()) SWIG_fail
;
5039 Py_INCREF(Py_None
); resultobj
= Py_None
;
5046 static PyObject
*_wrap_ComboBox_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5047 PyObject
*resultobj
;
5048 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5051 PyObject
* obj0
= 0 ;
5052 PyObject
* obj1
= 0 ;
5053 PyObject
* obj2
= 0 ;
5055 (char *) "self",(char *) "from",(char *) "to", NULL
5058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5060 if (SWIG_arg_fail(1)) SWIG_fail
;
5062 arg2
= (long)(SWIG_As_long(obj1
));
5063 if (SWIG_arg_fail(2)) SWIG_fail
;
5066 arg3
= (long)(SWIG_As_long(obj2
));
5067 if (SWIG_arg_fail(3)) SWIG_fail
;
5070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5071 (arg1
)->Remove(arg2
,arg3
);
5073 wxPyEndAllowThreads(__tstate
);
5074 if (PyErr_Occurred()) SWIG_fail
;
5076 Py_INCREF(Py_None
); resultobj
= Py_None
;
5083 static PyObject
*_wrap_ComboBox_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5084 PyObject
*resultobj
;
5085 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5087 PyObject
* obj0
= 0 ;
5089 (char *) "self", NULL
5092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_IsEditable",kwnames
,&obj0
)) goto fail
;
5093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5094 if (SWIG_arg_fail(1)) SWIG_fail
;
5096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5097 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
5099 wxPyEndAllowThreads(__tstate
);
5100 if (PyErr_Occurred()) SWIG_fail
;
5103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5111 static PyObject
*_wrap_ComboBox_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5112 PyObject
*resultobj
;
5113 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5114 PyObject
* obj0
= 0 ;
5116 (char *) "self", NULL
5119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Undo",kwnames
,&obj0
)) goto fail
;
5120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5121 if (SWIG_arg_fail(1)) SWIG_fail
;
5123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5126 wxPyEndAllowThreads(__tstate
);
5127 if (PyErr_Occurred()) SWIG_fail
;
5129 Py_INCREF(Py_None
); resultobj
= Py_None
;
5136 static PyObject
*_wrap_ComboBox_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5137 PyObject
*resultobj
;
5138 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5139 PyObject
* obj0
= 0 ;
5141 (char *) "self", NULL
5144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Redo",kwnames
,&obj0
)) goto fail
;
5145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5146 if (SWIG_arg_fail(1)) SWIG_fail
;
5148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5151 wxPyEndAllowThreads(__tstate
);
5152 if (PyErr_Occurred()) SWIG_fail
;
5154 Py_INCREF(Py_None
); resultobj
= Py_None
;
5161 static PyObject
*_wrap_ComboBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5162 PyObject
*resultobj
;
5163 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5164 PyObject
* obj0
= 0 ;
5166 (char *) "self", NULL
5169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SelectAll",kwnames
,&obj0
)) goto fail
;
5170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5171 if (SWIG_arg_fail(1)) SWIG_fail
;
5173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5174 (arg1
)->SelectAll();
5176 wxPyEndAllowThreads(__tstate
);
5177 if (PyErr_Occurred()) SWIG_fail
;
5179 Py_INCREF(Py_None
); resultobj
= Py_None
;
5186 static PyObject
*_wrap_ComboBox_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5187 PyObject
*resultobj
;
5188 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5190 PyObject
* obj0
= 0 ;
5192 (char *) "self", NULL
5195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanCopy",kwnames
,&obj0
)) goto fail
;
5196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5197 if (SWIG_arg_fail(1)) SWIG_fail
;
5199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5200 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
5202 wxPyEndAllowThreads(__tstate
);
5203 if (PyErr_Occurred()) SWIG_fail
;
5206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5214 static PyObject
*_wrap_ComboBox_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5215 PyObject
*resultobj
;
5216 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5218 PyObject
* obj0
= 0 ;
5220 (char *) "self", NULL
5223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanCut",kwnames
,&obj0
)) goto fail
;
5224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5225 if (SWIG_arg_fail(1)) SWIG_fail
;
5227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5228 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
5230 wxPyEndAllowThreads(__tstate
);
5231 if (PyErr_Occurred()) SWIG_fail
;
5234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5242 static PyObject
*_wrap_ComboBox_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5243 PyObject
*resultobj
;
5244 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5246 PyObject
* obj0
= 0 ;
5248 (char *) "self", NULL
5251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanPaste",kwnames
,&obj0
)) goto fail
;
5252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5253 if (SWIG_arg_fail(1)) SWIG_fail
;
5255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5256 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
5258 wxPyEndAllowThreads(__tstate
);
5259 if (PyErr_Occurred()) SWIG_fail
;
5262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5270 static PyObject
*_wrap_ComboBox_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5271 PyObject
*resultobj
;
5272 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5274 PyObject
* obj0
= 0 ;
5276 (char *) "self", NULL
5279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanUndo",kwnames
,&obj0
)) goto fail
;
5280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5281 if (SWIG_arg_fail(1)) SWIG_fail
;
5283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5284 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
5286 wxPyEndAllowThreads(__tstate
);
5287 if (PyErr_Occurred()) SWIG_fail
;
5290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5298 static PyObject
*_wrap_ComboBox_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5299 PyObject
*resultobj
;
5300 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5302 PyObject
* obj0
= 0 ;
5304 (char *) "self", NULL
5307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanRedo",kwnames
,&obj0
)) goto fail
;
5308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5309 if (SWIG_arg_fail(1)) SWIG_fail
;
5311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5312 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
5314 wxPyEndAllowThreads(__tstate
);
5315 if (PyErr_Occurred()) SWIG_fail
;
5318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5326 static PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5327 PyObject
*resultobj
;
5328 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5329 wxVisualAttributes result
;
5330 PyObject
* obj0
= 0 ;
5332 (char *) "variant", NULL
5335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5338 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
5339 if (SWIG_arg_fail(1)) SWIG_fail
;
5343 if (!wxPyCheckForApp()) SWIG_fail
;
5344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5345 result
= wxComboBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5347 wxPyEndAllowThreads(__tstate
);
5348 if (PyErr_Occurred()) SWIG_fail
;
5351 wxVisualAttributes
* resultptr
;
5352 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
5353 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5361 static PyObject
* ComboBox_swigregister(PyObject
*, PyObject
*args
) {
5363 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5364 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
5366 return Py_BuildValue((char *)"");
5368 static int _wrap_GaugeNameStr_set(PyObject
*) {
5369 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
5374 static PyObject
*_wrap_GaugeNameStr_get(void) {
5379 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
5381 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
5388 static PyObject
*_wrap_new_Gauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5389 PyObject
*resultobj
;
5390 wxWindow
*arg1
= (wxWindow
*) 0 ;
5391 int arg2
= (int) -1 ;
5392 int arg3
= (int) 100 ;
5393 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5394 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5395 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5396 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5397 long arg6
= (long) wxGA_HORIZONTAL
;
5398 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5399 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5400 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
5401 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5405 bool temp8
= false ;
5406 PyObject
* obj0
= 0 ;
5407 PyObject
* obj1
= 0 ;
5408 PyObject
* obj2
= 0 ;
5409 PyObject
* obj3
= 0 ;
5410 PyObject
* obj4
= 0 ;
5411 PyObject
* obj5
= 0 ;
5412 PyObject
* obj6
= 0 ;
5413 PyObject
* obj7
= 0 ;
5415 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5420 if (SWIG_arg_fail(1)) SWIG_fail
;
5423 arg2
= (int)(SWIG_As_int(obj1
));
5424 if (SWIG_arg_fail(2)) SWIG_fail
;
5429 arg3
= (int)(SWIG_As_int(obj2
));
5430 if (SWIG_arg_fail(3)) SWIG_fail
;
5436 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5442 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5447 arg6
= (long)(SWIG_As_long(obj5
));
5448 if (SWIG_arg_fail(6)) SWIG_fail
;
5453 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
5454 if (SWIG_arg_fail(7)) SWIG_fail
;
5456 SWIG_null_ref("wxValidator");
5458 if (SWIG_arg_fail(7)) SWIG_fail
;
5463 arg8
= wxString_in_helper(obj7
);
5464 if (arg8
== NULL
) SWIG_fail
;
5469 if (!wxPyCheckForApp()) SWIG_fail
;
5470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5471 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5473 wxPyEndAllowThreads(__tstate
);
5474 if (PyErr_Occurred()) SWIG_fail
;
5476 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
5491 static PyObject
*_wrap_new_PreGauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5492 PyObject
*resultobj
;
5498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
5500 if (!wxPyCheckForApp()) SWIG_fail
;
5501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5502 result
= (wxGauge
*)new wxGauge();
5504 wxPyEndAllowThreads(__tstate
);
5505 if (PyErr_Occurred()) SWIG_fail
;
5507 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
5514 static PyObject
*_wrap_Gauge_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5515 PyObject
*resultobj
;
5516 wxGauge
*arg1
= (wxGauge
*) 0 ;
5517 wxWindow
*arg2
= (wxWindow
*) 0 ;
5518 int arg3
= (int) -1 ;
5519 int arg4
= (int) 100 ;
5520 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5521 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5522 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5523 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5524 long arg7
= (long) wxGA_HORIZONTAL
;
5525 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5526 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5527 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
5528 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5532 bool temp9
= false ;
5533 PyObject
* obj0
= 0 ;
5534 PyObject
* obj1
= 0 ;
5535 PyObject
* obj2
= 0 ;
5536 PyObject
* obj3
= 0 ;
5537 PyObject
* obj4
= 0 ;
5538 PyObject
* obj5
= 0 ;
5539 PyObject
* obj6
= 0 ;
5540 PyObject
* obj7
= 0 ;
5541 PyObject
* obj8
= 0 ;
5543 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5548 if (SWIG_arg_fail(1)) SWIG_fail
;
5549 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5550 if (SWIG_arg_fail(2)) SWIG_fail
;
5553 arg3
= (int)(SWIG_As_int(obj2
));
5554 if (SWIG_arg_fail(3)) SWIG_fail
;
5559 arg4
= (int)(SWIG_As_int(obj3
));
5560 if (SWIG_arg_fail(4)) SWIG_fail
;
5566 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5572 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5577 arg7
= (long)(SWIG_As_long(obj6
));
5578 if (SWIG_arg_fail(7)) SWIG_fail
;
5583 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
5584 if (SWIG_arg_fail(8)) SWIG_fail
;
5586 SWIG_null_ref("wxValidator");
5588 if (SWIG_arg_fail(8)) SWIG_fail
;
5593 arg9
= wxString_in_helper(obj8
);
5594 if (arg9
== NULL
) SWIG_fail
;
5599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5600 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5602 wxPyEndAllowThreads(__tstate
);
5603 if (PyErr_Occurred()) SWIG_fail
;
5606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5622 static PyObject
*_wrap_Gauge_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5623 PyObject
*resultobj
;
5624 wxGauge
*arg1
= (wxGauge
*) 0 ;
5626 PyObject
* obj0
= 0 ;
5627 PyObject
* obj1
= 0 ;
5629 (char *) "self",(char *) "range", NULL
5632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
5633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5634 if (SWIG_arg_fail(1)) SWIG_fail
;
5636 arg2
= (int)(SWIG_As_int(obj1
));
5637 if (SWIG_arg_fail(2)) SWIG_fail
;
5640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5641 (arg1
)->SetRange(arg2
);
5643 wxPyEndAllowThreads(__tstate
);
5644 if (PyErr_Occurred()) SWIG_fail
;
5646 Py_INCREF(Py_None
); resultobj
= Py_None
;
5653 static PyObject
*_wrap_Gauge_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5654 PyObject
*resultobj
;
5655 wxGauge
*arg1
= (wxGauge
*) 0 ;
5657 PyObject
* obj0
= 0 ;
5659 (char *) "self", NULL
5662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
5663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5664 if (SWIG_arg_fail(1)) SWIG_fail
;
5666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5667 result
= (int)((wxGauge
const *)arg1
)->GetRange();
5669 wxPyEndAllowThreads(__tstate
);
5670 if (PyErr_Occurred()) SWIG_fail
;
5673 resultobj
= SWIG_From_int((int)(result
));
5681 static PyObject
*_wrap_Gauge_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5682 PyObject
*resultobj
;
5683 wxGauge
*arg1
= (wxGauge
*) 0 ;
5685 PyObject
* obj0
= 0 ;
5686 PyObject
* obj1
= 0 ;
5688 (char *) "self",(char *) "pos", NULL
5691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
5692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5693 if (SWIG_arg_fail(1)) SWIG_fail
;
5695 arg2
= (int)(SWIG_As_int(obj1
));
5696 if (SWIG_arg_fail(2)) SWIG_fail
;
5699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5700 (arg1
)->SetValue(arg2
);
5702 wxPyEndAllowThreads(__tstate
);
5703 if (PyErr_Occurred()) SWIG_fail
;
5705 Py_INCREF(Py_None
); resultobj
= Py_None
;
5712 static PyObject
*_wrap_Gauge_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5713 PyObject
*resultobj
;
5714 wxGauge
*arg1
= (wxGauge
*) 0 ;
5716 PyObject
* obj0
= 0 ;
5718 (char *) "self", NULL
5721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
5722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5723 if (SWIG_arg_fail(1)) SWIG_fail
;
5725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5726 result
= (int)((wxGauge
const *)arg1
)->GetValue();
5728 wxPyEndAllowThreads(__tstate
);
5729 if (PyErr_Occurred()) SWIG_fail
;
5732 resultobj
= SWIG_From_int((int)(result
));
5740 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5741 PyObject
*resultobj
;
5742 wxGauge
*arg1
= (wxGauge
*) 0 ;
5744 PyObject
* obj0
= 0 ;
5746 (char *) "self", NULL
5749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
5750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5751 if (SWIG_arg_fail(1)) SWIG_fail
;
5753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5754 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
5756 wxPyEndAllowThreads(__tstate
);
5757 if (PyErr_Occurred()) SWIG_fail
;
5760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5768 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5769 PyObject
*resultobj
;
5770 wxGauge
*arg1
= (wxGauge
*) 0 ;
5772 PyObject
* obj0
= 0 ;
5773 PyObject
* obj1
= 0 ;
5775 (char *) "self",(char *) "w", NULL
5778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5780 if (SWIG_arg_fail(1)) SWIG_fail
;
5782 arg2
= (int)(SWIG_As_int(obj1
));
5783 if (SWIG_arg_fail(2)) SWIG_fail
;
5786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5787 (arg1
)->SetShadowWidth(arg2
);
5789 wxPyEndAllowThreads(__tstate
);
5790 if (PyErr_Occurred()) SWIG_fail
;
5792 Py_INCREF(Py_None
); resultobj
= Py_None
;
5799 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5800 PyObject
*resultobj
;
5801 wxGauge
*arg1
= (wxGauge
*) 0 ;
5803 PyObject
* obj0
= 0 ;
5805 (char *) "self", NULL
5808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
5809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5810 if (SWIG_arg_fail(1)) SWIG_fail
;
5812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5813 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
5815 wxPyEndAllowThreads(__tstate
);
5816 if (PyErr_Occurred()) SWIG_fail
;
5819 resultobj
= SWIG_From_int((int)(result
));
5827 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5828 PyObject
*resultobj
;
5829 wxGauge
*arg1
= (wxGauge
*) 0 ;
5831 PyObject
* obj0
= 0 ;
5832 PyObject
* obj1
= 0 ;
5834 (char *) "self",(char *) "w", NULL
5837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
5838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5839 if (SWIG_arg_fail(1)) SWIG_fail
;
5841 arg2
= (int)(SWIG_As_int(obj1
));
5842 if (SWIG_arg_fail(2)) SWIG_fail
;
5845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5846 (arg1
)->SetBezelFace(arg2
);
5848 wxPyEndAllowThreads(__tstate
);
5849 if (PyErr_Occurred()) SWIG_fail
;
5851 Py_INCREF(Py_None
); resultobj
= Py_None
;
5858 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5859 PyObject
*resultobj
;
5860 wxGauge
*arg1
= (wxGauge
*) 0 ;
5862 PyObject
* obj0
= 0 ;
5864 (char *) "self", NULL
5867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
5868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5869 if (SWIG_arg_fail(1)) SWIG_fail
;
5871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5872 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
5874 wxPyEndAllowThreads(__tstate
);
5875 if (PyErr_Occurred()) SWIG_fail
;
5878 resultobj
= SWIG_From_int((int)(result
));
5886 static PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5887 PyObject
*resultobj
;
5888 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5889 wxVisualAttributes result
;
5890 PyObject
* obj0
= 0 ;
5892 (char *) "variant", NULL
5895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5898 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
5899 if (SWIG_arg_fail(1)) SWIG_fail
;
5903 if (!wxPyCheckForApp()) SWIG_fail
;
5904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5905 result
= wxGauge::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5907 wxPyEndAllowThreads(__tstate
);
5908 if (PyErr_Occurred()) SWIG_fail
;
5911 wxVisualAttributes
* resultptr
;
5912 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
5913 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5921 static PyObject
* Gauge_swigregister(PyObject
*, PyObject
*args
) {
5923 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5924 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
5926 return Py_BuildValue((char *)"");
5928 static int _wrap_StaticBitmapNameStr_set(PyObject
*) {
5929 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
5934 static PyObject
*_wrap_StaticBitmapNameStr_get(void) {
5939 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
5941 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
5948 static int _wrap_StaticBoxNameStr_set(PyObject
*) {
5949 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
5954 static PyObject
*_wrap_StaticBoxNameStr_get(void) {
5959 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
5961 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
5968 static int _wrap_StaticTextNameStr_set(PyObject
*) {
5969 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
5974 static PyObject
*_wrap_StaticTextNameStr_get(void) {
5979 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
5981 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
5988 static PyObject
*_wrap_new_StaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5989 PyObject
*resultobj
;
5990 wxWindow
*arg1
= (wxWindow
*) 0 ;
5991 int arg2
= (int) -1 ;
5992 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5993 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5994 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5995 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5996 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5997 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5998 long arg6
= (long) 0 ;
5999 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
6000 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6001 wxStaticBox
*result
;
6002 bool temp3
= false ;
6005 bool temp7
= false ;
6006 PyObject
* obj0
= 0 ;
6007 PyObject
* obj1
= 0 ;
6008 PyObject
* obj2
= 0 ;
6009 PyObject
* obj3
= 0 ;
6010 PyObject
* obj4
= 0 ;
6011 PyObject
* obj5
= 0 ;
6012 PyObject
* obj6
= 0 ;
6014 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6019 if (SWIG_arg_fail(1)) SWIG_fail
;
6022 arg2
= (int)(SWIG_As_int(obj1
));
6023 if (SWIG_arg_fail(2)) SWIG_fail
;
6028 arg3
= wxString_in_helper(obj2
);
6029 if (arg3
== NULL
) SWIG_fail
;
6036 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6042 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6047 arg6
= (long)(SWIG_As_long(obj5
));
6048 if (SWIG_arg_fail(6)) SWIG_fail
;
6053 arg7
= wxString_in_helper(obj6
);
6054 if (arg7
== NULL
) SWIG_fail
;
6059 if (!wxPyCheckForApp()) SWIG_fail
;
6060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6061 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6063 wxPyEndAllowThreads(__tstate
);
6064 if (PyErr_Occurred()) SWIG_fail
;
6066 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
6089 static PyObject
*_wrap_new_PreStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6090 PyObject
*resultobj
;
6091 wxStaticBox
*result
;
6096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
6098 if (!wxPyCheckForApp()) SWIG_fail
;
6099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6100 result
= (wxStaticBox
*)new wxStaticBox();
6102 wxPyEndAllowThreads(__tstate
);
6103 if (PyErr_Occurred()) SWIG_fail
;
6105 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
6112 static PyObject
*_wrap_StaticBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6113 PyObject
*resultobj
;
6114 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
6115 wxWindow
*arg2
= (wxWindow
*) 0 ;
6116 int arg3
= (int) -1 ;
6117 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6118 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6119 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6120 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6121 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6122 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6123 long arg7
= (long) 0 ;
6124 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
6125 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6127 bool temp4
= false ;
6130 bool temp8
= false ;
6131 PyObject
* obj0
= 0 ;
6132 PyObject
* obj1
= 0 ;
6133 PyObject
* obj2
= 0 ;
6134 PyObject
* obj3
= 0 ;
6135 PyObject
* obj4
= 0 ;
6136 PyObject
* obj5
= 0 ;
6137 PyObject
* obj6
= 0 ;
6138 PyObject
* obj7
= 0 ;
6140 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
6145 if (SWIG_arg_fail(1)) SWIG_fail
;
6146 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6147 if (SWIG_arg_fail(2)) SWIG_fail
;
6150 arg3
= (int)(SWIG_As_int(obj2
));
6151 if (SWIG_arg_fail(3)) SWIG_fail
;
6156 arg4
= wxString_in_helper(obj3
);
6157 if (arg4
== NULL
) SWIG_fail
;
6164 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6170 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6175 arg7
= (long)(SWIG_As_long(obj6
));
6176 if (SWIG_arg_fail(7)) SWIG_fail
;
6181 arg8
= wxString_in_helper(obj7
);
6182 if (arg8
== NULL
) SWIG_fail
;
6187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6188 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6190 wxPyEndAllowThreads(__tstate
);
6191 if (PyErr_Occurred()) SWIG_fail
;
6194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6218 static PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6219 PyObject
*resultobj
;
6220 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6221 wxVisualAttributes result
;
6222 PyObject
* obj0
= 0 ;
6224 (char *) "variant", NULL
6227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6230 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6231 if (SWIG_arg_fail(1)) SWIG_fail
;
6235 if (!wxPyCheckForApp()) SWIG_fail
;
6236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6237 result
= wxStaticBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6239 wxPyEndAllowThreads(__tstate
);
6240 if (PyErr_Occurred()) SWIG_fail
;
6243 wxVisualAttributes
* resultptr
;
6244 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6245 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6253 static PyObject
* StaticBox_swigregister(PyObject
*, PyObject
*args
) {
6255 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6256 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
6258 return Py_BuildValue((char *)"");
6260 static PyObject
*_wrap_new_StaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6261 PyObject
*resultobj
;
6262 wxWindow
*arg1
= (wxWindow
*) 0 ;
6263 int arg2
= (int) -1 ;
6264 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6265 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6266 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6267 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6268 long arg5
= (long) wxLI_HORIZONTAL
;
6269 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
6270 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6271 wxStaticLine
*result
;
6274 bool temp6
= false ;
6275 PyObject
* obj0
= 0 ;
6276 PyObject
* obj1
= 0 ;
6277 PyObject
* obj2
= 0 ;
6278 PyObject
* obj3
= 0 ;
6279 PyObject
* obj4
= 0 ;
6280 PyObject
* obj5
= 0 ;
6282 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6287 if (SWIG_arg_fail(1)) SWIG_fail
;
6290 arg2
= (int)(SWIG_As_int(obj1
));
6291 if (SWIG_arg_fail(2)) SWIG_fail
;
6297 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6303 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6308 arg5
= (long)(SWIG_As_long(obj4
));
6309 if (SWIG_arg_fail(5)) SWIG_fail
;
6314 arg6
= wxString_in_helper(obj5
);
6315 if (arg6
== NULL
) SWIG_fail
;
6320 if (!wxPyCheckForApp()) SWIG_fail
;
6321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6322 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6324 wxPyEndAllowThreads(__tstate
);
6325 if (PyErr_Occurred()) SWIG_fail
;
6327 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
6342 static PyObject
*_wrap_new_PreStaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6343 PyObject
*resultobj
;
6344 wxStaticLine
*result
;
6349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
6351 if (!wxPyCheckForApp()) SWIG_fail
;
6352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6353 result
= (wxStaticLine
*)new wxStaticLine();
6355 wxPyEndAllowThreads(__tstate
);
6356 if (PyErr_Occurred()) SWIG_fail
;
6358 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
6365 static PyObject
*_wrap_StaticLine_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6366 PyObject
*resultobj
;
6367 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
6368 wxWindow
*arg2
= (wxWindow
*) 0 ;
6369 int arg3
= (int) -1 ;
6370 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6371 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6372 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6373 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6374 long arg6
= (long) wxLI_HORIZONTAL
;
6375 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
6376 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6380 bool temp7
= false ;
6381 PyObject
* obj0
= 0 ;
6382 PyObject
* obj1
= 0 ;
6383 PyObject
* obj2
= 0 ;
6384 PyObject
* obj3
= 0 ;
6385 PyObject
* obj4
= 0 ;
6386 PyObject
* obj5
= 0 ;
6387 PyObject
* obj6
= 0 ;
6389 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_EXCEPTION
| 0);
6394 if (SWIG_arg_fail(1)) SWIG_fail
;
6395 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6396 if (SWIG_arg_fail(2)) SWIG_fail
;
6399 arg3
= (int)(SWIG_As_int(obj2
));
6400 if (SWIG_arg_fail(3)) SWIG_fail
;
6406 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6412 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6417 arg6
= (long)(SWIG_As_long(obj5
));
6418 if (SWIG_arg_fail(6)) SWIG_fail
;
6423 arg7
= wxString_in_helper(obj6
);
6424 if (arg7
== NULL
) SWIG_fail
;
6429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6430 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6432 wxPyEndAllowThreads(__tstate
);
6433 if (PyErr_Occurred()) SWIG_fail
;
6436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6452 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6453 PyObject
*resultobj
;
6454 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
6456 PyObject
* obj0
= 0 ;
6458 (char *) "self", NULL
6461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
6462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_EXCEPTION
| 0);
6463 if (SWIG_arg_fail(1)) SWIG_fail
;
6465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6466 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
6468 wxPyEndAllowThreads(__tstate
);
6469 if (PyErr_Occurred()) SWIG_fail
;
6472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6480 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6481 PyObject
*resultobj
;
6487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
6489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6490 result
= (int)wxStaticLine::GetDefaultSize();
6492 wxPyEndAllowThreads(__tstate
);
6493 if (PyErr_Occurred()) SWIG_fail
;
6496 resultobj
= SWIG_From_int((int)(result
));
6504 static PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6505 PyObject
*resultobj
;
6506 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6507 wxVisualAttributes result
;
6508 PyObject
* obj0
= 0 ;
6510 (char *) "variant", NULL
6513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6516 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6517 if (SWIG_arg_fail(1)) SWIG_fail
;
6521 if (!wxPyCheckForApp()) SWIG_fail
;
6522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6523 result
= wxStaticLine::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6525 wxPyEndAllowThreads(__tstate
);
6526 if (PyErr_Occurred()) SWIG_fail
;
6529 wxVisualAttributes
* resultptr
;
6530 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6531 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6539 static PyObject
* StaticLine_swigregister(PyObject
*, PyObject
*args
) {
6541 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6542 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
6544 return Py_BuildValue((char *)"");
6546 static PyObject
*_wrap_new_StaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6547 PyObject
*resultobj
;
6548 wxWindow
*arg1
= (wxWindow
*) 0 ;
6549 int arg2
= (int) -1 ;
6550 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6551 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6552 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6553 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6554 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6555 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6556 long arg6
= (long) 0 ;
6557 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
6558 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6559 wxStaticText
*result
;
6560 bool temp3
= false ;
6563 bool temp7
= false ;
6564 PyObject
* obj0
= 0 ;
6565 PyObject
* obj1
= 0 ;
6566 PyObject
* obj2
= 0 ;
6567 PyObject
* obj3
= 0 ;
6568 PyObject
* obj4
= 0 ;
6569 PyObject
* obj5
= 0 ;
6570 PyObject
* obj6
= 0 ;
6572 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6577 if (SWIG_arg_fail(1)) SWIG_fail
;
6580 arg2
= (int)(SWIG_As_int(obj1
));
6581 if (SWIG_arg_fail(2)) SWIG_fail
;
6586 arg3
= wxString_in_helper(obj2
);
6587 if (arg3
== NULL
) SWIG_fail
;
6594 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6600 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6605 arg6
= (long)(SWIG_As_long(obj5
));
6606 if (SWIG_arg_fail(6)) SWIG_fail
;
6611 arg7
= wxString_in_helper(obj6
);
6612 if (arg7
== NULL
) SWIG_fail
;
6617 if (!wxPyCheckForApp()) SWIG_fail
;
6618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6619 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6621 wxPyEndAllowThreads(__tstate
);
6622 if (PyErr_Occurred()) SWIG_fail
;
6624 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
6647 static PyObject
*_wrap_new_PreStaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6648 PyObject
*resultobj
;
6649 wxStaticText
*result
;
6654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
6656 if (!wxPyCheckForApp()) SWIG_fail
;
6657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6658 result
= (wxStaticText
*)new wxStaticText();
6660 wxPyEndAllowThreads(__tstate
);
6661 if (PyErr_Occurred()) SWIG_fail
;
6663 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
6670 static PyObject
*_wrap_StaticText_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6671 PyObject
*resultobj
;
6672 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
6673 wxWindow
*arg2
= (wxWindow
*) 0 ;
6674 int arg3
= (int) -1 ;
6675 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6676 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6677 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6678 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6679 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6680 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6681 long arg7
= (long) 0 ;
6682 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
6683 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6685 bool temp4
= false ;
6688 bool temp8
= false ;
6689 PyObject
* obj0
= 0 ;
6690 PyObject
* obj1
= 0 ;
6691 PyObject
* obj2
= 0 ;
6692 PyObject
* obj3
= 0 ;
6693 PyObject
* obj4
= 0 ;
6694 PyObject
* obj5
= 0 ;
6695 PyObject
* obj6
= 0 ;
6696 PyObject
* obj7
= 0 ;
6698 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticText
, SWIG_POINTER_EXCEPTION
| 0);
6703 if (SWIG_arg_fail(1)) SWIG_fail
;
6704 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6705 if (SWIG_arg_fail(2)) SWIG_fail
;
6708 arg3
= (int)(SWIG_As_int(obj2
));
6709 if (SWIG_arg_fail(3)) SWIG_fail
;
6714 arg4
= wxString_in_helper(obj3
);
6715 if (arg4
== NULL
) SWIG_fail
;
6722 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6728 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6733 arg7
= (long)(SWIG_As_long(obj6
));
6734 if (SWIG_arg_fail(7)) SWIG_fail
;
6739 arg8
= wxString_in_helper(obj7
);
6740 if (arg8
== NULL
) SWIG_fail
;
6745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6746 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6748 wxPyEndAllowThreads(__tstate
);
6749 if (PyErr_Occurred()) SWIG_fail
;
6752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6776 static PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6777 PyObject
*resultobj
;
6778 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6779 wxVisualAttributes result
;
6780 PyObject
* obj0
= 0 ;
6782 (char *) "variant", NULL
6785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6788 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6789 if (SWIG_arg_fail(1)) SWIG_fail
;
6793 if (!wxPyCheckForApp()) SWIG_fail
;
6794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6795 result
= wxStaticText::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6797 wxPyEndAllowThreads(__tstate
);
6798 if (PyErr_Occurred()) SWIG_fail
;
6801 wxVisualAttributes
* resultptr
;
6802 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6803 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6811 static PyObject
* StaticText_swigregister(PyObject
*, PyObject
*args
) {
6813 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6814 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
6816 return Py_BuildValue((char *)"");
6818 static PyObject
*_wrap_new_StaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6819 PyObject
*resultobj
;
6820 wxWindow
*arg1
= (wxWindow
*) 0 ;
6821 int arg2
= (int) -1 ;
6822 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
6823 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
6824 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6825 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6826 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6827 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6828 long arg6
= (long) 0 ;
6829 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
6830 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6831 wxStaticBitmap
*result
;
6834 bool temp7
= false ;
6835 PyObject
* obj0
= 0 ;
6836 PyObject
* obj1
= 0 ;
6837 PyObject
* obj2
= 0 ;
6838 PyObject
* obj3
= 0 ;
6839 PyObject
* obj4
= 0 ;
6840 PyObject
* obj5
= 0 ;
6841 PyObject
* obj6
= 0 ;
6843 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6848 if (SWIG_arg_fail(1)) SWIG_fail
;
6851 arg2
= (int)(SWIG_As_int(obj1
));
6852 if (SWIG_arg_fail(2)) SWIG_fail
;
6857 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6858 if (SWIG_arg_fail(3)) SWIG_fail
;
6860 SWIG_null_ref("wxBitmap");
6862 if (SWIG_arg_fail(3)) SWIG_fail
;
6868 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6874 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6879 arg6
= (long)(SWIG_As_long(obj5
));
6880 if (SWIG_arg_fail(6)) SWIG_fail
;
6885 arg7
= wxString_in_helper(obj6
);
6886 if (arg7
== NULL
) SWIG_fail
;
6891 if (!wxPyCheckForApp()) SWIG_fail
;
6892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6893 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6895 wxPyEndAllowThreads(__tstate
);
6896 if (PyErr_Occurred()) SWIG_fail
;
6898 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
6913 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6914 PyObject
*resultobj
;
6915 wxStaticBitmap
*result
;
6920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
6922 if (!wxPyCheckForApp()) SWIG_fail
;
6923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6924 result
= (wxStaticBitmap
*)new wxStaticBitmap();
6926 wxPyEndAllowThreads(__tstate
);
6927 if (PyErr_Occurred()) SWIG_fail
;
6929 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
6936 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6937 PyObject
*resultobj
;
6938 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
6939 wxWindow
*arg2
= (wxWindow
*) 0 ;
6940 int arg3
= (int) -1 ;
6941 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
6942 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
6943 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6944 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6945 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6946 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6947 long arg7
= (long) 0 ;
6948 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
6949 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6953 bool temp8
= false ;
6954 PyObject
* obj0
= 0 ;
6955 PyObject
* obj1
= 0 ;
6956 PyObject
* obj2
= 0 ;
6957 PyObject
* obj3
= 0 ;
6958 PyObject
* obj4
= 0 ;
6959 PyObject
* obj5
= 0 ;
6960 PyObject
* obj6
= 0 ;
6961 PyObject
* obj7
= 0 ;
6963 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6968 if (SWIG_arg_fail(1)) SWIG_fail
;
6969 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6970 if (SWIG_arg_fail(2)) SWIG_fail
;
6973 arg3
= (int)(SWIG_As_int(obj2
));
6974 if (SWIG_arg_fail(3)) SWIG_fail
;
6979 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6980 if (SWIG_arg_fail(4)) SWIG_fail
;
6982 SWIG_null_ref("wxBitmap");
6984 if (SWIG_arg_fail(4)) SWIG_fail
;
6990 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6996 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7001 arg7
= (long)(SWIG_As_long(obj6
));
7002 if (SWIG_arg_fail(7)) SWIG_fail
;
7007 arg8
= wxString_in_helper(obj7
);
7008 if (arg8
== NULL
) SWIG_fail
;
7013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7014 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7016 wxPyEndAllowThreads(__tstate
);
7017 if (PyErr_Occurred()) SWIG_fail
;
7020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7036 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7037 PyObject
*resultobj
;
7038 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
7040 PyObject
* obj0
= 0 ;
7042 (char *) "self", NULL
7045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
7046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7047 if (SWIG_arg_fail(1)) SWIG_fail
;
7049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7050 result
= (arg1
)->GetBitmap();
7052 wxPyEndAllowThreads(__tstate
);
7053 if (PyErr_Occurred()) SWIG_fail
;
7056 wxBitmap
* resultptr
;
7057 resultptr
= new wxBitmap((wxBitmap
&)(result
));
7058 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
7066 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7067 PyObject
*resultobj
;
7068 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
7069 wxBitmap
*arg2
= 0 ;
7070 PyObject
* obj0
= 0 ;
7071 PyObject
* obj1
= 0 ;
7073 (char *) "self",(char *) "bitmap", NULL
7076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
7077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7078 if (SWIG_arg_fail(1)) SWIG_fail
;
7080 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7081 if (SWIG_arg_fail(2)) SWIG_fail
;
7083 SWIG_null_ref("wxBitmap");
7085 if (SWIG_arg_fail(2)) SWIG_fail
;
7088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7089 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
7091 wxPyEndAllowThreads(__tstate
);
7092 if (PyErr_Occurred()) SWIG_fail
;
7094 Py_INCREF(Py_None
); resultobj
= Py_None
;
7101 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7102 PyObject
*resultobj
;
7103 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
7105 PyObject
* obj0
= 0 ;
7106 PyObject
* obj1
= 0 ;
7108 (char *) "self",(char *) "icon", NULL
7111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
7112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7113 if (SWIG_arg_fail(1)) SWIG_fail
;
7115 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
7116 if (SWIG_arg_fail(2)) SWIG_fail
;
7118 SWIG_null_ref("wxIcon");
7120 if (SWIG_arg_fail(2)) SWIG_fail
;
7123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7124 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
7126 wxPyEndAllowThreads(__tstate
);
7127 if (PyErr_Occurred()) SWIG_fail
;
7129 Py_INCREF(Py_None
); resultobj
= Py_None
;
7136 static PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7137 PyObject
*resultobj
;
7138 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7139 wxVisualAttributes result
;
7140 PyObject
* obj0
= 0 ;
7142 (char *) "variant", NULL
7145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
7148 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
7149 if (SWIG_arg_fail(1)) SWIG_fail
;
7153 if (!wxPyCheckForApp()) SWIG_fail
;
7154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7155 result
= wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
7157 wxPyEndAllowThreads(__tstate
);
7158 if (PyErr_Occurred()) SWIG_fail
;
7161 wxVisualAttributes
* resultptr
;
7162 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
7163 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
7171 static PyObject
* StaticBitmap_swigregister(PyObject
*, PyObject
*args
) {
7173 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7174 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
7176 return Py_BuildValue((char *)"");
7178 static int _wrap_ListBoxNameStr_set(PyObject
*) {
7179 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
7184 static PyObject
*_wrap_ListBoxNameStr_get(void) {
7189 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
7191 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
7198 static PyObject
*_wrap_new_ListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7199 PyObject
*resultobj
;
7200 wxWindow
*arg1
= (wxWindow
*) 0 ;
7201 int arg2
= (int) -1 ;
7202 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7203 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7204 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7205 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7206 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
7207 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
7208 long arg6
= (long) 0 ;
7209 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7210 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7211 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
7212 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7216 bool temp5
= false ;
7217 bool temp8
= false ;
7218 PyObject
* obj0
= 0 ;
7219 PyObject
* obj1
= 0 ;
7220 PyObject
* obj2
= 0 ;
7221 PyObject
* obj3
= 0 ;
7222 PyObject
* obj4
= 0 ;
7223 PyObject
* obj5
= 0 ;
7224 PyObject
* obj6
= 0 ;
7225 PyObject
* obj7
= 0 ;
7227 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7232 if (SWIG_arg_fail(1)) SWIG_fail
;
7235 arg2
= (int)(SWIG_As_int(obj1
));
7236 if (SWIG_arg_fail(2)) SWIG_fail
;
7242 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7248 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7253 if (! PySequence_Check(obj4
)) {
7254 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7257 arg5
= new wxArrayString
;
7259 int i
, len
=PySequence_Length(obj4
);
7260 for (i
=0; i
<len
; i
++) {
7261 PyObject
* item
= PySequence_GetItem(obj4
, i
);
7263 PyObject
* str
= PyObject_Unicode(item
);
7265 PyObject
* str
= PyObject_Str(item
);
7267 if (PyErr_Occurred()) SWIG_fail
;
7268 arg5
->Add(Py2wxString(str
));
7276 arg6
= (long)(SWIG_As_long(obj5
));
7277 if (SWIG_arg_fail(6)) SWIG_fail
;
7282 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
7283 if (SWIG_arg_fail(7)) SWIG_fail
;
7285 SWIG_null_ref("wxValidator");
7287 if (SWIG_arg_fail(7)) SWIG_fail
;
7292 arg8
= wxString_in_helper(obj7
);
7293 if (arg8
== NULL
) SWIG_fail
;
7298 if (!wxPyCheckForApp()) SWIG_fail
;
7299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7300 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7302 wxPyEndAllowThreads(__tstate
);
7303 if (PyErr_Occurred()) SWIG_fail
;
7305 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
7307 if (temp5
) delete arg5
;
7316 if (temp5
) delete arg5
;
7326 static PyObject
*_wrap_new_PreListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7327 PyObject
*resultobj
;
7333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
7335 if (!wxPyCheckForApp()) SWIG_fail
;
7336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7337 result
= (wxListBox
*)new wxListBox();
7339 wxPyEndAllowThreads(__tstate
);
7340 if (PyErr_Occurred()) SWIG_fail
;
7342 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
7349 static PyObject
*_wrap_ListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7350 PyObject
*resultobj
;
7351 wxListBox
*arg1
= (wxListBox
*) 0 ;
7352 wxWindow
*arg2
= (wxWindow
*) 0 ;
7353 int arg3
= (int) -1 ;
7354 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7355 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7356 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7357 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7358 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
7359 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
7360 long arg7
= (long) 0 ;
7361 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
7362 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
7363 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
7364 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
7368 bool temp6
= false ;
7369 bool temp9
= false ;
7370 PyObject
* obj0
= 0 ;
7371 PyObject
* obj1
= 0 ;
7372 PyObject
* obj2
= 0 ;
7373 PyObject
* obj3
= 0 ;
7374 PyObject
* obj4
= 0 ;
7375 PyObject
* obj5
= 0 ;
7376 PyObject
* obj6
= 0 ;
7377 PyObject
* obj7
= 0 ;
7378 PyObject
* obj8
= 0 ;
7380 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
7384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7385 if (SWIG_arg_fail(1)) SWIG_fail
;
7386 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7387 if (SWIG_arg_fail(2)) SWIG_fail
;
7390 arg3
= (int)(SWIG_As_int(obj2
));
7391 if (SWIG_arg_fail(3)) SWIG_fail
;
7397 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7403 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7408 if (! PySequence_Check(obj5
)) {
7409 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7412 arg6
= new wxArrayString
;
7414 int i
, len
=PySequence_Length(obj5
);
7415 for (i
=0; i
<len
; i
++) {
7416 PyObject
* item
= PySequence_GetItem(obj5
, i
);
7418 PyObject
* str
= PyObject_Unicode(item
);
7420 PyObject
* str
= PyObject_Str(item
);
7422 if (PyErr_Occurred()) SWIG_fail
;
7423 arg6
->Add(Py2wxString(str
));
7431 arg7
= (long)(SWIG_As_long(obj6
));
7432 if (SWIG_arg_fail(7)) SWIG_fail
;
7437 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
7438 if (SWIG_arg_fail(8)) SWIG_fail
;
7440 SWIG_null_ref("wxValidator");
7442 if (SWIG_arg_fail(8)) SWIG_fail
;
7447 arg9
= wxString_in_helper(obj8
);
7448 if (arg9
== NULL
) SWIG_fail
;
7453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7454 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7456 wxPyEndAllowThreads(__tstate
);
7457 if (PyErr_Occurred()) SWIG_fail
;
7460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7463 if (temp6
) delete arg6
;
7472 if (temp6
) delete arg6
;
7482 static PyObject
*_wrap_ListBox_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7483 PyObject
*resultobj
;
7484 wxListBox
*arg1
= (wxListBox
*) 0 ;
7485 wxString
*arg2
= 0 ;
7487 PyObject
*arg4
= (PyObject
*) NULL
;
7488 bool temp2
= false ;
7489 PyObject
* obj0
= 0 ;
7490 PyObject
* obj1
= 0 ;
7491 PyObject
* obj2
= 0 ;
7492 PyObject
* obj3
= 0 ;
7494 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
7497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7499 if (SWIG_arg_fail(1)) SWIG_fail
;
7501 arg2
= wxString_in_helper(obj1
);
7502 if (arg2
== NULL
) SWIG_fail
;
7506 arg3
= (int)(SWIG_As_int(obj2
));
7507 if (SWIG_arg_fail(3)) SWIG_fail
;
7513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7514 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7516 wxPyEndAllowThreads(__tstate
);
7517 if (PyErr_Occurred()) SWIG_fail
;
7519 Py_INCREF(Py_None
); resultobj
= Py_None
;
7534 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7535 PyObject
*resultobj
;
7536 wxListBox
*arg1
= (wxListBox
*) 0 ;
7537 wxArrayString
*arg2
= 0 ;
7539 bool temp2
= false ;
7540 PyObject
* obj0
= 0 ;
7541 PyObject
* obj1
= 0 ;
7542 PyObject
* obj2
= 0 ;
7544 (char *) "self",(char *) "items",(char *) "pos", NULL
7547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7549 if (SWIG_arg_fail(1)) SWIG_fail
;
7551 if (! PySequence_Check(obj1
)) {
7552 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7555 arg2
= new wxArrayString
;
7557 int i
, len
=PySequence_Length(obj1
);
7558 for (i
=0; i
<len
; i
++) {
7559 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7561 PyObject
* str
= PyObject_Unicode(item
);
7563 PyObject
* str
= PyObject_Str(item
);
7565 if (PyErr_Occurred()) SWIG_fail
;
7566 arg2
->Add(Py2wxString(str
));
7572 arg3
= (int)(SWIG_As_int(obj2
));
7573 if (SWIG_arg_fail(3)) SWIG_fail
;
7576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7577 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
7579 wxPyEndAllowThreads(__tstate
);
7580 if (PyErr_Occurred()) SWIG_fail
;
7582 Py_INCREF(Py_None
); resultobj
= Py_None
;
7584 if (temp2
) delete arg2
;
7589 if (temp2
) delete arg2
;
7595 static PyObject
*_wrap_ListBox_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7596 PyObject
*resultobj
;
7597 wxListBox
*arg1
= (wxListBox
*) 0 ;
7598 wxArrayString
*arg2
= 0 ;
7599 bool temp2
= false ;
7600 PyObject
* obj0
= 0 ;
7601 PyObject
* obj1
= 0 ;
7603 (char *) "self",(char *) "items", NULL
7606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
7607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7608 if (SWIG_arg_fail(1)) SWIG_fail
;
7610 if (! PySequence_Check(obj1
)) {
7611 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7614 arg2
= new wxArrayString
;
7616 int i
, len
=PySequence_Length(obj1
);
7617 for (i
=0; i
<len
; i
++) {
7618 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7620 PyObject
* str
= PyObject_Unicode(item
);
7622 PyObject
* str
= PyObject_Str(item
);
7624 if (PyErr_Occurred()) SWIG_fail
;
7625 arg2
->Add(Py2wxString(str
));
7631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7632 (arg1
)->Set((wxArrayString
const &)*arg2
);
7634 wxPyEndAllowThreads(__tstate
);
7635 if (PyErr_Occurred()) SWIG_fail
;
7637 Py_INCREF(Py_None
); resultobj
= Py_None
;
7639 if (temp2
) delete arg2
;
7644 if (temp2
) delete arg2
;
7650 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7651 PyObject
*resultobj
;
7652 wxListBox
*arg1
= (wxListBox
*) 0 ;
7655 PyObject
* obj0
= 0 ;
7656 PyObject
* obj1
= 0 ;
7658 (char *) "self",(char *) "n", NULL
7661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
7662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7663 if (SWIG_arg_fail(1)) SWIG_fail
;
7665 arg2
= (int)(SWIG_As_int(obj1
));
7666 if (SWIG_arg_fail(2)) SWIG_fail
;
7669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7670 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
7672 wxPyEndAllowThreads(__tstate
);
7673 if (PyErr_Occurred()) SWIG_fail
;
7676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7684 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7685 PyObject
*resultobj
;
7686 wxListBox
*arg1
= (wxListBox
*) 0 ;
7688 bool arg3
= (bool) true ;
7689 PyObject
* obj0
= 0 ;
7690 PyObject
* obj1
= 0 ;
7691 PyObject
* obj2
= 0 ;
7693 (char *) "self",(char *) "n",(char *) "select", NULL
7696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7698 if (SWIG_arg_fail(1)) SWIG_fail
;
7700 arg2
= (int)(SWIG_As_int(obj1
));
7701 if (SWIG_arg_fail(2)) SWIG_fail
;
7705 arg3
= (bool)(SWIG_As_bool(obj2
));
7706 if (SWIG_arg_fail(3)) SWIG_fail
;
7710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7711 (arg1
)->SetSelection(arg2
,arg3
);
7713 wxPyEndAllowThreads(__tstate
);
7714 if (PyErr_Occurred()) SWIG_fail
;
7716 Py_INCREF(Py_None
); resultobj
= Py_None
;
7723 static PyObject
*_wrap_ListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7724 PyObject
*resultobj
;
7725 wxListBox
*arg1
= (wxListBox
*) 0 ;
7727 PyObject
* obj0
= 0 ;
7728 PyObject
* obj1
= 0 ;
7730 (char *) "self",(char *) "n", NULL
7733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
7734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7735 if (SWIG_arg_fail(1)) SWIG_fail
;
7737 arg2
= (int)(SWIG_As_int(obj1
));
7738 if (SWIG_arg_fail(2)) SWIG_fail
;
7741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7742 (arg1
)->Select(arg2
);
7744 wxPyEndAllowThreads(__tstate
);
7745 if (PyErr_Occurred()) SWIG_fail
;
7747 Py_INCREF(Py_None
); resultobj
= Py_None
;
7754 static PyObject
*_wrap_ListBox_Deselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7755 PyObject
*resultobj
;
7756 wxListBox
*arg1
= (wxListBox
*) 0 ;
7758 PyObject
* obj0
= 0 ;
7759 PyObject
* obj1
= 0 ;
7761 (char *) "self",(char *) "n", NULL
7764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
7765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7766 if (SWIG_arg_fail(1)) SWIG_fail
;
7768 arg2
= (int)(SWIG_As_int(obj1
));
7769 if (SWIG_arg_fail(2)) SWIG_fail
;
7772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7773 (arg1
)->Deselect(arg2
);
7775 wxPyEndAllowThreads(__tstate
);
7776 if (PyErr_Occurred()) SWIG_fail
;
7778 Py_INCREF(Py_None
); resultobj
= Py_None
;
7785 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7786 PyObject
*resultobj
;
7787 wxListBox
*arg1
= (wxListBox
*) 0 ;
7788 int arg2
= (int) -1 ;
7789 PyObject
* obj0
= 0 ;
7790 PyObject
* obj1
= 0 ;
7792 (char *) "self",(char *) "itemToLeaveSelected", NULL
7795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
7796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7797 if (SWIG_arg_fail(1)) SWIG_fail
;
7800 arg2
= (int)(SWIG_As_int(obj1
));
7801 if (SWIG_arg_fail(2)) SWIG_fail
;
7805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7806 (arg1
)->DeselectAll(arg2
);
7808 wxPyEndAllowThreads(__tstate
);
7809 if (PyErr_Occurred()) SWIG_fail
;
7811 Py_INCREF(Py_None
); resultobj
= Py_None
;
7818 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7819 PyObject
*resultobj
;
7820 wxListBox
*arg1
= (wxListBox
*) 0 ;
7821 wxString
*arg2
= 0 ;
7822 bool arg3
= (bool) true ;
7824 bool temp2
= false ;
7825 PyObject
* obj0
= 0 ;
7826 PyObject
* obj1
= 0 ;
7827 PyObject
* obj2
= 0 ;
7829 (char *) "self",(char *) "s",(char *) "select", NULL
7832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7834 if (SWIG_arg_fail(1)) SWIG_fail
;
7836 arg2
= wxString_in_helper(obj1
);
7837 if (arg2
== NULL
) SWIG_fail
;
7842 arg3
= (bool)(SWIG_As_bool(obj2
));
7843 if (SWIG_arg_fail(3)) SWIG_fail
;
7847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7848 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
7850 wxPyEndAllowThreads(__tstate
);
7851 if (PyErr_Occurred()) SWIG_fail
;
7854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7870 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7871 PyObject
*resultobj
;
7872 wxListBox
*arg1
= (wxListBox
*) 0 ;
7874 PyObject
* obj0
= 0 ;
7876 (char *) "self", NULL
7879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7884 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
7886 wxPyEndAllowThreads(__tstate
);
7887 if (PyErr_Occurred()) SWIG_fail
;
7896 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7897 PyObject
*resultobj
;
7898 wxListBox
*arg1
= (wxListBox
*) 0 ;
7900 PyObject
* obj0
= 0 ;
7901 PyObject
* obj1
= 0 ;
7903 (char *) "self",(char *) "n", NULL
7906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
7907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7908 if (SWIG_arg_fail(1)) SWIG_fail
;
7910 arg2
= (int)(SWIG_As_int(obj1
));
7911 if (SWIG_arg_fail(2)) SWIG_fail
;
7914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7915 (arg1
)->SetFirstItem(arg2
);
7917 wxPyEndAllowThreads(__tstate
);
7918 if (PyErr_Occurred()) SWIG_fail
;
7920 Py_INCREF(Py_None
); resultobj
= Py_None
;
7927 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7928 PyObject
*resultobj
;
7929 wxListBox
*arg1
= (wxListBox
*) 0 ;
7930 wxString
*arg2
= 0 ;
7931 bool temp2
= false ;
7932 PyObject
* obj0
= 0 ;
7933 PyObject
* obj1
= 0 ;
7935 (char *) "self",(char *) "s", NULL
7938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
7939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7940 if (SWIG_arg_fail(1)) SWIG_fail
;
7942 arg2
= wxString_in_helper(obj1
);
7943 if (arg2
== NULL
) SWIG_fail
;
7947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7948 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
7950 wxPyEndAllowThreads(__tstate
);
7951 if (PyErr_Occurred()) SWIG_fail
;
7953 Py_INCREF(Py_None
); resultobj
= Py_None
;
7968 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7969 PyObject
*resultobj
;
7970 wxListBox
*arg1
= (wxListBox
*) 0 ;
7972 PyObject
* obj0
= 0 ;
7973 PyObject
* obj1
= 0 ;
7975 (char *) "self",(char *) "n", NULL
7978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
7979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7980 if (SWIG_arg_fail(1)) SWIG_fail
;
7982 arg2
= (int)(SWIG_As_int(obj1
));
7983 if (SWIG_arg_fail(2)) SWIG_fail
;
7986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7987 (arg1
)->EnsureVisible(arg2
);
7989 wxPyEndAllowThreads(__tstate
);
7990 if (PyErr_Occurred()) SWIG_fail
;
7992 Py_INCREF(Py_None
); resultobj
= Py_None
;
7999 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8000 PyObject
*resultobj
;
8001 wxListBox
*arg1
= (wxListBox
*) 0 ;
8002 wxString
*arg2
= 0 ;
8003 bool temp2
= false ;
8004 PyObject
* obj0
= 0 ;
8005 PyObject
* obj1
= 0 ;
8007 (char *) "self",(char *) "s", NULL
8010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
8011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8012 if (SWIG_arg_fail(1)) SWIG_fail
;
8014 arg2
= wxString_in_helper(obj1
);
8015 if (arg2
== NULL
) SWIG_fail
;
8019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8020 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
8022 wxPyEndAllowThreads(__tstate
);
8023 if (PyErr_Occurred()) SWIG_fail
;
8025 Py_INCREF(Py_None
); resultobj
= Py_None
;
8040 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8041 PyObject
*resultobj
;
8042 wxListBox
*arg1
= (wxListBox
*) 0 ;
8044 PyObject
* obj0
= 0 ;
8046 (char *) "self", NULL
8049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
8050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8051 if (SWIG_arg_fail(1)) SWIG_fail
;
8053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8054 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
8056 wxPyEndAllowThreads(__tstate
);
8057 if (PyErr_Occurred()) SWIG_fail
;
8060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8068 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8069 PyObject
*resultobj
;
8070 wxListBox
*arg1
= (wxListBox
*) 0 ;
8072 wxColour
*arg3
= 0 ;
8074 PyObject
* obj0
= 0 ;
8075 PyObject
* obj1
= 0 ;
8076 PyObject
* obj2
= 0 ;
8078 (char *) "self",(char *) "item",(char *) "c", NULL
8081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8083 if (SWIG_arg_fail(1)) SWIG_fail
;
8085 arg2
= (int)(SWIG_As_int(obj1
));
8086 if (SWIG_arg_fail(2)) SWIG_fail
;
8090 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8094 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
8096 wxPyEndAllowThreads(__tstate
);
8097 if (PyErr_Occurred()) SWIG_fail
;
8099 Py_INCREF(Py_None
); resultobj
= Py_None
;
8106 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8107 PyObject
*resultobj
;
8108 wxListBox
*arg1
= (wxListBox
*) 0 ;
8110 wxColour
*arg3
= 0 ;
8112 PyObject
* obj0
= 0 ;
8113 PyObject
* obj1
= 0 ;
8114 PyObject
* obj2
= 0 ;
8116 (char *) "self",(char *) "item",(char *) "c", NULL
8119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8121 if (SWIG_arg_fail(1)) SWIG_fail
;
8123 arg2
= (int)(SWIG_As_int(obj1
));
8124 if (SWIG_arg_fail(2)) SWIG_fail
;
8128 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8132 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
8134 wxPyEndAllowThreads(__tstate
);
8135 if (PyErr_Occurred()) SWIG_fail
;
8137 Py_INCREF(Py_None
); resultobj
= Py_None
;
8144 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8145 PyObject
*resultobj
;
8146 wxListBox
*arg1
= (wxListBox
*) 0 ;
8149 PyObject
* obj0
= 0 ;
8150 PyObject
* obj1
= 0 ;
8151 PyObject
* obj2
= 0 ;
8153 (char *) "self",(char *) "item",(char *) "f", NULL
8156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8158 if (SWIG_arg_fail(1)) SWIG_fail
;
8160 arg2
= (int)(SWIG_As_int(obj1
));
8161 if (SWIG_arg_fail(2)) SWIG_fail
;
8164 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8165 if (SWIG_arg_fail(3)) SWIG_fail
;
8167 SWIG_null_ref("wxFont");
8169 if (SWIG_arg_fail(3)) SWIG_fail
;
8172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8173 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
8175 wxPyEndAllowThreads(__tstate
);
8176 if (PyErr_Occurred()) SWIG_fail
;
8178 Py_INCREF(Py_None
); resultobj
= Py_None
;
8185 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8186 PyObject
*resultobj
;
8187 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8188 wxVisualAttributes result
;
8189 PyObject
* obj0
= 0 ;
8191 (char *) "variant", NULL
8194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
8197 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
8198 if (SWIG_arg_fail(1)) SWIG_fail
;
8202 if (!wxPyCheckForApp()) SWIG_fail
;
8203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8204 result
= wxListBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
8206 wxPyEndAllowThreads(__tstate
);
8207 if (PyErr_Occurred()) SWIG_fail
;
8210 wxVisualAttributes
* resultptr
;
8211 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
8212 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
8220 static PyObject
* ListBox_swigregister(PyObject
*, PyObject
*args
) {
8222 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8223 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
8225 return Py_BuildValue((char *)"");
8227 static PyObject
*_wrap_new_CheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8228 PyObject
*resultobj
;
8229 wxWindow
*arg1
= (wxWindow
*) 0 ;
8230 int arg2
= (int) -1 ;
8231 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8232 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8233 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8234 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8235 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8236 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8237 long arg6
= (long) 0 ;
8238 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8239 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8240 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8241 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8242 wxCheckListBox
*result
;
8245 bool temp5
= false ;
8246 bool temp8
= false ;
8247 PyObject
* obj0
= 0 ;
8248 PyObject
* obj1
= 0 ;
8249 PyObject
* obj2
= 0 ;
8250 PyObject
* obj3
= 0 ;
8251 PyObject
* obj4
= 0 ;
8252 PyObject
* obj5
= 0 ;
8253 PyObject
* obj6
= 0 ;
8254 PyObject
* obj7
= 0 ;
8256 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
8260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8261 if (SWIG_arg_fail(1)) SWIG_fail
;
8264 arg2
= (int)(SWIG_As_int(obj1
));
8265 if (SWIG_arg_fail(2)) SWIG_fail
;
8271 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8277 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8282 if (! PySequence_Check(obj4
)) {
8283 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8286 arg5
= new wxArrayString
;
8288 int i
, len
=PySequence_Length(obj4
);
8289 for (i
=0; i
<len
; i
++) {
8290 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8292 PyObject
* str
= PyObject_Unicode(item
);
8294 PyObject
* str
= PyObject_Str(item
);
8296 if (PyErr_Occurred()) SWIG_fail
;
8297 arg5
->Add(Py2wxString(str
));
8305 arg6
= (long)(SWIG_As_long(obj5
));
8306 if (SWIG_arg_fail(6)) SWIG_fail
;
8311 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
8312 if (SWIG_arg_fail(7)) SWIG_fail
;
8314 SWIG_null_ref("wxValidator");
8316 if (SWIG_arg_fail(7)) SWIG_fail
;
8321 arg8
= wxString_in_helper(obj7
);
8322 if (arg8
== NULL
) SWIG_fail
;
8327 if (!wxPyCheckForApp()) SWIG_fail
;
8328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8329 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8331 wxPyEndAllowThreads(__tstate
);
8332 if (PyErr_Occurred()) SWIG_fail
;
8334 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
8336 if (temp5
) delete arg5
;
8345 if (temp5
) delete arg5
;
8355 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8356 PyObject
*resultobj
;
8357 wxCheckListBox
*result
;
8362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
8364 if (!wxPyCheckForApp()) SWIG_fail
;
8365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8366 result
= (wxCheckListBox
*)new wxCheckListBox();
8368 wxPyEndAllowThreads(__tstate
);
8369 if (PyErr_Occurred()) SWIG_fail
;
8371 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
8378 static PyObject
*_wrap_CheckListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8379 PyObject
*resultobj
;
8380 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8381 wxWindow
*arg2
= (wxWindow
*) 0 ;
8382 int arg3
= (int) -1 ;
8383 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8384 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8385 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8386 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8387 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8388 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8389 long arg7
= (long) 0 ;
8390 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8391 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8392 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8393 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8397 bool temp6
= false ;
8398 bool temp9
= false ;
8399 PyObject
* obj0
= 0 ;
8400 PyObject
* obj1
= 0 ;
8401 PyObject
* obj2
= 0 ;
8402 PyObject
* obj3
= 0 ;
8403 PyObject
* obj4
= 0 ;
8404 PyObject
* obj5
= 0 ;
8405 PyObject
* obj6
= 0 ;
8406 PyObject
* obj7
= 0 ;
8407 PyObject
* obj8
= 0 ;
8409 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
8413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8414 if (SWIG_arg_fail(1)) SWIG_fail
;
8415 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8416 if (SWIG_arg_fail(2)) SWIG_fail
;
8419 arg3
= (int)(SWIG_As_int(obj2
));
8420 if (SWIG_arg_fail(3)) SWIG_fail
;
8426 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8432 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8437 if (! PySequence_Check(obj5
)) {
8438 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8441 arg6
= new wxArrayString
;
8443 int i
, len
=PySequence_Length(obj5
);
8444 for (i
=0; i
<len
; i
++) {
8445 PyObject
* item
= PySequence_GetItem(obj5
, i
);
8447 PyObject
* str
= PyObject_Unicode(item
);
8449 PyObject
* str
= PyObject_Str(item
);
8451 if (PyErr_Occurred()) SWIG_fail
;
8452 arg6
->Add(Py2wxString(str
));
8460 arg7
= (long)(SWIG_As_long(obj6
));
8461 if (SWIG_arg_fail(7)) SWIG_fail
;
8466 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
8467 if (SWIG_arg_fail(8)) SWIG_fail
;
8469 SWIG_null_ref("wxValidator");
8471 if (SWIG_arg_fail(8)) SWIG_fail
;
8476 arg9
= wxString_in_helper(obj8
);
8477 if (arg9
== NULL
) SWIG_fail
;
8482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8483 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
8485 wxPyEndAllowThreads(__tstate
);
8486 if (PyErr_Occurred()) SWIG_fail
;
8489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8492 if (temp6
) delete arg6
;
8501 if (temp6
) delete arg6
;
8511 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8512 PyObject
*resultobj
;
8513 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8516 PyObject
* obj0
= 0 ;
8517 PyObject
* obj1
= 0 ;
8519 (char *) "self",(char *) "index", NULL
8522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
8523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8524 if (SWIG_arg_fail(1)) SWIG_fail
;
8526 arg2
= (int)(SWIG_As_int(obj1
));
8527 if (SWIG_arg_fail(2)) SWIG_fail
;
8530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8531 result
= (bool)(arg1
)->IsChecked(arg2
);
8533 wxPyEndAllowThreads(__tstate
);
8534 if (PyErr_Occurred()) SWIG_fail
;
8537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8545 static PyObject
*_wrap_CheckListBox_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8546 PyObject
*resultobj
;
8547 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8549 int arg3
= (int) true ;
8550 PyObject
* obj0
= 0 ;
8551 PyObject
* obj1
= 0 ;
8552 PyObject
* obj2
= 0 ;
8554 (char *) "self",(char *) "index",(char *) "check", NULL
8557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8559 if (SWIG_arg_fail(1)) SWIG_fail
;
8561 arg2
= (int)(SWIG_As_int(obj1
));
8562 if (SWIG_arg_fail(2)) SWIG_fail
;
8566 arg3
= (int)(SWIG_As_int(obj2
));
8567 if (SWIG_arg_fail(3)) SWIG_fail
;
8571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8572 (arg1
)->Check(arg2
,arg3
);
8574 wxPyEndAllowThreads(__tstate
);
8575 if (PyErr_Occurred()) SWIG_fail
;
8577 Py_INCREF(Py_None
); resultobj
= Py_None
;
8584 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8585 PyObject
*resultobj
;
8586 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8588 PyObject
* obj0
= 0 ;
8590 (char *) "self", NULL
8593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
8594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8595 if (SWIG_arg_fail(1)) SWIG_fail
;
8597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8598 result
= (int)(arg1
)->GetItemHeight();
8600 wxPyEndAllowThreads(__tstate
);
8601 if (PyErr_Occurred()) SWIG_fail
;
8604 resultobj
= SWIG_From_int((int)(result
));
8612 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8613 PyObject
*resultobj
;
8614 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8618 PyObject
* obj0
= 0 ;
8619 PyObject
* obj1
= 0 ;
8621 (char *) "self",(char *) "pt", NULL
8624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8626 if (SWIG_arg_fail(1)) SWIG_fail
;
8629 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8633 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
8635 wxPyEndAllowThreads(__tstate
);
8636 if (PyErr_Occurred()) SWIG_fail
;
8639 resultobj
= SWIG_From_int((int)(result
));
8647 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8648 PyObject
*resultobj
;
8649 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8653 PyObject
* obj0
= 0 ;
8654 PyObject
* obj1
= 0 ;
8655 PyObject
* obj2
= 0 ;
8657 (char *) "self",(char *) "x",(char *) "y", NULL
8660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8662 if (SWIG_arg_fail(1)) SWIG_fail
;
8664 arg2
= (int)(SWIG_As_int(obj1
));
8665 if (SWIG_arg_fail(2)) SWIG_fail
;
8668 arg3
= (int)(SWIG_As_int(obj2
));
8669 if (SWIG_arg_fail(3)) SWIG_fail
;
8672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8673 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
8675 wxPyEndAllowThreads(__tstate
);
8676 if (PyErr_Occurred()) SWIG_fail
;
8679 resultobj
= SWIG_From_int((int)(result
));
8687 static PyObject
* CheckListBox_swigregister(PyObject
*, PyObject
*args
) {
8689 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8690 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
8692 return Py_BuildValue((char *)"");
8694 static int _wrap_TextCtrlNameStr_set(PyObject
*) {
8695 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
8700 static PyObject
*_wrap_TextCtrlNameStr_get(void) {
8705 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
8707 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
8714 static PyObject
*_wrap_new_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8715 PyObject
*resultobj
;
8716 wxColour
const &arg1_defvalue
= wxNullColour
;
8717 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
8718 wxColour
const &arg2_defvalue
= wxNullColour
;
8719 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8720 wxFont
const &arg3_defvalue
= wxNullFont
;
8721 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
8722 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
8726 PyObject
* obj0
= 0 ;
8727 PyObject
* obj1
= 0 ;
8728 PyObject
* obj2
= 0 ;
8729 PyObject
* obj3
= 0 ;
8731 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
8734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8738 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
8744 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8749 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8750 if (SWIG_arg_fail(3)) SWIG_fail
;
8752 SWIG_null_ref("wxFont");
8754 if (SWIG_arg_fail(3)) SWIG_fail
;
8759 arg4
= (wxTextAttrAlignment
)(SWIG_As_int(obj3
));
8760 if (SWIG_arg_fail(4)) SWIG_fail
;
8764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8765 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
8767 wxPyEndAllowThreads(__tstate
);
8768 if (PyErr_Occurred()) SWIG_fail
;
8770 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
8777 static PyObject
*_wrap_delete_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8778 PyObject
*resultobj
;
8779 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8780 PyObject
* obj0
= 0 ;
8782 (char *) "self", NULL
8785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
8786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8787 if (SWIG_arg_fail(1)) SWIG_fail
;
8789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8792 wxPyEndAllowThreads(__tstate
);
8793 if (PyErr_Occurred()) SWIG_fail
;
8795 Py_INCREF(Py_None
); resultobj
= Py_None
;
8802 static PyObject
*_wrap_TextAttr_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8803 PyObject
*resultobj
;
8804 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8805 PyObject
* obj0
= 0 ;
8807 (char *) "self", NULL
8810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
8811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8812 if (SWIG_arg_fail(1)) SWIG_fail
;
8814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8817 wxPyEndAllowThreads(__tstate
);
8818 if (PyErr_Occurred()) SWIG_fail
;
8820 Py_INCREF(Py_None
); resultobj
= Py_None
;
8827 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8828 PyObject
*resultobj
;
8829 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8830 wxColour
*arg2
= 0 ;
8832 PyObject
* obj0
= 0 ;
8833 PyObject
* obj1
= 0 ;
8835 (char *) "self",(char *) "colText", NULL
8838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
8839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8840 if (SWIG_arg_fail(1)) SWIG_fail
;
8843 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8847 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
8849 wxPyEndAllowThreads(__tstate
);
8850 if (PyErr_Occurred()) SWIG_fail
;
8852 Py_INCREF(Py_None
); resultobj
= Py_None
;
8859 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8860 PyObject
*resultobj
;
8861 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8862 wxColour
*arg2
= 0 ;
8864 PyObject
* obj0
= 0 ;
8865 PyObject
* obj1
= 0 ;
8867 (char *) "self",(char *) "colBack", NULL
8870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
8871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8872 if (SWIG_arg_fail(1)) SWIG_fail
;
8875 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8879 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
8881 wxPyEndAllowThreads(__tstate
);
8882 if (PyErr_Occurred()) SWIG_fail
;
8884 Py_INCREF(Py_None
); resultobj
= Py_None
;
8891 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8892 PyObject
*resultobj
;
8893 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8895 long arg3
= (long) wxTEXT_ATTR_FONT
;
8896 PyObject
* obj0
= 0 ;
8897 PyObject
* obj1
= 0 ;
8898 PyObject
* obj2
= 0 ;
8900 (char *) "self",(char *) "font",(char *) "flags", NULL
8903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8905 if (SWIG_arg_fail(1)) SWIG_fail
;
8907 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8908 if (SWIG_arg_fail(2)) SWIG_fail
;
8910 SWIG_null_ref("wxFont");
8912 if (SWIG_arg_fail(2)) SWIG_fail
;
8916 arg3
= (long)(SWIG_As_long(obj2
));
8917 if (SWIG_arg_fail(3)) SWIG_fail
;
8921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8922 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
8924 wxPyEndAllowThreads(__tstate
);
8925 if (PyErr_Occurred()) SWIG_fail
;
8927 Py_INCREF(Py_None
); resultobj
= Py_None
;
8934 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8935 PyObject
*resultobj
;
8936 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8937 wxTextAttrAlignment arg2
;
8938 PyObject
* obj0
= 0 ;
8939 PyObject
* obj1
= 0 ;
8941 (char *) "self",(char *) "alignment", NULL
8944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8946 if (SWIG_arg_fail(1)) SWIG_fail
;
8948 arg2
= (wxTextAttrAlignment
)(SWIG_As_int(obj1
));
8949 if (SWIG_arg_fail(2)) SWIG_fail
;
8952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8953 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
8955 wxPyEndAllowThreads(__tstate
);
8956 if (PyErr_Occurred()) SWIG_fail
;
8958 Py_INCREF(Py_None
); resultobj
= Py_None
;
8965 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8966 PyObject
*resultobj
;
8967 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8968 wxArrayInt
*arg2
= 0 ;
8969 bool temp2
= false ;
8970 PyObject
* obj0
= 0 ;
8971 PyObject
* obj1
= 0 ;
8973 (char *) "self",(char *) "tabs", NULL
8976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
8977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8978 if (SWIG_arg_fail(1)) SWIG_fail
;
8980 if (! PySequence_Check(obj1
)) {
8981 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
8984 arg2
= new wxArrayInt
;
8986 int i
, len
=PySequence_Length(obj1
);
8987 for (i
=0; i
<len
; i
++) {
8988 PyObject
* item
= PySequence_GetItem(obj1
, i
);
8989 PyObject
* number
= PyNumber_Int(item
);
8990 arg2
->Add(PyInt_AS_LONG(number
));
8996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8997 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
8999 wxPyEndAllowThreads(__tstate
);
9000 if (PyErr_Occurred()) SWIG_fail
;
9002 Py_INCREF(Py_None
); resultobj
= Py_None
;
9004 if (temp2
) delete arg2
;
9009 if (temp2
) delete arg2
;
9015 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9016 PyObject
*resultobj
;
9017 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9019 int arg3
= (int) 0 ;
9020 PyObject
* obj0
= 0 ;
9021 PyObject
* obj1
= 0 ;
9022 PyObject
* obj2
= 0 ;
9024 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
9027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9029 if (SWIG_arg_fail(1)) SWIG_fail
;
9031 arg2
= (int)(SWIG_As_int(obj1
));
9032 if (SWIG_arg_fail(2)) SWIG_fail
;
9036 arg3
= (int)(SWIG_As_int(obj2
));
9037 if (SWIG_arg_fail(3)) SWIG_fail
;
9041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9042 (arg1
)->SetLeftIndent(arg2
,arg3
);
9044 wxPyEndAllowThreads(__tstate
);
9045 if (PyErr_Occurred()) SWIG_fail
;
9047 Py_INCREF(Py_None
); resultobj
= Py_None
;
9054 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9055 PyObject
*resultobj
;
9056 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9058 PyObject
* obj0
= 0 ;
9059 PyObject
* obj1
= 0 ;
9061 (char *) "self",(char *) "indent", NULL
9064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
9065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9066 if (SWIG_arg_fail(1)) SWIG_fail
;
9068 arg2
= (int)(SWIG_As_int(obj1
));
9069 if (SWIG_arg_fail(2)) SWIG_fail
;
9072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9073 (arg1
)->SetRightIndent(arg2
);
9075 wxPyEndAllowThreads(__tstate
);
9076 if (PyErr_Occurred()) SWIG_fail
;
9078 Py_INCREF(Py_None
); resultobj
= Py_None
;
9085 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9086 PyObject
*resultobj
;
9087 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9089 PyObject
* obj0
= 0 ;
9090 PyObject
* obj1
= 0 ;
9092 (char *) "self",(char *) "flags", NULL
9095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
9096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9097 if (SWIG_arg_fail(1)) SWIG_fail
;
9099 arg2
= (long)(SWIG_As_long(obj1
));
9100 if (SWIG_arg_fail(2)) SWIG_fail
;
9103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9104 (arg1
)->SetFlags(arg2
);
9106 wxPyEndAllowThreads(__tstate
);
9107 if (PyErr_Occurred()) SWIG_fail
;
9109 Py_INCREF(Py_None
); resultobj
= Py_None
;
9116 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9117 PyObject
*resultobj
;
9118 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9120 PyObject
* obj0
= 0 ;
9122 (char *) "self", NULL
9125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
9126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9127 if (SWIG_arg_fail(1)) SWIG_fail
;
9129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9130 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
9132 wxPyEndAllowThreads(__tstate
);
9133 if (PyErr_Occurred()) SWIG_fail
;
9136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9144 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9145 PyObject
*resultobj
;
9146 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9148 PyObject
* obj0
= 0 ;
9150 (char *) "self", NULL
9153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
9154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9155 if (SWIG_arg_fail(1)) SWIG_fail
;
9157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9158 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
9160 wxPyEndAllowThreads(__tstate
);
9161 if (PyErr_Occurred()) SWIG_fail
;
9164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9172 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9173 PyObject
*resultobj
;
9174 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9176 PyObject
* obj0
= 0 ;
9178 (char *) "self", NULL
9181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
9182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9183 if (SWIG_arg_fail(1)) SWIG_fail
;
9185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9186 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
9188 wxPyEndAllowThreads(__tstate
);
9189 if (PyErr_Occurred()) SWIG_fail
;
9192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9200 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9201 PyObject
*resultobj
;
9202 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9204 PyObject
* obj0
= 0 ;
9206 (char *) "self", NULL
9209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
9210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9211 if (SWIG_arg_fail(1)) SWIG_fail
;
9213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9214 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
9216 wxPyEndAllowThreads(__tstate
);
9217 if (PyErr_Occurred()) SWIG_fail
;
9220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9228 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9229 PyObject
*resultobj
;
9230 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9232 PyObject
* obj0
= 0 ;
9234 (char *) "self", NULL
9237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
9238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9239 if (SWIG_arg_fail(1)) SWIG_fail
;
9241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9242 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
9244 wxPyEndAllowThreads(__tstate
);
9245 if (PyErr_Occurred()) SWIG_fail
;
9248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9256 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9257 PyObject
*resultobj
;
9258 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9260 PyObject
* obj0
= 0 ;
9262 (char *) "self", NULL
9265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
9266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9267 if (SWIG_arg_fail(1)) SWIG_fail
;
9269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9270 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
9272 wxPyEndAllowThreads(__tstate
);
9273 if (PyErr_Occurred()) SWIG_fail
;
9276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9284 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9285 PyObject
*resultobj
;
9286 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9288 PyObject
* obj0
= 0 ;
9290 (char *) "self", NULL
9293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
9294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9295 if (SWIG_arg_fail(1)) SWIG_fail
;
9297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9298 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
9300 wxPyEndAllowThreads(__tstate
);
9301 if (PyErr_Occurred()) SWIG_fail
;
9304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9312 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9313 PyObject
*resultobj
;
9314 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9317 PyObject
* obj0
= 0 ;
9318 PyObject
* obj1
= 0 ;
9320 (char *) "self",(char *) "flag", NULL
9323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
9324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9325 if (SWIG_arg_fail(1)) SWIG_fail
;
9327 arg2
= (long)(SWIG_As_long(obj1
));
9328 if (SWIG_arg_fail(2)) SWIG_fail
;
9331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9332 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
9334 wxPyEndAllowThreads(__tstate
);
9335 if (PyErr_Occurred()) SWIG_fail
;
9338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9346 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9347 PyObject
*resultobj
;
9348 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9350 PyObject
* obj0
= 0 ;
9352 (char *) "self", NULL
9355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
9356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9357 if (SWIG_arg_fail(1)) SWIG_fail
;
9359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9361 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
9362 result
= (wxColour
*) &_result_ref
;
9365 wxPyEndAllowThreads(__tstate
);
9366 if (PyErr_Occurred()) SWIG_fail
;
9368 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9375 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9376 PyObject
*resultobj
;
9377 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9379 PyObject
* obj0
= 0 ;
9381 (char *) "self", NULL
9384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
9385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9386 if (SWIG_arg_fail(1)) SWIG_fail
;
9388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9390 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
9391 result
= (wxColour
*) &_result_ref
;
9394 wxPyEndAllowThreads(__tstate
);
9395 if (PyErr_Occurred()) SWIG_fail
;
9397 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9404 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9405 PyObject
*resultobj
;
9406 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9408 PyObject
* obj0
= 0 ;
9410 (char *) "self", NULL
9413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
9414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9415 if (SWIG_arg_fail(1)) SWIG_fail
;
9417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9419 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
9420 result
= (wxFont
*) &_result_ref
;
9423 wxPyEndAllowThreads(__tstate
);
9424 if (PyErr_Occurred()) SWIG_fail
;
9427 wxFont
* resultptr
= new wxFont(*result
);
9428 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
9436 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9437 PyObject
*resultobj
;
9438 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9439 wxTextAttrAlignment result
;
9440 PyObject
* obj0
= 0 ;
9442 (char *) "self", NULL
9445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
9446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9447 if (SWIG_arg_fail(1)) SWIG_fail
;
9449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9450 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
9452 wxPyEndAllowThreads(__tstate
);
9453 if (PyErr_Occurred()) SWIG_fail
;
9455 resultobj
= SWIG_From_int((result
));
9462 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9463 PyObject
*resultobj
;
9464 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9466 PyObject
* obj0
= 0 ;
9468 (char *) "self", NULL
9471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
9472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9473 if (SWIG_arg_fail(1)) SWIG_fail
;
9475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9477 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
9478 result
= (wxArrayInt
*) &_result_ref
;
9481 wxPyEndAllowThreads(__tstate
);
9482 if (PyErr_Occurred()) SWIG_fail
;
9485 resultobj
= PyList_New(0);
9487 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
9488 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
9489 PyList_Append(resultobj
, val
);
9499 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9500 PyObject
*resultobj
;
9501 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9503 PyObject
* obj0
= 0 ;
9505 (char *) "self", NULL
9508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
9509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9510 if (SWIG_arg_fail(1)) SWIG_fail
;
9512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9513 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
9515 wxPyEndAllowThreads(__tstate
);
9516 if (PyErr_Occurred()) SWIG_fail
;
9519 resultobj
= SWIG_From_long((long)(result
));
9527 static PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9528 PyObject
*resultobj
;
9529 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9531 PyObject
* obj0
= 0 ;
9533 (char *) "self", NULL
9536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftSubIndent",kwnames
,&obj0
)) goto fail
;
9537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9538 if (SWIG_arg_fail(1)) SWIG_fail
;
9540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9541 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
9543 wxPyEndAllowThreads(__tstate
);
9544 if (PyErr_Occurred()) SWIG_fail
;
9547 resultobj
= SWIG_From_long((long)(result
));
9555 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9556 PyObject
*resultobj
;
9557 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9559 PyObject
* obj0
= 0 ;
9561 (char *) "self", NULL
9564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
9565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9566 if (SWIG_arg_fail(1)) SWIG_fail
;
9568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9569 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
9571 wxPyEndAllowThreads(__tstate
);
9572 if (PyErr_Occurred()) SWIG_fail
;
9575 resultobj
= SWIG_From_long((long)(result
));
9583 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9584 PyObject
*resultobj
;
9585 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9587 PyObject
* obj0
= 0 ;
9589 (char *) "self", NULL
9592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
9593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9594 if (SWIG_arg_fail(1)) SWIG_fail
;
9596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9597 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
9599 wxPyEndAllowThreads(__tstate
);
9600 if (PyErr_Occurred()) SWIG_fail
;
9603 resultobj
= SWIG_From_long((long)(result
));
9611 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9612 PyObject
*resultobj
;
9613 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9615 PyObject
* obj0
= 0 ;
9617 (char *) "self", NULL
9620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
9621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9622 if (SWIG_arg_fail(1)) SWIG_fail
;
9624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9625 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
9627 wxPyEndAllowThreads(__tstate
);
9628 if (PyErr_Occurred()) SWIG_fail
;
9631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9639 static PyObject
*_wrap_TextAttr_Combine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9640 PyObject
*resultobj
;
9641 wxTextAttr
*arg1
= 0 ;
9642 wxTextAttr
*arg2
= 0 ;
9643 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
9645 PyObject
* obj0
= 0 ;
9646 PyObject
* obj1
= 0 ;
9647 PyObject
* obj2
= 0 ;
9649 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
9652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9655 if (SWIG_arg_fail(1)) SWIG_fail
;
9657 SWIG_null_ref("wxTextAttr");
9659 if (SWIG_arg_fail(1)) SWIG_fail
;
9662 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9663 if (SWIG_arg_fail(2)) SWIG_fail
;
9665 SWIG_null_ref("wxTextAttr");
9667 if (SWIG_arg_fail(2)) SWIG_fail
;
9669 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9670 if (SWIG_arg_fail(3)) SWIG_fail
;
9672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9673 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
9675 wxPyEndAllowThreads(__tstate
);
9676 if (PyErr_Occurred()) SWIG_fail
;
9679 wxTextAttr
* resultptr
;
9680 resultptr
= new wxTextAttr((wxTextAttr
&)(result
));
9681 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
9689 static PyObject
* TextAttr_swigregister(PyObject
*, PyObject
*args
) {
9691 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9692 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
9694 return Py_BuildValue((char *)"");
9696 static PyObject
*_wrap_new_TextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9697 PyObject
*resultobj
;
9698 wxWindow
*arg1
= (wxWindow
*) 0 ;
9699 int arg2
= (int) -1 ;
9700 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9701 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9702 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9703 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9704 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9705 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9706 long arg6
= (long) 0 ;
9707 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9708 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9709 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
9710 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9712 bool temp3
= false ;
9715 bool temp8
= false ;
9716 PyObject
* obj0
= 0 ;
9717 PyObject
* obj1
= 0 ;
9718 PyObject
* obj2
= 0 ;
9719 PyObject
* obj3
= 0 ;
9720 PyObject
* obj4
= 0 ;
9721 PyObject
* obj5
= 0 ;
9722 PyObject
* obj6
= 0 ;
9723 PyObject
* obj7
= 0 ;
9725 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9730 if (SWIG_arg_fail(1)) SWIG_fail
;
9733 arg2
= (int)(SWIG_As_int(obj1
));
9734 if (SWIG_arg_fail(2)) SWIG_fail
;
9739 arg3
= wxString_in_helper(obj2
);
9740 if (arg3
== NULL
) SWIG_fail
;
9747 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9753 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9758 arg6
= (long)(SWIG_As_long(obj5
));
9759 if (SWIG_arg_fail(6)) SWIG_fail
;
9764 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
9765 if (SWIG_arg_fail(7)) SWIG_fail
;
9767 SWIG_null_ref("wxValidator");
9769 if (SWIG_arg_fail(7)) SWIG_fail
;
9774 arg8
= wxString_in_helper(obj7
);
9775 if (arg8
== NULL
) SWIG_fail
;
9780 if (!wxPyCheckForApp()) SWIG_fail
;
9781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9782 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9784 wxPyEndAllowThreads(__tstate
);
9785 if (PyErr_Occurred()) SWIG_fail
;
9787 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
9810 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9811 PyObject
*resultobj
;
9817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
9819 if (!wxPyCheckForApp()) SWIG_fail
;
9820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9821 result
= (wxTextCtrl
*)new wxTextCtrl();
9823 wxPyEndAllowThreads(__tstate
);
9824 if (PyErr_Occurred()) SWIG_fail
;
9826 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
9833 static PyObject
*_wrap_TextCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9834 PyObject
*resultobj
;
9835 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9836 wxWindow
*arg2
= (wxWindow
*) 0 ;
9837 int arg3
= (int) -1 ;
9838 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9839 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9840 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
9841 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
9842 wxSize
const &arg6_defvalue
= wxDefaultSize
;
9843 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
9844 long arg7
= (long) 0 ;
9845 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
9846 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
9847 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
9848 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
9850 bool temp4
= false ;
9853 bool temp9
= false ;
9854 PyObject
* obj0
= 0 ;
9855 PyObject
* obj1
= 0 ;
9856 PyObject
* obj2
= 0 ;
9857 PyObject
* obj3
= 0 ;
9858 PyObject
* obj4
= 0 ;
9859 PyObject
* obj5
= 0 ;
9860 PyObject
* obj6
= 0 ;
9861 PyObject
* obj7
= 0 ;
9862 PyObject
* obj8
= 0 ;
9864 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
9868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9869 if (SWIG_arg_fail(1)) SWIG_fail
;
9870 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9871 if (SWIG_arg_fail(2)) SWIG_fail
;
9874 arg3
= (int)(SWIG_As_int(obj2
));
9875 if (SWIG_arg_fail(3)) SWIG_fail
;
9880 arg4
= wxString_in_helper(obj3
);
9881 if (arg4
== NULL
) SWIG_fail
;
9888 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
9894 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
9899 arg7
= (long)(SWIG_As_long(obj6
));
9900 if (SWIG_arg_fail(7)) SWIG_fail
;
9905 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
9906 if (SWIG_arg_fail(8)) SWIG_fail
;
9908 SWIG_null_ref("wxValidator");
9910 if (SWIG_arg_fail(8)) SWIG_fail
;
9915 arg9
= wxString_in_helper(obj8
);
9916 if (arg9
== NULL
) SWIG_fail
;
9921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9922 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9924 wxPyEndAllowThreads(__tstate
);
9925 if (PyErr_Occurred()) SWIG_fail
;
9928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9952 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9953 PyObject
*resultobj
;
9954 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9956 PyObject
* obj0
= 0 ;
9958 (char *) "self", NULL
9961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
9962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9963 if (SWIG_arg_fail(1)) SWIG_fail
;
9965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9966 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
9968 wxPyEndAllowThreads(__tstate
);
9969 if (PyErr_Occurred()) SWIG_fail
;
9973 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9975 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9984 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9985 PyObject
*resultobj
;
9986 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9987 wxString
*arg2
= 0 ;
9988 bool temp2
= false ;
9989 PyObject
* obj0
= 0 ;
9990 PyObject
* obj1
= 0 ;
9992 (char *) "self",(char *) "value", NULL
9995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
9996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9997 if (SWIG_arg_fail(1)) SWIG_fail
;
9999 arg2
= wxString_in_helper(obj1
);
10000 if (arg2
== NULL
) SWIG_fail
;
10004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10005 (arg1
)->SetValue((wxString
const &)*arg2
);
10007 wxPyEndAllowThreads(__tstate
);
10008 if (PyErr_Occurred()) SWIG_fail
;
10010 Py_INCREF(Py_None
); resultobj
= Py_None
;
10025 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10026 PyObject
*resultobj
;
10027 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10031 PyObject
* obj0
= 0 ;
10032 PyObject
* obj1
= 0 ;
10033 PyObject
* obj2
= 0 ;
10034 char *kwnames
[] = {
10035 (char *) "self",(char *) "from",(char *) "to", NULL
10038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10040 if (SWIG_arg_fail(1)) SWIG_fail
;
10042 arg2
= (long)(SWIG_As_long(obj1
));
10043 if (SWIG_arg_fail(2)) SWIG_fail
;
10046 arg3
= (long)(SWIG_As_long(obj2
));
10047 if (SWIG_arg_fail(3)) SWIG_fail
;
10050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10051 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
10053 wxPyEndAllowThreads(__tstate
);
10054 if (PyErr_Occurred()) SWIG_fail
;
10058 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10060 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10069 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10070 PyObject
*resultobj
;
10071 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10074 PyObject
* obj0
= 0 ;
10075 PyObject
* obj1
= 0 ;
10076 char *kwnames
[] = {
10077 (char *) "self",(char *) "lineNo", NULL
10080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
10081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10082 if (SWIG_arg_fail(1)) SWIG_fail
;
10084 arg2
= (long)(SWIG_As_long(obj1
));
10085 if (SWIG_arg_fail(2)) SWIG_fail
;
10088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10089 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
10091 wxPyEndAllowThreads(__tstate
);
10092 if (PyErr_Occurred()) SWIG_fail
;
10095 resultobj
= SWIG_From_int((int)(result
));
10103 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10104 PyObject
*resultobj
;
10105 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10108 PyObject
* obj0
= 0 ;
10109 PyObject
* obj1
= 0 ;
10110 char *kwnames
[] = {
10111 (char *) "self",(char *) "lineNo", NULL
10114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
10115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10116 if (SWIG_arg_fail(1)) SWIG_fail
;
10118 arg2
= (long)(SWIG_As_long(obj1
));
10119 if (SWIG_arg_fail(2)) SWIG_fail
;
10122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10123 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
10125 wxPyEndAllowThreads(__tstate
);
10126 if (PyErr_Occurred()) SWIG_fail
;
10130 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10132 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10141 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10142 PyObject
*resultobj
;
10143 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10145 PyObject
* obj0
= 0 ;
10146 char *kwnames
[] = {
10147 (char *) "self", NULL
10150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
10151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10152 if (SWIG_arg_fail(1)) SWIG_fail
;
10154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10155 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
10157 wxPyEndAllowThreads(__tstate
);
10158 if (PyErr_Occurred()) SWIG_fail
;
10161 resultobj
= SWIG_From_int((int)(result
));
10169 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10170 PyObject
*resultobj
;
10171 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10173 PyObject
* obj0
= 0 ;
10174 char *kwnames
[] = {
10175 (char *) "self", NULL
10178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
10179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10180 if (SWIG_arg_fail(1)) SWIG_fail
;
10182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10183 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
10185 wxPyEndAllowThreads(__tstate
);
10186 if (PyErr_Occurred()) SWIG_fail
;
10189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10197 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10198 PyObject
*resultobj
;
10199 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10201 PyObject
* obj0
= 0 ;
10202 char *kwnames
[] = {
10203 (char *) "self", NULL
10206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
10207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10208 if (SWIG_arg_fail(1)) SWIG_fail
;
10210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10211 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
10213 wxPyEndAllowThreads(__tstate
);
10214 if (PyErr_Occurred()) SWIG_fail
;
10217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10225 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10226 PyObject
*resultobj
;
10227 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10229 PyObject
* obj0
= 0 ;
10230 char *kwnames
[] = {
10231 (char *) "self", NULL
10234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
10235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10236 if (SWIG_arg_fail(1)) SWIG_fail
;
10238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10239 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
10241 wxPyEndAllowThreads(__tstate
);
10242 if (PyErr_Occurred()) SWIG_fail
;
10245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10253 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10254 PyObject
*resultobj
;
10255 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10257 PyObject
* obj0
= 0 ;
10258 char *kwnames
[] = {
10259 (char *) "self", NULL
10262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
10263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10264 if (SWIG_arg_fail(1)) SWIG_fail
;
10266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10267 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
10269 wxPyEndAllowThreads(__tstate
);
10270 if (PyErr_Occurred()) SWIG_fail
;
10273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10281 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10282 PyObject
*resultobj
;
10283 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10284 long *arg2
= (long *) 0 ;
10285 long *arg3
= (long *) 0 ;
10290 PyObject
* obj0
= 0 ;
10291 char *kwnames
[] = {
10292 (char *) "self", NULL
10295 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10296 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
10298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10299 if (SWIG_arg_fail(1)) SWIG_fail
;
10301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10302 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
10304 wxPyEndAllowThreads(__tstate
);
10305 if (PyErr_Occurred()) SWIG_fail
;
10307 Py_INCREF(Py_None
); resultobj
= Py_None
;
10308 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10309 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
10310 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10311 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10318 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10319 PyObject
*resultobj
;
10320 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10322 PyObject
* obj0
= 0 ;
10323 char *kwnames
[] = {
10324 (char *) "self", NULL
10327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
10328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10329 if (SWIG_arg_fail(1)) SWIG_fail
;
10331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10332 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
10334 wxPyEndAllowThreads(__tstate
);
10335 if (PyErr_Occurred()) SWIG_fail
;
10339 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10341 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10350 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10351 PyObject
*resultobj
;
10352 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10353 PyObject
* obj0
= 0 ;
10354 char *kwnames
[] = {
10355 (char *) "self", NULL
10358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
10359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10360 if (SWIG_arg_fail(1)) SWIG_fail
;
10362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10365 wxPyEndAllowThreads(__tstate
);
10366 if (PyErr_Occurred()) SWIG_fail
;
10368 Py_INCREF(Py_None
); resultobj
= Py_None
;
10375 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10376 PyObject
*resultobj
;
10377 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10380 wxString
*arg4
= 0 ;
10381 bool temp4
= false ;
10382 PyObject
* obj0
= 0 ;
10383 PyObject
* obj1
= 0 ;
10384 PyObject
* obj2
= 0 ;
10385 PyObject
* obj3
= 0 ;
10386 char *kwnames
[] = {
10387 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
10390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10392 if (SWIG_arg_fail(1)) SWIG_fail
;
10394 arg2
= (long)(SWIG_As_long(obj1
));
10395 if (SWIG_arg_fail(2)) SWIG_fail
;
10398 arg3
= (long)(SWIG_As_long(obj2
));
10399 if (SWIG_arg_fail(3)) SWIG_fail
;
10402 arg4
= wxString_in_helper(obj3
);
10403 if (arg4
== NULL
) SWIG_fail
;
10407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10408 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
10410 wxPyEndAllowThreads(__tstate
);
10411 if (PyErr_Occurred()) SWIG_fail
;
10413 Py_INCREF(Py_None
); resultobj
= Py_None
;
10428 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10429 PyObject
*resultobj
;
10430 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10433 PyObject
* obj0
= 0 ;
10434 PyObject
* obj1
= 0 ;
10435 PyObject
* obj2
= 0 ;
10436 char *kwnames
[] = {
10437 (char *) "self",(char *) "from",(char *) "to", NULL
10440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10442 if (SWIG_arg_fail(1)) SWIG_fail
;
10444 arg2
= (long)(SWIG_As_long(obj1
));
10445 if (SWIG_arg_fail(2)) SWIG_fail
;
10448 arg3
= (long)(SWIG_As_long(obj2
));
10449 if (SWIG_arg_fail(3)) SWIG_fail
;
10452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10453 (arg1
)->Remove(arg2
,arg3
);
10455 wxPyEndAllowThreads(__tstate
);
10456 if (PyErr_Occurred()) SWIG_fail
;
10458 Py_INCREF(Py_None
); resultobj
= Py_None
;
10465 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10466 PyObject
*resultobj
;
10467 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10468 wxString
*arg2
= 0 ;
10470 bool temp2
= false ;
10471 PyObject
* obj0
= 0 ;
10472 PyObject
* obj1
= 0 ;
10473 char *kwnames
[] = {
10474 (char *) "self",(char *) "file", NULL
10477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
10478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10479 if (SWIG_arg_fail(1)) SWIG_fail
;
10481 arg2
= wxString_in_helper(obj1
);
10482 if (arg2
== NULL
) SWIG_fail
;
10486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10487 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
10489 wxPyEndAllowThreads(__tstate
);
10490 if (PyErr_Occurred()) SWIG_fail
;
10493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10509 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10510 PyObject
*resultobj
;
10511 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10512 wxString
const &arg2_defvalue
= wxPyEmptyString
;
10513 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
10515 bool temp2
= false ;
10516 PyObject
* obj0
= 0 ;
10517 PyObject
* obj1
= 0 ;
10518 char *kwnames
[] = {
10519 (char *) "self",(char *) "file", NULL
10522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",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
;
10527 arg2
= wxString_in_helper(obj1
);
10528 if (arg2
== NULL
) SWIG_fail
;
10533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10534 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
10536 wxPyEndAllowThreads(__tstate
);
10537 if (PyErr_Occurred()) SWIG_fail
;
10540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10556 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10557 PyObject
*resultobj
;
10558 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10559 PyObject
* obj0
= 0 ;
10560 char *kwnames
[] = {
10561 (char *) "self", NULL
10564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
10565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10566 if (SWIG_arg_fail(1)) SWIG_fail
;
10568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10569 (arg1
)->MarkDirty();
10571 wxPyEndAllowThreads(__tstate
);
10572 if (PyErr_Occurred()) SWIG_fail
;
10574 Py_INCREF(Py_None
); resultobj
= Py_None
;
10581 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10582 PyObject
*resultobj
;
10583 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10584 PyObject
* obj0
= 0 ;
10585 char *kwnames
[] = {
10586 (char *) "self", NULL
10589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
10590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10591 if (SWIG_arg_fail(1)) SWIG_fail
;
10593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10594 (arg1
)->DiscardEdits();
10596 wxPyEndAllowThreads(__tstate
);
10597 if (PyErr_Occurred()) SWIG_fail
;
10599 Py_INCREF(Py_None
); resultobj
= Py_None
;
10606 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10607 PyObject
*resultobj
;
10608 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10609 unsigned long arg2
;
10610 PyObject
* obj0
= 0 ;
10611 PyObject
* obj1
= 0 ;
10612 char *kwnames
[] = {
10613 (char *) "self",(char *) "len", NULL
10616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
10617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10618 if (SWIG_arg_fail(1)) SWIG_fail
;
10620 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
10621 if (SWIG_arg_fail(2)) SWIG_fail
;
10624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10625 (arg1
)->SetMaxLength(arg2
);
10627 wxPyEndAllowThreads(__tstate
);
10628 if (PyErr_Occurred()) SWIG_fail
;
10630 Py_INCREF(Py_None
); resultobj
= Py_None
;
10637 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10638 PyObject
*resultobj
;
10639 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10640 wxString
*arg2
= 0 ;
10641 bool temp2
= false ;
10642 PyObject
* obj0
= 0 ;
10643 PyObject
* obj1
= 0 ;
10644 char *kwnames
[] = {
10645 (char *) "self",(char *) "text", NULL
10648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
10649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10650 if (SWIG_arg_fail(1)) SWIG_fail
;
10652 arg2
= wxString_in_helper(obj1
);
10653 if (arg2
== NULL
) SWIG_fail
;
10657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10658 (arg1
)->WriteText((wxString
const &)*arg2
);
10660 wxPyEndAllowThreads(__tstate
);
10661 if (PyErr_Occurred()) SWIG_fail
;
10663 Py_INCREF(Py_None
); resultobj
= Py_None
;
10678 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10679 PyObject
*resultobj
;
10680 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10681 wxString
*arg2
= 0 ;
10682 bool temp2
= false ;
10683 PyObject
* obj0
= 0 ;
10684 PyObject
* obj1
= 0 ;
10685 char *kwnames
[] = {
10686 (char *) "self",(char *) "text", NULL
10689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
10690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10691 if (SWIG_arg_fail(1)) SWIG_fail
;
10693 arg2
= wxString_in_helper(obj1
);
10694 if (arg2
== NULL
) SWIG_fail
;
10698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10699 (arg1
)->AppendText((wxString
const &)*arg2
);
10701 wxPyEndAllowThreads(__tstate
);
10702 if (PyErr_Occurred()) SWIG_fail
;
10704 Py_INCREF(Py_None
); resultobj
= Py_None
;
10719 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10720 PyObject
*resultobj
;
10721 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10722 wxKeyEvent
*arg2
= 0 ;
10724 PyObject
* obj0
= 0 ;
10725 PyObject
* obj1
= 0 ;
10726 char *kwnames
[] = {
10727 (char *) "self",(char *) "event", NULL
10730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
10731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10732 if (SWIG_arg_fail(1)) SWIG_fail
;
10734 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
10735 if (SWIG_arg_fail(2)) SWIG_fail
;
10736 if (arg2
== NULL
) {
10737 SWIG_null_ref("wxKeyEvent");
10739 if (SWIG_arg_fail(2)) SWIG_fail
;
10742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10743 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
10745 wxPyEndAllowThreads(__tstate
);
10746 if (PyErr_Occurred()) SWIG_fail
;
10749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10757 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10758 PyObject
*resultobj
;
10759 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10762 wxTextAttr
*arg4
= 0 ;
10764 PyObject
* obj0
= 0 ;
10765 PyObject
* obj1
= 0 ;
10766 PyObject
* obj2
= 0 ;
10767 PyObject
* obj3
= 0 ;
10768 char *kwnames
[] = {
10769 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
10772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10774 if (SWIG_arg_fail(1)) SWIG_fail
;
10776 arg2
= (long)(SWIG_As_long(obj1
));
10777 if (SWIG_arg_fail(2)) SWIG_fail
;
10780 arg3
= (long)(SWIG_As_long(obj2
));
10781 if (SWIG_arg_fail(3)) SWIG_fail
;
10784 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10785 if (SWIG_arg_fail(4)) SWIG_fail
;
10786 if (arg4
== NULL
) {
10787 SWIG_null_ref("wxTextAttr");
10789 if (SWIG_arg_fail(4)) SWIG_fail
;
10792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10793 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
10795 wxPyEndAllowThreads(__tstate
);
10796 if (PyErr_Occurred()) SWIG_fail
;
10799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10807 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10808 PyObject
*resultobj
;
10809 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10811 wxTextAttr
*arg3
= 0 ;
10813 PyObject
* obj0
= 0 ;
10814 PyObject
* obj1
= 0 ;
10815 PyObject
* obj2
= 0 ;
10816 char *kwnames
[] = {
10817 (char *) "self",(char *) "position",(char *) "style", NULL
10820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10822 if (SWIG_arg_fail(1)) SWIG_fail
;
10824 arg2
= (long)(SWIG_As_long(obj1
));
10825 if (SWIG_arg_fail(2)) SWIG_fail
;
10828 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10829 if (SWIG_arg_fail(3)) SWIG_fail
;
10830 if (arg3
== NULL
) {
10831 SWIG_null_ref("wxTextAttr");
10833 if (SWIG_arg_fail(3)) SWIG_fail
;
10836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10837 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
10839 wxPyEndAllowThreads(__tstate
);
10840 if (PyErr_Occurred()) SWIG_fail
;
10843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10851 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10852 PyObject
*resultobj
;
10853 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10854 wxTextAttr
*arg2
= 0 ;
10856 PyObject
* obj0
= 0 ;
10857 PyObject
* obj1
= 0 ;
10858 char *kwnames
[] = {
10859 (char *) "self",(char *) "style", NULL
10862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
10863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10864 if (SWIG_arg_fail(1)) SWIG_fail
;
10866 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10867 if (SWIG_arg_fail(2)) SWIG_fail
;
10868 if (arg2
== NULL
) {
10869 SWIG_null_ref("wxTextAttr");
10871 if (SWIG_arg_fail(2)) SWIG_fail
;
10874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10875 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
10877 wxPyEndAllowThreads(__tstate
);
10878 if (PyErr_Occurred()) SWIG_fail
;
10881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10889 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10890 PyObject
*resultobj
;
10891 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10892 wxTextAttr
*result
;
10893 PyObject
* obj0
= 0 ;
10894 char *kwnames
[] = {
10895 (char *) "self", NULL
10898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
10899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10900 if (SWIG_arg_fail(1)) SWIG_fail
;
10902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10904 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
10905 result
= (wxTextAttr
*) &_result_ref
;
10908 wxPyEndAllowThreads(__tstate
);
10909 if (PyErr_Occurred()) SWIG_fail
;
10911 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
10918 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10919 PyObject
*resultobj
;
10920 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10924 PyObject
* obj0
= 0 ;
10925 PyObject
* obj1
= 0 ;
10926 PyObject
* obj2
= 0 ;
10927 char *kwnames
[] = {
10928 (char *) "self",(char *) "x",(char *) "y", NULL
10931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10933 if (SWIG_arg_fail(1)) SWIG_fail
;
10935 arg2
= (long)(SWIG_As_long(obj1
));
10936 if (SWIG_arg_fail(2)) SWIG_fail
;
10939 arg3
= (long)(SWIG_As_long(obj2
));
10940 if (SWIG_arg_fail(3)) SWIG_fail
;
10943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10944 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
10946 wxPyEndAllowThreads(__tstate
);
10947 if (PyErr_Occurred()) SWIG_fail
;
10950 resultobj
= SWIG_From_long((long)(result
));
10958 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10959 PyObject
*resultobj
;
10960 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10962 long *arg3
= (long *) 0 ;
10963 long *arg4
= (long *) 0 ;
10968 PyObject
* obj0
= 0 ;
10969 PyObject
* obj1
= 0 ;
10970 char *kwnames
[] = {
10971 (char *) "self",(char *) "pos", NULL
10974 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10975 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
10977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10978 if (SWIG_arg_fail(1)) SWIG_fail
;
10980 arg2
= (long)(SWIG_As_long(obj1
));
10981 if (SWIG_arg_fail(2)) SWIG_fail
;
10984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10985 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
10987 wxPyEndAllowThreads(__tstate
);
10988 if (PyErr_Occurred()) SWIG_fail
;
10990 Py_INCREF(Py_None
); resultobj
= Py_None
;
10991 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10992 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10993 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10994 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
11001 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11002 PyObject
*resultobj
;
11003 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11005 PyObject
* obj0
= 0 ;
11006 PyObject
* obj1
= 0 ;
11007 char *kwnames
[] = {
11008 (char *) "self",(char *) "pos", NULL
11011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11013 if (SWIG_arg_fail(1)) SWIG_fail
;
11015 arg2
= (long)(SWIG_As_long(obj1
));
11016 if (SWIG_arg_fail(2)) SWIG_fail
;
11019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11020 (arg1
)->ShowPosition(arg2
);
11022 wxPyEndAllowThreads(__tstate
);
11023 if (PyErr_Occurred()) SWIG_fail
;
11025 Py_INCREF(Py_None
); resultobj
= Py_None
;
11032 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11033 PyObject
*resultobj
;
11034 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11035 wxPoint
*arg2
= 0 ;
11036 long *arg3
= (long *) 0 ;
11037 long *arg4
= (long *) 0 ;
11038 wxTextCtrlHitTestResult result
;
11044 PyObject
* obj0
= 0 ;
11045 PyObject
* obj1
= 0 ;
11046 char *kwnames
[] = {
11047 (char *) "self",(char *) "pt", NULL
11050 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11051 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
11052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
11053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11054 if (SWIG_arg_fail(1)) SWIG_fail
;
11057 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11061 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
11063 wxPyEndAllowThreads(__tstate
);
11064 if (PyErr_Occurred()) SWIG_fail
;
11066 resultobj
= SWIG_From_int((result
));
11067 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11068 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
11069 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
11070 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
11077 static PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11078 PyObject
*resultobj
;
11079 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11080 wxPoint
*arg2
= 0 ;
11081 long *arg3
= (long *) 0 ;
11082 wxTextCtrlHitTestResult result
;
11086 PyObject
* obj0
= 0 ;
11087 PyObject
* obj1
= 0 ;
11088 char *kwnames
[] = {
11089 (char *) "self",(char *) "pt", NULL
11092 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) goto fail
;
11094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11095 if (SWIG_arg_fail(1)) SWIG_fail
;
11098 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11102 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
11104 wxPyEndAllowThreads(__tstate
);
11105 if (PyErr_Occurred()) SWIG_fail
;
11107 resultobj
= SWIG_From_int((result
));
11108 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11109 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
11116 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11117 PyObject
*resultobj
;
11118 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11119 PyObject
* obj0
= 0 ;
11120 char *kwnames
[] = {
11121 (char *) "self", NULL
11124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
11125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11126 if (SWIG_arg_fail(1)) SWIG_fail
;
11128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11131 wxPyEndAllowThreads(__tstate
);
11132 if (PyErr_Occurred()) SWIG_fail
;
11134 Py_INCREF(Py_None
); resultobj
= Py_None
;
11141 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11142 PyObject
*resultobj
;
11143 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11144 PyObject
* obj0
= 0 ;
11145 char *kwnames
[] = {
11146 (char *) "self", NULL
11149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
11150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11151 if (SWIG_arg_fail(1)) SWIG_fail
;
11153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11156 wxPyEndAllowThreads(__tstate
);
11157 if (PyErr_Occurred()) SWIG_fail
;
11159 Py_INCREF(Py_None
); resultobj
= Py_None
;
11166 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11167 PyObject
*resultobj
;
11168 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11169 PyObject
* obj0
= 0 ;
11170 char *kwnames
[] = {
11171 (char *) "self", NULL
11174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
11175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11176 if (SWIG_arg_fail(1)) SWIG_fail
;
11178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11181 wxPyEndAllowThreads(__tstate
);
11182 if (PyErr_Occurred()) SWIG_fail
;
11184 Py_INCREF(Py_None
); resultobj
= Py_None
;
11191 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11192 PyObject
*resultobj
;
11193 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11195 PyObject
* obj0
= 0 ;
11196 char *kwnames
[] = {
11197 (char *) "self", NULL
11200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
11201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11202 if (SWIG_arg_fail(1)) SWIG_fail
;
11204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11205 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
11207 wxPyEndAllowThreads(__tstate
);
11208 if (PyErr_Occurred()) SWIG_fail
;
11211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11219 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11220 PyObject
*resultobj
;
11221 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11223 PyObject
* obj0
= 0 ;
11224 char *kwnames
[] = {
11225 (char *) "self", NULL
11228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
11229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11230 if (SWIG_arg_fail(1)) SWIG_fail
;
11232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11233 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
11235 wxPyEndAllowThreads(__tstate
);
11236 if (PyErr_Occurred()) SWIG_fail
;
11239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11247 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11248 PyObject
*resultobj
;
11249 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11251 PyObject
* obj0
= 0 ;
11252 char *kwnames
[] = {
11253 (char *) "self", NULL
11256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
11257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11258 if (SWIG_arg_fail(1)) SWIG_fail
;
11260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11261 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
11263 wxPyEndAllowThreads(__tstate
);
11264 if (PyErr_Occurred()) SWIG_fail
;
11267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11275 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11276 PyObject
*resultobj
;
11277 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11278 PyObject
* obj0
= 0 ;
11279 char *kwnames
[] = {
11280 (char *) "self", NULL
11283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
11284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11285 if (SWIG_arg_fail(1)) SWIG_fail
;
11287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11290 wxPyEndAllowThreads(__tstate
);
11291 if (PyErr_Occurred()) SWIG_fail
;
11293 Py_INCREF(Py_None
); resultobj
= Py_None
;
11300 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11301 PyObject
*resultobj
;
11302 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11303 PyObject
* obj0
= 0 ;
11304 char *kwnames
[] = {
11305 (char *) "self", NULL
11308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
11309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11310 if (SWIG_arg_fail(1)) SWIG_fail
;
11312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11315 wxPyEndAllowThreads(__tstate
);
11316 if (PyErr_Occurred()) SWIG_fail
;
11318 Py_INCREF(Py_None
); resultobj
= Py_None
;
11325 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11326 PyObject
*resultobj
;
11327 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11329 PyObject
* obj0
= 0 ;
11330 char *kwnames
[] = {
11331 (char *) "self", NULL
11334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
11335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11336 if (SWIG_arg_fail(1)) SWIG_fail
;
11338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11339 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
11341 wxPyEndAllowThreads(__tstate
);
11342 if (PyErr_Occurred()) SWIG_fail
;
11345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11353 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11354 PyObject
*resultobj
;
11355 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11357 PyObject
* obj0
= 0 ;
11358 char *kwnames
[] = {
11359 (char *) "self", NULL
11362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
11363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11364 if (SWIG_arg_fail(1)) SWIG_fail
;
11366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11367 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
11369 wxPyEndAllowThreads(__tstate
);
11370 if (PyErr_Occurred()) SWIG_fail
;
11373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11381 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11382 PyObject
*resultobj
;
11383 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11385 PyObject
* obj0
= 0 ;
11386 PyObject
* obj1
= 0 ;
11387 char *kwnames
[] = {
11388 (char *) "self",(char *) "pos", NULL
11391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11393 if (SWIG_arg_fail(1)) SWIG_fail
;
11395 arg2
= (long)(SWIG_As_long(obj1
));
11396 if (SWIG_arg_fail(2)) SWIG_fail
;
11399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11400 (arg1
)->SetInsertionPoint(arg2
);
11402 wxPyEndAllowThreads(__tstate
);
11403 if (PyErr_Occurred()) SWIG_fail
;
11405 Py_INCREF(Py_None
); resultobj
= Py_None
;
11412 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11413 PyObject
*resultobj
;
11414 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11415 PyObject
* obj0
= 0 ;
11416 char *kwnames
[] = {
11417 (char *) "self", NULL
11420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
11421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11422 if (SWIG_arg_fail(1)) SWIG_fail
;
11424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11425 (arg1
)->SetInsertionPointEnd();
11427 wxPyEndAllowThreads(__tstate
);
11428 if (PyErr_Occurred()) SWIG_fail
;
11430 Py_INCREF(Py_None
); resultobj
= Py_None
;
11437 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11438 PyObject
*resultobj
;
11439 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11441 PyObject
* obj0
= 0 ;
11442 char *kwnames
[] = {
11443 (char *) "self", NULL
11446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
11447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11448 if (SWIG_arg_fail(1)) SWIG_fail
;
11450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11451 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
11453 wxPyEndAllowThreads(__tstate
);
11454 if (PyErr_Occurred()) SWIG_fail
;
11457 resultobj
= SWIG_From_long((long)(result
));
11465 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11466 PyObject
*resultobj
;
11467 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11469 PyObject
* obj0
= 0 ;
11470 char *kwnames
[] = {
11471 (char *) "self", NULL
11474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
11475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11476 if (SWIG_arg_fail(1)) SWIG_fail
;
11478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11479 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
11481 wxPyEndAllowThreads(__tstate
);
11482 if (PyErr_Occurred()) SWIG_fail
;
11485 resultobj
= SWIG_From_long((long)(result
));
11493 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11494 PyObject
*resultobj
;
11495 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11498 PyObject
* obj0
= 0 ;
11499 PyObject
* obj1
= 0 ;
11500 PyObject
* obj2
= 0 ;
11501 char *kwnames
[] = {
11502 (char *) "self",(char *) "from",(char *) "to", NULL
11505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11507 if (SWIG_arg_fail(1)) SWIG_fail
;
11509 arg2
= (long)(SWIG_As_long(obj1
));
11510 if (SWIG_arg_fail(2)) SWIG_fail
;
11513 arg3
= (long)(SWIG_As_long(obj2
));
11514 if (SWIG_arg_fail(3)) SWIG_fail
;
11517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11518 (arg1
)->SetSelection(arg2
,arg3
);
11520 wxPyEndAllowThreads(__tstate
);
11521 if (PyErr_Occurred()) SWIG_fail
;
11523 Py_INCREF(Py_None
); resultobj
= Py_None
;
11530 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11531 PyObject
*resultobj
;
11532 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11533 PyObject
* obj0
= 0 ;
11534 char *kwnames
[] = {
11535 (char *) "self", NULL
11538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
11539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11540 if (SWIG_arg_fail(1)) SWIG_fail
;
11542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11543 (arg1
)->SelectAll();
11545 wxPyEndAllowThreads(__tstate
);
11546 if (PyErr_Occurred()) SWIG_fail
;
11548 Py_INCREF(Py_None
); resultobj
= Py_None
;
11555 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11556 PyObject
*resultobj
;
11557 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11559 PyObject
* obj0
= 0 ;
11560 PyObject
* obj1
= 0 ;
11561 char *kwnames
[] = {
11562 (char *) "self",(char *) "editable", NULL
11565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
11566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11567 if (SWIG_arg_fail(1)) SWIG_fail
;
11569 arg2
= (bool)(SWIG_As_bool(obj1
));
11570 if (SWIG_arg_fail(2)) SWIG_fail
;
11573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11574 (arg1
)->SetEditable(arg2
);
11576 wxPyEndAllowThreads(__tstate
);
11577 if (PyErr_Occurred()) SWIG_fail
;
11579 Py_INCREF(Py_None
); resultobj
= Py_None
;
11586 static PyObject
*_wrap_TextCtrl_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11587 PyObject
*resultobj
;
11588 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11589 wxString
*arg2
= 0 ;
11590 bool temp2
= false ;
11591 PyObject
* obj0
= 0 ;
11592 PyObject
* obj1
= 0 ;
11593 char *kwnames
[] = {
11594 (char *) "self",(char *) "text", NULL
11597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
11598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11599 if (SWIG_arg_fail(1)) SWIG_fail
;
11601 arg2
= wxString_in_helper(obj1
);
11602 if (arg2
== NULL
) SWIG_fail
;
11606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11607 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
11609 wxPyEndAllowThreads(__tstate
);
11610 if (PyErr_Occurred()) SWIG_fail
;
11612 Py_INCREF(Py_None
); resultobj
= Py_None
;
11627 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11628 PyObject
*resultobj
;
11629 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11633 PyObject
* obj0
= 0 ;
11634 PyObject
* obj1
= 0 ;
11635 PyObject
* obj2
= 0 ;
11636 char *kwnames
[] = {
11637 (char *) "self",(char *) "from",(char *) "to", NULL
11640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11642 if (SWIG_arg_fail(1)) SWIG_fail
;
11644 arg2
= (long)(SWIG_As_long(obj1
));
11645 if (SWIG_arg_fail(2)) SWIG_fail
;
11648 arg3
= (long)(SWIG_As_long(obj2
));
11649 if (SWIG_arg_fail(3)) SWIG_fail
;
11652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11653 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
11655 wxPyEndAllowThreads(__tstate
);
11656 if (PyErr_Occurred()) SWIG_fail
;
11660 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11662 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11671 static PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11672 PyObject
*resultobj
;
11673 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
11674 wxVisualAttributes result
;
11675 PyObject
* obj0
= 0 ;
11676 char *kwnames
[] = {
11677 (char *) "variant", NULL
11680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11683 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
11684 if (SWIG_arg_fail(1)) SWIG_fail
;
11688 if (!wxPyCheckForApp()) SWIG_fail
;
11689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11690 result
= wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11692 wxPyEndAllowThreads(__tstate
);
11693 if (PyErr_Occurred()) SWIG_fail
;
11696 wxVisualAttributes
* resultptr
;
11697 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
11698 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11706 static PyObject
* TextCtrl_swigregister(PyObject
*, PyObject
*args
) {
11708 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11709 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
11711 return Py_BuildValue((char *)"");
11713 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11714 PyObject
*resultobj
;
11716 wxMouseEvent
*arg2
= 0 ;
11719 wxTextUrlEvent
*result
;
11720 PyObject
* obj0
= 0 ;
11721 PyObject
* obj1
= 0 ;
11722 PyObject
* obj2
= 0 ;
11723 PyObject
* obj3
= 0 ;
11724 char *kwnames
[] = {
11725 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
11728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11730 arg1
= (int)(SWIG_As_int(obj0
));
11731 if (SWIG_arg_fail(1)) SWIG_fail
;
11734 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
11735 if (SWIG_arg_fail(2)) SWIG_fail
;
11736 if (arg2
== NULL
) {
11737 SWIG_null_ref("wxMouseEvent");
11739 if (SWIG_arg_fail(2)) SWIG_fail
;
11742 arg3
= (long)(SWIG_As_long(obj2
));
11743 if (SWIG_arg_fail(3)) SWIG_fail
;
11746 arg4
= (long)(SWIG_As_long(obj3
));
11747 if (SWIG_arg_fail(4)) SWIG_fail
;
11750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11751 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
11753 wxPyEndAllowThreads(__tstate
);
11754 if (PyErr_Occurred()) SWIG_fail
;
11756 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
11763 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11764 PyObject
*resultobj
;
11765 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11766 wxMouseEvent
*result
;
11767 PyObject
* obj0
= 0 ;
11768 char *kwnames
[] = {
11769 (char *) "self", NULL
11772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
11773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11774 if (SWIG_arg_fail(1)) SWIG_fail
;
11776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11778 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
11779 result
= (wxMouseEvent
*) &_result_ref
;
11782 wxPyEndAllowThreads(__tstate
);
11783 if (PyErr_Occurred()) SWIG_fail
;
11785 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
11792 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11793 PyObject
*resultobj
;
11794 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11796 PyObject
* obj0
= 0 ;
11797 char *kwnames
[] = {
11798 (char *) "self", NULL
11801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
11802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11803 if (SWIG_arg_fail(1)) SWIG_fail
;
11805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11806 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
11808 wxPyEndAllowThreads(__tstate
);
11809 if (PyErr_Occurred()) SWIG_fail
;
11812 resultobj
= SWIG_From_long((long)(result
));
11820 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11821 PyObject
*resultobj
;
11822 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11824 PyObject
* obj0
= 0 ;
11825 char *kwnames
[] = {
11826 (char *) "self", NULL
11829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
11830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11831 if (SWIG_arg_fail(1)) SWIG_fail
;
11833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11834 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
11836 wxPyEndAllowThreads(__tstate
);
11837 if (PyErr_Occurred()) SWIG_fail
;
11840 resultobj
= SWIG_From_long((long)(result
));
11848 static PyObject
* TextUrlEvent_swigregister(PyObject
*, PyObject
*args
) {
11850 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11851 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
11853 return Py_BuildValue((char *)"");
11855 static int _wrap_ScrollBarNameStr_set(PyObject
*) {
11856 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
11861 static PyObject
*_wrap_ScrollBarNameStr_get(void) {
11866 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
11868 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
11875 static PyObject
*_wrap_new_ScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11876 PyObject
*resultobj
;
11877 wxWindow
*arg1
= (wxWindow
*) 0 ;
11878 int arg2
= (int) -1 ;
11879 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11880 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11881 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11882 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11883 long arg5
= (long) wxSB_HORIZONTAL
;
11884 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
11885 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
11886 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
11887 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11888 wxScrollBar
*result
;
11891 bool temp7
= false ;
11892 PyObject
* obj0
= 0 ;
11893 PyObject
* obj1
= 0 ;
11894 PyObject
* obj2
= 0 ;
11895 PyObject
* obj3
= 0 ;
11896 PyObject
* obj4
= 0 ;
11897 PyObject
* obj5
= 0 ;
11898 PyObject
* obj6
= 0 ;
11899 char *kwnames
[] = {
11900 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11905 if (SWIG_arg_fail(1)) SWIG_fail
;
11908 arg2
= (int)(SWIG_As_int(obj1
));
11909 if (SWIG_arg_fail(2)) SWIG_fail
;
11915 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11921 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11926 arg5
= (long)(SWIG_As_long(obj4
));
11927 if (SWIG_arg_fail(5)) SWIG_fail
;
11932 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
11933 if (SWIG_arg_fail(6)) SWIG_fail
;
11934 if (arg6
== NULL
) {
11935 SWIG_null_ref("wxValidator");
11937 if (SWIG_arg_fail(6)) SWIG_fail
;
11942 arg7
= wxString_in_helper(obj6
);
11943 if (arg7
== NULL
) SWIG_fail
;
11948 if (!wxPyCheckForApp()) SWIG_fail
;
11949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11950 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
11952 wxPyEndAllowThreads(__tstate
);
11953 if (PyErr_Occurred()) SWIG_fail
;
11955 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
11970 static PyObject
*_wrap_new_PreScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11971 PyObject
*resultobj
;
11972 wxScrollBar
*result
;
11973 char *kwnames
[] = {
11977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
11979 if (!wxPyCheckForApp()) SWIG_fail
;
11980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11981 result
= (wxScrollBar
*)new wxScrollBar();
11983 wxPyEndAllowThreads(__tstate
);
11984 if (PyErr_Occurred()) SWIG_fail
;
11986 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
11993 static PyObject
*_wrap_ScrollBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11994 PyObject
*resultobj
;
11995 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
11996 wxWindow
*arg2
= (wxWindow
*) 0 ;
11997 int arg3
= (int) -1 ;
11998 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11999 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12000 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12001 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12002 long arg6
= (long) wxSB_HORIZONTAL
;
12003 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12004 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12005 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
12006 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12010 bool temp8
= false ;
12011 PyObject
* obj0
= 0 ;
12012 PyObject
* obj1
= 0 ;
12013 PyObject
* obj2
= 0 ;
12014 PyObject
* obj3
= 0 ;
12015 PyObject
* obj4
= 0 ;
12016 PyObject
* obj5
= 0 ;
12017 PyObject
* obj6
= 0 ;
12018 PyObject
* obj7
= 0 ;
12019 char *kwnames
[] = {
12020 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12025 if (SWIG_arg_fail(1)) SWIG_fail
;
12026 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12027 if (SWIG_arg_fail(2)) SWIG_fail
;
12030 arg3
= (int)(SWIG_As_int(obj2
));
12031 if (SWIG_arg_fail(3)) SWIG_fail
;
12037 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12043 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12048 arg6
= (long)(SWIG_As_long(obj5
));
12049 if (SWIG_arg_fail(6)) SWIG_fail
;
12054 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
12055 if (SWIG_arg_fail(7)) SWIG_fail
;
12056 if (arg7
== NULL
) {
12057 SWIG_null_ref("wxValidator");
12059 if (SWIG_arg_fail(7)) SWIG_fail
;
12064 arg8
= wxString_in_helper(obj7
);
12065 if (arg8
== NULL
) SWIG_fail
;
12070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12071 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12073 wxPyEndAllowThreads(__tstate
);
12074 if (PyErr_Occurred()) SWIG_fail
;
12077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12093 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12094 PyObject
*resultobj
;
12095 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12097 PyObject
* obj0
= 0 ;
12098 char *kwnames
[] = {
12099 (char *) "self", NULL
12102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
12103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12104 if (SWIG_arg_fail(1)) SWIG_fail
;
12106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12107 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
12109 wxPyEndAllowThreads(__tstate
);
12110 if (PyErr_Occurred()) SWIG_fail
;
12113 resultobj
= SWIG_From_int((int)(result
));
12121 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12122 PyObject
*resultobj
;
12123 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12125 PyObject
* obj0
= 0 ;
12126 char *kwnames
[] = {
12127 (char *) "self", NULL
12130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
12131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12132 if (SWIG_arg_fail(1)) SWIG_fail
;
12134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12135 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
12137 wxPyEndAllowThreads(__tstate
);
12138 if (PyErr_Occurred()) SWIG_fail
;
12141 resultobj
= SWIG_From_int((int)(result
));
12149 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12150 PyObject
*resultobj
;
12151 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12153 PyObject
* obj0
= 0 ;
12154 char *kwnames
[] = {
12155 (char *) "self", NULL
12158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
12159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12160 if (SWIG_arg_fail(1)) SWIG_fail
;
12162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12163 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
12165 wxPyEndAllowThreads(__tstate
);
12166 if (PyErr_Occurred()) SWIG_fail
;
12169 resultobj
= SWIG_From_int((int)(result
));
12177 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12178 PyObject
*resultobj
;
12179 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12181 PyObject
* obj0
= 0 ;
12182 char *kwnames
[] = {
12183 (char *) "self", NULL
12186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
12187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12188 if (SWIG_arg_fail(1)) SWIG_fail
;
12190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12191 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
12193 wxPyEndAllowThreads(__tstate
);
12194 if (PyErr_Occurred()) SWIG_fail
;
12197 resultobj
= SWIG_From_int((int)(result
));
12205 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12206 PyObject
*resultobj
;
12207 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12209 PyObject
* obj0
= 0 ;
12210 char *kwnames
[] = {
12211 (char *) "self", NULL
12214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
12215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12216 if (SWIG_arg_fail(1)) SWIG_fail
;
12218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12219 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
12221 wxPyEndAllowThreads(__tstate
);
12222 if (PyErr_Occurred()) SWIG_fail
;
12225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12233 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12234 PyObject
*resultobj
;
12235 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12237 PyObject
* obj0
= 0 ;
12238 PyObject
* obj1
= 0 ;
12239 char *kwnames
[] = {
12240 (char *) "self",(char *) "viewStart", NULL
12243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
12244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12245 if (SWIG_arg_fail(1)) SWIG_fail
;
12247 arg2
= (int)(SWIG_As_int(obj1
));
12248 if (SWIG_arg_fail(2)) SWIG_fail
;
12251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12252 (arg1
)->SetThumbPosition(arg2
);
12254 wxPyEndAllowThreads(__tstate
);
12255 if (PyErr_Occurred()) SWIG_fail
;
12257 Py_INCREF(Py_None
); resultobj
= Py_None
;
12264 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12265 PyObject
*resultobj
;
12266 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12271 bool arg6
= (bool) true ;
12272 PyObject
* obj0
= 0 ;
12273 PyObject
* obj1
= 0 ;
12274 PyObject
* obj2
= 0 ;
12275 PyObject
* obj3
= 0 ;
12276 PyObject
* obj4
= 0 ;
12277 PyObject
* obj5
= 0 ;
12278 char *kwnames
[] = {
12279 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
12282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12284 if (SWIG_arg_fail(1)) SWIG_fail
;
12286 arg2
= (int)(SWIG_As_int(obj1
));
12287 if (SWIG_arg_fail(2)) SWIG_fail
;
12290 arg3
= (int)(SWIG_As_int(obj2
));
12291 if (SWIG_arg_fail(3)) SWIG_fail
;
12294 arg4
= (int)(SWIG_As_int(obj3
));
12295 if (SWIG_arg_fail(4)) SWIG_fail
;
12298 arg5
= (int)(SWIG_As_int(obj4
));
12299 if (SWIG_arg_fail(5)) SWIG_fail
;
12303 arg6
= (bool)(SWIG_As_bool(obj5
));
12304 if (SWIG_arg_fail(6)) SWIG_fail
;
12308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12309 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
12311 wxPyEndAllowThreads(__tstate
);
12312 if (PyErr_Occurred()) SWIG_fail
;
12314 Py_INCREF(Py_None
); resultobj
= Py_None
;
12321 static PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12322 PyObject
*resultobj
;
12323 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
12324 wxVisualAttributes result
;
12325 PyObject
* obj0
= 0 ;
12326 char *kwnames
[] = {
12327 (char *) "variant", NULL
12330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12333 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
12334 if (SWIG_arg_fail(1)) SWIG_fail
;
12338 if (!wxPyCheckForApp()) SWIG_fail
;
12339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12340 result
= wxScrollBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12342 wxPyEndAllowThreads(__tstate
);
12343 if (PyErr_Occurred()) SWIG_fail
;
12346 wxVisualAttributes
* resultptr
;
12347 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
12348 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12356 static PyObject
* ScrollBar_swigregister(PyObject
*, PyObject
*args
) {
12358 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12359 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
12361 return Py_BuildValue((char *)"");
12363 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*) {
12364 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
12369 static PyObject
*_wrap_SPIN_BUTTON_NAME_get(void) {
12374 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
12376 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
12383 static int _wrap_SpinCtrlNameStr_set(PyObject
*) {
12384 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
12389 static PyObject
*_wrap_SpinCtrlNameStr_get(void) {
12394 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
12396 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
12403 static PyObject
*_wrap_new_SpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12404 PyObject
*resultobj
;
12405 wxWindow
*arg1
= (wxWindow
*) 0 ;
12406 int arg2
= (int) -1 ;
12407 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12408 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12409 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12410 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12411 long arg5
= (long) wxSP_HORIZONTAL
;
12412 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
12413 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12414 wxSpinButton
*result
;
12417 bool temp6
= false ;
12418 PyObject
* obj0
= 0 ;
12419 PyObject
* obj1
= 0 ;
12420 PyObject
* obj2
= 0 ;
12421 PyObject
* obj3
= 0 ;
12422 PyObject
* obj4
= 0 ;
12423 PyObject
* obj5
= 0 ;
12424 char *kwnames
[] = {
12425 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12430 if (SWIG_arg_fail(1)) SWIG_fail
;
12433 arg2
= (int)(SWIG_As_int(obj1
));
12434 if (SWIG_arg_fail(2)) SWIG_fail
;
12440 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12446 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12451 arg5
= (long)(SWIG_As_long(obj4
));
12452 if (SWIG_arg_fail(5)) SWIG_fail
;
12457 arg6
= wxString_in_helper(obj5
);
12458 if (arg6
== NULL
) SWIG_fail
;
12463 if (!wxPyCheckForApp()) SWIG_fail
;
12464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12465 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12467 wxPyEndAllowThreads(__tstate
);
12468 if (PyErr_Occurred()) SWIG_fail
;
12470 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
12485 static PyObject
*_wrap_new_PreSpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12486 PyObject
*resultobj
;
12487 wxSpinButton
*result
;
12488 char *kwnames
[] = {
12492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
12494 if (!wxPyCheckForApp()) SWIG_fail
;
12495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12496 result
= (wxSpinButton
*)new wxSpinButton();
12498 wxPyEndAllowThreads(__tstate
);
12499 if (PyErr_Occurred()) SWIG_fail
;
12501 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
12508 static PyObject
*_wrap_SpinButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12509 PyObject
*resultobj
;
12510 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12511 wxWindow
*arg2
= (wxWindow
*) 0 ;
12512 int arg3
= (int) -1 ;
12513 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12514 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12515 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12516 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12517 long arg6
= (long) wxSP_HORIZONTAL
;
12518 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
12519 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12523 bool temp7
= false ;
12524 PyObject
* obj0
= 0 ;
12525 PyObject
* obj1
= 0 ;
12526 PyObject
* obj2
= 0 ;
12527 PyObject
* obj3
= 0 ;
12528 PyObject
* obj4
= 0 ;
12529 PyObject
* obj5
= 0 ;
12530 PyObject
* obj6
= 0 ;
12531 char *kwnames
[] = {
12532 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12537 if (SWIG_arg_fail(1)) SWIG_fail
;
12538 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12539 if (SWIG_arg_fail(2)) SWIG_fail
;
12542 arg3
= (int)(SWIG_As_int(obj2
));
12543 if (SWIG_arg_fail(3)) SWIG_fail
;
12549 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12555 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12560 arg6
= (long)(SWIG_As_long(obj5
));
12561 if (SWIG_arg_fail(6)) SWIG_fail
;
12566 arg7
= wxString_in_helper(obj6
);
12567 if (arg7
== NULL
) SWIG_fail
;
12572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12573 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12575 wxPyEndAllowThreads(__tstate
);
12576 if (PyErr_Occurred()) SWIG_fail
;
12579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12595 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12596 PyObject
*resultobj
;
12597 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12599 PyObject
* obj0
= 0 ;
12600 char *kwnames
[] = {
12601 (char *) "self", NULL
12604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
12605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12606 if (SWIG_arg_fail(1)) SWIG_fail
;
12608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12609 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
12611 wxPyEndAllowThreads(__tstate
);
12612 if (PyErr_Occurred()) SWIG_fail
;
12615 resultobj
= SWIG_From_int((int)(result
));
12623 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12624 PyObject
*resultobj
;
12625 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12627 PyObject
* obj0
= 0 ;
12628 char *kwnames
[] = {
12629 (char *) "self", NULL
12632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
12633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12634 if (SWIG_arg_fail(1)) SWIG_fail
;
12636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12637 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
12639 wxPyEndAllowThreads(__tstate
);
12640 if (PyErr_Occurred()) SWIG_fail
;
12643 resultobj
= SWIG_From_int((int)(result
));
12651 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12652 PyObject
*resultobj
;
12653 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12655 PyObject
* obj0
= 0 ;
12656 char *kwnames
[] = {
12657 (char *) "self", NULL
12660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
12661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12662 if (SWIG_arg_fail(1)) SWIG_fail
;
12664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12665 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
12667 wxPyEndAllowThreads(__tstate
);
12668 if (PyErr_Occurred()) SWIG_fail
;
12671 resultobj
= SWIG_From_int((int)(result
));
12679 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12680 PyObject
*resultobj
;
12681 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12683 PyObject
* obj0
= 0 ;
12684 PyObject
* obj1
= 0 ;
12685 char *kwnames
[] = {
12686 (char *) "self",(char *) "val", NULL
12689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12691 if (SWIG_arg_fail(1)) SWIG_fail
;
12693 arg2
= (int)(SWIG_As_int(obj1
));
12694 if (SWIG_arg_fail(2)) SWIG_fail
;
12697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12698 (arg1
)->SetValue(arg2
);
12700 wxPyEndAllowThreads(__tstate
);
12701 if (PyErr_Occurred()) SWIG_fail
;
12703 Py_INCREF(Py_None
); resultobj
= Py_None
;
12710 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12711 PyObject
*resultobj
;
12712 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12714 PyObject
* obj0
= 0 ;
12715 PyObject
* obj1
= 0 ;
12716 char *kwnames
[] = {
12717 (char *) "self",(char *) "minVal", NULL
12720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
12721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12722 if (SWIG_arg_fail(1)) SWIG_fail
;
12724 arg2
= (int)(SWIG_As_int(obj1
));
12725 if (SWIG_arg_fail(2)) SWIG_fail
;
12728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12729 (arg1
)->SetMin(arg2
);
12731 wxPyEndAllowThreads(__tstate
);
12732 if (PyErr_Occurred()) SWIG_fail
;
12734 Py_INCREF(Py_None
); resultobj
= Py_None
;
12741 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12742 PyObject
*resultobj
;
12743 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12745 PyObject
* obj0
= 0 ;
12746 PyObject
* obj1
= 0 ;
12747 char *kwnames
[] = {
12748 (char *) "self",(char *) "maxVal", NULL
12751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
12752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12753 if (SWIG_arg_fail(1)) SWIG_fail
;
12755 arg2
= (int)(SWIG_As_int(obj1
));
12756 if (SWIG_arg_fail(2)) SWIG_fail
;
12759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12760 (arg1
)->SetMax(arg2
);
12762 wxPyEndAllowThreads(__tstate
);
12763 if (PyErr_Occurred()) SWIG_fail
;
12765 Py_INCREF(Py_None
); resultobj
= Py_None
;
12772 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12773 PyObject
*resultobj
;
12774 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12777 PyObject
* obj0
= 0 ;
12778 PyObject
* obj1
= 0 ;
12779 PyObject
* obj2
= 0 ;
12780 char *kwnames
[] = {
12781 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
12784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12786 if (SWIG_arg_fail(1)) SWIG_fail
;
12788 arg2
= (int)(SWIG_As_int(obj1
));
12789 if (SWIG_arg_fail(2)) SWIG_fail
;
12792 arg3
= (int)(SWIG_As_int(obj2
));
12793 if (SWIG_arg_fail(3)) SWIG_fail
;
12796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12797 (arg1
)->SetRange(arg2
,arg3
);
12799 wxPyEndAllowThreads(__tstate
);
12800 if (PyErr_Occurred()) SWIG_fail
;
12802 Py_INCREF(Py_None
); resultobj
= Py_None
;
12809 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12810 PyObject
*resultobj
;
12811 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12813 PyObject
* obj0
= 0 ;
12814 char *kwnames
[] = {
12815 (char *) "self", NULL
12818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
12819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12820 if (SWIG_arg_fail(1)) SWIG_fail
;
12822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12823 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
12825 wxPyEndAllowThreads(__tstate
);
12826 if (PyErr_Occurred()) SWIG_fail
;
12829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12837 static PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12838 PyObject
*resultobj
;
12839 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
12840 wxVisualAttributes result
;
12841 PyObject
* obj0
= 0 ;
12842 char *kwnames
[] = {
12843 (char *) "variant", NULL
12846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12849 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
12850 if (SWIG_arg_fail(1)) SWIG_fail
;
12854 if (!wxPyCheckForApp()) SWIG_fail
;
12855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12856 result
= wxSpinButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12858 wxPyEndAllowThreads(__tstate
);
12859 if (PyErr_Occurred()) SWIG_fail
;
12862 wxVisualAttributes
* resultptr
;
12863 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
12864 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12872 static PyObject
* SpinButton_swigregister(PyObject
*, PyObject
*args
) {
12874 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12875 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
12877 return Py_BuildValue((char *)"");
12879 static PyObject
*_wrap_new_SpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12880 PyObject
*resultobj
;
12881 wxWindow
*arg1
= (wxWindow
*) 0 ;
12882 int arg2
= (int) -1 ;
12883 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12884 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12885 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12886 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12887 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12888 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12889 long arg6
= (long) wxSP_ARROW_KEYS
;
12890 int arg7
= (int) 0 ;
12891 int arg8
= (int) 100 ;
12892 int arg9
= (int) 0 ;
12893 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
12894 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12895 wxSpinCtrl
*result
;
12896 bool temp3
= false ;
12899 bool temp10
= false ;
12900 PyObject
* obj0
= 0 ;
12901 PyObject
* obj1
= 0 ;
12902 PyObject
* obj2
= 0 ;
12903 PyObject
* obj3
= 0 ;
12904 PyObject
* obj4
= 0 ;
12905 PyObject
* obj5
= 0 ;
12906 PyObject
* obj6
= 0 ;
12907 PyObject
* obj7
= 0 ;
12908 PyObject
* obj8
= 0 ;
12909 PyObject
* obj9
= 0 ;
12910 char *kwnames
[] = {
12911 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
12914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12916 if (SWIG_arg_fail(1)) SWIG_fail
;
12919 arg2
= (int)(SWIG_As_int(obj1
));
12920 if (SWIG_arg_fail(2)) SWIG_fail
;
12925 arg3
= wxString_in_helper(obj2
);
12926 if (arg3
== NULL
) SWIG_fail
;
12933 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12939 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12944 arg6
= (long)(SWIG_As_long(obj5
));
12945 if (SWIG_arg_fail(6)) SWIG_fail
;
12950 arg7
= (int)(SWIG_As_int(obj6
));
12951 if (SWIG_arg_fail(7)) SWIG_fail
;
12956 arg8
= (int)(SWIG_As_int(obj7
));
12957 if (SWIG_arg_fail(8)) SWIG_fail
;
12962 arg9
= (int)(SWIG_As_int(obj8
));
12963 if (SWIG_arg_fail(9)) SWIG_fail
;
12968 arg10
= wxString_in_helper(obj9
);
12969 if (arg10
== NULL
) SWIG_fail
;
12974 if (!wxPyCheckForApp()) SWIG_fail
;
12975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12976 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
12978 wxPyEndAllowThreads(__tstate
);
12979 if (PyErr_Occurred()) SWIG_fail
;
12981 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
13004 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13005 PyObject
*resultobj
;
13006 wxSpinCtrl
*result
;
13007 char *kwnames
[] = {
13011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
13013 if (!wxPyCheckForApp()) SWIG_fail
;
13014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13015 result
= (wxSpinCtrl
*)new wxSpinCtrl();
13017 wxPyEndAllowThreads(__tstate
);
13018 if (PyErr_Occurred()) SWIG_fail
;
13020 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
13027 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13028 PyObject
*resultobj
;
13029 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13030 wxWindow
*arg2
= (wxWindow
*) 0 ;
13031 int arg3
= (int) -1 ;
13032 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13033 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13034 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13035 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13036 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13037 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13038 long arg7
= (long) wxSP_ARROW_KEYS
;
13039 int arg8
= (int) 0 ;
13040 int arg9
= (int) 100 ;
13041 int arg10
= (int) 0 ;
13042 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
13043 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
13045 bool temp4
= false ;
13048 bool temp11
= false ;
13049 PyObject
* obj0
= 0 ;
13050 PyObject
* obj1
= 0 ;
13051 PyObject
* obj2
= 0 ;
13052 PyObject
* obj3
= 0 ;
13053 PyObject
* obj4
= 0 ;
13054 PyObject
* obj5
= 0 ;
13055 PyObject
* obj6
= 0 ;
13056 PyObject
* obj7
= 0 ;
13057 PyObject
* obj8
= 0 ;
13058 PyObject
* obj9
= 0 ;
13059 PyObject
* obj10
= 0 ;
13060 char *kwnames
[] = {
13061 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
13064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
13065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13066 if (SWIG_arg_fail(1)) SWIG_fail
;
13067 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13068 if (SWIG_arg_fail(2)) SWIG_fail
;
13071 arg3
= (int)(SWIG_As_int(obj2
));
13072 if (SWIG_arg_fail(3)) SWIG_fail
;
13077 arg4
= wxString_in_helper(obj3
);
13078 if (arg4
== NULL
) SWIG_fail
;
13085 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13091 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13096 arg7
= (long)(SWIG_As_long(obj6
));
13097 if (SWIG_arg_fail(7)) SWIG_fail
;
13102 arg8
= (int)(SWIG_As_int(obj7
));
13103 if (SWIG_arg_fail(8)) SWIG_fail
;
13108 arg9
= (int)(SWIG_As_int(obj8
));
13109 if (SWIG_arg_fail(9)) SWIG_fail
;
13114 arg10
= (int)(SWIG_As_int(obj9
));
13115 if (SWIG_arg_fail(10)) SWIG_fail
;
13120 arg11
= wxString_in_helper(obj10
);
13121 if (arg11
== NULL
) SWIG_fail
;
13126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13127 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
13129 wxPyEndAllowThreads(__tstate
);
13130 if (PyErr_Occurred()) SWIG_fail
;
13133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13157 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13158 PyObject
*resultobj
;
13159 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13161 PyObject
* obj0
= 0 ;
13162 char *kwnames
[] = {
13163 (char *) "self", NULL
13166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
13167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13168 if (SWIG_arg_fail(1)) SWIG_fail
;
13170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13171 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
13173 wxPyEndAllowThreads(__tstate
);
13174 if (PyErr_Occurred()) SWIG_fail
;
13177 resultobj
= SWIG_From_int((int)(result
));
13185 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13186 PyObject
*resultobj
;
13187 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13189 PyObject
* obj0
= 0 ;
13190 PyObject
* obj1
= 0 ;
13191 char *kwnames
[] = {
13192 (char *) "self",(char *) "value", NULL
13195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) 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
= (int)(SWIG_As_int(obj1
));
13200 if (SWIG_arg_fail(2)) SWIG_fail
;
13203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13204 (arg1
)->SetValue(arg2
);
13206 wxPyEndAllowThreads(__tstate
);
13207 if (PyErr_Occurred()) SWIG_fail
;
13209 Py_INCREF(Py_None
); resultobj
= Py_None
;
13216 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13217 PyObject
*resultobj
;
13218 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13219 wxString
*arg2
= 0 ;
13220 bool temp2
= false ;
13221 PyObject
* obj0
= 0 ;
13222 PyObject
* obj1
= 0 ;
13223 char *kwnames
[] = {
13224 (char *) "self",(char *) "text", NULL
13227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
13228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13229 if (SWIG_arg_fail(1)) SWIG_fail
;
13231 arg2
= wxString_in_helper(obj1
);
13232 if (arg2
== NULL
) SWIG_fail
;
13236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13237 (arg1
)->SetValue((wxString
const &)*arg2
);
13239 wxPyEndAllowThreads(__tstate
);
13240 if (PyErr_Occurred()) SWIG_fail
;
13242 Py_INCREF(Py_None
); resultobj
= Py_None
;
13257 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13258 PyObject
*resultobj
;
13259 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13262 PyObject
* obj0
= 0 ;
13263 PyObject
* obj1
= 0 ;
13264 PyObject
* obj2
= 0 ;
13265 char *kwnames
[] = {
13266 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
13269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13271 if (SWIG_arg_fail(1)) SWIG_fail
;
13273 arg2
= (int)(SWIG_As_int(obj1
));
13274 if (SWIG_arg_fail(2)) SWIG_fail
;
13277 arg3
= (int)(SWIG_As_int(obj2
));
13278 if (SWIG_arg_fail(3)) SWIG_fail
;
13281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13282 (arg1
)->SetRange(arg2
,arg3
);
13284 wxPyEndAllowThreads(__tstate
);
13285 if (PyErr_Occurred()) SWIG_fail
;
13287 Py_INCREF(Py_None
); resultobj
= Py_None
;
13294 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13295 PyObject
*resultobj
;
13296 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13298 PyObject
* obj0
= 0 ;
13299 char *kwnames
[] = {
13300 (char *) "self", NULL
13303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
13304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13305 if (SWIG_arg_fail(1)) SWIG_fail
;
13307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13308 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
13310 wxPyEndAllowThreads(__tstate
);
13311 if (PyErr_Occurred()) SWIG_fail
;
13314 resultobj
= SWIG_From_int((int)(result
));
13322 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13323 PyObject
*resultobj
;
13324 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13326 PyObject
* obj0
= 0 ;
13327 char *kwnames
[] = {
13328 (char *) "self", NULL
13331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
13332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13333 if (SWIG_arg_fail(1)) SWIG_fail
;
13335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13336 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
13338 wxPyEndAllowThreads(__tstate
);
13339 if (PyErr_Occurred()) SWIG_fail
;
13342 resultobj
= SWIG_From_int((int)(result
));
13350 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13351 PyObject
*resultobj
;
13352 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13355 PyObject
* obj0
= 0 ;
13356 PyObject
* obj1
= 0 ;
13357 PyObject
* obj2
= 0 ;
13358 char *kwnames
[] = {
13359 (char *) "self",(char *) "from",(char *) "to", NULL
13362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13364 if (SWIG_arg_fail(1)) SWIG_fail
;
13366 arg2
= (long)(SWIG_As_long(obj1
));
13367 if (SWIG_arg_fail(2)) SWIG_fail
;
13370 arg3
= (long)(SWIG_As_long(obj2
));
13371 if (SWIG_arg_fail(3)) SWIG_fail
;
13374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13375 (arg1
)->SetSelection(arg2
,arg3
);
13377 wxPyEndAllowThreads(__tstate
);
13378 if (PyErr_Occurred()) SWIG_fail
;
13380 Py_INCREF(Py_None
); resultobj
= Py_None
;
13387 static PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13388 PyObject
*resultobj
;
13389 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13390 wxVisualAttributes result
;
13391 PyObject
* obj0
= 0 ;
13392 char *kwnames
[] = {
13393 (char *) "variant", NULL
13396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13399 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
13400 if (SWIG_arg_fail(1)) SWIG_fail
;
13404 if (!wxPyCheckForApp()) SWIG_fail
;
13405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13406 result
= wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13408 wxPyEndAllowThreads(__tstate
);
13409 if (PyErr_Occurred()) SWIG_fail
;
13412 wxVisualAttributes
* resultptr
;
13413 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
13414 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13422 static PyObject
* SpinCtrl_swigregister(PyObject
*, PyObject
*args
) {
13424 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13425 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
13427 return Py_BuildValue((char *)"");
13429 static PyObject
*_wrap_new_SpinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13430 PyObject
*resultobj
;
13431 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13432 int arg2
= (int) 0 ;
13433 wxSpinEvent
*result
;
13434 PyObject
* obj0
= 0 ;
13435 PyObject
* obj1
= 0 ;
13436 char *kwnames
[] = {
13437 (char *) "commandType",(char *) "winid", NULL
13440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13443 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
13444 if (SWIG_arg_fail(1)) SWIG_fail
;
13449 arg2
= (int)(SWIG_As_int(obj1
));
13450 if (SWIG_arg_fail(2)) SWIG_fail
;
13454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13455 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
13457 wxPyEndAllowThreads(__tstate
);
13458 if (PyErr_Occurred()) SWIG_fail
;
13460 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
13467 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13468 PyObject
*resultobj
;
13469 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
13471 PyObject
* obj0
= 0 ;
13472 char *kwnames
[] = {
13473 (char *) "self", NULL
13476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_EXCEPTION
| 0);
13478 if (SWIG_arg_fail(1)) SWIG_fail
;
13480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13481 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
13483 wxPyEndAllowThreads(__tstate
);
13484 if (PyErr_Occurred()) SWIG_fail
;
13487 resultobj
= SWIG_From_int((int)(result
));
13495 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13496 PyObject
*resultobj
;
13497 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
13499 PyObject
* obj0
= 0 ;
13500 PyObject
* obj1
= 0 ;
13501 char *kwnames
[] = {
13502 (char *) "self",(char *) "pos", NULL
13505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_EXCEPTION
| 0);
13507 if (SWIG_arg_fail(1)) SWIG_fail
;
13509 arg2
= (int)(SWIG_As_int(obj1
));
13510 if (SWIG_arg_fail(2)) SWIG_fail
;
13513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13514 (arg1
)->SetPosition(arg2
);
13516 wxPyEndAllowThreads(__tstate
);
13517 if (PyErr_Occurred()) SWIG_fail
;
13519 Py_INCREF(Py_None
); resultobj
= Py_None
;
13526 static PyObject
* SpinEvent_swigregister(PyObject
*, PyObject
*args
) {
13528 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13529 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
13531 return Py_BuildValue((char *)"");
13533 static int _wrap_RadioBoxNameStr_set(PyObject
*) {
13534 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
13539 static PyObject
*_wrap_RadioBoxNameStr_get(void) {
13544 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
13546 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
13553 static int _wrap_RadioButtonNameStr_set(PyObject
*) {
13554 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
13559 static PyObject
*_wrap_RadioButtonNameStr_get(void) {
13564 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
13566 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
13573 static PyObject
*_wrap_new_RadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13574 PyObject
*resultobj
;
13575 wxWindow
*arg1
= (wxWindow
*) 0 ;
13576 int arg2
= (int) -1 ;
13577 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13578 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13579 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13580 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13581 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13582 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13583 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
13584 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
13585 int arg7
= (int) 0 ;
13586 long arg8
= (long) wxRA_HORIZONTAL
;
13587 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
13588 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
13589 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
13590 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
13591 wxRadioBox
*result
;
13592 bool temp3
= false ;
13595 bool temp6
= false ;
13596 bool temp10
= false ;
13597 PyObject
* obj0
= 0 ;
13598 PyObject
* obj1
= 0 ;
13599 PyObject
* obj2
= 0 ;
13600 PyObject
* obj3
= 0 ;
13601 PyObject
* obj4
= 0 ;
13602 PyObject
* obj5
= 0 ;
13603 PyObject
* obj6
= 0 ;
13604 PyObject
* obj7
= 0 ;
13605 PyObject
* obj8
= 0 ;
13606 PyObject
* obj9
= 0 ;
13607 char *kwnames
[] = {
13608 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
13612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13613 if (SWIG_arg_fail(1)) SWIG_fail
;
13616 arg2
= (int)(SWIG_As_int(obj1
));
13617 if (SWIG_arg_fail(2)) SWIG_fail
;
13622 arg3
= wxString_in_helper(obj2
);
13623 if (arg3
== NULL
) SWIG_fail
;
13630 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13636 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13641 if (! PySequence_Check(obj5
)) {
13642 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13645 arg6
= new wxArrayString
;
13647 int i
, len
=PySequence_Length(obj5
);
13648 for (i
=0; i
<len
; i
++) {
13649 PyObject
* item
= PySequence_GetItem(obj5
, i
);
13651 PyObject
* str
= PyObject_Unicode(item
);
13653 PyObject
* str
= PyObject_Str(item
);
13655 if (PyErr_Occurred()) SWIG_fail
;
13656 arg6
->Add(Py2wxString(str
));
13664 arg7
= (int)(SWIG_As_int(obj6
));
13665 if (SWIG_arg_fail(7)) SWIG_fail
;
13670 arg8
= (long)(SWIG_As_long(obj7
));
13671 if (SWIG_arg_fail(8)) SWIG_fail
;
13676 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
13677 if (SWIG_arg_fail(9)) SWIG_fail
;
13678 if (arg9
== NULL
) {
13679 SWIG_null_ref("wxValidator");
13681 if (SWIG_arg_fail(9)) SWIG_fail
;
13686 arg10
= wxString_in_helper(obj9
);
13687 if (arg10
== NULL
) SWIG_fail
;
13692 if (!wxPyCheckForApp()) SWIG_fail
;
13693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13694 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
);
13696 wxPyEndAllowThreads(__tstate
);
13697 if (PyErr_Occurred()) SWIG_fail
;
13699 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
13705 if (temp6
) delete arg6
;
13718 if (temp6
) delete arg6
;
13728 static PyObject
*_wrap_new_PreRadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13729 PyObject
*resultobj
;
13730 wxRadioBox
*result
;
13731 char *kwnames
[] = {
13735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
13737 if (!wxPyCheckForApp()) SWIG_fail
;
13738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13739 result
= (wxRadioBox
*)new wxRadioBox();
13741 wxPyEndAllowThreads(__tstate
);
13742 if (PyErr_Occurred()) SWIG_fail
;
13744 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
13751 static PyObject
*_wrap_RadioBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13752 PyObject
*resultobj
;
13753 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13754 wxWindow
*arg2
= (wxWindow
*) 0 ;
13755 int arg3
= (int) -1 ;
13756 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13757 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13758 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13759 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13760 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13761 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13762 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
13763 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
13764 int arg8
= (int) 0 ;
13765 long arg9
= (long) wxRA_HORIZONTAL
;
13766 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
13767 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
13768 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
13769 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
13771 bool temp4
= false ;
13774 bool temp7
= false ;
13775 bool temp11
= false ;
13776 PyObject
* obj0
= 0 ;
13777 PyObject
* obj1
= 0 ;
13778 PyObject
* obj2
= 0 ;
13779 PyObject
* obj3
= 0 ;
13780 PyObject
* obj4
= 0 ;
13781 PyObject
* obj5
= 0 ;
13782 PyObject
* obj6
= 0 ;
13783 PyObject
* obj7
= 0 ;
13784 PyObject
* obj8
= 0 ;
13785 PyObject
* obj9
= 0 ;
13786 PyObject
* obj10
= 0 ;
13787 char *kwnames
[] = {
13788 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
13792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13793 if (SWIG_arg_fail(1)) SWIG_fail
;
13794 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13795 if (SWIG_arg_fail(2)) SWIG_fail
;
13798 arg3
= (int)(SWIG_As_int(obj2
));
13799 if (SWIG_arg_fail(3)) SWIG_fail
;
13804 arg4
= wxString_in_helper(obj3
);
13805 if (arg4
== NULL
) SWIG_fail
;
13812 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13818 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13823 if (! PySequence_Check(obj6
)) {
13824 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13827 arg7
= new wxArrayString
;
13829 int i
, len
=PySequence_Length(obj6
);
13830 for (i
=0; i
<len
; i
++) {
13831 PyObject
* item
= PySequence_GetItem(obj6
, i
);
13833 PyObject
* str
= PyObject_Unicode(item
);
13835 PyObject
* str
= PyObject_Str(item
);
13837 if (PyErr_Occurred()) SWIG_fail
;
13838 arg7
->Add(Py2wxString(str
));
13846 arg8
= (int)(SWIG_As_int(obj7
));
13847 if (SWIG_arg_fail(8)) SWIG_fail
;
13852 arg9
= (long)(SWIG_As_long(obj8
));
13853 if (SWIG_arg_fail(9)) SWIG_fail
;
13858 SWIG_Python_ConvertPtr(obj9
, (void **)&arg10
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
13859 if (SWIG_arg_fail(10)) SWIG_fail
;
13860 if (arg10
== NULL
) {
13861 SWIG_null_ref("wxValidator");
13863 if (SWIG_arg_fail(10)) SWIG_fail
;
13868 arg11
= wxString_in_helper(obj10
);
13869 if (arg11
== NULL
) SWIG_fail
;
13874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13875 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
);
13877 wxPyEndAllowThreads(__tstate
);
13878 if (PyErr_Occurred()) SWIG_fail
;
13881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13888 if (temp7
) delete arg7
;
13901 if (temp7
) delete arg7
;
13911 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13912 PyObject
*resultobj
;
13913 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13915 PyObject
* obj0
= 0 ;
13916 PyObject
* obj1
= 0 ;
13917 char *kwnames
[] = {
13918 (char *) "self",(char *) "n", NULL
13921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13923 if (SWIG_arg_fail(1)) SWIG_fail
;
13925 arg2
= (int)(SWIG_As_int(obj1
));
13926 if (SWIG_arg_fail(2)) SWIG_fail
;
13929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13930 (arg1
)->SetSelection(arg2
);
13932 wxPyEndAllowThreads(__tstate
);
13933 if (PyErr_Occurred()) SWIG_fail
;
13935 Py_INCREF(Py_None
); resultobj
= Py_None
;
13942 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13943 PyObject
*resultobj
;
13944 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13946 PyObject
* obj0
= 0 ;
13947 char *kwnames
[] = {
13948 (char *) "self", NULL
13951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
13952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13953 if (SWIG_arg_fail(1)) SWIG_fail
;
13955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13956 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
13958 wxPyEndAllowThreads(__tstate
);
13959 if (PyErr_Occurred()) SWIG_fail
;
13962 resultobj
= SWIG_From_int((int)(result
));
13970 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13971 PyObject
*resultobj
;
13972 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13974 PyObject
* obj0
= 0 ;
13975 char *kwnames
[] = {
13976 (char *) "self", NULL
13979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
13980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13981 if (SWIG_arg_fail(1)) SWIG_fail
;
13983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13984 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
13986 wxPyEndAllowThreads(__tstate
);
13987 if (PyErr_Occurred()) SWIG_fail
;
13991 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13993 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14002 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14003 PyObject
*resultobj
;
14004 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14005 wxString
*arg2
= 0 ;
14007 bool temp2
= false ;
14008 PyObject
* obj0
= 0 ;
14009 PyObject
* obj1
= 0 ;
14010 char *kwnames
[] = {
14011 (char *) "self",(char *) "s", NULL
14014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14016 if (SWIG_arg_fail(1)) SWIG_fail
;
14018 arg2
= wxString_in_helper(obj1
);
14019 if (arg2
== NULL
) SWIG_fail
;
14023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14024 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
14026 wxPyEndAllowThreads(__tstate
);
14027 if (PyErr_Occurred()) SWIG_fail
;
14030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14046 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14047 PyObject
*resultobj
;
14048 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14050 PyObject
* obj0
= 0 ;
14051 char *kwnames
[] = {
14052 (char *) "self", NULL
14055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
14056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14057 if (SWIG_arg_fail(1)) SWIG_fail
;
14059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14060 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
14062 wxPyEndAllowThreads(__tstate
);
14063 if (PyErr_Occurred()) SWIG_fail
;
14066 resultobj
= SWIG_From_int((int)(result
));
14074 static PyObject
*_wrap_RadioBox_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14075 PyObject
*resultobj
;
14076 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14077 wxString
*arg2
= 0 ;
14079 bool temp2
= false ;
14080 PyObject
* obj0
= 0 ;
14081 PyObject
* obj1
= 0 ;
14082 char *kwnames
[] = {
14083 (char *) "self",(char *) "s", NULL
14086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14088 if (SWIG_arg_fail(1)) SWIG_fail
;
14090 arg2
= wxString_in_helper(obj1
);
14091 if (arg2
== NULL
) SWIG_fail
;
14095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14096 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
14098 wxPyEndAllowThreads(__tstate
);
14099 if (PyErr_Occurred()) SWIG_fail
;
14102 resultobj
= SWIG_From_int((int)(result
));
14118 static PyObject
*_wrap_RadioBox_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14119 PyObject
*resultobj
;
14120 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14123 PyObject
* obj0
= 0 ;
14124 PyObject
* obj1
= 0 ;
14125 char *kwnames
[] = {
14126 (char *) "self",(char *) "n", NULL
14129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
14130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14131 if (SWIG_arg_fail(1)) SWIG_fail
;
14133 arg2
= (int)(SWIG_As_int(obj1
));
14134 if (SWIG_arg_fail(2)) SWIG_fail
;
14137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14138 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
14140 wxPyEndAllowThreads(__tstate
);
14141 if (PyErr_Occurred()) SWIG_fail
;
14145 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14147 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14156 static PyObject
*_wrap_RadioBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14157 PyObject
*resultobj
;
14158 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14160 wxString
*arg3
= 0 ;
14161 bool temp3
= false ;
14162 PyObject
* obj0
= 0 ;
14163 PyObject
* obj1
= 0 ;
14164 PyObject
* obj2
= 0 ;
14165 char *kwnames
[] = {
14166 (char *) "self",(char *) "n",(char *) "label", NULL
14169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14171 if (SWIG_arg_fail(1)) SWIG_fail
;
14173 arg2
= (int)(SWIG_As_int(obj1
));
14174 if (SWIG_arg_fail(2)) SWIG_fail
;
14177 arg3
= wxString_in_helper(obj2
);
14178 if (arg3
== NULL
) SWIG_fail
;
14182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14183 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
14185 wxPyEndAllowThreads(__tstate
);
14186 if (PyErr_Occurred()) SWIG_fail
;
14188 Py_INCREF(Py_None
); resultobj
= Py_None
;
14203 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14204 PyObject
*resultobj
;
14205 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14207 bool arg3
= (bool) true ;
14208 PyObject
* obj0
= 0 ;
14209 PyObject
* obj1
= 0 ;
14210 PyObject
* obj2
= 0 ;
14211 char *kwnames
[] = {
14212 (char *) "self",(char *) "n",(char *) "enable", NULL
14215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14217 if (SWIG_arg_fail(1)) SWIG_fail
;
14219 arg2
= (int)(SWIG_As_int(obj1
));
14220 if (SWIG_arg_fail(2)) SWIG_fail
;
14224 arg3
= (bool)(SWIG_As_bool(obj2
));
14225 if (SWIG_arg_fail(3)) SWIG_fail
;
14229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14230 (arg1
)->Enable(arg2
,arg3
);
14232 wxPyEndAllowThreads(__tstate
);
14233 if (PyErr_Occurred()) SWIG_fail
;
14235 Py_INCREF(Py_None
); resultobj
= Py_None
;
14242 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14243 PyObject
*resultobj
;
14244 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14246 bool arg3
= (bool) true ;
14247 PyObject
* obj0
= 0 ;
14248 PyObject
* obj1
= 0 ;
14249 PyObject
* obj2
= 0 ;
14250 char *kwnames
[] = {
14251 (char *) "self",(char *) "n",(char *) "show", NULL
14254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14256 if (SWIG_arg_fail(1)) SWIG_fail
;
14258 arg2
= (int)(SWIG_As_int(obj1
));
14259 if (SWIG_arg_fail(2)) SWIG_fail
;
14263 arg3
= (bool)(SWIG_As_bool(obj2
));
14264 if (SWIG_arg_fail(3)) SWIG_fail
;
14268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14269 (arg1
)->Show(arg2
,arg3
);
14271 wxPyEndAllowThreads(__tstate
);
14272 if (PyErr_Occurred()) SWIG_fail
;
14274 Py_INCREF(Py_None
); resultobj
= Py_None
;
14281 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14282 PyObject
*resultobj
;
14283 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14285 PyObject
* obj0
= 0 ;
14286 char *kwnames
[] = {
14287 (char *) "self", NULL
14290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
14291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14292 if (SWIG_arg_fail(1)) SWIG_fail
;
14294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14295 result
= (int)wxRadioBox_GetColumnCount((wxRadioBox
const *)arg1
);
14297 wxPyEndAllowThreads(__tstate
);
14298 if (PyErr_Occurred()) SWIG_fail
;
14301 resultobj
= SWIG_From_int((int)(result
));
14309 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14310 PyObject
*resultobj
;
14311 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14313 PyObject
* obj0
= 0 ;
14314 char *kwnames
[] = {
14315 (char *) "self", NULL
14318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
14319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14320 if (SWIG_arg_fail(1)) SWIG_fail
;
14322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14323 result
= (int)wxRadioBox_GetRowCount((wxRadioBox
const *)arg1
);
14325 wxPyEndAllowThreads(__tstate
);
14326 if (PyErr_Occurred()) SWIG_fail
;
14329 resultobj
= SWIG_From_int((int)(result
));
14337 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14338 PyObject
*resultobj
;
14339 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14344 PyObject
* obj0
= 0 ;
14345 PyObject
* obj1
= 0 ;
14346 PyObject
* obj2
= 0 ;
14347 PyObject
* obj3
= 0 ;
14348 char *kwnames
[] = {
14349 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
14352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14354 if (SWIG_arg_fail(1)) SWIG_fail
;
14356 arg2
= (int)(SWIG_As_int(obj1
));
14357 if (SWIG_arg_fail(2)) SWIG_fail
;
14360 arg3
= (wxDirection
)(SWIG_As_int(obj2
));
14361 if (SWIG_arg_fail(3)) SWIG_fail
;
14364 arg4
= (long)(SWIG_As_long(obj3
));
14365 if (SWIG_arg_fail(4)) SWIG_fail
;
14368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14369 result
= (int)wxRadioBox_GetNextItem((wxRadioBox
const *)arg1
,arg2
,(wxDirection
)arg3
,arg4
);
14371 wxPyEndAllowThreads(__tstate
);
14372 if (PyErr_Occurred()) SWIG_fail
;
14375 resultobj
= SWIG_From_int((int)(result
));
14383 static PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14384 PyObject
*resultobj
;
14385 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14386 wxVisualAttributes result
;
14387 PyObject
* obj0
= 0 ;
14388 char *kwnames
[] = {
14389 (char *) "variant", NULL
14392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14395 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
14396 if (SWIG_arg_fail(1)) SWIG_fail
;
14400 if (!wxPyCheckForApp()) SWIG_fail
;
14401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14402 result
= wxRadioBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14404 wxPyEndAllowThreads(__tstate
);
14405 if (PyErr_Occurred()) SWIG_fail
;
14408 wxVisualAttributes
* resultptr
;
14409 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
14410 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14418 static PyObject
* RadioBox_swigregister(PyObject
*, PyObject
*args
) {
14420 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14421 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
14423 return Py_BuildValue((char *)"");
14425 static PyObject
*_wrap_new_RadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14426 PyObject
*resultobj
;
14427 wxWindow
*arg1
= (wxWindow
*) 0 ;
14428 int arg2
= (int) -1 ;
14429 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14430 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14431 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14432 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14433 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14434 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14435 long arg6
= (long) 0 ;
14436 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14437 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14438 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
14439 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14440 wxRadioButton
*result
;
14441 bool temp3
= false ;
14444 bool temp8
= false ;
14445 PyObject
* obj0
= 0 ;
14446 PyObject
* obj1
= 0 ;
14447 PyObject
* obj2
= 0 ;
14448 PyObject
* obj3
= 0 ;
14449 PyObject
* obj4
= 0 ;
14450 PyObject
* obj5
= 0 ;
14451 PyObject
* obj6
= 0 ;
14452 PyObject
* obj7
= 0 ;
14453 char *kwnames
[] = {
14454 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14459 if (SWIG_arg_fail(1)) SWIG_fail
;
14462 arg2
= (int)(SWIG_As_int(obj1
));
14463 if (SWIG_arg_fail(2)) SWIG_fail
;
14468 arg3
= wxString_in_helper(obj2
);
14469 if (arg3
== NULL
) SWIG_fail
;
14476 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14482 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14487 arg6
= (long)(SWIG_As_long(obj5
));
14488 if (SWIG_arg_fail(6)) SWIG_fail
;
14493 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14494 if (SWIG_arg_fail(7)) SWIG_fail
;
14495 if (arg7
== NULL
) {
14496 SWIG_null_ref("wxValidator");
14498 if (SWIG_arg_fail(7)) SWIG_fail
;
14503 arg8
= wxString_in_helper(obj7
);
14504 if (arg8
== NULL
) SWIG_fail
;
14509 if (!wxPyCheckForApp()) SWIG_fail
;
14510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14511 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14513 wxPyEndAllowThreads(__tstate
);
14514 if (PyErr_Occurred()) SWIG_fail
;
14516 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
14539 static PyObject
*_wrap_new_PreRadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14540 PyObject
*resultobj
;
14541 wxRadioButton
*result
;
14542 char *kwnames
[] = {
14546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
14548 if (!wxPyCheckForApp()) SWIG_fail
;
14549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14550 result
= (wxRadioButton
*)new wxRadioButton();
14552 wxPyEndAllowThreads(__tstate
);
14553 if (PyErr_Occurred()) SWIG_fail
;
14555 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
14562 static PyObject
*_wrap_RadioButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14563 PyObject
*resultobj
;
14564 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14565 wxWindow
*arg2
= (wxWindow
*) 0 ;
14566 int arg3
= (int) -1 ;
14567 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14568 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14569 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14570 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14571 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14572 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14573 long arg7
= (long) 0 ;
14574 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
14575 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
14576 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
14577 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
14579 bool temp4
= false ;
14582 bool temp9
= false ;
14583 PyObject
* obj0
= 0 ;
14584 PyObject
* obj1
= 0 ;
14585 PyObject
* obj2
= 0 ;
14586 PyObject
* obj3
= 0 ;
14587 PyObject
* obj4
= 0 ;
14588 PyObject
* obj5
= 0 ;
14589 PyObject
* obj6
= 0 ;
14590 PyObject
* obj7
= 0 ;
14591 PyObject
* obj8
= 0 ;
14592 char *kwnames
[] = {
14593 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
14597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14598 if (SWIG_arg_fail(1)) SWIG_fail
;
14599 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14600 if (SWIG_arg_fail(2)) SWIG_fail
;
14603 arg3
= (int)(SWIG_As_int(obj2
));
14604 if (SWIG_arg_fail(3)) SWIG_fail
;
14609 arg4
= wxString_in_helper(obj3
);
14610 if (arg4
== NULL
) SWIG_fail
;
14617 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14623 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14628 arg7
= (long)(SWIG_As_long(obj6
));
14629 if (SWIG_arg_fail(7)) SWIG_fail
;
14634 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14635 if (SWIG_arg_fail(8)) SWIG_fail
;
14636 if (arg8
== NULL
) {
14637 SWIG_null_ref("wxValidator");
14639 if (SWIG_arg_fail(8)) SWIG_fail
;
14644 arg9
= wxString_in_helper(obj8
);
14645 if (arg9
== NULL
) SWIG_fail
;
14650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14651 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
14653 wxPyEndAllowThreads(__tstate
);
14654 if (PyErr_Occurred()) SWIG_fail
;
14657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14681 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14682 PyObject
*resultobj
;
14683 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14685 PyObject
* obj0
= 0 ;
14686 char *kwnames
[] = {
14687 (char *) "self", NULL
14690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
14691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14692 if (SWIG_arg_fail(1)) SWIG_fail
;
14694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14695 result
= (bool)(arg1
)->GetValue();
14697 wxPyEndAllowThreads(__tstate
);
14698 if (PyErr_Occurred()) SWIG_fail
;
14701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14709 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14710 PyObject
*resultobj
;
14711 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14713 PyObject
* obj0
= 0 ;
14714 PyObject
* obj1
= 0 ;
14715 char *kwnames
[] = {
14716 (char *) "self",(char *) "value", NULL
14719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
14720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14721 if (SWIG_arg_fail(1)) SWIG_fail
;
14723 arg2
= (bool)(SWIG_As_bool(obj1
));
14724 if (SWIG_arg_fail(2)) SWIG_fail
;
14727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14728 (arg1
)->SetValue(arg2
);
14730 wxPyEndAllowThreads(__tstate
);
14731 if (PyErr_Occurred()) SWIG_fail
;
14733 Py_INCREF(Py_None
); resultobj
= Py_None
;
14740 static PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14741 PyObject
*resultobj
;
14742 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14743 wxVisualAttributes result
;
14744 PyObject
* obj0
= 0 ;
14745 char *kwnames
[] = {
14746 (char *) "variant", NULL
14749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14752 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
14753 if (SWIG_arg_fail(1)) SWIG_fail
;
14757 if (!wxPyCheckForApp()) SWIG_fail
;
14758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14759 result
= wxRadioButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14761 wxPyEndAllowThreads(__tstate
);
14762 if (PyErr_Occurred()) SWIG_fail
;
14765 wxVisualAttributes
* resultptr
;
14766 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
14767 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14775 static PyObject
* RadioButton_swigregister(PyObject
*, PyObject
*args
) {
14777 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14778 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
14780 return Py_BuildValue((char *)"");
14782 static int _wrap_SliderNameStr_set(PyObject
*) {
14783 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
14788 static PyObject
*_wrap_SliderNameStr_get(void) {
14793 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
14795 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
14802 static PyObject
*_wrap_new_Slider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14803 PyObject
*resultobj
;
14804 wxWindow
*arg1
= (wxWindow
*) 0 ;
14805 int arg2
= (int) -1 ;
14806 int arg3
= (int) 0 ;
14807 int arg4
= (int) 0 ;
14808 int arg5
= (int) 100 ;
14809 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
14810 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
14811 wxSize
const &arg7_defvalue
= wxDefaultSize
;
14812 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
14813 long arg8
= (long) wxSL_HORIZONTAL
;
14814 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
14815 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
14816 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
14817 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
14821 bool temp10
= false ;
14822 PyObject
* obj0
= 0 ;
14823 PyObject
* obj1
= 0 ;
14824 PyObject
* obj2
= 0 ;
14825 PyObject
* obj3
= 0 ;
14826 PyObject
* obj4
= 0 ;
14827 PyObject
* obj5
= 0 ;
14828 PyObject
* obj6
= 0 ;
14829 PyObject
* obj7
= 0 ;
14830 PyObject
* obj8
= 0 ;
14831 PyObject
* obj9
= 0 ;
14832 char *kwnames
[] = {
14833 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
14837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14838 if (SWIG_arg_fail(1)) SWIG_fail
;
14841 arg2
= (int)(SWIG_As_int(obj1
));
14842 if (SWIG_arg_fail(2)) SWIG_fail
;
14847 arg3
= (int)(SWIG_As_int(obj2
));
14848 if (SWIG_arg_fail(3)) SWIG_fail
;
14853 arg4
= (int)(SWIG_As_int(obj3
));
14854 if (SWIG_arg_fail(4)) SWIG_fail
;
14859 arg5
= (int)(SWIG_As_int(obj4
));
14860 if (SWIG_arg_fail(5)) SWIG_fail
;
14866 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
14872 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
14877 arg8
= (long)(SWIG_As_long(obj7
));
14878 if (SWIG_arg_fail(8)) SWIG_fail
;
14883 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14884 if (SWIG_arg_fail(9)) SWIG_fail
;
14885 if (arg9
== NULL
) {
14886 SWIG_null_ref("wxValidator");
14888 if (SWIG_arg_fail(9)) SWIG_fail
;
14893 arg10
= wxString_in_helper(obj9
);
14894 if (arg10
== NULL
) SWIG_fail
;
14899 if (!wxPyCheckForApp()) SWIG_fail
;
14900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14901 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
14903 wxPyEndAllowThreads(__tstate
);
14904 if (PyErr_Occurred()) SWIG_fail
;
14906 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
14921 static PyObject
*_wrap_new_PreSlider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14922 PyObject
*resultobj
;
14924 char *kwnames
[] = {
14928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
14930 if (!wxPyCheckForApp()) SWIG_fail
;
14931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14932 result
= (wxSlider
*)new wxSlider();
14934 wxPyEndAllowThreads(__tstate
);
14935 if (PyErr_Occurred()) SWIG_fail
;
14937 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
14944 static PyObject
*_wrap_Slider_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14945 PyObject
*resultobj
;
14946 wxSlider
*arg1
= (wxSlider
*) 0 ;
14947 wxWindow
*arg2
= (wxWindow
*) 0 ;
14948 int arg3
= (int) -1 ;
14949 int arg4
= (int) 0 ;
14950 int arg5
= (int) 0 ;
14951 int arg6
= (int) 100 ;
14952 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14953 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14954 wxSize
const &arg8_defvalue
= wxDefaultSize
;
14955 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
14956 long arg9
= (long) wxSL_HORIZONTAL
;
14957 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
14958 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
14959 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
14960 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
14964 bool temp11
= false ;
14965 PyObject
* obj0
= 0 ;
14966 PyObject
* obj1
= 0 ;
14967 PyObject
* obj2
= 0 ;
14968 PyObject
* obj3
= 0 ;
14969 PyObject
* obj4
= 0 ;
14970 PyObject
* obj5
= 0 ;
14971 PyObject
* obj6
= 0 ;
14972 PyObject
* obj7
= 0 ;
14973 PyObject
* obj8
= 0 ;
14974 PyObject
* obj9
= 0 ;
14975 PyObject
* obj10
= 0 ;
14976 char *kwnames
[] = {
14977 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
14981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
14982 if (SWIG_arg_fail(1)) SWIG_fail
;
14983 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14984 if (SWIG_arg_fail(2)) SWIG_fail
;
14987 arg3
= (int)(SWIG_As_int(obj2
));
14988 if (SWIG_arg_fail(3)) SWIG_fail
;
14993 arg4
= (int)(SWIG_As_int(obj3
));
14994 if (SWIG_arg_fail(4)) SWIG_fail
;
14999 arg5
= (int)(SWIG_As_int(obj4
));
15000 if (SWIG_arg_fail(5)) SWIG_fail
;
15005 arg6
= (int)(SWIG_As_int(obj5
));
15006 if (SWIG_arg_fail(6)) SWIG_fail
;
15012 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
15018 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
15023 arg9
= (long)(SWIG_As_long(obj8
));
15024 if (SWIG_arg_fail(9)) SWIG_fail
;
15029 SWIG_Python_ConvertPtr(obj9
, (void **)&arg10
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
15030 if (SWIG_arg_fail(10)) SWIG_fail
;
15031 if (arg10
== NULL
) {
15032 SWIG_null_ref("wxValidator");
15034 if (SWIG_arg_fail(10)) SWIG_fail
;
15039 arg11
= wxString_in_helper(obj10
);
15040 if (arg11
== NULL
) SWIG_fail
;
15045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15046 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
15048 wxPyEndAllowThreads(__tstate
);
15049 if (PyErr_Occurred()) SWIG_fail
;
15052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15068 static PyObject
*_wrap_Slider_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15069 PyObject
*resultobj
;
15070 wxSlider
*arg1
= (wxSlider
*) 0 ;
15072 PyObject
* obj0
= 0 ;
15073 char *kwnames
[] = {
15074 (char *) "self", NULL
15077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
15078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15079 if (SWIG_arg_fail(1)) SWIG_fail
;
15081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15082 result
= (int)((wxSlider
const *)arg1
)->GetValue();
15084 wxPyEndAllowThreads(__tstate
);
15085 if (PyErr_Occurred()) SWIG_fail
;
15088 resultobj
= SWIG_From_int((int)(result
));
15096 static PyObject
*_wrap_Slider_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15097 PyObject
*resultobj
;
15098 wxSlider
*arg1
= (wxSlider
*) 0 ;
15100 PyObject
* obj0
= 0 ;
15101 PyObject
* obj1
= 0 ;
15102 char *kwnames
[] = {
15103 (char *) "self",(char *) "value", NULL
15106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
15107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15108 if (SWIG_arg_fail(1)) SWIG_fail
;
15110 arg2
= (int)(SWIG_As_int(obj1
));
15111 if (SWIG_arg_fail(2)) SWIG_fail
;
15114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15115 (arg1
)->SetValue(arg2
);
15117 wxPyEndAllowThreads(__tstate
);
15118 if (PyErr_Occurred()) SWIG_fail
;
15120 Py_INCREF(Py_None
); resultobj
= Py_None
;
15127 static PyObject
*_wrap_Slider_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15128 PyObject
*resultobj
;
15129 wxSlider
*arg1
= (wxSlider
*) 0 ;
15132 PyObject
* obj0
= 0 ;
15133 PyObject
* obj1
= 0 ;
15134 PyObject
* obj2
= 0 ;
15135 char *kwnames
[] = {
15136 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
15139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15141 if (SWIG_arg_fail(1)) SWIG_fail
;
15143 arg2
= (int)(SWIG_As_int(obj1
));
15144 if (SWIG_arg_fail(2)) SWIG_fail
;
15147 arg3
= (int)(SWIG_As_int(obj2
));
15148 if (SWIG_arg_fail(3)) SWIG_fail
;
15151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15152 (arg1
)->SetRange(arg2
,arg3
);
15154 wxPyEndAllowThreads(__tstate
);
15155 if (PyErr_Occurred()) SWIG_fail
;
15157 Py_INCREF(Py_None
); resultobj
= Py_None
;
15164 static PyObject
*_wrap_Slider_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15165 PyObject
*resultobj
;
15166 wxSlider
*arg1
= (wxSlider
*) 0 ;
15168 PyObject
* obj0
= 0 ;
15169 char *kwnames
[] = {
15170 (char *) "self", NULL
15173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
15174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15175 if (SWIG_arg_fail(1)) SWIG_fail
;
15177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15178 result
= (int)((wxSlider
const *)arg1
)->GetMin();
15180 wxPyEndAllowThreads(__tstate
);
15181 if (PyErr_Occurred()) SWIG_fail
;
15184 resultobj
= SWIG_From_int((int)(result
));
15192 static PyObject
*_wrap_Slider_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15193 PyObject
*resultobj
;
15194 wxSlider
*arg1
= (wxSlider
*) 0 ;
15196 PyObject
* obj0
= 0 ;
15197 char *kwnames
[] = {
15198 (char *) "self", NULL
15201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
15202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15203 if (SWIG_arg_fail(1)) SWIG_fail
;
15205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15206 result
= (int)((wxSlider
const *)arg1
)->GetMax();
15208 wxPyEndAllowThreads(__tstate
);
15209 if (PyErr_Occurred()) SWIG_fail
;
15212 resultobj
= SWIG_From_int((int)(result
));
15220 static PyObject
*_wrap_Slider_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15221 PyObject
*resultobj
;
15222 wxSlider
*arg1
= (wxSlider
*) 0 ;
15224 PyObject
* obj0
= 0 ;
15225 PyObject
* obj1
= 0 ;
15226 char *kwnames
[] = {
15227 (char *) "self",(char *) "minValue", NULL
15230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
15231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15232 if (SWIG_arg_fail(1)) SWIG_fail
;
15234 arg2
= (int)(SWIG_As_int(obj1
));
15235 if (SWIG_arg_fail(2)) SWIG_fail
;
15238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15239 (arg1
)->SetMin(arg2
);
15241 wxPyEndAllowThreads(__tstate
);
15242 if (PyErr_Occurred()) SWIG_fail
;
15244 Py_INCREF(Py_None
); resultobj
= Py_None
;
15251 static PyObject
*_wrap_Slider_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15252 PyObject
*resultobj
;
15253 wxSlider
*arg1
= (wxSlider
*) 0 ;
15255 PyObject
* obj0
= 0 ;
15256 PyObject
* obj1
= 0 ;
15257 char *kwnames
[] = {
15258 (char *) "self",(char *) "maxValue", NULL
15261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
15262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15263 if (SWIG_arg_fail(1)) SWIG_fail
;
15265 arg2
= (int)(SWIG_As_int(obj1
));
15266 if (SWIG_arg_fail(2)) SWIG_fail
;
15269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15270 (arg1
)->SetMax(arg2
);
15272 wxPyEndAllowThreads(__tstate
);
15273 if (PyErr_Occurred()) SWIG_fail
;
15275 Py_INCREF(Py_None
); resultobj
= Py_None
;
15282 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15283 PyObject
*resultobj
;
15284 wxSlider
*arg1
= (wxSlider
*) 0 ;
15286 PyObject
* obj0
= 0 ;
15287 PyObject
* obj1
= 0 ;
15288 char *kwnames
[] = {
15289 (char *) "self",(char *) "lineSize", NULL
15292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15294 if (SWIG_arg_fail(1)) SWIG_fail
;
15296 arg2
= (int)(SWIG_As_int(obj1
));
15297 if (SWIG_arg_fail(2)) SWIG_fail
;
15300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15301 (arg1
)->SetLineSize(arg2
);
15303 wxPyEndAllowThreads(__tstate
);
15304 if (PyErr_Occurred()) SWIG_fail
;
15306 Py_INCREF(Py_None
); resultobj
= Py_None
;
15313 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15314 PyObject
*resultobj
;
15315 wxSlider
*arg1
= (wxSlider
*) 0 ;
15317 PyObject
* obj0
= 0 ;
15318 PyObject
* obj1
= 0 ;
15319 char *kwnames
[] = {
15320 (char *) "self",(char *) "pageSize", NULL
15323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15325 if (SWIG_arg_fail(1)) SWIG_fail
;
15327 arg2
= (int)(SWIG_As_int(obj1
));
15328 if (SWIG_arg_fail(2)) SWIG_fail
;
15331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15332 (arg1
)->SetPageSize(arg2
);
15334 wxPyEndAllowThreads(__tstate
);
15335 if (PyErr_Occurred()) SWIG_fail
;
15337 Py_INCREF(Py_None
); resultobj
= Py_None
;
15344 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15345 PyObject
*resultobj
;
15346 wxSlider
*arg1
= (wxSlider
*) 0 ;
15348 PyObject
* obj0
= 0 ;
15349 char *kwnames
[] = {
15350 (char *) "self", NULL
15353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
15354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15355 if (SWIG_arg_fail(1)) SWIG_fail
;
15357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15358 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
15360 wxPyEndAllowThreads(__tstate
);
15361 if (PyErr_Occurred()) SWIG_fail
;
15364 resultobj
= SWIG_From_int((int)(result
));
15372 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15373 PyObject
*resultobj
;
15374 wxSlider
*arg1
= (wxSlider
*) 0 ;
15376 PyObject
* obj0
= 0 ;
15377 char *kwnames
[] = {
15378 (char *) "self", NULL
15381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
15382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15383 if (SWIG_arg_fail(1)) SWIG_fail
;
15385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15386 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
15388 wxPyEndAllowThreads(__tstate
);
15389 if (PyErr_Occurred()) SWIG_fail
;
15392 resultobj
= SWIG_From_int((int)(result
));
15400 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15401 PyObject
*resultobj
;
15402 wxSlider
*arg1
= (wxSlider
*) 0 ;
15404 PyObject
* obj0
= 0 ;
15405 PyObject
* obj1
= 0 ;
15406 char *kwnames
[] = {
15407 (char *) "self",(char *) "lenPixels", NULL
15410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
15411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15412 if (SWIG_arg_fail(1)) SWIG_fail
;
15414 arg2
= (int)(SWIG_As_int(obj1
));
15415 if (SWIG_arg_fail(2)) SWIG_fail
;
15418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15419 (arg1
)->SetThumbLength(arg2
);
15421 wxPyEndAllowThreads(__tstate
);
15422 if (PyErr_Occurred()) SWIG_fail
;
15424 Py_INCREF(Py_None
); resultobj
= Py_None
;
15431 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15432 PyObject
*resultobj
;
15433 wxSlider
*arg1
= (wxSlider
*) 0 ;
15435 PyObject
* obj0
= 0 ;
15436 char *kwnames
[] = {
15437 (char *) "self", NULL
15440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
15441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15442 if (SWIG_arg_fail(1)) SWIG_fail
;
15444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15445 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
15447 wxPyEndAllowThreads(__tstate
);
15448 if (PyErr_Occurred()) SWIG_fail
;
15451 resultobj
= SWIG_From_int((int)(result
));
15459 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15460 PyObject
*resultobj
;
15461 wxSlider
*arg1
= (wxSlider
*) 0 ;
15463 int arg3
= (int) 1 ;
15464 PyObject
* obj0
= 0 ;
15465 PyObject
* obj1
= 0 ;
15466 PyObject
* obj2
= 0 ;
15467 char *kwnames
[] = {
15468 (char *) "self",(char *) "n",(char *) "pos", NULL
15471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15473 if (SWIG_arg_fail(1)) SWIG_fail
;
15475 arg2
= (int)(SWIG_As_int(obj1
));
15476 if (SWIG_arg_fail(2)) SWIG_fail
;
15480 arg3
= (int)(SWIG_As_int(obj2
));
15481 if (SWIG_arg_fail(3)) SWIG_fail
;
15485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15486 (arg1
)->SetTickFreq(arg2
,arg3
);
15488 wxPyEndAllowThreads(__tstate
);
15489 if (PyErr_Occurred()) SWIG_fail
;
15491 Py_INCREF(Py_None
); resultobj
= Py_None
;
15498 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15499 PyObject
*resultobj
;
15500 wxSlider
*arg1
= (wxSlider
*) 0 ;
15502 PyObject
* obj0
= 0 ;
15503 char *kwnames
[] = {
15504 (char *) "self", NULL
15507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
15508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15509 if (SWIG_arg_fail(1)) SWIG_fail
;
15511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15512 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
15514 wxPyEndAllowThreads(__tstate
);
15515 if (PyErr_Occurred()) SWIG_fail
;
15518 resultobj
= SWIG_From_int((int)(result
));
15526 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15527 PyObject
*resultobj
;
15528 wxSlider
*arg1
= (wxSlider
*) 0 ;
15529 PyObject
* obj0
= 0 ;
15530 char *kwnames
[] = {
15531 (char *) "self", NULL
15534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
15535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15536 if (SWIG_arg_fail(1)) SWIG_fail
;
15538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15539 (arg1
)->ClearTicks();
15541 wxPyEndAllowThreads(__tstate
);
15542 if (PyErr_Occurred()) SWIG_fail
;
15544 Py_INCREF(Py_None
); resultobj
= Py_None
;
15551 static PyObject
*_wrap_Slider_SetTick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15552 PyObject
*resultobj
;
15553 wxSlider
*arg1
= (wxSlider
*) 0 ;
15555 PyObject
* obj0
= 0 ;
15556 PyObject
* obj1
= 0 ;
15557 char *kwnames
[] = {
15558 (char *) "self",(char *) "tickPos", NULL
15561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
15562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15563 if (SWIG_arg_fail(1)) SWIG_fail
;
15565 arg2
= (int)(SWIG_As_int(obj1
));
15566 if (SWIG_arg_fail(2)) SWIG_fail
;
15569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15570 (arg1
)->SetTick(arg2
);
15572 wxPyEndAllowThreads(__tstate
);
15573 if (PyErr_Occurred()) SWIG_fail
;
15575 Py_INCREF(Py_None
); resultobj
= Py_None
;
15582 static PyObject
*_wrap_Slider_ClearSel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15583 PyObject
*resultobj
;
15584 wxSlider
*arg1
= (wxSlider
*) 0 ;
15585 PyObject
* obj0
= 0 ;
15586 char *kwnames
[] = {
15587 (char *) "self", NULL
15590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
15591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15592 if (SWIG_arg_fail(1)) SWIG_fail
;
15594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15595 (arg1
)->ClearSel();
15597 wxPyEndAllowThreads(__tstate
);
15598 if (PyErr_Occurred()) SWIG_fail
;
15600 Py_INCREF(Py_None
); resultobj
= Py_None
;
15607 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15608 PyObject
*resultobj
;
15609 wxSlider
*arg1
= (wxSlider
*) 0 ;
15611 PyObject
* obj0
= 0 ;
15612 char *kwnames
[] = {
15613 (char *) "self", NULL
15616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
15617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15618 if (SWIG_arg_fail(1)) SWIG_fail
;
15620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15621 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
15623 wxPyEndAllowThreads(__tstate
);
15624 if (PyErr_Occurred()) SWIG_fail
;
15627 resultobj
= SWIG_From_int((int)(result
));
15635 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15636 PyObject
*resultobj
;
15637 wxSlider
*arg1
= (wxSlider
*) 0 ;
15639 PyObject
* obj0
= 0 ;
15640 char *kwnames
[] = {
15641 (char *) "self", NULL
15644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
15645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15646 if (SWIG_arg_fail(1)) SWIG_fail
;
15648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15649 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
15651 wxPyEndAllowThreads(__tstate
);
15652 if (PyErr_Occurred()) SWIG_fail
;
15655 resultobj
= SWIG_From_int((int)(result
));
15663 static PyObject
*_wrap_Slider_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15664 PyObject
*resultobj
;
15665 wxSlider
*arg1
= (wxSlider
*) 0 ;
15668 PyObject
* obj0
= 0 ;
15669 PyObject
* obj1
= 0 ;
15670 PyObject
* obj2
= 0 ;
15671 char *kwnames
[] = {
15672 (char *) "self",(char *) "min",(char *) "max", NULL
15675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15677 if (SWIG_arg_fail(1)) SWIG_fail
;
15679 arg2
= (int)(SWIG_As_int(obj1
));
15680 if (SWIG_arg_fail(2)) SWIG_fail
;
15683 arg3
= (int)(SWIG_As_int(obj2
));
15684 if (SWIG_arg_fail(3)) SWIG_fail
;
15687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15688 (arg1
)->SetSelection(arg2
,arg3
);
15690 wxPyEndAllowThreads(__tstate
);
15691 if (PyErr_Occurred()) SWIG_fail
;
15693 Py_INCREF(Py_None
); resultobj
= Py_None
;
15700 static PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15701 PyObject
*resultobj
;
15702 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15703 wxVisualAttributes result
;
15704 PyObject
* obj0
= 0 ;
15705 char *kwnames
[] = {
15706 (char *) "variant", NULL
15709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15712 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
15713 if (SWIG_arg_fail(1)) SWIG_fail
;
15717 if (!wxPyCheckForApp()) SWIG_fail
;
15718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15719 result
= wxSlider::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15721 wxPyEndAllowThreads(__tstate
);
15722 if (PyErr_Occurred()) SWIG_fail
;
15725 wxVisualAttributes
* resultptr
;
15726 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
15727 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15735 static PyObject
* Slider_swigregister(PyObject
*, PyObject
*args
) {
15737 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15738 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
15740 return Py_BuildValue((char *)"");
15742 static int _wrap_ToggleButtonNameStr_set(PyObject
*) {
15743 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
15748 static PyObject
*_wrap_ToggleButtonNameStr_get(void) {
15753 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
15755 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
15762 static PyObject
*_wrap_new_ToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15763 PyObject
*resultobj
;
15764 wxWindow
*arg1
= (wxWindow
*) 0 ;
15765 int arg2
= (int) -1 ;
15766 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15767 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15768 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15769 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15770 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15771 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15772 long arg6
= (long) 0 ;
15773 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
15774 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
15775 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
15776 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15777 wxToggleButton
*result
;
15778 bool temp3
= false ;
15781 bool temp8
= false ;
15782 PyObject
* obj0
= 0 ;
15783 PyObject
* obj1
= 0 ;
15784 PyObject
* obj2
= 0 ;
15785 PyObject
* obj3
= 0 ;
15786 PyObject
* obj4
= 0 ;
15787 PyObject
* obj5
= 0 ;
15788 PyObject
* obj6
= 0 ;
15789 PyObject
* obj7
= 0 ;
15790 char *kwnames
[] = {
15791 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
15795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15796 if (SWIG_arg_fail(1)) SWIG_fail
;
15799 arg2
= (int)(SWIG_As_int(obj1
));
15800 if (SWIG_arg_fail(2)) SWIG_fail
;
15805 arg3
= wxString_in_helper(obj2
);
15806 if (arg3
== NULL
) SWIG_fail
;
15813 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15819 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15824 arg6
= (long)(SWIG_As_long(obj5
));
15825 if (SWIG_arg_fail(6)) SWIG_fail
;
15830 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
15831 if (SWIG_arg_fail(7)) SWIG_fail
;
15832 if (arg7
== NULL
) {
15833 SWIG_null_ref("wxValidator");
15835 if (SWIG_arg_fail(7)) SWIG_fail
;
15840 arg8
= wxString_in_helper(obj7
);
15841 if (arg8
== NULL
) SWIG_fail
;
15846 if (!wxPyCheckForApp()) SWIG_fail
;
15847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15848 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
15850 wxPyEndAllowThreads(__tstate
);
15851 if (PyErr_Occurred()) SWIG_fail
;
15853 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
15876 static PyObject
*_wrap_new_PreToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15877 PyObject
*resultobj
;
15878 wxToggleButton
*result
;
15879 char *kwnames
[] = {
15883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
15885 if (!wxPyCheckForApp()) SWIG_fail
;
15886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15887 result
= (wxToggleButton
*)new wxToggleButton();
15889 wxPyEndAllowThreads(__tstate
);
15890 if (PyErr_Occurred()) SWIG_fail
;
15892 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
15899 static PyObject
*_wrap_ToggleButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15900 PyObject
*resultobj
;
15901 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
15902 wxWindow
*arg2
= (wxWindow
*) 0 ;
15903 int arg3
= (int) -1 ;
15904 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15905 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15906 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15907 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15908 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15909 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15910 long arg7
= (long) 0 ;
15911 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
15912 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
15913 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
15914 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
15916 bool temp4
= false ;
15919 bool temp9
= false ;
15920 PyObject
* obj0
= 0 ;
15921 PyObject
* obj1
= 0 ;
15922 PyObject
* obj2
= 0 ;
15923 PyObject
* obj3
= 0 ;
15924 PyObject
* obj4
= 0 ;
15925 PyObject
* obj5
= 0 ;
15926 PyObject
* obj6
= 0 ;
15927 PyObject
* obj7
= 0 ;
15928 PyObject
* obj8
= 0 ;
15929 char *kwnames
[] = {
15930 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
15934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
15935 if (SWIG_arg_fail(1)) SWIG_fail
;
15936 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15937 if (SWIG_arg_fail(2)) SWIG_fail
;
15940 arg3
= (int)(SWIG_As_int(obj2
));
15941 if (SWIG_arg_fail(3)) SWIG_fail
;
15946 arg4
= wxString_in_helper(obj3
);
15947 if (arg4
== NULL
) SWIG_fail
;
15954 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15960 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15965 arg7
= (long)(SWIG_As_long(obj6
));
15966 if (SWIG_arg_fail(7)) SWIG_fail
;
15971 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
15972 if (SWIG_arg_fail(8)) SWIG_fail
;
15973 if (arg8
== NULL
) {
15974 SWIG_null_ref("wxValidator");
15976 if (SWIG_arg_fail(8)) SWIG_fail
;
15981 arg9
= wxString_in_helper(obj8
);
15982 if (arg9
== NULL
) SWIG_fail
;
15987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15988 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
15990 wxPyEndAllowThreads(__tstate
);
15991 if (PyErr_Occurred()) SWIG_fail
;
15994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16018 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16019 PyObject
*resultobj
;
16020 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
16022 PyObject
* obj0
= 0 ;
16023 PyObject
* obj1
= 0 ;
16024 char *kwnames
[] = {
16025 (char *) "self",(char *) "value", NULL
16028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
16029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
16030 if (SWIG_arg_fail(1)) SWIG_fail
;
16032 arg2
= (bool)(SWIG_As_bool(obj1
));
16033 if (SWIG_arg_fail(2)) SWIG_fail
;
16036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16037 (arg1
)->SetValue(arg2
);
16039 wxPyEndAllowThreads(__tstate
);
16040 if (PyErr_Occurred()) SWIG_fail
;
16042 Py_INCREF(Py_None
); resultobj
= Py_None
;
16049 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16050 PyObject
*resultobj
;
16051 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
16053 PyObject
* obj0
= 0 ;
16054 char *kwnames
[] = {
16055 (char *) "self", NULL
16058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
16059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
16060 if (SWIG_arg_fail(1)) SWIG_fail
;
16062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16063 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
16065 wxPyEndAllowThreads(__tstate
);
16066 if (PyErr_Occurred()) SWIG_fail
;
16069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16077 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16078 PyObject
*resultobj
;
16079 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
16080 wxString
*arg2
= 0 ;
16081 bool temp2
= false ;
16082 PyObject
* obj0
= 0 ;
16083 PyObject
* obj1
= 0 ;
16084 char *kwnames
[] = {
16085 (char *) "self",(char *) "label", NULL
16088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
16089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
16090 if (SWIG_arg_fail(1)) SWIG_fail
;
16092 arg2
= wxString_in_helper(obj1
);
16093 if (arg2
== NULL
) SWIG_fail
;
16097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16098 (arg1
)->SetLabel((wxString
const &)*arg2
);
16100 wxPyEndAllowThreads(__tstate
);
16101 if (PyErr_Occurred()) SWIG_fail
;
16103 Py_INCREF(Py_None
); resultobj
= Py_None
;
16118 static PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16119 PyObject
*resultobj
;
16120 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16121 wxVisualAttributes result
;
16122 PyObject
* obj0
= 0 ;
16123 char *kwnames
[] = {
16124 (char *) "variant", NULL
16127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16130 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
16131 if (SWIG_arg_fail(1)) SWIG_fail
;
16135 if (!wxPyCheckForApp()) SWIG_fail
;
16136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16137 result
= wxToggleButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
16139 wxPyEndAllowThreads(__tstate
);
16140 if (PyErr_Occurred()) SWIG_fail
;
16143 wxVisualAttributes
* resultptr
;
16144 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
16145 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16153 static PyObject
* ToggleButton_swigregister(PyObject
*, PyObject
*args
) {
16155 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16156 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
16158 return Py_BuildValue((char *)"");
16160 static int _wrap_NotebookNameStr_set(PyObject
*) {
16161 PyErr_SetString(PyExc_TypeError
,"Variable NotebookNameStr is read-only.");
16166 static PyObject
*_wrap_NotebookNameStr_get(void) {
16171 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
16173 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
16180 static PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16181 PyObject
*resultobj
;
16182 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16184 PyObject
* obj0
= 0 ;
16185 char *kwnames
[] = {
16186 (char *) "self", NULL
16189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetPageCount",kwnames
,&obj0
)) goto fail
;
16190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16191 if (SWIG_arg_fail(1)) SWIG_fail
;
16193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16194 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
16196 wxPyEndAllowThreads(__tstate
);
16197 if (PyErr_Occurred()) SWIG_fail
;
16200 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
16208 static PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16209 PyObject
*resultobj
;
16210 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16213 PyObject
* obj0
= 0 ;
16214 PyObject
* obj1
= 0 ;
16215 char *kwnames
[] = {
16216 (char *) "self",(char *) "n", NULL
16219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
16220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16221 if (SWIG_arg_fail(1)) SWIG_fail
;
16223 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16224 if (SWIG_arg_fail(2)) SWIG_fail
;
16227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16228 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
16230 wxPyEndAllowThreads(__tstate
);
16231 if (PyErr_Occurred()) SWIG_fail
;
16234 resultobj
= wxPyMake_wxObject(result
, 0);
16242 static PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16243 PyObject
*resultobj
;
16244 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16246 PyObject
* obj0
= 0 ;
16247 char *kwnames
[] = {
16248 (char *) "self", NULL
16251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
16252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16253 if (SWIG_arg_fail(1)) SWIG_fail
;
16255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16256 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
16258 wxPyEndAllowThreads(__tstate
);
16259 if (PyErr_Occurred()) SWIG_fail
;
16262 resultobj
= wxPyMake_wxObject(result
, 0);
16270 static PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16271 PyObject
*resultobj
;
16272 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16274 PyObject
* obj0
= 0 ;
16275 char *kwnames
[] = {
16276 (char *) "self", NULL
16279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetSelection",kwnames
,&obj0
)) goto fail
;
16280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16281 if (SWIG_arg_fail(1)) SWIG_fail
;
16283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16284 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
16286 wxPyEndAllowThreads(__tstate
);
16287 if (PyErr_Occurred()) SWIG_fail
;
16290 resultobj
= SWIG_From_int((int)(result
));
16298 static PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16299 PyObject
*resultobj
;
16300 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16302 wxString
*arg3
= 0 ;
16304 bool temp3
= false ;
16305 PyObject
* obj0
= 0 ;
16306 PyObject
* obj1
= 0 ;
16307 PyObject
* obj2
= 0 ;
16308 char *kwnames
[] = {
16309 (char *) "self",(char *) "n",(char *) "strText", NULL
16312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16314 if (SWIG_arg_fail(1)) SWIG_fail
;
16316 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16317 if (SWIG_arg_fail(2)) SWIG_fail
;
16320 arg3
= wxString_in_helper(obj2
);
16321 if (arg3
== NULL
) SWIG_fail
;
16325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16326 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
16328 wxPyEndAllowThreads(__tstate
);
16329 if (PyErr_Occurred()) SWIG_fail
;
16332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16348 static PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16349 PyObject
*resultobj
;
16350 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16353 PyObject
* obj0
= 0 ;
16354 PyObject
* obj1
= 0 ;
16355 char *kwnames
[] = {
16356 (char *) "self",(char *) "n", NULL
16359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
16360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16361 if (SWIG_arg_fail(1)) SWIG_fail
;
16363 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16364 if (SWIG_arg_fail(2)) SWIG_fail
;
16367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16368 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
16370 wxPyEndAllowThreads(__tstate
);
16371 if (PyErr_Occurred()) SWIG_fail
;
16375 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16377 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16386 static PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16387 PyObject
*resultobj
;
16388 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16389 wxImageList
*arg2
= (wxImageList
*) 0 ;
16390 PyObject
* obj0
= 0 ;
16391 PyObject
* obj1
= 0 ;
16392 char *kwnames
[] = {
16393 (char *) "self",(char *) "imageList", NULL
16396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
16397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16398 if (SWIG_arg_fail(1)) SWIG_fail
;
16399 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
16400 if (SWIG_arg_fail(2)) SWIG_fail
;
16402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16403 (arg1
)->SetImageList(arg2
);
16405 wxPyEndAllowThreads(__tstate
);
16406 if (PyErr_Occurred()) SWIG_fail
;
16408 Py_INCREF(Py_None
); resultobj
= Py_None
;
16415 static PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16416 PyObject
*resultobj
;
16417 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16418 wxImageList
*arg2
= (wxImageList
*) 0 ;
16419 PyObject
* obj0
= 0 ;
16420 PyObject
* obj1
= 0 ;
16421 char *kwnames
[] = {
16422 (char *) "self",(char *) "imageList", NULL
16425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
16426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16427 if (SWIG_arg_fail(1)) SWIG_fail
;
16428 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
16429 if (SWIG_arg_fail(2)) SWIG_fail
;
16431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16432 (arg1
)->AssignImageList(arg2
);
16434 wxPyEndAllowThreads(__tstate
);
16435 if (PyErr_Occurred()) SWIG_fail
;
16437 Py_INCREF(Py_None
); resultobj
= Py_None
;
16444 static PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16445 PyObject
*resultobj
;
16446 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16447 wxImageList
*result
;
16448 PyObject
* obj0
= 0 ;
16449 char *kwnames
[] = {
16450 (char *) "self", NULL
16453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetImageList",kwnames
,&obj0
)) goto fail
;
16454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16455 if (SWIG_arg_fail(1)) SWIG_fail
;
16457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16458 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
16460 wxPyEndAllowThreads(__tstate
);
16461 if (PyErr_Occurred()) SWIG_fail
;
16464 resultobj
= wxPyMake_wxObject(result
, 0);
16472 static PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16473 PyObject
*resultobj
;
16474 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16477 PyObject
* obj0
= 0 ;
16478 PyObject
* obj1
= 0 ;
16479 char *kwnames
[] = {
16480 (char *) "self",(char *) "n", NULL
16483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
16484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16485 if (SWIG_arg_fail(1)) SWIG_fail
;
16487 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16488 if (SWIG_arg_fail(2)) SWIG_fail
;
16491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16492 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
16494 wxPyEndAllowThreads(__tstate
);
16495 if (PyErr_Occurred()) SWIG_fail
;
16498 resultobj
= SWIG_From_int((int)(result
));
16506 static PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16507 PyObject
*resultobj
;
16508 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16512 PyObject
* obj0
= 0 ;
16513 PyObject
* obj1
= 0 ;
16514 PyObject
* obj2
= 0 ;
16515 char *kwnames
[] = {
16516 (char *) "self",(char *) "n",(char *) "imageId", NULL
16519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16521 if (SWIG_arg_fail(1)) SWIG_fail
;
16523 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16524 if (SWIG_arg_fail(2)) SWIG_fail
;
16527 arg3
= (int)(SWIG_As_int(obj2
));
16528 if (SWIG_arg_fail(3)) SWIG_fail
;
16531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16532 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
16534 wxPyEndAllowThreads(__tstate
);
16535 if (PyErr_Occurred()) SWIG_fail
;
16538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16546 static PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16547 PyObject
*resultobj
;
16548 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16551 PyObject
* obj0
= 0 ;
16552 PyObject
* obj1
= 0 ;
16553 char *kwnames
[] = {
16554 (char *) "self",(char *) "size", NULL
16557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16559 if (SWIG_arg_fail(1)) SWIG_fail
;
16562 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16566 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
16568 wxPyEndAllowThreads(__tstate
);
16569 if (PyErr_Occurred()) SWIG_fail
;
16571 Py_INCREF(Py_None
); resultobj
= Py_None
;
16578 static PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16579 PyObject
*resultobj
;
16580 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16584 PyObject
* obj0
= 0 ;
16585 PyObject
* obj1
= 0 ;
16586 char *kwnames
[] = {
16587 (char *) "self",(char *) "sizePage", NULL
16590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
16591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16592 if (SWIG_arg_fail(1)) SWIG_fail
;
16595 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16599 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
16601 wxPyEndAllowThreads(__tstate
);
16602 if (PyErr_Occurred()) SWIG_fail
;
16605 wxSize
* resultptr
;
16606 resultptr
= new wxSize((wxSize
&)(result
));
16607 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16615 static PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16616 PyObject
*resultobj
;
16617 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16620 PyObject
* obj0
= 0 ;
16621 PyObject
* obj1
= 0 ;
16622 char *kwnames
[] = {
16623 (char *) "self",(char *) "n", NULL
16626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
16627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16628 if (SWIG_arg_fail(1)) SWIG_fail
;
16630 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16631 if (SWIG_arg_fail(2)) SWIG_fail
;
16634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16635 result
= (bool)(arg1
)->DeletePage(arg2
);
16637 wxPyEndAllowThreads(__tstate
);
16638 if (PyErr_Occurred()) SWIG_fail
;
16641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16649 static PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16650 PyObject
*resultobj
;
16651 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16654 PyObject
* obj0
= 0 ;
16655 PyObject
* obj1
= 0 ;
16656 char *kwnames
[] = {
16657 (char *) "self",(char *) "n", NULL
16660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
16661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16662 if (SWIG_arg_fail(1)) SWIG_fail
;
16664 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16665 if (SWIG_arg_fail(2)) SWIG_fail
;
16668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16669 result
= (bool)(arg1
)->RemovePage(arg2
);
16671 wxPyEndAllowThreads(__tstate
);
16672 if (PyErr_Occurred()) SWIG_fail
;
16675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16683 static PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16684 PyObject
*resultobj
;
16685 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16687 PyObject
* obj0
= 0 ;
16688 char *kwnames
[] = {
16689 (char *) "self", NULL
16692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
16693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16694 if (SWIG_arg_fail(1)) SWIG_fail
;
16696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16697 result
= (bool)(arg1
)->DeleteAllPages();
16699 wxPyEndAllowThreads(__tstate
);
16700 if (PyErr_Occurred()) SWIG_fail
;
16703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16711 static PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16712 PyObject
*resultobj
;
16713 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16714 wxWindow
*arg2
= (wxWindow
*) 0 ;
16715 wxString
*arg3
= 0 ;
16716 bool arg4
= (bool) false ;
16717 int arg5
= (int) -1 ;
16719 bool temp3
= false ;
16720 PyObject
* obj0
= 0 ;
16721 PyObject
* obj1
= 0 ;
16722 PyObject
* obj2
= 0 ;
16723 PyObject
* obj3
= 0 ;
16724 PyObject
* obj4
= 0 ;
16725 char *kwnames
[] = {
16726 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16731 if (SWIG_arg_fail(1)) SWIG_fail
;
16732 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16733 if (SWIG_arg_fail(2)) SWIG_fail
;
16735 arg3
= wxString_in_helper(obj2
);
16736 if (arg3
== NULL
) SWIG_fail
;
16741 arg4
= (bool)(SWIG_As_bool(obj3
));
16742 if (SWIG_arg_fail(4)) SWIG_fail
;
16747 arg5
= (int)(SWIG_As_int(obj4
));
16748 if (SWIG_arg_fail(5)) SWIG_fail
;
16752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16753 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
16755 wxPyEndAllowThreads(__tstate
);
16756 if (PyErr_Occurred()) SWIG_fail
;
16759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16775 static PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16776 PyObject
*resultobj
;
16777 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16779 wxWindow
*arg3
= (wxWindow
*) 0 ;
16780 wxString
*arg4
= 0 ;
16781 bool arg5
= (bool) false ;
16782 int arg6
= (int) -1 ;
16784 bool temp4
= false ;
16785 PyObject
* obj0
= 0 ;
16786 PyObject
* obj1
= 0 ;
16787 PyObject
* obj2
= 0 ;
16788 PyObject
* obj3
= 0 ;
16789 PyObject
* obj4
= 0 ;
16790 PyObject
* obj5
= 0 ;
16791 char *kwnames
[] = {
16792 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16797 if (SWIG_arg_fail(1)) SWIG_fail
;
16799 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16800 if (SWIG_arg_fail(2)) SWIG_fail
;
16802 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16803 if (SWIG_arg_fail(3)) SWIG_fail
;
16805 arg4
= wxString_in_helper(obj3
);
16806 if (arg4
== NULL
) SWIG_fail
;
16811 arg5
= (bool)(SWIG_As_bool(obj4
));
16812 if (SWIG_arg_fail(5)) SWIG_fail
;
16817 arg6
= (int)(SWIG_As_int(obj5
));
16818 if (SWIG_arg_fail(6)) SWIG_fail
;
16822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16823 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16825 wxPyEndAllowThreads(__tstate
);
16826 if (PyErr_Occurred()) SWIG_fail
;
16829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16845 static PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16846 PyObject
*resultobj
;
16847 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16850 PyObject
* obj0
= 0 ;
16851 PyObject
* obj1
= 0 ;
16852 char *kwnames
[] = {
16853 (char *) "self",(char *) "n", NULL
16856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16858 if (SWIG_arg_fail(1)) SWIG_fail
;
16860 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16861 if (SWIG_arg_fail(2)) SWIG_fail
;
16864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16865 result
= (int)(arg1
)->SetSelection(arg2
);
16867 wxPyEndAllowThreads(__tstate
);
16868 if (PyErr_Occurred()) SWIG_fail
;
16871 resultobj
= SWIG_From_int((int)(result
));
16879 static PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16880 PyObject
*resultobj
;
16881 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16882 bool arg2
= (bool) true ;
16883 PyObject
* obj0
= 0 ;
16884 PyObject
* obj1
= 0 ;
16885 char *kwnames
[] = {
16886 (char *) "self",(char *) "forward", NULL
16889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16891 if (SWIG_arg_fail(1)) SWIG_fail
;
16894 arg2
= (bool)(SWIG_As_bool(obj1
));
16895 if (SWIG_arg_fail(2)) SWIG_fail
;
16899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16900 (arg1
)->AdvanceSelection(arg2
);
16902 wxPyEndAllowThreads(__tstate
);
16903 if (PyErr_Occurred()) SWIG_fail
;
16905 Py_INCREF(Py_None
); resultobj
= Py_None
;
16912 static PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16913 PyObject
*resultobj
;
16914 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16915 wxVisualAttributes result
;
16916 PyObject
* obj0
= 0 ;
16917 char *kwnames
[] = {
16918 (char *) "variant", NULL
16921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16924 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
16925 if (SWIG_arg_fail(1)) SWIG_fail
;
16929 if (!wxPyCheckForApp()) SWIG_fail
;
16930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16931 result
= wxBookCtrlBase::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
16933 wxPyEndAllowThreads(__tstate
);
16934 if (PyErr_Occurred()) SWIG_fail
;
16937 wxVisualAttributes
* resultptr
;
16938 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
16939 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16947 static PyObject
* BookCtrlBase_swigregister(PyObject
*, PyObject
*args
) {
16949 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16950 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBase
, obj
);
16952 return Py_BuildValue((char *)"");
16954 static PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16955 PyObject
*resultobj
;
16956 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16957 int arg2
= (int) 0 ;
16958 int arg3
= (int) -1 ;
16959 int arg4
= (int) -1 ;
16960 wxBookCtrlBaseEvent
*result
;
16961 PyObject
* obj0
= 0 ;
16962 PyObject
* obj1
= 0 ;
16963 PyObject
* obj2
= 0 ;
16964 PyObject
* obj3
= 0 ;
16965 char *kwnames
[] = {
16966 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
16969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16972 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16973 if (SWIG_arg_fail(1)) SWIG_fail
;
16978 arg2
= (int)(SWIG_As_int(obj1
));
16979 if (SWIG_arg_fail(2)) SWIG_fail
;
16984 arg3
= (int)(SWIG_As_int(obj2
));
16985 if (SWIG_arg_fail(3)) SWIG_fail
;
16990 arg4
= (int)(SWIG_As_int(obj3
));
16991 if (SWIG_arg_fail(4)) SWIG_fail
;
16995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16996 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
16998 wxPyEndAllowThreads(__tstate
);
16999 if (PyErr_Occurred()) SWIG_fail
;
17001 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, 1);
17008 static PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17009 PyObject
*resultobj
;
17010 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
17012 PyObject
* obj0
= 0 ;
17013 char *kwnames
[] = {
17014 (char *) "self", NULL
17017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
17018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17019 if (SWIG_arg_fail(1)) SWIG_fail
;
17021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17022 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
17024 wxPyEndAllowThreads(__tstate
);
17025 if (PyErr_Occurred()) SWIG_fail
;
17028 resultobj
= SWIG_From_int((int)(result
));
17036 static PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17037 PyObject
*resultobj
;
17038 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
17040 PyObject
* obj0
= 0 ;
17041 PyObject
* obj1
= 0 ;
17042 char *kwnames
[] = {
17043 (char *) "self",(char *) "nSel", NULL
17046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17048 if (SWIG_arg_fail(1)) SWIG_fail
;
17050 arg2
= (int)(SWIG_As_int(obj1
));
17051 if (SWIG_arg_fail(2)) SWIG_fail
;
17054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17055 (arg1
)->SetSelection(arg2
);
17057 wxPyEndAllowThreads(__tstate
);
17058 if (PyErr_Occurred()) SWIG_fail
;
17060 Py_INCREF(Py_None
); resultobj
= Py_None
;
17067 static PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17068 PyObject
*resultobj
;
17069 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
17071 PyObject
* obj0
= 0 ;
17072 char *kwnames
[] = {
17073 (char *) "self", NULL
17076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
17077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17078 if (SWIG_arg_fail(1)) SWIG_fail
;
17080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17081 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
17083 wxPyEndAllowThreads(__tstate
);
17084 if (PyErr_Occurred()) SWIG_fail
;
17087 resultobj
= SWIG_From_int((int)(result
));
17095 static PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17096 PyObject
*resultobj
;
17097 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
17099 PyObject
* obj0
= 0 ;
17100 PyObject
* obj1
= 0 ;
17101 char *kwnames
[] = {
17102 (char *) "self",(char *) "nOldSel", NULL
17105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17107 if (SWIG_arg_fail(1)) SWIG_fail
;
17109 arg2
= (int)(SWIG_As_int(obj1
));
17110 if (SWIG_arg_fail(2)) SWIG_fail
;
17113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17114 (arg1
)->SetOldSelection(arg2
);
17116 wxPyEndAllowThreads(__tstate
);
17117 if (PyErr_Occurred()) SWIG_fail
;
17119 Py_INCREF(Py_None
); resultobj
= Py_None
;
17126 static PyObject
* BookCtrlBaseEvent_swigregister(PyObject
*, PyObject
*args
) {
17128 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17129 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, obj
);
17131 return Py_BuildValue((char *)"");
17133 static PyObject
*_wrap_new_Notebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17134 PyObject
*resultobj
;
17135 wxWindow
*arg1
= (wxWindow
*) 0 ;
17136 int arg2
= (int) -1 ;
17137 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17138 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17139 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17140 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17141 long arg5
= (long) 0 ;
17142 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
17143 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17144 wxNotebook
*result
;
17147 bool temp6
= false ;
17148 PyObject
* obj0
= 0 ;
17149 PyObject
* obj1
= 0 ;
17150 PyObject
* obj2
= 0 ;
17151 PyObject
* obj3
= 0 ;
17152 PyObject
* obj4
= 0 ;
17153 PyObject
* obj5
= 0 ;
17154 char *kwnames
[] = {
17155 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17160 if (SWIG_arg_fail(1)) SWIG_fail
;
17163 arg2
= (int)(SWIG_As_int(obj1
));
17164 if (SWIG_arg_fail(2)) SWIG_fail
;
17170 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17176 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17181 arg5
= (long)(SWIG_As_long(obj4
));
17182 if (SWIG_arg_fail(5)) SWIG_fail
;
17187 arg6
= wxString_in_helper(obj5
);
17188 if (arg6
== NULL
) SWIG_fail
;
17193 if (!wxPyCheckForApp()) SWIG_fail
;
17194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17195 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17197 wxPyEndAllowThreads(__tstate
);
17198 if (PyErr_Occurred()) SWIG_fail
;
17200 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
17215 static PyObject
*_wrap_new_PreNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17216 PyObject
*resultobj
;
17217 wxNotebook
*result
;
17218 char *kwnames
[] = {
17222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
17224 if (!wxPyCheckForApp()) SWIG_fail
;
17225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17226 result
= (wxNotebook
*)new wxNotebook();
17228 wxPyEndAllowThreads(__tstate
);
17229 if (PyErr_Occurred()) SWIG_fail
;
17231 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
17238 static PyObject
*_wrap_Notebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17239 PyObject
*resultobj
;
17240 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17241 wxWindow
*arg2
= (wxWindow
*) 0 ;
17242 int arg3
= (int) -1 ;
17243 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17244 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17245 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17246 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17247 long arg6
= (long) 0 ;
17248 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
17249 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17253 bool temp7
= false ;
17254 PyObject
* obj0
= 0 ;
17255 PyObject
* obj1
= 0 ;
17256 PyObject
* obj2
= 0 ;
17257 PyObject
* obj3
= 0 ;
17258 PyObject
* obj4
= 0 ;
17259 PyObject
* obj5
= 0 ;
17260 PyObject
* obj6
= 0 ;
17261 char *kwnames
[] = {
17262 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17267 if (SWIG_arg_fail(1)) SWIG_fail
;
17268 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17269 if (SWIG_arg_fail(2)) SWIG_fail
;
17272 arg3
= (int)(SWIG_As_int(obj2
));
17273 if (SWIG_arg_fail(3)) SWIG_fail
;
17279 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17285 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17290 arg6
= (long)(SWIG_As_long(obj5
));
17291 if (SWIG_arg_fail(6)) SWIG_fail
;
17296 arg7
= wxString_in_helper(obj6
);
17297 if (arg7
== NULL
) SWIG_fail
;
17302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17303 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17305 wxPyEndAllowThreads(__tstate
);
17306 if (PyErr_Occurred()) SWIG_fail
;
17309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17325 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17326 PyObject
*resultobj
;
17327 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17329 PyObject
* obj0
= 0 ;
17330 char *kwnames
[] = {
17331 (char *) "self", NULL
17334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
17335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17336 if (SWIG_arg_fail(1)) SWIG_fail
;
17338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17339 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
17341 wxPyEndAllowThreads(__tstate
);
17342 if (PyErr_Occurred()) SWIG_fail
;
17345 resultobj
= SWIG_From_int((int)(result
));
17353 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17354 PyObject
*resultobj
;
17355 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17358 PyObject
* obj0
= 0 ;
17359 PyObject
* obj1
= 0 ;
17360 char *kwnames
[] = {
17361 (char *) "self",(char *) "padding", NULL
17364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
17365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17366 if (SWIG_arg_fail(1)) SWIG_fail
;
17369 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17373 (arg1
)->SetPadding((wxSize
const &)*arg2
);
17375 wxPyEndAllowThreads(__tstate
);
17376 if (PyErr_Occurred()) SWIG_fail
;
17378 Py_INCREF(Py_None
); resultobj
= Py_None
;
17385 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17386 PyObject
*resultobj
;
17387 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17390 PyObject
* obj0
= 0 ;
17391 PyObject
* obj1
= 0 ;
17392 char *kwnames
[] = {
17393 (char *) "self",(char *) "sz", NULL
17396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17398 if (SWIG_arg_fail(1)) SWIG_fail
;
17401 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17405 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
17407 wxPyEndAllowThreads(__tstate
);
17408 if (PyErr_Occurred()) SWIG_fail
;
17410 Py_INCREF(Py_None
); resultobj
= Py_None
;
17417 static PyObject
*_wrap_Notebook_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17418 PyObject
*resultobj
;
17419 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17420 wxPoint
*arg2
= 0 ;
17421 long *arg3
= (long *) 0 ;
17426 PyObject
* obj0
= 0 ;
17427 PyObject
* obj1
= 0 ;
17428 char *kwnames
[] = {
17429 (char *) "self",(char *) "pt", NULL
17432 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
17434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17435 if (SWIG_arg_fail(1)) SWIG_fail
;
17438 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17442 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
17444 wxPyEndAllowThreads(__tstate
);
17445 if (PyErr_Occurred()) SWIG_fail
;
17448 resultobj
= SWIG_From_int((int)(result
));
17450 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17451 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
17458 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17459 PyObject
*resultobj
;
17460 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17464 PyObject
* obj0
= 0 ;
17465 PyObject
* obj1
= 0 ;
17466 char *kwnames
[] = {
17467 (char *) "self",(char *) "sizePage", NULL
17470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
17471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17472 if (SWIG_arg_fail(1)) SWIG_fail
;
17475 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17479 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
17481 wxPyEndAllowThreads(__tstate
);
17482 if (PyErr_Occurred()) SWIG_fail
;
17485 wxSize
* resultptr
;
17486 resultptr
= new wxSize((wxSize
&)(result
));
17487 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17495 static PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17496 PyObject
*resultobj
;
17497 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17498 wxVisualAttributes result
;
17499 PyObject
* obj0
= 0 ;
17500 char *kwnames
[] = {
17501 (char *) "variant", NULL
17504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17507 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
17508 if (SWIG_arg_fail(1)) SWIG_fail
;
17512 if (!wxPyCheckForApp()) SWIG_fail
;
17513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17514 result
= wxNotebook::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
17516 wxPyEndAllowThreads(__tstate
);
17517 if (PyErr_Occurred()) SWIG_fail
;
17520 wxVisualAttributes
* resultptr
;
17521 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
17522 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17530 static PyObject
* Notebook_swigregister(PyObject
*, PyObject
*args
) {
17532 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17533 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
17535 return Py_BuildValue((char *)"");
17537 static PyObject
*_wrap_new_NotebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17538 PyObject
*resultobj
;
17539 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17540 int arg2
= (int) 0 ;
17541 int arg3
= (int) -1 ;
17542 int arg4
= (int) -1 ;
17543 wxNotebookEvent
*result
;
17544 PyObject
* obj0
= 0 ;
17545 PyObject
* obj1
= 0 ;
17546 PyObject
* obj2
= 0 ;
17547 PyObject
* obj3
= 0 ;
17548 char *kwnames
[] = {
17549 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17555 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17556 if (SWIG_arg_fail(1)) SWIG_fail
;
17561 arg2
= (int)(SWIG_As_int(obj1
));
17562 if (SWIG_arg_fail(2)) SWIG_fail
;
17567 arg3
= (int)(SWIG_As_int(obj2
));
17568 if (SWIG_arg_fail(3)) SWIG_fail
;
17573 arg4
= (int)(SWIG_As_int(obj3
));
17574 if (SWIG_arg_fail(4)) SWIG_fail
;
17578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17579 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
17581 wxPyEndAllowThreads(__tstate
);
17582 if (PyErr_Occurred()) SWIG_fail
;
17584 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
17591 static PyObject
* NotebookEvent_swigregister(PyObject
*, PyObject
*args
) {
17593 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17594 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
17596 return Py_BuildValue((char *)"");
17598 static PyObject
*_wrap_new_Listbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17599 PyObject
*resultobj
;
17600 wxWindow
*arg1
= (wxWindow
*) 0 ;
17601 int arg2
= (int) -1 ;
17602 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17603 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17604 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17605 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17606 long arg5
= (long) 0 ;
17607 wxString
const &arg6_defvalue
= wxPyEmptyString
;
17608 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17609 wxListbook
*result
;
17612 bool temp6
= false ;
17613 PyObject
* obj0
= 0 ;
17614 PyObject
* obj1
= 0 ;
17615 PyObject
* obj2
= 0 ;
17616 PyObject
* obj3
= 0 ;
17617 PyObject
* obj4
= 0 ;
17618 PyObject
* obj5
= 0 ;
17619 char *kwnames
[] = {
17620 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17625 if (SWIG_arg_fail(1)) SWIG_fail
;
17628 arg2
= (int)(SWIG_As_int(obj1
));
17629 if (SWIG_arg_fail(2)) SWIG_fail
;
17635 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17641 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17646 arg5
= (long)(SWIG_As_long(obj4
));
17647 if (SWIG_arg_fail(5)) SWIG_fail
;
17652 arg6
= wxString_in_helper(obj5
);
17653 if (arg6
== NULL
) SWIG_fail
;
17658 if (!wxPyCheckForApp()) SWIG_fail
;
17659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17660 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17662 wxPyEndAllowThreads(__tstate
);
17663 if (PyErr_Occurred()) SWIG_fail
;
17665 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
17680 static PyObject
*_wrap_new_PreListbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17681 PyObject
*resultobj
;
17682 wxListbook
*result
;
17683 char *kwnames
[] = {
17687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
17689 if (!wxPyCheckForApp()) SWIG_fail
;
17690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17691 result
= (wxListbook
*)new wxListbook();
17693 wxPyEndAllowThreads(__tstate
);
17694 if (PyErr_Occurred()) SWIG_fail
;
17696 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
17703 static PyObject
*_wrap_Listbook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17704 PyObject
*resultobj
;
17705 wxListbook
*arg1
= (wxListbook
*) 0 ;
17706 wxWindow
*arg2
= (wxWindow
*) 0 ;
17707 int arg3
= (int) -1 ;
17708 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17709 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17710 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17711 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17712 long arg6
= (long) 0 ;
17713 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17714 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17718 bool temp7
= false ;
17719 PyObject
* obj0
= 0 ;
17720 PyObject
* obj1
= 0 ;
17721 PyObject
* obj2
= 0 ;
17722 PyObject
* obj3
= 0 ;
17723 PyObject
* obj4
= 0 ;
17724 PyObject
* obj5
= 0 ;
17725 PyObject
* obj6
= 0 ;
17726 char *kwnames
[] = {
17727 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17732 if (SWIG_arg_fail(1)) SWIG_fail
;
17733 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17734 if (SWIG_arg_fail(2)) SWIG_fail
;
17737 arg3
= (int)(SWIG_As_int(obj2
));
17738 if (SWIG_arg_fail(3)) SWIG_fail
;
17744 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17750 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17755 arg6
= (long)(SWIG_As_long(obj5
));
17756 if (SWIG_arg_fail(6)) SWIG_fail
;
17761 arg7
= wxString_in_helper(obj6
);
17762 if (arg7
== NULL
) SWIG_fail
;
17767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17768 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17770 wxPyEndAllowThreads(__tstate
);
17771 if (PyErr_Occurred()) SWIG_fail
;
17774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17790 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17791 PyObject
*resultobj
;
17792 wxListbook
*arg1
= (wxListbook
*) 0 ;
17794 PyObject
* obj0
= 0 ;
17795 char *kwnames
[] = {
17796 (char *) "self", NULL
17799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
17800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17801 if (SWIG_arg_fail(1)) SWIG_fail
;
17803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17804 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
17806 wxPyEndAllowThreads(__tstate
);
17807 if (PyErr_Occurred()) SWIG_fail
;
17810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17818 static PyObject
*_wrap_Listbook_GetListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17819 PyObject
*resultobj
;
17820 wxListbook
*arg1
= (wxListbook
*) 0 ;
17821 wxListView
*result
;
17822 PyObject
* obj0
= 0 ;
17823 char *kwnames
[] = {
17824 (char *) "self", NULL
17827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_GetListView",kwnames
,&obj0
)) goto fail
;
17828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17829 if (SWIG_arg_fail(1)) SWIG_fail
;
17831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17832 result
= (wxListView
*)(arg1
)->GetListView();
17834 wxPyEndAllowThreads(__tstate
);
17835 if (PyErr_Occurred()) SWIG_fail
;
17837 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 0);
17844 static PyObject
* Listbook_swigregister(PyObject
*, PyObject
*args
) {
17846 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17847 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
17849 return Py_BuildValue((char *)"");
17851 static PyObject
*_wrap_new_ListbookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17852 PyObject
*resultobj
;
17853 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17854 int arg2
= (int) 0 ;
17855 int arg3
= (int) -1 ;
17856 int arg4
= (int) -1 ;
17857 wxListbookEvent
*result
;
17858 PyObject
* obj0
= 0 ;
17859 PyObject
* obj1
= 0 ;
17860 PyObject
* obj2
= 0 ;
17861 PyObject
* obj3
= 0 ;
17862 char *kwnames
[] = {
17863 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17869 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17870 if (SWIG_arg_fail(1)) SWIG_fail
;
17875 arg2
= (int)(SWIG_As_int(obj1
));
17876 if (SWIG_arg_fail(2)) SWIG_fail
;
17881 arg3
= (int)(SWIG_As_int(obj2
));
17882 if (SWIG_arg_fail(3)) SWIG_fail
;
17887 arg4
= (int)(SWIG_As_int(obj3
));
17888 if (SWIG_arg_fail(4)) SWIG_fail
;
17892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17893 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
17895 wxPyEndAllowThreads(__tstate
);
17896 if (PyErr_Occurred()) SWIG_fail
;
17898 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
17905 static PyObject
* ListbookEvent_swigregister(PyObject
*, PyObject
*args
) {
17907 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17908 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
17910 return Py_BuildValue((char *)"");
17912 static PyObject
*_wrap_new_Choicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17913 PyObject
*resultobj
;
17914 wxWindow
*arg1
= (wxWindow
*) 0 ;
17916 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17917 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17918 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17919 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17920 long arg5
= (long) 0 ;
17921 wxString
const &arg6_defvalue
= wxPyEmptyString
;
17922 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17923 wxChoicebook
*result
;
17926 bool temp6
= false ;
17927 PyObject
* obj0
= 0 ;
17928 PyObject
* obj1
= 0 ;
17929 PyObject
* obj2
= 0 ;
17930 PyObject
* obj3
= 0 ;
17931 PyObject
* obj4
= 0 ;
17932 PyObject
* obj5
= 0 ;
17933 char *kwnames
[] = {
17934 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17939 if (SWIG_arg_fail(1)) SWIG_fail
;
17941 arg2
= (int)(SWIG_As_int(obj1
));
17942 if (SWIG_arg_fail(2)) SWIG_fail
;
17947 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17953 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17958 arg5
= (long)(SWIG_As_long(obj4
));
17959 if (SWIG_arg_fail(5)) SWIG_fail
;
17964 arg6
= wxString_in_helper(obj5
);
17965 if (arg6
== NULL
) SWIG_fail
;
17970 if (!wxPyCheckForApp()) SWIG_fail
;
17971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17972 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17974 wxPyEndAllowThreads(__tstate
);
17975 if (PyErr_Occurred()) SWIG_fail
;
17977 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
17992 static PyObject
*_wrap_new_PreChoicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17993 PyObject
*resultobj
;
17994 wxChoicebook
*result
;
17995 char *kwnames
[] = {
17999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoicebook",kwnames
)) goto fail
;
18001 if (!wxPyCheckForApp()) SWIG_fail
;
18002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18003 result
= (wxChoicebook
*)new wxChoicebook();
18005 wxPyEndAllowThreads(__tstate
);
18006 if (PyErr_Occurred()) SWIG_fail
;
18008 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
18015 static PyObject
*_wrap_Choicebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18016 PyObject
*resultobj
;
18017 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18018 wxWindow
*arg2
= (wxWindow
*) 0 ;
18020 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18021 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18022 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18023 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18024 long arg6
= (long) 0 ;
18025 wxString
const &arg7_defvalue
= wxPyEmptyString
;
18026 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18030 bool temp7
= false ;
18031 PyObject
* obj0
= 0 ;
18032 PyObject
* obj1
= 0 ;
18033 PyObject
* obj2
= 0 ;
18034 PyObject
* obj3
= 0 ;
18035 PyObject
* obj4
= 0 ;
18036 PyObject
* obj5
= 0 ;
18037 PyObject
* obj6
= 0 ;
18038 char *kwnames
[] = {
18039 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18044 if (SWIG_arg_fail(1)) SWIG_fail
;
18045 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18046 if (SWIG_arg_fail(2)) SWIG_fail
;
18048 arg3
= (int)(SWIG_As_int(obj2
));
18049 if (SWIG_arg_fail(3)) SWIG_fail
;
18054 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18060 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18065 arg6
= (long)(SWIG_As_long(obj5
));
18066 if (SWIG_arg_fail(6)) SWIG_fail
;
18071 arg7
= wxString_in_helper(obj6
);
18072 if (arg7
== NULL
) SWIG_fail
;
18077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18078 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18080 wxPyEndAllowThreads(__tstate
);
18081 if (PyErr_Occurred()) SWIG_fail
;
18084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18100 static PyObject
*_wrap_Choicebook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18101 PyObject
*resultobj
;
18102 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18104 PyObject
* obj0
= 0 ;
18105 char *kwnames
[] = {
18106 (char *) "self", NULL
18109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_IsVertical",kwnames
,&obj0
)) goto fail
;
18110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18111 if (SWIG_arg_fail(1)) SWIG_fail
;
18113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18114 result
= (bool)((wxChoicebook
const *)arg1
)->IsVertical();
18116 wxPyEndAllowThreads(__tstate
);
18117 if (PyErr_Occurred()) SWIG_fail
;
18120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18128 static PyObject
*_wrap_Choicebook_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18129 PyObject
*resultobj
;
18130 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18132 PyObject
* obj0
= 0 ;
18133 char *kwnames
[] = {
18134 (char *) "self", NULL
18137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
18138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18139 if (SWIG_arg_fail(1)) SWIG_fail
;
18141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18142 result
= (bool)(arg1
)->DeleteAllPages();
18144 wxPyEndAllowThreads(__tstate
);
18145 if (PyErr_Occurred()) SWIG_fail
;
18148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18156 static PyObject
* Choicebook_swigregister(PyObject
*, PyObject
*args
) {
18158 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18159 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook
, obj
);
18161 return Py_BuildValue((char *)"");
18163 static PyObject
*_wrap_new_ChoicebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18164 PyObject
*resultobj
;
18165 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18166 int arg2
= (int) 0 ;
18167 int arg3
= (int) -1 ;
18168 int arg4
= (int) -1 ;
18169 wxChoicebookEvent
*result
;
18170 PyObject
* obj0
= 0 ;
18171 PyObject
* obj1
= 0 ;
18172 PyObject
* obj2
= 0 ;
18173 PyObject
* obj3
= 0 ;
18174 char *kwnames
[] = {
18175 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18181 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
18182 if (SWIG_arg_fail(1)) SWIG_fail
;
18187 arg2
= (int)(SWIG_As_int(obj1
));
18188 if (SWIG_arg_fail(2)) SWIG_fail
;
18193 arg3
= (int)(SWIG_As_int(obj2
));
18194 if (SWIG_arg_fail(3)) SWIG_fail
;
18199 arg4
= (int)(SWIG_As_int(obj3
));
18200 if (SWIG_arg_fail(4)) SWIG_fail
;
18204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18205 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
18207 wxPyEndAllowThreads(__tstate
);
18208 if (PyErr_Occurred()) SWIG_fail
;
18210 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebookEvent
, 1);
18217 static PyObject
* ChoicebookEvent_swigregister(PyObject
*, PyObject
*args
) {
18219 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18220 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent
, obj
);
18222 return Py_BuildValue((char *)"");
18224 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18225 PyObject
*resultobj
;
18226 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18227 wxBookCtrlSizer
*result
;
18228 PyObject
* obj0
= 0 ;
18229 char *kwnames
[] = {
18230 (char *) "nb", NULL
18233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
18234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
18235 if (SWIG_arg_fail(1)) SWIG_fail
;
18237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18238 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
18240 wxPyEndAllowThreads(__tstate
);
18241 if (PyErr_Occurred()) SWIG_fail
;
18243 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
18250 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18251 PyObject
*resultobj
;
18252 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
18253 PyObject
* obj0
= 0 ;
18254 char *kwnames
[] = {
18255 (char *) "self", NULL
18258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
18259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION
| 0);
18260 if (SWIG_arg_fail(1)) SWIG_fail
;
18262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18263 (arg1
)->RecalcSizes();
18265 wxPyEndAllowThreads(__tstate
);
18266 if (PyErr_Occurred()) SWIG_fail
;
18268 Py_INCREF(Py_None
); resultobj
= Py_None
;
18275 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18276 PyObject
*resultobj
;
18277 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
18279 PyObject
* obj0
= 0 ;
18280 char *kwnames
[] = {
18281 (char *) "self", NULL
18284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
18285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION
| 0);
18286 if (SWIG_arg_fail(1)) SWIG_fail
;
18288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18289 result
= (arg1
)->CalcMin();
18291 wxPyEndAllowThreads(__tstate
);
18292 if (PyErr_Occurred()) SWIG_fail
;
18295 wxSize
* resultptr
;
18296 resultptr
= new wxSize((wxSize
&)(result
));
18297 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18305 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18306 PyObject
*resultobj
;
18307 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
18308 wxBookCtrlBase
*result
;
18309 PyObject
* obj0
= 0 ;
18310 char *kwnames
[] = {
18311 (char *) "self", NULL
18314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
18315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION
| 0);
18316 if (SWIG_arg_fail(1)) SWIG_fail
;
18318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18319 result
= (wxBookCtrlBase
*)(arg1
)->GetControl();
18321 wxPyEndAllowThreads(__tstate
);
18322 if (PyErr_Occurred()) SWIG_fail
;
18324 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlBase
, 0);
18331 static PyObject
* BookCtrlSizer_swigregister(PyObject
*, PyObject
*args
) {
18333 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18334 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
18336 return Py_BuildValue((char *)"");
18338 static PyObject
*_wrap_new_NotebookSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18339 PyObject
*resultobj
;
18340 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
18341 wxNotebookSizer
*result
;
18342 PyObject
* obj0
= 0 ;
18343 char *kwnames
[] = {
18344 (char *) "nb", NULL
18347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
18348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
18349 if (SWIG_arg_fail(1)) SWIG_fail
;
18351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18352 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
18354 wxPyEndAllowThreads(__tstate
);
18355 if (PyErr_Occurred()) SWIG_fail
;
18357 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
18364 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18365 PyObject
*resultobj
;
18366 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
18367 PyObject
* obj0
= 0 ;
18368 char *kwnames
[] = {
18369 (char *) "self", NULL
18372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
18373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION
| 0);
18374 if (SWIG_arg_fail(1)) SWIG_fail
;
18376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18377 (arg1
)->RecalcSizes();
18379 wxPyEndAllowThreads(__tstate
);
18380 if (PyErr_Occurred()) SWIG_fail
;
18382 Py_INCREF(Py_None
); resultobj
= Py_None
;
18389 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18390 PyObject
*resultobj
;
18391 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
18393 PyObject
* obj0
= 0 ;
18394 char *kwnames
[] = {
18395 (char *) "self", NULL
18398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
18399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION
| 0);
18400 if (SWIG_arg_fail(1)) SWIG_fail
;
18402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18403 result
= (arg1
)->CalcMin();
18405 wxPyEndAllowThreads(__tstate
);
18406 if (PyErr_Occurred()) SWIG_fail
;
18409 wxSize
* resultptr
;
18410 resultptr
= new wxSize((wxSize
&)(result
));
18411 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18419 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18420 PyObject
*resultobj
;
18421 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
18422 wxNotebook
*result
;
18423 PyObject
* obj0
= 0 ;
18424 char *kwnames
[] = {
18425 (char *) "self", NULL
18428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
18429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION
| 0);
18430 if (SWIG_arg_fail(1)) SWIG_fail
;
18432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18433 result
= (wxNotebook
*)(arg1
)->GetNotebook();
18435 wxPyEndAllowThreads(__tstate
);
18436 if (PyErr_Occurred()) SWIG_fail
;
18439 resultobj
= wxPyMake_wxObject(result
, 0);
18447 static PyObject
* NotebookSizer_swigregister(PyObject
*, PyObject
*args
) {
18449 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18450 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
18452 return Py_BuildValue((char *)"");
18454 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18455 PyObject
*resultobj
;
18456 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18458 PyObject
* obj0
= 0 ;
18459 char *kwnames
[] = {
18460 (char *) "self", NULL
18463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
18464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18465 if (SWIG_arg_fail(1)) SWIG_fail
;
18467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18468 result
= (int)(arg1
)->GetId();
18470 wxPyEndAllowThreads(__tstate
);
18471 if (PyErr_Occurred()) SWIG_fail
;
18474 resultobj
= SWIG_From_int((int)(result
));
18482 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18483 PyObject
*resultobj
;
18484 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18486 PyObject
* obj0
= 0 ;
18487 char *kwnames
[] = {
18488 (char *) "self", NULL
18491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
18492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18493 if (SWIG_arg_fail(1)) SWIG_fail
;
18495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18496 result
= (wxControl
*)(arg1
)->GetControl();
18498 wxPyEndAllowThreads(__tstate
);
18499 if (PyErr_Occurred()) SWIG_fail
;
18502 resultobj
= wxPyMake_wxObject(result
, 0);
18510 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18511 PyObject
*resultobj
;
18512 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18513 wxToolBarBase
*result
;
18514 PyObject
* obj0
= 0 ;
18515 char *kwnames
[] = {
18516 (char *) "self", NULL
18519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
18520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18521 if (SWIG_arg_fail(1)) SWIG_fail
;
18523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18524 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
18526 wxPyEndAllowThreads(__tstate
);
18527 if (PyErr_Occurred()) SWIG_fail
;
18530 resultobj
= wxPyMake_wxObject(result
, 0);
18538 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18539 PyObject
*resultobj
;
18540 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18542 PyObject
* obj0
= 0 ;
18543 char *kwnames
[] = {
18544 (char *) "self", NULL
18547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
18548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18549 if (SWIG_arg_fail(1)) SWIG_fail
;
18551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18552 result
= (int)(arg1
)->IsButton();
18554 wxPyEndAllowThreads(__tstate
);
18555 if (PyErr_Occurred()) SWIG_fail
;
18558 resultobj
= SWIG_From_int((int)(result
));
18566 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18567 PyObject
*resultobj
;
18568 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18570 PyObject
* obj0
= 0 ;
18571 char *kwnames
[] = {
18572 (char *) "self", NULL
18575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
18576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18577 if (SWIG_arg_fail(1)) SWIG_fail
;
18579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18580 result
= (int)(arg1
)->IsControl();
18582 wxPyEndAllowThreads(__tstate
);
18583 if (PyErr_Occurred()) SWIG_fail
;
18586 resultobj
= SWIG_From_int((int)(result
));
18594 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18595 PyObject
*resultobj
;
18596 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18598 PyObject
* obj0
= 0 ;
18599 char *kwnames
[] = {
18600 (char *) "self", NULL
18603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
18604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18605 if (SWIG_arg_fail(1)) SWIG_fail
;
18607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18608 result
= (int)(arg1
)->IsSeparator();
18610 wxPyEndAllowThreads(__tstate
);
18611 if (PyErr_Occurred()) SWIG_fail
;
18614 resultobj
= SWIG_From_int((int)(result
));
18622 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18623 PyObject
*resultobj
;
18624 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18626 PyObject
* obj0
= 0 ;
18627 char *kwnames
[] = {
18628 (char *) "self", NULL
18631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
18632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18633 if (SWIG_arg_fail(1)) SWIG_fail
;
18635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18636 result
= (int)(arg1
)->GetStyle();
18638 wxPyEndAllowThreads(__tstate
);
18639 if (PyErr_Occurred()) SWIG_fail
;
18642 resultobj
= SWIG_From_int((int)(result
));
18650 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18651 PyObject
*resultobj
;
18652 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18654 PyObject
* obj0
= 0 ;
18655 char *kwnames
[] = {
18656 (char *) "self", NULL
18659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
18660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18661 if (SWIG_arg_fail(1)) SWIG_fail
;
18663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18664 result
= (wxItemKind
)(arg1
)->GetKind();
18666 wxPyEndAllowThreads(__tstate
);
18667 if (PyErr_Occurred()) SWIG_fail
;
18669 resultobj
= SWIG_From_int((result
));
18676 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18677 PyObject
*resultobj
;
18678 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18680 PyObject
* obj0
= 0 ;
18681 char *kwnames
[] = {
18682 (char *) "self", NULL
18685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
18686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18687 if (SWIG_arg_fail(1)) SWIG_fail
;
18689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18690 result
= (bool)(arg1
)->IsEnabled();
18692 wxPyEndAllowThreads(__tstate
);
18693 if (PyErr_Occurred()) SWIG_fail
;
18696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18704 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18705 PyObject
*resultobj
;
18706 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18708 PyObject
* obj0
= 0 ;
18709 char *kwnames
[] = {
18710 (char *) "self", NULL
18713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
18714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18715 if (SWIG_arg_fail(1)) SWIG_fail
;
18717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18718 result
= (bool)(arg1
)->IsToggled();
18720 wxPyEndAllowThreads(__tstate
);
18721 if (PyErr_Occurred()) SWIG_fail
;
18724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18732 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18733 PyObject
*resultobj
;
18734 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18736 PyObject
* obj0
= 0 ;
18737 char *kwnames
[] = {
18738 (char *) "self", NULL
18741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
18742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18743 if (SWIG_arg_fail(1)) SWIG_fail
;
18745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18746 result
= (bool)(arg1
)->CanBeToggled();
18748 wxPyEndAllowThreads(__tstate
);
18749 if (PyErr_Occurred()) SWIG_fail
;
18752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18760 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18761 PyObject
*resultobj
;
18762 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18764 PyObject
* obj0
= 0 ;
18765 char *kwnames
[] = {
18766 (char *) "self", NULL
18769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
18770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18771 if (SWIG_arg_fail(1)) SWIG_fail
;
18773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18775 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
18776 result
= (wxBitmap
*) &_result_ref
;
18779 wxPyEndAllowThreads(__tstate
);
18780 if (PyErr_Occurred()) SWIG_fail
;
18783 wxBitmap
* resultptr
= new wxBitmap(*result
);
18784 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18792 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18793 PyObject
*resultobj
;
18794 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18796 PyObject
* obj0
= 0 ;
18797 char *kwnames
[] = {
18798 (char *) "self", NULL
18801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
18802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18803 if (SWIG_arg_fail(1)) SWIG_fail
;
18805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18807 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
18808 result
= (wxBitmap
*) &_result_ref
;
18811 wxPyEndAllowThreads(__tstate
);
18812 if (PyErr_Occurred()) SWIG_fail
;
18815 wxBitmap
* resultptr
= new wxBitmap(*result
);
18816 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18824 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18825 PyObject
*resultobj
;
18826 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18828 PyObject
* obj0
= 0 ;
18829 char *kwnames
[] = {
18830 (char *) "self", NULL
18833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
18834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18835 if (SWIG_arg_fail(1)) SWIG_fail
;
18837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18838 result
= (arg1
)->GetBitmap();
18840 wxPyEndAllowThreads(__tstate
);
18841 if (PyErr_Occurred()) SWIG_fail
;
18844 wxBitmap
* resultptr
;
18845 resultptr
= new wxBitmap((wxBitmap
&)(result
));
18846 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18854 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18855 PyObject
*resultobj
;
18856 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18858 PyObject
* obj0
= 0 ;
18859 char *kwnames
[] = {
18860 (char *) "self", NULL
18863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
18864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18865 if (SWIG_arg_fail(1)) SWIG_fail
;
18867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18868 result
= (arg1
)->GetLabel();
18870 wxPyEndAllowThreads(__tstate
);
18871 if (PyErr_Occurred()) SWIG_fail
;
18875 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18877 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18886 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18887 PyObject
*resultobj
;
18888 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18890 PyObject
* obj0
= 0 ;
18891 char *kwnames
[] = {
18892 (char *) "self", NULL
18895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
18896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18897 if (SWIG_arg_fail(1)) SWIG_fail
;
18899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18900 result
= (arg1
)->GetShortHelp();
18902 wxPyEndAllowThreads(__tstate
);
18903 if (PyErr_Occurred()) SWIG_fail
;
18907 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18909 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18918 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18919 PyObject
*resultobj
;
18920 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18922 PyObject
* obj0
= 0 ;
18923 char *kwnames
[] = {
18924 (char *) "self", NULL
18927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
18928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18929 if (SWIG_arg_fail(1)) SWIG_fail
;
18931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18932 result
= (arg1
)->GetLongHelp();
18934 wxPyEndAllowThreads(__tstate
);
18935 if (PyErr_Occurred()) SWIG_fail
;
18939 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18941 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18950 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18951 PyObject
*resultobj
;
18952 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18955 PyObject
* obj0
= 0 ;
18956 PyObject
* obj1
= 0 ;
18957 char *kwnames
[] = {
18958 (char *) "self",(char *) "enable", NULL
18961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
18962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18963 if (SWIG_arg_fail(1)) SWIG_fail
;
18965 arg2
= (bool)(SWIG_As_bool(obj1
));
18966 if (SWIG_arg_fail(2)) SWIG_fail
;
18969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18970 result
= (bool)(arg1
)->Enable(arg2
);
18972 wxPyEndAllowThreads(__tstate
);
18973 if (PyErr_Occurred()) SWIG_fail
;
18976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18984 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18985 PyObject
*resultobj
;
18986 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18987 PyObject
* obj0
= 0 ;
18988 char *kwnames
[] = {
18989 (char *) "self", NULL
18992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
18993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18994 if (SWIG_arg_fail(1)) SWIG_fail
;
18996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18999 wxPyEndAllowThreads(__tstate
);
19000 if (PyErr_Occurred()) SWIG_fail
;
19002 Py_INCREF(Py_None
); resultobj
= Py_None
;
19009 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19010 PyObject
*resultobj
;
19011 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19014 PyObject
* obj0
= 0 ;
19015 PyObject
* obj1
= 0 ;
19016 char *kwnames
[] = {
19017 (char *) "self",(char *) "toggle", NULL
19020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
19021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19022 if (SWIG_arg_fail(1)) SWIG_fail
;
19024 arg2
= (bool)(SWIG_As_bool(obj1
));
19025 if (SWIG_arg_fail(2)) SWIG_fail
;
19028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19029 result
= (bool)(arg1
)->SetToggle(arg2
);
19031 wxPyEndAllowThreads(__tstate
);
19032 if (PyErr_Occurred()) SWIG_fail
;
19035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19043 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19044 PyObject
*resultobj
;
19045 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19046 wxString
*arg2
= 0 ;
19048 bool temp2
= false ;
19049 PyObject
* obj0
= 0 ;
19050 PyObject
* obj1
= 0 ;
19051 char *kwnames
[] = {
19052 (char *) "self",(char *) "help", NULL
19055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19057 if (SWIG_arg_fail(1)) SWIG_fail
;
19059 arg2
= wxString_in_helper(obj1
);
19060 if (arg2
== NULL
) SWIG_fail
;
19064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19065 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
19067 wxPyEndAllowThreads(__tstate
);
19068 if (PyErr_Occurred()) SWIG_fail
;
19071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19087 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19088 PyObject
*resultobj
;
19089 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19090 wxString
*arg2
= 0 ;
19092 bool temp2
= false ;
19093 PyObject
* obj0
= 0 ;
19094 PyObject
* obj1
= 0 ;
19095 char *kwnames
[] = {
19096 (char *) "self",(char *) "help", NULL
19099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19101 if (SWIG_arg_fail(1)) SWIG_fail
;
19103 arg2
= wxString_in_helper(obj1
);
19104 if (arg2
== NULL
) SWIG_fail
;
19108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19109 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
19111 wxPyEndAllowThreads(__tstate
);
19112 if (PyErr_Occurred()) SWIG_fail
;
19115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19131 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19132 PyObject
*resultobj
;
19133 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19134 wxBitmap
*arg2
= 0 ;
19135 PyObject
* obj0
= 0 ;
19136 PyObject
* obj1
= 0 ;
19137 char *kwnames
[] = {
19138 (char *) "self",(char *) "bmp", NULL
19141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
19142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19143 if (SWIG_arg_fail(1)) SWIG_fail
;
19145 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19146 if (SWIG_arg_fail(2)) SWIG_fail
;
19147 if (arg2
== NULL
) {
19148 SWIG_null_ref("wxBitmap");
19150 if (SWIG_arg_fail(2)) SWIG_fail
;
19153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19154 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
19156 wxPyEndAllowThreads(__tstate
);
19157 if (PyErr_Occurred()) SWIG_fail
;
19159 Py_INCREF(Py_None
); resultobj
= Py_None
;
19166 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19167 PyObject
*resultobj
;
19168 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19169 wxBitmap
*arg2
= 0 ;
19170 PyObject
* obj0
= 0 ;
19171 PyObject
* obj1
= 0 ;
19172 char *kwnames
[] = {
19173 (char *) "self",(char *) "bmp", NULL
19176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
19177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19178 if (SWIG_arg_fail(1)) SWIG_fail
;
19180 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19181 if (SWIG_arg_fail(2)) SWIG_fail
;
19182 if (arg2
== NULL
) {
19183 SWIG_null_ref("wxBitmap");
19185 if (SWIG_arg_fail(2)) SWIG_fail
;
19188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19189 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
19191 wxPyEndAllowThreads(__tstate
);
19192 if (PyErr_Occurred()) SWIG_fail
;
19194 Py_INCREF(Py_None
); resultobj
= Py_None
;
19201 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19202 PyObject
*resultobj
;
19203 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19204 wxString
*arg2
= 0 ;
19205 bool temp2
= false ;
19206 PyObject
* obj0
= 0 ;
19207 PyObject
* obj1
= 0 ;
19208 char *kwnames
[] = {
19209 (char *) "self",(char *) "label", NULL
19212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
19213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19214 if (SWIG_arg_fail(1)) SWIG_fail
;
19216 arg2
= wxString_in_helper(obj1
);
19217 if (arg2
== NULL
) SWIG_fail
;
19221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19222 (arg1
)->SetLabel((wxString
const &)*arg2
);
19224 wxPyEndAllowThreads(__tstate
);
19225 if (PyErr_Occurred()) SWIG_fail
;
19227 Py_INCREF(Py_None
); resultobj
= Py_None
;
19242 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19243 PyObject
*resultobj
;
19244 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19245 PyObject
* obj0
= 0 ;
19246 char *kwnames
[] = {
19247 (char *) "self", NULL
19250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
19251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19252 if (SWIG_arg_fail(1)) SWIG_fail
;
19254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19257 wxPyEndAllowThreads(__tstate
);
19258 if (PyErr_Occurred()) SWIG_fail
;
19260 Py_INCREF(Py_None
); resultobj
= Py_None
;
19267 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19268 PyObject
*resultobj
;
19269 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19270 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
19271 PyObject
* obj0
= 0 ;
19272 PyObject
* obj1
= 0 ;
19273 char *kwnames
[] = {
19274 (char *) "self",(char *) "tbar", NULL
19277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
19278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19279 if (SWIG_arg_fail(1)) SWIG_fail
;
19280 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19281 if (SWIG_arg_fail(2)) SWIG_fail
;
19283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19284 (arg1
)->Attach(arg2
);
19286 wxPyEndAllowThreads(__tstate
);
19287 if (PyErr_Occurred()) SWIG_fail
;
19289 Py_INCREF(Py_None
); resultobj
= Py_None
;
19296 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19297 PyObject
*resultobj
;
19298 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19300 PyObject
* obj0
= 0 ;
19301 char *kwnames
[] = {
19302 (char *) "self", NULL
19305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
19306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19307 if (SWIG_arg_fail(1)) SWIG_fail
;
19309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19310 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
19312 wxPyEndAllowThreads(__tstate
);
19313 if (PyErr_Occurred()) SWIG_fail
;
19315 resultobj
= result
;
19322 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19323 PyObject
*resultobj
;
19324 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19325 PyObject
*arg2
= (PyObject
*) 0 ;
19326 PyObject
* obj0
= 0 ;
19327 PyObject
* obj1
= 0 ;
19328 char *kwnames
[] = {
19329 (char *) "self",(char *) "clientData", NULL
19332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
19333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19334 if (SWIG_arg_fail(1)) SWIG_fail
;
19337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19338 wxToolBarToolBase_SetClientData(arg1
,arg2
);
19340 wxPyEndAllowThreads(__tstate
);
19341 if (PyErr_Occurred()) SWIG_fail
;
19343 Py_INCREF(Py_None
); resultobj
= Py_None
;
19350 static PyObject
* ToolBarToolBase_swigregister(PyObject
*, PyObject
*args
) {
19352 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19353 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
19355 return Py_BuildValue((char *)"");
19357 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19358 PyObject
*resultobj
;
19359 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19361 wxString
*arg3
= 0 ;
19362 wxBitmap
*arg4
= 0 ;
19363 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
19364 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
19365 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
19366 wxString
const &arg7_defvalue
= wxPyEmptyString
;
19367 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19368 wxString
const &arg8_defvalue
= wxPyEmptyString
;
19369 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19370 PyObject
*arg9
= (PyObject
*) NULL
;
19371 wxToolBarToolBase
*result
;
19372 bool temp3
= false ;
19373 bool temp7
= false ;
19374 bool temp8
= false ;
19375 PyObject
* obj0
= 0 ;
19376 PyObject
* obj1
= 0 ;
19377 PyObject
* obj2
= 0 ;
19378 PyObject
* obj3
= 0 ;
19379 PyObject
* obj4
= 0 ;
19380 PyObject
* obj5
= 0 ;
19381 PyObject
* obj6
= 0 ;
19382 PyObject
* obj7
= 0 ;
19383 PyObject
* obj8
= 0 ;
19384 char *kwnames
[] = {
19385 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
19389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19390 if (SWIG_arg_fail(1)) SWIG_fail
;
19392 arg2
= (int)(SWIG_As_int(obj1
));
19393 if (SWIG_arg_fail(2)) SWIG_fail
;
19396 arg3
= wxString_in_helper(obj2
);
19397 if (arg3
== NULL
) SWIG_fail
;
19401 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19402 if (SWIG_arg_fail(4)) SWIG_fail
;
19403 if (arg4
== NULL
) {
19404 SWIG_null_ref("wxBitmap");
19406 if (SWIG_arg_fail(4)) SWIG_fail
;
19410 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19411 if (SWIG_arg_fail(5)) SWIG_fail
;
19412 if (arg5
== NULL
) {
19413 SWIG_null_ref("wxBitmap");
19415 if (SWIG_arg_fail(5)) SWIG_fail
;
19420 arg6
= (wxItemKind
)(SWIG_As_int(obj5
));
19421 if (SWIG_arg_fail(6)) SWIG_fail
;
19426 arg7
= wxString_in_helper(obj6
);
19427 if (arg7
== NULL
) SWIG_fail
;
19433 arg8
= wxString_in_helper(obj7
);
19434 if (arg8
== NULL
) SWIG_fail
;
19442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19443 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
19445 wxPyEndAllowThreads(__tstate
);
19446 if (PyErr_Occurred()) SWIG_fail
;
19449 resultobj
= wxPyMake_wxObject(result
, 0);
19481 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19482 PyObject
*resultobj
;
19483 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19486 wxString
*arg4
= 0 ;
19487 wxBitmap
*arg5
= 0 ;
19488 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
19489 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
19490 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
19491 wxString
const &arg8_defvalue
= wxPyEmptyString
;
19492 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19493 wxString
const &arg9_defvalue
= wxPyEmptyString
;
19494 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
19495 PyObject
*arg10
= (PyObject
*) NULL
;
19496 wxToolBarToolBase
*result
;
19497 bool temp4
= false ;
19498 bool temp8
= false ;
19499 bool temp9
= false ;
19500 PyObject
* obj0
= 0 ;
19501 PyObject
* obj1
= 0 ;
19502 PyObject
* obj2
= 0 ;
19503 PyObject
* obj3
= 0 ;
19504 PyObject
* obj4
= 0 ;
19505 PyObject
* obj5
= 0 ;
19506 PyObject
* obj6
= 0 ;
19507 PyObject
* obj7
= 0 ;
19508 PyObject
* obj8
= 0 ;
19509 PyObject
* obj9
= 0 ;
19510 char *kwnames
[] = {
19511 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
19515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19516 if (SWIG_arg_fail(1)) SWIG_fail
;
19518 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19519 if (SWIG_arg_fail(2)) SWIG_fail
;
19522 arg3
= (int)(SWIG_As_int(obj2
));
19523 if (SWIG_arg_fail(3)) SWIG_fail
;
19526 arg4
= wxString_in_helper(obj3
);
19527 if (arg4
== NULL
) SWIG_fail
;
19531 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19532 if (SWIG_arg_fail(5)) SWIG_fail
;
19533 if (arg5
== NULL
) {
19534 SWIG_null_ref("wxBitmap");
19536 if (SWIG_arg_fail(5)) SWIG_fail
;
19540 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19541 if (SWIG_arg_fail(6)) SWIG_fail
;
19542 if (arg6
== NULL
) {
19543 SWIG_null_ref("wxBitmap");
19545 if (SWIG_arg_fail(6)) SWIG_fail
;
19550 arg7
= (wxItemKind
)(SWIG_As_int(obj6
));
19551 if (SWIG_arg_fail(7)) SWIG_fail
;
19556 arg8
= wxString_in_helper(obj7
);
19557 if (arg8
== NULL
) SWIG_fail
;
19563 arg9
= wxString_in_helper(obj8
);
19564 if (arg9
== NULL
) SWIG_fail
;
19572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19573 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
);
19575 wxPyEndAllowThreads(__tstate
);
19576 if (PyErr_Occurred()) SWIG_fail
;
19579 resultobj
= wxPyMake_wxObject(result
, 0);
19611 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19612 PyObject
*resultobj
;
19613 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19614 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
19615 wxToolBarToolBase
*result
;
19616 PyObject
* obj0
= 0 ;
19617 PyObject
* obj1
= 0 ;
19618 char *kwnames
[] = {
19619 (char *) "self",(char *) "tool", NULL
19622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
19623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19624 if (SWIG_arg_fail(1)) SWIG_fail
;
19625 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19626 if (SWIG_arg_fail(2)) SWIG_fail
;
19628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19629 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
19631 wxPyEndAllowThreads(__tstate
);
19632 if (PyErr_Occurred()) SWIG_fail
;
19635 resultobj
= wxPyMake_wxObject(result
, 0);
19643 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19644 PyObject
*resultobj
;
19645 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19647 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
19648 wxToolBarToolBase
*result
;
19649 PyObject
* obj0
= 0 ;
19650 PyObject
* obj1
= 0 ;
19651 PyObject
* obj2
= 0 ;
19652 char *kwnames
[] = {
19653 (char *) "self",(char *) "pos",(char *) "tool", NULL
19656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19658 if (SWIG_arg_fail(1)) SWIG_fail
;
19660 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19661 if (SWIG_arg_fail(2)) SWIG_fail
;
19663 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19664 if (SWIG_arg_fail(3)) SWIG_fail
;
19666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19667 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
19669 wxPyEndAllowThreads(__tstate
);
19670 if (PyErr_Occurred()) SWIG_fail
;
19673 resultobj
= wxPyMake_wxObject(result
, 0);
19681 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19682 PyObject
*resultobj
;
19683 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19684 wxControl
*arg2
= (wxControl
*) 0 ;
19685 wxToolBarToolBase
*result
;
19686 PyObject
* obj0
= 0 ;
19687 PyObject
* obj1
= 0 ;
19688 char *kwnames
[] = {
19689 (char *) "self",(char *) "control", NULL
19692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
19693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19694 if (SWIG_arg_fail(1)) SWIG_fail
;
19695 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
19696 if (SWIG_arg_fail(2)) SWIG_fail
;
19698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19699 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
19701 wxPyEndAllowThreads(__tstate
);
19702 if (PyErr_Occurred()) SWIG_fail
;
19705 resultobj
= wxPyMake_wxObject(result
, 0);
19713 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19714 PyObject
*resultobj
;
19715 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19717 wxControl
*arg3
= (wxControl
*) 0 ;
19718 wxToolBarToolBase
*result
;
19719 PyObject
* obj0
= 0 ;
19720 PyObject
* obj1
= 0 ;
19721 PyObject
* obj2
= 0 ;
19722 char *kwnames
[] = {
19723 (char *) "self",(char *) "pos",(char *) "control", NULL
19726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19728 if (SWIG_arg_fail(1)) SWIG_fail
;
19730 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19731 if (SWIG_arg_fail(2)) SWIG_fail
;
19733 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
19734 if (SWIG_arg_fail(3)) SWIG_fail
;
19736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19737 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
19739 wxPyEndAllowThreads(__tstate
);
19740 if (PyErr_Occurred()) SWIG_fail
;
19743 resultobj
= wxPyMake_wxObject(result
, 0);
19751 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19752 PyObject
*resultobj
;
19753 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19756 PyObject
* obj0
= 0 ;
19757 PyObject
* obj1
= 0 ;
19758 char *kwnames
[] = {
19759 (char *) "self",(char *) "id", NULL
19762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
19763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19764 if (SWIG_arg_fail(1)) SWIG_fail
;
19766 arg2
= (int)(SWIG_As_int(obj1
));
19767 if (SWIG_arg_fail(2)) SWIG_fail
;
19770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19771 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
19773 wxPyEndAllowThreads(__tstate
);
19774 if (PyErr_Occurred()) SWIG_fail
;
19777 resultobj
= wxPyMake_wxObject(result
, 0);
19785 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19786 PyObject
*resultobj
;
19787 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19788 wxToolBarToolBase
*result
;
19789 PyObject
* obj0
= 0 ;
19790 char *kwnames
[] = {
19791 (char *) "self", NULL
19794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
19795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19796 if (SWIG_arg_fail(1)) SWIG_fail
;
19798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19799 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
19801 wxPyEndAllowThreads(__tstate
);
19802 if (PyErr_Occurred()) SWIG_fail
;
19805 resultobj
= wxPyMake_wxObject(result
, 0);
19813 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19814 PyObject
*resultobj
;
19815 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19817 wxToolBarToolBase
*result
;
19818 PyObject
* obj0
= 0 ;
19819 PyObject
* obj1
= 0 ;
19820 char *kwnames
[] = {
19821 (char *) "self",(char *) "pos", NULL
19824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
19825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19826 if (SWIG_arg_fail(1)) SWIG_fail
;
19828 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19829 if (SWIG_arg_fail(2)) SWIG_fail
;
19832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19833 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
19835 wxPyEndAllowThreads(__tstate
);
19836 if (PyErr_Occurred()) SWIG_fail
;
19839 resultobj
= wxPyMake_wxObject(result
, 0);
19847 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19848 PyObject
*resultobj
;
19849 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19851 wxToolBarToolBase
*result
;
19852 PyObject
* obj0
= 0 ;
19853 PyObject
* obj1
= 0 ;
19854 char *kwnames
[] = {
19855 (char *) "self",(char *) "id", NULL
19858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
19859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19860 if (SWIG_arg_fail(1)) SWIG_fail
;
19862 arg2
= (int)(SWIG_As_int(obj1
));
19863 if (SWIG_arg_fail(2)) SWIG_fail
;
19866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19867 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
19869 wxPyEndAllowThreads(__tstate
);
19870 if (PyErr_Occurred()) SWIG_fail
;
19873 resultobj
= wxPyMake_wxObject(result
, 0);
19881 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19882 PyObject
*resultobj
;
19883 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19886 PyObject
* obj0
= 0 ;
19887 PyObject
* obj1
= 0 ;
19888 char *kwnames
[] = {
19889 (char *) "self",(char *) "pos", NULL
19892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
19893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19894 if (SWIG_arg_fail(1)) SWIG_fail
;
19896 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19897 if (SWIG_arg_fail(2)) SWIG_fail
;
19900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19901 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
19903 wxPyEndAllowThreads(__tstate
);
19904 if (PyErr_Occurred()) SWIG_fail
;
19907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19915 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19916 PyObject
*resultobj
;
19917 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19920 PyObject
* obj0
= 0 ;
19921 PyObject
* obj1
= 0 ;
19922 char *kwnames
[] = {
19923 (char *) "self",(char *) "id", NULL
19926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
19927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19928 if (SWIG_arg_fail(1)) SWIG_fail
;
19930 arg2
= (int)(SWIG_As_int(obj1
));
19931 if (SWIG_arg_fail(2)) SWIG_fail
;
19934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19935 result
= (bool)(arg1
)->DeleteTool(arg2
);
19937 wxPyEndAllowThreads(__tstate
);
19938 if (PyErr_Occurred()) SWIG_fail
;
19941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19949 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19950 PyObject
*resultobj
;
19951 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19952 PyObject
* obj0
= 0 ;
19953 char *kwnames
[] = {
19954 (char *) "self", NULL
19957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
19958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19959 if (SWIG_arg_fail(1)) SWIG_fail
;
19961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19962 (arg1
)->ClearTools();
19964 wxPyEndAllowThreads(__tstate
);
19965 if (PyErr_Occurred()) SWIG_fail
;
19967 Py_INCREF(Py_None
); resultobj
= Py_None
;
19974 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19975 PyObject
*resultobj
;
19976 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19978 PyObject
* obj0
= 0 ;
19979 char *kwnames
[] = {
19980 (char *) "self", NULL
19983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
19984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19985 if (SWIG_arg_fail(1)) SWIG_fail
;
19987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19988 result
= (bool)(arg1
)->Realize();
19990 wxPyEndAllowThreads(__tstate
);
19991 if (PyErr_Occurred()) SWIG_fail
;
19994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20002 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20003 PyObject
*resultobj
;
20004 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20007 PyObject
* obj0
= 0 ;
20008 PyObject
* obj1
= 0 ;
20009 PyObject
* obj2
= 0 ;
20010 char *kwnames
[] = {
20011 (char *) "self",(char *) "id",(char *) "enable", NULL
20014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20016 if (SWIG_arg_fail(1)) SWIG_fail
;
20018 arg2
= (int)(SWIG_As_int(obj1
));
20019 if (SWIG_arg_fail(2)) SWIG_fail
;
20022 arg3
= (bool)(SWIG_As_bool(obj2
));
20023 if (SWIG_arg_fail(3)) SWIG_fail
;
20026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20027 (arg1
)->EnableTool(arg2
,arg3
);
20029 wxPyEndAllowThreads(__tstate
);
20030 if (PyErr_Occurred()) SWIG_fail
;
20032 Py_INCREF(Py_None
); resultobj
= Py_None
;
20039 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20040 PyObject
*resultobj
;
20041 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20044 PyObject
* obj0
= 0 ;
20045 PyObject
* obj1
= 0 ;
20046 PyObject
* obj2
= 0 ;
20047 char *kwnames
[] = {
20048 (char *) "self",(char *) "id",(char *) "toggle", NULL
20051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20053 if (SWIG_arg_fail(1)) SWIG_fail
;
20055 arg2
= (int)(SWIG_As_int(obj1
));
20056 if (SWIG_arg_fail(2)) SWIG_fail
;
20059 arg3
= (bool)(SWIG_As_bool(obj2
));
20060 if (SWIG_arg_fail(3)) SWIG_fail
;
20063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20064 (arg1
)->ToggleTool(arg2
,arg3
);
20066 wxPyEndAllowThreads(__tstate
);
20067 if (PyErr_Occurred()) SWIG_fail
;
20069 Py_INCREF(Py_None
); resultobj
= Py_None
;
20076 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20077 PyObject
*resultobj
;
20078 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20081 PyObject
* obj0
= 0 ;
20082 PyObject
* obj1
= 0 ;
20083 PyObject
* obj2
= 0 ;
20084 char *kwnames
[] = {
20085 (char *) "self",(char *) "id",(char *) "toggle", NULL
20088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20090 if (SWIG_arg_fail(1)) SWIG_fail
;
20092 arg2
= (int)(SWIG_As_int(obj1
));
20093 if (SWIG_arg_fail(2)) SWIG_fail
;
20096 arg3
= (bool)(SWIG_As_bool(obj2
));
20097 if (SWIG_arg_fail(3)) SWIG_fail
;
20100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20101 (arg1
)->SetToggle(arg2
,arg3
);
20103 wxPyEndAllowThreads(__tstate
);
20104 if (PyErr_Occurred()) SWIG_fail
;
20106 Py_INCREF(Py_None
); resultobj
= Py_None
;
20113 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20114 PyObject
*resultobj
;
20115 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20118 PyObject
* obj0
= 0 ;
20119 PyObject
* obj1
= 0 ;
20120 char *kwnames
[] = {
20121 (char *) "self",(char *) "id", NULL
20124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
20125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20126 if (SWIG_arg_fail(1)) SWIG_fail
;
20128 arg2
= (int)(SWIG_As_int(obj1
));
20129 if (SWIG_arg_fail(2)) SWIG_fail
;
20132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20133 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
20135 wxPyEndAllowThreads(__tstate
);
20136 if (PyErr_Occurred()) SWIG_fail
;
20138 resultobj
= result
;
20145 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20146 PyObject
*resultobj
;
20147 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20149 PyObject
*arg3
= (PyObject
*) 0 ;
20150 PyObject
* obj0
= 0 ;
20151 PyObject
* obj1
= 0 ;
20152 PyObject
* obj2
= 0 ;
20153 char *kwnames
[] = {
20154 (char *) "self",(char *) "id",(char *) "clientData", NULL
20157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20159 if (SWIG_arg_fail(1)) SWIG_fail
;
20161 arg2
= (int)(SWIG_As_int(obj1
));
20162 if (SWIG_arg_fail(2)) SWIG_fail
;
20166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20167 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
20169 wxPyEndAllowThreads(__tstate
);
20170 if (PyErr_Occurred()) SWIG_fail
;
20172 Py_INCREF(Py_None
); resultobj
= Py_None
;
20179 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20180 PyObject
*resultobj
;
20181 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20184 PyObject
* obj0
= 0 ;
20185 PyObject
* obj1
= 0 ;
20186 char *kwnames
[] = {
20187 (char *) "self",(char *) "id", NULL
20190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
20191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20192 if (SWIG_arg_fail(1)) SWIG_fail
;
20194 arg2
= (int)(SWIG_As_int(obj1
));
20195 if (SWIG_arg_fail(2)) SWIG_fail
;
20198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20199 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
20201 wxPyEndAllowThreads(__tstate
);
20202 if (PyErr_Occurred()) SWIG_fail
;
20205 resultobj
= SWIG_From_int((int)(result
));
20213 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20214 PyObject
*resultobj
;
20215 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20218 PyObject
* obj0
= 0 ;
20219 PyObject
* obj1
= 0 ;
20220 char *kwnames
[] = {
20221 (char *) "self",(char *) "id", NULL
20224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
20225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20226 if (SWIG_arg_fail(1)) SWIG_fail
;
20228 arg2
= (int)(SWIG_As_int(obj1
));
20229 if (SWIG_arg_fail(2)) SWIG_fail
;
20232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20233 result
= (bool)(arg1
)->GetToolState(arg2
);
20235 wxPyEndAllowThreads(__tstate
);
20236 if (PyErr_Occurred()) SWIG_fail
;
20239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20247 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20248 PyObject
*resultobj
;
20249 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20252 PyObject
* obj0
= 0 ;
20253 PyObject
* obj1
= 0 ;
20254 char *kwnames
[] = {
20255 (char *) "self",(char *) "id", NULL
20258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
20259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20260 if (SWIG_arg_fail(1)) SWIG_fail
;
20262 arg2
= (int)(SWIG_As_int(obj1
));
20263 if (SWIG_arg_fail(2)) SWIG_fail
;
20266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20267 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
20269 wxPyEndAllowThreads(__tstate
);
20270 if (PyErr_Occurred()) SWIG_fail
;
20273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20281 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20282 PyObject
*resultobj
;
20283 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20285 wxString
*arg3
= 0 ;
20286 bool temp3
= false ;
20287 PyObject
* obj0
= 0 ;
20288 PyObject
* obj1
= 0 ;
20289 PyObject
* obj2
= 0 ;
20290 char *kwnames
[] = {
20291 (char *) "self",(char *) "id",(char *) "helpString", NULL
20294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20296 if (SWIG_arg_fail(1)) SWIG_fail
;
20298 arg2
= (int)(SWIG_As_int(obj1
));
20299 if (SWIG_arg_fail(2)) SWIG_fail
;
20302 arg3
= wxString_in_helper(obj2
);
20303 if (arg3
== NULL
) SWIG_fail
;
20307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20308 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
20310 wxPyEndAllowThreads(__tstate
);
20311 if (PyErr_Occurred()) SWIG_fail
;
20313 Py_INCREF(Py_None
); resultobj
= Py_None
;
20328 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20329 PyObject
*resultobj
;
20330 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20333 PyObject
* obj0
= 0 ;
20334 PyObject
* obj1
= 0 ;
20335 char *kwnames
[] = {
20336 (char *) "self",(char *) "id", NULL
20339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20341 if (SWIG_arg_fail(1)) SWIG_fail
;
20343 arg2
= (int)(SWIG_As_int(obj1
));
20344 if (SWIG_arg_fail(2)) SWIG_fail
;
20347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20348 result
= (arg1
)->GetToolShortHelp(arg2
);
20350 wxPyEndAllowThreads(__tstate
);
20351 if (PyErr_Occurred()) SWIG_fail
;
20355 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20357 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20366 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20367 PyObject
*resultobj
;
20368 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20370 wxString
*arg3
= 0 ;
20371 bool temp3
= false ;
20372 PyObject
* obj0
= 0 ;
20373 PyObject
* obj1
= 0 ;
20374 PyObject
* obj2
= 0 ;
20375 char *kwnames
[] = {
20376 (char *) "self",(char *) "id",(char *) "helpString", NULL
20379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20381 if (SWIG_arg_fail(1)) SWIG_fail
;
20383 arg2
= (int)(SWIG_As_int(obj1
));
20384 if (SWIG_arg_fail(2)) SWIG_fail
;
20387 arg3
= wxString_in_helper(obj2
);
20388 if (arg3
== NULL
) SWIG_fail
;
20392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20393 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
20395 wxPyEndAllowThreads(__tstate
);
20396 if (PyErr_Occurred()) SWIG_fail
;
20398 Py_INCREF(Py_None
); resultobj
= Py_None
;
20413 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20414 PyObject
*resultobj
;
20415 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20418 PyObject
* obj0
= 0 ;
20419 PyObject
* obj1
= 0 ;
20420 char *kwnames
[] = {
20421 (char *) "self",(char *) "id", NULL
20424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20426 if (SWIG_arg_fail(1)) SWIG_fail
;
20428 arg2
= (int)(SWIG_As_int(obj1
));
20429 if (SWIG_arg_fail(2)) SWIG_fail
;
20432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20433 result
= (arg1
)->GetToolLongHelp(arg2
);
20435 wxPyEndAllowThreads(__tstate
);
20436 if (PyErr_Occurred()) SWIG_fail
;
20440 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20442 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20451 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20452 PyObject
*resultobj
;
20453 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20456 PyObject
* obj0
= 0 ;
20457 PyObject
* obj1
= 0 ;
20458 PyObject
* obj2
= 0 ;
20459 char *kwnames
[] = {
20460 (char *) "self",(char *) "x",(char *) "y", NULL
20463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20465 if (SWIG_arg_fail(1)) SWIG_fail
;
20467 arg2
= (int)(SWIG_As_int(obj1
));
20468 if (SWIG_arg_fail(2)) SWIG_fail
;
20471 arg3
= (int)(SWIG_As_int(obj2
));
20472 if (SWIG_arg_fail(3)) SWIG_fail
;
20475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20476 (arg1
)->SetMargins(arg2
,arg3
);
20478 wxPyEndAllowThreads(__tstate
);
20479 if (PyErr_Occurred()) SWIG_fail
;
20481 Py_INCREF(Py_None
); resultobj
= Py_None
;
20488 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20489 PyObject
*resultobj
;
20490 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20493 PyObject
* obj0
= 0 ;
20494 PyObject
* obj1
= 0 ;
20495 char *kwnames
[] = {
20496 (char *) "self",(char *) "size", NULL
20499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
20500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20501 if (SWIG_arg_fail(1)) SWIG_fail
;
20504 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20508 (arg1
)->SetMargins((wxSize
const &)*arg2
);
20510 wxPyEndAllowThreads(__tstate
);
20511 if (PyErr_Occurred()) SWIG_fail
;
20513 Py_INCREF(Py_None
); resultobj
= Py_None
;
20520 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20521 PyObject
*resultobj
;
20522 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20524 PyObject
* obj0
= 0 ;
20525 PyObject
* obj1
= 0 ;
20526 char *kwnames
[] = {
20527 (char *) "self",(char *) "packing", NULL
20530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
20531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20532 if (SWIG_arg_fail(1)) SWIG_fail
;
20534 arg2
= (int)(SWIG_As_int(obj1
));
20535 if (SWIG_arg_fail(2)) SWIG_fail
;
20538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20539 (arg1
)->SetToolPacking(arg2
);
20541 wxPyEndAllowThreads(__tstate
);
20542 if (PyErr_Occurred()) SWIG_fail
;
20544 Py_INCREF(Py_None
); resultobj
= Py_None
;
20551 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20552 PyObject
*resultobj
;
20553 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20555 PyObject
* obj0
= 0 ;
20556 PyObject
* obj1
= 0 ;
20557 char *kwnames
[] = {
20558 (char *) "self",(char *) "separation", NULL
20561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
20562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20563 if (SWIG_arg_fail(1)) SWIG_fail
;
20565 arg2
= (int)(SWIG_As_int(obj1
));
20566 if (SWIG_arg_fail(2)) SWIG_fail
;
20569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20570 (arg1
)->SetToolSeparation(arg2
);
20572 wxPyEndAllowThreads(__tstate
);
20573 if (PyErr_Occurred()) SWIG_fail
;
20575 Py_INCREF(Py_None
); resultobj
= Py_None
;
20582 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20583 PyObject
*resultobj
;
20584 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20586 PyObject
* obj0
= 0 ;
20587 char *kwnames
[] = {
20588 (char *) "self", NULL
20591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
20592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20593 if (SWIG_arg_fail(1)) SWIG_fail
;
20595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20596 result
= (arg1
)->GetToolMargins();
20598 wxPyEndAllowThreads(__tstate
);
20599 if (PyErr_Occurred()) SWIG_fail
;
20602 wxSize
* resultptr
;
20603 resultptr
= new wxSize((wxSize
&)(result
));
20604 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20612 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20613 PyObject
*resultobj
;
20614 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20616 PyObject
* obj0
= 0 ;
20617 char *kwnames
[] = {
20618 (char *) "self", NULL
20621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
20622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20623 if (SWIG_arg_fail(1)) SWIG_fail
;
20625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20626 result
= (arg1
)->GetMargins();
20628 wxPyEndAllowThreads(__tstate
);
20629 if (PyErr_Occurred()) SWIG_fail
;
20632 wxSize
* resultptr
;
20633 resultptr
= new wxSize((wxSize
&)(result
));
20634 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20642 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20643 PyObject
*resultobj
;
20644 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20646 PyObject
* obj0
= 0 ;
20647 char *kwnames
[] = {
20648 (char *) "self", NULL
20651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
20652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20653 if (SWIG_arg_fail(1)) SWIG_fail
;
20655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20656 result
= (int)(arg1
)->GetToolPacking();
20658 wxPyEndAllowThreads(__tstate
);
20659 if (PyErr_Occurred()) SWIG_fail
;
20662 resultobj
= SWIG_From_int((int)(result
));
20670 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20671 PyObject
*resultobj
;
20672 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20674 PyObject
* obj0
= 0 ;
20675 char *kwnames
[] = {
20676 (char *) "self", NULL
20679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
20680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20681 if (SWIG_arg_fail(1)) SWIG_fail
;
20683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20684 result
= (int)(arg1
)->GetToolSeparation();
20686 wxPyEndAllowThreads(__tstate
);
20687 if (PyErr_Occurred()) SWIG_fail
;
20690 resultobj
= SWIG_From_int((int)(result
));
20698 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20699 PyObject
*resultobj
;
20700 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20702 PyObject
* obj0
= 0 ;
20703 PyObject
* obj1
= 0 ;
20704 char *kwnames
[] = {
20705 (char *) "self",(char *) "nRows", NULL
20708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
20709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20710 if (SWIG_arg_fail(1)) SWIG_fail
;
20712 arg2
= (int)(SWIG_As_int(obj1
));
20713 if (SWIG_arg_fail(2)) SWIG_fail
;
20716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20717 (arg1
)->SetRows(arg2
);
20719 wxPyEndAllowThreads(__tstate
);
20720 if (PyErr_Occurred()) SWIG_fail
;
20722 Py_INCREF(Py_None
); resultobj
= Py_None
;
20729 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20730 PyObject
*resultobj
;
20731 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20734 PyObject
* obj0
= 0 ;
20735 PyObject
* obj1
= 0 ;
20736 PyObject
* obj2
= 0 ;
20737 char *kwnames
[] = {
20738 (char *) "self",(char *) "rows",(char *) "cols", NULL
20741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20743 if (SWIG_arg_fail(1)) SWIG_fail
;
20745 arg2
= (int)(SWIG_As_int(obj1
));
20746 if (SWIG_arg_fail(2)) SWIG_fail
;
20749 arg3
= (int)(SWIG_As_int(obj2
));
20750 if (SWIG_arg_fail(3)) SWIG_fail
;
20753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20754 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
20756 wxPyEndAllowThreads(__tstate
);
20757 if (PyErr_Occurred()) SWIG_fail
;
20759 Py_INCREF(Py_None
); resultobj
= Py_None
;
20766 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20767 PyObject
*resultobj
;
20768 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20770 PyObject
* obj0
= 0 ;
20771 char *kwnames
[] = {
20772 (char *) "self", NULL
20775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
20776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20777 if (SWIG_arg_fail(1)) SWIG_fail
;
20779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20780 result
= (int)(arg1
)->GetMaxRows();
20782 wxPyEndAllowThreads(__tstate
);
20783 if (PyErr_Occurred()) SWIG_fail
;
20786 resultobj
= SWIG_From_int((int)(result
));
20794 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20795 PyObject
*resultobj
;
20796 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20798 PyObject
* obj0
= 0 ;
20799 char *kwnames
[] = {
20800 (char *) "self", NULL
20803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
20804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20805 if (SWIG_arg_fail(1)) SWIG_fail
;
20807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20808 result
= (int)(arg1
)->GetMaxCols();
20810 wxPyEndAllowThreads(__tstate
);
20811 if (PyErr_Occurred()) SWIG_fail
;
20814 resultobj
= SWIG_From_int((int)(result
));
20822 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20823 PyObject
*resultobj
;
20824 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20827 PyObject
* obj0
= 0 ;
20828 PyObject
* obj1
= 0 ;
20829 char *kwnames
[] = {
20830 (char *) "self",(char *) "size", NULL
20833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20835 if (SWIG_arg_fail(1)) SWIG_fail
;
20838 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20842 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
20844 wxPyEndAllowThreads(__tstate
);
20845 if (PyErr_Occurred()) SWIG_fail
;
20847 Py_INCREF(Py_None
); resultobj
= Py_None
;
20854 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20855 PyObject
*resultobj
;
20856 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20858 PyObject
* obj0
= 0 ;
20859 char *kwnames
[] = {
20860 (char *) "self", NULL
20863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
20864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20865 if (SWIG_arg_fail(1)) SWIG_fail
;
20867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20868 result
= (arg1
)->GetToolBitmapSize();
20870 wxPyEndAllowThreads(__tstate
);
20871 if (PyErr_Occurred()) SWIG_fail
;
20874 wxSize
* resultptr
;
20875 resultptr
= new wxSize((wxSize
&)(result
));
20876 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20884 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20885 PyObject
*resultobj
;
20886 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20888 PyObject
* obj0
= 0 ;
20889 char *kwnames
[] = {
20890 (char *) "self", NULL
20893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
20894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20895 if (SWIG_arg_fail(1)) SWIG_fail
;
20897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20898 result
= (arg1
)->GetToolSize();
20900 wxPyEndAllowThreads(__tstate
);
20901 if (PyErr_Occurred()) SWIG_fail
;
20904 wxSize
* resultptr
;
20905 resultptr
= new wxSize((wxSize
&)(result
));
20906 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20914 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20915 PyObject
*resultobj
;
20916 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20919 wxToolBarToolBase
*result
;
20920 PyObject
* obj0
= 0 ;
20921 PyObject
* obj1
= 0 ;
20922 PyObject
* obj2
= 0 ;
20923 char *kwnames
[] = {
20924 (char *) "self",(char *) "x",(char *) "y", NULL
20927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20929 if (SWIG_arg_fail(1)) SWIG_fail
;
20931 arg2
= (int)(SWIG_As_int(obj1
));
20932 if (SWIG_arg_fail(2)) SWIG_fail
;
20935 arg3
= (int)(SWIG_As_int(obj2
));
20936 if (SWIG_arg_fail(3)) SWIG_fail
;
20939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20940 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
20942 wxPyEndAllowThreads(__tstate
);
20943 if (PyErr_Occurred()) SWIG_fail
;
20946 resultobj
= wxPyMake_wxObject(result
, 0);
20954 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20955 PyObject
*resultobj
;
20956 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20958 wxToolBarToolBase
*result
;
20959 PyObject
* obj0
= 0 ;
20960 PyObject
* obj1
= 0 ;
20961 char *kwnames
[] = {
20962 (char *) "self",(char *) "toolid", NULL
20965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
20966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20967 if (SWIG_arg_fail(1)) SWIG_fail
;
20969 arg2
= (int)(SWIG_As_int(obj1
));
20970 if (SWIG_arg_fail(2)) SWIG_fail
;
20973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20974 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
20976 wxPyEndAllowThreads(__tstate
);
20977 if (PyErr_Occurred()) SWIG_fail
;
20980 resultobj
= wxPyMake_wxObject(result
, 0);
20988 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20989 PyObject
*resultobj
;
20990 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20992 PyObject
* obj0
= 0 ;
20993 char *kwnames
[] = {
20994 (char *) "self", NULL
20997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
20998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20999 if (SWIG_arg_fail(1)) SWIG_fail
;
21001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21002 result
= (bool)(arg1
)->IsVertical();
21004 wxPyEndAllowThreads(__tstate
);
21005 if (PyErr_Occurred()) SWIG_fail
;
21008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21016 static PyObject
* ToolBarBase_swigregister(PyObject
*, PyObject
*args
) {
21018 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21019 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
21021 return Py_BuildValue((char *)"");
21023 static PyObject
*_wrap_new_ToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21024 PyObject
*resultobj
;
21025 wxWindow
*arg1
= (wxWindow
*) 0 ;
21026 int arg2
= (int) -1 ;
21027 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21028 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21029 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21030 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21031 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
21032 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
21033 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21037 bool temp6
= false ;
21038 PyObject
* obj0
= 0 ;
21039 PyObject
* obj1
= 0 ;
21040 PyObject
* obj2
= 0 ;
21041 PyObject
* obj3
= 0 ;
21042 PyObject
* obj4
= 0 ;
21043 PyObject
* obj5
= 0 ;
21044 char *kwnames
[] = {
21045 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21050 if (SWIG_arg_fail(1)) SWIG_fail
;
21053 arg2
= (int)(SWIG_As_int(obj1
));
21054 if (SWIG_arg_fail(2)) SWIG_fail
;
21060 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21066 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21071 arg5
= (long)(SWIG_As_long(obj4
));
21072 if (SWIG_arg_fail(5)) SWIG_fail
;
21077 arg6
= wxString_in_helper(obj5
);
21078 if (arg6
== NULL
) SWIG_fail
;
21083 if (!wxPyCheckForApp()) SWIG_fail
;
21084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21085 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21087 wxPyEndAllowThreads(__tstate
);
21088 if (PyErr_Occurred()) SWIG_fail
;
21090 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
21105 static PyObject
*_wrap_new_PreToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21106 PyObject
*resultobj
;
21108 char *kwnames
[] = {
21112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
21114 if (!wxPyCheckForApp()) SWIG_fail
;
21115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21116 result
= (wxToolBar
*)new wxToolBar();
21118 wxPyEndAllowThreads(__tstate
);
21119 if (PyErr_Occurred()) SWIG_fail
;
21121 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
21128 static PyObject
*_wrap_ToolBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21129 PyObject
*resultobj
;
21130 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
21131 wxWindow
*arg2
= (wxWindow
*) 0 ;
21132 int arg3
= (int) -1 ;
21133 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21134 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21135 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21136 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21137 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
21138 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
21139 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21143 bool temp7
= false ;
21144 PyObject
* obj0
= 0 ;
21145 PyObject
* obj1
= 0 ;
21146 PyObject
* obj2
= 0 ;
21147 PyObject
* obj3
= 0 ;
21148 PyObject
* obj4
= 0 ;
21149 PyObject
* obj5
= 0 ;
21150 PyObject
* obj6
= 0 ;
21151 char *kwnames
[] = {
21152 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
21157 if (SWIG_arg_fail(1)) SWIG_fail
;
21158 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21159 if (SWIG_arg_fail(2)) SWIG_fail
;
21162 arg3
= (int)(SWIG_As_int(obj2
));
21163 if (SWIG_arg_fail(3)) SWIG_fail
;
21169 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21175 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21180 arg6
= (long)(SWIG_As_long(obj5
));
21181 if (SWIG_arg_fail(6)) SWIG_fail
;
21186 arg7
= wxString_in_helper(obj6
);
21187 if (arg7
== NULL
) SWIG_fail
;
21192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21193 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21195 wxPyEndAllowThreads(__tstate
);
21196 if (PyErr_Occurred()) SWIG_fail
;
21199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21215 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21216 PyObject
*resultobj
;
21217 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
21220 wxToolBarToolBase
*result
;
21221 PyObject
* obj0
= 0 ;
21222 PyObject
* obj1
= 0 ;
21223 PyObject
* obj2
= 0 ;
21224 char *kwnames
[] = {
21225 (char *) "self",(char *) "x",(char *) "y", NULL
21228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
21230 if (SWIG_arg_fail(1)) SWIG_fail
;
21232 arg2
= (int)(SWIG_As_int(obj1
));
21233 if (SWIG_arg_fail(2)) SWIG_fail
;
21236 arg3
= (int)(SWIG_As_int(obj2
));
21237 if (SWIG_arg_fail(3)) SWIG_fail
;
21240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21241 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
21243 wxPyEndAllowThreads(__tstate
);
21244 if (PyErr_Occurred()) SWIG_fail
;
21247 resultobj
= wxPyMake_wxObject(result
, 0);
21255 static PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21256 PyObject
*resultobj
;
21257 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
21258 wxVisualAttributes result
;
21259 PyObject
* obj0
= 0 ;
21260 char *kwnames
[] = {
21261 (char *) "variant", NULL
21264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
21267 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
21268 if (SWIG_arg_fail(1)) SWIG_fail
;
21272 if (!wxPyCheckForApp()) SWIG_fail
;
21273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21274 result
= wxToolBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
21276 wxPyEndAllowThreads(__tstate
);
21277 if (PyErr_Occurred()) SWIG_fail
;
21280 wxVisualAttributes
* resultptr
;
21281 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
21282 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
21290 static PyObject
* ToolBar_swigregister(PyObject
*, PyObject
*args
) {
21292 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21293 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
21295 return Py_BuildValue((char *)"");
21297 static int _wrap_ListCtrlNameStr_set(PyObject
*) {
21298 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
21303 static PyObject
*_wrap_ListCtrlNameStr_get(void) {
21308 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
21310 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
21317 static PyObject
*_wrap_new_ListItemAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21318 PyObject
*resultobj
;
21319 wxColour
const &arg1_defvalue
= wxNullColour
;
21320 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
21321 wxColour
const &arg2_defvalue
= wxNullColour
;
21322 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
21323 wxFont
const &arg3_defvalue
= wxNullFont
;
21324 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
21325 wxListItemAttr
*result
;
21328 PyObject
* obj0
= 0 ;
21329 PyObject
* obj1
= 0 ;
21330 PyObject
* obj2
= 0 ;
21331 char *kwnames
[] = {
21332 (char *) "colText",(char *) "colBack",(char *) "font", NULL
21335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21339 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
21345 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21350 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
21351 if (SWIG_arg_fail(3)) SWIG_fail
;
21352 if (arg3
== NULL
) {
21353 SWIG_null_ref("wxFont");
21355 if (SWIG_arg_fail(3)) SWIG_fail
;
21359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21360 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
21362 wxPyEndAllowThreads(__tstate
);
21363 if (PyErr_Occurred()) SWIG_fail
;
21365 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
21372 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21373 PyObject
*resultobj
;
21374 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21375 wxColour
*arg2
= 0 ;
21377 PyObject
* obj0
= 0 ;
21378 PyObject
* obj1
= 0 ;
21379 char *kwnames
[] = {
21380 (char *) "self",(char *) "colText", NULL
21383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21385 if (SWIG_arg_fail(1)) SWIG_fail
;
21388 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21392 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
21394 wxPyEndAllowThreads(__tstate
);
21395 if (PyErr_Occurred()) SWIG_fail
;
21397 Py_INCREF(Py_None
); resultobj
= Py_None
;
21404 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21405 PyObject
*resultobj
;
21406 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21407 wxColour
*arg2
= 0 ;
21409 PyObject
* obj0
= 0 ;
21410 PyObject
* obj1
= 0 ;
21411 char *kwnames
[] = {
21412 (char *) "self",(char *) "colBack", NULL
21415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21417 if (SWIG_arg_fail(1)) SWIG_fail
;
21420 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21424 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
21426 wxPyEndAllowThreads(__tstate
);
21427 if (PyErr_Occurred()) SWIG_fail
;
21429 Py_INCREF(Py_None
); resultobj
= Py_None
;
21436 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21437 PyObject
*resultobj
;
21438 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21440 PyObject
* obj0
= 0 ;
21441 PyObject
* obj1
= 0 ;
21442 char *kwnames
[] = {
21443 (char *) "self",(char *) "font", NULL
21446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
21447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21448 if (SWIG_arg_fail(1)) SWIG_fail
;
21450 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
21451 if (SWIG_arg_fail(2)) SWIG_fail
;
21452 if (arg2
== NULL
) {
21453 SWIG_null_ref("wxFont");
21455 if (SWIG_arg_fail(2)) SWIG_fail
;
21458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21459 (arg1
)->SetFont((wxFont
const &)*arg2
);
21461 wxPyEndAllowThreads(__tstate
);
21462 if (PyErr_Occurred()) SWIG_fail
;
21464 Py_INCREF(Py_None
); resultobj
= Py_None
;
21471 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21472 PyObject
*resultobj
;
21473 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21475 PyObject
* obj0
= 0 ;
21476 char *kwnames
[] = {
21477 (char *) "self", NULL
21480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
21481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21482 if (SWIG_arg_fail(1)) SWIG_fail
;
21484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21485 result
= (bool)(arg1
)->HasTextColour();
21487 wxPyEndAllowThreads(__tstate
);
21488 if (PyErr_Occurred()) SWIG_fail
;
21491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21499 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21500 PyObject
*resultobj
;
21501 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21503 PyObject
* obj0
= 0 ;
21504 char *kwnames
[] = {
21505 (char *) "self", NULL
21508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
21509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21510 if (SWIG_arg_fail(1)) SWIG_fail
;
21512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21513 result
= (bool)(arg1
)->HasBackgroundColour();
21515 wxPyEndAllowThreads(__tstate
);
21516 if (PyErr_Occurred()) SWIG_fail
;
21519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21527 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21528 PyObject
*resultobj
;
21529 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21531 PyObject
* obj0
= 0 ;
21532 char *kwnames
[] = {
21533 (char *) "self", NULL
21536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
21537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21538 if (SWIG_arg_fail(1)) SWIG_fail
;
21540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21541 result
= (bool)(arg1
)->HasFont();
21543 wxPyEndAllowThreads(__tstate
);
21544 if (PyErr_Occurred()) SWIG_fail
;
21547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21555 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21556 PyObject
*resultobj
;
21557 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21559 PyObject
* obj0
= 0 ;
21560 char *kwnames
[] = {
21561 (char *) "self", NULL
21564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
21565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21566 if (SWIG_arg_fail(1)) SWIG_fail
;
21568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21569 result
= (arg1
)->GetTextColour();
21571 wxPyEndAllowThreads(__tstate
);
21572 if (PyErr_Occurred()) SWIG_fail
;
21575 wxColour
* resultptr
;
21576 resultptr
= new wxColour((wxColour
&)(result
));
21577 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21585 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21586 PyObject
*resultobj
;
21587 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21589 PyObject
* obj0
= 0 ;
21590 char *kwnames
[] = {
21591 (char *) "self", NULL
21594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
21595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21596 if (SWIG_arg_fail(1)) SWIG_fail
;
21598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21599 result
= (arg1
)->GetBackgroundColour();
21601 wxPyEndAllowThreads(__tstate
);
21602 if (PyErr_Occurred()) SWIG_fail
;
21605 wxColour
* resultptr
;
21606 resultptr
= new wxColour((wxColour
&)(result
));
21607 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21615 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21616 PyObject
*resultobj
;
21617 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21619 PyObject
* obj0
= 0 ;
21620 char *kwnames
[] = {
21621 (char *) "self", NULL
21624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
21625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21626 if (SWIG_arg_fail(1)) SWIG_fail
;
21628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21629 result
= (arg1
)->GetFont();
21631 wxPyEndAllowThreads(__tstate
);
21632 if (PyErr_Occurred()) SWIG_fail
;
21635 wxFont
* resultptr
;
21636 resultptr
= new wxFont((wxFont
&)(result
));
21637 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
21645 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21646 PyObject
*resultobj
;
21647 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21648 PyObject
* obj0
= 0 ;
21649 char *kwnames
[] = {
21650 (char *) "self", NULL
21653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
21654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21655 if (SWIG_arg_fail(1)) SWIG_fail
;
21657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21658 wxListItemAttr_Destroy(arg1
);
21660 wxPyEndAllowThreads(__tstate
);
21661 if (PyErr_Occurred()) SWIG_fail
;
21663 Py_INCREF(Py_None
); resultobj
= Py_None
;
21670 static PyObject
* ListItemAttr_swigregister(PyObject
*, PyObject
*args
) {
21672 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21673 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
21675 return Py_BuildValue((char *)"");
21677 static PyObject
*_wrap_new_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21678 PyObject
*resultobj
;
21679 wxListItem
*result
;
21680 char *kwnames
[] = {
21684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
21686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21687 result
= (wxListItem
*)new wxListItem();
21689 wxPyEndAllowThreads(__tstate
);
21690 if (PyErr_Occurred()) SWIG_fail
;
21693 resultobj
= wxPyMake_wxObject(result
, 1);
21701 static PyObject
*_wrap_delete_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21702 PyObject
*resultobj
;
21703 wxListItem
*arg1
= (wxListItem
*) 0 ;
21704 PyObject
* obj0
= 0 ;
21705 char *kwnames
[] = {
21706 (char *) "self", NULL
21709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
21710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21711 if (SWIG_arg_fail(1)) SWIG_fail
;
21713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21716 wxPyEndAllowThreads(__tstate
);
21717 if (PyErr_Occurred()) SWIG_fail
;
21719 Py_INCREF(Py_None
); resultobj
= Py_None
;
21726 static PyObject
*_wrap_ListItem_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21727 PyObject
*resultobj
;
21728 wxListItem
*arg1
= (wxListItem
*) 0 ;
21729 PyObject
* obj0
= 0 ;
21730 char *kwnames
[] = {
21731 (char *) "self", NULL
21734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
21735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21736 if (SWIG_arg_fail(1)) SWIG_fail
;
21738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21741 wxPyEndAllowThreads(__tstate
);
21742 if (PyErr_Occurred()) SWIG_fail
;
21744 Py_INCREF(Py_None
); resultobj
= Py_None
;
21751 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21752 PyObject
*resultobj
;
21753 wxListItem
*arg1
= (wxListItem
*) 0 ;
21754 PyObject
* obj0
= 0 ;
21755 char *kwnames
[] = {
21756 (char *) "self", NULL
21759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
21760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21761 if (SWIG_arg_fail(1)) SWIG_fail
;
21763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21764 (arg1
)->ClearAttributes();
21766 wxPyEndAllowThreads(__tstate
);
21767 if (PyErr_Occurred()) SWIG_fail
;
21769 Py_INCREF(Py_None
); resultobj
= Py_None
;
21776 static PyObject
*_wrap_ListItem_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21777 PyObject
*resultobj
;
21778 wxListItem
*arg1
= (wxListItem
*) 0 ;
21780 PyObject
* obj0
= 0 ;
21781 PyObject
* obj1
= 0 ;
21782 char *kwnames
[] = {
21783 (char *) "self",(char *) "mask", NULL
21786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
21787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21788 if (SWIG_arg_fail(1)) SWIG_fail
;
21790 arg2
= (long)(SWIG_As_long(obj1
));
21791 if (SWIG_arg_fail(2)) SWIG_fail
;
21794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21795 (arg1
)->SetMask(arg2
);
21797 wxPyEndAllowThreads(__tstate
);
21798 if (PyErr_Occurred()) SWIG_fail
;
21800 Py_INCREF(Py_None
); resultobj
= Py_None
;
21807 static PyObject
*_wrap_ListItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21808 PyObject
*resultobj
;
21809 wxListItem
*arg1
= (wxListItem
*) 0 ;
21811 PyObject
* obj0
= 0 ;
21812 PyObject
* obj1
= 0 ;
21813 char *kwnames
[] = {
21814 (char *) "self",(char *) "id", NULL
21817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
21818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21819 if (SWIG_arg_fail(1)) SWIG_fail
;
21821 arg2
= (long)(SWIG_As_long(obj1
));
21822 if (SWIG_arg_fail(2)) SWIG_fail
;
21825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21826 (arg1
)->SetId(arg2
);
21828 wxPyEndAllowThreads(__tstate
);
21829 if (PyErr_Occurred()) SWIG_fail
;
21831 Py_INCREF(Py_None
); resultobj
= Py_None
;
21838 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21839 PyObject
*resultobj
;
21840 wxListItem
*arg1
= (wxListItem
*) 0 ;
21842 PyObject
* obj0
= 0 ;
21843 PyObject
* obj1
= 0 ;
21844 char *kwnames
[] = {
21845 (char *) "self",(char *) "col", NULL
21848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21850 if (SWIG_arg_fail(1)) SWIG_fail
;
21852 arg2
= (int)(SWIG_As_int(obj1
));
21853 if (SWIG_arg_fail(2)) SWIG_fail
;
21856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21857 (arg1
)->SetColumn(arg2
);
21859 wxPyEndAllowThreads(__tstate
);
21860 if (PyErr_Occurred()) SWIG_fail
;
21862 Py_INCREF(Py_None
); resultobj
= Py_None
;
21869 static PyObject
*_wrap_ListItem_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21870 PyObject
*resultobj
;
21871 wxListItem
*arg1
= (wxListItem
*) 0 ;
21873 PyObject
* obj0
= 0 ;
21874 PyObject
* obj1
= 0 ;
21875 char *kwnames
[] = {
21876 (char *) "self",(char *) "state", NULL
21879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
21880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21881 if (SWIG_arg_fail(1)) SWIG_fail
;
21883 arg2
= (long)(SWIG_As_long(obj1
));
21884 if (SWIG_arg_fail(2)) SWIG_fail
;
21887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21888 (arg1
)->SetState(arg2
);
21890 wxPyEndAllowThreads(__tstate
);
21891 if (PyErr_Occurred()) SWIG_fail
;
21893 Py_INCREF(Py_None
); resultobj
= Py_None
;
21900 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21901 PyObject
*resultobj
;
21902 wxListItem
*arg1
= (wxListItem
*) 0 ;
21904 PyObject
* obj0
= 0 ;
21905 PyObject
* obj1
= 0 ;
21906 char *kwnames
[] = {
21907 (char *) "self",(char *) "stateMask", NULL
21910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
21911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21912 if (SWIG_arg_fail(1)) SWIG_fail
;
21914 arg2
= (long)(SWIG_As_long(obj1
));
21915 if (SWIG_arg_fail(2)) SWIG_fail
;
21918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21919 (arg1
)->SetStateMask(arg2
);
21921 wxPyEndAllowThreads(__tstate
);
21922 if (PyErr_Occurred()) SWIG_fail
;
21924 Py_INCREF(Py_None
); resultobj
= Py_None
;
21931 static PyObject
*_wrap_ListItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21932 PyObject
*resultobj
;
21933 wxListItem
*arg1
= (wxListItem
*) 0 ;
21934 wxString
*arg2
= 0 ;
21935 bool temp2
= false ;
21936 PyObject
* obj0
= 0 ;
21937 PyObject
* obj1
= 0 ;
21938 char *kwnames
[] = {
21939 (char *) "self",(char *) "text", NULL
21942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
21943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21944 if (SWIG_arg_fail(1)) SWIG_fail
;
21946 arg2
= wxString_in_helper(obj1
);
21947 if (arg2
== NULL
) SWIG_fail
;
21951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21952 (arg1
)->SetText((wxString
const &)*arg2
);
21954 wxPyEndAllowThreads(__tstate
);
21955 if (PyErr_Occurred()) SWIG_fail
;
21957 Py_INCREF(Py_None
); resultobj
= Py_None
;
21972 static PyObject
*_wrap_ListItem_SetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21973 PyObject
*resultobj
;
21974 wxListItem
*arg1
= (wxListItem
*) 0 ;
21976 PyObject
* obj0
= 0 ;
21977 PyObject
* obj1
= 0 ;
21978 char *kwnames
[] = {
21979 (char *) "self",(char *) "image", NULL
21982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
21983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21984 if (SWIG_arg_fail(1)) SWIG_fail
;
21986 arg2
= (int)(SWIG_As_int(obj1
));
21987 if (SWIG_arg_fail(2)) SWIG_fail
;
21990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21991 (arg1
)->SetImage(arg2
);
21993 wxPyEndAllowThreads(__tstate
);
21994 if (PyErr_Occurred()) SWIG_fail
;
21996 Py_INCREF(Py_None
); resultobj
= Py_None
;
22003 static PyObject
*_wrap_ListItem_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22004 PyObject
*resultobj
;
22005 wxListItem
*arg1
= (wxListItem
*) 0 ;
22007 PyObject
* obj0
= 0 ;
22008 PyObject
* obj1
= 0 ;
22009 char *kwnames
[] = {
22010 (char *) "self",(char *) "data", NULL
22013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
22014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22015 if (SWIG_arg_fail(1)) SWIG_fail
;
22017 arg2
= (long)(SWIG_As_long(obj1
));
22018 if (SWIG_arg_fail(2)) SWIG_fail
;
22021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22022 (arg1
)->SetData(arg2
);
22024 wxPyEndAllowThreads(__tstate
);
22025 if (PyErr_Occurred()) SWIG_fail
;
22027 Py_INCREF(Py_None
); resultobj
= Py_None
;
22034 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22035 PyObject
*resultobj
;
22036 wxListItem
*arg1
= (wxListItem
*) 0 ;
22038 PyObject
* obj0
= 0 ;
22039 PyObject
* obj1
= 0 ;
22040 char *kwnames
[] = {
22041 (char *) "self",(char *) "width", NULL
22044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
22045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22046 if (SWIG_arg_fail(1)) SWIG_fail
;
22048 arg2
= (int)(SWIG_As_int(obj1
));
22049 if (SWIG_arg_fail(2)) SWIG_fail
;
22052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22053 (arg1
)->SetWidth(arg2
);
22055 wxPyEndAllowThreads(__tstate
);
22056 if (PyErr_Occurred()) SWIG_fail
;
22058 Py_INCREF(Py_None
); resultobj
= Py_None
;
22065 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22066 PyObject
*resultobj
;
22067 wxListItem
*arg1
= (wxListItem
*) 0 ;
22068 wxListColumnFormat arg2
;
22069 PyObject
* obj0
= 0 ;
22070 PyObject
* obj1
= 0 ;
22071 char *kwnames
[] = {
22072 (char *) "self",(char *) "align", NULL
22075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
22076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22077 if (SWIG_arg_fail(1)) SWIG_fail
;
22079 arg2
= (wxListColumnFormat
)(SWIG_As_int(obj1
));
22080 if (SWIG_arg_fail(2)) SWIG_fail
;
22083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22084 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
22086 wxPyEndAllowThreads(__tstate
);
22087 if (PyErr_Occurred()) SWIG_fail
;
22089 Py_INCREF(Py_None
); resultobj
= Py_None
;
22096 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22097 PyObject
*resultobj
;
22098 wxListItem
*arg1
= (wxListItem
*) 0 ;
22099 wxColour
*arg2
= 0 ;
22101 PyObject
* obj0
= 0 ;
22102 PyObject
* obj1
= 0 ;
22103 char *kwnames
[] = {
22104 (char *) "self",(char *) "colText", NULL
22107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22109 if (SWIG_arg_fail(1)) SWIG_fail
;
22112 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22116 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
22118 wxPyEndAllowThreads(__tstate
);
22119 if (PyErr_Occurred()) SWIG_fail
;
22121 Py_INCREF(Py_None
); resultobj
= Py_None
;
22128 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22129 PyObject
*resultobj
;
22130 wxListItem
*arg1
= (wxListItem
*) 0 ;
22131 wxColour
*arg2
= 0 ;
22133 PyObject
* obj0
= 0 ;
22134 PyObject
* obj1
= 0 ;
22135 char *kwnames
[] = {
22136 (char *) "self",(char *) "colBack", NULL
22139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22141 if (SWIG_arg_fail(1)) SWIG_fail
;
22144 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22148 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
22150 wxPyEndAllowThreads(__tstate
);
22151 if (PyErr_Occurred()) SWIG_fail
;
22153 Py_INCREF(Py_None
); resultobj
= Py_None
;
22160 static PyObject
*_wrap_ListItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22161 PyObject
*resultobj
;
22162 wxListItem
*arg1
= (wxListItem
*) 0 ;
22164 PyObject
* obj0
= 0 ;
22165 PyObject
* obj1
= 0 ;
22166 char *kwnames
[] = {
22167 (char *) "self",(char *) "font", NULL
22170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
22171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22172 if (SWIG_arg_fail(1)) SWIG_fail
;
22174 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
22175 if (SWIG_arg_fail(2)) SWIG_fail
;
22176 if (arg2
== NULL
) {
22177 SWIG_null_ref("wxFont");
22179 if (SWIG_arg_fail(2)) SWIG_fail
;
22182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22183 (arg1
)->SetFont((wxFont
const &)*arg2
);
22185 wxPyEndAllowThreads(__tstate
);
22186 if (PyErr_Occurred()) SWIG_fail
;
22188 Py_INCREF(Py_None
); resultobj
= Py_None
;
22195 static PyObject
*_wrap_ListItem_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22196 PyObject
*resultobj
;
22197 wxListItem
*arg1
= (wxListItem
*) 0 ;
22199 PyObject
* obj0
= 0 ;
22200 char *kwnames
[] = {
22201 (char *) "self", NULL
22204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
22205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22206 if (SWIG_arg_fail(1)) SWIG_fail
;
22208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22209 result
= (long)(arg1
)->GetMask();
22211 wxPyEndAllowThreads(__tstate
);
22212 if (PyErr_Occurred()) SWIG_fail
;
22215 resultobj
= SWIG_From_long((long)(result
));
22223 static PyObject
*_wrap_ListItem_GetId(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_GetId",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
= (long)(arg1
)->GetId();
22239 wxPyEndAllowThreads(__tstate
);
22240 if (PyErr_Occurred()) SWIG_fail
;
22243 resultobj
= SWIG_From_long((long)(result
));
22251 static PyObject
*_wrap_ListItem_GetColumn(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_GetColumn",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
= (int)(arg1
)->GetColumn();
22267 wxPyEndAllowThreads(__tstate
);
22268 if (PyErr_Occurred()) SWIG_fail
;
22271 resultobj
= SWIG_From_int((int)(result
));
22279 static PyObject
*_wrap_ListItem_GetState(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_GetState",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
= (long)(arg1
)->GetState();
22295 wxPyEndAllowThreads(__tstate
);
22296 if (PyErr_Occurred()) SWIG_fail
;
22299 resultobj
= SWIG_From_long((long)(result
));
22307 static PyObject
*_wrap_ListItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22308 PyObject
*resultobj
;
22309 wxListItem
*arg1
= (wxListItem
*) 0 ;
22311 PyObject
* obj0
= 0 ;
22312 char *kwnames
[] = {
22313 (char *) "self", NULL
22316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",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();
22322 wxString
const &_result_ref
= (arg1
)->GetText();
22323 result
= (wxString
*) &_result_ref
;
22326 wxPyEndAllowThreads(__tstate
);
22327 if (PyErr_Occurred()) SWIG_fail
;
22331 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22333 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22342 static PyObject
*_wrap_ListItem_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22343 PyObject
*resultobj
;
22344 wxListItem
*arg1
= (wxListItem
*) 0 ;
22346 PyObject
* obj0
= 0 ;
22347 char *kwnames
[] = {
22348 (char *) "self", NULL
22351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
22352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22353 if (SWIG_arg_fail(1)) SWIG_fail
;
22355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22356 result
= (int)(arg1
)->GetImage();
22358 wxPyEndAllowThreads(__tstate
);
22359 if (PyErr_Occurred()) SWIG_fail
;
22362 resultobj
= SWIG_From_int((int)(result
));
22370 static PyObject
*_wrap_ListItem_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22371 PyObject
*resultobj
;
22372 wxListItem
*arg1
= (wxListItem
*) 0 ;
22374 PyObject
* obj0
= 0 ;
22375 char *kwnames
[] = {
22376 (char *) "self", NULL
22379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
22380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22381 if (SWIG_arg_fail(1)) SWIG_fail
;
22383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22384 result
= (long)(arg1
)->GetData();
22386 wxPyEndAllowThreads(__tstate
);
22387 if (PyErr_Occurred()) SWIG_fail
;
22390 resultobj
= SWIG_From_long((long)(result
));
22398 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22399 PyObject
*resultobj
;
22400 wxListItem
*arg1
= (wxListItem
*) 0 ;
22402 PyObject
* obj0
= 0 ;
22403 char *kwnames
[] = {
22404 (char *) "self", NULL
22407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
22408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22409 if (SWIG_arg_fail(1)) SWIG_fail
;
22411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22412 result
= (int)(arg1
)->GetWidth();
22414 wxPyEndAllowThreads(__tstate
);
22415 if (PyErr_Occurred()) SWIG_fail
;
22418 resultobj
= SWIG_From_int((int)(result
));
22426 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22427 PyObject
*resultobj
;
22428 wxListItem
*arg1
= (wxListItem
*) 0 ;
22429 wxListColumnFormat result
;
22430 PyObject
* obj0
= 0 ;
22431 char *kwnames
[] = {
22432 (char *) "self", NULL
22435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
22436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22437 if (SWIG_arg_fail(1)) SWIG_fail
;
22439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22440 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
22442 wxPyEndAllowThreads(__tstate
);
22443 if (PyErr_Occurred()) SWIG_fail
;
22445 resultobj
= SWIG_From_int((result
));
22452 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22453 PyObject
*resultobj
;
22454 wxListItem
*arg1
= (wxListItem
*) 0 ;
22455 wxListItemAttr
*result
;
22456 PyObject
* obj0
= 0 ;
22457 char *kwnames
[] = {
22458 (char *) "self", NULL
22461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
22462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22463 if (SWIG_arg_fail(1)) SWIG_fail
;
22465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22466 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
22468 wxPyEndAllowThreads(__tstate
);
22469 if (PyErr_Occurred()) SWIG_fail
;
22471 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
22478 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22479 PyObject
*resultobj
;
22480 wxListItem
*arg1
= (wxListItem
*) 0 ;
22482 PyObject
* obj0
= 0 ;
22483 char *kwnames
[] = {
22484 (char *) "self", NULL
22487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22492 result
= (bool)(arg1
)->HasAttributes();
22494 wxPyEndAllowThreads(__tstate
);
22495 if (PyErr_Occurred()) SWIG_fail
;
22498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22506 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22507 PyObject
*resultobj
;
22508 wxListItem
*arg1
= (wxListItem
*) 0 ;
22510 PyObject
* obj0
= 0 ;
22511 char *kwnames
[] = {
22512 (char *) "self", NULL
22515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
22516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22517 if (SWIG_arg_fail(1)) SWIG_fail
;
22519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22520 result
= ((wxListItem
const *)arg1
)->GetTextColour();
22522 wxPyEndAllowThreads(__tstate
);
22523 if (PyErr_Occurred()) SWIG_fail
;
22526 wxColour
* resultptr
;
22527 resultptr
= new wxColour((wxColour
&)(result
));
22528 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22536 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22537 PyObject
*resultobj
;
22538 wxListItem
*arg1
= (wxListItem
*) 0 ;
22540 PyObject
* obj0
= 0 ;
22541 char *kwnames
[] = {
22542 (char *) "self", NULL
22545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
22546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22547 if (SWIG_arg_fail(1)) SWIG_fail
;
22549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22550 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
22552 wxPyEndAllowThreads(__tstate
);
22553 if (PyErr_Occurred()) SWIG_fail
;
22556 wxColour
* resultptr
;
22557 resultptr
= new wxColour((wxColour
&)(result
));
22558 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22566 static PyObject
*_wrap_ListItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22567 PyObject
*resultobj
;
22568 wxListItem
*arg1
= (wxListItem
*) 0 ;
22570 PyObject
* obj0
= 0 ;
22571 char *kwnames
[] = {
22572 (char *) "self", NULL
22575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
22576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22577 if (SWIG_arg_fail(1)) SWIG_fail
;
22579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22580 result
= ((wxListItem
const *)arg1
)->GetFont();
22582 wxPyEndAllowThreads(__tstate
);
22583 if (PyErr_Occurred()) SWIG_fail
;
22586 wxFont
* resultptr
;
22587 resultptr
= new wxFont((wxFont
&)(result
));
22588 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22596 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22597 PyObject
*resultobj
;
22598 wxListItem
*arg1
= (wxListItem
*) 0 ;
22600 PyObject
* obj0
= 0 ;
22601 PyObject
* obj1
= 0 ;
22602 char *kwnames
[] = {
22603 (char *) "self",(char *) "m_mask", NULL
22606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22608 if (SWIG_arg_fail(1)) SWIG_fail
;
22610 arg2
= (long)(SWIG_As_long(obj1
));
22611 if (SWIG_arg_fail(2)) SWIG_fail
;
22613 if (arg1
) (arg1
)->m_mask
= arg2
;
22615 Py_INCREF(Py_None
); resultobj
= Py_None
;
22622 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22623 PyObject
*resultobj
;
22624 wxListItem
*arg1
= (wxListItem
*) 0 ;
22626 PyObject
* obj0
= 0 ;
22627 char *kwnames
[] = {
22628 (char *) "self", NULL
22631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
22632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22633 if (SWIG_arg_fail(1)) SWIG_fail
;
22634 result
= (long) ((arg1
)->m_mask
);
22637 resultobj
= SWIG_From_long((long)(result
));
22645 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22646 PyObject
*resultobj
;
22647 wxListItem
*arg1
= (wxListItem
*) 0 ;
22649 PyObject
* obj0
= 0 ;
22650 PyObject
* obj1
= 0 ;
22651 char *kwnames
[] = {
22652 (char *) "self",(char *) "m_itemId", NULL
22655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22657 if (SWIG_arg_fail(1)) SWIG_fail
;
22659 arg2
= (long)(SWIG_As_long(obj1
));
22660 if (SWIG_arg_fail(2)) SWIG_fail
;
22662 if (arg1
) (arg1
)->m_itemId
= arg2
;
22664 Py_INCREF(Py_None
); resultobj
= Py_None
;
22671 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22672 PyObject
*resultobj
;
22673 wxListItem
*arg1
= (wxListItem
*) 0 ;
22675 PyObject
* obj0
= 0 ;
22676 char *kwnames
[] = {
22677 (char *) "self", NULL
22680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
22681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22682 if (SWIG_arg_fail(1)) SWIG_fail
;
22683 result
= (long) ((arg1
)->m_itemId
);
22686 resultobj
= SWIG_From_long((long)(result
));
22694 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22695 PyObject
*resultobj
;
22696 wxListItem
*arg1
= (wxListItem
*) 0 ;
22698 PyObject
* obj0
= 0 ;
22699 PyObject
* obj1
= 0 ;
22700 char *kwnames
[] = {
22701 (char *) "self",(char *) "m_col", NULL
22704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22706 if (SWIG_arg_fail(1)) SWIG_fail
;
22708 arg2
= (int)(SWIG_As_int(obj1
));
22709 if (SWIG_arg_fail(2)) SWIG_fail
;
22711 if (arg1
) (arg1
)->m_col
= arg2
;
22713 Py_INCREF(Py_None
); resultobj
= Py_None
;
22720 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22721 PyObject
*resultobj
;
22722 wxListItem
*arg1
= (wxListItem
*) 0 ;
22724 PyObject
* obj0
= 0 ;
22725 char *kwnames
[] = {
22726 (char *) "self", NULL
22729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
22730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22731 if (SWIG_arg_fail(1)) SWIG_fail
;
22732 result
= (int) ((arg1
)->m_col
);
22735 resultobj
= SWIG_From_int((int)(result
));
22743 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22744 PyObject
*resultobj
;
22745 wxListItem
*arg1
= (wxListItem
*) 0 ;
22747 PyObject
* obj0
= 0 ;
22748 PyObject
* obj1
= 0 ;
22749 char *kwnames
[] = {
22750 (char *) "self",(char *) "m_state", NULL
22753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22755 if (SWIG_arg_fail(1)) SWIG_fail
;
22757 arg2
= (long)(SWIG_As_long(obj1
));
22758 if (SWIG_arg_fail(2)) SWIG_fail
;
22760 if (arg1
) (arg1
)->m_state
= arg2
;
22762 Py_INCREF(Py_None
); resultobj
= Py_None
;
22769 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22770 PyObject
*resultobj
;
22771 wxListItem
*arg1
= (wxListItem
*) 0 ;
22773 PyObject
* obj0
= 0 ;
22774 char *kwnames
[] = {
22775 (char *) "self", NULL
22778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
22779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22780 if (SWIG_arg_fail(1)) SWIG_fail
;
22781 result
= (long) ((arg1
)->m_state
);
22784 resultobj
= SWIG_From_long((long)(result
));
22792 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22793 PyObject
*resultobj
;
22794 wxListItem
*arg1
= (wxListItem
*) 0 ;
22796 PyObject
* obj0
= 0 ;
22797 PyObject
* obj1
= 0 ;
22798 char *kwnames
[] = {
22799 (char *) "self",(char *) "m_stateMask", NULL
22802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22804 if (SWIG_arg_fail(1)) SWIG_fail
;
22806 arg2
= (long)(SWIG_As_long(obj1
));
22807 if (SWIG_arg_fail(2)) SWIG_fail
;
22809 if (arg1
) (arg1
)->m_stateMask
= arg2
;
22811 Py_INCREF(Py_None
); resultobj
= Py_None
;
22818 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22819 PyObject
*resultobj
;
22820 wxListItem
*arg1
= (wxListItem
*) 0 ;
22822 PyObject
* obj0
= 0 ;
22823 char *kwnames
[] = {
22824 (char *) "self", NULL
22827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
22828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22829 if (SWIG_arg_fail(1)) SWIG_fail
;
22830 result
= (long) ((arg1
)->m_stateMask
);
22833 resultobj
= SWIG_From_long((long)(result
));
22841 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22842 PyObject
*resultobj
;
22843 wxListItem
*arg1
= (wxListItem
*) 0 ;
22844 wxString
*arg2
= (wxString
*) 0 ;
22845 bool temp2
= false ;
22846 PyObject
* obj0
= 0 ;
22847 PyObject
* obj1
= 0 ;
22848 char *kwnames
[] = {
22849 (char *) "self",(char *) "m_text", NULL
22852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22854 if (SWIG_arg_fail(1)) SWIG_fail
;
22856 arg2
= wxString_in_helper(obj1
);
22857 if (arg2
== NULL
) SWIG_fail
;
22860 if (arg1
) (arg1
)->m_text
= *arg2
;
22862 Py_INCREF(Py_None
); resultobj
= Py_None
;
22877 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22878 PyObject
*resultobj
;
22879 wxListItem
*arg1
= (wxListItem
*) 0 ;
22881 PyObject
* obj0
= 0 ;
22882 char *kwnames
[] = {
22883 (char *) "self", NULL
22886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
22887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22888 if (SWIG_arg_fail(1)) SWIG_fail
;
22889 result
= (wxString
*)& ((arg1
)->m_text
);
22893 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22895 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22904 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22905 PyObject
*resultobj
;
22906 wxListItem
*arg1
= (wxListItem
*) 0 ;
22908 PyObject
* obj0
= 0 ;
22909 PyObject
* obj1
= 0 ;
22910 char *kwnames
[] = {
22911 (char *) "self",(char *) "m_image", NULL
22914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22916 if (SWIG_arg_fail(1)) SWIG_fail
;
22918 arg2
= (int)(SWIG_As_int(obj1
));
22919 if (SWIG_arg_fail(2)) SWIG_fail
;
22921 if (arg1
) (arg1
)->m_image
= arg2
;
22923 Py_INCREF(Py_None
); resultobj
= Py_None
;
22930 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22931 PyObject
*resultobj
;
22932 wxListItem
*arg1
= (wxListItem
*) 0 ;
22934 PyObject
* obj0
= 0 ;
22935 char *kwnames
[] = {
22936 (char *) "self", NULL
22939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
22940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22941 if (SWIG_arg_fail(1)) SWIG_fail
;
22942 result
= (int) ((arg1
)->m_image
);
22945 resultobj
= SWIG_From_int((int)(result
));
22953 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22954 PyObject
*resultobj
;
22955 wxListItem
*arg1
= (wxListItem
*) 0 ;
22957 PyObject
* obj0
= 0 ;
22958 PyObject
* obj1
= 0 ;
22959 char *kwnames
[] = {
22960 (char *) "self",(char *) "m_data", NULL
22963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22965 if (SWIG_arg_fail(1)) SWIG_fail
;
22967 arg2
= (long)(SWIG_As_long(obj1
));
22968 if (SWIG_arg_fail(2)) SWIG_fail
;
22970 if (arg1
) (arg1
)->m_data
= arg2
;
22972 Py_INCREF(Py_None
); resultobj
= Py_None
;
22979 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22980 PyObject
*resultobj
;
22981 wxListItem
*arg1
= (wxListItem
*) 0 ;
22983 PyObject
* obj0
= 0 ;
22984 char *kwnames
[] = {
22985 (char *) "self", NULL
22988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
22989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22990 if (SWIG_arg_fail(1)) SWIG_fail
;
22991 result
= (long) ((arg1
)->m_data
);
22994 resultobj
= SWIG_From_long((long)(result
));
23002 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23003 PyObject
*resultobj
;
23004 wxListItem
*arg1
= (wxListItem
*) 0 ;
23006 PyObject
* obj0
= 0 ;
23007 PyObject
* obj1
= 0 ;
23008 char *kwnames
[] = {
23009 (char *) "self",(char *) "m_format", NULL
23012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23014 if (SWIG_arg_fail(1)) SWIG_fail
;
23016 arg2
= (int)(SWIG_As_int(obj1
));
23017 if (SWIG_arg_fail(2)) SWIG_fail
;
23019 if (arg1
) (arg1
)->m_format
= arg2
;
23021 Py_INCREF(Py_None
); resultobj
= Py_None
;
23028 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23029 PyObject
*resultobj
;
23030 wxListItem
*arg1
= (wxListItem
*) 0 ;
23032 PyObject
* obj0
= 0 ;
23033 char *kwnames
[] = {
23034 (char *) "self", NULL
23037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
23038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23039 if (SWIG_arg_fail(1)) SWIG_fail
;
23040 result
= (int) ((arg1
)->m_format
);
23043 resultobj
= SWIG_From_int((int)(result
));
23051 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23052 PyObject
*resultobj
;
23053 wxListItem
*arg1
= (wxListItem
*) 0 ;
23055 PyObject
* obj0
= 0 ;
23056 PyObject
* obj1
= 0 ;
23057 char *kwnames
[] = {
23058 (char *) "self",(char *) "m_width", NULL
23061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23063 if (SWIG_arg_fail(1)) SWIG_fail
;
23065 arg2
= (int)(SWIG_As_int(obj1
));
23066 if (SWIG_arg_fail(2)) SWIG_fail
;
23068 if (arg1
) (arg1
)->m_width
= arg2
;
23070 Py_INCREF(Py_None
); resultobj
= Py_None
;
23077 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23078 PyObject
*resultobj
;
23079 wxListItem
*arg1
= (wxListItem
*) 0 ;
23081 PyObject
* obj0
= 0 ;
23082 char *kwnames
[] = {
23083 (char *) "self", NULL
23086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
23087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23088 if (SWIG_arg_fail(1)) SWIG_fail
;
23089 result
= (int) ((arg1
)->m_width
);
23092 resultobj
= SWIG_From_int((int)(result
));
23100 static PyObject
* ListItem_swigregister(PyObject
*, PyObject
*args
) {
23102 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23103 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
23105 return Py_BuildValue((char *)"");
23107 static PyObject
*_wrap_new_ListEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23108 PyObject
*resultobj
;
23109 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23110 int arg2
= (int) 0 ;
23111 wxListEvent
*result
;
23112 PyObject
* obj0
= 0 ;
23113 PyObject
* obj1
= 0 ;
23114 char *kwnames
[] = {
23115 (char *) "commandType",(char *) "id", NULL
23118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23121 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
23122 if (SWIG_arg_fail(1)) SWIG_fail
;
23127 arg2
= (int)(SWIG_As_int(obj1
));
23128 if (SWIG_arg_fail(2)) SWIG_fail
;
23132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23133 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
23135 wxPyEndAllowThreads(__tstate
);
23136 if (PyErr_Occurred()) SWIG_fail
;
23138 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
23145 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23146 PyObject
*resultobj
;
23147 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23149 PyObject
* obj0
= 0 ;
23150 PyObject
* obj1
= 0 ;
23151 char *kwnames
[] = {
23152 (char *) "self",(char *) "m_code", NULL
23155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23157 if (SWIG_arg_fail(1)) SWIG_fail
;
23159 arg2
= (int)(SWIG_As_int(obj1
));
23160 if (SWIG_arg_fail(2)) SWIG_fail
;
23162 if (arg1
) (arg1
)->m_code
= arg2
;
23164 Py_INCREF(Py_None
); resultobj
= Py_None
;
23171 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23172 PyObject
*resultobj
;
23173 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23175 PyObject
* obj0
= 0 ;
23176 char *kwnames
[] = {
23177 (char *) "self", NULL
23180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
23181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23182 if (SWIG_arg_fail(1)) SWIG_fail
;
23183 result
= (int) ((arg1
)->m_code
);
23186 resultobj
= SWIG_From_int((int)(result
));
23194 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23195 PyObject
*resultobj
;
23196 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23198 PyObject
* obj0
= 0 ;
23199 PyObject
* obj1
= 0 ;
23200 char *kwnames
[] = {
23201 (char *) "self",(char *) "m_oldItemIndex", NULL
23204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23206 if (SWIG_arg_fail(1)) SWIG_fail
;
23208 arg2
= (long)(SWIG_As_long(obj1
));
23209 if (SWIG_arg_fail(2)) SWIG_fail
;
23211 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
23213 Py_INCREF(Py_None
); resultobj
= Py_None
;
23220 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23221 PyObject
*resultobj
;
23222 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23224 PyObject
* obj0
= 0 ;
23225 char *kwnames
[] = {
23226 (char *) "self", NULL
23229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
23230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23231 if (SWIG_arg_fail(1)) SWIG_fail
;
23232 result
= (long) ((arg1
)->m_oldItemIndex
);
23235 resultobj
= SWIG_From_long((long)(result
));
23243 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23244 PyObject
*resultobj
;
23245 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23247 PyObject
* obj0
= 0 ;
23248 PyObject
* obj1
= 0 ;
23249 char *kwnames
[] = {
23250 (char *) "self",(char *) "m_itemIndex", NULL
23253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23255 if (SWIG_arg_fail(1)) SWIG_fail
;
23257 arg2
= (long)(SWIG_As_long(obj1
));
23258 if (SWIG_arg_fail(2)) SWIG_fail
;
23260 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
23262 Py_INCREF(Py_None
); resultobj
= Py_None
;
23269 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23270 PyObject
*resultobj
;
23271 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23273 PyObject
* obj0
= 0 ;
23274 char *kwnames
[] = {
23275 (char *) "self", NULL
23278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
23279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23280 if (SWIG_arg_fail(1)) SWIG_fail
;
23281 result
= (long) ((arg1
)->m_itemIndex
);
23284 resultobj
= SWIG_From_long((long)(result
));
23292 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23293 PyObject
*resultobj
;
23294 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23296 PyObject
* obj0
= 0 ;
23297 PyObject
* obj1
= 0 ;
23298 char *kwnames
[] = {
23299 (char *) "self",(char *) "m_col", NULL
23302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23304 if (SWIG_arg_fail(1)) SWIG_fail
;
23306 arg2
= (int)(SWIG_As_int(obj1
));
23307 if (SWIG_arg_fail(2)) SWIG_fail
;
23309 if (arg1
) (arg1
)->m_col
= arg2
;
23311 Py_INCREF(Py_None
); resultobj
= Py_None
;
23318 static PyObject
*_wrap_ListEvent_m_col_get(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_m_col_get",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
;
23330 result
= (int) ((arg1
)->m_col
);
23333 resultobj
= SWIG_From_int((int)(result
));
23341 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23342 PyObject
*resultobj
;
23343 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23344 wxPoint
*arg2
= (wxPoint
*) 0 ;
23345 PyObject
* obj0
= 0 ;
23346 PyObject
* obj1
= 0 ;
23347 char *kwnames
[] = {
23348 (char *) "self",(char *) "m_pointDrag", NULL
23351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23353 if (SWIG_arg_fail(1)) SWIG_fail
;
23354 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
23355 if (SWIG_arg_fail(2)) SWIG_fail
;
23356 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
23358 Py_INCREF(Py_None
); resultobj
= Py_None
;
23365 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23366 PyObject
*resultobj
;
23367 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23369 PyObject
* obj0
= 0 ;
23370 char *kwnames
[] = {
23371 (char *) "self", NULL
23374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
23375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23376 if (SWIG_arg_fail(1)) SWIG_fail
;
23377 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
23379 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
23386 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23387 PyObject
*resultobj
;
23388 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23389 wxListItem
*result
;
23390 PyObject
* obj0
= 0 ;
23391 char *kwnames
[] = {
23392 (char *) "self", NULL
23395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
23396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23397 if (SWIG_arg_fail(1)) SWIG_fail
;
23398 result
= (wxListItem
*)& ((arg1
)->m_item
);
23401 resultobj
= wxPyMake_wxObject(result
, 0);
23409 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23410 PyObject
*resultobj
;
23411 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23413 PyObject
* obj0
= 0 ;
23414 char *kwnames
[] = {
23415 (char *) "self", NULL
23418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
23419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23420 if (SWIG_arg_fail(1)) SWIG_fail
;
23422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23423 result
= (int)(arg1
)->GetKeyCode();
23425 wxPyEndAllowThreads(__tstate
);
23426 if (PyErr_Occurred()) SWIG_fail
;
23429 resultobj
= SWIG_From_int((int)(result
));
23437 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23438 PyObject
*resultobj
;
23439 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23441 PyObject
* obj0
= 0 ;
23442 char *kwnames
[] = {
23443 (char *) "self", NULL
23446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
23447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23448 if (SWIG_arg_fail(1)) SWIG_fail
;
23450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23451 result
= (long)(arg1
)->GetIndex();
23453 wxPyEndAllowThreads(__tstate
);
23454 if (PyErr_Occurred()) SWIG_fail
;
23457 resultobj
= SWIG_From_long((long)(result
));
23465 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23466 PyObject
*resultobj
;
23467 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23469 PyObject
* obj0
= 0 ;
23470 char *kwnames
[] = {
23471 (char *) "self", NULL
23474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
23475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23476 if (SWIG_arg_fail(1)) SWIG_fail
;
23478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23479 result
= (int)(arg1
)->GetColumn();
23481 wxPyEndAllowThreads(__tstate
);
23482 if (PyErr_Occurred()) SWIG_fail
;
23485 resultobj
= SWIG_From_int((int)(result
));
23493 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23494 PyObject
*resultobj
;
23495 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23497 PyObject
* obj0
= 0 ;
23498 char *kwnames
[] = {
23499 (char *) "self", NULL
23502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
23503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23504 if (SWIG_arg_fail(1)) SWIG_fail
;
23506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23507 result
= (arg1
)->GetPoint();
23509 wxPyEndAllowThreads(__tstate
);
23510 if (PyErr_Occurred()) SWIG_fail
;
23513 wxPoint
* resultptr
;
23514 resultptr
= new wxPoint((wxPoint
&)(result
));
23515 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23523 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23524 PyObject
*resultobj
;
23525 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23527 PyObject
* obj0
= 0 ;
23528 char *kwnames
[] = {
23529 (char *) "self", NULL
23532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
23533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23534 if (SWIG_arg_fail(1)) SWIG_fail
;
23536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23538 wxString
const &_result_ref
= (arg1
)->GetLabel();
23539 result
= (wxString
*) &_result_ref
;
23542 wxPyEndAllowThreads(__tstate
);
23543 if (PyErr_Occurred()) SWIG_fail
;
23547 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23549 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23558 static PyObject
*_wrap_ListEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23559 PyObject
*resultobj
;
23560 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23562 PyObject
* obj0
= 0 ;
23563 char *kwnames
[] = {
23564 (char *) "self", NULL
23567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",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 wxString
const &_result_ref
= (arg1
)->GetText();
23574 result
= (wxString
*) &_result_ref
;
23577 wxPyEndAllowThreads(__tstate
);
23578 if (PyErr_Occurred()) SWIG_fail
;
23582 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23584 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23593 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23594 PyObject
*resultobj
;
23595 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23597 PyObject
* obj0
= 0 ;
23598 char *kwnames
[] = {
23599 (char *) "self", NULL
23602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
23603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23604 if (SWIG_arg_fail(1)) SWIG_fail
;
23606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23607 result
= (int)(arg1
)->GetImage();
23609 wxPyEndAllowThreads(__tstate
);
23610 if (PyErr_Occurred()) SWIG_fail
;
23613 resultobj
= SWIG_From_int((int)(result
));
23621 static PyObject
*_wrap_ListEvent_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23622 PyObject
*resultobj
;
23623 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23625 PyObject
* obj0
= 0 ;
23626 char *kwnames
[] = {
23627 (char *) "self", NULL
23630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
23631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23632 if (SWIG_arg_fail(1)) SWIG_fail
;
23634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23635 result
= (long)(arg1
)->GetData();
23637 wxPyEndAllowThreads(__tstate
);
23638 if (PyErr_Occurred()) SWIG_fail
;
23641 resultobj
= SWIG_From_long((long)(result
));
23649 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23650 PyObject
*resultobj
;
23651 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23653 PyObject
* obj0
= 0 ;
23654 char *kwnames
[] = {
23655 (char *) "self", NULL
23658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
23659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23660 if (SWIG_arg_fail(1)) SWIG_fail
;
23662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23663 result
= (long)(arg1
)->GetMask();
23665 wxPyEndAllowThreads(__tstate
);
23666 if (PyErr_Occurred()) SWIG_fail
;
23669 resultobj
= SWIG_From_long((long)(result
));
23677 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23678 PyObject
*resultobj
;
23679 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23680 wxListItem
*result
;
23681 PyObject
* obj0
= 0 ;
23682 char *kwnames
[] = {
23683 (char *) "self", NULL
23686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
23687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23688 if (SWIG_arg_fail(1)) SWIG_fail
;
23690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23692 wxListItem
const &_result_ref
= (arg1
)->GetItem();
23693 result
= (wxListItem
*) &_result_ref
;
23696 wxPyEndAllowThreads(__tstate
);
23697 if (PyErr_Occurred()) SWIG_fail
;
23699 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
23706 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23707 PyObject
*resultobj
;
23708 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23710 PyObject
* obj0
= 0 ;
23711 char *kwnames
[] = {
23712 (char *) "self", NULL
23715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
23716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23717 if (SWIG_arg_fail(1)) SWIG_fail
;
23719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23720 result
= (long)(arg1
)->GetCacheFrom();
23722 wxPyEndAllowThreads(__tstate
);
23723 if (PyErr_Occurred()) SWIG_fail
;
23726 resultobj
= SWIG_From_long((long)(result
));
23734 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23735 PyObject
*resultobj
;
23736 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23738 PyObject
* obj0
= 0 ;
23739 char *kwnames
[] = {
23740 (char *) "self", NULL
23743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
23744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23745 if (SWIG_arg_fail(1)) SWIG_fail
;
23747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23748 result
= (long)(arg1
)->GetCacheTo();
23750 wxPyEndAllowThreads(__tstate
);
23751 if (PyErr_Occurred()) SWIG_fail
;
23754 resultobj
= SWIG_From_long((long)(result
));
23762 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23763 PyObject
*resultobj
;
23764 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23766 PyObject
* obj0
= 0 ;
23767 char *kwnames
[] = {
23768 (char *) "self", NULL
23771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
23772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23773 if (SWIG_arg_fail(1)) SWIG_fail
;
23775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23776 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
23778 wxPyEndAllowThreads(__tstate
);
23779 if (PyErr_Occurred()) SWIG_fail
;
23782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23790 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23791 PyObject
*resultobj
;
23792 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23794 PyObject
* obj0
= 0 ;
23795 PyObject
* obj1
= 0 ;
23796 char *kwnames
[] = {
23797 (char *) "self",(char *) "editCancelled", NULL
23800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
23801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23802 if (SWIG_arg_fail(1)) SWIG_fail
;
23804 arg2
= (bool)(SWIG_As_bool(obj1
));
23805 if (SWIG_arg_fail(2)) SWIG_fail
;
23808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23809 (arg1
)->SetEditCanceled(arg2
);
23811 wxPyEndAllowThreads(__tstate
);
23812 if (PyErr_Occurred()) SWIG_fail
;
23814 Py_INCREF(Py_None
); resultobj
= Py_None
;
23821 static PyObject
* ListEvent_swigregister(PyObject
*, PyObject
*args
) {
23823 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23824 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
23826 return Py_BuildValue((char *)"");
23828 static PyObject
*_wrap_new_ListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23829 PyObject
*resultobj
;
23830 wxWindow
*arg1
= (wxWindow
*) 0 ;
23831 int arg2
= (int) -1 ;
23832 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23833 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23834 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23835 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23836 long arg5
= (long) wxLC_ICON
;
23837 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23838 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23839 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
23840 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23841 wxPyListCtrl
*result
;
23844 bool temp7
= 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 char *kwnames
[] = {
23853 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23858 if (SWIG_arg_fail(1)) SWIG_fail
;
23861 arg2
= (int)(SWIG_As_int(obj1
));
23862 if (SWIG_arg_fail(2)) SWIG_fail
;
23868 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23874 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23879 arg5
= (long)(SWIG_As_long(obj4
));
23880 if (SWIG_arg_fail(5)) SWIG_fail
;
23885 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
23886 if (SWIG_arg_fail(6)) SWIG_fail
;
23887 if (arg6
== NULL
) {
23888 SWIG_null_ref("wxValidator");
23890 if (SWIG_arg_fail(6)) SWIG_fail
;
23895 arg7
= wxString_in_helper(obj6
);
23896 if (arg7
== NULL
) SWIG_fail
;
23901 if (!wxPyCheckForApp()) SWIG_fail
;
23902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23903 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23905 wxPyEndAllowThreads(__tstate
);
23906 if (PyErr_Occurred()) SWIG_fail
;
23908 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
23923 static PyObject
*_wrap_new_PreListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23924 PyObject
*resultobj
;
23925 wxPyListCtrl
*result
;
23926 char *kwnames
[] = {
23930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
23932 if (!wxPyCheckForApp()) SWIG_fail
;
23933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23934 result
= (wxPyListCtrl
*)new wxPyListCtrl();
23936 wxPyEndAllowThreads(__tstate
);
23937 if (PyErr_Occurred()) SWIG_fail
;
23939 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
23946 static PyObject
*_wrap_ListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23947 PyObject
*resultobj
;
23948 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23949 wxWindow
*arg2
= (wxWindow
*) 0 ;
23950 int arg3
= (int) -1 ;
23951 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23952 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23953 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23954 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23955 long arg6
= (long) wxLC_ICON
;
23956 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23957 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23958 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
23959 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23963 bool temp8
= false ;
23964 PyObject
* obj0
= 0 ;
23965 PyObject
* obj1
= 0 ;
23966 PyObject
* obj2
= 0 ;
23967 PyObject
* obj3
= 0 ;
23968 PyObject
* obj4
= 0 ;
23969 PyObject
* obj5
= 0 ;
23970 PyObject
* obj6
= 0 ;
23971 PyObject
* obj7
= 0 ;
23972 char *kwnames
[] = {
23973 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
23978 if (SWIG_arg_fail(1)) SWIG_fail
;
23979 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23980 if (SWIG_arg_fail(2)) SWIG_fail
;
23983 arg3
= (int)(SWIG_As_int(obj2
));
23984 if (SWIG_arg_fail(3)) SWIG_fail
;
23990 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23996 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24001 arg6
= (long)(SWIG_As_long(obj5
));
24002 if (SWIG_arg_fail(6)) SWIG_fail
;
24007 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
24008 if (SWIG_arg_fail(7)) SWIG_fail
;
24009 if (arg7
== NULL
) {
24010 SWIG_null_ref("wxValidator");
24012 if (SWIG_arg_fail(7)) SWIG_fail
;
24017 arg8
= wxString_in_helper(obj7
);
24018 if (arg8
== NULL
) SWIG_fail
;
24023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24024 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
24026 wxPyEndAllowThreads(__tstate
);
24027 if (PyErr_Occurred()) SWIG_fail
;
24030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24046 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24047 PyObject
*resultobj
;
24048 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24049 PyObject
*arg2
= (PyObject
*) 0 ;
24050 PyObject
*arg3
= (PyObject
*) 0 ;
24051 PyObject
* obj0
= 0 ;
24052 PyObject
* obj1
= 0 ;
24053 PyObject
* obj2
= 0 ;
24054 char *kwnames
[] = {
24055 (char *) "self",(char *) "self",(char *) "_class", NULL
24058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24060 if (SWIG_arg_fail(1)) SWIG_fail
;
24064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24065 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24067 wxPyEndAllowThreads(__tstate
);
24068 if (PyErr_Occurred()) SWIG_fail
;
24070 Py_INCREF(Py_None
); resultobj
= Py_None
;
24077 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24078 PyObject
*resultobj
;
24079 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24080 wxColour
*arg2
= 0 ;
24083 PyObject
* obj0
= 0 ;
24084 PyObject
* obj1
= 0 ;
24085 char *kwnames
[] = {
24086 (char *) "self",(char *) "col", NULL
24089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24091 if (SWIG_arg_fail(1)) SWIG_fail
;
24094 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24098 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
24100 wxPyEndAllowThreads(__tstate
);
24101 if (PyErr_Occurred()) SWIG_fail
;
24104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24112 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24113 PyObject
*resultobj
;
24114 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24115 wxColour
*arg2
= 0 ;
24118 PyObject
* obj0
= 0 ;
24119 PyObject
* obj1
= 0 ;
24120 char *kwnames
[] = {
24121 (char *) "self",(char *) "col", NULL
24124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24126 if (SWIG_arg_fail(1)) SWIG_fail
;
24129 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24133 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
24135 wxPyEndAllowThreads(__tstate
);
24136 if (PyErr_Occurred()) SWIG_fail
;
24139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24147 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24148 PyObject
*resultobj
;
24149 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24151 wxListItem
*result
;
24152 PyObject
* obj0
= 0 ;
24153 PyObject
* obj1
= 0 ;
24154 char *kwnames
[] = {
24155 (char *) "self",(char *) "col", NULL
24158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
24159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24160 if (SWIG_arg_fail(1)) SWIG_fail
;
24162 arg2
= (int)(SWIG_As_int(obj1
));
24163 if (SWIG_arg_fail(2)) SWIG_fail
;
24166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24167 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
24169 wxPyEndAllowThreads(__tstate
);
24170 if (PyErr_Occurred()) SWIG_fail
;
24173 resultobj
= wxPyMake_wxObject(result
, 0);
24181 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24182 PyObject
*resultobj
;
24183 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24185 wxListItem
*arg3
= 0 ;
24187 PyObject
* obj0
= 0 ;
24188 PyObject
* obj1
= 0 ;
24189 PyObject
* obj2
= 0 ;
24190 char *kwnames
[] = {
24191 (char *) "self",(char *) "col",(char *) "item", NULL
24194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24196 if (SWIG_arg_fail(1)) SWIG_fail
;
24198 arg2
= (int)(SWIG_As_int(obj1
));
24199 if (SWIG_arg_fail(2)) SWIG_fail
;
24202 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24203 if (SWIG_arg_fail(3)) SWIG_fail
;
24204 if (arg3
== NULL
) {
24205 SWIG_null_ref("wxListItem");
24207 if (SWIG_arg_fail(3)) SWIG_fail
;
24210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24211 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
24213 wxPyEndAllowThreads(__tstate
);
24214 if (PyErr_Occurred()) SWIG_fail
;
24217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24225 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24226 PyObject
*resultobj
;
24227 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24230 PyObject
* obj0
= 0 ;
24231 PyObject
* obj1
= 0 ;
24232 char *kwnames
[] = {
24233 (char *) "self",(char *) "col", NULL
24236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
24237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24238 if (SWIG_arg_fail(1)) SWIG_fail
;
24240 arg2
= (int)(SWIG_As_int(obj1
));
24241 if (SWIG_arg_fail(2)) SWIG_fail
;
24244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24245 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
24247 wxPyEndAllowThreads(__tstate
);
24248 if (PyErr_Occurred()) SWIG_fail
;
24251 resultobj
= SWIG_From_int((int)(result
));
24259 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24260 PyObject
*resultobj
;
24261 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24265 PyObject
* obj0
= 0 ;
24266 PyObject
* obj1
= 0 ;
24267 PyObject
* obj2
= 0 ;
24268 char *kwnames
[] = {
24269 (char *) "self",(char *) "col",(char *) "width", NULL
24272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24274 if (SWIG_arg_fail(1)) SWIG_fail
;
24276 arg2
= (int)(SWIG_As_int(obj1
));
24277 if (SWIG_arg_fail(2)) SWIG_fail
;
24280 arg3
= (int)(SWIG_As_int(obj2
));
24281 if (SWIG_arg_fail(3)) SWIG_fail
;
24284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24285 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
24287 wxPyEndAllowThreads(__tstate
);
24288 if (PyErr_Occurred()) SWIG_fail
;
24291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24299 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24300 PyObject
*resultobj
;
24301 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24303 PyObject
* obj0
= 0 ;
24304 char *kwnames
[] = {
24305 (char *) "self", NULL
24308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
24309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24310 if (SWIG_arg_fail(1)) SWIG_fail
;
24312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24313 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
24315 wxPyEndAllowThreads(__tstate
);
24316 if (PyErr_Occurred()) SWIG_fail
;
24319 resultobj
= SWIG_From_int((int)(result
));
24327 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24328 PyObject
*resultobj
;
24329 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24331 PyObject
* obj0
= 0 ;
24332 char *kwnames
[] = {
24333 (char *) "self", NULL
24336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24341 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
24343 wxPyEndAllowThreads(__tstate
);
24344 if (PyErr_Occurred()) SWIG_fail
;
24347 wxRect
* resultptr
;
24348 resultptr
= new wxRect((wxRect
&)(result
));
24349 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
24357 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24358 PyObject
*resultobj
;
24359 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24361 int arg3
= (int) 0 ;
24362 wxListItem
*result
;
24363 PyObject
* obj0
= 0 ;
24364 PyObject
* obj1
= 0 ;
24365 PyObject
* obj2
= 0 ;
24366 char *kwnames
[] = {
24367 (char *) "self",(char *) "itemId",(char *) "col", NULL
24370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24372 if (SWIG_arg_fail(1)) SWIG_fail
;
24374 arg2
= (long)(SWIG_As_long(obj1
));
24375 if (SWIG_arg_fail(2)) SWIG_fail
;
24379 arg3
= (int)(SWIG_As_int(obj2
));
24380 if (SWIG_arg_fail(3)) SWIG_fail
;
24384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24385 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
24387 wxPyEndAllowThreads(__tstate
);
24388 if (PyErr_Occurred()) SWIG_fail
;
24391 resultobj
= wxPyMake_wxObject(result
, 0);
24399 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24400 PyObject
*resultobj
;
24401 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24402 wxListItem
*arg2
= 0 ;
24404 PyObject
* obj0
= 0 ;
24405 PyObject
* obj1
= 0 ;
24406 char *kwnames
[] = {
24407 (char *) "self",(char *) "info", NULL
24410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24412 if (SWIG_arg_fail(1)) SWIG_fail
;
24414 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24415 if (SWIG_arg_fail(2)) SWIG_fail
;
24416 if (arg2
== NULL
) {
24417 SWIG_null_ref("wxListItem");
24419 if (SWIG_arg_fail(2)) SWIG_fail
;
24422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24423 result
= (bool)(arg1
)->SetItem(*arg2
);
24425 wxPyEndAllowThreads(__tstate
);
24426 if (PyErr_Occurred()) SWIG_fail
;
24429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24437 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24438 PyObject
*resultobj
;
24439 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24442 wxString
*arg4
= 0 ;
24443 int arg5
= (int) -1 ;
24445 bool temp4
= false ;
24446 PyObject
* obj0
= 0 ;
24447 PyObject
* obj1
= 0 ;
24448 PyObject
* obj2
= 0 ;
24449 PyObject
* obj3
= 0 ;
24450 PyObject
* obj4
= 0 ;
24451 char *kwnames
[] = {
24452 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
24455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24457 if (SWIG_arg_fail(1)) SWIG_fail
;
24459 arg2
= (long)(SWIG_As_long(obj1
));
24460 if (SWIG_arg_fail(2)) SWIG_fail
;
24463 arg3
= (int)(SWIG_As_int(obj2
));
24464 if (SWIG_arg_fail(3)) SWIG_fail
;
24467 arg4
= wxString_in_helper(obj3
);
24468 if (arg4
== NULL
) SWIG_fail
;
24473 arg5
= (int)(SWIG_As_int(obj4
));
24474 if (SWIG_arg_fail(5)) SWIG_fail
;
24478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24479 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
24481 wxPyEndAllowThreads(__tstate
);
24482 if (PyErr_Occurred()) SWIG_fail
;
24485 resultobj
= SWIG_From_long((long)(result
));
24501 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24502 PyObject
*resultobj
;
24503 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24507 PyObject
* obj0
= 0 ;
24508 PyObject
* obj1
= 0 ;
24509 PyObject
* obj2
= 0 ;
24510 char *kwnames
[] = {
24511 (char *) "self",(char *) "item",(char *) "stateMask", NULL
24514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24516 if (SWIG_arg_fail(1)) SWIG_fail
;
24518 arg2
= (long)(SWIG_As_long(obj1
));
24519 if (SWIG_arg_fail(2)) SWIG_fail
;
24522 arg3
= (long)(SWIG_As_long(obj2
));
24523 if (SWIG_arg_fail(3)) SWIG_fail
;
24526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24527 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
24529 wxPyEndAllowThreads(__tstate
);
24530 if (PyErr_Occurred()) SWIG_fail
;
24533 resultobj
= SWIG_From_int((int)(result
));
24541 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24542 PyObject
*resultobj
;
24543 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24548 PyObject
* obj0
= 0 ;
24549 PyObject
* obj1
= 0 ;
24550 PyObject
* obj2
= 0 ;
24551 PyObject
* obj3
= 0 ;
24552 char *kwnames
[] = {
24553 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
24556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24558 if (SWIG_arg_fail(1)) SWIG_fail
;
24560 arg2
= (long)(SWIG_As_long(obj1
));
24561 if (SWIG_arg_fail(2)) SWIG_fail
;
24564 arg3
= (long)(SWIG_As_long(obj2
));
24565 if (SWIG_arg_fail(3)) SWIG_fail
;
24568 arg4
= (long)(SWIG_As_long(obj3
));
24569 if (SWIG_arg_fail(4)) SWIG_fail
;
24572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24573 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
24575 wxPyEndAllowThreads(__tstate
);
24576 if (PyErr_Occurred()) SWIG_fail
;
24579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24587 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24588 PyObject
*resultobj
;
24589 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24592 int arg4
= (int) -1 ;
24594 PyObject
* obj0
= 0 ;
24595 PyObject
* obj1
= 0 ;
24596 PyObject
* obj2
= 0 ;
24597 PyObject
* obj3
= 0 ;
24598 char *kwnames
[] = {
24599 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
24602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24604 if (SWIG_arg_fail(1)) SWIG_fail
;
24606 arg2
= (long)(SWIG_As_long(obj1
));
24607 if (SWIG_arg_fail(2)) SWIG_fail
;
24610 arg3
= (int)(SWIG_As_int(obj2
));
24611 if (SWIG_arg_fail(3)) SWIG_fail
;
24615 arg4
= (int)(SWIG_As_int(obj3
));
24616 if (SWIG_arg_fail(4)) SWIG_fail
;
24620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24621 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
24623 wxPyEndAllowThreads(__tstate
);
24624 if (PyErr_Occurred()) SWIG_fail
;
24627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24635 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24636 PyObject
*resultobj
;
24637 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24640 PyObject
* obj0
= 0 ;
24641 PyObject
* obj1
= 0 ;
24642 char *kwnames
[] = {
24643 (char *) "self",(char *) "item", NULL
24646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
24647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24648 if (SWIG_arg_fail(1)) SWIG_fail
;
24650 arg2
= (long)(SWIG_As_long(obj1
));
24651 if (SWIG_arg_fail(2)) SWIG_fail
;
24654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24655 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
24657 wxPyEndAllowThreads(__tstate
);
24658 if (PyErr_Occurred()) SWIG_fail
;
24662 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24664 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24673 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24674 PyObject
*resultobj
;
24675 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24677 wxString
*arg3
= 0 ;
24678 bool temp3
= false ;
24679 PyObject
* obj0
= 0 ;
24680 PyObject
* obj1
= 0 ;
24681 PyObject
* obj2
= 0 ;
24682 char *kwnames
[] = {
24683 (char *) "self",(char *) "item",(char *) "str", NULL
24686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) 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 arg3
= wxString_in_helper(obj2
);
24695 if (arg3
== NULL
) SWIG_fail
;
24699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24700 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
24702 wxPyEndAllowThreads(__tstate
);
24703 if (PyErr_Occurred()) SWIG_fail
;
24705 Py_INCREF(Py_None
); resultobj
= Py_None
;
24720 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24721 PyObject
*resultobj
;
24722 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24725 PyObject
* obj0
= 0 ;
24726 PyObject
* obj1
= 0 ;
24727 char *kwnames
[] = {
24728 (char *) "self",(char *) "item", NULL
24731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
24732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24733 if (SWIG_arg_fail(1)) SWIG_fail
;
24735 arg2
= (long)(SWIG_As_long(obj1
));
24736 if (SWIG_arg_fail(2)) SWIG_fail
;
24739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24740 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
24742 wxPyEndAllowThreads(__tstate
);
24743 if (PyErr_Occurred()) SWIG_fail
;
24746 resultobj
= SWIG_From_long((long)(result
));
24754 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24755 PyObject
*resultobj
;
24756 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24760 PyObject
* obj0
= 0 ;
24761 PyObject
* obj1
= 0 ;
24762 PyObject
* obj2
= 0 ;
24763 char *kwnames
[] = {
24764 (char *) "self",(char *) "item",(char *) "data", NULL
24767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24769 if (SWIG_arg_fail(1)) SWIG_fail
;
24771 arg2
= (long)(SWIG_As_long(obj1
));
24772 if (SWIG_arg_fail(2)) SWIG_fail
;
24775 arg3
= (long)(SWIG_As_long(obj2
));
24776 if (SWIG_arg_fail(3)) SWIG_fail
;
24779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24780 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
24782 wxPyEndAllowThreads(__tstate
);
24783 if (PyErr_Occurred()) SWIG_fail
;
24786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24794 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24795 PyObject
*resultobj
;
24796 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24799 PyObject
* obj0
= 0 ;
24800 PyObject
* obj1
= 0 ;
24801 char *kwnames
[] = {
24802 (char *) "self",(char *) "item", NULL
24805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) 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 arg2
= (long)(SWIG_As_long(obj1
));
24810 if (SWIG_arg_fail(2)) SWIG_fail
;
24813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24814 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
24816 wxPyEndAllowThreads(__tstate
);
24817 if (PyErr_Occurred()) SWIG_fail
;
24820 wxPoint
* resultptr
;
24821 resultptr
= new wxPoint((wxPoint
&)(result
));
24822 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24830 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24831 PyObject
*resultobj
;
24832 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24834 int arg3
= (int) wxLIST_RECT_BOUNDS
;
24836 PyObject
* obj0
= 0 ;
24837 PyObject
* obj1
= 0 ;
24838 PyObject
* obj2
= 0 ;
24839 char *kwnames
[] = {
24840 (char *) "self",(char *) "item",(char *) "code", NULL
24843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24845 if (SWIG_arg_fail(1)) SWIG_fail
;
24847 arg2
= (long)(SWIG_As_long(obj1
));
24848 if (SWIG_arg_fail(2)) SWIG_fail
;
24852 arg3
= (int)(SWIG_As_int(obj2
));
24853 if (SWIG_arg_fail(3)) SWIG_fail
;
24857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24858 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
24860 wxPyEndAllowThreads(__tstate
);
24861 if (PyErr_Occurred()) SWIG_fail
;
24864 wxRect
* resultptr
;
24865 resultptr
= new wxRect((wxRect
&)(result
));
24866 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
24874 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24875 PyObject
*resultobj
;
24876 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24878 wxPoint
*arg3
= 0 ;
24881 PyObject
* obj0
= 0 ;
24882 PyObject
* obj1
= 0 ;
24883 PyObject
* obj2
= 0 ;
24884 char *kwnames
[] = {
24885 (char *) "self",(char *) "item",(char *) "pos", NULL
24888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24890 if (SWIG_arg_fail(1)) SWIG_fail
;
24892 arg2
= (long)(SWIG_As_long(obj1
));
24893 if (SWIG_arg_fail(2)) SWIG_fail
;
24897 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24901 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
24903 wxPyEndAllowThreads(__tstate
);
24904 if (PyErr_Occurred()) SWIG_fail
;
24907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24915 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24916 PyObject
*resultobj
;
24917 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24919 PyObject
* obj0
= 0 ;
24920 char *kwnames
[] = {
24921 (char *) "self", NULL
24924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
24925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24926 if (SWIG_arg_fail(1)) SWIG_fail
;
24928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24929 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
24931 wxPyEndAllowThreads(__tstate
);
24932 if (PyErr_Occurred()) SWIG_fail
;
24935 resultobj
= SWIG_From_int((int)(result
));
24943 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24944 PyObject
*resultobj
;
24945 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24947 PyObject
* obj0
= 0 ;
24948 char *kwnames
[] = {
24949 (char *) "self", NULL
24952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
24953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24954 if (SWIG_arg_fail(1)) SWIG_fail
;
24956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24957 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
24959 wxPyEndAllowThreads(__tstate
);
24960 if (PyErr_Occurred()) SWIG_fail
;
24963 resultobj
= SWIG_From_int((int)(result
));
24971 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24972 PyObject
*resultobj
;
24973 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24975 PyObject
* obj0
= 0 ;
24976 char *kwnames
[] = {
24977 (char *) "self", NULL
24980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
24981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24982 if (SWIG_arg_fail(1)) SWIG_fail
;
24984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24985 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
24987 wxPyEndAllowThreads(__tstate
);
24988 if (PyErr_Occurred()) SWIG_fail
;
24991 wxSize
* resultptr
;
24992 resultptr
= new wxSize((wxSize
&)(result
));
24993 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25001 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25002 PyObject
*resultobj
;
25003 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25005 bool arg3
= (bool) false ;
25006 PyObject
* obj0
= 0 ;
25007 PyObject
* obj1
= 0 ;
25008 PyObject
* obj2
= 0 ;
25009 char *kwnames
[] = {
25010 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
25013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25015 if (SWIG_arg_fail(1)) SWIG_fail
;
25017 arg2
= (int)(SWIG_As_int(obj1
));
25018 if (SWIG_arg_fail(2)) SWIG_fail
;
25022 arg3
= (bool)(SWIG_As_bool(obj2
));
25023 if (SWIG_arg_fail(3)) SWIG_fail
;
25027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25028 (arg1
)->SetItemSpacing(arg2
,arg3
);
25030 wxPyEndAllowThreads(__tstate
);
25031 if (PyErr_Occurred()) SWIG_fail
;
25033 Py_INCREF(Py_None
); resultobj
= Py_None
;
25040 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25041 PyObject
*resultobj
;
25042 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25044 PyObject
* obj0
= 0 ;
25045 char *kwnames
[] = {
25046 (char *) "self", NULL
25049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
25050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25051 if (SWIG_arg_fail(1)) SWIG_fail
;
25053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25054 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
25056 wxPyEndAllowThreads(__tstate
);
25057 if (PyErr_Occurred()) SWIG_fail
;
25060 resultobj
= SWIG_From_int((int)(result
));
25068 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25069 PyObject
*resultobj
;
25070 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25072 PyObject
* obj0
= 0 ;
25073 char *kwnames
[] = {
25074 (char *) "self", NULL
25077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
25078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25079 if (SWIG_arg_fail(1)) SWIG_fail
;
25081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25082 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
25084 wxPyEndAllowThreads(__tstate
);
25085 if (PyErr_Occurred()) SWIG_fail
;
25088 wxColour
* resultptr
;
25089 resultptr
= new wxColour((wxColour
&)(result
));
25090 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25098 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25099 PyObject
*resultobj
;
25100 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25101 wxColour
*arg2
= 0 ;
25103 PyObject
* obj0
= 0 ;
25104 PyObject
* obj1
= 0 ;
25105 char *kwnames
[] = {
25106 (char *) "self",(char *) "col", NULL
25109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25111 if (SWIG_arg_fail(1)) SWIG_fail
;
25114 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25118 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
25120 wxPyEndAllowThreads(__tstate
);
25121 if (PyErr_Occurred()) SWIG_fail
;
25123 Py_INCREF(Py_None
); resultobj
= Py_None
;
25130 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25131 PyObject
*resultobj
;
25132 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25134 PyObject
* obj0
= 0 ;
25135 char *kwnames
[] = {
25136 (char *) "self", NULL
25139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
25140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25141 if (SWIG_arg_fail(1)) SWIG_fail
;
25143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25144 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
25146 wxPyEndAllowThreads(__tstate
);
25147 if (PyErr_Occurred()) SWIG_fail
;
25150 resultobj
= SWIG_From_long((long)(result
));
25158 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25159 PyObject
*resultobj
;
25160 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25162 bool arg3
= (bool) true ;
25163 PyObject
* obj0
= 0 ;
25164 PyObject
* obj1
= 0 ;
25165 PyObject
* obj2
= 0 ;
25166 char *kwnames
[] = {
25167 (char *) "self",(char *) "style",(char *) "add", NULL
25170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) 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
= (long)(SWIG_As_long(obj1
));
25175 if (SWIG_arg_fail(2)) SWIG_fail
;
25179 arg3
= (bool)(SWIG_As_bool(obj2
));
25180 if (SWIG_arg_fail(3)) SWIG_fail
;
25184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25185 (arg1
)->SetSingleStyle(arg2
,arg3
);
25187 wxPyEndAllowThreads(__tstate
);
25188 if (PyErr_Occurred()) SWIG_fail
;
25190 Py_INCREF(Py_None
); resultobj
= Py_None
;
25197 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25198 PyObject
*resultobj
;
25199 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25201 PyObject
* obj0
= 0 ;
25202 PyObject
* obj1
= 0 ;
25203 char *kwnames
[] = {
25204 (char *) "self",(char *) "style", NULL
25207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
25208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25209 if (SWIG_arg_fail(1)) SWIG_fail
;
25211 arg2
= (long)(SWIG_As_long(obj1
));
25212 if (SWIG_arg_fail(2)) SWIG_fail
;
25215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25216 (arg1
)->SetWindowStyleFlag(arg2
);
25218 wxPyEndAllowThreads(__tstate
);
25219 if (PyErr_Occurred()) SWIG_fail
;
25221 Py_INCREF(Py_None
); resultobj
= Py_None
;
25228 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25229 PyObject
*resultobj
;
25230 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25232 int arg3
= (int) wxLIST_NEXT_ALL
;
25233 int arg4
= (int) wxLIST_STATE_DONTCARE
;
25235 PyObject
* obj0
= 0 ;
25236 PyObject
* obj1
= 0 ;
25237 PyObject
* obj2
= 0 ;
25238 PyObject
* obj3
= 0 ;
25239 char *kwnames
[] = {
25240 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
25243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25245 if (SWIG_arg_fail(1)) SWIG_fail
;
25247 arg2
= (long)(SWIG_As_long(obj1
));
25248 if (SWIG_arg_fail(2)) SWIG_fail
;
25252 arg3
= (int)(SWIG_As_int(obj2
));
25253 if (SWIG_arg_fail(3)) SWIG_fail
;
25258 arg4
= (int)(SWIG_As_int(obj3
));
25259 if (SWIG_arg_fail(4)) SWIG_fail
;
25263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25264 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
25266 wxPyEndAllowThreads(__tstate
);
25267 if (PyErr_Occurred()) SWIG_fail
;
25270 resultobj
= SWIG_From_long((long)(result
));
25278 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25279 PyObject
*resultobj
;
25280 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25282 wxImageList
*result
;
25283 PyObject
* obj0
= 0 ;
25284 PyObject
* obj1
= 0 ;
25285 char *kwnames
[] = {
25286 (char *) "self",(char *) "which", NULL
25289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25291 if (SWIG_arg_fail(1)) SWIG_fail
;
25293 arg2
= (int)(SWIG_As_int(obj1
));
25294 if (SWIG_arg_fail(2)) SWIG_fail
;
25297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25298 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
25300 wxPyEndAllowThreads(__tstate
);
25301 if (PyErr_Occurred()) SWIG_fail
;
25304 resultobj
= wxPyMake_wxObject(result
, 0);
25312 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25313 PyObject
*resultobj
;
25314 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25315 wxImageList
*arg2
= (wxImageList
*) 0 ;
25317 PyObject
* obj0
= 0 ;
25318 PyObject
* obj1
= 0 ;
25319 PyObject
* obj2
= 0 ;
25320 char *kwnames
[] = {
25321 (char *) "self",(char *) "imageList",(char *) "which", NULL
25324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25326 if (SWIG_arg_fail(1)) SWIG_fail
;
25327 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
25328 if (SWIG_arg_fail(2)) SWIG_fail
;
25330 arg3
= (int)(SWIG_As_int(obj2
));
25331 if (SWIG_arg_fail(3)) SWIG_fail
;
25334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25335 (arg1
)->SetImageList(arg2
,arg3
);
25337 wxPyEndAllowThreads(__tstate
);
25338 if (PyErr_Occurred()) SWIG_fail
;
25340 Py_INCREF(Py_None
); resultobj
= Py_None
;
25347 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25348 PyObject
*resultobj
;
25349 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25350 wxImageList
*arg2
= (wxImageList
*) 0 ;
25352 PyObject
* obj0
= 0 ;
25353 PyObject
* obj1
= 0 ;
25354 PyObject
* obj2
= 0 ;
25355 char *kwnames
[] = {
25356 (char *) "self",(char *) "imageList",(char *) "which", NULL
25359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25361 if (SWIG_arg_fail(1)) SWIG_fail
;
25362 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25363 if (SWIG_arg_fail(2)) SWIG_fail
;
25365 arg3
= (int)(SWIG_As_int(obj2
));
25366 if (SWIG_arg_fail(3)) SWIG_fail
;
25369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25370 (arg1
)->AssignImageList(arg2
,arg3
);
25372 wxPyEndAllowThreads(__tstate
);
25373 if (PyErr_Occurred()) SWIG_fail
;
25375 Py_INCREF(Py_None
); resultobj
= Py_None
;
25382 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25383 PyObject
*resultobj
;
25384 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25386 PyObject
* obj0
= 0 ;
25387 char *kwnames
[] = {
25388 (char *) "self", NULL
25391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
25392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25393 if (SWIG_arg_fail(1)) SWIG_fail
;
25395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25396 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
25398 wxPyEndAllowThreads(__tstate
);
25399 if (PyErr_Occurred()) SWIG_fail
;
25402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25410 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25411 PyObject
*resultobj
;
25412 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25414 PyObject
* obj0
= 0 ;
25415 char *kwnames
[] = {
25416 (char *) "self", NULL
25419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
25420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25421 if (SWIG_arg_fail(1)) SWIG_fail
;
25423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25424 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
25426 wxPyEndAllowThreads(__tstate
);
25427 if (PyErr_Occurred()) SWIG_fail
;
25430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25438 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25439 PyObject
*resultobj
;
25440 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25442 PyObject
* obj0
= 0 ;
25443 PyObject
* obj1
= 0 ;
25444 char *kwnames
[] = {
25445 (char *) "self",(char *) "item", NULL
25448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25450 if (SWIG_arg_fail(1)) SWIG_fail
;
25452 arg2
= (long)(SWIG_As_long(obj1
));
25453 if (SWIG_arg_fail(2)) SWIG_fail
;
25456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25457 (arg1
)->RefreshItem(arg2
);
25459 wxPyEndAllowThreads(__tstate
);
25460 if (PyErr_Occurred()) SWIG_fail
;
25462 Py_INCREF(Py_None
); resultobj
= Py_None
;
25469 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25470 PyObject
*resultobj
;
25471 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25474 PyObject
* obj0
= 0 ;
25475 PyObject
* obj1
= 0 ;
25476 PyObject
* obj2
= 0 ;
25477 char *kwnames
[] = {
25478 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
25481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25483 if (SWIG_arg_fail(1)) SWIG_fail
;
25485 arg2
= (long)(SWIG_As_long(obj1
));
25486 if (SWIG_arg_fail(2)) SWIG_fail
;
25489 arg3
= (long)(SWIG_As_long(obj2
));
25490 if (SWIG_arg_fail(3)) SWIG_fail
;
25493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25494 (arg1
)->RefreshItems(arg2
,arg3
);
25496 wxPyEndAllowThreads(__tstate
);
25497 if (PyErr_Occurred()) SWIG_fail
;
25499 Py_INCREF(Py_None
); resultobj
= Py_None
;
25506 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25507 PyObject
*resultobj
;
25508 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25509 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
25511 PyObject
* obj0
= 0 ;
25512 PyObject
* obj1
= 0 ;
25513 char *kwnames
[] = {
25514 (char *) "self",(char *) "flag", NULL
25517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
25518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25519 if (SWIG_arg_fail(1)) SWIG_fail
;
25522 arg2
= (int)(SWIG_As_int(obj1
));
25523 if (SWIG_arg_fail(2)) SWIG_fail
;
25527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25528 result
= (bool)(arg1
)->Arrange(arg2
);
25530 wxPyEndAllowThreads(__tstate
);
25531 if (PyErr_Occurred()) SWIG_fail
;
25534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25542 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25543 PyObject
*resultobj
;
25544 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25547 PyObject
* obj0
= 0 ;
25548 PyObject
* obj1
= 0 ;
25549 char *kwnames
[] = {
25550 (char *) "self",(char *) "item", NULL
25553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25555 if (SWIG_arg_fail(1)) SWIG_fail
;
25557 arg2
= (long)(SWIG_As_long(obj1
));
25558 if (SWIG_arg_fail(2)) SWIG_fail
;
25561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25562 result
= (bool)(arg1
)->DeleteItem(arg2
);
25564 wxPyEndAllowThreads(__tstate
);
25565 if (PyErr_Occurred()) SWIG_fail
;
25568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25576 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25577 PyObject
*resultobj
;
25578 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25580 PyObject
* obj0
= 0 ;
25581 char *kwnames
[] = {
25582 (char *) "self", NULL
25585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
25586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25587 if (SWIG_arg_fail(1)) SWIG_fail
;
25589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25590 result
= (bool)(arg1
)->DeleteAllItems();
25592 wxPyEndAllowThreads(__tstate
);
25593 if (PyErr_Occurred()) SWIG_fail
;
25596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25604 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25605 PyObject
*resultobj
;
25606 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25609 PyObject
* obj0
= 0 ;
25610 PyObject
* obj1
= 0 ;
25611 char *kwnames
[] = {
25612 (char *) "self",(char *) "col", NULL
25615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
25616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25617 if (SWIG_arg_fail(1)) SWIG_fail
;
25619 arg2
= (int)(SWIG_As_int(obj1
));
25620 if (SWIG_arg_fail(2)) SWIG_fail
;
25623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25624 result
= (bool)(arg1
)->DeleteColumn(arg2
);
25626 wxPyEndAllowThreads(__tstate
);
25627 if (PyErr_Occurred()) SWIG_fail
;
25630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25638 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25639 PyObject
*resultobj
;
25640 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25642 PyObject
* obj0
= 0 ;
25643 char *kwnames
[] = {
25644 (char *) "self", NULL
25647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
25648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25649 if (SWIG_arg_fail(1)) SWIG_fail
;
25651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25652 result
= (bool)(arg1
)->DeleteAllColumns();
25654 wxPyEndAllowThreads(__tstate
);
25655 if (PyErr_Occurred()) SWIG_fail
;
25658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25666 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25667 PyObject
*resultobj
;
25668 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25669 PyObject
* obj0
= 0 ;
25670 char *kwnames
[] = {
25671 (char *) "self", NULL
25674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
25675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25676 if (SWIG_arg_fail(1)) SWIG_fail
;
25678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25679 (arg1
)->ClearAll();
25681 wxPyEndAllowThreads(__tstate
);
25682 if (PyErr_Occurred()) SWIG_fail
;
25684 Py_INCREF(Py_None
); resultobj
= Py_None
;
25691 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25692 PyObject
*resultobj
;
25693 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25695 PyObject
* obj0
= 0 ;
25696 PyObject
* obj1
= 0 ;
25697 char *kwnames
[] = {
25698 (char *) "self",(char *) "item", NULL
25701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25703 if (SWIG_arg_fail(1)) SWIG_fail
;
25705 arg2
= (long)(SWIG_As_long(obj1
));
25706 if (SWIG_arg_fail(2)) SWIG_fail
;
25709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25710 (arg1
)->EditLabel(arg2
);
25712 wxPyEndAllowThreads(__tstate
);
25713 if (PyErr_Occurred()) SWIG_fail
;
25715 Py_INCREF(Py_None
); resultobj
= Py_None
;
25722 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25723 PyObject
*resultobj
;
25724 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25727 PyObject
* obj0
= 0 ;
25728 PyObject
* obj1
= 0 ;
25729 char *kwnames
[] = {
25730 (char *) "self",(char *) "item", NULL
25733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25735 if (SWIG_arg_fail(1)) SWIG_fail
;
25737 arg2
= (long)(SWIG_As_long(obj1
));
25738 if (SWIG_arg_fail(2)) SWIG_fail
;
25741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25742 result
= (bool)(arg1
)->EnsureVisible(arg2
);
25744 wxPyEndAllowThreads(__tstate
);
25745 if (PyErr_Occurred()) SWIG_fail
;
25748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25756 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25757 PyObject
*resultobj
;
25758 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25760 wxString
*arg3
= 0 ;
25761 bool arg4
= (bool) false ;
25763 bool temp3
= false ;
25764 PyObject
* obj0
= 0 ;
25765 PyObject
* obj1
= 0 ;
25766 PyObject
* obj2
= 0 ;
25767 PyObject
* obj3
= 0 ;
25768 char *kwnames
[] = {
25769 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
25772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25774 if (SWIG_arg_fail(1)) SWIG_fail
;
25776 arg2
= (long)(SWIG_As_long(obj1
));
25777 if (SWIG_arg_fail(2)) SWIG_fail
;
25780 arg3
= wxString_in_helper(obj2
);
25781 if (arg3
== NULL
) SWIG_fail
;
25786 arg4
= (bool)(SWIG_As_bool(obj3
));
25787 if (SWIG_arg_fail(4)) SWIG_fail
;
25791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25792 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
25794 wxPyEndAllowThreads(__tstate
);
25795 if (PyErr_Occurred()) SWIG_fail
;
25798 resultobj
= SWIG_From_long((long)(result
));
25814 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25815 PyObject
*resultobj
;
25816 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25820 PyObject
* obj0
= 0 ;
25821 PyObject
* obj1
= 0 ;
25822 PyObject
* obj2
= 0 ;
25823 char *kwnames
[] = {
25824 (char *) "self",(char *) "start",(char *) "data", NULL
25827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25829 if (SWIG_arg_fail(1)) SWIG_fail
;
25831 arg2
= (long)(SWIG_As_long(obj1
));
25832 if (SWIG_arg_fail(2)) SWIG_fail
;
25835 arg3
= (long)(SWIG_As_long(obj2
));
25836 if (SWIG_arg_fail(3)) SWIG_fail
;
25839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25840 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
25842 wxPyEndAllowThreads(__tstate
);
25843 if (PyErr_Occurred()) SWIG_fail
;
25846 resultobj
= SWIG_From_long((long)(result
));
25854 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25855 PyObject
*resultobj
;
25856 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25858 wxPoint
*arg3
= 0 ;
25862 PyObject
* obj0
= 0 ;
25863 PyObject
* obj1
= 0 ;
25864 PyObject
* obj2
= 0 ;
25865 PyObject
* obj3
= 0 ;
25866 char *kwnames
[] = {
25867 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
25870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25872 if (SWIG_arg_fail(1)) SWIG_fail
;
25874 arg2
= (long)(SWIG_As_long(obj1
));
25875 if (SWIG_arg_fail(2)) SWIG_fail
;
25879 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25882 arg4
= (int)(SWIG_As_int(obj3
));
25883 if (SWIG_arg_fail(4)) SWIG_fail
;
25886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25887 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
25889 wxPyEndAllowThreads(__tstate
);
25890 if (PyErr_Occurred()) SWIG_fail
;
25893 resultobj
= SWIG_From_long((long)(result
));
25901 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25902 PyObject
*resultobj
;
25903 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25904 wxPoint
*arg2
= 0 ;
25910 PyObject
* obj0
= 0 ;
25911 PyObject
* obj1
= 0 ;
25912 char *kwnames
[] = {
25913 (char *) "self",(char *) "point", NULL
25916 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
25918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25919 if (SWIG_arg_fail(1)) SWIG_fail
;
25922 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25926 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
25928 wxPyEndAllowThreads(__tstate
);
25929 if (PyErr_Occurred()) SWIG_fail
;
25932 resultobj
= SWIG_From_long((long)(result
));
25934 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25935 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25942 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25943 PyObject
*resultobj
;
25944 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25945 wxListItem
*arg2
= 0 ;
25947 PyObject
* obj0
= 0 ;
25948 PyObject
* obj1
= 0 ;
25949 char *kwnames
[] = {
25950 (char *) "self",(char *) "info", NULL
25953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25955 if (SWIG_arg_fail(1)) SWIG_fail
;
25957 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
25958 if (SWIG_arg_fail(2)) SWIG_fail
;
25959 if (arg2
== NULL
) {
25960 SWIG_null_ref("wxListItem");
25962 if (SWIG_arg_fail(2)) SWIG_fail
;
25965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25966 result
= (long)(arg1
)->InsertItem(*arg2
);
25968 wxPyEndAllowThreads(__tstate
);
25969 if (PyErr_Occurred()) SWIG_fail
;
25972 resultobj
= SWIG_From_long((long)(result
));
25980 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25981 PyObject
*resultobj
;
25982 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25984 wxString
*arg3
= 0 ;
25986 bool temp3
= false ;
25987 PyObject
* obj0
= 0 ;
25988 PyObject
* obj1
= 0 ;
25989 PyObject
* obj2
= 0 ;
25990 char *kwnames
[] = {
25991 (char *) "self",(char *) "index",(char *) "label", NULL
25994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25996 if (SWIG_arg_fail(1)) SWIG_fail
;
25998 arg2
= (long)(SWIG_As_long(obj1
));
25999 if (SWIG_arg_fail(2)) SWIG_fail
;
26002 arg3
= wxString_in_helper(obj2
);
26003 if (arg3
== NULL
) SWIG_fail
;
26007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26008 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
26010 wxPyEndAllowThreads(__tstate
);
26011 if (PyErr_Occurred()) SWIG_fail
;
26014 resultobj
= SWIG_From_long((long)(result
));
26030 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26031 PyObject
*resultobj
;
26032 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26036 PyObject
* obj0
= 0 ;
26037 PyObject
* obj1
= 0 ;
26038 PyObject
* obj2
= 0 ;
26039 char *kwnames
[] = {
26040 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
26043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26045 if (SWIG_arg_fail(1)) SWIG_fail
;
26047 arg2
= (long)(SWIG_As_long(obj1
));
26048 if (SWIG_arg_fail(2)) SWIG_fail
;
26051 arg3
= (int)(SWIG_As_int(obj2
));
26052 if (SWIG_arg_fail(3)) SWIG_fail
;
26055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26056 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
26058 wxPyEndAllowThreads(__tstate
);
26059 if (PyErr_Occurred()) SWIG_fail
;
26062 resultobj
= SWIG_From_long((long)(result
));
26070 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26071 PyObject
*resultobj
;
26072 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26074 wxString
*arg3
= 0 ;
26077 bool temp3
= false ;
26078 PyObject
* obj0
= 0 ;
26079 PyObject
* obj1
= 0 ;
26080 PyObject
* obj2
= 0 ;
26081 PyObject
* obj3
= 0 ;
26082 char *kwnames
[] = {
26083 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
26086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26088 if (SWIG_arg_fail(1)) SWIG_fail
;
26090 arg2
= (long)(SWIG_As_long(obj1
));
26091 if (SWIG_arg_fail(2)) SWIG_fail
;
26094 arg3
= wxString_in_helper(obj2
);
26095 if (arg3
== NULL
) SWIG_fail
;
26099 arg4
= (int)(SWIG_As_int(obj3
));
26100 if (SWIG_arg_fail(4)) SWIG_fail
;
26103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26104 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
26106 wxPyEndAllowThreads(__tstate
);
26107 if (PyErr_Occurred()) SWIG_fail
;
26110 resultobj
= SWIG_From_long((long)(result
));
26126 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26127 PyObject
*resultobj
;
26128 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26130 wxListItem
*arg3
= 0 ;
26132 PyObject
* obj0
= 0 ;
26133 PyObject
* obj1
= 0 ;
26134 PyObject
* obj2
= 0 ;
26135 char *kwnames
[] = {
26136 (char *) "self",(char *) "col",(char *) "info", NULL
26139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26141 if (SWIG_arg_fail(1)) SWIG_fail
;
26143 arg2
= (long)(SWIG_As_long(obj1
));
26144 if (SWIG_arg_fail(2)) SWIG_fail
;
26147 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
26148 if (SWIG_arg_fail(3)) SWIG_fail
;
26149 if (arg3
== NULL
) {
26150 SWIG_null_ref("wxListItem");
26152 if (SWIG_arg_fail(3)) SWIG_fail
;
26155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26156 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
26158 wxPyEndAllowThreads(__tstate
);
26159 if (PyErr_Occurred()) SWIG_fail
;
26162 resultobj
= SWIG_From_long((long)(result
));
26170 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26171 PyObject
*resultobj
;
26172 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26174 wxString
*arg3
= 0 ;
26175 int arg4
= (int) wxLIST_FORMAT_LEFT
;
26176 int arg5
= (int) -1 ;
26178 bool temp3
= false ;
26179 PyObject
* obj0
= 0 ;
26180 PyObject
* obj1
= 0 ;
26181 PyObject
* obj2
= 0 ;
26182 PyObject
* obj3
= 0 ;
26183 PyObject
* obj4
= 0 ;
26184 char *kwnames
[] = {
26185 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
26188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26190 if (SWIG_arg_fail(1)) SWIG_fail
;
26192 arg2
= (long)(SWIG_As_long(obj1
));
26193 if (SWIG_arg_fail(2)) SWIG_fail
;
26196 arg3
= wxString_in_helper(obj2
);
26197 if (arg3
== NULL
) SWIG_fail
;
26202 arg4
= (int)(SWIG_As_int(obj3
));
26203 if (SWIG_arg_fail(4)) SWIG_fail
;
26208 arg5
= (int)(SWIG_As_int(obj4
));
26209 if (SWIG_arg_fail(5)) SWIG_fail
;
26213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26214 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
26216 wxPyEndAllowThreads(__tstate
);
26217 if (PyErr_Occurred()) SWIG_fail
;
26220 resultobj
= SWIG_From_long((long)(result
));
26236 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26237 PyObject
*resultobj
;
26238 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26240 PyObject
* obj0
= 0 ;
26241 PyObject
* obj1
= 0 ;
26242 char *kwnames
[] = {
26243 (char *) "self",(char *) "count", NULL
26246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
26247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26248 if (SWIG_arg_fail(1)) SWIG_fail
;
26250 arg2
= (long)(SWIG_As_long(obj1
));
26251 if (SWIG_arg_fail(2)) SWIG_fail
;
26254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26255 (arg1
)->SetItemCount(arg2
);
26257 wxPyEndAllowThreads(__tstate
);
26258 if (PyErr_Occurred()) SWIG_fail
;
26260 Py_INCREF(Py_None
); resultobj
= Py_None
;
26267 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26268 PyObject
*resultobj
;
26269 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26273 PyObject
* obj0
= 0 ;
26274 PyObject
* obj1
= 0 ;
26275 PyObject
* obj2
= 0 ;
26276 char *kwnames
[] = {
26277 (char *) "self",(char *) "dx",(char *) "dy", NULL
26280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26282 if (SWIG_arg_fail(1)) SWIG_fail
;
26284 arg2
= (int)(SWIG_As_int(obj1
));
26285 if (SWIG_arg_fail(2)) SWIG_fail
;
26288 arg3
= (int)(SWIG_As_int(obj2
));
26289 if (SWIG_arg_fail(3)) SWIG_fail
;
26292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26293 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
26295 wxPyEndAllowThreads(__tstate
);
26296 if (PyErr_Occurred()) SWIG_fail
;
26299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26307 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26308 PyObject
*resultobj
;
26309 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26311 wxColour
*arg3
= 0 ;
26313 PyObject
* obj0
= 0 ;
26314 PyObject
* obj1
= 0 ;
26315 PyObject
* obj2
= 0 ;
26316 char *kwnames
[] = {
26317 (char *) "self",(char *) "item",(char *) "col", NULL
26320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26322 if (SWIG_arg_fail(1)) SWIG_fail
;
26324 arg2
= (long)(SWIG_As_long(obj1
));
26325 if (SWIG_arg_fail(2)) SWIG_fail
;
26329 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26333 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
26335 wxPyEndAllowThreads(__tstate
);
26336 if (PyErr_Occurred()) SWIG_fail
;
26338 Py_INCREF(Py_None
); resultobj
= Py_None
;
26345 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26346 PyObject
*resultobj
;
26347 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26350 PyObject
* obj0
= 0 ;
26351 PyObject
* obj1
= 0 ;
26352 char *kwnames
[] = {
26353 (char *) "self",(char *) "item", NULL
26356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26358 if (SWIG_arg_fail(1)) SWIG_fail
;
26360 arg2
= (long)(SWIG_As_long(obj1
));
26361 if (SWIG_arg_fail(2)) SWIG_fail
;
26364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26365 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
26367 wxPyEndAllowThreads(__tstate
);
26368 if (PyErr_Occurred()) SWIG_fail
;
26371 wxColour
* resultptr
;
26372 resultptr
= new wxColour((wxColour
&)(result
));
26373 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26381 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26382 PyObject
*resultobj
;
26383 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26385 wxColour
*arg3
= 0 ;
26387 PyObject
* obj0
= 0 ;
26388 PyObject
* obj1
= 0 ;
26389 PyObject
* obj2
= 0 ;
26390 char *kwnames
[] = {
26391 (char *) "self",(char *) "item",(char *) "col", NULL
26394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26396 if (SWIG_arg_fail(1)) SWIG_fail
;
26398 arg2
= (long)(SWIG_As_long(obj1
));
26399 if (SWIG_arg_fail(2)) SWIG_fail
;
26403 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26407 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
26409 wxPyEndAllowThreads(__tstate
);
26410 if (PyErr_Occurred()) SWIG_fail
;
26412 Py_INCREF(Py_None
); resultobj
= Py_None
;
26419 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26420 PyObject
*resultobj
;
26421 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26424 PyObject
* obj0
= 0 ;
26425 PyObject
* obj1
= 0 ;
26426 char *kwnames
[] = {
26427 (char *) "self",(char *) "item", NULL
26430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26432 if (SWIG_arg_fail(1)) SWIG_fail
;
26434 arg2
= (long)(SWIG_As_long(obj1
));
26435 if (SWIG_arg_fail(2)) SWIG_fail
;
26438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26439 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
26441 wxPyEndAllowThreads(__tstate
);
26442 if (PyErr_Occurred()) SWIG_fail
;
26445 wxColour
* resultptr
;
26446 resultptr
= new wxColour((wxColour
&)(result
));
26447 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26455 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26456 PyObject
*resultobj
;
26457 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26458 PyObject
*arg2
= (PyObject
*) 0 ;
26460 PyObject
* obj0
= 0 ;
26461 PyObject
* obj1
= 0 ;
26462 char *kwnames
[] = {
26463 (char *) "self",(char *) "func", NULL
26466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
26467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26468 if (SWIG_arg_fail(1)) SWIG_fail
;
26471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26472 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
26474 wxPyEndAllowThreads(__tstate
);
26475 if (PyErr_Occurred()) SWIG_fail
;
26478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26486 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26487 PyObject
*resultobj
;
26488 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26490 PyObject
* obj0
= 0 ;
26491 char *kwnames
[] = {
26492 (char *) "self", NULL
26495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
26496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26497 if (SWIG_arg_fail(1)) SWIG_fail
;
26499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26500 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
26502 wxPyEndAllowThreads(__tstate
);
26503 if (PyErr_Occurred()) SWIG_fail
;
26506 resultobj
= wxPyMake_wxObject(result
, 0);
26514 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26515 PyObject
*resultobj
;
26516 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
26517 wxVisualAttributes result
;
26518 PyObject
* obj0
= 0 ;
26519 char *kwnames
[] = {
26520 (char *) "variant", NULL
26523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26526 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
26527 if (SWIG_arg_fail(1)) SWIG_fail
;
26531 if (!wxPyCheckForApp()) SWIG_fail
;
26532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26533 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
26535 wxPyEndAllowThreads(__tstate
);
26536 if (PyErr_Occurred()) SWIG_fail
;
26539 wxVisualAttributes
* resultptr
;
26540 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
26541 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26549 static PyObject
* ListCtrl_swigregister(PyObject
*, PyObject
*args
) {
26551 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26552 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
26554 return Py_BuildValue((char *)"");
26556 static PyObject
*_wrap_new_ListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26557 PyObject
*resultobj
;
26558 wxWindow
*arg1
= (wxWindow
*) 0 ;
26559 int arg2
= (int) -1 ;
26560 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
26561 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
26562 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26563 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26564 long arg5
= (long) wxLC_REPORT
;
26565 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
26566 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
26567 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
26568 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26569 wxListView
*result
;
26572 bool temp7
= 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 char *kwnames
[] = {
26581 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26586 if (SWIG_arg_fail(1)) SWIG_fail
;
26589 arg2
= (int)(SWIG_As_int(obj1
));
26590 if (SWIG_arg_fail(2)) SWIG_fail
;
26596 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26602 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26607 arg5
= (long)(SWIG_As_long(obj4
));
26608 if (SWIG_arg_fail(5)) SWIG_fail
;
26613 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
26614 if (SWIG_arg_fail(6)) SWIG_fail
;
26615 if (arg6
== NULL
) {
26616 SWIG_null_ref("wxValidator");
26618 if (SWIG_arg_fail(6)) SWIG_fail
;
26623 arg7
= wxString_in_helper(obj6
);
26624 if (arg7
== NULL
) SWIG_fail
;
26629 if (!wxPyCheckForApp()) SWIG_fail
;
26630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26631 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
26633 wxPyEndAllowThreads(__tstate
);
26634 if (PyErr_Occurred()) SWIG_fail
;
26636 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
26651 static PyObject
*_wrap_new_PreListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26652 PyObject
*resultobj
;
26653 wxListView
*result
;
26654 char *kwnames
[] = {
26658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
26660 if (!wxPyCheckForApp()) SWIG_fail
;
26661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26662 result
= (wxListView
*)new wxListView();
26664 wxPyEndAllowThreads(__tstate
);
26665 if (PyErr_Occurred()) SWIG_fail
;
26667 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
26674 static PyObject
*_wrap_ListView_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26675 PyObject
*resultobj
;
26676 wxListView
*arg1
= (wxListView
*) 0 ;
26677 wxWindow
*arg2
= (wxWindow
*) 0 ;
26678 int arg3
= (int) -1 ;
26679 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26680 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26681 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26682 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26683 long arg6
= (long) wxLC_REPORT
;
26684 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
26685 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
26686 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
26687 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
26691 bool temp8
= false ;
26692 PyObject
* obj0
= 0 ;
26693 PyObject
* obj1
= 0 ;
26694 PyObject
* obj2
= 0 ;
26695 PyObject
* obj3
= 0 ;
26696 PyObject
* obj4
= 0 ;
26697 PyObject
* obj5
= 0 ;
26698 PyObject
* obj6
= 0 ;
26699 PyObject
* obj7
= 0 ;
26700 char *kwnames
[] = {
26701 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
26705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26706 if (SWIG_arg_fail(1)) SWIG_fail
;
26707 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26708 if (SWIG_arg_fail(2)) SWIG_fail
;
26711 arg3
= (int)(SWIG_As_int(obj2
));
26712 if (SWIG_arg_fail(3)) SWIG_fail
;
26718 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26724 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26729 arg6
= (long)(SWIG_As_long(obj5
));
26730 if (SWIG_arg_fail(6)) SWIG_fail
;
26735 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
26736 if (SWIG_arg_fail(7)) SWIG_fail
;
26737 if (arg7
== NULL
) {
26738 SWIG_null_ref("wxValidator");
26740 if (SWIG_arg_fail(7)) SWIG_fail
;
26745 arg8
= wxString_in_helper(obj7
);
26746 if (arg8
== NULL
) SWIG_fail
;
26751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26752 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
26754 wxPyEndAllowThreads(__tstate
);
26755 if (PyErr_Occurred()) SWIG_fail
;
26758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26774 static PyObject
*_wrap_ListView_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26775 PyObject
*resultobj
;
26776 wxListView
*arg1
= (wxListView
*) 0 ;
26778 bool arg3
= (bool) true ;
26779 PyObject
* obj0
= 0 ;
26780 PyObject
* obj1
= 0 ;
26781 PyObject
* obj2
= 0 ;
26782 char *kwnames
[] = {
26783 (char *) "self",(char *) "n",(char *) "on", NULL
26786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26788 if (SWIG_arg_fail(1)) SWIG_fail
;
26790 arg2
= (long)(SWIG_As_long(obj1
));
26791 if (SWIG_arg_fail(2)) SWIG_fail
;
26795 arg3
= (bool)(SWIG_As_bool(obj2
));
26796 if (SWIG_arg_fail(3)) SWIG_fail
;
26800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26801 (arg1
)->Select(arg2
,arg3
);
26803 wxPyEndAllowThreads(__tstate
);
26804 if (PyErr_Occurred()) SWIG_fail
;
26806 Py_INCREF(Py_None
); resultobj
= Py_None
;
26813 static PyObject
*_wrap_ListView_Focus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26814 PyObject
*resultobj
;
26815 wxListView
*arg1
= (wxListView
*) 0 ;
26817 PyObject
* obj0
= 0 ;
26818 PyObject
* obj1
= 0 ;
26819 char *kwnames
[] = {
26820 (char *) "self",(char *) "index", NULL
26823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
26824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26825 if (SWIG_arg_fail(1)) SWIG_fail
;
26827 arg2
= (long)(SWIG_As_long(obj1
));
26828 if (SWIG_arg_fail(2)) SWIG_fail
;
26831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26832 (arg1
)->Focus(arg2
);
26834 wxPyEndAllowThreads(__tstate
);
26835 if (PyErr_Occurred()) SWIG_fail
;
26837 Py_INCREF(Py_None
); resultobj
= Py_None
;
26844 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26845 PyObject
*resultobj
;
26846 wxListView
*arg1
= (wxListView
*) 0 ;
26848 PyObject
* obj0
= 0 ;
26849 char *kwnames
[] = {
26850 (char *) "self", NULL
26853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
26854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26855 if (SWIG_arg_fail(1)) SWIG_fail
;
26857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26858 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
26860 wxPyEndAllowThreads(__tstate
);
26861 if (PyErr_Occurred()) SWIG_fail
;
26864 resultobj
= SWIG_From_long((long)(result
));
26872 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26873 PyObject
*resultobj
;
26874 wxListView
*arg1
= (wxListView
*) 0 ;
26877 PyObject
* obj0
= 0 ;
26878 PyObject
* obj1
= 0 ;
26879 char *kwnames
[] = {
26880 (char *) "self",(char *) "item", NULL
26883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26885 if (SWIG_arg_fail(1)) SWIG_fail
;
26887 arg2
= (long)(SWIG_As_long(obj1
));
26888 if (SWIG_arg_fail(2)) SWIG_fail
;
26891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26892 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
26894 wxPyEndAllowThreads(__tstate
);
26895 if (PyErr_Occurred()) SWIG_fail
;
26898 resultobj
= SWIG_From_long((long)(result
));
26906 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26907 PyObject
*resultobj
;
26908 wxListView
*arg1
= (wxListView
*) 0 ;
26910 PyObject
* obj0
= 0 ;
26911 char *kwnames
[] = {
26912 (char *) "self", NULL
26915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
26916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26917 if (SWIG_arg_fail(1)) SWIG_fail
;
26919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26920 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
26922 wxPyEndAllowThreads(__tstate
);
26923 if (PyErr_Occurred()) SWIG_fail
;
26926 resultobj
= SWIG_From_long((long)(result
));
26934 static PyObject
*_wrap_ListView_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26935 PyObject
*resultobj
;
26936 wxListView
*arg1
= (wxListView
*) 0 ;
26939 PyObject
* obj0
= 0 ;
26940 PyObject
* obj1
= 0 ;
26941 char *kwnames
[] = {
26942 (char *) "self",(char *) "index", NULL
26945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26947 if (SWIG_arg_fail(1)) SWIG_fail
;
26949 arg2
= (long)(SWIG_As_long(obj1
));
26950 if (SWIG_arg_fail(2)) SWIG_fail
;
26953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26954 result
= (bool)(arg1
)->IsSelected(arg2
);
26956 wxPyEndAllowThreads(__tstate
);
26957 if (PyErr_Occurred()) SWIG_fail
;
26960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26968 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26969 PyObject
*resultobj
;
26970 wxListView
*arg1
= (wxListView
*) 0 ;
26973 PyObject
* obj0
= 0 ;
26974 PyObject
* obj1
= 0 ;
26975 PyObject
* obj2
= 0 ;
26976 char *kwnames
[] = {
26977 (char *) "self",(char *) "col",(char *) "image", NULL
26980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26982 if (SWIG_arg_fail(1)) SWIG_fail
;
26984 arg2
= (int)(SWIG_As_int(obj1
));
26985 if (SWIG_arg_fail(2)) SWIG_fail
;
26988 arg3
= (int)(SWIG_As_int(obj2
));
26989 if (SWIG_arg_fail(3)) SWIG_fail
;
26992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26993 (arg1
)->SetColumnImage(arg2
,arg3
);
26995 wxPyEndAllowThreads(__tstate
);
26996 if (PyErr_Occurred()) SWIG_fail
;
26998 Py_INCREF(Py_None
); resultobj
= Py_None
;
27005 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27006 PyObject
*resultobj
;
27007 wxListView
*arg1
= (wxListView
*) 0 ;
27009 PyObject
* obj0
= 0 ;
27010 PyObject
* obj1
= 0 ;
27011 char *kwnames
[] = {
27012 (char *) "self",(char *) "col", NULL
27015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
27016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
27017 if (SWIG_arg_fail(1)) SWIG_fail
;
27019 arg2
= (int)(SWIG_As_int(obj1
));
27020 if (SWIG_arg_fail(2)) SWIG_fail
;
27023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27024 (arg1
)->ClearColumnImage(arg2
);
27026 wxPyEndAllowThreads(__tstate
);
27027 if (PyErr_Occurred()) SWIG_fail
;
27029 Py_INCREF(Py_None
); resultobj
= Py_None
;
27036 static PyObject
* ListView_swigregister(PyObject
*, PyObject
*args
) {
27038 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27039 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
27041 return Py_BuildValue((char *)"");
27043 static int _wrap_TreeCtrlNameStr_set(PyObject
*) {
27044 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
27049 static PyObject
*_wrap_TreeCtrlNameStr_get(void) {
27054 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
27056 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
27063 static PyObject
*_wrap_new_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27064 PyObject
*resultobj
;
27065 wxTreeItemId
*result
;
27066 char *kwnames
[] = {
27070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
27072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27073 result
= (wxTreeItemId
*)new wxTreeItemId();
27075 wxPyEndAllowThreads(__tstate
);
27076 if (PyErr_Occurred()) SWIG_fail
;
27078 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
27085 static PyObject
*_wrap_delete_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27086 PyObject
*resultobj
;
27087 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27088 PyObject
* obj0
= 0 ;
27089 char *kwnames
[] = {
27090 (char *) "self", NULL
27093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27100 wxPyEndAllowThreads(__tstate
);
27101 if (PyErr_Occurred()) SWIG_fail
;
27103 Py_INCREF(Py_None
); resultobj
= Py_None
;
27110 static PyObject
*_wrap_TreeItemId_IsOk(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_IsOk",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
;
27123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27124 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
27126 wxPyEndAllowThreads(__tstate
);
27127 if (PyErr_Occurred()) SWIG_fail
;
27130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27138 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27139 PyObject
*resultobj
;
27140 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27141 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
27143 PyObject
* obj0
= 0 ;
27144 PyObject
* obj1
= 0 ;
27145 char *kwnames
[] = {
27146 (char *) "self",(char *) "other", NULL
27149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27151 if (SWIG_arg_fail(1)) SWIG_fail
;
27152 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27153 if (SWIG_arg_fail(2)) SWIG_fail
;
27155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27156 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
27158 wxPyEndAllowThreads(__tstate
);
27159 if (PyErr_Occurred()) SWIG_fail
;
27162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27170 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27171 PyObject
*resultobj
;
27172 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27173 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
27175 PyObject
* obj0
= 0 ;
27176 PyObject
* obj1
= 0 ;
27177 char *kwnames
[] = {
27178 (char *) "self",(char *) "other", NULL
27181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27183 if (SWIG_arg_fail(1)) SWIG_fail
;
27184 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27185 if (SWIG_arg_fail(2)) SWIG_fail
;
27187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27188 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
27190 wxPyEndAllowThreads(__tstate
);
27191 if (PyErr_Occurred()) SWIG_fail
;
27194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27202 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27203 PyObject
*resultobj
;
27204 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27205 void *arg2
= (void *) 0 ;
27206 PyObject
* obj0
= 0 ;
27207 PyObject
* obj1
= 0 ;
27208 char *kwnames
[] = {
27209 (char *) "self",(char *) "m_pItem", NULL
27212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27214 if (SWIG_arg_fail(1)) SWIG_fail
;
27216 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),0,SWIG_POINTER_EXCEPTION
|SWIG_POINTER_DISOWN
))== -1) {
27217 SWIG_arg_fail(2);SWIG_fail
;
27220 if (arg1
) (arg1
)->m_pItem
= arg2
;
27222 Py_INCREF(Py_None
); resultobj
= Py_None
;
27229 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27230 PyObject
*resultobj
;
27231 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27233 PyObject
* obj0
= 0 ;
27234 char *kwnames
[] = {
27235 (char *) "self", NULL
27238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
27239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27240 if (SWIG_arg_fail(1)) SWIG_fail
;
27241 result
= (void *) ((arg1
)->m_pItem
);
27243 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
27250 static PyObject
* TreeItemId_swigregister(PyObject
*, PyObject
*args
) {
27252 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27253 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
27255 return Py_BuildValue((char *)"");
27257 static PyObject
*_wrap_new_TreeItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27258 PyObject
*resultobj
;
27259 PyObject
*arg1
= (PyObject
*) NULL
;
27260 wxPyTreeItemData
*result
;
27261 PyObject
* obj0
= 0 ;
27262 char *kwnames
[] = {
27263 (char *) "obj", NULL
27266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
27271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27272 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
27274 wxPyEndAllowThreads(__tstate
);
27275 if (PyErr_Occurred()) SWIG_fail
;
27277 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
27284 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27285 PyObject
*resultobj
;
27286 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27288 PyObject
* obj0
= 0 ;
27289 char *kwnames
[] = {
27290 (char *) "self", NULL
27293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
27294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27295 if (SWIG_arg_fail(1)) SWIG_fail
;
27297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27298 result
= (PyObject
*)(arg1
)->GetData();
27300 wxPyEndAllowThreads(__tstate
);
27301 if (PyErr_Occurred()) SWIG_fail
;
27303 resultobj
= result
;
27310 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27311 PyObject
*resultobj
;
27312 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27313 PyObject
*arg2
= (PyObject
*) 0 ;
27314 PyObject
* obj0
= 0 ;
27315 PyObject
* obj1
= 0 ;
27316 char *kwnames
[] = {
27317 (char *) "self",(char *) "obj", NULL
27320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27322 if (SWIG_arg_fail(1)) SWIG_fail
;
27325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27326 (arg1
)->SetData(arg2
);
27328 wxPyEndAllowThreads(__tstate
);
27329 if (PyErr_Occurred()) SWIG_fail
;
27331 Py_INCREF(Py_None
); resultobj
= Py_None
;
27338 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27339 PyObject
*resultobj
;
27340 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27341 wxTreeItemId
*result
;
27342 PyObject
* obj0
= 0 ;
27343 char *kwnames
[] = {
27344 (char *) "self", NULL
27347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
27348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27349 if (SWIG_arg_fail(1)) SWIG_fail
;
27351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27353 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
27354 result
= (wxTreeItemId
*) &_result_ref
;
27357 wxPyEndAllowThreads(__tstate
);
27358 if (PyErr_Occurred()) SWIG_fail
;
27360 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
27367 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27368 PyObject
*resultobj
;
27369 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27370 wxTreeItemId
*arg2
= 0 ;
27371 PyObject
* obj0
= 0 ;
27372 PyObject
* obj1
= 0 ;
27373 char *kwnames
[] = {
27374 (char *) "self",(char *) "id", NULL
27377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
27378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27379 if (SWIG_arg_fail(1)) SWIG_fail
;
27381 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27382 if (SWIG_arg_fail(2)) SWIG_fail
;
27383 if (arg2
== NULL
) {
27384 SWIG_null_ref("wxTreeItemId");
27386 if (SWIG_arg_fail(2)) SWIG_fail
;
27389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27390 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
27392 wxPyEndAllowThreads(__tstate
);
27393 if (PyErr_Occurred()) SWIG_fail
;
27395 Py_INCREF(Py_None
); resultobj
= Py_None
;
27402 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27403 PyObject
*resultobj
;
27404 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27405 PyObject
* obj0
= 0 ;
27406 char *kwnames
[] = {
27407 (char *) "self", NULL
27410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
27411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27412 if (SWIG_arg_fail(1)) SWIG_fail
;
27414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27415 wxPyTreeItemData_Destroy(arg1
);
27417 wxPyEndAllowThreads(__tstate
);
27418 if (PyErr_Occurred()) SWIG_fail
;
27420 Py_INCREF(Py_None
); resultobj
= Py_None
;
27427 static PyObject
* TreeItemData_swigregister(PyObject
*, PyObject
*args
) {
27429 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27430 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
27432 return Py_BuildValue((char *)"");
27434 static PyObject
*_wrap_new_TreeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27435 PyObject
*resultobj
;
27436 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27437 int arg2
= (int) 0 ;
27438 wxTreeEvent
*result
;
27439 PyObject
* obj0
= 0 ;
27440 PyObject
* obj1
= 0 ;
27441 char *kwnames
[] = {
27442 (char *) "commandType",(char *) "id", NULL
27445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
27448 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
27449 if (SWIG_arg_fail(1)) SWIG_fail
;
27454 arg2
= (int)(SWIG_As_int(obj1
));
27455 if (SWIG_arg_fail(2)) SWIG_fail
;
27459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27460 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
27462 wxPyEndAllowThreads(__tstate
);
27463 if (PyErr_Occurred()) SWIG_fail
;
27465 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
27472 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27473 PyObject
*resultobj
;
27474 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27475 wxTreeItemId result
;
27476 PyObject
* obj0
= 0 ;
27477 char *kwnames
[] = {
27478 (char *) "self", NULL
27481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
27482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27483 if (SWIG_arg_fail(1)) SWIG_fail
;
27485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27486 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
27488 wxPyEndAllowThreads(__tstate
);
27489 if (PyErr_Occurred()) SWIG_fail
;
27492 wxTreeItemId
* resultptr
;
27493 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
27494 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27502 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27503 PyObject
*resultobj
;
27504 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27505 wxTreeItemId
*arg2
= 0 ;
27506 PyObject
* obj0
= 0 ;
27507 PyObject
* obj1
= 0 ;
27508 char *kwnames
[] = {
27509 (char *) "self",(char *) "item", NULL
27512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27514 if (SWIG_arg_fail(1)) SWIG_fail
;
27516 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27517 if (SWIG_arg_fail(2)) SWIG_fail
;
27518 if (arg2
== NULL
) {
27519 SWIG_null_ref("wxTreeItemId");
27521 if (SWIG_arg_fail(2)) SWIG_fail
;
27524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27525 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
27527 wxPyEndAllowThreads(__tstate
);
27528 if (PyErr_Occurred()) SWIG_fail
;
27530 Py_INCREF(Py_None
); resultobj
= Py_None
;
27537 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27538 PyObject
*resultobj
;
27539 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27540 wxTreeItemId result
;
27541 PyObject
* obj0
= 0 ;
27542 char *kwnames
[] = {
27543 (char *) "self", NULL
27546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
27547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27548 if (SWIG_arg_fail(1)) SWIG_fail
;
27550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27551 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
27553 wxPyEndAllowThreads(__tstate
);
27554 if (PyErr_Occurred()) SWIG_fail
;
27557 wxTreeItemId
* resultptr
;
27558 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
27559 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27567 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27568 PyObject
*resultobj
;
27569 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27570 wxTreeItemId
*arg2
= 0 ;
27571 PyObject
* obj0
= 0 ;
27572 PyObject
* obj1
= 0 ;
27573 char *kwnames
[] = {
27574 (char *) "self",(char *) "item", NULL
27577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27579 if (SWIG_arg_fail(1)) SWIG_fail
;
27581 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27582 if (SWIG_arg_fail(2)) SWIG_fail
;
27583 if (arg2
== NULL
) {
27584 SWIG_null_ref("wxTreeItemId");
27586 if (SWIG_arg_fail(2)) SWIG_fail
;
27589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27590 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
27592 wxPyEndAllowThreads(__tstate
);
27593 if (PyErr_Occurred()) SWIG_fail
;
27595 Py_INCREF(Py_None
); resultobj
= Py_None
;
27602 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27603 PyObject
*resultobj
;
27604 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27606 PyObject
* obj0
= 0 ;
27607 char *kwnames
[] = {
27608 (char *) "self", NULL
27611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
27612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27613 if (SWIG_arg_fail(1)) SWIG_fail
;
27615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27616 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
27618 wxPyEndAllowThreads(__tstate
);
27619 if (PyErr_Occurred()) SWIG_fail
;
27622 wxPoint
* resultptr
;
27623 resultptr
= new wxPoint((wxPoint
&)(result
));
27624 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
27632 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27633 PyObject
*resultobj
;
27634 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27635 wxPoint
*arg2
= 0 ;
27637 PyObject
* obj0
= 0 ;
27638 PyObject
* obj1
= 0 ;
27639 char *kwnames
[] = {
27640 (char *) "self",(char *) "pt", NULL
27643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
27644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27645 if (SWIG_arg_fail(1)) SWIG_fail
;
27648 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27652 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
27654 wxPyEndAllowThreads(__tstate
);
27655 if (PyErr_Occurred()) SWIG_fail
;
27657 Py_INCREF(Py_None
); resultobj
= Py_None
;
27664 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27665 PyObject
*resultobj
;
27666 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27667 wxKeyEvent
*result
;
27668 PyObject
* obj0
= 0 ;
27669 char *kwnames
[] = {
27670 (char *) "self", NULL
27673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
27674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27675 if (SWIG_arg_fail(1)) SWIG_fail
;
27677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27679 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
27680 result
= (wxKeyEvent
*) &_result_ref
;
27683 wxPyEndAllowThreads(__tstate
);
27684 if (PyErr_Occurred()) SWIG_fail
;
27686 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
27693 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27694 PyObject
*resultobj
;
27695 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27697 PyObject
* obj0
= 0 ;
27698 char *kwnames
[] = {
27699 (char *) "self", NULL
27702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
27703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27704 if (SWIG_arg_fail(1)) SWIG_fail
;
27706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27707 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
27709 wxPyEndAllowThreads(__tstate
);
27710 if (PyErr_Occurred()) SWIG_fail
;
27713 resultobj
= SWIG_From_int((int)(result
));
27721 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27722 PyObject
*resultobj
;
27723 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27724 wxKeyEvent
*arg2
= 0 ;
27725 PyObject
* obj0
= 0 ;
27726 PyObject
* obj1
= 0 ;
27727 char *kwnames
[] = {
27728 (char *) "self",(char *) "evt", NULL
27731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
27732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27733 if (SWIG_arg_fail(1)) SWIG_fail
;
27735 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
27736 if (SWIG_arg_fail(2)) SWIG_fail
;
27737 if (arg2
== NULL
) {
27738 SWIG_null_ref("wxKeyEvent");
27740 if (SWIG_arg_fail(2)) SWIG_fail
;
27743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27744 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
27746 wxPyEndAllowThreads(__tstate
);
27747 if (PyErr_Occurred()) SWIG_fail
;
27749 Py_INCREF(Py_None
); resultobj
= Py_None
;
27756 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27757 PyObject
*resultobj
;
27758 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27760 PyObject
* obj0
= 0 ;
27761 char *kwnames
[] = {
27762 (char *) "self", NULL
27765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
27766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27767 if (SWIG_arg_fail(1)) SWIG_fail
;
27769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27771 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
27772 result
= (wxString
*) &_result_ref
;
27775 wxPyEndAllowThreads(__tstate
);
27776 if (PyErr_Occurred()) SWIG_fail
;
27780 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27782 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27791 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27792 PyObject
*resultobj
;
27793 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27794 wxString
*arg2
= 0 ;
27795 bool temp2
= false ;
27796 PyObject
* obj0
= 0 ;
27797 PyObject
* obj1
= 0 ;
27798 char *kwnames
[] = {
27799 (char *) "self",(char *) "label", NULL
27802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
27803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27804 if (SWIG_arg_fail(1)) SWIG_fail
;
27806 arg2
= wxString_in_helper(obj1
);
27807 if (arg2
== NULL
) SWIG_fail
;
27811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27812 (arg1
)->SetLabel((wxString
const &)*arg2
);
27814 wxPyEndAllowThreads(__tstate
);
27815 if (PyErr_Occurred()) SWIG_fail
;
27817 Py_INCREF(Py_None
); resultobj
= Py_None
;
27832 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27833 PyObject
*resultobj
;
27834 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27836 PyObject
* obj0
= 0 ;
27837 char *kwnames
[] = {
27838 (char *) "self", NULL
27841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
27842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27843 if (SWIG_arg_fail(1)) SWIG_fail
;
27845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27846 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
27848 wxPyEndAllowThreads(__tstate
);
27849 if (PyErr_Occurred()) SWIG_fail
;
27852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27860 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27861 PyObject
*resultobj
;
27862 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27864 PyObject
* obj0
= 0 ;
27865 PyObject
* obj1
= 0 ;
27866 char *kwnames
[] = {
27867 (char *) "self",(char *) "editCancelled", NULL
27870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
27871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27872 if (SWIG_arg_fail(1)) SWIG_fail
;
27874 arg2
= (bool)(SWIG_As_bool(obj1
));
27875 if (SWIG_arg_fail(2)) SWIG_fail
;
27878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27879 (arg1
)->SetEditCanceled(arg2
);
27881 wxPyEndAllowThreads(__tstate
);
27882 if (PyErr_Occurred()) SWIG_fail
;
27884 Py_INCREF(Py_None
); resultobj
= Py_None
;
27891 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27892 PyObject
*resultobj
;
27893 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27894 wxString
*arg2
= 0 ;
27895 bool temp2
= false ;
27896 PyObject
* obj0
= 0 ;
27897 PyObject
* obj1
= 0 ;
27898 char *kwnames
[] = {
27899 (char *) "self",(char *) "toolTip", NULL
27902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
27903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27904 if (SWIG_arg_fail(1)) SWIG_fail
;
27906 arg2
= wxString_in_helper(obj1
);
27907 if (arg2
== NULL
) SWIG_fail
;
27911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27912 (arg1
)->SetToolTip((wxString
const &)*arg2
);
27914 wxPyEndAllowThreads(__tstate
);
27915 if (PyErr_Occurred()) SWIG_fail
;
27917 Py_INCREF(Py_None
); resultobj
= Py_None
;
27932 static PyObject
* TreeEvent_swigregister(PyObject
*, PyObject
*args
) {
27934 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27935 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
27937 return Py_BuildValue((char *)"");
27939 static PyObject
*_wrap_new_TreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27940 PyObject
*resultobj
;
27941 wxWindow
*arg1
= (wxWindow
*) 0 ;
27942 int arg2
= (int) -1 ;
27943 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27944 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27945 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27946 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27947 long arg5
= (long) wxTR_DEFAULT_STYLE
;
27948 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
27949 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
27950 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
27951 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27952 wxPyTreeCtrl
*result
;
27955 bool temp7
= false ;
27956 PyObject
* obj0
= 0 ;
27957 PyObject
* obj1
= 0 ;
27958 PyObject
* obj2
= 0 ;
27959 PyObject
* obj3
= 0 ;
27960 PyObject
* obj4
= 0 ;
27961 PyObject
* obj5
= 0 ;
27962 PyObject
* obj6
= 0 ;
27963 char *kwnames
[] = {
27964 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27969 if (SWIG_arg_fail(1)) SWIG_fail
;
27972 arg2
= (int)(SWIG_As_int(obj1
));
27973 if (SWIG_arg_fail(2)) SWIG_fail
;
27979 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27985 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27990 arg5
= (long)(SWIG_As_long(obj4
));
27991 if (SWIG_arg_fail(5)) SWIG_fail
;
27996 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
27997 if (SWIG_arg_fail(6)) SWIG_fail
;
27998 if (arg6
== NULL
) {
27999 SWIG_null_ref("wxValidator");
28001 if (SWIG_arg_fail(6)) SWIG_fail
;
28006 arg7
= wxString_in_helper(obj6
);
28007 if (arg7
== NULL
) SWIG_fail
;
28012 if (!wxPyCheckForApp()) SWIG_fail
;
28013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28014 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28016 wxPyEndAllowThreads(__tstate
);
28017 if (PyErr_Occurred()) SWIG_fail
;
28019 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
28034 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28035 PyObject
*resultobj
;
28036 wxPyTreeCtrl
*result
;
28037 char *kwnames
[] = {
28041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
28043 if (!wxPyCheckForApp()) SWIG_fail
;
28044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28045 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
28047 wxPyEndAllowThreads(__tstate
);
28048 if (PyErr_Occurred()) SWIG_fail
;
28050 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
28057 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28058 PyObject
*resultobj
;
28059 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28060 wxWindow
*arg2
= (wxWindow
*) 0 ;
28061 int arg3
= (int) -1 ;
28062 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28063 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28064 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28065 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28066 long arg6
= (long) wxTR_DEFAULT_STYLE
;
28067 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28068 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28069 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
28070 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28074 bool temp8
= false ;
28075 PyObject
* obj0
= 0 ;
28076 PyObject
* obj1
= 0 ;
28077 PyObject
* obj2
= 0 ;
28078 PyObject
* obj3
= 0 ;
28079 PyObject
* obj4
= 0 ;
28080 PyObject
* obj5
= 0 ;
28081 PyObject
* obj6
= 0 ;
28082 PyObject
* obj7
= 0 ;
28083 char *kwnames
[] = {
28084 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
28088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28089 if (SWIG_arg_fail(1)) SWIG_fail
;
28090 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28091 if (SWIG_arg_fail(2)) SWIG_fail
;
28094 arg3
= (int)(SWIG_As_int(obj2
));
28095 if (SWIG_arg_fail(3)) SWIG_fail
;
28101 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28107 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28112 arg6
= (long)(SWIG_As_long(obj5
));
28113 if (SWIG_arg_fail(6)) SWIG_fail
;
28118 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
28119 if (SWIG_arg_fail(7)) SWIG_fail
;
28120 if (arg7
== NULL
) {
28121 SWIG_null_ref("wxValidator");
28123 if (SWIG_arg_fail(7)) SWIG_fail
;
28128 arg8
= wxString_in_helper(obj7
);
28129 if (arg8
== NULL
) SWIG_fail
;
28134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28135 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28137 wxPyEndAllowThreads(__tstate
);
28138 if (PyErr_Occurred()) SWIG_fail
;
28141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28157 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28158 PyObject
*resultobj
;
28159 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28160 PyObject
*arg2
= (PyObject
*) 0 ;
28161 PyObject
*arg3
= (PyObject
*) 0 ;
28162 PyObject
* obj0
= 0 ;
28163 PyObject
* obj1
= 0 ;
28164 PyObject
* obj2
= 0 ;
28165 char *kwnames
[] = {
28166 (char *) "self",(char *) "self",(char *) "_class", NULL
28169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28171 if (SWIG_arg_fail(1)) SWIG_fail
;
28175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28176 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28178 wxPyEndAllowThreads(__tstate
);
28179 if (PyErr_Occurred()) SWIG_fail
;
28181 Py_INCREF(Py_None
); resultobj
= Py_None
;
28188 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28189 PyObject
*resultobj
;
28190 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28192 PyObject
* obj0
= 0 ;
28193 char *kwnames
[] = {
28194 (char *) "self", NULL
28197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",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
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
28204 wxPyEndAllowThreads(__tstate
);
28205 if (PyErr_Occurred()) SWIG_fail
;
28208 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
28216 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28217 PyObject
*resultobj
;
28218 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28219 unsigned int result
;
28220 PyObject
* obj0
= 0 ;
28221 char *kwnames
[] = {
28222 (char *) "self", NULL
28225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
28226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28227 if (SWIG_arg_fail(1)) SWIG_fail
;
28229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28230 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
28232 wxPyEndAllowThreads(__tstate
);
28233 if (PyErr_Occurred()) SWIG_fail
;
28236 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
28244 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28245 PyObject
*resultobj
;
28246 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28247 unsigned int arg2
;
28248 PyObject
* obj0
= 0 ;
28249 PyObject
* obj1
= 0 ;
28250 char *kwnames
[] = {
28251 (char *) "self",(char *) "indent", NULL
28254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
28255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28256 if (SWIG_arg_fail(1)) SWIG_fail
;
28258 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
28259 if (SWIG_arg_fail(2)) SWIG_fail
;
28262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28263 (arg1
)->SetIndent(arg2
);
28265 wxPyEndAllowThreads(__tstate
);
28266 if (PyErr_Occurred()) SWIG_fail
;
28268 Py_INCREF(Py_None
); resultobj
= Py_None
;
28275 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28276 PyObject
*resultobj
;
28277 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28278 unsigned int result
;
28279 PyObject
* obj0
= 0 ;
28280 char *kwnames
[] = {
28281 (char *) "self", NULL
28284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",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
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
28291 wxPyEndAllowThreads(__tstate
);
28292 if (PyErr_Occurred()) SWIG_fail
;
28295 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
28303 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28304 PyObject
*resultobj
;
28305 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28306 unsigned int arg2
;
28307 PyObject
* obj0
= 0 ;
28308 PyObject
* obj1
= 0 ;
28309 char *kwnames
[] = {
28310 (char *) "self",(char *) "spacing", NULL
28313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",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
;
28317 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
28318 if (SWIG_arg_fail(2)) SWIG_fail
;
28321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28322 (arg1
)->SetSpacing(arg2
);
28324 wxPyEndAllowThreads(__tstate
);
28325 if (PyErr_Occurred()) SWIG_fail
;
28327 Py_INCREF(Py_None
); resultobj
= Py_None
;
28334 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28335 PyObject
*resultobj
;
28336 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28337 wxImageList
*result
;
28338 PyObject
* obj0
= 0 ;
28339 char *kwnames
[] = {
28340 (char *) "self", NULL
28343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
28344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28345 if (SWIG_arg_fail(1)) SWIG_fail
;
28347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28348 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
28350 wxPyEndAllowThreads(__tstate
);
28351 if (PyErr_Occurred()) SWIG_fail
;
28354 resultobj
= wxPyMake_wxObject(result
, 0);
28362 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28363 PyObject
*resultobj
;
28364 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28365 wxImageList
*result
;
28366 PyObject
* obj0
= 0 ;
28367 char *kwnames
[] = {
28368 (char *) "self", NULL
28371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
28372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28373 if (SWIG_arg_fail(1)) SWIG_fail
;
28375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28376 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
28378 wxPyEndAllowThreads(__tstate
);
28379 if (PyErr_Occurred()) SWIG_fail
;
28382 resultobj
= wxPyMake_wxObject(result
, 0);
28390 static PyObject
*_wrap_TreeCtrl_SetImageList(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_SetImageList",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
| 0);
28404 if (SWIG_arg_fail(2)) SWIG_fail
;
28406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28407 (arg1
)->SetImageList(arg2
);
28409 wxPyEndAllowThreads(__tstate
);
28410 if (PyErr_Occurred()) SWIG_fail
;
28412 Py_INCREF(Py_None
); resultobj
= Py_None
;
28419 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28420 PyObject
*resultobj
;
28421 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28422 wxImageList
*arg2
= (wxImageList
*) 0 ;
28423 PyObject
* obj0
= 0 ;
28424 PyObject
* obj1
= 0 ;
28425 char *kwnames
[] = {
28426 (char *) "self",(char *) "imageList", NULL
28429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28431 if (SWIG_arg_fail(1)) SWIG_fail
;
28432 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
28433 if (SWIG_arg_fail(2)) SWIG_fail
;
28435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28436 (arg1
)->SetStateImageList(arg2
);
28438 wxPyEndAllowThreads(__tstate
);
28439 if (PyErr_Occurred()) SWIG_fail
;
28441 Py_INCREF(Py_None
); resultobj
= Py_None
;
28448 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28449 PyObject
*resultobj
;
28450 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28451 wxImageList
*arg2
= (wxImageList
*) 0 ;
28452 PyObject
* obj0
= 0 ;
28453 PyObject
* obj1
= 0 ;
28454 char *kwnames
[] = {
28455 (char *) "self",(char *) "imageList", NULL
28458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28460 if (SWIG_arg_fail(1)) SWIG_fail
;
28461 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28462 if (SWIG_arg_fail(2)) SWIG_fail
;
28464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28465 (arg1
)->AssignImageList(arg2
);
28467 wxPyEndAllowThreads(__tstate
);
28468 if (PyErr_Occurred()) SWIG_fail
;
28470 Py_INCREF(Py_None
); resultobj
= Py_None
;
28477 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28478 PyObject
*resultobj
;
28479 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28480 wxImageList
*arg2
= (wxImageList
*) 0 ;
28481 PyObject
* obj0
= 0 ;
28482 PyObject
* obj1
= 0 ;
28483 char *kwnames
[] = {
28484 (char *) "self",(char *) "imageList", NULL
28487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28489 if (SWIG_arg_fail(1)) SWIG_fail
;
28490 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28491 if (SWIG_arg_fail(2)) SWIG_fail
;
28493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28494 (arg1
)->AssignStateImageList(arg2
);
28496 wxPyEndAllowThreads(__tstate
);
28497 if (PyErr_Occurred()) SWIG_fail
;
28499 Py_INCREF(Py_None
); resultobj
= Py_None
;
28506 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28507 PyObject
*resultobj
;
28508 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28509 wxTreeItemId
*arg2
= 0 ;
28511 PyObject
* obj0
= 0 ;
28512 PyObject
* obj1
= 0 ;
28513 char *kwnames
[] = {
28514 (char *) "self",(char *) "item", NULL
28517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
28518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28519 if (SWIG_arg_fail(1)) SWIG_fail
;
28521 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28522 if (SWIG_arg_fail(2)) SWIG_fail
;
28523 if (arg2
== NULL
) {
28524 SWIG_null_ref("wxTreeItemId");
28526 if (SWIG_arg_fail(2)) SWIG_fail
;
28529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28530 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
28532 wxPyEndAllowThreads(__tstate
);
28533 if (PyErr_Occurred()) SWIG_fail
;
28537 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28539 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28548 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28549 PyObject
*resultobj
;
28550 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28551 wxTreeItemId
*arg2
= 0 ;
28552 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
28554 PyObject
* obj0
= 0 ;
28555 PyObject
* obj1
= 0 ;
28556 PyObject
* obj2
= 0 ;
28557 char *kwnames
[] = {
28558 (char *) "self",(char *) "item",(char *) "which", NULL
28561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28563 if (SWIG_arg_fail(1)) SWIG_fail
;
28565 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28566 if (SWIG_arg_fail(2)) SWIG_fail
;
28567 if (arg2
== NULL
) {
28568 SWIG_null_ref("wxTreeItemId");
28570 if (SWIG_arg_fail(2)) SWIG_fail
;
28574 arg3
= (wxTreeItemIcon
)(SWIG_As_int(obj2
));
28575 if (SWIG_arg_fail(3)) SWIG_fail
;
28579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28580 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
28582 wxPyEndAllowThreads(__tstate
);
28583 if (PyErr_Occurred()) SWIG_fail
;
28586 resultobj
= SWIG_From_int((int)(result
));
28594 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28595 PyObject
*resultobj
;
28596 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28597 wxTreeItemId
*arg2
= 0 ;
28598 wxPyTreeItemData
*result
;
28599 PyObject
* obj0
= 0 ;
28600 PyObject
* obj1
= 0 ;
28601 char *kwnames
[] = {
28602 (char *) "self",(char *) "item", NULL
28605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
28606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28607 if (SWIG_arg_fail(1)) SWIG_fail
;
28609 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28610 if (SWIG_arg_fail(2)) SWIG_fail
;
28611 if (arg2
== NULL
) {
28612 SWIG_null_ref("wxTreeItemId");
28614 if (SWIG_arg_fail(2)) SWIG_fail
;
28617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28618 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
28620 wxPyEndAllowThreads(__tstate
);
28621 if (PyErr_Occurred()) SWIG_fail
;
28623 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
28630 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28631 PyObject
*resultobj
;
28632 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28633 wxTreeItemId
*arg2
= 0 ;
28635 PyObject
* obj0
= 0 ;
28636 PyObject
* obj1
= 0 ;
28637 char *kwnames
[] = {
28638 (char *) "self",(char *) "item", NULL
28641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
28642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28643 if (SWIG_arg_fail(1)) SWIG_fail
;
28645 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28646 if (SWIG_arg_fail(2)) SWIG_fail
;
28647 if (arg2
== NULL
) {
28648 SWIG_null_ref("wxTreeItemId");
28650 if (SWIG_arg_fail(2)) SWIG_fail
;
28653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28654 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
28656 wxPyEndAllowThreads(__tstate
);
28657 if (PyErr_Occurred()) SWIG_fail
;
28659 resultobj
= result
;
28666 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28667 PyObject
*resultobj
;
28668 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28669 wxTreeItemId
*arg2
= 0 ;
28671 PyObject
* obj0
= 0 ;
28672 PyObject
* obj1
= 0 ;
28673 char *kwnames
[] = {
28674 (char *) "self",(char *) "item", NULL
28677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28679 if (SWIG_arg_fail(1)) SWIG_fail
;
28681 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28682 if (SWIG_arg_fail(2)) SWIG_fail
;
28683 if (arg2
== NULL
) {
28684 SWIG_null_ref("wxTreeItemId");
28686 if (SWIG_arg_fail(2)) SWIG_fail
;
28689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28690 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
28692 wxPyEndAllowThreads(__tstate
);
28693 if (PyErr_Occurred()) SWIG_fail
;
28696 wxColour
* resultptr
;
28697 resultptr
= new wxColour((wxColour
&)(result
));
28698 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
28706 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28707 PyObject
*resultobj
;
28708 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28709 wxTreeItemId
*arg2
= 0 ;
28711 PyObject
* obj0
= 0 ;
28712 PyObject
* obj1
= 0 ;
28713 char *kwnames
[] = {
28714 (char *) "self",(char *) "item", NULL
28717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28719 if (SWIG_arg_fail(1)) SWIG_fail
;
28721 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28722 if (SWIG_arg_fail(2)) SWIG_fail
;
28723 if (arg2
== NULL
) {
28724 SWIG_null_ref("wxTreeItemId");
28726 if (SWIG_arg_fail(2)) SWIG_fail
;
28729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28730 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
28732 wxPyEndAllowThreads(__tstate
);
28733 if (PyErr_Occurred()) SWIG_fail
;
28736 wxColour
* resultptr
;
28737 resultptr
= new wxColour((wxColour
&)(result
));
28738 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
28746 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28747 PyObject
*resultobj
;
28748 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28749 wxTreeItemId
*arg2
= 0 ;
28751 PyObject
* obj0
= 0 ;
28752 PyObject
* obj1
= 0 ;
28753 char *kwnames
[] = {
28754 (char *) "self",(char *) "item", NULL
28757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
28758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28759 if (SWIG_arg_fail(1)) SWIG_fail
;
28761 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28762 if (SWIG_arg_fail(2)) SWIG_fail
;
28763 if (arg2
== NULL
) {
28764 SWIG_null_ref("wxTreeItemId");
28766 if (SWIG_arg_fail(2)) SWIG_fail
;
28769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28770 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
28772 wxPyEndAllowThreads(__tstate
);
28773 if (PyErr_Occurred()) SWIG_fail
;
28776 wxFont
* resultptr
;
28777 resultptr
= new wxFont((wxFont
&)(result
));
28778 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
28786 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28787 PyObject
*resultobj
;
28788 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28789 wxTreeItemId
*arg2
= 0 ;
28790 wxString
*arg3
= 0 ;
28791 bool temp3
= false ;
28792 PyObject
* obj0
= 0 ;
28793 PyObject
* obj1
= 0 ;
28794 PyObject
* obj2
= 0 ;
28795 char *kwnames
[] = {
28796 (char *) "self",(char *) "item",(char *) "text", NULL
28799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28801 if (SWIG_arg_fail(1)) SWIG_fail
;
28803 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28804 if (SWIG_arg_fail(2)) SWIG_fail
;
28805 if (arg2
== NULL
) {
28806 SWIG_null_ref("wxTreeItemId");
28808 if (SWIG_arg_fail(2)) SWIG_fail
;
28811 arg3
= wxString_in_helper(obj2
);
28812 if (arg3
== NULL
) SWIG_fail
;
28816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28817 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
28819 wxPyEndAllowThreads(__tstate
);
28820 if (PyErr_Occurred()) SWIG_fail
;
28822 Py_INCREF(Py_None
); resultobj
= Py_None
;
28837 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28838 PyObject
*resultobj
;
28839 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28840 wxTreeItemId
*arg2
= 0 ;
28842 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
28843 PyObject
* obj0
= 0 ;
28844 PyObject
* obj1
= 0 ;
28845 PyObject
* obj2
= 0 ;
28846 PyObject
* obj3
= 0 ;
28847 char *kwnames
[] = {
28848 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
28851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28853 if (SWIG_arg_fail(1)) SWIG_fail
;
28855 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28856 if (SWIG_arg_fail(2)) SWIG_fail
;
28857 if (arg2
== NULL
) {
28858 SWIG_null_ref("wxTreeItemId");
28860 if (SWIG_arg_fail(2)) SWIG_fail
;
28863 arg3
= (int)(SWIG_As_int(obj2
));
28864 if (SWIG_arg_fail(3)) SWIG_fail
;
28868 arg4
= (wxTreeItemIcon
)(SWIG_As_int(obj3
));
28869 if (SWIG_arg_fail(4)) SWIG_fail
;
28873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28874 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
28876 wxPyEndAllowThreads(__tstate
);
28877 if (PyErr_Occurred()) SWIG_fail
;
28879 Py_INCREF(Py_None
); resultobj
= Py_None
;
28886 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28887 PyObject
*resultobj
;
28888 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28889 wxTreeItemId
*arg2
= 0 ;
28890 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
28891 PyObject
* obj0
= 0 ;
28892 PyObject
* obj1
= 0 ;
28893 PyObject
* obj2
= 0 ;
28894 char *kwnames
[] = {
28895 (char *) "self",(char *) "item",(char *) "data", NULL
28898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28900 if (SWIG_arg_fail(1)) SWIG_fail
;
28902 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28903 if (SWIG_arg_fail(2)) SWIG_fail
;
28904 if (arg2
== NULL
) {
28905 SWIG_null_ref("wxTreeItemId");
28907 if (SWIG_arg_fail(2)) SWIG_fail
;
28909 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
28910 if (SWIG_arg_fail(3)) SWIG_fail
;
28912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28913 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
28915 wxPyEndAllowThreads(__tstate
);
28916 if (PyErr_Occurred()) SWIG_fail
;
28918 Py_INCREF(Py_None
); resultobj
= Py_None
;
28925 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28926 PyObject
*resultobj
;
28927 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28928 wxTreeItemId
*arg2
= 0 ;
28929 PyObject
*arg3
= (PyObject
*) 0 ;
28930 PyObject
* obj0
= 0 ;
28931 PyObject
* obj1
= 0 ;
28932 PyObject
* obj2
= 0 ;
28933 char *kwnames
[] = {
28934 (char *) "self",(char *) "item",(char *) "obj", NULL
28937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28939 if (SWIG_arg_fail(1)) SWIG_fail
;
28941 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28942 if (SWIG_arg_fail(2)) SWIG_fail
;
28943 if (arg2
== NULL
) {
28944 SWIG_null_ref("wxTreeItemId");
28946 if (SWIG_arg_fail(2)) SWIG_fail
;
28950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28951 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
28953 wxPyEndAllowThreads(__tstate
);
28954 if (PyErr_Occurred()) SWIG_fail
;
28956 Py_INCREF(Py_None
); resultobj
= Py_None
;
28963 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28964 PyObject
*resultobj
;
28965 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28966 wxTreeItemId
*arg2
= 0 ;
28967 bool arg3
= (bool) true ;
28968 PyObject
* obj0
= 0 ;
28969 PyObject
* obj1
= 0 ;
28970 PyObject
* obj2
= 0 ;
28971 char *kwnames
[] = {
28972 (char *) "self",(char *) "item",(char *) "has", NULL
28975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28977 if (SWIG_arg_fail(1)) SWIG_fail
;
28979 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28980 if (SWIG_arg_fail(2)) SWIG_fail
;
28981 if (arg2
== NULL
) {
28982 SWIG_null_ref("wxTreeItemId");
28984 if (SWIG_arg_fail(2)) SWIG_fail
;
28988 arg3
= (bool)(SWIG_As_bool(obj2
));
28989 if (SWIG_arg_fail(3)) SWIG_fail
;
28993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28994 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
28996 wxPyEndAllowThreads(__tstate
);
28997 if (PyErr_Occurred()) SWIG_fail
;
28999 Py_INCREF(Py_None
); resultobj
= Py_None
;
29006 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29007 PyObject
*resultobj
;
29008 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29009 wxTreeItemId
*arg2
= 0 ;
29010 bool arg3
= (bool) true ;
29011 PyObject
* obj0
= 0 ;
29012 PyObject
* obj1
= 0 ;
29013 PyObject
* obj2
= 0 ;
29014 char *kwnames
[] = {
29015 (char *) "self",(char *) "item",(char *) "bold", NULL
29018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",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 arg3
= (bool)(SWIG_As_bool(obj2
));
29032 if (SWIG_arg_fail(3)) SWIG_fail
;
29036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29037 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
29039 wxPyEndAllowThreads(__tstate
);
29040 if (PyErr_Occurred()) SWIG_fail
;
29042 Py_INCREF(Py_None
); resultobj
= Py_None
;
29049 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29050 PyObject
*resultobj
;
29051 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29052 wxTreeItemId
*arg2
= 0 ;
29053 wxColour
*arg3
= 0 ;
29055 PyObject
* obj0
= 0 ;
29056 PyObject
* obj1
= 0 ;
29057 PyObject
* obj2
= 0 ;
29058 char *kwnames
[] = {
29059 (char *) "self",(char *) "item",(char *) "col", NULL
29062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29064 if (SWIG_arg_fail(1)) SWIG_fail
;
29066 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29067 if (SWIG_arg_fail(2)) SWIG_fail
;
29068 if (arg2
== NULL
) {
29069 SWIG_null_ref("wxTreeItemId");
29071 if (SWIG_arg_fail(2)) SWIG_fail
;
29075 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29079 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
29081 wxPyEndAllowThreads(__tstate
);
29082 if (PyErr_Occurred()) SWIG_fail
;
29084 Py_INCREF(Py_None
); resultobj
= Py_None
;
29091 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29092 PyObject
*resultobj
;
29093 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29094 wxTreeItemId
*arg2
= 0 ;
29095 wxColour
*arg3
= 0 ;
29097 PyObject
* obj0
= 0 ;
29098 PyObject
* obj1
= 0 ;
29099 PyObject
* obj2
= 0 ;
29100 char *kwnames
[] = {
29101 (char *) "self",(char *) "item",(char *) "col", NULL
29104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29106 if (SWIG_arg_fail(1)) SWIG_fail
;
29108 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29109 if (SWIG_arg_fail(2)) SWIG_fail
;
29110 if (arg2
== NULL
) {
29111 SWIG_null_ref("wxTreeItemId");
29113 if (SWIG_arg_fail(2)) SWIG_fail
;
29117 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29121 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
29123 wxPyEndAllowThreads(__tstate
);
29124 if (PyErr_Occurred()) SWIG_fail
;
29126 Py_INCREF(Py_None
); resultobj
= Py_None
;
29133 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29134 PyObject
*resultobj
;
29135 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29136 wxTreeItemId
*arg2
= 0 ;
29138 PyObject
* obj0
= 0 ;
29139 PyObject
* obj1
= 0 ;
29140 PyObject
* obj2
= 0 ;
29141 char *kwnames
[] = {
29142 (char *) "self",(char *) "item",(char *) "font", NULL
29145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) 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 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29158 if (SWIG_arg_fail(3)) SWIG_fail
;
29159 if (arg3
== NULL
) {
29160 SWIG_null_ref("wxFont");
29162 if (SWIG_arg_fail(3)) SWIG_fail
;
29165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29166 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
29168 wxPyEndAllowThreads(__tstate
);
29169 if (PyErr_Occurred()) SWIG_fail
;
29171 Py_INCREF(Py_None
); resultobj
= Py_None
;
29178 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29179 PyObject
*resultobj
;
29180 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29181 wxTreeItemId
*arg2
= 0 ;
29183 PyObject
* obj0
= 0 ;
29184 PyObject
* obj1
= 0 ;
29185 char *kwnames
[] = {
29186 (char *) "self",(char *) "item", NULL
29189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29191 if (SWIG_arg_fail(1)) SWIG_fail
;
29193 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29194 if (SWIG_arg_fail(2)) SWIG_fail
;
29195 if (arg2
== NULL
) {
29196 SWIG_null_ref("wxTreeItemId");
29198 if (SWIG_arg_fail(2)) SWIG_fail
;
29201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29202 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
29204 wxPyEndAllowThreads(__tstate
);
29205 if (PyErr_Occurred()) SWIG_fail
;
29208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29216 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29217 PyObject
*resultobj
;
29218 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29219 wxTreeItemId
*arg2
= 0 ;
29221 PyObject
* obj0
= 0 ;
29222 PyObject
* obj1
= 0 ;
29223 char *kwnames
[] = {
29224 (char *) "self",(char *) "item", NULL
29227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
29228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29229 if (SWIG_arg_fail(1)) SWIG_fail
;
29231 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29232 if (SWIG_arg_fail(2)) SWIG_fail
;
29233 if (arg2
== NULL
) {
29234 SWIG_null_ref("wxTreeItemId");
29236 if (SWIG_arg_fail(2)) SWIG_fail
;
29239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29240 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
29242 wxPyEndAllowThreads(__tstate
);
29243 if (PyErr_Occurred()) SWIG_fail
;
29246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29254 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29255 PyObject
*resultobj
;
29256 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29257 wxTreeItemId
*arg2
= 0 ;
29259 PyObject
* obj0
= 0 ;
29260 PyObject
* obj1
= 0 ;
29261 char *kwnames
[] = {
29262 (char *) "self",(char *) "item", NULL
29265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
29266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29267 if (SWIG_arg_fail(1)) SWIG_fail
;
29269 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29270 if (SWIG_arg_fail(2)) SWIG_fail
;
29271 if (arg2
== NULL
) {
29272 SWIG_null_ref("wxTreeItemId");
29274 if (SWIG_arg_fail(2)) SWIG_fail
;
29277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29278 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
29280 wxPyEndAllowThreads(__tstate
);
29281 if (PyErr_Occurred()) SWIG_fail
;
29284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29292 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29293 PyObject
*resultobj
;
29294 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29295 wxTreeItemId
*arg2
= 0 ;
29297 PyObject
* obj0
= 0 ;
29298 PyObject
* obj1
= 0 ;
29299 char *kwnames
[] = {
29300 (char *) "self",(char *) "item", NULL
29303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
29304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29305 if (SWIG_arg_fail(1)) SWIG_fail
;
29307 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29308 if (SWIG_arg_fail(2)) SWIG_fail
;
29309 if (arg2
== NULL
) {
29310 SWIG_null_ref("wxTreeItemId");
29312 if (SWIG_arg_fail(2)) SWIG_fail
;
29315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29316 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
29318 wxPyEndAllowThreads(__tstate
);
29319 if (PyErr_Occurred()) SWIG_fail
;
29322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29330 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29331 PyObject
*resultobj
;
29332 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29333 wxTreeItemId
*arg2
= 0 ;
29335 PyObject
* obj0
= 0 ;
29336 PyObject
* obj1
= 0 ;
29337 char *kwnames
[] = {
29338 (char *) "self",(char *) "item", NULL
29341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
29342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29343 if (SWIG_arg_fail(1)) SWIG_fail
;
29345 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29346 if (SWIG_arg_fail(2)) SWIG_fail
;
29347 if (arg2
== NULL
) {
29348 SWIG_null_ref("wxTreeItemId");
29350 if (SWIG_arg_fail(2)) SWIG_fail
;
29353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29354 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
29356 wxPyEndAllowThreads(__tstate
);
29357 if (PyErr_Occurred()) SWIG_fail
;
29360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29368 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29369 PyObject
*resultobj
;
29370 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29371 wxTreeItemId
*arg2
= 0 ;
29372 bool arg3
= (bool) true ;
29374 PyObject
* obj0
= 0 ;
29375 PyObject
* obj1
= 0 ;
29376 PyObject
* obj2
= 0 ;
29377 char *kwnames
[] = {
29378 (char *) "self",(char *) "item",(char *) "recursively", NULL
29381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29383 if (SWIG_arg_fail(1)) SWIG_fail
;
29385 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29386 if (SWIG_arg_fail(2)) SWIG_fail
;
29387 if (arg2
== NULL
) {
29388 SWIG_null_ref("wxTreeItemId");
29390 if (SWIG_arg_fail(2)) SWIG_fail
;
29394 arg3
= (bool)(SWIG_As_bool(obj2
));
29395 if (SWIG_arg_fail(3)) SWIG_fail
;
29399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29400 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
29402 wxPyEndAllowThreads(__tstate
);
29403 if (PyErr_Occurred()) SWIG_fail
;
29406 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
29414 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29415 PyObject
*resultobj
;
29416 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29417 wxTreeItemId result
;
29418 PyObject
* obj0
= 0 ;
29419 char *kwnames
[] = {
29420 (char *) "self", NULL
29423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
29424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29425 if (SWIG_arg_fail(1)) SWIG_fail
;
29427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29428 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
29430 wxPyEndAllowThreads(__tstate
);
29431 if (PyErr_Occurred()) SWIG_fail
;
29434 wxTreeItemId
* resultptr
;
29435 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29436 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29444 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29445 PyObject
*resultobj
;
29446 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29447 wxTreeItemId result
;
29448 PyObject
* obj0
= 0 ;
29449 char *kwnames
[] = {
29450 (char *) "self", NULL
29453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
29454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29455 if (SWIG_arg_fail(1)) SWIG_fail
;
29457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29458 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
29460 wxPyEndAllowThreads(__tstate
);
29461 if (PyErr_Occurred()) SWIG_fail
;
29464 wxTreeItemId
* resultptr
;
29465 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29466 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29474 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29475 PyObject
*resultobj
;
29476 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29478 PyObject
* obj0
= 0 ;
29479 char *kwnames
[] = {
29480 (char *) "self", NULL
29483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
29484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29485 if (SWIG_arg_fail(1)) SWIG_fail
;
29487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29488 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
29490 wxPyEndAllowThreads(__tstate
);
29491 if (PyErr_Occurred()) SWIG_fail
;
29493 resultobj
= result
;
29500 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29501 PyObject
*resultobj
;
29502 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29503 wxTreeItemId
*arg2
= 0 ;
29504 wxTreeItemId result
;
29505 PyObject
* obj0
= 0 ;
29506 PyObject
* obj1
= 0 ;
29507 char *kwnames
[] = {
29508 (char *) "self",(char *) "item", NULL
29511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
29512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29513 if (SWIG_arg_fail(1)) SWIG_fail
;
29515 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29516 if (SWIG_arg_fail(2)) SWIG_fail
;
29517 if (arg2
== NULL
) {
29518 SWIG_null_ref("wxTreeItemId");
29520 if (SWIG_arg_fail(2)) SWIG_fail
;
29523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29524 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
29526 wxPyEndAllowThreads(__tstate
);
29527 if (PyErr_Occurred()) SWIG_fail
;
29530 wxTreeItemId
* resultptr
;
29531 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29532 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29540 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29541 PyObject
*resultobj
;
29542 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29543 wxTreeItemId
*arg2
= 0 ;
29545 PyObject
* obj0
= 0 ;
29546 PyObject
* obj1
= 0 ;
29547 char *kwnames
[] = {
29548 (char *) "self",(char *) "item", NULL
29551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29553 if (SWIG_arg_fail(1)) SWIG_fail
;
29555 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29556 if (SWIG_arg_fail(2)) SWIG_fail
;
29557 if (arg2
== NULL
) {
29558 SWIG_null_ref("wxTreeItemId");
29560 if (SWIG_arg_fail(2)) SWIG_fail
;
29563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29564 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
29566 wxPyEndAllowThreads(__tstate
);
29567 if (PyErr_Occurred()) SWIG_fail
;
29569 resultobj
= result
;
29576 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29577 PyObject
*resultobj
;
29578 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29579 wxTreeItemId
*arg2
= 0 ;
29580 void *arg3
= (void *) 0 ;
29582 PyObject
* obj0
= 0 ;
29583 PyObject
* obj1
= 0 ;
29584 PyObject
* obj2
= 0 ;
29585 char *kwnames
[] = {
29586 (char *) "self",(char *) "item",(char *) "cookie", NULL
29589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29591 if (SWIG_arg_fail(1)) SWIG_fail
;
29593 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29594 if (SWIG_arg_fail(2)) SWIG_fail
;
29595 if (arg2
== NULL
) {
29596 SWIG_null_ref("wxTreeItemId");
29598 if (SWIG_arg_fail(2)) SWIG_fail
;
29601 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),0,SWIG_POINTER_EXCEPTION
|0))== -1) {
29602 SWIG_arg_fail(3);SWIG_fail
;
29606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29607 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
29609 wxPyEndAllowThreads(__tstate
);
29610 if (PyErr_Occurred()) SWIG_fail
;
29612 resultobj
= result
;
29619 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29620 PyObject
*resultobj
;
29621 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29622 wxTreeItemId
*arg2
= 0 ;
29623 wxTreeItemId result
;
29624 PyObject
* obj0
= 0 ;
29625 PyObject
* obj1
= 0 ;
29626 char *kwnames
[] = {
29627 (char *) "self",(char *) "item", NULL
29630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29632 if (SWIG_arg_fail(1)) SWIG_fail
;
29634 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29635 if (SWIG_arg_fail(2)) SWIG_fail
;
29636 if (arg2
== NULL
) {
29637 SWIG_null_ref("wxTreeItemId");
29639 if (SWIG_arg_fail(2)) SWIG_fail
;
29642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29643 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
29645 wxPyEndAllowThreads(__tstate
);
29646 if (PyErr_Occurred()) SWIG_fail
;
29649 wxTreeItemId
* resultptr
;
29650 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29651 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29659 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29660 PyObject
*resultobj
;
29661 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29662 wxTreeItemId
*arg2
= 0 ;
29663 wxTreeItemId result
;
29664 PyObject
* obj0
= 0 ;
29665 PyObject
* obj1
= 0 ;
29666 char *kwnames
[] = {
29667 (char *) "self",(char *) "item", NULL
29670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
29671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29672 if (SWIG_arg_fail(1)) SWIG_fail
;
29674 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29675 if (SWIG_arg_fail(2)) SWIG_fail
;
29676 if (arg2
== NULL
) {
29677 SWIG_null_ref("wxTreeItemId");
29679 if (SWIG_arg_fail(2)) SWIG_fail
;
29682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29683 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
29685 wxPyEndAllowThreads(__tstate
);
29686 if (PyErr_Occurred()) SWIG_fail
;
29689 wxTreeItemId
* resultptr
;
29690 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29691 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29699 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29700 PyObject
*resultobj
;
29701 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29702 wxTreeItemId
*arg2
= 0 ;
29703 wxTreeItemId result
;
29704 PyObject
* obj0
= 0 ;
29705 PyObject
* obj1
= 0 ;
29706 char *kwnames
[] = {
29707 (char *) "self",(char *) "item", NULL
29710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
29711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29712 if (SWIG_arg_fail(1)) SWIG_fail
;
29714 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29715 if (SWIG_arg_fail(2)) SWIG_fail
;
29716 if (arg2
== NULL
) {
29717 SWIG_null_ref("wxTreeItemId");
29719 if (SWIG_arg_fail(2)) SWIG_fail
;
29722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29723 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
29725 wxPyEndAllowThreads(__tstate
);
29726 if (PyErr_Occurred()) SWIG_fail
;
29729 wxTreeItemId
* resultptr
;
29730 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29731 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29739 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29740 PyObject
*resultobj
;
29741 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29742 wxTreeItemId result
;
29743 PyObject
* obj0
= 0 ;
29744 char *kwnames
[] = {
29745 (char *) "self", NULL
29748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
29749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29750 if (SWIG_arg_fail(1)) SWIG_fail
;
29752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29753 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
29755 wxPyEndAllowThreads(__tstate
);
29756 if (PyErr_Occurred()) SWIG_fail
;
29759 wxTreeItemId
* resultptr
;
29760 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29761 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29769 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29770 PyObject
*resultobj
;
29771 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29772 wxTreeItemId
*arg2
= 0 ;
29773 wxTreeItemId result
;
29774 PyObject
* obj0
= 0 ;
29775 PyObject
* obj1
= 0 ;
29776 char *kwnames
[] = {
29777 (char *) "self",(char *) "item", NULL
29780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29782 if (SWIG_arg_fail(1)) SWIG_fail
;
29784 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29785 if (SWIG_arg_fail(2)) SWIG_fail
;
29786 if (arg2
== NULL
) {
29787 SWIG_null_ref("wxTreeItemId");
29789 if (SWIG_arg_fail(2)) SWIG_fail
;
29792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29793 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
29795 wxPyEndAllowThreads(__tstate
);
29796 if (PyErr_Occurred()) SWIG_fail
;
29799 wxTreeItemId
* resultptr
;
29800 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29801 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29809 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29810 PyObject
*resultobj
;
29811 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29812 wxTreeItemId
*arg2
= 0 ;
29813 wxTreeItemId result
;
29814 PyObject
* obj0
= 0 ;
29815 PyObject
* obj1
= 0 ;
29816 char *kwnames
[] = {
29817 (char *) "self",(char *) "item", NULL
29820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29822 if (SWIG_arg_fail(1)) SWIG_fail
;
29824 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29825 if (SWIG_arg_fail(2)) SWIG_fail
;
29826 if (arg2
== NULL
) {
29827 SWIG_null_ref("wxTreeItemId");
29829 if (SWIG_arg_fail(2)) SWIG_fail
;
29832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29833 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
29835 wxPyEndAllowThreads(__tstate
);
29836 if (PyErr_Occurred()) SWIG_fail
;
29839 wxTreeItemId
* resultptr
;
29840 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29841 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29849 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29850 PyObject
*resultobj
;
29851 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29852 wxString
*arg2
= 0 ;
29853 int arg3
= (int) -1 ;
29854 int arg4
= (int) -1 ;
29855 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
29856 wxTreeItemId result
;
29857 bool temp2
= false ;
29858 PyObject
* obj0
= 0 ;
29859 PyObject
* obj1
= 0 ;
29860 PyObject
* obj2
= 0 ;
29861 PyObject
* obj3
= 0 ;
29862 PyObject
* obj4
= 0 ;
29863 char *kwnames
[] = {
29864 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29869 if (SWIG_arg_fail(1)) SWIG_fail
;
29871 arg2
= wxString_in_helper(obj1
);
29872 if (arg2
== NULL
) SWIG_fail
;
29877 arg3
= (int)(SWIG_As_int(obj2
));
29878 if (SWIG_arg_fail(3)) SWIG_fail
;
29883 arg4
= (int)(SWIG_As_int(obj3
));
29884 if (SWIG_arg_fail(4)) SWIG_fail
;
29888 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
29889 if (SWIG_arg_fail(5)) SWIG_fail
;
29892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29893 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
29895 wxPyEndAllowThreads(__tstate
);
29896 if (PyErr_Occurred()) SWIG_fail
;
29899 wxTreeItemId
* resultptr
;
29900 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29901 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29917 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29918 PyObject
*resultobj
;
29919 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29920 wxTreeItemId
*arg2
= 0 ;
29921 wxString
*arg3
= 0 ;
29922 int arg4
= (int) -1 ;
29923 int arg5
= (int) -1 ;
29924 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
29925 wxTreeItemId result
;
29926 bool temp3
= false ;
29927 PyObject
* obj0
= 0 ;
29928 PyObject
* obj1
= 0 ;
29929 PyObject
* obj2
= 0 ;
29930 PyObject
* obj3
= 0 ;
29931 PyObject
* obj4
= 0 ;
29932 PyObject
* obj5
= 0 ;
29933 char *kwnames
[] = {
29934 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29939 if (SWIG_arg_fail(1)) SWIG_fail
;
29941 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29942 if (SWIG_arg_fail(2)) SWIG_fail
;
29943 if (arg2
== NULL
) {
29944 SWIG_null_ref("wxTreeItemId");
29946 if (SWIG_arg_fail(2)) SWIG_fail
;
29949 arg3
= wxString_in_helper(obj2
);
29950 if (arg3
== NULL
) SWIG_fail
;
29955 arg4
= (int)(SWIG_As_int(obj3
));
29956 if (SWIG_arg_fail(4)) SWIG_fail
;
29961 arg5
= (int)(SWIG_As_int(obj4
));
29962 if (SWIG_arg_fail(5)) SWIG_fail
;
29966 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
29967 if (SWIG_arg_fail(6)) SWIG_fail
;
29970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29971 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
29973 wxPyEndAllowThreads(__tstate
);
29974 if (PyErr_Occurred()) SWIG_fail
;
29977 wxTreeItemId
* resultptr
;
29978 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29979 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29995 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29996 PyObject
*resultobj
;
29997 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29998 wxTreeItemId
*arg2
= 0 ;
29999 wxTreeItemId
*arg3
= 0 ;
30000 wxString
*arg4
= 0 ;
30001 int arg5
= (int) -1 ;
30002 int arg6
= (int) -1 ;
30003 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
30004 wxTreeItemId result
;
30005 bool temp4
= false ;
30006 PyObject
* obj0
= 0 ;
30007 PyObject
* obj1
= 0 ;
30008 PyObject
* obj2
= 0 ;
30009 PyObject
* obj3
= 0 ;
30010 PyObject
* obj4
= 0 ;
30011 PyObject
* obj5
= 0 ;
30012 PyObject
* obj6
= 0 ;
30013 char *kwnames
[] = {
30014 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30019 if (SWIG_arg_fail(1)) SWIG_fail
;
30021 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30022 if (SWIG_arg_fail(2)) SWIG_fail
;
30023 if (arg2
== NULL
) {
30024 SWIG_null_ref("wxTreeItemId");
30026 if (SWIG_arg_fail(2)) SWIG_fail
;
30029 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30030 if (SWIG_arg_fail(3)) SWIG_fail
;
30031 if (arg3
== NULL
) {
30032 SWIG_null_ref("wxTreeItemId");
30034 if (SWIG_arg_fail(3)) SWIG_fail
;
30037 arg4
= wxString_in_helper(obj3
);
30038 if (arg4
== NULL
) SWIG_fail
;
30043 arg5
= (int)(SWIG_As_int(obj4
));
30044 if (SWIG_arg_fail(5)) SWIG_fail
;
30049 arg6
= (int)(SWIG_As_int(obj5
));
30050 if (SWIG_arg_fail(6)) SWIG_fail
;
30054 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30055 if (SWIG_arg_fail(7)) SWIG_fail
;
30058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30059 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
30061 wxPyEndAllowThreads(__tstate
);
30062 if (PyErr_Occurred()) SWIG_fail
;
30065 wxTreeItemId
* resultptr
;
30066 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30067 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30083 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30084 PyObject
*resultobj
;
30085 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30086 wxTreeItemId
*arg2
= 0 ;
30088 wxString
*arg4
= 0 ;
30089 int arg5
= (int) -1 ;
30090 int arg6
= (int) -1 ;
30091 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
30092 wxTreeItemId result
;
30093 bool temp4
= false ;
30094 PyObject
* obj0
= 0 ;
30095 PyObject
* obj1
= 0 ;
30096 PyObject
* obj2
= 0 ;
30097 PyObject
* obj3
= 0 ;
30098 PyObject
* obj4
= 0 ;
30099 PyObject
* obj5
= 0 ;
30100 PyObject
* obj6
= 0 ;
30101 char *kwnames
[] = {
30102 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30107 if (SWIG_arg_fail(1)) SWIG_fail
;
30109 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30110 if (SWIG_arg_fail(2)) SWIG_fail
;
30111 if (arg2
== NULL
) {
30112 SWIG_null_ref("wxTreeItemId");
30114 if (SWIG_arg_fail(2)) SWIG_fail
;
30117 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
30118 if (SWIG_arg_fail(3)) SWIG_fail
;
30121 arg4
= wxString_in_helper(obj3
);
30122 if (arg4
== NULL
) SWIG_fail
;
30127 arg5
= (int)(SWIG_As_int(obj4
));
30128 if (SWIG_arg_fail(5)) SWIG_fail
;
30133 arg6
= (int)(SWIG_As_int(obj5
));
30134 if (SWIG_arg_fail(6)) SWIG_fail
;
30138 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30139 if (SWIG_arg_fail(7)) SWIG_fail
;
30142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30143 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
30145 wxPyEndAllowThreads(__tstate
);
30146 if (PyErr_Occurred()) SWIG_fail
;
30149 wxTreeItemId
* resultptr
;
30150 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30151 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30167 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30168 PyObject
*resultobj
;
30169 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30170 wxTreeItemId
*arg2
= 0 ;
30171 wxString
*arg3
= 0 ;
30172 int arg4
= (int) -1 ;
30173 int arg5
= (int) -1 ;
30174 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
30175 wxTreeItemId result
;
30176 bool temp3
= false ;
30177 PyObject
* obj0
= 0 ;
30178 PyObject
* obj1
= 0 ;
30179 PyObject
* obj2
= 0 ;
30180 PyObject
* obj3
= 0 ;
30181 PyObject
* obj4
= 0 ;
30182 PyObject
* obj5
= 0 ;
30183 char *kwnames
[] = {
30184 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30189 if (SWIG_arg_fail(1)) SWIG_fail
;
30191 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30192 if (SWIG_arg_fail(2)) SWIG_fail
;
30193 if (arg2
== NULL
) {
30194 SWIG_null_ref("wxTreeItemId");
30196 if (SWIG_arg_fail(2)) SWIG_fail
;
30199 arg3
= wxString_in_helper(obj2
);
30200 if (arg3
== NULL
) SWIG_fail
;
30205 arg4
= (int)(SWIG_As_int(obj3
));
30206 if (SWIG_arg_fail(4)) SWIG_fail
;
30211 arg5
= (int)(SWIG_As_int(obj4
));
30212 if (SWIG_arg_fail(5)) SWIG_fail
;
30216 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30217 if (SWIG_arg_fail(6)) SWIG_fail
;
30220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30221 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
30223 wxPyEndAllowThreads(__tstate
);
30224 if (PyErr_Occurred()) SWIG_fail
;
30227 wxTreeItemId
* resultptr
;
30228 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30229 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30245 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30246 PyObject
*resultobj
;
30247 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30248 wxTreeItemId
*arg2
= 0 ;
30249 PyObject
* obj0
= 0 ;
30250 PyObject
* obj1
= 0 ;
30251 char *kwnames
[] = {
30252 (char *) "self",(char *) "item", NULL
30255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
30256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30257 if (SWIG_arg_fail(1)) SWIG_fail
;
30259 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30260 if (SWIG_arg_fail(2)) SWIG_fail
;
30261 if (arg2
== NULL
) {
30262 SWIG_null_ref("wxTreeItemId");
30264 if (SWIG_arg_fail(2)) SWIG_fail
;
30267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30268 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
30270 wxPyEndAllowThreads(__tstate
);
30271 if (PyErr_Occurred()) SWIG_fail
;
30273 Py_INCREF(Py_None
); resultobj
= Py_None
;
30280 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30281 PyObject
*resultobj
;
30282 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30283 wxTreeItemId
*arg2
= 0 ;
30284 PyObject
* obj0
= 0 ;
30285 PyObject
* obj1
= 0 ;
30286 char *kwnames
[] = {
30287 (char *) "self",(char *) "item", NULL
30290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
30291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30292 if (SWIG_arg_fail(1)) SWIG_fail
;
30294 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30295 if (SWIG_arg_fail(2)) SWIG_fail
;
30296 if (arg2
== NULL
) {
30297 SWIG_null_ref("wxTreeItemId");
30299 if (SWIG_arg_fail(2)) SWIG_fail
;
30302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30303 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
30305 wxPyEndAllowThreads(__tstate
);
30306 if (PyErr_Occurred()) SWIG_fail
;
30308 Py_INCREF(Py_None
); resultobj
= Py_None
;
30315 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30316 PyObject
*resultobj
;
30317 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30318 PyObject
* obj0
= 0 ;
30319 char *kwnames
[] = {
30320 (char *) "self", NULL
30323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
30324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30325 if (SWIG_arg_fail(1)) SWIG_fail
;
30327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30328 (arg1
)->DeleteAllItems();
30330 wxPyEndAllowThreads(__tstate
);
30331 if (PyErr_Occurred()) SWIG_fail
;
30333 Py_INCREF(Py_None
); resultobj
= Py_None
;
30340 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30341 PyObject
*resultobj
;
30342 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30343 wxTreeItemId
*arg2
= 0 ;
30344 PyObject
* obj0
= 0 ;
30345 PyObject
* obj1
= 0 ;
30346 char *kwnames
[] = {
30347 (char *) "self",(char *) "item", NULL
30350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
30351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30352 if (SWIG_arg_fail(1)) SWIG_fail
;
30354 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30355 if (SWIG_arg_fail(2)) SWIG_fail
;
30356 if (arg2
== NULL
) {
30357 SWIG_null_ref("wxTreeItemId");
30359 if (SWIG_arg_fail(2)) SWIG_fail
;
30362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30363 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
30365 wxPyEndAllowThreads(__tstate
);
30366 if (PyErr_Occurred()) SWIG_fail
;
30368 Py_INCREF(Py_None
); resultobj
= Py_None
;
30375 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30376 PyObject
*resultobj
;
30377 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30378 wxTreeItemId
*arg2
= 0 ;
30379 PyObject
* obj0
= 0 ;
30380 PyObject
* obj1
= 0 ;
30381 char *kwnames
[] = {
30382 (char *) "self",(char *) "item", NULL
30385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
30386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30387 if (SWIG_arg_fail(1)) SWIG_fail
;
30389 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30390 if (SWIG_arg_fail(2)) SWIG_fail
;
30391 if (arg2
== NULL
) {
30392 SWIG_null_ref("wxTreeItemId");
30394 if (SWIG_arg_fail(2)) SWIG_fail
;
30397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30398 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
30400 wxPyEndAllowThreads(__tstate
);
30401 if (PyErr_Occurred()) SWIG_fail
;
30403 Py_INCREF(Py_None
); resultobj
= Py_None
;
30410 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30411 PyObject
*resultobj
;
30412 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30413 wxTreeItemId
*arg2
= 0 ;
30414 PyObject
* obj0
= 0 ;
30415 PyObject
* obj1
= 0 ;
30416 char *kwnames
[] = {
30417 (char *) "self",(char *) "item", NULL
30420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
30421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30422 if (SWIG_arg_fail(1)) SWIG_fail
;
30424 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30425 if (SWIG_arg_fail(2)) SWIG_fail
;
30426 if (arg2
== NULL
) {
30427 SWIG_null_ref("wxTreeItemId");
30429 if (SWIG_arg_fail(2)) SWIG_fail
;
30432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30433 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
30435 wxPyEndAllowThreads(__tstate
);
30436 if (PyErr_Occurred()) SWIG_fail
;
30438 Py_INCREF(Py_None
); resultobj
= Py_None
;
30445 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30446 PyObject
*resultobj
;
30447 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30448 wxTreeItemId
*arg2
= 0 ;
30449 PyObject
* obj0
= 0 ;
30450 PyObject
* obj1
= 0 ;
30451 char *kwnames
[] = {
30452 (char *) "self",(char *) "item", NULL
30455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
30456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30457 if (SWIG_arg_fail(1)) SWIG_fail
;
30459 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30460 if (SWIG_arg_fail(2)) SWIG_fail
;
30461 if (arg2
== NULL
) {
30462 SWIG_null_ref("wxTreeItemId");
30464 if (SWIG_arg_fail(2)) SWIG_fail
;
30467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30468 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
30470 wxPyEndAllowThreads(__tstate
);
30471 if (PyErr_Occurred()) SWIG_fail
;
30473 Py_INCREF(Py_None
); resultobj
= Py_None
;
30480 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30481 PyObject
*resultobj
;
30482 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30483 PyObject
* obj0
= 0 ;
30484 char *kwnames
[] = {
30485 (char *) "self", NULL
30488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
30489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30490 if (SWIG_arg_fail(1)) SWIG_fail
;
30492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30493 (arg1
)->Unselect();
30495 wxPyEndAllowThreads(__tstate
);
30496 if (PyErr_Occurred()) SWIG_fail
;
30498 Py_INCREF(Py_None
); resultobj
= Py_None
;
30505 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30506 PyObject
*resultobj
;
30507 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30508 wxTreeItemId
*arg2
= 0 ;
30509 PyObject
* obj0
= 0 ;
30510 PyObject
* obj1
= 0 ;
30511 char *kwnames
[] = {
30512 (char *) "self",(char *) "item", NULL
30515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30517 if (SWIG_arg_fail(1)) SWIG_fail
;
30519 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30520 if (SWIG_arg_fail(2)) SWIG_fail
;
30521 if (arg2
== NULL
) {
30522 SWIG_null_ref("wxTreeItemId");
30524 if (SWIG_arg_fail(2)) SWIG_fail
;
30527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30528 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
30530 wxPyEndAllowThreads(__tstate
);
30531 if (PyErr_Occurred()) SWIG_fail
;
30533 Py_INCREF(Py_None
); resultobj
= Py_None
;
30540 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30541 PyObject
*resultobj
;
30542 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30543 PyObject
* obj0
= 0 ;
30544 char *kwnames
[] = {
30545 (char *) "self", NULL
30548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
30549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30550 if (SWIG_arg_fail(1)) SWIG_fail
;
30552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30553 (arg1
)->UnselectAll();
30555 wxPyEndAllowThreads(__tstate
);
30556 if (PyErr_Occurred()) SWIG_fail
;
30558 Py_INCREF(Py_None
); resultobj
= Py_None
;
30565 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30566 PyObject
*resultobj
;
30567 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30568 wxTreeItemId
*arg2
= 0 ;
30569 bool arg3
= (bool) true ;
30570 PyObject
* obj0
= 0 ;
30571 PyObject
* obj1
= 0 ;
30572 PyObject
* obj2
= 0 ;
30573 char *kwnames
[] = {
30574 (char *) "self",(char *) "item",(char *) "select", NULL
30577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30579 if (SWIG_arg_fail(1)) SWIG_fail
;
30581 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30582 if (SWIG_arg_fail(2)) SWIG_fail
;
30583 if (arg2
== NULL
) {
30584 SWIG_null_ref("wxTreeItemId");
30586 if (SWIG_arg_fail(2)) SWIG_fail
;
30590 arg3
= (bool)(SWIG_As_bool(obj2
));
30591 if (SWIG_arg_fail(3)) SWIG_fail
;
30595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30596 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
30598 wxPyEndAllowThreads(__tstate
);
30599 if (PyErr_Occurred()) SWIG_fail
;
30601 Py_INCREF(Py_None
); resultobj
= Py_None
;
30608 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30609 PyObject
*resultobj
;
30610 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30611 wxTreeItemId
*arg2
= 0 ;
30612 PyObject
* obj0
= 0 ;
30613 PyObject
* obj1
= 0 ;
30614 char *kwnames
[] = {
30615 (char *) "self",(char *) "item", NULL
30618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
30619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30620 if (SWIG_arg_fail(1)) SWIG_fail
;
30622 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30623 if (SWIG_arg_fail(2)) SWIG_fail
;
30624 if (arg2
== NULL
) {
30625 SWIG_null_ref("wxTreeItemId");
30627 if (SWIG_arg_fail(2)) SWIG_fail
;
30630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30631 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
30633 wxPyEndAllowThreads(__tstate
);
30634 if (PyErr_Occurred()) SWIG_fail
;
30636 Py_INCREF(Py_None
); resultobj
= Py_None
;
30643 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30644 PyObject
*resultobj
;
30645 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30646 wxTreeItemId
*arg2
= 0 ;
30647 PyObject
* obj0
= 0 ;
30648 PyObject
* obj1
= 0 ;
30649 char *kwnames
[] = {
30650 (char *) "self",(char *) "item", NULL
30653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
30654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30655 if (SWIG_arg_fail(1)) SWIG_fail
;
30657 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30658 if (SWIG_arg_fail(2)) SWIG_fail
;
30659 if (arg2
== NULL
) {
30660 SWIG_null_ref("wxTreeItemId");
30662 if (SWIG_arg_fail(2)) SWIG_fail
;
30665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30666 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
30668 wxPyEndAllowThreads(__tstate
);
30669 if (PyErr_Occurred()) SWIG_fail
;
30671 Py_INCREF(Py_None
); resultobj
= Py_None
;
30678 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30679 PyObject
*resultobj
;
30680 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30681 wxTreeItemId
*arg2
= 0 ;
30682 PyObject
* obj0
= 0 ;
30683 PyObject
* obj1
= 0 ;
30684 char *kwnames
[] = {
30685 (char *) "self",(char *) "item", NULL
30688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
30689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30690 if (SWIG_arg_fail(1)) SWIG_fail
;
30692 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30693 if (SWIG_arg_fail(2)) SWIG_fail
;
30694 if (arg2
== NULL
) {
30695 SWIG_null_ref("wxTreeItemId");
30697 if (SWIG_arg_fail(2)) SWIG_fail
;
30700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30701 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
30703 wxPyEndAllowThreads(__tstate
);
30704 if (PyErr_Occurred()) SWIG_fail
;
30706 Py_INCREF(Py_None
); resultobj
= Py_None
;
30713 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30714 PyObject
*resultobj
;
30715 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30716 wxTreeItemId
*arg2
= 0 ;
30717 PyObject
* obj0
= 0 ;
30718 PyObject
* obj1
= 0 ;
30719 char *kwnames
[] = {
30720 (char *) "self",(char *) "item", NULL
30723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
30724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30725 if (SWIG_arg_fail(1)) SWIG_fail
;
30727 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30728 if (SWIG_arg_fail(2)) SWIG_fail
;
30729 if (arg2
== NULL
) {
30730 SWIG_null_ref("wxTreeItemId");
30732 if (SWIG_arg_fail(2)) SWIG_fail
;
30735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30736 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
30738 wxPyEndAllowThreads(__tstate
);
30739 if (PyErr_Occurred()) SWIG_fail
;
30741 Py_INCREF(Py_None
); resultobj
= Py_None
;
30748 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30749 PyObject
*resultobj
;
30750 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30751 wxTextCtrl
*result
;
30752 PyObject
* obj0
= 0 ;
30753 char *kwnames
[] = {
30754 (char *) "self", NULL
30757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
30758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30759 if (SWIG_arg_fail(1)) SWIG_fail
;
30761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30762 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
30764 wxPyEndAllowThreads(__tstate
);
30765 if (PyErr_Occurred()) SWIG_fail
;
30768 resultobj
= wxPyMake_wxObject(result
, 0);
30776 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30777 PyObject
*resultobj
;
30778 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30779 wxTreeItemId
*arg2
= 0 ;
30780 PyObject
* obj0
= 0 ;
30781 PyObject
* obj1
= 0 ;
30782 char *kwnames
[] = {
30783 (char *) "self",(char *) "item", NULL
30786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
30787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30788 if (SWIG_arg_fail(1)) SWIG_fail
;
30790 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30791 if (SWIG_arg_fail(2)) SWIG_fail
;
30792 if (arg2
== NULL
) {
30793 SWIG_null_ref("wxTreeItemId");
30795 if (SWIG_arg_fail(2)) SWIG_fail
;
30798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30799 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
30801 wxPyEndAllowThreads(__tstate
);
30802 if (PyErr_Occurred()) SWIG_fail
;
30804 Py_INCREF(Py_None
); resultobj
= Py_None
;
30811 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30812 PyObject
*resultobj
;
30813 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30814 wxPoint
*arg2
= 0 ;
30816 wxTreeItemId result
;
30820 PyObject
* obj0
= 0 ;
30821 PyObject
* obj1
= 0 ;
30822 char *kwnames
[] = {
30823 (char *) "self",(char *) "point", NULL
30826 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
30828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30829 if (SWIG_arg_fail(1)) SWIG_fail
;
30832 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30836 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
30838 wxPyEndAllowThreads(__tstate
);
30839 if (PyErr_Occurred()) SWIG_fail
;
30842 wxTreeItemId
* resultptr
;
30843 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30844 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30846 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30847 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30854 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30855 PyObject
*resultobj
;
30856 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30857 wxTreeItemId
*arg2
= 0 ;
30858 bool arg3
= (bool) false ;
30860 PyObject
* obj0
= 0 ;
30861 PyObject
* obj1
= 0 ;
30862 PyObject
* obj2
= 0 ;
30863 char *kwnames
[] = {
30864 (char *) "self",(char *) "item",(char *) "textOnly", NULL
30867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30869 if (SWIG_arg_fail(1)) SWIG_fail
;
30871 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30872 if (SWIG_arg_fail(2)) SWIG_fail
;
30873 if (arg2
== NULL
) {
30874 SWIG_null_ref("wxTreeItemId");
30876 if (SWIG_arg_fail(2)) SWIG_fail
;
30880 arg3
= (bool)(SWIG_As_bool(obj2
));
30881 if (SWIG_arg_fail(3)) SWIG_fail
;
30885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30886 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
30888 wxPyEndAllowThreads(__tstate
);
30889 if (PyErr_Occurred()) SWIG_fail
;
30891 resultobj
= result
;
30898 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30899 PyObject
*resultobj
;
30900 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
30901 wxVisualAttributes result
;
30902 PyObject
* obj0
= 0 ;
30903 char *kwnames
[] = {
30904 (char *) "variant", NULL
30907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
30910 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
30911 if (SWIG_arg_fail(1)) SWIG_fail
;
30915 if (!wxPyCheckForApp()) SWIG_fail
;
30916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30917 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
30919 wxPyEndAllowThreads(__tstate
);
30920 if (PyErr_Occurred()) SWIG_fail
;
30923 wxVisualAttributes
* resultptr
;
30924 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
30925 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
30933 static PyObject
* TreeCtrl_swigregister(PyObject
*, PyObject
*args
) {
30935 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30936 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
30938 return Py_BuildValue((char *)"");
30940 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*) {
30941 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
30946 static PyObject
*_wrap_DirDialogDefaultFolderStr_get(void) {
30951 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
30953 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
30960 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30961 PyObject
*resultobj
;
30962 wxWindow
*arg1
= (wxWindow
*) 0 ;
30963 int arg2
= (int) (int)-1 ;
30964 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
30965 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
30966 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30967 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30968 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30969 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30970 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
30971 wxString
const &arg7_defvalue
= wxPyEmptyString
;
30972 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30973 int arg8
= (int) 0 ;
30974 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
30975 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
30976 wxGenericDirCtrl
*result
;
30977 bool temp3
= false ;
30980 bool temp7
= false ;
30981 bool temp9
= false ;
30982 PyObject
* obj0
= 0 ;
30983 PyObject
* obj1
= 0 ;
30984 PyObject
* obj2
= 0 ;
30985 PyObject
* obj3
= 0 ;
30986 PyObject
* obj4
= 0 ;
30987 PyObject
* obj5
= 0 ;
30988 PyObject
* obj6
= 0 ;
30989 PyObject
* obj7
= 0 ;
30990 PyObject
* obj8
= 0 ;
30991 char *kwnames
[] = {
30992 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
30995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
30996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30997 if (SWIG_arg_fail(1)) SWIG_fail
;
31000 arg2
= (int const)(SWIG_As_int(obj1
));
31001 if (SWIG_arg_fail(2)) SWIG_fail
;
31006 arg3
= wxString_in_helper(obj2
);
31007 if (arg3
== NULL
) SWIG_fail
;
31014 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31020 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31025 arg6
= (long)(SWIG_As_long(obj5
));
31026 if (SWIG_arg_fail(6)) SWIG_fail
;
31031 arg7
= wxString_in_helper(obj6
);
31032 if (arg7
== NULL
) SWIG_fail
;
31038 arg8
= (int)(SWIG_As_int(obj7
));
31039 if (SWIG_arg_fail(8)) SWIG_fail
;
31044 arg9
= wxString_in_helper(obj8
);
31045 if (arg9
== NULL
) SWIG_fail
;
31050 if (!wxPyCheckForApp()) SWIG_fail
;
31051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31052 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
31054 wxPyEndAllowThreads(__tstate
);
31055 if (PyErr_Occurred()) SWIG_fail
;
31057 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
31088 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31089 PyObject
*resultobj
;
31090 wxGenericDirCtrl
*result
;
31091 char *kwnames
[] = {
31095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
31097 if (!wxPyCheckForApp()) SWIG_fail
;
31098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31099 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
31101 wxPyEndAllowThreads(__tstate
);
31102 if (PyErr_Occurred()) SWIG_fail
;
31104 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
31111 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31112 PyObject
*resultobj
;
31113 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31114 wxWindow
*arg2
= (wxWindow
*) 0 ;
31115 int arg3
= (int) (int)-1 ;
31116 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
31117 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
31118 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
31119 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
31120 wxSize
const &arg6_defvalue
= wxDefaultSize
;
31121 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
31122 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
31123 wxString
const &arg8_defvalue
= wxPyEmptyString
;
31124 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
31125 int arg9
= (int) 0 ;
31126 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
31127 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
31129 bool temp4
= false ;
31132 bool temp8
= false ;
31133 bool temp10
= false ;
31134 PyObject
* obj0
= 0 ;
31135 PyObject
* obj1
= 0 ;
31136 PyObject
* obj2
= 0 ;
31137 PyObject
* obj3
= 0 ;
31138 PyObject
* obj4
= 0 ;
31139 PyObject
* obj5
= 0 ;
31140 PyObject
* obj6
= 0 ;
31141 PyObject
* obj7
= 0 ;
31142 PyObject
* obj8
= 0 ;
31143 PyObject
* obj9
= 0 ;
31144 char *kwnames
[] = {
31145 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
31149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31150 if (SWIG_arg_fail(1)) SWIG_fail
;
31151 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31152 if (SWIG_arg_fail(2)) SWIG_fail
;
31155 arg3
= (int const)(SWIG_As_int(obj2
));
31156 if (SWIG_arg_fail(3)) SWIG_fail
;
31161 arg4
= wxString_in_helper(obj3
);
31162 if (arg4
== NULL
) SWIG_fail
;
31169 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
31175 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
31180 arg7
= (long)(SWIG_As_long(obj6
));
31181 if (SWIG_arg_fail(7)) SWIG_fail
;
31186 arg8
= wxString_in_helper(obj7
);
31187 if (arg8
== NULL
) SWIG_fail
;
31193 arg9
= (int)(SWIG_As_int(obj8
));
31194 if (SWIG_arg_fail(9)) SWIG_fail
;
31199 arg10
= wxString_in_helper(obj9
);
31200 if (arg10
== NULL
) SWIG_fail
;
31205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31206 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
31208 wxPyEndAllowThreads(__tstate
);
31209 if (PyErr_Occurred()) SWIG_fail
;
31212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31244 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31245 PyObject
*resultobj
;
31246 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31247 wxString
*arg2
= 0 ;
31249 bool temp2
= false ;
31250 PyObject
* obj0
= 0 ;
31251 PyObject
* obj1
= 0 ;
31252 char *kwnames
[] = {
31253 (char *) "self",(char *) "path", NULL
31256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31258 if (SWIG_arg_fail(1)) SWIG_fail
;
31260 arg2
= wxString_in_helper(obj1
);
31261 if (arg2
== NULL
) SWIG_fail
;
31265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31266 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
31268 wxPyEndAllowThreads(__tstate
);
31269 if (PyErr_Occurred()) SWIG_fail
;
31272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31288 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31289 PyObject
*resultobj
;
31290 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31292 PyObject
* obj0
= 0 ;
31293 char *kwnames
[] = {
31294 (char *) "self", NULL
31297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
31298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31299 if (SWIG_arg_fail(1)) SWIG_fail
;
31301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31302 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
31304 wxPyEndAllowThreads(__tstate
);
31305 if (PyErr_Occurred()) SWIG_fail
;
31309 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31311 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31320 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31321 PyObject
*resultobj
;
31322 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31323 wxString
*arg2
= 0 ;
31324 bool temp2
= false ;
31325 PyObject
* obj0
= 0 ;
31326 PyObject
* obj1
= 0 ;
31327 char *kwnames
[] = {
31328 (char *) "self",(char *) "path", NULL
31331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31333 if (SWIG_arg_fail(1)) SWIG_fail
;
31335 arg2
= wxString_in_helper(obj1
);
31336 if (arg2
== NULL
) SWIG_fail
;
31340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31341 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
31343 wxPyEndAllowThreads(__tstate
);
31344 if (PyErr_Occurred()) SWIG_fail
;
31346 Py_INCREF(Py_None
); resultobj
= Py_None
;
31361 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31362 PyObject
*resultobj
;
31363 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31365 PyObject
* obj0
= 0 ;
31366 char *kwnames
[] = {
31367 (char *) "self", NULL
31370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
31371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31372 if (SWIG_arg_fail(1)) SWIG_fail
;
31374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31375 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
31377 wxPyEndAllowThreads(__tstate
);
31378 if (PyErr_Occurred()) SWIG_fail
;
31382 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31384 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31393 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31394 PyObject
*resultobj
;
31395 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31397 PyObject
* obj0
= 0 ;
31398 char *kwnames
[] = {
31399 (char *) "self", NULL
31402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
31403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31404 if (SWIG_arg_fail(1)) SWIG_fail
;
31406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31407 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
31409 wxPyEndAllowThreads(__tstate
);
31410 if (PyErr_Occurred()) SWIG_fail
;
31414 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31416 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31425 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31426 PyObject
*resultobj
;
31427 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31428 wxString
*arg2
= 0 ;
31429 bool temp2
= false ;
31430 PyObject
* obj0
= 0 ;
31431 PyObject
* obj1
= 0 ;
31432 char *kwnames
[] = {
31433 (char *) "self",(char *) "path", NULL
31436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31438 if (SWIG_arg_fail(1)) SWIG_fail
;
31440 arg2
= wxString_in_helper(obj1
);
31441 if (arg2
== NULL
) SWIG_fail
;
31445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31446 (arg1
)->SetPath((wxString
const &)*arg2
);
31448 wxPyEndAllowThreads(__tstate
);
31449 if (PyErr_Occurred()) SWIG_fail
;
31451 Py_INCREF(Py_None
); resultobj
= Py_None
;
31466 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31467 PyObject
*resultobj
;
31468 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31470 PyObject
* obj0
= 0 ;
31471 PyObject
* obj1
= 0 ;
31472 char *kwnames
[] = {
31473 (char *) "self",(char *) "show", NULL
31476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
31477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31478 if (SWIG_arg_fail(1)) SWIG_fail
;
31480 arg2
= (bool)(SWIG_As_bool(obj1
));
31481 if (SWIG_arg_fail(2)) SWIG_fail
;
31484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31485 (arg1
)->ShowHidden(arg2
);
31487 wxPyEndAllowThreads(__tstate
);
31488 if (PyErr_Occurred()) SWIG_fail
;
31490 Py_INCREF(Py_None
); resultobj
= Py_None
;
31497 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31498 PyObject
*resultobj
;
31499 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31501 PyObject
* obj0
= 0 ;
31502 char *kwnames
[] = {
31503 (char *) "self", NULL
31506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
31507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31508 if (SWIG_arg_fail(1)) SWIG_fail
;
31510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31511 result
= (bool)(arg1
)->GetShowHidden();
31513 wxPyEndAllowThreads(__tstate
);
31514 if (PyErr_Occurred()) SWIG_fail
;
31517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31525 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31526 PyObject
*resultobj
;
31527 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31529 PyObject
* obj0
= 0 ;
31530 char *kwnames
[] = {
31531 (char *) "self", NULL
31534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
31535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31536 if (SWIG_arg_fail(1)) SWIG_fail
;
31538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31539 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
31541 wxPyEndAllowThreads(__tstate
);
31542 if (PyErr_Occurred()) SWIG_fail
;
31546 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31548 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31557 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31558 PyObject
*resultobj
;
31559 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31560 wxString
*arg2
= 0 ;
31561 bool temp2
= false ;
31562 PyObject
* obj0
= 0 ;
31563 PyObject
* obj1
= 0 ;
31564 char *kwnames
[] = {
31565 (char *) "self",(char *) "filter", NULL
31568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
31569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31570 if (SWIG_arg_fail(1)) SWIG_fail
;
31572 arg2
= wxString_in_helper(obj1
);
31573 if (arg2
== NULL
) SWIG_fail
;
31577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31578 (arg1
)->SetFilter((wxString
const &)*arg2
);
31580 wxPyEndAllowThreads(__tstate
);
31581 if (PyErr_Occurred()) SWIG_fail
;
31583 Py_INCREF(Py_None
); resultobj
= Py_None
;
31598 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31599 PyObject
*resultobj
;
31600 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31602 PyObject
* obj0
= 0 ;
31603 char *kwnames
[] = {
31604 (char *) "self", NULL
31607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
31608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31609 if (SWIG_arg_fail(1)) SWIG_fail
;
31611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31612 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
31614 wxPyEndAllowThreads(__tstate
);
31615 if (PyErr_Occurred()) SWIG_fail
;
31618 resultobj
= SWIG_From_int((int)(result
));
31626 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31627 PyObject
*resultobj
;
31628 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31630 PyObject
* obj0
= 0 ;
31631 PyObject
* obj1
= 0 ;
31632 char *kwnames
[] = {
31633 (char *) "self",(char *) "n", NULL
31636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
31637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31638 if (SWIG_arg_fail(1)) SWIG_fail
;
31640 arg2
= (int)(SWIG_As_int(obj1
));
31641 if (SWIG_arg_fail(2)) SWIG_fail
;
31644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31645 (arg1
)->SetFilterIndex(arg2
);
31647 wxPyEndAllowThreads(__tstate
);
31648 if (PyErr_Occurred()) SWIG_fail
;
31650 Py_INCREF(Py_None
); resultobj
= Py_None
;
31657 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31658 PyObject
*resultobj
;
31659 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31660 wxTreeItemId result
;
31661 PyObject
* obj0
= 0 ;
31662 char *kwnames
[] = {
31663 (char *) "self", NULL
31666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
31667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31668 if (SWIG_arg_fail(1)) SWIG_fail
;
31670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31671 result
= (arg1
)->GetRootId();
31673 wxPyEndAllowThreads(__tstate
);
31674 if (PyErr_Occurred()) SWIG_fail
;
31677 wxTreeItemId
* resultptr
;
31678 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
31679 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31687 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31688 PyObject
*resultobj
;
31689 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31690 wxPyTreeCtrl
*result
;
31691 PyObject
* obj0
= 0 ;
31692 char *kwnames
[] = {
31693 (char *) "self", NULL
31696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
31697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31698 if (SWIG_arg_fail(1)) SWIG_fail
;
31700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31701 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
31703 wxPyEndAllowThreads(__tstate
);
31704 if (PyErr_Occurred()) SWIG_fail
;
31707 resultobj
= wxPyMake_wxObject(result
, 0);
31715 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31716 PyObject
*resultobj
;
31717 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31718 wxDirFilterListCtrl
*result
;
31719 PyObject
* obj0
= 0 ;
31720 char *kwnames
[] = {
31721 (char *) "self", NULL
31724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
31725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31726 if (SWIG_arg_fail(1)) SWIG_fail
;
31728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31729 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
31731 wxPyEndAllowThreads(__tstate
);
31732 if (PyErr_Occurred()) SWIG_fail
;
31734 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
31741 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31742 PyObject
*resultobj
;
31743 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31744 wxTreeItemId arg2
;
31745 wxString
*arg3
= 0 ;
31747 wxTreeItemId result
;
31748 bool temp3
= false ;
31751 PyObject
* obj0
= 0 ;
31752 PyObject
* obj1
= 0 ;
31753 PyObject
* obj2
= 0 ;
31754 char *kwnames
[] = {
31755 (char *) "self",(char *) "parentId",(char *) "path", NULL
31758 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
31759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31761 if (SWIG_arg_fail(1)) SWIG_fail
;
31763 wxTreeItemId
* argp
;
31764 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
);
31765 if (SWIG_arg_fail(2)) SWIG_fail
;
31766 if (argp
== NULL
) {
31767 SWIG_null_ref("wxTreeItemId");
31769 if (SWIG_arg_fail(2)) SWIG_fail
;
31773 arg3
= wxString_in_helper(obj2
);
31774 if (arg3
== NULL
) SWIG_fail
;
31778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31779 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
31781 wxPyEndAllowThreads(__tstate
);
31782 if (PyErr_Occurred()) SWIG_fail
;
31785 wxTreeItemId
* resultptr
;
31786 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
31787 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31789 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
31790 SWIG_From_bool((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, 0)));
31805 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31806 PyObject
*resultobj
;
31807 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31808 PyObject
* obj0
= 0 ;
31809 char *kwnames
[] = {
31810 (char *) "self", NULL
31813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
31814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31815 if (SWIG_arg_fail(1)) SWIG_fail
;
31817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31818 (arg1
)->DoResize();
31820 wxPyEndAllowThreads(__tstate
);
31821 if (PyErr_Occurred()) SWIG_fail
;
31823 Py_INCREF(Py_None
); resultobj
= Py_None
;
31830 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31831 PyObject
*resultobj
;
31832 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31833 PyObject
* obj0
= 0 ;
31834 char *kwnames
[] = {
31835 (char *) "self", NULL
31838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
31839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31840 if (SWIG_arg_fail(1)) SWIG_fail
;
31842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31843 (arg1
)->ReCreateTree();
31845 wxPyEndAllowThreads(__tstate
);
31846 if (PyErr_Occurred()) SWIG_fail
;
31848 Py_INCREF(Py_None
); resultobj
= Py_None
;
31855 static PyObject
* GenericDirCtrl_swigregister(PyObject
*, PyObject
*args
) {
31857 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31858 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
31860 return Py_BuildValue((char *)"");
31862 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31863 PyObject
*resultobj
;
31864 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31865 int arg2
= (int) (int)-1 ;
31866 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31867 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31868 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31869 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31870 long arg5
= (long) 0 ;
31871 wxDirFilterListCtrl
*result
;
31874 PyObject
* obj0
= 0 ;
31875 PyObject
* obj1
= 0 ;
31876 PyObject
* obj2
= 0 ;
31877 PyObject
* obj3
= 0 ;
31878 PyObject
* obj4
= 0 ;
31879 char *kwnames
[] = {
31880 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
31883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31885 if (SWIG_arg_fail(1)) SWIG_fail
;
31888 arg2
= (int const)(SWIG_As_int(obj1
));
31889 if (SWIG_arg_fail(2)) SWIG_fail
;
31895 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31901 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31906 arg5
= (long)(SWIG_As_long(obj4
));
31907 if (SWIG_arg_fail(5)) SWIG_fail
;
31911 if (!wxPyCheckForApp()) SWIG_fail
;
31912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31913 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
31915 wxPyEndAllowThreads(__tstate
);
31916 if (PyErr_Occurred()) SWIG_fail
;
31918 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
31925 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31926 PyObject
*resultobj
;
31927 wxDirFilterListCtrl
*result
;
31928 char *kwnames
[] = {
31932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
31934 if (!wxPyCheckForApp()) SWIG_fail
;
31935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31936 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
31938 wxPyEndAllowThreads(__tstate
);
31939 if (PyErr_Occurred()) SWIG_fail
;
31941 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
31948 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31949 PyObject
*resultobj
;
31950 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
31951 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
31952 int arg3
= (int) (int)-1 ;
31953 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31954 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31955 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31956 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31957 long arg6
= (long) 0 ;
31961 PyObject
* obj0
= 0 ;
31962 PyObject
* obj1
= 0 ;
31963 PyObject
* obj2
= 0 ;
31964 PyObject
* obj3
= 0 ;
31965 PyObject
* obj4
= 0 ;
31966 PyObject
* obj5
= 0 ;
31967 char *kwnames
[] = {
31968 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
31971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31973 if (SWIG_arg_fail(1)) SWIG_fail
;
31974 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31975 if (SWIG_arg_fail(2)) SWIG_fail
;
31978 arg3
= (int const)(SWIG_As_int(obj2
));
31979 if (SWIG_arg_fail(3)) SWIG_fail
;
31985 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31991 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31996 arg6
= (long)(SWIG_As_long(obj5
));
31997 if (SWIG_arg_fail(6)) SWIG_fail
;
32001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32002 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
32004 wxPyEndAllowThreads(__tstate
);
32005 if (PyErr_Occurred()) SWIG_fail
;
32008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32016 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32017 PyObject
*resultobj
;
32018 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
32019 wxString
*arg2
= 0 ;
32021 bool temp2
= false ;
32022 PyObject
* obj0
= 0 ;
32023 PyObject
* obj1
= 0 ;
32024 PyObject
* obj2
= 0 ;
32025 char *kwnames
[] = {
32026 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
32029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32031 if (SWIG_arg_fail(1)) SWIG_fail
;
32033 arg2
= wxString_in_helper(obj1
);
32034 if (arg2
== NULL
) SWIG_fail
;
32038 arg3
= (int)(SWIG_As_int(obj2
));
32039 if (SWIG_arg_fail(3)) SWIG_fail
;
32042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32043 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
32045 wxPyEndAllowThreads(__tstate
);
32046 if (PyErr_Occurred()) SWIG_fail
;
32048 Py_INCREF(Py_None
); resultobj
= Py_None
;
32063 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*, PyObject
*args
) {
32065 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32066 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
32068 return Py_BuildValue((char *)"");
32070 static PyObject
*_wrap_new_PyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32071 PyObject
*resultobj
;
32072 wxWindow
*arg1
= (wxWindow
*) 0 ;
32073 int arg2
= (int) (int)-1 ;
32074 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32075 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32076 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32077 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32078 long arg5
= (long) 0 ;
32079 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32080 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32081 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
32082 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32083 wxPyControl
*result
;
32086 bool temp7
= false ;
32087 PyObject
* obj0
= 0 ;
32088 PyObject
* obj1
= 0 ;
32089 PyObject
* obj2
= 0 ;
32090 PyObject
* obj3
= 0 ;
32091 PyObject
* obj4
= 0 ;
32092 PyObject
* obj5
= 0 ;
32093 PyObject
* obj6
= 0 ;
32094 char *kwnames
[] = {
32095 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
32099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32100 if (SWIG_arg_fail(1)) SWIG_fail
;
32103 arg2
= (int const)(SWIG_As_int(obj1
));
32104 if (SWIG_arg_fail(2)) SWIG_fail
;
32110 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32116 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32121 arg5
= (long)(SWIG_As_long(obj4
));
32122 if (SWIG_arg_fail(5)) SWIG_fail
;
32127 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32128 if (SWIG_arg_fail(6)) SWIG_fail
;
32129 if (arg6
== NULL
) {
32130 SWIG_null_ref("wxValidator");
32132 if (SWIG_arg_fail(6)) SWIG_fail
;
32137 arg7
= wxString_in_helper(obj6
);
32138 if (arg7
== NULL
) SWIG_fail
;
32143 if (!wxPyCheckForApp()) SWIG_fail
;
32144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32145 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32147 wxPyEndAllowThreads(__tstate
);
32148 if (PyErr_Occurred()) SWIG_fail
;
32150 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
32165 static PyObject
*_wrap_new_PrePyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32166 PyObject
*resultobj
;
32167 wxPyControl
*result
;
32168 char *kwnames
[] = {
32172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
32174 if (!wxPyCheckForApp()) SWIG_fail
;
32175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32176 result
= (wxPyControl
*)new wxPyControl();
32178 wxPyEndAllowThreads(__tstate
);
32179 if (PyErr_Occurred()) SWIG_fail
;
32181 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
32188 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32189 PyObject
*resultobj
;
32190 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32191 PyObject
*arg2
= (PyObject
*) 0 ;
32192 PyObject
*arg3
= (PyObject
*) 0 ;
32193 PyObject
* obj0
= 0 ;
32194 PyObject
* obj1
= 0 ;
32195 PyObject
* obj2
= 0 ;
32196 char *kwnames
[] = {
32197 (char *) "self",(char *) "self",(char *) "_class", NULL
32200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32202 if (SWIG_arg_fail(1)) SWIG_fail
;
32206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32207 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32209 wxPyEndAllowThreads(__tstate
);
32210 if (PyErr_Occurred()) SWIG_fail
;
32212 Py_INCREF(Py_None
); resultobj
= Py_None
;
32219 static PyObject
*_wrap_PyControl_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32220 PyObject
*resultobj
;
32221 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32224 PyObject
* obj0
= 0 ;
32225 PyObject
* obj1
= 0 ;
32226 char *kwnames
[] = {
32227 (char *) "self",(char *) "size", NULL
32230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
32231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32232 if (SWIG_arg_fail(1)) SWIG_fail
;
32235 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
32238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32239 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
32241 wxPyEndAllowThreads(__tstate
);
32242 if (PyErr_Occurred()) SWIG_fail
;
32244 Py_INCREF(Py_None
); resultobj
= Py_None
;
32251 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32252 PyObject
*resultobj
;
32253 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32258 PyObject
* obj0
= 0 ;
32259 PyObject
* obj1
= 0 ;
32260 PyObject
* obj2
= 0 ;
32261 PyObject
* obj3
= 0 ;
32262 PyObject
* obj4
= 0 ;
32263 char *kwnames
[] = {
32264 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32269 if (SWIG_arg_fail(1)) SWIG_fail
;
32271 arg2
= (int)(SWIG_As_int(obj1
));
32272 if (SWIG_arg_fail(2)) SWIG_fail
;
32275 arg3
= (int)(SWIG_As_int(obj2
));
32276 if (SWIG_arg_fail(3)) SWIG_fail
;
32279 arg4
= (int)(SWIG_As_int(obj3
));
32280 if (SWIG_arg_fail(4)) SWIG_fail
;
32283 arg5
= (int)(SWIG_As_int(obj4
));
32284 if (SWIG_arg_fail(5)) SWIG_fail
;
32287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32288 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
32290 wxPyEndAllowThreads(__tstate
);
32291 if (PyErr_Occurred()) SWIG_fail
;
32293 Py_INCREF(Py_None
); resultobj
= Py_None
;
32300 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32301 PyObject
*resultobj
;
32302 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32307 int arg6
= (int) wxSIZE_AUTO
;
32308 PyObject
* obj0
= 0 ;
32309 PyObject
* obj1
= 0 ;
32310 PyObject
* obj2
= 0 ;
32311 PyObject
* obj3
= 0 ;
32312 PyObject
* obj4
= 0 ;
32313 PyObject
* obj5
= 0 ;
32314 char *kwnames
[] = {
32315 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
32318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32320 if (SWIG_arg_fail(1)) SWIG_fail
;
32322 arg2
= (int)(SWIG_As_int(obj1
));
32323 if (SWIG_arg_fail(2)) SWIG_fail
;
32326 arg3
= (int)(SWIG_As_int(obj2
));
32327 if (SWIG_arg_fail(3)) SWIG_fail
;
32330 arg4
= (int)(SWIG_As_int(obj3
));
32331 if (SWIG_arg_fail(4)) SWIG_fail
;
32334 arg5
= (int)(SWIG_As_int(obj4
));
32335 if (SWIG_arg_fail(5)) SWIG_fail
;
32339 arg6
= (int)(SWIG_As_int(obj5
));
32340 if (SWIG_arg_fail(6)) SWIG_fail
;
32344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32345 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
32347 wxPyEndAllowThreads(__tstate
);
32348 if (PyErr_Occurred()) SWIG_fail
;
32350 Py_INCREF(Py_None
); resultobj
= Py_None
;
32357 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32358 PyObject
*resultobj
;
32359 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32362 PyObject
* obj0
= 0 ;
32363 PyObject
* obj1
= 0 ;
32364 PyObject
* obj2
= 0 ;
32365 char *kwnames
[] = {
32366 (char *) "self",(char *) "width",(char *) "height", NULL
32369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32371 if (SWIG_arg_fail(1)) SWIG_fail
;
32373 arg2
= (int)(SWIG_As_int(obj1
));
32374 if (SWIG_arg_fail(2)) SWIG_fail
;
32377 arg3
= (int)(SWIG_As_int(obj2
));
32378 if (SWIG_arg_fail(3)) SWIG_fail
;
32381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32382 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
32384 wxPyEndAllowThreads(__tstate
);
32385 if (PyErr_Occurred()) SWIG_fail
;
32387 Py_INCREF(Py_None
); resultobj
= Py_None
;
32394 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32395 PyObject
*resultobj
;
32396 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32399 PyObject
* obj0
= 0 ;
32400 PyObject
* obj1
= 0 ;
32401 PyObject
* obj2
= 0 ;
32402 char *kwnames
[] = {
32403 (char *) "self",(char *) "x",(char *) "y", NULL
32406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32408 if (SWIG_arg_fail(1)) SWIG_fail
;
32410 arg2
= (int)(SWIG_As_int(obj1
));
32411 if (SWIG_arg_fail(2)) SWIG_fail
;
32414 arg3
= (int)(SWIG_As_int(obj2
));
32415 if (SWIG_arg_fail(3)) SWIG_fail
;
32418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32419 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
32421 wxPyEndAllowThreads(__tstate
);
32422 if (PyErr_Occurred()) SWIG_fail
;
32424 Py_INCREF(Py_None
); resultobj
= Py_None
;
32431 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32432 PyObject
*resultobj
;
32433 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32434 int *arg2
= (int *) 0 ;
32435 int *arg3
= (int *) 0 ;
32440 PyObject
* obj0
= 0 ;
32441 char *kwnames
[] = {
32442 (char *) "self", NULL
32445 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32446 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
32448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32449 if (SWIG_arg_fail(1)) SWIG_fail
;
32451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32452 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
32454 wxPyEndAllowThreads(__tstate
);
32455 if (PyErr_Occurred()) SWIG_fail
;
32457 Py_INCREF(Py_None
); resultobj
= Py_None
;
32458 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32459 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32460 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32461 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32468 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32469 PyObject
*resultobj
;
32470 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32471 int *arg2
= (int *) 0 ;
32472 int *arg3
= (int *) 0 ;
32477 PyObject
* obj0
= 0 ;
32478 char *kwnames
[] = {
32479 (char *) "self", NULL
32482 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32483 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
32485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32486 if (SWIG_arg_fail(1)) SWIG_fail
;
32488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32489 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
32491 wxPyEndAllowThreads(__tstate
);
32492 if (PyErr_Occurred()) SWIG_fail
;
32494 Py_INCREF(Py_None
); resultobj
= Py_None
;
32495 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32496 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32497 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32498 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32505 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32506 PyObject
*resultobj
;
32507 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32508 int *arg2
= (int *) 0 ;
32509 int *arg3
= (int *) 0 ;
32514 PyObject
* obj0
= 0 ;
32515 char *kwnames
[] = {
32516 (char *) "self", NULL
32519 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32520 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
32522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32523 if (SWIG_arg_fail(1)) SWIG_fail
;
32525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32526 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
32528 wxPyEndAllowThreads(__tstate
);
32529 if (PyErr_Occurred()) SWIG_fail
;
32531 Py_INCREF(Py_None
); resultobj
= Py_None
;
32532 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32533 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32534 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32535 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32542 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32543 PyObject
*resultobj
;
32544 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32546 PyObject
* obj0
= 0 ;
32547 char *kwnames
[] = {
32548 (char *) "self", NULL
32551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
32552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32553 if (SWIG_arg_fail(1)) SWIG_fail
;
32555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32556 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
32558 wxPyEndAllowThreads(__tstate
);
32559 if (PyErr_Occurred()) SWIG_fail
;
32562 wxSize
* resultptr
;
32563 resultptr
= new wxSize((wxSize
&)(result
));
32564 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32572 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32573 PyObject
*resultobj
;
32574 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32576 PyObject
* obj0
= 0 ;
32577 char *kwnames
[] = {
32578 (char *) "self", NULL
32581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
32582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32583 if (SWIG_arg_fail(1)) SWIG_fail
;
32585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32586 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
32588 wxPyEndAllowThreads(__tstate
);
32589 if (PyErr_Occurred()) SWIG_fail
;
32592 wxSize
* resultptr
;
32593 resultptr
= new wxSize((wxSize
&)(result
));
32594 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32602 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32603 PyObject
*resultobj
;
32604 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32605 PyObject
* obj0
= 0 ;
32606 char *kwnames
[] = {
32607 (char *) "self", NULL
32610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
32611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32612 if (SWIG_arg_fail(1)) SWIG_fail
;
32614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32615 (arg1
)->base_InitDialog();
32617 wxPyEndAllowThreads(__tstate
);
32618 if (PyErr_Occurred()) SWIG_fail
;
32620 Py_INCREF(Py_None
); resultobj
= Py_None
;
32627 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32628 PyObject
*resultobj
;
32629 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32631 PyObject
* obj0
= 0 ;
32632 char *kwnames
[] = {
32633 (char *) "self", NULL
32636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
32637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32638 if (SWIG_arg_fail(1)) SWIG_fail
;
32640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32641 result
= (bool)(arg1
)->base_TransferDataToWindow();
32643 wxPyEndAllowThreads(__tstate
);
32644 if (PyErr_Occurred()) SWIG_fail
;
32647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32655 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32656 PyObject
*resultobj
;
32657 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32659 PyObject
* obj0
= 0 ;
32660 char *kwnames
[] = {
32661 (char *) "self", NULL
32664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
32665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32666 if (SWIG_arg_fail(1)) SWIG_fail
;
32668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32669 result
= (bool)(arg1
)->base_TransferDataFromWindow();
32671 wxPyEndAllowThreads(__tstate
);
32672 if (PyErr_Occurred()) SWIG_fail
;
32675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32683 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32684 PyObject
*resultobj
;
32685 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32687 PyObject
* obj0
= 0 ;
32688 char *kwnames
[] = {
32689 (char *) "self", NULL
32692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
32693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32694 if (SWIG_arg_fail(1)) SWIG_fail
;
32696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32697 result
= (bool)(arg1
)->base_Validate();
32699 wxPyEndAllowThreads(__tstate
);
32700 if (PyErr_Occurred()) SWIG_fail
;
32703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32711 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32712 PyObject
*resultobj
;
32713 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32715 PyObject
* obj0
= 0 ;
32716 char *kwnames
[] = {
32717 (char *) "self", NULL
32720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
32721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32722 if (SWIG_arg_fail(1)) SWIG_fail
;
32724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32725 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
32727 wxPyEndAllowThreads(__tstate
);
32728 if (PyErr_Occurred()) SWIG_fail
;
32731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32739 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32740 PyObject
*resultobj
;
32741 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32743 PyObject
* obj0
= 0 ;
32744 char *kwnames
[] = {
32745 (char *) "self", NULL
32748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
32749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32750 if (SWIG_arg_fail(1)) SWIG_fail
;
32752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32753 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
32755 wxPyEndAllowThreads(__tstate
);
32756 if (PyErr_Occurred()) SWIG_fail
;
32759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32767 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32768 PyObject
*resultobj
;
32769 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32771 PyObject
* obj0
= 0 ;
32772 char *kwnames
[] = {
32773 (char *) "self", NULL
32776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
32777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32778 if (SWIG_arg_fail(1)) SWIG_fail
;
32780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32781 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
32783 wxPyEndAllowThreads(__tstate
);
32784 if (PyErr_Occurred()) SWIG_fail
;
32787 wxSize
* resultptr
;
32788 resultptr
= new wxSize((wxSize
&)(result
));
32789 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32797 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32798 PyObject
*resultobj
;
32799 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32800 wxWindow
*arg2
= (wxWindow
*) 0 ;
32801 PyObject
* obj0
= 0 ;
32802 PyObject
* obj1
= 0 ;
32803 char *kwnames
[] = {
32804 (char *) "self",(char *) "child", NULL
32807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
32808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32809 if (SWIG_arg_fail(1)) SWIG_fail
;
32810 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32811 if (SWIG_arg_fail(2)) SWIG_fail
;
32813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32814 (arg1
)->base_AddChild(arg2
);
32816 wxPyEndAllowThreads(__tstate
);
32817 if (PyErr_Occurred()) SWIG_fail
;
32819 Py_INCREF(Py_None
); resultobj
= Py_None
;
32826 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32827 PyObject
*resultobj
;
32828 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32829 wxWindow
*arg2
= (wxWindow
*) 0 ;
32830 PyObject
* obj0
= 0 ;
32831 PyObject
* obj1
= 0 ;
32832 char *kwnames
[] = {
32833 (char *) "self",(char *) "child", NULL
32836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
32837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32838 if (SWIG_arg_fail(1)) SWIG_fail
;
32839 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32840 if (SWIG_arg_fail(2)) SWIG_fail
;
32842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32843 (arg1
)->base_RemoveChild(arg2
);
32845 wxPyEndAllowThreads(__tstate
);
32846 if (PyErr_Occurred()) SWIG_fail
;
32848 Py_INCREF(Py_None
); resultobj
= Py_None
;
32855 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32856 PyObject
*resultobj
;
32857 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32859 PyObject
* obj0
= 0 ;
32860 char *kwnames
[] = {
32861 (char *) "self", NULL
32864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
32865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32866 if (SWIG_arg_fail(1)) SWIG_fail
;
32868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32869 result
= (bool)((wxPyControl
const *)arg1
)->base_ShouldInheritColours();
32871 wxPyEndAllowThreads(__tstate
);
32872 if (PyErr_Occurred()) SWIG_fail
;
32875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32883 static PyObject
*_wrap_PyControl_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32884 PyObject
*resultobj
;
32885 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32886 wxColour
*arg2
= 0 ;
32888 PyObject
* obj0
= 0 ;
32889 PyObject
* obj1
= 0 ;
32890 char *kwnames
[] = {
32891 (char *) "self",(char *) "c", NULL
32894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
32895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32896 if (SWIG_arg_fail(1)) SWIG_fail
;
32899 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32903 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
32905 wxPyEndAllowThreads(__tstate
);
32906 if (PyErr_Occurred()) SWIG_fail
;
32908 Py_INCREF(Py_None
); resultobj
= Py_None
;
32915 static PyObject
*_wrap_PyControl_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32916 PyObject
*resultobj
;
32917 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32918 wxVisualAttributes result
;
32919 PyObject
* obj0
= 0 ;
32920 char *kwnames
[] = {
32921 (char *) "self", NULL
32924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
32925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32926 if (SWIG_arg_fail(1)) SWIG_fail
;
32928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32929 result
= (arg1
)->base_GetDefaultAttributes();
32931 wxPyEndAllowThreads(__tstate
);
32932 if (PyErr_Occurred()) SWIG_fail
;
32935 wxVisualAttributes
* resultptr
;
32936 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
32937 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
32945 static PyObject
* PyControl_swigregister(PyObject
*, PyObject
*args
) {
32947 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32948 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
32950 return Py_BuildValue((char *)"");
32952 static PyObject
*_wrap_new_HelpEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32953 PyObject
*resultobj
;
32954 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
32955 int arg2
= (int) 0 ;
32956 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32957 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32958 wxHelpEvent
*result
;
32960 PyObject
* obj0
= 0 ;
32961 PyObject
* obj1
= 0 ;
32962 PyObject
* obj2
= 0 ;
32963 char *kwnames
[] = {
32964 (char *) "type",(char *) "winid",(char *) "pt", NULL
32967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32970 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
32971 if (SWIG_arg_fail(1)) SWIG_fail
;
32976 arg2
= (int)(SWIG_As_int(obj1
));
32977 if (SWIG_arg_fail(2)) SWIG_fail
;
32983 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32988 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
32990 wxPyEndAllowThreads(__tstate
);
32991 if (PyErr_Occurred()) SWIG_fail
;
32993 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
33000 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33001 PyObject
*resultobj
;
33002 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33004 PyObject
* obj0
= 0 ;
33005 char *kwnames
[] = {
33006 (char *) "self", NULL
33009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
33010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33011 if (SWIG_arg_fail(1)) SWIG_fail
;
33013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33014 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
33016 wxPyEndAllowThreads(__tstate
);
33017 if (PyErr_Occurred()) SWIG_fail
;
33020 wxPoint
* resultptr
;
33021 resultptr
= new wxPoint((wxPoint
const &)(result
));
33022 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
33030 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33031 PyObject
*resultobj
;
33032 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33033 wxPoint
*arg2
= 0 ;
33035 PyObject
* obj0
= 0 ;
33036 PyObject
* obj1
= 0 ;
33037 char *kwnames
[] = {
33038 (char *) "self",(char *) "pos", NULL
33041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
33042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33043 if (SWIG_arg_fail(1)) SWIG_fail
;
33046 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33050 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
33052 wxPyEndAllowThreads(__tstate
);
33053 if (PyErr_Occurred()) SWIG_fail
;
33055 Py_INCREF(Py_None
); resultobj
= Py_None
;
33062 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33063 PyObject
*resultobj
;
33064 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33066 PyObject
* obj0
= 0 ;
33067 char *kwnames
[] = {
33068 (char *) "self", NULL
33071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
33072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33073 if (SWIG_arg_fail(1)) SWIG_fail
;
33075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33077 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
33078 result
= (wxString
*) &_result_ref
;
33081 wxPyEndAllowThreads(__tstate
);
33082 if (PyErr_Occurred()) SWIG_fail
;
33086 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33088 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33097 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33098 PyObject
*resultobj
;
33099 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33100 wxString
*arg2
= 0 ;
33101 bool temp2
= false ;
33102 PyObject
* obj0
= 0 ;
33103 PyObject
* obj1
= 0 ;
33104 char *kwnames
[] = {
33105 (char *) "self",(char *) "link", NULL
33108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
33109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33110 if (SWIG_arg_fail(1)) SWIG_fail
;
33112 arg2
= wxString_in_helper(obj1
);
33113 if (arg2
== NULL
) SWIG_fail
;
33117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33118 (arg1
)->SetLink((wxString
const &)*arg2
);
33120 wxPyEndAllowThreads(__tstate
);
33121 if (PyErr_Occurred()) SWIG_fail
;
33123 Py_INCREF(Py_None
); resultobj
= Py_None
;
33138 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33139 PyObject
*resultobj
;
33140 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33142 PyObject
* obj0
= 0 ;
33143 char *kwnames
[] = {
33144 (char *) "self", NULL
33147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
33148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33149 if (SWIG_arg_fail(1)) SWIG_fail
;
33151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33153 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
33154 result
= (wxString
*) &_result_ref
;
33157 wxPyEndAllowThreads(__tstate
);
33158 if (PyErr_Occurred()) SWIG_fail
;
33162 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33164 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33173 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33174 PyObject
*resultobj
;
33175 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33176 wxString
*arg2
= 0 ;
33177 bool temp2
= false ;
33178 PyObject
* obj0
= 0 ;
33179 PyObject
* obj1
= 0 ;
33180 char *kwnames
[] = {
33181 (char *) "self",(char *) "target", NULL
33184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
33185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33186 if (SWIG_arg_fail(1)) SWIG_fail
;
33188 arg2
= wxString_in_helper(obj1
);
33189 if (arg2
== NULL
) SWIG_fail
;
33193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33194 (arg1
)->SetTarget((wxString
const &)*arg2
);
33196 wxPyEndAllowThreads(__tstate
);
33197 if (PyErr_Occurred()) SWIG_fail
;
33199 Py_INCREF(Py_None
); resultobj
= Py_None
;
33214 static PyObject
* HelpEvent_swigregister(PyObject
*, PyObject
*args
) {
33216 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33217 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
33219 return Py_BuildValue((char *)"");
33221 static PyObject
*_wrap_new_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33222 PyObject
*resultobj
;
33223 wxWindow
*arg1
= (wxWindow
*) NULL
;
33224 bool arg2
= (bool) true ;
33225 wxContextHelp
*result
;
33226 PyObject
* obj0
= 0 ;
33227 PyObject
* obj1
= 0 ;
33228 char *kwnames
[] = {
33229 (char *) "window",(char *) "doNow", NULL
33232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33235 if (SWIG_arg_fail(1)) SWIG_fail
;
33239 arg2
= (bool)(SWIG_As_bool(obj1
));
33240 if (SWIG_arg_fail(2)) SWIG_fail
;
33244 if (!wxPyCheckForApp()) SWIG_fail
;
33245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33246 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
33248 wxPyEndAllowThreads(__tstate
);
33249 if (PyErr_Occurred()) SWIG_fail
;
33251 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
33258 static PyObject
*_wrap_delete_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33259 PyObject
*resultobj
;
33260 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33261 PyObject
* obj0
= 0 ;
33262 char *kwnames
[] = {
33263 (char *) "self", NULL
33266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
33267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33268 if (SWIG_arg_fail(1)) SWIG_fail
;
33270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33273 wxPyEndAllowThreads(__tstate
);
33274 if (PyErr_Occurred()) SWIG_fail
;
33276 Py_INCREF(Py_None
); resultobj
= Py_None
;
33283 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33284 PyObject
*resultobj
;
33285 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33286 wxWindow
*arg2
= (wxWindow
*) NULL
;
33288 PyObject
* obj0
= 0 ;
33289 PyObject
* obj1
= 0 ;
33290 char *kwnames
[] = {
33291 (char *) "self",(char *) "window", NULL
33294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33296 if (SWIG_arg_fail(1)) SWIG_fail
;
33298 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33299 if (SWIG_arg_fail(2)) SWIG_fail
;
33302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33303 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
33305 wxPyEndAllowThreads(__tstate
);
33306 if (PyErr_Occurred()) SWIG_fail
;
33309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33317 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33318 PyObject
*resultobj
;
33319 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33321 PyObject
* obj0
= 0 ;
33322 char *kwnames
[] = {
33323 (char *) "self", NULL
33326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
33327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33328 if (SWIG_arg_fail(1)) SWIG_fail
;
33330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33331 result
= (bool)(arg1
)->EndContextHelp();
33333 wxPyEndAllowThreads(__tstate
);
33334 if (PyErr_Occurred()) SWIG_fail
;
33337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33345 static PyObject
* ContextHelp_swigregister(PyObject
*, PyObject
*args
) {
33347 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33348 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
33350 return Py_BuildValue((char *)"");
33352 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33353 PyObject
*resultobj
;
33354 wxWindow
*arg1
= (wxWindow
*) 0 ;
33355 int arg2
= (int) wxID_CONTEXT_HELP
;
33356 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33357 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33358 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33359 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33360 long arg5
= (long) wxBU_AUTODRAW
;
33361 wxContextHelpButton
*result
;
33364 PyObject
* obj0
= 0 ;
33365 PyObject
* obj1
= 0 ;
33366 PyObject
* obj2
= 0 ;
33367 PyObject
* obj3
= 0 ;
33368 PyObject
* obj4
= 0 ;
33369 char *kwnames
[] = {
33370 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33375 if (SWIG_arg_fail(1)) SWIG_fail
;
33378 arg2
= (int)(SWIG_As_int(obj1
));
33379 if (SWIG_arg_fail(2)) SWIG_fail
;
33385 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33391 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33396 arg5
= (long)(SWIG_As_long(obj4
));
33397 if (SWIG_arg_fail(5)) SWIG_fail
;
33401 if (!wxPyCheckForApp()) SWIG_fail
;
33402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33403 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
33405 wxPyEndAllowThreads(__tstate
);
33406 if (PyErr_Occurred()) SWIG_fail
;
33408 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
33415 static PyObject
* ContextHelpButton_swigregister(PyObject
*, PyObject
*args
) {
33417 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33418 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
33420 return Py_BuildValue((char *)"");
33422 static PyObject
*_wrap_HelpProvider_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33423 PyObject
*resultobj
;
33424 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33425 wxHelpProvider
*result
;
33426 PyObject
* obj0
= 0 ;
33427 char *kwnames
[] = {
33428 (char *) "helpProvider", NULL
33431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
33432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33433 if (SWIG_arg_fail(1)) SWIG_fail
;
33435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33436 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
33438 wxPyEndAllowThreads(__tstate
);
33439 if (PyErr_Occurred()) SWIG_fail
;
33441 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
33448 static PyObject
*_wrap_HelpProvider_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33449 PyObject
*resultobj
;
33450 wxHelpProvider
*result
;
33451 char *kwnames
[] = {
33455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
33457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33458 result
= (wxHelpProvider
*)wxHelpProvider::Get();
33460 wxPyEndAllowThreads(__tstate
);
33461 if (PyErr_Occurred()) SWIG_fail
;
33463 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
33470 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33471 PyObject
*resultobj
;
33472 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33473 wxWindow
*arg2
= (wxWindow
*) 0 ;
33475 PyObject
* obj0
= 0 ;
33476 PyObject
* obj1
= 0 ;
33477 char *kwnames
[] = {
33478 (char *) "self",(char *) "window", NULL
33481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33483 if (SWIG_arg_fail(1)) SWIG_fail
;
33484 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33485 if (SWIG_arg_fail(2)) SWIG_fail
;
33487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33488 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
33490 wxPyEndAllowThreads(__tstate
);
33491 if (PyErr_Occurred()) SWIG_fail
;
33495 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33497 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33506 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33507 PyObject
*resultobj
;
33508 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33509 wxWindow
*arg2
= (wxWindow
*) 0 ;
33511 PyObject
* obj0
= 0 ;
33512 PyObject
* obj1
= 0 ;
33513 char *kwnames
[] = {
33514 (char *) "self",(char *) "window", NULL
33517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33519 if (SWIG_arg_fail(1)) SWIG_fail
;
33520 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33521 if (SWIG_arg_fail(2)) SWIG_fail
;
33523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33524 result
= (bool)(arg1
)->ShowHelp(arg2
);
33526 wxPyEndAllowThreads(__tstate
);
33527 if (PyErr_Occurred()) SWIG_fail
;
33530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33538 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33539 PyObject
*resultobj
;
33540 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33541 wxWindow
*arg2
= (wxWindow
*) 0 ;
33542 wxString
*arg3
= 0 ;
33543 bool temp3
= false ;
33544 PyObject
* obj0
= 0 ;
33545 PyObject
* obj1
= 0 ;
33546 PyObject
* obj2
= 0 ;
33547 char *kwnames
[] = {
33548 (char *) "self",(char *) "window",(char *) "text", NULL
33551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33553 if (SWIG_arg_fail(1)) SWIG_fail
;
33554 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33555 if (SWIG_arg_fail(2)) SWIG_fail
;
33557 arg3
= wxString_in_helper(obj2
);
33558 if (arg3
== NULL
) SWIG_fail
;
33562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33563 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
33565 wxPyEndAllowThreads(__tstate
);
33566 if (PyErr_Occurred()) SWIG_fail
;
33568 Py_INCREF(Py_None
); resultobj
= Py_None
;
33583 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33584 PyObject
*resultobj
;
33585 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33587 wxString
*arg3
= 0 ;
33588 bool temp3
= false ;
33589 PyObject
* obj0
= 0 ;
33590 PyObject
* obj1
= 0 ;
33591 PyObject
* obj2
= 0 ;
33592 char *kwnames
[] = {
33593 (char *) "self",(char *) "id",(char *) "text", NULL
33596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33598 if (SWIG_arg_fail(1)) SWIG_fail
;
33600 arg2
= (int)(SWIG_As_int(obj1
));
33601 if (SWIG_arg_fail(2)) SWIG_fail
;
33604 arg3
= wxString_in_helper(obj2
);
33605 if (arg3
== NULL
) SWIG_fail
;
33609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33610 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
33612 wxPyEndAllowThreads(__tstate
);
33613 if (PyErr_Occurred()) SWIG_fail
;
33615 Py_INCREF(Py_None
); resultobj
= Py_None
;
33630 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33631 PyObject
*resultobj
;
33632 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33633 wxWindow
*arg2
= (wxWindow
*) 0 ;
33634 PyObject
* obj0
= 0 ;
33635 PyObject
* obj1
= 0 ;
33636 char *kwnames
[] = {
33637 (char *) "self",(char *) "window", NULL
33640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33642 if (SWIG_arg_fail(1)) SWIG_fail
;
33643 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33644 if (SWIG_arg_fail(2)) SWIG_fail
;
33646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33647 (arg1
)->RemoveHelp(arg2
);
33649 wxPyEndAllowThreads(__tstate
);
33650 if (PyErr_Occurred()) SWIG_fail
;
33652 Py_INCREF(Py_None
); resultobj
= Py_None
;
33659 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33660 PyObject
*resultobj
;
33661 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33662 PyObject
* obj0
= 0 ;
33663 char *kwnames
[] = {
33664 (char *) "self", NULL
33667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
33668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33669 if (SWIG_arg_fail(1)) SWIG_fail
;
33671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33672 wxHelpProvider_Destroy(arg1
);
33674 wxPyEndAllowThreads(__tstate
);
33675 if (PyErr_Occurred()) SWIG_fail
;
33677 Py_INCREF(Py_None
); resultobj
= Py_None
;
33684 static PyObject
* HelpProvider_swigregister(PyObject
*, PyObject
*args
) {
33686 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33687 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
33689 return Py_BuildValue((char *)"");
33691 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33692 PyObject
*resultobj
;
33693 wxSimpleHelpProvider
*result
;
33694 char *kwnames
[] = {
33698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
33700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33701 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
33703 wxPyEndAllowThreads(__tstate
);
33704 if (PyErr_Occurred()) SWIG_fail
;
33706 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
33713 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*, PyObject
*args
) {
33715 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33716 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
33718 return Py_BuildValue((char *)"");
33720 static PyObject
*_wrap_new_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33721 PyObject
*resultobj
;
33722 wxBitmap
*arg1
= 0 ;
33723 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33724 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
33725 wxGenericDragImage
*result
;
33726 PyObject
* obj0
= 0 ;
33727 PyObject
* obj1
= 0 ;
33728 char *kwnames
[] = {
33729 (char *) "image",(char *) "cursor", NULL
33732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
33734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
33735 if (SWIG_arg_fail(1)) SWIG_fail
;
33736 if (arg1
== NULL
) {
33737 SWIG_null_ref("wxBitmap");
33739 if (SWIG_arg_fail(1)) SWIG_fail
;
33743 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
33744 if (SWIG_arg_fail(2)) SWIG_fail
;
33745 if (arg2
== NULL
) {
33746 SWIG_null_ref("wxCursor");
33748 if (SWIG_arg_fail(2)) SWIG_fail
;
33752 if (!wxPyCheckForApp()) SWIG_fail
;
33753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33754 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
33756 wxPyEndAllowThreads(__tstate
);
33757 if (PyErr_Occurred()) SWIG_fail
;
33759 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33766 static PyObject
*_wrap_new_DragIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33767 PyObject
*resultobj
;
33769 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33770 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
33771 wxGenericDragImage
*result
;
33772 PyObject
* obj0
= 0 ;
33773 PyObject
* obj1
= 0 ;
33774 char *kwnames
[] = {
33775 (char *) "image",(char *) "cursor", NULL
33778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
33780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
33781 if (SWIG_arg_fail(1)) SWIG_fail
;
33782 if (arg1
== NULL
) {
33783 SWIG_null_ref("wxIcon");
33785 if (SWIG_arg_fail(1)) SWIG_fail
;
33789 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
33790 if (SWIG_arg_fail(2)) SWIG_fail
;
33791 if (arg2
== NULL
) {
33792 SWIG_null_ref("wxCursor");
33794 if (SWIG_arg_fail(2)) SWIG_fail
;
33798 if (!wxPyCheckForApp()) SWIG_fail
;
33799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33800 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
33802 wxPyEndAllowThreads(__tstate
);
33803 if (PyErr_Occurred()) SWIG_fail
;
33805 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33812 static PyObject
*_wrap_new_DragString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33813 PyObject
*resultobj
;
33814 wxString
*arg1
= 0 ;
33815 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33816 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
33817 wxGenericDragImage
*result
;
33818 bool temp1
= false ;
33819 PyObject
* obj0
= 0 ;
33820 PyObject
* obj1
= 0 ;
33821 char *kwnames
[] = {
33822 (char *) "str",(char *) "cursor", NULL
33825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
33827 arg1
= wxString_in_helper(obj0
);
33828 if (arg1
== NULL
) SWIG_fail
;
33833 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
33834 if (SWIG_arg_fail(2)) SWIG_fail
;
33835 if (arg2
== NULL
) {
33836 SWIG_null_ref("wxCursor");
33838 if (SWIG_arg_fail(2)) SWIG_fail
;
33842 if (!wxPyCheckForApp()) SWIG_fail
;
33843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33844 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
33846 wxPyEndAllowThreads(__tstate
);
33847 if (PyErr_Occurred()) SWIG_fail
;
33849 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33864 static PyObject
*_wrap_new_DragTreeItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33865 PyObject
*resultobj
;
33866 wxPyTreeCtrl
*arg1
= 0 ;
33867 wxTreeItemId
*arg2
= 0 ;
33868 wxGenericDragImage
*result
;
33869 PyObject
* obj0
= 0 ;
33870 PyObject
* obj1
= 0 ;
33871 char *kwnames
[] = {
33872 (char *) "treeCtrl",(char *) "id", NULL
33875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33878 if (SWIG_arg_fail(1)) SWIG_fail
;
33879 if (arg1
== NULL
) {
33880 SWIG_null_ref("wxPyTreeCtrl");
33882 if (SWIG_arg_fail(1)) SWIG_fail
;
33885 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
33886 if (SWIG_arg_fail(2)) SWIG_fail
;
33887 if (arg2
== NULL
) {
33888 SWIG_null_ref("wxTreeItemId");
33890 if (SWIG_arg_fail(2)) SWIG_fail
;
33893 if (!wxPyCheckForApp()) SWIG_fail
;
33894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33895 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
33897 wxPyEndAllowThreads(__tstate
);
33898 if (PyErr_Occurred()) SWIG_fail
;
33900 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33907 static PyObject
*_wrap_new_DragListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33908 PyObject
*resultobj
;
33909 wxPyListCtrl
*arg1
= 0 ;
33911 wxGenericDragImage
*result
;
33912 PyObject
* obj0
= 0 ;
33913 PyObject
* obj1
= 0 ;
33914 char *kwnames
[] = {
33915 (char *) "listCtrl",(char *) "id", NULL
33918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33921 if (SWIG_arg_fail(1)) SWIG_fail
;
33922 if (arg1
== NULL
) {
33923 SWIG_null_ref("wxPyListCtrl");
33925 if (SWIG_arg_fail(1)) SWIG_fail
;
33928 arg2
= (long)(SWIG_As_long(obj1
));
33929 if (SWIG_arg_fail(2)) SWIG_fail
;
33932 if (!wxPyCheckForApp()) SWIG_fail
;
33933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33934 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
33936 wxPyEndAllowThreads(__tstate
);
33937 if (PyErr_Occurred()) SWIG_fail
;
33939 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33946 static PyObject
*_wrap_delete_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33947 PyObject
*resultobj
;
33948 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
33949 PyObject
* obj0
= 0 ;
33950 char *kwnames
[] = {
33951 (char *) "self", NULL
33954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
33955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
33956 if (SWIG_arg_fail(1)) SWIG_fail
;
33958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33961 wxPyEndAllowThreads(__tstate
);
33962 if (PyErr_Occurred()) SWIG_fail
;
33964 Py_INCREF(Py_None
); resultobj
= Py_None
;
33971 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33972 PyObject
*resultobj
;
33973 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
33974 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
33975 PyObject
* obj0
= 0 ;
33976 PyObject
* obj1
= 0 ;
33977 char *kwnames
[] = {
33978 (char *) "self",(char *) "bitmap", NULL
33981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
33982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
33983 if (SWIG_arg_fail(1)) SWIG_fail
;
33984 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
33985 if (SWIG_arg_fail(2)) SWIG_fail
;
33987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33988 (arg1
)->SetBackingBitmap(arg2
);
33990 wxPyEndAllowThreads(__tstate
);
33991 if (PyErr_Occurred()) SWIG_fail
;
33993 Py_INCREF(Py_None
); resultobj
= Py_None
;
34000 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34001 PyObject
*resultobj
;
34002 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34003 wxPoint
*arg2
= 0 ;
34004 wxWindow
*arg3
= (wxWindow
*) 0 ;
34005 bool arg4
= (bool) false ;
34006 wxRect
*arg5
= (wxRect
*) NULL
;
34009 PyObject
* obj0
= 0 ;
34010 PyObject
* obj1
= 0 ;
34011 PyObject
* obj2
= 0 ;
34012 PyObject
* obj3
= 0 ;
34013 PyObject
* obj4
= 0 ;
34014 char *kwnames
[] = {
34015 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
34018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34020 if (SWIG_arg_fail(1)) SWIG_fail
;
34023 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34025 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34026 if (SWIG_arg_fail(3)) SWIG_fail
;
34029 arg4
= (bool)(SWIG_As_bool(obj3
));
34030 if (SWIG_arg_fail(4)) SWIG_fail
;
34034 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
34035 if (SWIG_arg_fail(5)) SWIG_fail
;
34038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34039 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
34041 wxPyEndAllowThreads(__tstate
);
34042 if (PyErr_Occurred()) SWIG_fail
;
34045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34053 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34054 PyObject
*resultobj
;
34055 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34056 wxPoint
*arg2
= 0 ;
34057 wxWindow
*arg3
= (wxWindow
*) 0 ;
34058 wxWindow
*arg4
= (wxWindow
*) 0 ;
34061 PyObject
* obj0
= 0 ;
34062 PyObject
* obj1
= 0 ;
34063 PyObject
* obj2
= 0 ;
34064 PyObject
* obj3
= 0 ;
34065 char *kwnames
[] = {
34066 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
34069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34071 if (SWIG_arg_fail(1)) SWIG_fail
;
34074 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34076 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34077 if (SWIG_arg_fail(3)) SWIG_fail
;
34078 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34079 if (SWIG_arg_fail(4)) SWIG_fail
;
34081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34082 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
34084 wxPyEndAllowThreads(__tstate
);
34085 if (PyErr_Occurred()) SWIG_fail
;
34088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34096 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34097 PyObject
*resultobj
;
34098 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34100 PyObject
* obj0
= 0 ;
34101 char *kwnames
[] = {
34102 (char *) "self", NULL
34105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
34106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34107 if (SWIG_arg_fail(1)) SWIG_fail
;
34109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34110 result
= (bool)(arg1
)->EndDrag();
34112 wxPyEndAllowThreads(__tstate
);
34113 if (PyErr_Occurred()) SWIG_fail
;
34116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34124 static PyObject
*_wrap_DragImage_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34125 PyObject
*resultobj
;
34126 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34127 wxPoint
*arg2
= 0 ;
34130 PyObject
* obj0
= 0 ;
34131 PyObject
* obj1
= 0 ;
34132 char *kwnames
[] = {
34133 (char *) "self",(char *) "pt", NULL
34136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
34137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34138 if (SWIG_arg_fail(1)) SWIG_fail
;
34141 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34145 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
34147 wxPyEndAllowThreads(__tstate
);
34148 if (PyErr_Occurred()) SWIG_fail
;
34151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34159 static PyObject
*_wrap_DragImage_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34160 PyObject
*resultobj
;
34161 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34163 PyObject
* obj0
= 0 ;
34164 char *kwnames
[] = {
34165 (char *) "self", NULL
34168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
34169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34170 if (SWIG_arg_fail(1)) SWIG_fail
;
34172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34173 result
= (bool)(arg1
)->Show();
34175 wxPyEndAllowThreads(__tstate
);
34176 if (PyErr_Occurred()) SWIG_fail
;
34179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34187 static PyObject
*_wrap_DragImage_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34188 PyObject
*resultobj
;
34189 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34191 PyObject
* obj0
= 0 ;
34192 char *kwnames
[] = {
34193 (char *) "self", NULL
34196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
34197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34198 if (SWIG_arg_fail(1)) SWIG_fail
;
34200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34201 result
= (bool)(arg1
)->Hide();
34203 wxPyEndAllowThreads(__tstate
);
34204 if (PyErr_Occurred()) SWIG_fail
;
34207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34215 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34216 PyObject
*resultobj
;
34217 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34218 wxPoint
*arg2
= 0 ;
34221 PyObject
* obj0
= 0 ;
34222 PyObject
* obj1
= 0 ;
34223 char *kwnames
[] = {
34224 (char *) "self",(char *) "pos", NULL
34227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
34228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34229 if (SWIG_arg_fail(1)) SWIG_fail
;
34232 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34236 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
34238 wxPyEndAllowThreads(__tstate
);
34239 if (PyErr_Occurred()) SWIG_fail
;
34242 wxRect
* resultptr
;
34243 resultptr
= new wxRect((wxRect
&)(result
));
34244 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
34252 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34253 PyObject
*resultobj
;
34254 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34256 wxPoint
*arg3
= 0 ;
34259 PyObject
* obj0
= 0 ;
34260 PyObject
* obj1
= 0 ;
34261 PyObject
* obj2
= 0 ;
34262 char *kwnames
[] = {
34263 (char *) "self",(char *) "dc",(char *) "pos", NULL
34266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34268 if (SWIG_arg_fail(1)) SWIG_fail
;
34270 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
34271 if (SWIG_arg_fail(2)) SWIG_fail
;
34272 if (arg2
== NULL
) {
34273 SWIG_null_ref("wxDC");
34275 if (SWIG_arg_fail(2)) SWIG_fail
;
34279 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34283 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
34285 wxPyEndAllowThreads(__tstate
);
34286 if (PyErr_Occurred()) SWIG_fail
;
34289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34297 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34298 PyObject
*resultobj
;
34299 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34301 wxMemoryDC
*arg3
= 0 ;
34307 PyObject
* obj0
= 0 ;
34308 PyObject
* obj1
= 0 ;
34309 PyObject
* obj2
= 0 ;
34310 PyObject
* obj3
= 0 ;
34311 PyObject
* obj4
= 0 ;
34312 char *kwnames
[] = {
34313 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
34316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34318 if (SWIG_arg_fail(1)) SWIG_fail
;
34320 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
34321 if (SWIG_arg_fail(2)) SWIG_fail
;
34322 if (arg2
== NULL
) {
34323 SWIG_null_ref("wxDC");
34325 if (SWIG_arg_fail(2)) SWIG_fail
;
34328 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_EXCEPTION
| 0);
34329 if (SWIG_arg_fail(3)) SWIG_fail
;
34330 if (arg3
== NULL
) {
34331 SWIG_null_ref("wxMemoryDC");
34333 if (SWIG_arg_fail(3)) SWIG_fail
;
34337 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34341 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
34344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34345 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
34347 wxPyEndAllowThreads(__tstate
);
34348 if (PyErr_Occurred()) SWIG_fail
;
34351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34359 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34360 PyObject
*resultobj
;
34361 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34362 wxPoint
*arg2
= 0 ;
34363 wxPoint
*arg3
= 0 ;
34369 PyObject
* obj0
= 0 ;
34370 PyObject
* obj1
= 0 ;
34371 PyObject
* obj2
= 0 ;
34372 PyObject
* obj3
= 0 ;
34373 PyObject
* obj4
= 0 ;
34374 char *kwnames
[] = {
34375 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
34378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34380 if (SWIG_arg_fail(1)) SWIG_fail
;
34383 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34387 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34390 arg4
= (bool)(SWIG_As_bool(obj3
));
34391 if (SWIG_arg_fail(4)) SWIG_fail
;
34394 arg5
= (bool)(SWIG_As_bool(obj4
));
34395 if (SWIG_arg_fail(5)) SWIG_fail
;
34398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34399 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
34401 wxPyEndAllowThreads(__tstate
);
34402 if (PyErr_Occurred()) SWIG_fail
;
34405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34413 static PyObject
* DragImage_swigregister(PyObject
*, PyObject
*args
) {
34415 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34416 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
34418 return Py_BuildValue((char *)"");
34420 static PyMethodDef SwigMethods
[] = {
34421 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34422 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34423 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34424 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34425 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34426 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34427 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
34428 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34429 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34430 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34431 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34432 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34433 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34434 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34435 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34436 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34437 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34438 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34439 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34440 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34441 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34442 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
34443 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34444 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34445 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34446 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34447 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34448 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34449 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34450 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34451 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34452 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34453 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34454 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
34455 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34456 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34457 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34458 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34459 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34460 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34461 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34462 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
34463 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34464 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34465 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34466 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34467 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34468 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34469 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34470 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34471 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34472 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34473 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34474 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34475 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34476 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34477 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34478 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34479 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34480 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34481 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34482 { (char *)"ComboBox_IsEditable", (PyCFunction
) _wrap_ComboBox_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34483 { (char *)"ComboBox_Undo", (PyCFunction
) _wrap_ComboBox_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34484 { (char *)"ComboBox_Redo", (PyCFunction
) _wrap_ComboBox_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34485 { (char *)"ComboBox_SelectAll", (PyCFunction
) _wrap_ComboBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34486 { (char *)"ComboBox_CanCopy", (PyCFunction
) _wrap_ComboBox_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34487 { (char *)"ComboBox_CanCut", (PyCFunction
) _wrap_ComboBox_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34488 { (char *)"ComboBox_CanPaste", (PyCFunction
) _wrap_ComboBox_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34489 { (char *)"ComboBox_CanUndo", (PyCFunction
) _wrap_ComboBox_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34490 { (char *)"ComboBox_CanRedo", (PyCFunction
) _wrap_ComboBox_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34491 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34492 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
34493 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34494 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34495 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34496 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34497 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34498 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34499 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34500 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34501 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34502 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34503 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34504 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34505 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34506 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
34507 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34508 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34509 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34510 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34511 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
34512 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34513 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34514 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34515 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34516 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34517 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34518 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
34519 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34520 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34521 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34522 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34523 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
34524 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34525 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34526 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34527 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34528 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34529 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34530 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34531 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
34532 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34533 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34534 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34535 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34536 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34537 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34538 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34539 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34540 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34541 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34542 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34543 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34544 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34545 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34546 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34547 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34548 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34549 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34550 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34551 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34552 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34553 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34554 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
34555 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34556 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34557 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34558 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34559 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34560 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34561 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34562 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34563 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
34564 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34565 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34566 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34567 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34568 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34569 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34570 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34571 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34572 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34573 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34574 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34575 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34576 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34577 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34578 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34579 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34580 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34581 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34582 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34583 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34584 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34585 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34586 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34587 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34588 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34589 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
) _wrap_TextAttr_GetLeftSubIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34590 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34591 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34592 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34593 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34594 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
34595 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34596 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34597 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34598 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34599 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34600 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34601 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34602 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34603 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34604 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34605 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34606 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34607 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34608 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34609 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34610 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34611 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34612 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34613 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34614 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34615 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34616 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34617 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34618 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34619 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34620 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34621 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34622 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34623 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34624 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34625 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34626 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34627 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34628 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34629 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34630 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34631 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34632 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34633 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34634 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34635 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34636 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34637 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34638 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34639 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34640 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34641 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34642 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34643 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34644 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34645 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34646 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34647 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34648 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34649 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34650 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
34651 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34652 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34653 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34654 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34655 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
34656 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34657 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34658 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34659 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34660 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34661 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34662 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34663 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34664 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34665 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34666 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34667 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
34668 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34669 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34670 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34671 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34672 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34673 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34674 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34675 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34676 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34677 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34678 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34679 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34680 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
34681 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34682 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34683 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34684 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34685 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34686 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34687 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34688 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34689 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34690 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34691 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34692 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
34693 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34694 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34695 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34696 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
34697 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34698 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34699 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34700 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34701 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34702 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34703 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34704 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34705 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34706 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34707 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34708 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34709 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34710 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34711 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34712 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34713 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34714 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
34715 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34716 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34717 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34718 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34719 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34720 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34721 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
34722 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34723 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34724 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34725 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34726 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34727 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34728 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34729 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34730 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34731 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34732 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34733 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34734 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34735 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34736 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34737 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34738 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34739 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34740 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34741 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34742 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34743 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34744 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34745 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34746 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34747 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
34748 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34749 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34750 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34751 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34752 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34753 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34754 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34755 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
34756 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
) _wrap_BookCtrlBase_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34757 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34758 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34759 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
) _wrap_BookCtrlBase_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34760 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34761 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34762 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34763 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34764 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
) _wrap_BookCtrlBase_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34765 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34766 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34767 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34768 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34769 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34770 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34771 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
) _wrap_BookCtrlBase_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34772 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34773 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34774 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34775 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34776 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34777 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
34778 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34779 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34780 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34781 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34782 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34783 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
34784 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34785 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34786 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34787 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34788 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34789 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34790 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34791 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34792 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34793 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
34794 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34795 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
34796 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34797 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34798 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34799 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34800 { (char *)"Listbook_GetListView", (PyCFunction
) _wrap_Listbook_GetListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34801 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
34802 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34803 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
34804 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34805 { (char *)"new_PreChoicebook", (PyCFunction
) _wrap_new_PreChoicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34806 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34807 { (char *)"Choicebook_IsVertical", (PyCFunction
) _wrap_Choicebook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34808 { (char *)"Choicebook_DeleteAllPages", (PyCFunction
) _wrap_Choicebook_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34809 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
34810 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34811 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
34812 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34813 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34814 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34815 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34816 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
, NULL
},
34817 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34818 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34819 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34820 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34821 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
, NULL
},
34822 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34823 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34824 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34825 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34826 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34827 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34828 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34829 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34830 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34831 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34832 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34833 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34834 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34835 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34836 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34837 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34838 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34839 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34840 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34841 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34842 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34843 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34844 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34845 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34846 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34847 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34848 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34849 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34850 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34851 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
34852 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34853 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34854 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34855 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34856 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34857 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34858 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34859 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34860 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34861 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34862 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34863 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34864 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34865 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34866 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34867 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34868 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34869 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34870 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34871 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34872 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34873 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34874 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34875 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34876 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34877 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34878 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34879 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34880 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34881 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34882 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34883 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34884 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34885 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34886 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34887 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34888 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34889 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34890 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34891 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34892 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34893 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34894 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34895 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34896 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
34897 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34898 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34899 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34900 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34901 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34902 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
34903 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34904 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34905 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34906 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34907 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34908 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34909 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34910 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34911 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34912 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34913 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34914 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
34915 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34916 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34917 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34918 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34919 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34920 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34921 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34922 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34923 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34924 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34925 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34926 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34927 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34928 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34929 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34930 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34931 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34932 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34933 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34934 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34935 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34936 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34937 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34938 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34939 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34940 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34941 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34942 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34943 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34944 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34945 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34946 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34947 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34948 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34949 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34950 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34951 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34952 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34953 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34954 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34955 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34956 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34957 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34958 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34959 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34960 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34961 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34962 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34963 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34964 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34965 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34966 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
34967 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34968 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34969 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34970 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34971 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34972 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34973 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34974 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34975 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34976 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34977 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34978 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34979 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34980 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34981 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34982 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34983 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34984 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34985 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34986 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34987 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34988 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34989 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34990 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34991 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34992 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34993 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
34994 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34995 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34996 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34997 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34998 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34999 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35000 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35001 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35002 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35003 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35004 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35005 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35006 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35007 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35008 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35009 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35010 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35011 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35012 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35013 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35014 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35015 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35016 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35017 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35018 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35019 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35020 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35021 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35022 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35023 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35024 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35025 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35026 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35027 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35028 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35029 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35030 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35031 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35032 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35033 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35034 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35035 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35036 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35037 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35038 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35039 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35040 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35041 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35042 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35043 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35044 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35045 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35046 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35047 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35048 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35049 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35050 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35051 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35052 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35053 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35054 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35055 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35056 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35057 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35058 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35059 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35060 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35061 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35062 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35063 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35064 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
35065 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35066 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35067 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35068 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35069 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35070 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35071 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35072 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35073 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35074 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35075 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35076 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
35077 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35078 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35079 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35080 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35081 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35082 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35083 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35084 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
35085 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35086 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35087 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35088 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35089 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35090 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35091 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
35092 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35093 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35094 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35095 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35096 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35097 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35098 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35099 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35100 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35101 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35102 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35103 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35104 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35105 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35106 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35107 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
35108 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35109 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35110 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35111 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35112 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35113 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35114 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35115 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35116 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35117 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35118 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35119 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35120 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35121 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35122 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35123 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35124 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35125 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35126 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35127 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35128 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35129 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35130 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35131 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35132 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35133 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35134 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35135 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35136 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35137 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35138 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35139 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35140 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35141 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35142 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35143 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35144 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35145 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35146 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35147 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35148 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35149 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35150 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35151 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35152 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35153 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35154 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35155 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35156 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35157 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35158 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35159 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35160 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35161 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35162 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35163 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35164 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35165 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35166 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35167 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35168 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35169 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35170 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35171 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35172 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35173 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35174 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35175 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35176 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35177 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35178 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35179 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35180 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35181 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35182 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
35183 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35184 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35185 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35186 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35187 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35188 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35189 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35190 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35191 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35192 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35193 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35194 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35195 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35196 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35197 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35198 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35199 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35200 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35201 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35202 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35203 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35204 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
35205 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35206 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35207 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35208 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35209 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
35210 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35211 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35212 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35213 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35214 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35215 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35216 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35217 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35218 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35219 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35220 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35221 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35222 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35223 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35224 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35225 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35226 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35227 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35228 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35229 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35230 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35231 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35232 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35233 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyControl_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35234 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyControl_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35235 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
35236 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35237 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35238 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35239 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35240 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35241 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35242 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35243 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
35244 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35245 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35246 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35247 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35248 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
35249 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35250 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
35251 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35252 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35253 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35254 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35255 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35256 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35257 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35258 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35259 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
35260 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35261 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
35262 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35263 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35264 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35265 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35266 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35267 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35268 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35269 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35270 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35271 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35272 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35273 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35274 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35275 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35276 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35277 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35278 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35279 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
35280 { NULL
, NULL
, 0, NULL
}
35284 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
35286 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
35287 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
35289 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
35290 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
35292 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
35293 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
35295 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
35296 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
35298 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
35299 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
35301 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
35302 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
35304 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
35305 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
35307 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
35308 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
35310 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
35311 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
35313 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
35314 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
35316 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
35317 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
35319 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
35320 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
35322 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
35323 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
35325 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
35326 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
35328 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
35329 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
35331 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
35332 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
35334 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
35335 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
35337 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
35338 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
35340 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
35341 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
35343 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
35344 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
35346 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
35347 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
35349 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
35350 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
35352 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
35353 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
35355 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
35356 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
35358 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
35359 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
35361 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
35362 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
35364 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
35365 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
35367 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
35368 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
35370 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
35371 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
35373 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
35374 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
35376 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
35377 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
35379 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
35380 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
35382 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
35383 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
35385 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
35386 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
35388 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
35389 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
35391 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
35392 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
35394 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
35395 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
35397 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
35398 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
35400 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
35401 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
35403 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
35404 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
35406 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
35407 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
35409 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
35410 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
35412 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
35413 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
35415 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
35416 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
35418 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
35419 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
35421 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
35422 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
35424 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
35425 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
35427 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
35428 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
35430 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
35431 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
35433 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
35434 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
35436 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
35437 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
35439 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
35440 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
35442 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
35443 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
35445 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
35446 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
35448 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
35449 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
35451 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
35452 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
35454 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
35455 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
35457 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
35458 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
35460 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
35461 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
35463 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
35464 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
35466 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
35467 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
35469 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
35470 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
35472 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
35473 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
35475 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
35476 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
35478 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
35479 return (void *)((wxControl
*) ((wxPyControl
*) x
));
35481 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
35482 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
35484 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
35485 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
35487 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
35488 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
35490 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
35491 return (void *)((wxControl
*) ((wxComboBox
*) x
));
35493 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
35494 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
35496 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
35497 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
35499 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
35500 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
35502 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
35503 return (void *)((wxControl
*) ((wxGauge
*) x
));
35505 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
35506 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
35508 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
35509 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
35511 static void *_p_wxListbookTo_p_wxControl(void *x
) {
35512 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
35514 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
35515 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
35517 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
35518 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
35520 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
35521 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
35523 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
35524 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
35526 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
35527 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
35529 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
35530 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
35532 static void *_p_wxListViewTo_p_wxControl(void *x
) {
35533 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
35535 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
35536 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
35538 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
35539 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
35541 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
35542 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
35544 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
35545 return (void *)((wxControl
*) ((wxStaticText
*) x
));
35547 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
35548 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
35550 static void *_p_wxSliderTo_p_wxControl(void *x
) {
35551 return (void *)((wxControl
*) ((wxSlider
*) x
));
35553 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
35554 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
35556 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
35557 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
35559 static void *_p_wxButtonTo_p_wxControl(void *x
) {
35560 return (void *)((wxControl
*) ((wxButton
*) x
));
35562 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
35563 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
35565 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
35566 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
35568 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
35569 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
35571 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
35572 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
35574 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
35575 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
35577 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
35578 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
35580 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
35581 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
35583 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
35584 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
35586 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
35587 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
35589 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
35590 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
35592 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
35593 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
35595 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
35596 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
35598 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
35599 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
35601 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
35602 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
35604 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
35605 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
35607 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
35608 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
35610 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
35611 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
35613 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
35614 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
35616 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
35617 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
35619 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
35620 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
35622 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
35623 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
35625 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
35626 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
35628 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
35629 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
35631 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
35632 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
35634 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
35635 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
35637 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
35638 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
35640 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
35641 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
35643 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
35644 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
35646 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
35647 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
35649 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
35650 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
35652 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
35653 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
35655 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
35656 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
35658 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
35659 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
35661 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
35662 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
35664 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
35665 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
35667 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
35668 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
35670 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
35671 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
35673 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
35674 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
35676 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
35677 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
35679 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
35680 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
35682 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
35683 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
35685 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
35686 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
35688 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
35689 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
35691 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
35692 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
35694 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
35695 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
35697 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
35698 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
35700 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
35701 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
35703 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
35704 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
35706 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
35707 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
35709 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
35710 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
35712 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
35713 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
35715 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
35716 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
35718 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
35719 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
35721 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
35722 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
35724 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
35725 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
35727 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
35728 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
35730 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
35731 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
35733 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
35734 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
35736 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
35737 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
35739 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
35740 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
35742 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
35743 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
35745 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
35746 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
35748 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
35749 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
35751 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
35752 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
35754 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
35755 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
35757 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
35758 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
35760 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
35761 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
35763 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
35764 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
35766 static void *_p_wxSizerTo_p_wxObject(void *x
) {
35767 return (void *)((wxObject
*) ((wxSizer
*) x
));
35769 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
35770 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
35772 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
35773 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
35775 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
35776 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
35778 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
35779 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
35781 static void *_p_wxEventTo_p_wxObject(void *x
) {
35782 return (void *)((wxObject
*) ((wxEvent
*) x
));
35784 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
35785 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
35787 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
35788 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
35790 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
35791 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
35793 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
35794 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
35796 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
35797 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
35799 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
35800 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
35802 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
35803 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
35805 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
35806 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
35808 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
35809 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
35811 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
35812 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
35814 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
35815 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
35817 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
35818 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
35820 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
35821 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
35823 static void *_p_wxControlTo_p_wxObject(void *x
) {
35824 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
35826 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
35827 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
35829 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
35830 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
35832 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
35833 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
35835 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
35836 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
35838 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
35839 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
35841 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
35842 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
35844 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
35845 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
35847 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
35848 return (void *)((wxObject
*) ((wxFSFile
*) x
));
35850 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
35851 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
35853 static void *_p_wxListViewTo_p_wxObject(void *x
) {
35854 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
35856 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
35857 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
35859 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
35860 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
35862 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
35863 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
35865 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
35866 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
35868 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
35869 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
35871 static void *_p_wxListbookTo_p_wxObject(void *x
) {
35872 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
35874 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
35875 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
35877 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
35878 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
35880 static void *_p_wxSliderTo_p_wxObject(void *x
) {
35881 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
35883 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
35884 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
35886 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
35887 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
35889 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
35890 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
35892 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
35893 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
35895 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
35896 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
35898 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
35899 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
35901 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
35902 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
35904 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
35905 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
35907 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
35908 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
35910 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
35911 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
35913 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
35914 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
35916 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
35917 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
35919 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
35920 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
35922 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
35923 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
35925 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
35926 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
35928 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
35929 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
35931 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
35932 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
35934 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
35935 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
35937 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
35938 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
35940 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
35941 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
35943 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
35944 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
35946 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
35947 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
35949 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
35950 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
35952 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
35953 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
35955 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
35956 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
35958 static void *_p_wxListEventTo_p_wxObject(void *x
) {
35959 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
35961 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
35962 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
35964 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
35965 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
35967 static void *_p_wxButtonTo_p_wxObject(void *x
) {
35968 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
35970 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
35971 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
35973 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
35974 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
35976 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
35977 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
35979 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
35980 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
35982 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
35983 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
35985 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
35986 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
35988 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
35989 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
35991 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
35992 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
35994 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
35995 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
35997 static void *_p_wxListItemTo_p_wxObject(void *x
) {
35998 return (void *)((wxObject
*) ((wxListItem
*) x
));
36000 static void *_p_wxImageTo_p_wxObject(void *x
) {
36001 return (void *)((wxObject
*) ((wxImage
*) x
));
36003 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
36004 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
36006 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
36007 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
36009 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
36010 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36012 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
36013 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
36015 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
36016 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
36018 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
36019 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36021 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
36022 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36024 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
36025 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36027 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
36028 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36030 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
36031 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
36033 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
36034 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
36036 static void *_p_wxWindowTo_p_wxObject(void *x
) {
36037 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
36039 static void *_p_wxMenuTo_p_wxObject(void *x
) {
36040 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
36042 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
36043 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
36045 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
36046 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
36048 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
36049 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36051 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
36052 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
36054 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
36055 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
36057 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
36058 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
36060 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
36061 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
36063 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
36064 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
36066 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
36067 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36069 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
36070 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36072 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
36073 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36075 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
36076 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
36078 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
36079 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
36081 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
36082 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
36084 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
36085 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
36087 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
36088 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36090 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
36091 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
36093 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
36094 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
36096 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
36097 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36099 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
36100 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
36102 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
36103 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
36105 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
36106 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
36108 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
36109 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
36111 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
36112 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
36114 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
36115 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36117 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
36118 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
36120 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
36121 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
36123 static void *_p_wxControlTo_p_wxWindow(void *x
) {
36124 return (void *)((wxWindow
*) ((wxControl
*) x
));
36126 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
36127 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
36129 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
36130 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36132 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
36133 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
36135 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
36136 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
36138 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
36139 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
36141 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
36142 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
36144 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
36145 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
36147 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
36148 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
36150 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
36151 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
36153 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
36154 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
36156 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
36157 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36159 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
36160 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36162 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
36163 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
36165 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
36166 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
36168 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
36169 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
36171 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
36172 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36174 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
36175 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36177 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
36178 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36180 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
36181 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36183 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
36184 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36186 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
36187 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
36189 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
36190 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
36192 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
36193 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
36195 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
36196 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
36198 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
36199 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
36201 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
36202 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
36204 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
36205 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
36207 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
36208 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36210 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
36211 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36213 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
36214 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
36216 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36217 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36219 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36220 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36222 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36223 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36225 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
36226 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36228 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
36229 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
36231 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
36232 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
36234 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
36235 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36237 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
36238 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36240 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
36241 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36243 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
36244 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36246 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
36247 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36249 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
36250 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36252 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
36253 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36255 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
36256 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
36258 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
36259 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36261 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
36262 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36264 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
36265 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36267 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
36268 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
36270 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
36271 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36273 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
36274 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36276 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
36277 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36279 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
36280 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
36282 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
36283 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
36285 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
36286 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
36288 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
36289 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
36291 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}};
36292 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}};
36293 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}};
36294 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}};
36295 static swig_type_info _swigt__p_wxEvent
[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36296 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}};
36297 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}};
36298 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}};
36299 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}};
36300 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}};
36301 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}};
36302 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}};
36303 static swig_type_info _swigt__p_wxControl
[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36304 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}};
36305 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}};
36306 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}};
36307 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}};
36308 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}};
36309 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}};
36310 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}};
36311 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}};
36312 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}};
36313 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}};
36314 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}};
36315 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}};
36316 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}};
36317 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}};
36318 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}};
36319 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}};
36320 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}};
36321 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}};
36322 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}};
36323 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}};
36324 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}};
36325 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}};
36326 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}};
36327 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}};
36328 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}};
36329 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}};
36330 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}};
36331 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}};
36332 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}};
36333 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}};
36334 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}};
36335 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}};
36336 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}};
36337 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36338 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}};
36339 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}};
36340 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}};
36341 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}};
36342 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}};
36343 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}};
36344 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}};
36345 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}};
36346 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}};
36347 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}};
36348 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}};
36349 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}};
36350 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}};
36351 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}};
36352 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}};
36353 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}};
36354 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}};
36355 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}};
36356 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}};
36357 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}};
36358 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}};
36359 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}};
36360 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}};
36361 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}};
36362 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}};
36363 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}};
36364 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}};
36365 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}};
36366 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextHelp", _p_wxContextHelpTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListItem", _p_wxListItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGenericDragImage", _p_wxGenericDragImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToolBarToolBase", _p_wxToolBarToolBaseTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36367 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}};
36368 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}};
36369 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}};
36370 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36371 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}};
36372 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}};
36373 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}};
36374 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}};
36375 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}};
36376 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}};
36377 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}};
36378 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}};
36379 static swig_type_info _swigt__p_wxCommandEvent
[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36380 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}};
36381 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}};
36382 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}};
36383 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}};
36384 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}};
36385 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}};
36386 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}};
36388 static swig_type_info
*swig_types_initial
[] = {
36389 _swigt__p_wxTextUrlEvent
,
36391 _swigt__p_wxCheckBox
,
36392 _swigt__p_wxPyTreeCtrl
,
36394 _swigt__p_wxGenericDirCtrl
,
36396 _swigt__p_wxItemContainer
,
36397 _swigt__p_wxPyListCtrl
,
36398 _swigt__p_wxPyTreeItemData
,
36399 _swigt__p_wxDirFilterListCtrl
,
36400 _swigt__p_wxStaticLine
,
36401 _swigt__p_wxControl
,
36402 _swigt__p_wxPyControl
,
36404 _swigt__p_wxToolBarBase
,
36406 _swigt__p_wxToggleButton
,
36407 _swigt__p_wxRadioButton
,
36408 _swigt__p_wxChoice
,
36409 _swigt__p_wxMemoryDC
,
36411 _swigt__std__ptrdiff_t
,
36412 _swigt__p_wxListItemAttr
,
36417 _swigt__p_wxListView
,
36419 _swigt__p_wxVisualAttributes
,
36420 _swigt__p_wxTextCtrl
,
36421 _swigt__p_wxNotebook
,
36422 _swigt__p_wxChoicebook
,
36423 _swigt__p_wxNotifyEvent
,
36424 _swigt__p_wxArrayString
,
36425 _swigt__p_form_ops_t
,
36426 _swigt__p_wxListbook
,
36427 _swigt__p_wxStaticBitmap
,
36428 _swigt__p_wxSlider
,
36429 _swigt__p_wxStaticBox
,
36430 _swigt__p_wxArrayInt
,
36431 _swigt__p_wxContextHelp
,
36433 _swigt__p_wxDuplexMode
,
36434 _swigt__p_wxBookCtrlBase
,
36435 _swigt__p_wxEvtHandler
,
36436 _swigt__p_wxListEvent
,
36437 _swigt__p_wxCheckListBox
,
36438 _swigt__p_wxListBox
,
36439 _swigt__p_wxSpinButton
,
36440 _swigt__p_wxButton
,
36441 _swigt__p_wxBitmapButton
,
36443 _swigt__p_wxContextHelpButton
,
36444 _swigt__p_wxRadioBox
,
36445 _swigt__p_wxScrollBar
,
36447 _swigt__p_wxComboBox
,
36448 _swigt__p_wxTreeItemId
,
36449 _swigt__p_wxHelpEvent
,
36450 _swigt__p_wxListItem
,
36451 _swigt__p_wxNotebookSizer
,
36452 _swigt__p_wxSpinEvent
,
36453 _swigt__p_wxGenericDragImage
,
36454 _swigt__p_wxSpinCtrl
,
36455 _swigt__p_wxPaperSize
,
36456 _swigt__p_wxImageList
,
36457 _swigt__p_wxHelpProvider
,
36458 _swigt__p_wxTextAttr
,
36459 _swigt__p_wxSimpleHelpProvider
,
36460 _swigt__p_wxChoicebookEvent
,
36461 _swigt__p_wxListbookEvent
,
36462 _swigt__p_wxNotebookEvent
,
36464 _swigt__p_wxObject
,
36465 _swigt__p_wxCursor
,
36466 _swigt__p_wxKeyEvent
,
36467 _swigt__p_unsigned_long
,
36468 _swigt__p_wxWindow
,
36469 _swigt__p_wxString
,
36470 _swigt__p_wxBitmap
,
36471 _swigt__unsigned_int
,
36472 _swigt__p_unsigned_int
,
36473 _swigt__p_unsigned_char
,
36474 _swigt__p_wxMouseEvent
,
36475 _swigt__p_wxBookCtrlBaseEvent
,
36476 _swigt__p_wxTreeEvent
,
36477 _swigt__p_wxCommandEvent
,
36478 _swigt__p_wxStaticText
,
36479 _swigt__p_wxControlWithItems
,
36480 _swigt__p_wxToolBarToolBase
,
36481 _swigt__p_wxColour
,
36482 _swigt__p_wxToolBar
,
36483 _swigt__p_wxBookCtrlSizer
,
36484 _swigt__p_wxValidator
,
36489 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
36491 static swig_const_info swig_const_table
[] = {
36492 {0, 0, 0, 0.0, 0, 0}};
36503 /* Python-specific SWIG API */
36504 #define SWIG_newvarlink() SWIG_Python_newvarlink()
36505 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
36506 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
36508 /* -----------------------------------------------------------------------------
36509 * global variable support code.
36510 * ----------------------------------------------------------------------------- */
36512 typedef struct swig_globalvar
{
36513 char *name
; /* Name of global variable */
36514 PyObject
*(*get_attr
)(); /* Return the current value */
36515 int (*set_attr
)(PyObject
*); /* Set the value */
36516 struct swig_globalvar
*next
;
36519 typedef struct swig_varlinkobject
{
36521 swig_globalvar
*vars
;
36522 } swig_varlinkobject
;
36525 swig_varlink_repr(swig_varlinkobject
*v
) {
36527 return PyString_FromString("<Swig global variables>");
36531 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
36532 swig_globalvar
*var
;
36534 fprintf(fp
,"Swig global variables { ");
36535 for (var
= v
->vars
; var
; var
=var
->next
) {
36536 fprintf(fp
,"%s", var
->name
);
36537 if (var
->next
) fprintf(fp
,", ");
36539 fprintf(fp
," }\n");
36544 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
36545 swig_globalvar
*var
= v
->vars
;
36547 if (strcmp(var
->name
,n
) == 0) {
36548 return (*var
->get_attr
)();
36552 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
36557 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
36558 swig_globalvar
*var
= v
->vars
;
36560 if (strcmp(var
->name
,n
) == 0) {
36561 return (*var
->set_attr
)(p
);
36565 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
36569 static PyTypeObject varlinktype
= {
36570 PyObject_HEAD_INIT(0)
36571 0, /* Number of items in variable part (ob_size) */
36572 (char *)"swigvarlink", /* Type name (tp_name) */
36573 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
36574 0, /* Itemsize (tp_itemsize) */
36575 0, /* Deallocator (tp_dealloc) */
36576 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
36577 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
36578 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
36579 0, /* tp_compare */
36580 (reprfunc
) swig_varlink_repr
, /* tp_repr */
36581 0, /* tp_as_number */
36582 0, /* tp_as_sequence */
36583 0, /* tp_as_mapping */
36587 0, /* tp_getattro */
36588 0, /* tp_setattro */
36589 0, /* tp_as_buffer */
36592 #if PY_VERSION_HEX >= 0x02000000
36593 0, /* tp_traverse */
36596 #if PY_VERSION_HEX >= 0x02010000
36597 0, /* tp_richcompare */
36598 0, /* tp_weaklistoffset */
36600 #if PY_VERSION_HEX >= 0x02020000
36601 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
36603 #if PY_VERSION_HEX >= 0x02030000
36606 #ifdef COUNT_ALLOCS
36607 0,0,0,0 /* tp_alloc -> tp_next */
36611 /* Create a variable linking object for use later */
36613 SWIG_Python_newvarlink(void) {
36614 swig_varlinkobject
*result
= 0;
36615 result
= PyMem_NEW(swig_varlinkobject
,1);
36616 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
36617 result
->ob_type
= &varlinktype
;
36619 result
->ob_refcnt
= 0;
36620 Py_XINCREF((PyObject
*) result
);
36621 return ((PyObject
*) result
);
36625 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
36626 swig_varlinkobject
*v
;
36627 swig_globalvar
*gv
;
36628 v
= (swig_varlinkobject
*) p
;
36629 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
36630 gv
->name
= (char *) malloc(strlen(name
)+1);
36631 strcpy(gv
->name
,name
);
36632 gv
->get_attr
= get_attr
;
36633 gv
->set_attr
= set_attr
;
36634 gv
->next
= v
->vars
;
36638 /* -----------------------------------------------------------------------------
36639 * constants/methods manipulation
36640 * ----------------------------------------------------------------------------- */
36642 /* Install Constants */
36644 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
36647 for (i
= 0; constants
[i
].type
; i
++) {
36648 switch(constants
[i
].type
) {
36650 obj
= PyInt_FromLong(constants
[i
].lvalue
);
36652 case SWIG_PY_FLOAT
:
36653 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
36655 case SWIG_PY_STRING
:
36656 if (constants
[i
].pvalue
) {
36657 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
36659 Py_INCREF(Py_None
);
36663 case SWIG_PY_POINTER
:
36664 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
36666 case SWIG_PY_BINARY
:
36667 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
36674 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
36680 /* -----------------------------------------------------------------------------*/
36681 /* Fix SwigMethods to carry the callback ptrs when needed */
36682 /* -----------------------------------------------------------------------------*/
36685 SWIG_Python_FixMethods(PyMethodDef
*methods
,
36686 swig_const_info
*const_table
,
36687 swig_type_info
**types
,
36688 swig_type_info
**types_initial
) {
36690 for (i
= 0; methods
[i
].ml_name
; ++i
) {
36691 char *c
= methods
[i
].ml_doc
;
36692 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
36694 swig_const_info
*ci
= 0;
36695 char *name
= c
+ 10;
36696 for (j
= 0; const_table
[j
].type
; j
++) {
36697 if (strncmp(const_table
[j
].name
, name
,
36698 strlen(const_table
[j
].name
)) == 0) {
36699 ci
= &(const_table
[j
]);
36704 size_t shift
= (ci
->ptype
) - types
;
36705 swig_type_info
*ty
= types_initial
[shift
];
36706 size_t ldoc
= (c
- methods
[i
].ml_doc
);
36707 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
36708 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
36710 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
36711 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
36713 strncpy(buff
, "swig_ptr: ", 10);
36715 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
36716 methods
[i
].ml_doc
= ndoc
;
36722 /* -----------------------------------------------------------------------------*
36723 * Initialize type list
36724 * -----------------------------------------------------------------------------*/
36726 #if PY_MAJOR_VERSION < 2
36727 /* PyModule_AddObject function was introduced in Python 2.0. The following function
36728 is copied out of Python/modsupport.c in python version 2.3.4 */
36730 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
36733 if (!PyModule_Check(m
)) {
36734 PyErr_SetString(PyExc_TypeError
,
36735 "PyModule_AddObject() needs module as first arg");
36739 PyErr_SetString(PyExc_TypeError
,
36740 "PyModule_AddObject() needs non-NULL value");
36744 dict
= PyModule_GetDict(m
);
36745 if (dict
== NULL
) {
36746 /* Internal error -- modules must have a dict! */
36747 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
36748 PyModule_GetName(m
));
36751 if (PyDict_SetItemString(dict
, name
, o
))
36758 static swig_type_info
**
36759 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
36760 static PyMethodDef swig_empty_runtime_method_table
[] = {
36762 NULL
, NULL
, 0, NULL
36766 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
36767 swig_empty_runtime_method_table
);
36768 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
36769 if (pointer
&& module) {
36770 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
36772 return type_list_handle
;
36775 static swig_type_info
**
36776 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
36777 swig_type_info
**type_pointer
;
36779 /* first check if module already created */
36780 type_pointer
= SWIG_Python_GetTypeListHandle();
36781 if (type_pointer
) {
36782 return type_pointer
;
36784 /* create a new module and variable */
36785 return SWIG_Python_SetTypeListHandle(type_list_handle
);
36793 /* -----------------------------------------------------------------------------*
36794 * Partial Init method
36795 * -----------------------------------------------------------------------------*/
36797 #ifdef SWIG_LINK_RUNTIME
36801 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
36807 SWIGEXPORT(void) SWIG_init(void) {
36808 static PyObject
*SWIG_globals
= 0;
36809 static int typeinit
= 0;
36812 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
36814 /* Fix SwigMethods to carry the callback ptrs when needed */
36815 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
36817 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
36818 d
= PyModule_GetDict(m
);
36821 #ifdef SWIG_LINK_RUNTIME
36822 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
36824 # ifndef SWIG_STATIC_RUNTIME
36825 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
36828 for (i
= 0; swig_types_initial
[i
]; i
++) {
36829 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
36833 SWIG_InstallConstants(d
,swig_const_table
);
36835 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
36836 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
36838 PyDict_SetItemString(d
,"BU_LEFT", SWIG_From_int((int)(wxBU_LEFT
)));
36841 PyDict_SetItemString(d
,"BU_TOP", SWIG_From_int((int)(wxBU_TOP
)));
36844 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_From_int((int)(wxBU_RIGHT
)));
36847 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_From_int((int)(wxBU_BOTTOM
)));
36850 PyDict_SetItemString(d
,"BU_ALIGN_MASK", SWIG_From_int((int)(wxBU_ALIGN_MASK
)));
36853 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_From_int((int)(wxBU_EXACTFIT
)));
36856 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_From_int((int)(wxBU_AUTODRAW
)));
36858 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
36860 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_From_int((int)(wxCHK_2STATE
)));
36863 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_From_int((int)(wxCHK_3STATE
)));
36866 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int((int)(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
36869 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_From_int((int)(wxCHK_UNCHECKED
)));
36872 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_From_int((int)(wxCHK_CHECKED
)));
36875 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_From_int((int)(wxCHK_UNDETERMINED
)));
36877 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
36878 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
36879 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
36881 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_From_int((int)(wxGA_HORIZONTAL
)));
36884 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_From_int((int)(wxGA_VERTICAL
)));
36887 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_From_int((int)(wxGA_SMOOTH
)));
36890 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_From_int((int)(wxGA_PROGRESSBAR
)));
36892 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
36893 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
36894 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
36895 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
36896 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
36898 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_From_int((int)(wxTE_NO_VSCROLL
)));
36901 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_From_int((int)(wxTE_AUTO_SCROLL
)));
36904 PyDict_SetItemString(d
,"TE_READONLY", SWIG_From_int((int)(wxTE_READONLY
)));
36907 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_From_int((int)(wxTE_MULTILINE
)));
36910 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_From_int((int)(wxTE_PROCESS_TAB
)));
36913 PyDict_SetItemString(d
,"TE_LEFT", SWIG_From_int((int)(wxTE_LEFT
)));
36916 PyDict_SetItemString(d
,"TE_CENTER", SWIG_From_int((int)(wxTE_CENTER
)));
36919 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_From_int((int)(wxTE_RIGHT
)));
36922 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_From_int((int)(wxTE_CENTRE
)));
36925 PyDict_SetItemString(d
,"TE_RICH", SWIG_From_int((int)(wxTE_RICH
)));
36928 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_From_int((int)(wxTE_PROCESS_ENTER
)));
36931 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_From_int((int)(wxTE_PASSWORD
)));
36934 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_From_int((int)(wxTE_AUTO_URL
)));
36937 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_From_int((int)(wxTE_NOHIDESEL
)));
36940 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_From_int((int)(wxTE_DONTWRAP
)));
36943 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_From_int((int)(wxTE_LINEWRAP
)));
36946 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_From_int((int)(wxTE_WORDWRAP
)));
36949 PyDict_SetItemString(d
,"TE_RICH2", SWIG_From_int((int)(wxTE_RICH2
)));
36952 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_DEFAULT
)));
36955 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_LEFT
)));
36958 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTRE
)));
36961 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTER
)));
36964 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_RIGHT
)));
36967 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)(wxTEXT_ALIGNMENT_JUSTIFIED
)));
36970 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_TEXT_COLOUR
)));
36973 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
36976 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_FACE
)));
36979 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_SIZE
)));
36982 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)(wxTEXT_ATTR_FONT_WEIGHT
)));
36985 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)(wxTEXT_ATTR_FONT_ITALIC
)));
36988 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_UNDERLINE
)));
36991 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_From_int((int)(wxTEXT_ATTR_FONT
)));
36994 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)(wxTEXT_ATTR_ALIGNMENT
)));
36997 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_LEFT_INDENT
)));
37000 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_RIGHT_INDENT
)));
37003 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_From_int((int)(wxTEXT_ATTR_TABS
)));
37006 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_From_int((int)(wxTE_HT_UNKNOWN
)));
37009 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_From_int((int)(wxTE_HT_BEFORE
)));
37012 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_From_int((int)(wxTE_HT_ON_TEXT
)));
37015 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_From_int((int)(wxTE_HT_BELOW
)));
37018 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_From_int((int)(wxTE_HT_BEYOND
)));
37021 PyDict_SetItemString(d
,"OutOfRangeTextCoord", SWIG_From_int((int)(wxOutOfRangeTextCoord
)));
37024 PyDict_SetItemString(d
,"InvalidTextCoord", SWIG_From_int((int)(wxInvalidTextCoord
)));
37026 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
37027 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
37028 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
37029 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
37030 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
37031 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
37032 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
37034 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_From_int((int)(wxSP_HORIZONTAL
)));
37037 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_From_int((int)(wxSP_VERTICAL
)));
37040 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_From_int((int)(wxSP_ARROW_KEYS
)));
37043 PyDict_SetItemString(d
,"SP_WRAP", SWIG_From_int((int)(wxSP_WRAP
)));
37045 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
37046 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
37047 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
37048 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
37050 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_From_int((int)(wxSL_HORIZONTAL
)));
37053 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_From_int((int)(wxSL_VERTICAL
)));
37056 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_From_int((int)(wxSL_AUTOTICKS
)));
37059 PyDict_SetItemString(d
,"SL_LABELS", SWIG_From_int((int)(wxSL_LABELS
)));
37062 PyDict_SetItemString(d
,"SL_LEFT", SWIG_From_int((int)(wxSL_LEFT
)));
37065 PyDict_SetItemString(d
,"SL_TOP", SWIG_From_int((int)(wxSL_TOP
)));
37068 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_From_int((int)(wxSL_RIGHT
)));
37071 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_From_int((int)(wxSL_BOTTOM
)));
37074 PyDict_SetItemString(d
,"SL_BOTH", SWIG_From_int((int)(wxSL_BOTH
)));
37077 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_From_int((int)(wxSL_SELRANGE
)));
37080 PyDict_SetItemString(d
,"SL_INVERSE", SWIG_From_int((int)(wxSL_INVERSE
)));
37082 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
37083 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
37084 SWIG_addvarlink(SWIG_globals
,(char*)"NotebookNameStr",_wrap_NotebookNameStr_get
, _wrap_NotebookNameStr_set
);
37086 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_From_int((int)(wxNB_FIXEDWIDTH
)));
37089 PyDict_SetItemString(d
,"NB_TOP", SWIG_From_int((int)(wxNB_TOP
)));
37092 PyDict_SetItemString(d
,"NB_LEFT", SWIG_From_int((int)(wxNB_LEFT
)));
37095 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_From_int((int)(wxNB_RIGHT
)));
37098 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_From_int((int)(wxNB_BOTTOM
)));
37101 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_From_int((int)(wxNB_MULTILINE
)));
37104 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_From_int((int)(wxNB_HITTEST_NOWHERE
)));
37107 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_From_int((int)(wxNB_HITTEST_ONICON
)));
37110 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_From_int((int)(wxNB_HITTEST_ONLABEL
)));
37113 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_From_int((int)(wxNB_HITTEST_ONITEM
)));
37115 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
37116 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
37118 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_From_int((int)(wxLB_DEFAULT
)));
37121 PyDict_SetItemString(d
,"LB_TOP", SWIG_From_int((int)(wxLB_TOP
)));
37124 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_From_int((int)(wxLB_BOTTOM
)));
37127 PyDict_SetItemString(d
,"LB_LEFT", SWIG_From_int((int)(wxLB_LEFT
)));
37130 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_From_int((int)(wxLB_RIGHT
)));
37133 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_From_int((int)(wxLB_ALIGN_MASK
)));
37135 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
37136 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
37138 PyDict_SetItemString(d
,"CHB_DEFAULT", SWIG_From_int((int)(wxCHB_DEFAULT
)));
37141 PyDict_SetItemString(d
,"CHB_TOP", SWIG_From_int((int)(wxCHB_TOP
)));
37144 PyDict_SetItemString(d
,"CHB_BOTTOM", SWIG_From_int((int)(wxCHB_BOTTOM
)));
37147 PyDict_SetItemString(d
,"CHB_LEFT", SWIG_From_int((int)(wxCHB_LEFT
)));
37150 PyDict_SetItemString(d
,"CHB_RIGHT", SWIG_From_int((int)(wxCHB_RIGHT
)));
37153 PyDict_SetItemString(d
,"CHB_ALIGN_MASK", SWIG_From_int((int)(wxCHB_ALIGN_MASK
)));
37155 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
37156 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
37158 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_From_int((int)(wxTOOL_STYLE_BUTTON
)));
37161 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_From_int((int)(wxTOOL_STYLE_SEPARATOR
)));
37164 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_From_int((int)(wxTOOL_STYLE_CONTROL
)));
37167 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_From_int((int)(wxTB_HORIZONTAL
)));
37170 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_From_int((int)(wxTB_VERTICAL
)));
37173 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_From_int((int)(wxTB_3DBUTTONS
)));
37176 PyDict_SetItemString(d
,"TB_FLAT", SWIG_From_int((int)(wxTB_FLAT
)));
37179 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_From_int((int)(wxTB_DOCKABLE
)));
37182 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_From_int((int)(wxTB_NOICONS
)));
37185 PyDict_SetItemString(d
,"TB_TEXT", SWIG_From_int((int)(wxTB_TEXT
)));
37188 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_From_int((int)(wxTB_NODIVIDER
)));
37191 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_From_int((int)(wxTB_NOALIGN
)));
37194 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_From_int((int)(wxTB_HORZ_LAYOUT
)));
37197 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_From_int((int)(wxTB_HORZ_TEXT
)));
37199 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
37201 PyDict_SetItemString(d
,"LC_VRULES", SWIG_From_int((int)(wxLC_VRULES
)));
37204 PyDict_SetItemString(d
,"LC_HRULES", SWIG_From_int((int)(wxLC_HRULES
)));
37207 PyDict_SetItemString(d
,"LC_ICON", SWIG_From_int((int)(wxLC_ICON
)));
37210 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_From_int((int)(wxLC_SMALL_ICON
)));
37213 PyDict_SetItemString(d
,"LC_LIST", SWIG_From_int((int)(wxLC_LIST
)));
37216 PyDict_SetItemString(d
,"LC_REPORT", SWIG_From_int((int)(wxLC_REPORT
)));
37219 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_From_int((int)(wxLC_ALIGN_TOP
)));
37222 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_From_int((int)(wxLC_ALIGN_LEFT
)));
37225 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_From_int((int)(wxLC_AUTOARRANGE
)));
37228 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_From_int((int)(wxLC_VIRTUAL
)));
37231 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_From_int((int)(wxLC_EDIT_LABELS
)));
37234 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_From_int((int)(wxLC_NO_HEADER
)));
37237 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_From_int((int)(wxLC_NO_SORT_HEADER
)));
37240 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_From_int((int)(wxLC_SINGLE_SEL
)));
37243 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_From_int((int)(wxLC_SORT_ASCENDING
)));
37246 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_From_int((int)(wxLC_SORT_DESCENDING
)));
37249 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_From_int((int)(wxLC_MASK_TYPE
)));
37252 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_From_int((int)(wxLC_MASK_ALIGN
)));
37255 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_From_int((int)(wxLC_MASK_SORT
)));
37258 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_From_int((int)(wxLIST_MASK_STATE
)));
37261 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_From_int((int)(wxLIST_MASK_TEXT
)));
37264 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_From_int((int)(wxLIST_MASK_IMAGE
)));
37267 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_From_int((int)(wxLIST_MASK_DATA
)));
37270 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_From_int((int)(wxLIST_SET_ITEM
)));
37273 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_From_int((int)(wxLIST_MASK_WIDTH
)));
37276 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_From_int((int)(wxLIST_MASK_FORMAT
)));
37279 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_From_int((int)(wxLIST_STATE_DONTCARE
)));
37282 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_From_int((int)(wxLIST_STATE_DROPHILITED
)));
37285 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_From_int((int)(wxLIST_STATE_FOCUSED
)));
37288 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_From_int((int)(wxLIST_STATE_SELECTED
)));
37291 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_From_int((int)(wxLIST_STATE_CUT
)));
37294 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_From_int((int)(wxLIST_STATE_DISABLED
)));
37297 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_From_int((int)(wxLIST_STATE_FILTERED
)));
37300 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_From_int((int)(wxLIST_STATE_INUSE
)));
37303 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_From_int((int)(wxLIST_STATE_PICKED
)));
37306 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_From_int((int)(wxLIST_STATE_SOURCE
)));
37309 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_From_int((int)(wxLIST_HITTEST_ABOVE
)));
37312 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_From_int((int)(wxLIST_HITTEST_BELOW
)));
37315 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_From_int((int)(wxLIST_HITTEST_NOWHERE
)));
37318 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMICON
)));
37321 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMLABEL
)));
37324 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMRIGHT
)));
37327 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMSTATEICON
)));
37330 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_From_int((int)(wxLIST_HITTEST_TOLEFT
)));
37333 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_From_int((int)(wxLIST_HITTEST_TORIGHT
)));
37336 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_From_int((int)(wxLIST_HITTEST_ONITEM
)));
37339 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_From_int((int)(wxLIST_NEXT_ABOVE
)));
37342 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_From_int((int)(wxLIST_NEXT_ALL
)));
37345 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_From_int((int)(wxLIST_NEXT_BELOW
)));
37348 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_From_int((int)(wxLIST_NEXT_LEFT
)));
37351 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_From_int((int)(wxLIST_NEXT_RIGHT
)));
37354 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_From_int((int)(wxLIST_ALIGN_DEFAULT
)));
37357 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_From_int((int)(wxLIST_ALIGN_LEFT
)));
37360 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_From_int((int)(wxLIST_ALIGN_TOP
)));
37363 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int((int)(wxLIST_ALIGN_SNAP_TO_GRID
)));
37366 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_From_int((int)(wxLIST_FORMAT_LEFT
)));
37369 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_From_int((int)(wxLIST_FORMAT_RIGHT
)));
37372 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_From_int((int)(wxLIST_FORMAT_CENTRE
)));
37375 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_From_int((int)(wxLIST_FORMAT_CENTER
)));
37378 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_From_int((int)(wxLIST_AUTOSIZE
)));
37381 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int((int)(wxLIST_AUTOSIZE_USEHEADER
)));
37384 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_From_int((int)(wxLIST_RECT_BOUNDS
)));
37387 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_From_int((int)(wxLIST_RECT_ICON
)));
37390 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_From_int((int)(wxLIST_RECT_LABEL
)));
37393 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_From_int((int)(wxLIST_FIND_UP
)));
37396 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_From_int((int)(wxLIST_FIND_DOWN
)));
37399 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_From_int((int)(wxLIST_FIND_LEFT
)));
37402 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_From_int((int)(wxLIST_FIND_RIGHT
)));
37404 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
37405 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
37406 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
37407 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
37408 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
37409 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
37410 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
37411 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
37412 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
37413 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
37414 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
37415 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
37416 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
37417 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
37418 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
37419 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
37420 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
37421 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
37422 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
37423 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
37424 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
37425 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
37427 // Map renamed classes back to their common name for OOR
37428 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
37430 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
37432 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_From_int((int)(wxTR_NO_BUTTONS
)));
37435 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_From_int((int)(wxTR_HAS_BUTTONS
)));
37438 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_From_int((int)(wxTR_NO_LINES
)));
37441 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_From_int((int)(wxTR_LINES_AT_ROOT
)));
37444 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_From_int((int)(wxTR_SINGLE
)));
37447 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_From_int((int)(wxTR_MULTIPLE
)));
37450 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_From_int((int)(wxTR_EXTENDED
)));
37453 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int((int)(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
37456 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_From_int((int)(wxTR_EDIT_LABELS
)));
37459 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_From_int((int)(wxTR_HIDE_ROOT
)));
37462 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_From_int((int)(wxTR_ROW_LINES
)));
37465 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int((int)(wxTR_FULL_ROW_HIGHLIGHT
)));
37468 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_From_int((int)(wxTR_DEFAULT_STYLE
)));
37471 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_From_int((int)(wxTR_TWIST_BUTTONS
)));
37474 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_From_int((int)(wxTR_MAC_BUTTONS
)));
37477 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_From_int((int)(wxTR_AQUA_BUTTONS
)));
37480 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_From_int((int)(wxTreeItemIcon_Normal
)));
37483 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_From_int((int)(wxTreeItemIcon_Selected
)));
37486 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_From_int((int)(wxTreeItemIcon_Expanded
)));
37489 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)(wxTreeItemIcon_SelectedExpanded
)));
37492 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_From_int((int)(wxTreeItemIcon_Max
)));
37495 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_From_int((int)(wxTREE_HITTEST_ABOVE
)));
37498 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_From_int((int)(wxTREE_HITTEST_BELOW
)));
37501 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_From_int((int)(wxTREE_HITTEST_NOWHERE
)));
37504 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMBUTTON
)));
37507 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMICON
)));
37510 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMINDENT
)));
37513 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLABEL
)));
37516 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMRIGHT
)));
37519 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMSTATEICON
)));
37522 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_From_int((int)(wxTREE_HITTEST_TOLEFT
)));
37525 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_From_int((int)(wxTREE_HITTEST_TORIGHT
)));
37528 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMUPPERPART
)));
37531 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLOWERPART
)));
37534 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_From_int((int)(wxTREE_HITTEST_ONITEM
)));
37536 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
37537 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
37538 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
37539 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
37540 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
37541 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
37542 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
37543 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
37544 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
37545 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
37546 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
37547 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
37548 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
37549 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
37550 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
37551 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
37552 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
37553 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
37554 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
37555 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
37556 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
37558 // Map renamed classes back to their common name for OOR
37559 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
37560 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
37562 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
37564 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_From_int((int)(wxDIRCTRL_DIR_ONLY
)));
37567 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_From_int((int)(wxDIRCTRL_SELECT_FIRST
)));
37570 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_From_int((int)(wxDIRCTRL_SHOW_FILTERS
)));
37573 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_From_int((int)(wxDIRCTRL_3D_INTERNAL
)));
37576 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_From_int((int)(wxDIRCTRL_EDIT_LABELS
)));
37579 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_From_int((int)(wxFRAME_EX_CONTEXTHELP
)));
37582 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_From_int((int)(wxDIALOG_EX_CONTEXTHELP
)));
37584 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
37585 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
37587 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");