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_GetThemeBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17496 PyObject
*resultobj
;
17497 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17499 PyObject
* obj0
= 0 ;
17500 char *kwnames
[] = {
17501 (char *) "self", NULL
17504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetThemeBackgroundColour",kwnames
,&obj0
)) goto fail
;
17505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17506 if (SWIG_arg_fail(1)) SWIG_fail
;
17508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17509 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
17511 wxPyEndAllowThreads(__tstate
);
17512 if (PyErr_Occurred()) SWIG_fail
;
17515 wxColour
* resultptr
;
17516 resultptr
= new wxColour((wxColour
&)(result
));
17517 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17525 static PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17526 PyObject
*resultobj
;
17527 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17528 wxVisualAttributes result
;
17529 PyObject
* obj0
= 0 ;
17530 char *kwnames
[] = {
17531 (char *) "variant", NULL
17534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17537 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
17538 if (SWIG_arg_fail(1)) SWIG_fail
;
17542 if (!wxPyCheckForApp()) SWIG_fail
;
17543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17544 result
= wxNotebook::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
17546 wxPyEndAllowThreads(__tstate
);
17547 if (PyErr_Occurred()) SWIG_fail
;
17550 wxVisualAttributes
* resultptr
;
17551 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
17552 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17560 static PyObject
* Notebook_swigregister(PyObject
*, PyObject
*args
) {
17562 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17563 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
17565 return Py_BuildValue((char *)"");
17567 static PyObject
*_wrap_new_NotebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17568 PyObject
*resultobj
;
17569 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17570 int arg2
= (int) 0 ;
17571 int arg3
= (int) -1 ;
17572 int arg4
= (int) -1 ;
17573 wxNotebookEvent
*result
;
17574 PyObject
* obj0
= 0 ;
17575 PyObject
* obj1
= 0 ;
17576 PyObject
* obj2
= 0 ;
17577 PyObject
* obj3
= 0 ;
17578 char *kwnames
[] = {
17579 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17585 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17586 if (SWIG_arg_fail(1)) SWIG_fail
;
17591 arg2
= (int)(SWIG_As_int(obj1
));
17592 if (SWIG_arg_fail(2)) SWIG_fail
;
17597 arg3
= (int)(SWIG_As_int(obj2
));
17598 if (SWIG_arg_fail(3)) SWIG_fail
;
17603 arg4
= (int)(SWIG_As_int(obj3
));
17604 if (SWIG_arg_fail(4)) SWIG_fail
;
17608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17609 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
17611 wxPyEndAllowThreads(__tstate
);
17612 if (PyErr_Occurred()) SWIG_fail
;
17614 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
17621 static PyObject
* NotebookEvent_swigregister(PyObject
*, PyObject
*args
) {
17623 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17624 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
17626 return Py_BuildValue((char *)"");
17628 static PyObject
*_wrap_new_Listbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17629 PyObject
*resultobj
;
17630 wxWindow
*arg1
= (wxWindow
*) 0 ;
17631 int arg2
= (int) -1 ;
17632 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17633 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17634 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17635 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17636 long arg5
= (long) 0 ;
17637 wxString
const &arg6_defvalue
= wxPyEmptyString
;
17638 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17639 wxListbook
*result
;
17642 bool temp6
= false ;
17643 PyObject
* obj0
= 0 ;
17644 PyObject
* obj1
= 0 ;
17645 PyObject
* obj2
= 0 ;
17646 PyObject
* obj3
= 0 ;
17647 PyObject
* obj4
= 0 ;
17648 PyObject
* obj5
= 0 ;
17649 char *kwnames
[] = {
17650 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17655 if (SWIG_arg_fail(1)) SWIG_fail
;
17658 arg2
= (int)(SWIG_As_int(obj1
));
17659 if (SWIG_arg_fail(2)) SWIG_fail
;
17665 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17671 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17676 arg5
= (long)(SWIG_As_long(obj4
));
17677 if (SWIG_arg_fail(5)) SWIG_fail
;
17682 arg6
= wxString_in_helper(obj5
);
17683 if (arg6
== NULL
) SWIG_fail
;
17688 if (!wxPyCheckForApp()) SWIG_fail
;
17689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17690 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17692 wxPyEndAllowThreads(__tstate
);
17693 if (PyErr_Occurred()) SWIG_fail
;
17695 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
17710 static PyObject
*_wrap_new_PreListbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17711 PyObject
*resultobj
;
17712 wxListbook
*result
;
17713 char *kwnames
[] = {
17717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
17719 if (!wxPyCheckForApp()) SWIG_fail
;
17720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17721 result
= (wxListbook
*)new wxListbook();
17723 wxPyEndAllowThreads(__tstate
);
17724 if (PyErr_Occurred()) SWIG_fail
;
17726 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
17733 static PyObject
*_wrap_Listbook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17734 PyObject
*resultobj
;
17735 wxListbook
*arg1
= (wxListbook
*) 0 ;
17736 wxWindow
*arg2
= (wxWindow
*) 0 ;
17737 int arg3
= (int) -1 ;
17738 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17739 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17740 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17741 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17742 long arg6
= (long) 0 ;
17743 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17744 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17748 bool temp7
= false ;
17749 PyObject
* obj0
= 0 ;
17750 PyObject
* obj1
= 0 ;
17751 PyObject
* obj2
= 0 ;
17752 PyObject
* obj3
= 0 ;
17753 PyObject
* obj4
= 0 ;
17754 PyObject
* obj5
= 0 ;
17755 PyObject
* obj6
= 0 ;
17756 char *kwnames
[] = {
17757 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17762 if (SWIG_arg_fail(1)) SWIG_fail
;
17763 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17764 if (SWIG_arg_fail(2)) SWIG_fail
;
17767 arg3
= (int)(SWIG_As_int(obj2
));
17768 if (SWIG_arg_fail(3)) SWIG_fail
;
17774 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17780 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17785 arg6
= (long)(SWIG_As_long(obj5
));
17786 if (SWIG_arg_fail(6)) SWIG_fail
;
17791 arg7
= wxString_in_helper(obj6
);
17792 if (arg7
== NULL
) SWIG_fail
;
17797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17798 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17800 wxPyEndAllowThreads(__tstate
);
17801 if (PyErr_Occurred()) SWIG_fail
;
17804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17820 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17821 PyObject
*resultobj
;
17822 wxListbook
*arg1
= (wxListbook
*) 0 ;
17824 PyObject
* obj0
= 0 ;
17825 char *kwnames
[] = {
17826 (char *) "self", NULL
17829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
17830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17831 if (SWIG_arg_fail(1)) SWIG_fail
;
17833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17834 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
17836 wxPyEndAllowThreads(__tstate
);
17837 if (PyErr_Occurred()) SWIG_fail
;
17840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17848 static PyObject
*_wrap_Listbook_GetListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17849 PyObject
*resultobj
;
17850 wxListbook
*arg1
= (wxListbook
*) 0 ;
17851 wxListView
*result
;
17852 PyObject
* obj0
= 0 ;
17853 char *kwnames
[] = {
17854 (char *) "self", NULL
17857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_GetListView",kwnames
,&obj0
)) goto fail
;
17858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17859 if (SWIG_arg_fail(1)) SWIG_fail
;
17861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17862 result
= (wxListView
*)(arg1
)->GetListView();
17864 wxPyEndAllowThreads(__tstate
);
17865 if (PyErr_Occurred()) SWIG_fail
;
17867 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 0);
17874 static PyObject
* Listbook_swigregister(PyObject
*, PyObject
*args
) {
17876 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17877 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
17879 return Py_BuildValue((char *)"");
17881 static PyObject
*_wrap_new_ListbookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17882 PyObject
*resultobj
;
17883 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17884 int arg2
= (int) 0 ;
17885 int arg3
= (int) -1 ;
17886 int arg4
= (int) -1 ;
17887 wxListbookEvent
*result
;
17888 PyObject
* obj0
= 0 ;
17889 PyObject
* obj1
= 0 ;
17890 PyObject
* obj2
= 0 ;
17891 PyObject
* obj3
= 0 ;
17892 char *kwnames
[] = {
17893 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17899 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17900 if (SWIG_arg_fail(1)) SWIG_fail
;
17905 arg2
= (int)(SWIG_As_int(obj1
));
17906 if (SWIG_arg_fail(2)) SWIG_fail
;
17911 arg3
= (int)(SWIG_As_int(obj2
));
17912 if (SWIG_arg_fail(3)) SWIG_fail
;
17917 arg4
= (int)(SWIG_As_int(obj3
));
17918 if (SWIG_arg_fail(4)) SWIG_fail
;
17922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17923 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
17925 wxPyEndAllowThreads(__tstate
);
17926 if (PyErr_Occurred()) SWIG_fail
;
17928 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
17935 static PyObject
* ListbookEvent_swigregister(PyObject
*, PyObject
*args
) {
17937 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17938 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
17940 return Py_BuildValue((char *)"");
17942 static PyObject
*_wrap_new_Choicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17943 PyObject
*resultobj
;
17944 wxWindow
*arg1
= (wxWindow
*) 0 ;
17946 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17947 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17948 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17949 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17950 long arg5
= (long) 0 ;
17951 wxString
const &arg6_defvalue
= wxPyEmptyString
;
17952 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17953 wxChoicebook
*result
;
17956 bool temp6
= false ;
17957 PyObject
* obj0
= 0 ;
17958 PyObject
* obj1
= 0 ;
17959 PyObject
* obj2
= 0 ;
17960 PyObject
* obj3
= 0 ;
17961 PyObject
* obj4
= 0 ;
17962 PyObject
* obj5
= 0 ;
17963 char *kwnames
[] = {
17964 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17969 if (SWIG_arg_fail(1)) SWIG_fail
;
17971 arg2
= (int)(SWIG_As_int(obj1
));
17972 if (SWIG_arg_fail(2)) SWIG_fail
;
17977 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17983 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17988 arg5
= (long)(SWIG_As_long(obj4
));
17989 if (SWIG_arg_fail(5)) SWIG_fail
;
17994 arg6
= wxString_in_helper(obj5
);
17995 if (arg6
== NULL
) SWIG_fail
;
18000 if (!wxPyCheckForApp()) SWIG_fail
;
18001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18002 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18004 wxPyEndAllowThreads(__tstate
);
18005 if (PyErr_Occurred()) SWIG_fail
;
18007 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
18022 static PyObject
*_wrap_new_PreChoicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18023 PyObject
*resultobj
;
18024 wxChoicebook
*result
;
18025 char *kwnames
[] = {
18029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoicebook",kwnames
)) goto fail
;
18031 if (!wxPyCheckForApp()) SWIG_fail
;
18032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18033 result
= (wxChoicebook
*)new wxChoicebook();
18035 wxPyEndAllowThreads(__tstate
);
18036 if (PyErr_Occurred()) SWIG_fail
;
18038 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
18045 static PyObject
*_wrap_Choicebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18046 PyObject
*resultobj
;
18047 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18048 wxWindow
*arg2
= (wxWindow
*) 0 ;
18050 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18051 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18052 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18053 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18054 long arg6
= (long) 0 ;
18055 wxString
const &arg7_defvalue
= wxPyEmptyString
;
18056 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18060 bool temp7
= false ;
18061 PyObject
* obj0
= 0 ;
18062 PyObject
* obj1
= 0 ;
18063 PyObject
* obj2
= 0 ;
18064 PyObject
* obj3
= 0 ;
18065 PyObject
* obj4
= 0 ;
18066 PyObject
* obj5
= 0 ;
18067 PyObject
* obj6
= 0 ;
18068 char *kwnames
[] = {
18069 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18074 if (SWIG_arg_fail(1)) SWIG_fail
;
18075 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18076 if (SWIG_arg_fail(2)) SWIG_fail
;
18078 arg3
= (int)(SWIG_As_int(obj2
));
18079 if (SWIG_arg_fail(3)) SWIG_fail
;
18084 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18090 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18095 arg6
= (long)(SWIG_As_long(obj5
));
18096 if (SWIG_arg_fail(6)) SWIG_fail
;
18101 arg7
= wxString_in_helper(obj6
);
18102 if (arg7
== NULL
) SWIG_fail
;
18107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18108 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18110 wxPyEndAllowThreads(__tstate
);
18111 if (PyErr_Occurred()) SWIG_fail
;
18114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18130 static PyObject
*_wrap_Choicebook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18131 PyObject
*resultobj
;
18132 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18134 PyObject
* obj0
= 0 ;
18135 char *kwnames
[] = {
18136 (char *) "self", NULL
18139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_IsVertical",kwnames
,&obj0
)) goto fail
;
18140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18141 if (SWIG_arg_fail(1)) SWIG_fail
;
18143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18144 result
= (bool)((wxChoicebook
const *)arg1
)->IsVertical();
18146 wxPyEndAllowThreads(__tstate
);
18147 if (PyErr_Occurred()) SWIG_fail
;
18150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18158 static PyObject
*_wrap_Choicebook_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18159 PyObject
*resultobj
;
18160 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18162 PyObject
* obj0
= 0 ;
18163 char *kwnames
[] = {
18164 (char *) "self", NULL
18167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
18168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18169 if (SWIG_arg_fail(1)) SWIG_fail
;
18171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18172 result
= (bool)(arg1
)->DeleteAllPages();
18174 wxPyEndAllowThreads(__tstate
);
18175 if (PyErr_Occurred()) SWIG_fail
;
18178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18186 static PyObject
* Choicebook_swigregister(PyObject
*, PyObject
*args
) {
18188 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18189 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook
, obj
);
18191 return Py_BuildValue((char *)"");
18193 static PyObject
*_wrap_new_ChoicebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18194 PyObject
*resultobj
;
18195 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18196 int arg2
= (int) 0 ;
18197 int arg3
= (int) -1 ;
18198 int arg4
= (int) -1 ;
18199 wxChoicebookEvent
*result
;
18200 PyObject
* obj0
= 0 ;
18201 PyObject
* obj1
= 0 ;
18202 PyObject
* obj2
= 0 ;
18203 PyObject
* obj3
= 0 ;
18204 char *kwnames
[] = {
18205 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18211 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
18212 if (SWIG_arg_fail(1)) SWIG_fail
;
18217 arg2
= (int)(SWIG_As_int(obj1
));
18218 if (SWIG_arg_fail(2)) SWIG_fail
;
18223 arg3
= (int)(SWIG_As_int(obj2
));
18224 if (SWIG_arg_fail(3)) SWIG_fail
;
18229 arg4
= (int)(SWIG_As_int(obj3
));
18230 if (SWIG_arg_fail(4)) SWIG_fail
;
18234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18235 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
18237 wxPyEndAllowThreads(__tstate
);
18238 if (PyErr_Occurred()) SWIG_fail
;
18240 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebookEvent
, 1);
18247 static PyObject
* ChoicebookEvent_swigregister(PyObject
*, PyObject
*args
) {
18249 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18250 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent
, obj
);
18252 return Py_BuildValue((char *)"");
18254 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18255 PyObject
*resultobj
;
18256 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18257 wxBookCtrlSizer
*result
;
18258 PyObject
* obj0
= 0 ;
18259 char *kwnames
[] = {
18260 (char *) "nb", NULL
18263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
18264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
18265 if (SWIG_arg_fail(1)) SWIG_fail
;
18267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18268 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
18270 wxPyEndAllowThreads(__tstate
);
18271 if (PyErr_Occurred()) SWIG_fail
;
18273 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
18280 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18281 PyObject
*resultobj
;
18282 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
18283 PyObject
* obj0
= 0 ;
18284 char *kwnames
[] = {
18285 (char *) "self", NULL
18288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
18289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION
| 0);
18290 if (SWIG_arg_fail(1)) SWIG_fail
;
18292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18293 (arg1
)->RecalcSizes();
18295 wxPyEndAllowThreads(__tstate
);
18296 if (PyErr_Occurred()) SWIG_fail
;
18298 Py_INCREF(Py_None
); resultobj
= Py_None
;
18305 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18306 PyObject
*resultobj
;
18307 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
18309 PyObject
* obj0
= 0 ;
18310 char *kwnames
[] = {
18311 (char *) "self", NULL
18314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",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
= (arg1
)->CalcMin();
18321 wxPyEndAllowThreads(__tstate
);
18322 if (PyErr_Occurred()) SWIG_fail
;
18325 wxSize
* resultptr
;
18326 resultptr
= new wxSize((wxSize
&)(result
));
18327 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18335 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18336 PyObject
*resultobj
;
18337 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
18338 wxBookCtrlBase
*result
;
18339 PyObject
* obj0
= 0 ;
18340 char *kwnames
[] = {
18341 (char *) "self", NULL
18344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
18345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION
| 0);
18346 if (SWIG_arg_fail(1)) SWIG_fail
;
18348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18349 result
= (wxBookCtrlBase
*)(arg1
)->GetControl();
18351 wxPyEndAllowThreads(__tstate
);
18352 if (PyErr_Occurred()) SWIG_fail
;
18354 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlBase
, 0);
18361 static PyObject
* BookCtrlSizer_swigregister(PyObject
*, PyObject
*args
) {
18363 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18364 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
18366 return Py_BuildValue((char *)"");
18368 static PyObject
*_wrap_new_NotebookSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18369 PyObject
*resultobj
;
18370 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
18371 wxNotebookSizer
*result
;
18372 PyObject
* obj0
= 0 ;
18373 char *kwnames
[] = {
18374 (char *) "nb", NULL
18377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
18378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
18379 if (SWIG_arg_fail(1)) SWIG_fail
;
18381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18382 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
18384 wxPyEndAllowThreads(__tstate
);
18385 if (PyErr_Occurred()) SWIG_fail
;
18387 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
18394 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18395 PyObject
*resultobj
;
18396 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
18397 PyObject
* obj0
= 0 ;
18398 char *kwnames
[] = {
18399 (char *) "self", NULL
18402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
18403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION
| 0);
18404 if (SWIG_arg_fail(1)) SWIG_fail
;
18406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18407 (arg1
)->RecalcSizes();
18409 wxPyEndAllowThreads(__tstate
);
18410 if (PyErr_Occurred()) SWIG_fail
;
18412 Py_INCREF(Py_None
); resultobj
= Py_None
;
18419 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18420 PyObject
*resultobj
;
18421 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
18423 PyObject
* obj0
= 0 ;
18424 char *kwnames
[] = {
18425 (char *) "self", NULL
18428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",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
= (arg1
)->CalcMin();
18435 wxPyEndAllowThreads(__tstate
);
18436 if (PyErr_Occurred()) SWIG_fail
;
18439 wxSize
* resultptr
;
18440 resultptr
= new wxSize((wxSize
&)(result
));
18441 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18449 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18450 PyObject
*resultobj
;
18451 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
18452 wxNotebook
*result
;
18453 PyObject
* obj0
= 0 ;
18454 char *kwnames
[] = {
18455 (char *) "self", NULL
18458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
18459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION
| 0);
18460 if (SWIG_arg_fail(1)) SWIG_fail
;
18462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18463 result
= (wxNotebook
*)(arg1
)->GetNotebook();
18465 wxPyEndAllowThreads(__tstate
);
18466 if (PyErr_Occurred()) SWIG_fail
;
18469 resultobj
= wxPyMake_wxObject(result
, 0);
18477 static PyObject
* NotebookSizer_swigregister(PyObject
*, PyObject
*args
) {
18479 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18480 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
18482 return Py_BuildValue((char *)"");
18484 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18485 PyObject
*resultobj
;
18486 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18488 PyObject
* obj0
= 0 ;
18489 char *kwnames
[] = {
18490 (char *) "self", NULL
18493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
18494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18495 if (SWIG_arg_fail(1)) SWIG_fail
;
18497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18498 result
= (int)(arg1
)->GetId();
18500 wxPyEndAllowThreads(__tstate
);
18501 if (PyErr_Occurred()) SWIG_fail
;
18504 resultobj
= SWIG_From_int((int)(result
));
18512 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18513 PyObject
*resultobj
;
18514 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18516 PyObject
* obj0
= 0 ;
18517 char *kwnames
[] = {
18518 (char *) "self", NULL
18521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
18522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18523 if (SWIG_arg_fail(1)) SWIG_fail
;
18525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18526 result
= (wxControl
*)(arg1
)->GetControl();
18528 wxPyEndAllowThreads(__tstate
);
18529 if (PyErr_Occurred()) SWIG_fail
;
18532 resultobj
= wxPyMake_wxObject(result
, 0);
18540 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18541 PyObject
*resultobj
;
18542 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18543 wxToolBarBase
*result
;
18544 PyObject
* obj0
= 0 ;
18545 char *kwnames
[] = {
18546 (char *) "self", NULL
18549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
18550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18551 if (SWIG_arg_fail(1)) SWIG_fail
;
18553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18554 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
18556 wxPyEndAllowThreads(__tstate
);
18557 if (PyErr_Occurred()) SWIG_fail
;
18560 resultobj
= wxPyMake_wxObject(result
, 0);
18568 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18569 PyObject
*resultobj
;
18570 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18572 PyObject
* obj0
= 0 ;
18573 char *kwnames
[] = {
18574 (char *) "self", NULL
18577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
18578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18579 if (SWIG_arg_fail(1)) SWIG_fail
;
18581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18582 result
= (int)(arg1
)->IsButton();
18584 wxPyEndAllowThreads(__tstate
);
18585 if (PyErr_Occurred()) SWIG_fail
;
18588 resultobj
= SWIG_From_int((int)(result
));
18596 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18597 PyObject
*resultobj
;
18598 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18600 PyObject
* obj0
= 0 ;
18601 char *kwnames
[] = {
18602 (char *) "self", NULL
18605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
18606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18607 if (SWIG_arg_fail(1)) SWIG_fail
;
18609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18610 result
= (int)(arg1
)->IsControl();
18612 wxPyEndAllowThreads(__tstate
);
18613 if (PyErr_Occurred()) SWIG_fail
;
18616 resultobj
= SWIG_From_int((int)(result
));
18624 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18625 PyObject
*resultobj
;
18626 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18628 PyObject
* obj0
= 0 ;
18629 char *kwnames
[] = {
18630 (char *) "self", NULL
18633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
18634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18635 if (SWIG_arg_fail(1)) SWIG_fail
;
18637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18638 result
= (int)(arg1
)->IsSeparator();
18640 wxPyEndAllowThreads(__tstate
);
18641 if (PyErr_Occurred()) SWIG_fail
;
18644 resultobj
= SWIG_From_int((int)(result
));
18652 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18653 PyObject
*resultobj
;
18654 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18656 PyObject
* obj0
= 0 ;
18657 char *kwnames
[] = {
18658 (char *) "self", NULL
18661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
18662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18663 if (SWIG_arg_fail(1)) SWIG_fail
;
18665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18666 result
= (int)(arg1
)->GetStyle();
18668 wxPyEndAllowThreads(__tstate
);
18669 if (PyErr_Occurred()) SWIG_fail
;
18672 resultobj
= SWIG_From_int((int)(result
));
18680 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18681 PyObject
*resultobj
;
18682 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18684 PyObject
* obj0
= 0 ;
18685 char *kwnames
[] = {
18686 (char *) "self", NULL
18689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
18690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18691 if (SWIG_arg_fail(1)) SWIG_fail
;
18693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18694 result
= (wxItemKind
)(arg1
)->GetKind();
18696 wxPyEndAllowThreads(__tstate
);
18697 if (PyErr_Occurred()) SWIG_fail
;
18699 resultobj
= SWIG_From_int((result
));
18706 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18707 PyObject
*resultobj
;
18708 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18710 PyObject
* obj0
= 0 ;
18711 char *kwnames
[] = {
18712 (char *) "self", NULL
18715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
18716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18717 if (SWIG_arg_fail(1)) SWIG_fail
;
18719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18720 result
= (bool)(arg1
)->IsEnabled();
18722 wxPyEndAllowThreads(__tstate
);
18723 if (PyErr_Occurred()) SWIG_fail
;
18726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18734 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18735 PyObject
*resultobj
;
18736 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18738 PyObject
* obj0
= 0 ;
18739 char *kwnames
[] = {
18740 (char *) "self", NULL
18743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
18744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18745 if (SWIG_arg_fail(1)) SWIG_fail
;
18747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18748 result
= (bool)(arg1
)->IsToggled();
18750 wxPyEndAllowThreads(__tstate
);
18751 if (PyErr_Occurred()) SWIG_fail
;
18754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18762 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18763 PyObject
*resultobj
;
18764 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18766 PyObject
* obj0
= 0 ;
18767 char *kwnames
[] = {
18768 (char *) "self", NULL
18771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
18772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18773 if (SWIG_arg_fail(1)) SWIG_fail
;
18775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18776 result
= (bool)(arg1
)->CanBeToggled();
18778 wxPyEndAllowThreads(__tstate
);
18779 if (PyErr_Occurred()) SWIG_fail
;
18782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18790 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18791 PyObject
*resultobj
;
18792 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18794 PyObject
* obj0
= 0 ;
18795 char *kwnames
[] = {
18796 (char *) "self", NULL
18799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
18800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18801 if (SWIG_arg_fail(1)) SWIG_fail
;
18803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18805 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
18806 result
= (wxBitmap
*) &_result_ref
;
18809 wxPyEndAllowThreads(__tstate
);
18810 if (PyErr_Occurred()) SWIG_fail
;
18813 wxBitmap
* resultptr
= new wxBitmap(*result
);
18814 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18822 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18823 PyObject
*resultobj
;
18824 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18826 PyObject
* obj0
= 0 ;
18827 char *kwnames
[] = {
18828 (char *) "self", NULL
18831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
18832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18833 if (SWIG_arg_fail(1)) SWIG_fail
;
18835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18837 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
18838 result
= (wxBitmap
*) &_result_ref
;
18841 wxPyEndAllowThreads(__tstate
);
18842 if (PyErr_Occurred()) SWIG_fail
;
18845 wxBitmap
* resultptr
= new wxBitmap(*result
);
18846 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18854 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(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_GetBitmap",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
)->GetBitmap();
18870 wxPyEndAllowThreads(__tstate
);
18871 if (PyErr_Occurred()) SWIG_fail
;
18874 wxBitmap
* resultptr
;
18875 resultptr
= new wxBitmap((wxBitmap
&)(result
));
18876 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18884 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18885 PyObject
*resultobj
;
18886 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18888 PyObject
* obj0
= 0 ;
18889 char *kwnames
[] = {
18890 (char *) "self", NULL
18893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
18894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18895 if (SWIG_arg_fail(1)) SWIG_fail
;
18897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18898 result
= (arg1
)->GetLabel();
18900 wxPyEndAllowThreads(__tstate
);
18901 if (PyErr_Occurred()) SWIG_fail
;
18905 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18907 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18916 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18917 PyObject
*resultobj
;
18918 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18920 PyObject
* obj0
= 0 ;
18921 char *kwnames
[] = {
18922 (char *) "self", NULL
18925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
18926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18927 if (SWIG_arg_fail(1)) SWIG_fail
;
18929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18930 result
= (arg1
)->GetShortHelp();
18932 wxPyEndAllowThreads(__tstate
);
18933 if (PyErr_Occurred()) SWIG_fail
;
18937 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18939 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18948 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18949 PyObject
*resultobj
;
18950 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18952 PyObject
* obj0
= 0 ;
18953 char *kwnames
[] = {
18954 (char *) "self", NULL
18957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
18958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18959 if (SWIG_arg_fail(1)) SWIG_fail
;
18961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18962 result
= (arg1
)->GetLongHelp();
18964 wxPyEndAllowThreads(__tstate
);
18965 if (PyErr_Occurred()) SWIG_fail
;
18969 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18971 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18980 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18981 PyObject
*resultobj
;
18982 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18985 PyObject
* obj0
= 0 ;
18986 PyObject
* obj1
= 0 ;
18987 char *kwnames
[] = {
18988 (char *) "self",(char *) "enable", NULL
18991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
18992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18993 if (SWIG_arg_fail(1)) SWIG_fail
;
18995 arg2
= (bool)(SWIG_As_bool(obj1
));
18996 if (SWIG_arg_fail(2)) SWIG_fail
;
18999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19000 result
= (bool)(arg1
)->Enable(arg2
);
19002 wxPyEndAllowThreads(__tstate
);
19003 if (PyErr_Occurred()) SWIG_fail
;
19006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19014 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19015 PyObject
*resultobj
;
19016 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19017 PyObject
* obj0
= 0 ;
19018 char *kwnames
[] = {
19019 (char *) "self", NULL
19022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
19023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19024 if (SWIG_arg_fail(1)) SWIG_fail
;
19026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19029 wxPyEndAllowThreads(__tstate
);
19030 if (PyErr_Occurred()) SWIG_fail
;
19032 Py_INCREF(Py_None
); resultobj
= Py_None
;
19039 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19040 PyObject
*resultobj
;
19041 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19044 PyObject
* obj0
= 0 ;
19045 PyObject
* obj1
= 0 ;
19046 char *kwnames
[] = {
19047 (char *) "self",(char *) "toggle", NULL
19050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
19051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19052 if (SWIG_arg_fail(1)) SWIG_fail
;
19054 arg2
= (bool)(SWIG_As_bool(obj1
));
19055 if (SWIG_arg_fail(2)) SWIG_fail
;
19058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19059 result
= (bool)(arg1
)->SetToggle(arg2
);
19061 wxPyEndAllowThreads(__tstate
);
19062 if (PyErr_Occurred()) SWIG_fail
;
19065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19073 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19074 PyObject
*resultobj
;
19075 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19076 wxString
*arg2
= 0 ;
19078 bool temp2
= false ;
19079 PyObject
* obj0
= 0 ;
19080 PyObject
* obj1
= 0 ;
19081 char *kwnames
[] = {
19082 (char *) "self",(char *) "help", NULL
19085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19087 if (SWIG_arg_fail(1)) SWIG_fail
;
19089 arg2
= wxString_in_helper(obj1
);
19090 if (arg2
== NULL
) SWIG_fail
;
19094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19095 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
19097 wxPyEndAllowThreads(__tstate
);
19098 if (PyErr_Occurred()) SWIG_fail
;
19101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19117 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19118 PyObject
*resultobj
;
19119 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19120 wxString
*arg2
= 0 ;
19122 bool temp2
= false ;
19123 PyObject
* obj0
= 0 ;
19124 PyObject
* obj1
= 0 ;
19125 char *kwnames
[] = {
19126 (char *) "self",(char *) "help", NULL
19129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19131 if (SWIG_arg_fail(1)) SWIG_fail
;
19133 arg2
= wxString_in_helper(obj1
);
19134 if (arg2
== NULL
) SWIG_fail
;
19138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19139 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
19141 wxPyEndAllowThreads(__tstate
);
19142 if (PyErr_Occurred()) SWIG_fail
;
19145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19161 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19162 PyObject
*resultobj
;
19163 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19164 wxBitmap
*arg2
= 0 ;
19165 PyObject
* obj0
= 0 ;
19166 PyObject
* obj1
= 0 ;
19167 char *kwnames
[] = {
19168 (char *) "self",(char *) "bmp", NULL
19171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
19172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19173 if (SWIG_arg_fail(1)) SWIG_fail
;
19175 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19176 if (SWIG_arg_fail(2)) SWIG_fail
;
19177 if (arg2
== NULL
) {
19178 SWIG_null_ref("wxBitmap");
19180 if (SWIG_arg_fail(2)) SWIG_fail
;
19183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19184 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
19186 wxPyEndAllowThreads(__tstate
);
19187 if (PyErr_Occurred()) SWIG_fail
;
19189 Py_INCREF(Py_None
); resultobj
= Py_None
;
19196 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19197 PyObject
*resultobj
;
19198 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19199 wxBitmap
*arg2
= 0 ;
19200 PyObject
* obj0
= 0 ;
19201 PyObject
* obj1
= 0 ;
19202 char *kwnames
[] = {
19203 (char *) "self",(char *) "bmp", NULL
19206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
19207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19208 if (SWIG_arg_fail(1)) SWIG_fail
;
19210 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19211 if (SWIG_arg_fail(2)) SWIG_fail
;
19212 if (arg2
== NULL
) {
19213 SWIG_null_ref("wxBitmap");
19215 if (SWIG_arg_fail(2)) SWIG_fail
;
19218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19219 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
19221 wxPyEndAllowThreads(__tstate
);
19222 if (PyErr_Occurred()) SWIG_fail
;
19224 Py_INCREF(Py_None
); resultobj
= Py_None
;
19231 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19232 PyObject
*resultobj
;
19233 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19234 wxString
*arg2
= 0 ;
19235 bool temp2
= false ;
19236 PyObject
* obj0
= 0 ;
19237 PyObject
* obj1
= 0 ;
19238 char *kwnames
[] = {
19239 (char *) "self",(char *) "label", NULL
19242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
19243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19244 if (SWIG_arg_fail(1)) SWIG_fail
;
19246 arg2
= wxString_in_helper(obj1
);
19247 if (arg2
== NULL
) SWIG_fail
;
19251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19252 (arg1
)->SetLabel((wxString
const &)*arg2
);
19254 wxPyEndAllowThreads(__tstate
);
19255 if (PyErr_Occurred()) SWIG_fail
;
19257 Py_INCREF(Py_None
); resultobj
= Py_None
;
19272 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19273 PyObject
*resultobj
;
19274 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19275 PyObject
* obj0
= 0 ;
19276 char *kwnames
[] = {
19277 (char *) "self", NULL
19280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
19281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19282 if (SWIG_arg_fail(1)) SWIG_fail
;
19284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19287 wxPyEndAllowThreads(__tstate
);
19288 if (PyErr_Occurred()) SWIG_fail
;
19290 Py_INCREF(Py_None
); resultobj
= Py_None
;
19297 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19298 PyObject
*resultobj
;
19299 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19300 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
19301 PyObject
* obj0
= 0 ;
19302 PyObject
* obj1
= 0 ;
19303 char *kwnames
[] = {
19304 (char *) "self",(char *) "tbar", NULL
19307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
19308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19309 if (SWIG_arg_fail(1)) SWIG_fail
;
19310 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19311 if (SWIG_arg_fail(2)) SWIG_fail
;
19313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19314 (arg1
)->Attach(arg2
);
19316 wxPyEndAllowThreads(__tstate
);
19317 if (PyErr_Occurred()) SWIG_fail
;
19319 Py_INCREF(Py_None
); resultobj
= Py_None
;
19326 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19327 PyObject
*resultobj
;
19328 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19330 PyObject
* obj0
= 0 ;
19331 char *kwnames
[] = {
19332 (char *) "self", NULL
19335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
19336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19337 if (SWIG_arg_fail(1)) SWIG_fail
;
19339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19340 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
19342 wxPyEndAllowThreads(__tstate
);
19343 if (PyErr_Occurred()) SWIG_fail
;
19345 resultobj
= result
;
19352 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19353 PyObject
*resultobj
;
19354 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19355 PyObject
*arg2
= (PyObject
*) 0 ;
19356 PyObject
* obj0
= 0 ;
19357 PyObject
* obj1
= 0 ;
19358 char *kwnames
[] = {
19359 (char *) "self",(char *) "clientData", NULL
19362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
19363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19364 if (SWIG_arg_fail(1)) SWIG_fail
;
19367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19368 wxToolBarToolBase_SetClientData(arg1
,arg2
);
19370 wxPyEndAllowThreads(__tstate
);
19371 if (PyErr_Occurred()) SWIG_fail
;
19373 Py_INCREF(Py_None
); resultobj
= Py_None
;
19380 static PyObject
* ToolBarToolBase_swigregister(PyObject
*, PyObject
*args
) {
19382 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19383 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
19385 return Py_BuildValue((char *)"");
19387 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19388 PyObject
*resultobj
;
19389 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19391 wxString
*arg3
= 0 ;
19392 wxBitmap
*arg4
= 0 ;
19393 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
19394 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
19395 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
19396 wxString
const &arg7_defvalue
= wxPyEmptyString
;
19397 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19398 wxString
const &arg8_defvalue
= wxPyEmptyString
;
19399 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19400 PyObject
*arg9
= (PyObject
*) NULL
;
19401 wxToolBarToolBase
*result
;
19402 bool temp3
= false ;
19403 bool temp7
= false ;
19404 bool temp8
= false ;
19405 PyObject
* obj0
= 0 ;
19406 PyObject
* obj1
= 0 ;
19407 PyObject
* obj2
= 0 ;
19408 PyObject
* obj3
= 0 ;
19409 PyObject
* obj4
= 0 ;
19410 PyObject
* obj5
= 0 ;
19411 PyObject
* obj6
= 0 ;
19412 PyObject
* obj7
= 0 ;
19413 PyObject
* obj8
= 0 ;
19414 char *kwnames
[] = {
19415 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
19419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19420 if (SWIG_arg_fail(1)) SWIG_fail
;
19422 arg2
= (int)(SWIG_As_int(obj1
));
19423 if (SWIG_arg_fail(2)) SWIG_fail
;
19426 arg3
= wxString_in_helper(obj2
);
19427 if (arg3
== NULL
) SWIG_fail
;
19431 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19432 if (SWIG_arg_fail(4)) SWIG_fail
;
19433 if (arg4
== NULL
) {
19434 SWIG_null_ref("wxBitmap");
19436 if (SWIG_arg_fail(4)) SWIG_fail
;
19440 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19441 if (SWIG_arg_fail(5)) SWIG_fail
;
19442 if (arg5
== NULL
) {
19443 SWIG_null_ref("wxBitmap");
19445 if (SWIG_arg_fail(5)) SWIG_fail
;
19450 arg6
= (wxItemKind
)(SWIG_As_int(obj5
));
19451 if (SWIG_arg_fail(6)) SWIG_fail
;
19456 arg7
= wxString_in_helper(obj6
);
19457 if (arg7
== NULL
) SWIG_fail
;
19463 arg8
= wxString_in_helper(obj7
);
19464 if (arg8
== NULL
) SWIG_fail
;
19472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19473 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
19475 wxPyEndAllowThreads(__tstate
);
19476 if (PyErr_Occurred()) SWIG_fail
;
19479 resultobj
= wxPyMake_wxObject(result
, 0);
19511 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19512 PyObject
*resultobj
;
19513 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19516 wxString
*arg4
= 0 ;
19517 wxBitmap
*arg5
= 0 ;
19518 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
19519 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
19520 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
19521 wxString
const &arg8_defvalue
= wxPyEmptyString
;
19522 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19523 wxString
const &arg9_defvalue
= wxPyEmptyString
;
19524 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
19525 PyObject
*arg10
= (PyObject
*) NULL
;
19526 wxToolBarToolBase
*result
;
19527 bool temp4
= false ;
19528 bool temp8
= false ;
19529 bool temp9
= false ;
19530 PyObject
* obj0
= 0 ;
19531 PyObject
* obj1
= 0 ;
19532 PyObject
* obj2
= 0 ;
19533 PyObject
* obj3
= 0 ;
19534 PyObject
* obj4
= 0 ;
19535 PyObject
* obj5
= 0 ;
19536 PyObject
* obj6
= 0 ;
19537 PyObject
* obj7
= 0 ;
19538 PyObject
* obj8
= 0 ;
19539 PyObject
* obj9
= 0 ;
19540 char *kwnames
[] = {
19541 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
19545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19546 if (SWIG_arg_fail(1)) SWIG_fail
;
19548 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19549 if (SWIG_arg_fail(2)) SWIG_fail
;
19552 arg3
= (int)(SWIG_As_int(obj2
));
19553 if (SWIG_arg_fail(3)) SWIG_fail
;
19556 arg4
= wxString_in_helper(obj3
);
19557 if (arg4
== NULL
) SWIG_fail
;
19561 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19562 if (SWIG_arg_fail(5)) SWIG_fail
;
19563 if (arg5
== NULL
) {
19564 SWIG_null_ref("wxBitmap");
19566 if (SWIG_arg_fail(5)) SWIG_fail
;
19570 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19571 if (SWIG_arg_fail(6)) SWIG_fail
;
19572 if (arg6
== NULL
) {
19573 SWIG_null_ref("wxBitmap");
19575 if (SWIG_arg_fail(6)) SWIG_fail
;
19580 arg7
= (wxItemKind
)(SWIG_As_int(obj6
));
19581 if (SWIG_arg_fail(7)) SWIG_fail
;
19586 arg8
= wxString_in_helper(obj7
);
19587 if (arg8
== NULL
) SWIG_fail
;
19593 arg9
= wxString_in_helper(obj8
);
19594 if (arg9
== NULL
) SWIG_fail
;
19602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19603 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
);
19605 wxPyEndAllowThreads(__tstate
);
19606 if (PyErr_Occurred()) SWIG_fail
;
19609 resultobj
= wxPyMake_wxObject(result
, 0);
19641 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19642 PyObject
*resultobj
;
19643 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19644 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
19645 wxToolBarToolBase
*result
;
19646 PyObject
* obj0
= 0 ;
19647 PyObject
* obj1
= 0 ;
19648 char *kwnames
[] = {
19649 (char *) "self",(char *) "tool", NULL
19652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
19653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19654 if (SWIG_arg_fail(1)) SWIG_fail
;
19655 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19656 if (SWIG_arg_fail(2)) SWIG_fail
;
19658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19659 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
19661 wxPyEndAllowThreads(__tstate
);
19662 if (PyErr_Occurred()) SWIG_fail
;
19665 resultobj
= wxPyMake_wxObject(result
, 0);
19673 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19674 PyObject
*resultobj
;
19675 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19677 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
19678 wxToolBarToolBase
*result
;
19679 PyObject
* obj0
= 0 ;
19680 PyObject
* obj1
= 0 ;
19681 PyObject
* obj2
= 0 ;
19682 char *kwnames
[] = {
19683 (char *) "self",(char *) "pos",(char *) "tool", NULL
19686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19688 if (SWIG_arg_fail(1)) SWIG_fail
;
19690 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19691 if (SWIG_arg_fail(2)) SWIG_fail
;
19693 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19694 if (SWIG_arg_fail(3)) SWIG_fail
;
19696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19697 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
19699 wxPyEndAllowThreads(__tstate
);
19700 if (PyErr_Occurred()) SWIG_fail
;
19703 resultobj
= wxPyMake_wxObject(result
, 0);
19711 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19712 PyObject
*resultobj
;
19713 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19714 wxControl
*arg2
= (wxControl
*) 0 ;
19715 wxToolBarToolBase
*result
;
19716 PyObject
* obj0
= 0 ;
19717 PyObject
* obj1
= 0 ;
19718 char *kwnames
[] = {
19719 (char *) "self",(char *) "control", NULL
19722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
19723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19724 if (SWIG_arg_fail(1)) SWIG_fail
;
19725 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
19726 if (SWIG_arg_fail(2)) SWIG_fail
;
19728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19729 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
19731 wxPyEndAllowThreads(__tstate
);
19732 if (PyErr_Occurred()) SWIG_fail
;
19735 resultobj
= wxPyMake_wxObject(result
, 0);
19743 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19744 PyObject
*resultobj
;
19745 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19747 wxControl
*arg3
= (wxControl
*) 0 ;
19748 wxToolBarToolBase
*result
;
19749 PyObject
* obj0
= 0 ;
19750 PyObject
* obj1
= 0 ;
19751 PyObject
* obj2
= 0 ;
19752 char *kwnames
[] = {
19753 (char *) "self",(char *) "pos",(char *) "control", NULL
19756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19758 if (SWIG_arg_fail(1)) SWIG_fail
;
19760 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19761 if (SWIG_arg_fail(2)) SWIG_fail
;
19763 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
19764 if (SWIG_arg_fail(3)) SWIG_fail
;
19766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19767 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
19769 wxPyEndAllowThreads(__tstate
);
19770 if (PyErr_Occurred()) SWIG_fail
;
19773 resultobj
= wxPyMake_wxObject(result
, 0);
19781 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19782 PyObject
*resultobj
;
19783 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19786 PyObject
* obj0
= 0 ;
19787 PyObject
* obj1
= 0 ;
19788 char *kwnames
[] = {
19789 (char *) "self",(char *) "id", NULL
19792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
19793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19794 if (SWIG_arg_fail(1)) SWIG_fail
;
19796 arg2
= (int)(SWIG_As_int(obj1
));
19797 if (SWIG_arg_fail(2)) SWIG_fail
;
19800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19801 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
19803 wxPyEndAllowThreads(__tstate
);
19804 if (PyErr_Occurred()) SWIG_fail
;
19807 resultobj
= wxPyMake_wxObject(result
, 0);
19815 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19816 PyObject
*resultobj
;
19817 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19818 wxToolBarToolBase
*result
;
19819 PyObject
* obj0
= 0 ;
19820 char *kwnames
[] = {
19821 (char *) "self", NULL
19824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19829 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
19831 wxPyEndAllowThreads(__tstate
);
19832 if (PyErr_Occurred()) SWIG_fail
;
19835 resultobj
= wxPyMake_wxObject(result
, 0);
19843 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19844 PyObject
*resultobj
;
19845 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19847 wxToolBarToolBase
*result
;
19848 PyObject
* obj0
= 0 ;
19849 PyObject
* obj1
= 0 ;
19850 char *kwnames
[] = {
19851 (char *) "self",(char *) "pos", NULL
19854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
19855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19856 if (SWIG_arg_fail(1)) SWIG_fail
;
19858 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19859 if (SWIG_arg_fail(2)) SWIG_fail
;
19862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19863 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
19865 wxPyEndAllowThreads(__tstate
);
19866 if (PyErr_Occurred()) SWIG_fail
;
19869 resultobj
= wxPyMake_wxObject(result
, 0);
19877 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19878 PyObject
*resultobj
;
19879 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19881 wxToolBarToolBase
*result
;
19882 PyObject
* obj0
= 0 ;
19883 PyObject
* obj1
= 0 ;
19884 char *kwnames
[] = {
19885 (char *) "self",(char *) "id", NULL
19888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
19889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19890 if (SWIG_arg_fail(1)) SWIG_fail
;
19892 arg2
= (int)(SWIG_As_int(obj1
));
19893 if (SWIG_arg_fail(2)) SWIG_fail
;
19896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19897 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
19899 wxPyEndAllowThreads(__tstate
);
19900 if (PyErr_Occurred()) SWIG_fail
;
19903 resultobj
= wxPyMake_wxObject(result
, 0);
19911 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19912 PyObject
*resultobj
;
19913 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19916 PyObject
* obj0
= 0 ;
19917 PyObject
* obj1
= 0 ;
19918 char *kwnames
[] = {
19919 (char *) "self",(char *) "pos", NULL
19922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
19923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19924 if (SWIG_arg_fail(1)) SWIG_fail
;
19926 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19927 if (SWIG_arg_fail(2)) SWIG_fail
;
19930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19931 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
19933 wxPyEndAllowThreads(__tstate
);
19934 if (PyErr_Occurred()) SWIG_fail
;
19937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19945 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19946 PyObject
*resultobj
;
19947 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19950 PyObject
* obj0
= 0 ;
19951 PyObject
* obj1
= 0 ;
19952 char *kwnames
[] = {
19953 (char *) "self",(char *) "id", NULL
19956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
19957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19958 if (SWIG_arg_fail(1)) SWIG_fail
;
19960 arg2
= (int)(SWIG_As_int(obj1
));
19961 if (SWIG_arg_fail(2)) SWIG_fail
;
19964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19965 result
= (bool)(arg1
)->DeleteTool(arg2
);
19967 wxPyEndAllowThreads(__tstate
);
19968 if (PyErr_Occurred()) SWIG_fail
;
19971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19979 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19980 PyObject
*resultobj
;
19981 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19982 PyObject
* obj0
= 0 ;
19983 char *kwnames
[] = {
19984 (char *) "self", NULL
19987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
19988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19989 if (SWIG_arg_fail(1)) SWIG_fail
;
19991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19992 (arg1
)->ClearTools();
19994 wxPyEndAllowThreads(__tstate
);
19995 if (PyErr_Occurred()) SWIG_fail
;
19997 Py_INCREF(Py_None
); resultobj
= Py_None
;
20004 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20005 PyObject
*resultobj
;
20006 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20008 PyObject
* obj0
= 0 ;
20009 char *kwnames
[] = {
20010 (char *) "self", NULL
20013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
20014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20015 if (SWIG_arg_fail(1)) SWIG_fail
;
20017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20018 result
= (bool)(arg1
)->Realize();
20020 wxPyEndAllowThreads(__tstate
);
20021 if (PyErr_Occurred()) SWIG_fail
;
20024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20032 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20033 PyObject
*resultobj
;
20034 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20037 PyObject
* obj0
= 0 ;
20038 PyObject
* obj1
= 0 ;
20039 PyObject
* obj2
= 0 ;
20040 char *kwnames
[] = {
20041 (char *) "self",(char *) "id",(char *) "enable", NULL
20044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20046 if (SWIG_arg_fail(1)) SWIG_fail
;
20048 arg2
= (int)(SWIG_As_int(obj1
));
20049 if (SWIG_arg_fail(2)) SWIG_fail
;
20052 arg3
= (bool)(SWIG_As_bool(obj2
));
20053 if (SWIG_arg_fail(3)) SWIG_fail
;
20056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20057 (arg1
)->EnableTool(arg2
,arg3
);
20059 wxPyEndAllowThreads(__tstate
);
20060 if (PyErr_Occurred()) SWIG_fail
;
20062 Py_INCREF(Py_None
); resultobj
= Py_None
;
20069 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20070 PyObject
*resultobj
;
20071 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20074 PyObject
* obj0
= 0 ;
20075 PyObject
* obj1
= 0 ;
20076 PyObject
* obj2
= 0 ;
20077 char *kwnames
[] = {
20078 (char *) "self",(char *) "id",(char *) "toggle", NULL
20081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20083 if (SWIG_arg_fail(1)) SWIG_fail
;
20085 arg2
= (int)(SWIG_As_int(obj1
));
20086 if (SWIG_arg_fail(2)) SWIG_fail
;
20089 arg3
= (bool)(SWIG_As_bool(obj2
));
20090 if (SWIG_arg_fail(3)) SWIG_fail
;
20093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20094 (arg1
)->ToggleTool(arg2
,arg3
);
20096 wxPyEndAllowThreads(__tstate
);
20097 if (PyErr_Occurred()) SWIG_fail
;
20099 Py_INCREF(Py_None
); resultobj
= Py_None
;
20106 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20107 PyObject
*resultobj
;
20108 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20111 PyObject
* obj0
= 0 ;
20112 PyObject
* obj1
= 0 ;
20113 PyObject
* obj2
= 0 ;
20114 char *kwnames
[] = {
20115 (char *) "self",(char *) "id",(char *) "toggle", NULL
20118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20120 if (SWIG_arg_fail(1)) SWIG_fail
;
20122 arg2
= (int)(SWIG_As_int(obj1
));
20123 if (SWIG_arg_fail(2)) SWIG_fail
;
20126 arg3
= (bool)(SWIG_As_bool(obj2
));
20127 if (SWIG_arg_fail(3)) SWIG_fail
;
20130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20131 (arg1
)->SetToggle(arg2
,arg3
);
20133 wxPyEndAllowThreads(__tstate
);
20134 if (PyErr_Occurred()) SWIG_fail
;
20136 Py_INCREF(Py_None
); resultobj
= Py_None
;
20143 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20144 PyObject
*resultobj
;
20145 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20148 PyObject
* obj0
= 0 ;
20149 PyObject
* obj1
= 0 ;
20150 char *kwnames
[] = {
20151 (char *) "self",(char *) "id", NULL
20154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
20155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20156 if (SWIG_arg_fail(1)) SWIG_fail
;
20158 arg2
= (int)(SWIG_As_int(obj1
));
20159 if (SWIG_arg_fail(2)) SWIG_fail
;
20162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20163 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
20165 wxPyEndAllowThreads(__tstate
);
20166 if (PyErr_Occurred()) SWIG_fail
;
20168 resultobj
= result
;
20175 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20176 PyObject
*resultobj
;
20177 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20179 PyObject
*arg3
= (PyObject
*) 0 ;
20180 PyObject
* obj0
= 0 ;
20181 PyObject
* obj1
= 0 ;
20182 PyObject
* obj2
= 0 ;
20183 char *kwnames
[] = {
20184 (char *) "self",(char *) "id",(char *) "clientData", NULL
20187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20189 if (SWIG_arg_fail(1)) SWIG_fail
;
20191 arg2
= (int)(SWIG_As_int(obj1
));
20192 if (SWIG_arg_fail(2)) SWIG_fail
;
20196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20197 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
20199 wxPyEndAllowThreads(__tstate
);
20200 if (PyErr_Occurred()) SWIG_fail
;
20202 Py_INCREF(Py_None
); resultobj
= Py_None
;
20209 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20210 PyObject
*resultobj
;
20211 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20214 PyObject
* obj0
= 0 ;
20215 PyObject
* obj1
= 0 ;
20216 char *kwnames
[] = {
20217 (char *) "self",(char *) "id", NULL
20220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
20221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20222 if (SWIG_arg_fail(1)) SWIG_fail
;
20224 arg2
= (int)(SWIG_As_int(obj1
));
20225 if (SWIG_arg_fail(2)) SWIG_fail
;
20228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20229 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
20231 wxPyEndAllowThreads(__tstate
);
20232 if (PyErr_Occurred()) SWIG_fail
;
20235 resultobj
= SWIG_From_int((int)(result
));
20243 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20244 PyObject
*resultobj
;
20245 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20248 PyObject
* obj0
= 0 ;
20249 PyObject
* obj1
= 0 ;
20250 char *kwnames
[] = {
20251 (char *) "self",(char *) "id", NULL
20254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
20255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20256 if (SWIG_arg_fail(1)) SWIG_fail
;
20258 arg2
= (int)(SWIG_As_int(obj1
));
20259 if (SWIG_arg_fail(2)) SWIG_fail
;
20262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20263 result
= (bool)(arg1
)->GetToolState(arg2
);
20265 wxPyEndAllowThreads(__tstate
);
20266 if (PyErr_Occurred()) SWIG_fail
;
20269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20277 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20278 PyObject
*resultobj
;
20279 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20282 PyObject
* obj0
= 0 ;
20283 PyObject
* obj1
= 0 ;
20284 char *kwnames
[] = {
20285 (char *) "self",(char *) "id", NULL
20288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
20289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20290 if (SWIG_arg_fail(1)) SWIG_fail
;
20292 arg2
= (int)(SWIG_As_int(obj1
));
20293 if (SWIG_arg_fail(2)) SWIG_fail
;
20296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20297 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
20299 wxPyEndAllowThreads(__tstate
);
20300 if (PyErr_Occurred()) SWIG_fail
;
20303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20311 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20312 PyObject
*resultobj
;
20313 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20315 wxString
*arg3
= 0 ;
20316 bool temp3
= false ;
20317 PyObject
* obj0
= 0 ;
20318 PyObject
* obj1
= 0 ;
20319 PyObject
* obj2
= 0 ;
20320 char *kwnames
[] = {
20321 (char *) "self",(char *) "id",(char *) "helpString", NULL
20324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20326 if (SWIG_arg_fail(1)) SWIG_fail
;
20328 arg2
= (int)(SWIG_As_int(obj1
));
20329 if (SWIG_arg_fail(2)) SWIG_fail
;
20332 arg3
= wxString_in_helper(obj2
);
20333 if (arg3
== NULL
) SWIG_fail
;
20337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20338 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
20340 wxPyEndAllowThreads(__tstate
);
20341 if (PyErr_Occurred()) SWIG_fail
;
20343 Py_INCREF(Py_None
); resultobj
= Py_None
;
20358 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20359 PyObject
*resultobj
;
20360 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20363 PyObject
* obj0
= 0 ;
20364 PyObject
* obj1
= 0 ;
20365 char *kwnames
[] = {
20366 (char *) "self",(char *) "id", NULL
20369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20371 if (SWIG_arg_fail(1)) SWIG_fail
;
20373 arg2
= (int)(SWIG_As_int(obj1
));
20374 if (SWIG_arg_fail(2)) SWIG_fail
;
20377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20378 result
= (arg1
)->GetToolShortHelp(arg2
);
20380 wxPyEndAllowThreads(__tstate
);
20381 if (PyErr_Occurred()) SWIG_fail
;
20385 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20387 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20396 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20397 PyObject
*resultobj
;
20398 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20400 wxString
*arg3
= 0 ;
20401 bool temp3
= false ;
20402 PyObject
* obj0
= 0 ;
20403 PyObject
* obj1
= 0 ;
20404 PyObject
* obj2
= 0 ;
20405 char *kwnames
[] = {
20406 (char *) "self",(char *) "id",(char *) "helpString", NULL
20409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20411 if (SWIG_arg_fail(1)) SWIG_fail
;
20413 arg2
= (int)(SWIG_As_int(obj1
));
20414 if (SWIG_arg_fail(2)) SWIG_fail
;
20417 arg3
= wxString_in_helper(obj2
);
20418 if (arg3
== NULL
) SWIG_fail
;
20422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20423 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
20425 wxPyEndAllowThreads(__tstate
);
20426 if (PyErr_Occurred()) SWIG_fail
;
20428 Py_INCREF(Py_None
); resultobj
= Py_None
;
20443 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20444 PyObject
*resultobj
;
20445 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20448 PyObject
* obj0
= 0 ;
20449 PyObject
* obj1
= 0 ;
20450 char *kwnames
[] = {
20451 (char *) "self",(char *) "id", NULL
20454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20456 if (SWIG_arg_fail(1)) SWIG_fail
;
20458 arg2
= (int)(SWIG_As_int(obj1
));
20459 if (SWIG_arg_fail(2)) SWIG_fail
;
20462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20463 result
= (arg1
)->GetToolLongHelp(arg2
);
20465 wxPyEndAllowThreads(__tstate
);
20466 if (PyErr_Occurred()) SWIG_fail
;
20470 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20472 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20481 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20482 PyObject
*resultobj
;
20483 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20486 PyObject
* obj0
= 0 ;
20487 PyObject
* obj1
= 0 ;
20488 PyObject
* obj2
= 0 ;
20489 char *kwnames
[] = {
20490 (char *) "self",(char *) "x",(char *) "y", NULL
20493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20495 if (SWIG_arg_fail(1)) SWIG_fail
;
20497 arg2
= (int)(SWIG_As_int(obj1
));
20498 if (SWIG_arg_fail(2)) SWIG_fail
;
20501 arg3
= (int)(SWIG_As_int(obj2
));
20502 if (SWIG_arg_fail(3)) SWIG_fail
;
20505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20506 (arg1
)->SetMargins(arg2
,arg3
);
20508 wxPyEndAllowThreads(__tstate
);
20509 if (PyErr_Occurred()) SWIG_fail
;
20511 Py_INCREF(Py_None
); resultobj
= Py_None
;
20518 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20519 PyObject
*resultobj
;
20520 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20523 PyObject
* obj0
= 0 ;
20524 PyObject
* obj1
= 0 ;
20525 char *kwnames
[] = {
20526 (char *) "self",(char *) "size", NULL
20529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
20530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20531 if (SWIG_arg_fail(1)) SWIG_fail
;
20534 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20538 (arg1
)->SetMargins((wxSize
const &)*arg2
);
20540 wxPyEndAllowThreads(__tstate
);
20541 if (PyErr_Occurred()) SWIG_fail
;
20543 Py_INCREF(Py_None
); resultobj
= Py_None
;
20550 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20551 PyObject
*resultobj
;
20552 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20554 PyObject
* obj0
= 0 ;
20555 PyObject
* obj1
= 0 ;
20556 char *kwnames
[] = {
20557 (char *) "self",(char *) "packing", NULL
20560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
20561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20562 if (SWIG_arg_fail(1)) SWIG_fail
;
20564 arg2
= (int)(SWIG_As_int(obj1
));
20565 if (SWIG_arg_fail(2)) SWIG_fail
;
20568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20569 (arg1
)->SetToolPacking(arg2
);
20571 wxPyEndAllowThreads(__tstate
);
20572 if (PyErr_Occurred()) SWIG_fail
;
20574 Py_INCREF(Py_None
); resultobj
= Py_None
;
20581 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20582 PyObject
*resultobj
;
20583 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20585 PyObject
* obj0
= 0 ;
20586 PyObject
* obj1
= 0 ;
20587 char *kwnames
[] = {
20588 (char *) "self",(char *) "separation", NULL
20591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) 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 arg2
= (int)(SWIG_As_int(obj1
));
20596 if (SWIG_arg_fail(2)) SWIG_fail
;
20599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20600 (arg1
)->SetToolSeparation(arg2
);
20602 wxPyEndAllowThreads(__tstate
);
20603 if (PyErr_Occurred()) SWIG_fail
;
20605 Py_INCREF(Py_None
); resultobj
= Py_None
;
20612 static PyObject
*_wrap_ToolBarBase_GetToolMargins(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_GetToolMargins",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
)->GetToolMargins();
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_GetMargins(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_GetMargins",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
= (arg1
)->GetMargins();
20658 wxPyEndAllowThreads(__tstate
);
20659 if (PyErr_Occurred()) SWIG_fail
;
20662 wxSize
* resultptr
;
20663 resultptr
= new wxSize((wxSize
&)(result
));
20664 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20672 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20673 PyObject
*resultobj
;
20674 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20676 PyObject
* obj0
= 0 ;
20677 char *kwnames
[] = {
20678 (char *) "self", NULL
20681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
20682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20683 if (SWIG_arg_fail(1)) SWIG_fail
;
20685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20686 result
= (int)(arg1
)->GetToolPacking();
20688 wxPyEndAllowThreads(__tstate
);
20689 if (PyErr_Occurred()) SWIG_fail
;
20692 resultobj
= SWIG_From_int((int)(result
));
20700 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20701 PyObject
*resultobj
;
20702 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20704 PyObject
* obj0
= 0 ;
20705 char *kwnames
[] = {
20706 (char *) "self", NULL
20709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
20710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20711 if (SWIG_arg_fail(1)) SWIG_fail
;
20713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20714 result
= (int)(arg1
)->GetToolSeparation();
20716 wxPyEndAllowThreads(__tstate
);
20717 if (PyErr_Occurred()) SWIG_fail
;
20720 resultobj
= SWIG_From_int((int)(result
));
20728 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20729 PyObject
*resultobj
;
20730 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20732 PyObject
* obj0
= 0 ;
20733 PyObject
* obj1
= 0 ;
20734 char *kwnames
[] = {
20735 (char *) "self",(char *) "nRows", NULL
20738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
20739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20740 if (SWIG_arg_fail(1)) SWIG_fail
;
20742 arg2
= (int)(SWIG_As_int(obj1
));
20743 if (SWIG_arg_fail(2)) SWIG_fail
;
20746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20747 (arg1
)->SetRows(arg2
);
20749 wxPyEndAllowThreads(__tstate
);
20750 if (PyErr_Occurred()) SWIG_fail
;
20752 Py_INCREF(Py_None
); resultobj
= Py_None
;
20759 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20760 PyObject
*resultobj
;
20761 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20764 PyObject
* obj0
= 0 ;
20765 PyObject
* obj1
= 0 ;
20766 PyObject
* obj2
= 0 ;
20767 char *kwnames
[] = {
20768 (char *) "self",(char *) "rows",(char *) "cols", NULL
20771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20773 if (SWIG_arg_fail(1)) SWIG_fail
;
20775 arg2
= (int)(SWIG_As_int(obj1
));
20776 if (SWIG_arg_fail(2)) SWIG_fail
;
20779 arg3
= (int)(SWIG_As_int(obj2
));
20780 if (SWIG_arg_fail(3)) SWIG_fail
;
20783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20784 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
20786 wxPyEndAllowThreads(__tstate
);
20787 if (PyErr_Occurred()) SWIG_fail
;
20789 Py_INCREF(Py_None
); resultobj
= Py_None
;
20796 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20797 PyObject
*resultobj
;
20798 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20800 PyObject
* obj0
= 0 ;
20801 char *kwnames
[] = {
20802 (char *) "self", NULL
20805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
20806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20807 if (SWIG_arg_fail(1)) SWIG_fail
;
20809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20810 result
= (int)(arg1
)->GetMaxRows();
20812 wxPyEndAllowThreads(__tstate
);
20813 if (PyErr_Occurred()) SWIG_fail
;
20816 resultobj
= SWIG_From_int((int)(result
));
20824 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20825 PyObject
*resultobj
;
20826 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20828 PyObject
* obj0
= 0 ;
20829 char *kwnames
[] = {
20830 (char *) "self", NULL
20833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
20834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20835 if (SWIG_arg_fail(1)) SWIG_fail
;
20837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20838 result
= (int)(arg1
)->GetMaxCols();
20840 wxPyEndAllowThreads(__tstate
);
20841 if (PyErr_Occurred()) SWIG_fail
;
20844 resultobj
= SWIG_From_int((int)(result
));
20852 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20853 PyObject
*resultobj
;
20854 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20857 PyObject
* obj0
= 0 ;
20858 PyObject
* obj1
= 0 ;
20859 char *kwnames
[] = {
20860 (char *) "self",(char *) "size", NULL
20863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20865 if (SWIG_arg_fail(1)) SWIG_fail
;
20868 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20872 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
20874 wxPyEndAllowThreads(__tstate
);
20875 if (PyErr_Occurred()) SWIG_fail
;
20877 Py_INCREF(Py_None
); resultobj
= Py_None
;
20884 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(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_GetToolBitmapSize",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
)->GetToolBitmapSize();
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_GetToolSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20915 PyObject
*resultobj
;
20916 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20918 PyObject
* obj0
= 0 ;
20919 char *kwnames
[] = {
20920 (char *) "self", NULL
20923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
20924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20925 if (SWIG_arg_fail(1)) SWIG_fail
;
20927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20928 result
= (arg1
)->GetToolSize();
20930 wxPyEndAllowThreads(__tstate
);
20931 if (PyErr_Occurred()) SWIG_fail
;
20934 wxSize
* resultptr
;
20935 resultptr
= new wxSize((wxSize
&)(result
));
20936 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20944 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20945 PyObject
*resultobj
;
20946 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20949 wxToolBarToolBase
*result
;
20950 PyObject
* obj0
= 0 ;
20951 PyObject
* obj1
= 0 ;
20952 PyObject
* obj2
= 0 ;
20953 char *kwnames
[] = {
20954 (char *) "self",(char *) "x",(char *) "y", NULL
20957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20959 if (SWIG_arg_fail(1)) SWIG_fail
;
20961 arg2
= (int)(SWIG_As_int(obj1
));
20962 if (SWIG_arg_fail(2)) SWIG_fail
;
20965 arg3
= (int)(SWIG_As_int(obj2
));
20966 if (SWIG_arg_fail(3)) SWIG_fail
;
20969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20970 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
20972 wxPyEndAllowThreads(__tstate
);
20973 if (PyErr_Occurred()) SWIG_fail
;
20976 resultobj
= wxPyMake_wxObject(result
, 0);
20984 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20985 PyObject
*resultobj
;
20986 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20988 wxToolBarToolBase
*result
;
20989 PyObject
* obj0
= 0 ;
20990 PyObject
* obj1
= 0 ;
20991 char *kwnames
[] = {
20992 (char *) "self",(char *) "toolid", NULL
20995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
20996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20997 if (SWIG_arg_fail(1)) SWIG_fail
;
20999 arg2
= (int)(SWIG_As_int(obj1
));
21000 if (SWIG_arg_fail(2)) SWIG_fail
;
21003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21004 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
21006 wxPyEndAllowThreads(__tstate
);
21007 if (PyErr_Occurred()) SWIG_fail
;
21010 resultobj
= wxPyMake_wxObject(result
, 0);
21018 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21019 PyObject
*resultobj
;
21020 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21022 PyObject
* obj0
= 0 ;
21023 char *kwnames
[] = {
21024 (char *) "self", NULL
21027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
21028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21029 if (SWIG_arg_fail(1)) SWIG_fail
;
21031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21032 result
= (bool)(arg1
)->IsVertical();
21034 wxPyEndAllowThreads(__tstate
);
21035 if (PyErr_Occurred()) SWIG_fail
;
21038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21046 static PyObject
* ToolBarBase_swigregister(PyObject
*, PyObject
*args
) {
21048 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21049 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
21051 return Py_BuildValue((char *)"");
21053 static PyObject
*_wrap_new_ToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21054 PyObject
*resultobj
;
21055 wxWindow
*arg1
= (wxWindow
*) 0 ;
21056 int arg2
= (int) -1 ;
21057 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21058 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21059 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21060 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21061 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
21062 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
21063 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21067 bool temp6
= false ;
21068 PyObject
* obj0
= 0 ;
21069 PyObject
* obj1
= 0 ;
21070 PyObject
* obj2
= 0 ;
21071 PyObject
* obj3
= 0 ;
21072 PyObject
* obj4
= 0 ;
21073 PyObject
* obj5
= 0 ;
21074 char *kwnames
[] = {
21075 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21080 if (SWIG_arg_fail(1)) SWIG_fail
;
21083 arg2
= (int)(SWIG_As_int(obj1
));
21084 if (SWIG_arg_fail(2)) SWIG_fail
;
21090 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21096 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21101 arg5
= (long)(SWIG_As_long(obj4
));
21102 if (SWIG_arg_fail(5)) SWIG_fail
;
21107 arg6
= wxString_in_helper(obj5
);
21108 if (arg6
== NULL
) SWIG_fail
;
21113 if (!wxPyCheckForApp()) SWIG_fail
;
21114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21115 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21117 wxPyEndAllowThreads(__tstate
);
21118 if (PyErr_Occurred()) SWIG_fail
;
21120 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
21135 static PyObject
*_wrap_new_PreToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21136 PyObject
*resultobj
;
21138 char *kwnames
[] = {
21142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
21144 if (!wxPyCheckForApp()) SWIG_fail
;
21145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21146 result
= (wxToolBar
*)new wxToolBar();
21148 wxPyEndAllowThreads(__tstate
);
21149 if (PyErr_Occurred()) SWIG_fail
;
21151 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
21158 static PyObject
*_wrap_ToolBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21159 PyObject
*resultobj
;
21160 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
21161 wxWindow
*arg2
= (wxWindow
*) 0 ;
21162 int arg3
= (int) -1 ;
21163 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21164 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21165 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21166 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21167 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
21168 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
21169 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21173 bool temp7
= false ;
21174 PyObject
* obj0
= 0 ;
21175 PyObject
* obj1
= 0 ;
21176 PyObject
* obj2
= 0 ;
21177 PyObject
* obj3
= 0 ;
21178 PyObject
* obj4
= 0 ;
21179 PyObject
* obj5
= 0 ;
21180 PyObject
* obj6
= 0 ;
21181 char *kwnames
[] = {
21182 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
21187 if (SWIG_arg_fail(1)) SWIG_fail
;
21188 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21189 if (SWIG_arg_fail(2)) SWIG_fail
;
21192 arg3
= (int)(SWIG_As_int(obj2
));
21193 if (SWIG_arg_fail(3)) SWIG_fail
;
21199 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21205 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21210 arg6
= (long)(SWIG_As_long(obj5
));
21211 if (SWIG_arg_fail(6)) SWIG_fail
;
21216 arg7
= wxString_in_helper(obj6
);
21217 if (arg7
== NULL
) SWIG_fail
;
21222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21223 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21225 wxPyEndAllowThreads(__tstate
);
21226 if (PyErr_Occurred()) SWIG_fail
;
21229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21245 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21246 PyObject
*resultobj
;
21247 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
21250 wxToolBarToolBase
*result
;
21251 PyObject
* obj0
= 0 ;
21252 PyObject
* obj1
= 0 ;
21253 PyObject
* obj2
= 0 ;
21254 char *kwnames
[] = {
21255 (char *) "self",(char *) "x",(char *) "y", NULL
21258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
21260 if (SWIG_arg_fail(1)) SWIG_fail
;
21262 arg2
= (int)(SWIG_As_int(obj1
));
21263 if (SWIG_arg_fail(2)) SWIG_fail
;
21266 arg3
= (int)(SWIG_As_int(obj2
));
21267 if (SWIG_arg_fail(3)) SWIG_fail
;
21270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21271 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
21273 wxPyEndAllowThreads(__tstate
);
21274 if (PyErr_Occurred()) SWIG_fail
;
21277 resultobj
= wxPyMake_wxObject(result
, 0);
21285 static PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21286 PyObject
*resultobj
;
21287 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
21288 wxVisualAttributes result
;
21289 PyObject
* obj0
= 0 ;
21290 char *kwnames
[] = {
21291 (char *) "variant", NULL
21294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
21297 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
21298 if (SWIG_arg_fail(1)) SWIG_fail
;
21302 if (!wxPyCheckForApp()) SWIG_fail
;
21303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21304 result
= wxToolBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
21306 wxPyEndAllowThreads(__tstate
);
21307 if (PyErr_Occurred()) SWIG_fail
;
21310 wxVisualAttributes
* resultptr
;
21311 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
21312 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
21320 static PyObject
* ToolBar_swigregister(PyObject
*, PyObject
*args
) {
21322 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21323 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
21325 return Py_BuildValue((char *)"");
21327 static int _wrap_ListCtrlNameStr_set(PyObject
*) {
21328 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
21333 static PyObject
*_wrap_ListCtrlNameStr_get(void) {
21338 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
21340 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
21347 static PyObject
*_wrap_new_ListItemAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21348 PyObject
*resultobj
;
21349 wxColour
const &arg1_defvalue
= wxNullColour
;
21350 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
21351 wxColour
const &arg2_defvalue
= wxNullColour
;
21352 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
21353 wxFont
const &arg3_defvalue
= wxNullFont
;
21354 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
21355 wxListItemAttr
*result
;
21358 PyObject
* obj0
= 0 ;
21359 PyObject
* obj1
= 0 ;
21360 PyObject
* obj2
= 0 ;
21361 char *kwnames
[] = {
21362 (char *) "colText",(char *) "colBack",(char *) "font", NULL
21365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21369 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
21375 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21380 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
21381 if (SWIG_arg_fail(3)) SWIG_fail
;
21382 if (arg3
== NULL
) {
21383 SWIG_null_ref("wxFont");
21385 if (SWIG_arg_fail(3)) SWIG_fail
;
21389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21390 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
21392 wxPyEndAllowThreads(__tstate
);
21393 if (PyErr_Occurred()) SWIG_fail
;
21395 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
21402 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21403 PyObject
*resultobj
;
21404 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21405 wxColour
*arg2
= 0 ;
21407 PyObject
* obj0
= 0 ;
21408 PyObject
* obj1
= 0 ;
21409 char *kwnames
[] = {
21410 (char *) "self",(char *) "colText", NULL
21413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21415 if (SWIG_arg_fail(1)) SWIG_fail
;
21418 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21422 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
21424 wxPyEndAllowThreads(__tstate
);
21425 if (PyErr_Occurred()) SWIG_fail
;
21427 Py_INCREF(Py_None
); resultobj
= Py_None
;
21434 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21435 PyObject
*resultobj
;
21436 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21437 wxColour
*arg2
= 0 ;
21439 PyObject
* obj0
= 0 ;
21440 PyObject
* obj1
= 0 ;
21441 char *kwnames
[] = {
21442 (char *) "self",(char *) "colBack", NULL
21445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21447 if (SWIG_arg_fail(1)) SWIG_fail
;
21450 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21454 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
21456 wxPyEndAllowThreads(__tstate
);
21457 if (PyErr_Occurred()) SWIG_fail
;
21459 Py_INCREF(Py_None
); resultobj
= Py_None
;
21466 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21467 PyObject
*resultobj
;
21468 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21470 PyObject
* obj0
= 0 ;
21471 PyObject
* obj1
= 0 ;
21472 char *kwnames
[] = {
21473 (char *) "self",(char *) "font", NULL
21476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
21477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21478 if (SWIG_arg_fail(1)) SWIG_fail
;
21480 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
21481 if (SWIG_arg_fail(2)) SWIG_fail
;
21482 if (arg2
== NULL
) {
21483 SWIG_null_ref("wxFont");
21485 if (SWIG_arg_fail(2)) SWIG_fail
;
21488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21489 (arg1
)->SetFont((wxFont
const &)*arg2
);
21491 wxPyEndAllowThreads(__tstate
);
21492 if (PyErr_Occurred()) SWIG_fail
;
21494 Py_INCREF(Py_None
); resultobj
= Py_None
;
21501 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21502 PyObject
*resultobj
;
21503 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21505 PyObject
* obj0
= 0 ;
21506 char *kwnames
[] = {
21507 (char *) "self", NULL
21510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
21511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21512 if (SWIG_arg_fail(1)) SWIG_fail
;
21514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21515 result
= (bool)(arg1
)->HasTextColour();
21517 wxPyEndAllowThreads(__tstate
);
21518 if (PyErr_Occurred()) SWIG_fail
;
21521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21529 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21530 PyObject
*resultobj
;
21531 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21533 PyObject
* obj0
= 0 ;
21534 char *kwnames
[] = {
21535 (char *) "self", NULL
21538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
21539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21540 if (SWIG_arg_fail(1)) SWIG_fail
;
21542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21543 result
= (bool)(arg1
)->HasBackgroundColour();
21545 wxPyEndAllowThreads(__tstate
);
21546 if (PyErr_Occurred()) SWIG_fail
;
21549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21557 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21558 PyObject
*resultobj
;
21559 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21561 PyObject
* obj0
= 0 ;
21562 char *kwnames
[] = {
21563 (char *) "self", NULL
21566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
21567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21568 if (SWIG_arg_fail(1)) SWIG_fail
;
21570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21571 result
= (bool)(arg1
)->HasFont();
21573 wxPyEndAllowThreads(__tstate
);
21574 if (PyErr_Occurred()) SWIG_fail
;
21577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21585 static PyObject
*_wrap_ListItemAttr_GetTextColour(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_GetTextColour",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
)->GetTextColour();
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_GetBackgroundColour(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_GetBackgroundColour",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
)->GetBackgroundColour();
21631 wxPyEndAllowThreads(__tstate
);
21632 if (PyErr_Occurred()) SWIG_fail
;
21635 wxColour
* resultptr
;
21636 resultptr
= new wxColour((wxColour
&)(result
));
21637 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21645 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21646 PyObject
*resultobj
;
21647 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21649 PyObject
* obj0
= 0 ;
21650 char *kwnames
[] = {
21651 (char *) "self", NULL
21654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
21655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21656 if (SWIG_arg_fail(1)) SWIG_fail
;
21658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21659 result
= (arg1
)->GetFont();
21661 wxPyEndAllowThreads(__tstate
);
21662 if (PyErr_Occurred()) SWIG_fail
;
21665 wxFont
* resultptr
;
21666 resultptr
= new wxFont((wxFont
&)(result
));
21667 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
21675 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21676 PyObject
*resultobj
;
21677 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21678 PyObject
* obj0
= 0 ;
21679 char *kwnames
[] = {
21680 (char *) "self", NULL
21683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
21684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21685 if (SWIG_arg_fail(1)) SWIG_fail
;
21687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21688 wxListItemAttr_Destroy(arg1
);
21690 wxPyEndAllowThreads(__tstate
);
21691 if (PyErr_Occurred()) SWIG_fail
;
21693 Py_INCREF(Py_None
); resultobj
= Py_None
;
21700 static PyObject
* ListItemAttr_swigregister(PyObject
*, PyObject
*args
) {
21702 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21703 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
21705 return Py_BuildValue((char *)"");
21707 static PyObject
*_wrap_new_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21708 PyObject
*resultobj
;
21709 wxListItem
*result
;
21710 char *kwnames
[] = {
21714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
21716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21717 result
= (wxListItem
*)new wxListItem();
21719 wxPyEndAllowThreads(__tstate
);
21720 if (PyErr_Occurred()) SWIG_fail
;
21723 resultobj
= wxPyMake_wxObject(result
, 1);
21731 static PyObject
*_wrap_delete_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21732 PyObject
*resultobj
;
21733 wxListItem
*arg1
= (wxListItem
*) 0 ;
21734 PyObject
* obj0
= 0 ;
21735 char *kwnames
[] = {
21736 (char *) "self", NULL
21739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
21740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21741 if (SWIG_arg_fail(1)) SWIG_fail
;
21743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21746 wxPyEndAllowThreads(__tstate
);
21747 if (PyErr_Occurred()) SWIG_fail
;
21749 Py_INCREF(Py_None
); resultobj
= Py_None
;
21756 static PyObject
*_wrap_ListItem_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21757 PyObject
*resultobj
;
21758 wxListItem
*arg1
= (wxListItem
*) 0 ;
21759 PyObject
* obj0
= 0 ;
21760 char *kwnames
[] = {
21761 (char *) "self", NULL
21764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
21765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21766 if (SWIG_arg_fail(1)) SWIG_fail
;
21768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21771 wxPyEndAllowThreads(__tstate
);
21772 if (PyErr_Occurred()) SWIG_fail
;
21774 Py_INCREF(Py_None
); resultobj
= Py_None
;
21781 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21782 PyObject
*resultobj
;
21783 wxListItem
*arg1
= (wxListItem
*) 0 ;
21784 PyObject
* obj0
= 0 ;
21785 char *kwnames
[] = {
21786 (char *) "self", NULL
21789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
21790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21791 if (SWIG_arg_fail(1)) SWIG_fail
;
21793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21794 (arg1
)->ClearAttributes();
21796 wxPyEndAllowThreads(__tstate
);
21797 if (PyErr_Occurred()) SWIG_fail
;
21799 Py_INCREF(Py_None
); resultobj
= Py_None
;
21806 static PyObject
*_wrap_ListItem_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21807 PyObject
*resultobj
;
21808 wxListItem
*arg1
= (wxListItem
*) 0 ;
21810 PyObject
* obj0
= 0 ;
21811 PyObject
* obj1
= 0 ;
21812 char *kwnames
[] = {
21813 (char *) "self",(char *) "mask", NULL
21816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
21817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21818 if (SWIG_arg_fail(1)) SWIG_fail
;
21820 arg2
= (long)(SWIG_As_long(obj1
));
21821 if (SWIG_arg_fail(2)) SWIG_fail
;
21824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21825 (arg1
)->SetMask(arg2
);
21827 wxPyEndAllowThreads(__tstate
);
21828 if (PyErr_Occurred()) SWIG_fail
;
21830 Py_INCREF(Py_None
); resultobj
= Py_None
;
21837 static PyObject
*_wrap_ListItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21838 PyObject
*resultobj
;
21839 wxListItem
*arg1
= (wxListItem
*) 0 ;
21841 PyObject
* obj0
= 0 ;
21842 PyObject
* obj1
= 0 ;
21843 char *kwnames
[] = {
21844 (char *) "self",(char *) "id", NULL
21847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
21848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21849 if (SWIG_arg_fail(1)) SWIG_fail
;
21851 arg2
= (long)(SWIG_As_long(obj1
));
21852 if (SWIG_arg_fail(2)) SWIG_fail
;
21855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21856 (arg1
)->SetId(arg2
);
21858 wxPyEndAllowThreads(__tstate
);
21859 if (PyErr_Occurred()) SWIG_fail
;
21861 Py_INCREF(Py_None
); resultobj
= Py_None
;
21868 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21869 PyObject
*resultobj
;
21870 wxListItem
*arg1
= (wxListItem
*) 0 ;
21872 PyObject
* obj0
= 0 ;
21873 PyObject
* obj1
= 0 ;
21874 char *kwnames
[] = {
21875 (char *) "self",(char *) "col", NULL
21878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21880 if (SWIG_arg_fail(1)) SWIG_fail
;
21882 arg2
= (int)(SWIG_As_int(obj1
));
21883 if (SWIG_arg_fail(2)) SWIG_fail
;
21886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21887 (arg1
)->SetColumn(arg2
);
21889 wxPyEndAllowThreads(__tstate
);
21890 if (PyErr_Occurred()) SWIG_fail
;
21892 Py_INCREF(Py_None
); resultobj
= Py_None
;
21899 static PyObject
*_wrap_ListItem_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21900 PyObject
*resultobj
;
21901 wxListItem
*arg1
= (wxListItem
*) 0 ;
21903 PyObject
* obj0
= 0 ;
21904 PyObject
* obj1
= 0 ;
21905 char *kwnames
[] = {
21906 (char *) "self",(char *) "state", NULL
21909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
21910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21911 if (SWIG_arg_fail(1)) SWIG_fail
;
21913 arg2
= (long)(SWIG_As_long(obj1
));
21914 if (SWIG_arg_fail(2)) SWIG_fail
;
21917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21918 (arg1
)->SetState(arg2
);
21920 wxPyEndAllowThreads(__tstate
);
21921 if (PyErr_Occurred()) SWIG_fail
;
21923 Py_INCREF(Py_None
); resultobj
= Py_None
;
21930 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21931 PyObject
*resultobj
;
21932 wxListItem
*arg1
= (wxListItem
*) 0 ;
21934 PyObject
* obj0
= 0 ;
21935 PyObject
* obj1
= 0 ;
21936 char *kwnames
[] = {
21937 (char *) "self",(char *) "stateMask", NULL
21940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
21941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21942 if (SWIG_arg_fail(1)) SWIG_fail
;
21944 arg2
= (long)(SWIG_As_long(obj1
));
21945 if (SWIG_arg_fail(2)) SWIG_fail
;
21948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21949 (arg1
)->SetStateMask(arg2
);
21951 wxPyEndAllowThreads(__tstate
);
21952 if (PyErr_Occurred()) SWIG_fail
;
21954 Py_INCREF(Py_None
); resultobj
= Py_None
;
21961 static PyObject
*_wrap_ListItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21962 PyObject
*resultobj
;
21963 wxListItem
*arg1
= (wxListItem
*) 0 ;
21964 wxString
*arg2
= 0 ;
21965 bool temp2
= false ;
21966 PyObject
* obj0
= 0 ;
21967 PyObject
* obj1
= 0 ;
21968 char *kwnames
[] = {
21969 (char *) "self",(char *) "text", NULL
21972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
21973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21974 if (SWIG_arg_fail(1)) SWIG_fail
;
21976 arg2
= wxString_in_helper(obj1
);
21977 if (arg2
== NULL
) SWIG_fail
;
21981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21982 (arg1
)->SetText((wxString
const &)*arg2
);
21984 wxPyEndAllowThreads(__tstate
);
21985 if (PyErr_Occurred()) SWIG_fail
;
21987 Py_INCREF(Py_None
); resultobj
= Py_None
;
22002 static PyObject
*_wrap_ListItem_SetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22003 PyObject
*resultobj
;
22004 wxListItem
*arg1
= (wxListItem
*) 0 ;
22006 PyObject
* obj0
= 0 ;
22007 PyObject
* obj1
= 0 ;
22008 char *kwnames
[] = {
22009 (char *) "self",(char *) "image", NULL
22012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
22013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22014 if (SWIG_arg_fail(1)) SWIG_fail
;
22016 arg2
= (int)(SWIG_As_int(obj1
));
22017 if (SWIG_arg_fail(2)) SWIG_fail
;
22020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22021 (arg1
)->SetImage(arg2
);
22023 wxPyEndAllowThreads(__tstate
);
22024 if (PyErr_Occurred()) SWIG_fail
;
22026 Py_INCREF(Py_None
); resultobj
= Py_None
;
22033 static PyObject
*_wrap_ListItem_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22034 PyObject
*resultobj
;
22035 wxListItem
*arg1
= (wxListItem
*) 0 ;
22037 PyObject
* obj0
= 0 ;
22038 PyObject
* obj1
= 0 ;
22039 char *kwnames
[] = {
22040 (char *) "self",(char *) "data", NULL
22043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
22044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22045 if (SWIG_arg_fail(1)) SWIG_fail
;
22047 arg2
= (long)(SWIG_As_long(obj1
));
22048 if (SWIG_arg_fail(2)) SWIG_fail
;
22051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22052 (arg1
)->SetData(arg2
);
22054 wxPyEndAllowThreads(__tstate
);
22055 if (PyErr_Occurred()) SWIG_fail
;
22057 Py_INCREF(Py_None
); resultobj
= Py_None
;
22064 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22065 PyObject
*resultobj
;
22066 wxListItem
*arg1
= (wxListItem
*) 0 ;
22068 PyObject
* obj0
= 0 ;
22069 PyObject
* obj1
= 0 ;
22070 char *kwnames
[] = {
22071 (char *) "self",(char *) "width", NULL
22074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
22075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22076 if (SWIG_arg_fail(1)) SWIG_fail
;
22078 arg2
= (int)(SWIG_As_int(obj1
));
22079 if (SWIG_arg_fail(2)) SWIG_fail
;
22082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22083 (arg1
)->SetWidth(arg2
);
22085 wxPyEndAllowThreads(__tstate
);
22086 if (PyErr_Occurred()) SWIG_fail
;
22088 Py_INCREF(Py_None
); resultobj
= Py_None
;
22095 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22096 PyObject
*resultobj
;
22097 wxListItem
*arg1
= (wxListItem
*) 0 ;
22098 wxListColumnFormat arg2
;
22099 PyObject
* obj0
= 0 ;
22100 PyObject
* obj1
= 0 ;
22101 char *kwnames
[] = {
22102 (char *) "self",(char *) "align", NULL
22105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
22106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22107 if (SWIG_arg_fail(1)) SWIG_fail
;
22109 arg2
= (wxListColumnFormat
)(SWIG_As_int(obj1
));
22110 if (SWIG_arg_fail(2)) SWIG_fail
;
22113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22114 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
22116 wxPyEndAllowThreads(__tstate
);
22117 if (PyErr_Occurred()) SWIG_fail
;
22119 Py_INCREF(Py_None
); resultobj
= Py_None
;
22126 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22127 PyObject
*resultobj
;
22128 wxListItem
*arg1
= (wxListItem
*) 0 ;
22129 wxColour
*arg2
= 0 ;
22131 PyObject
* obj0
= 0 ;
22132 PyObject
* obj1
= 0 ;
22133 char *kwnames
[] = {
22134 (char *) "self",(char *) "colText", NULL
22137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22139 if (SWIG_arg_fail(1)) SWIG_fail
;
22142 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22146 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
22148 wxPyEndAllowThreads(__tstate
);
22149 if (PyErr_Occurred()) SWIG_fail
;
22151 Py_INCREF(Py_None
); resultobj
= Py_None
;
22158 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22159 PyObject
*resultobj
;
22160 wxListItem
*arg1
= (wxListItem
*) 0 ;
22161 wxColour
*arg2
= 0 ;
22163 PyObject
* obj0
= 0 ;
22164 PyObject
* obj1
= 0 ;
22165 char *kwnames
[] = {
22166 (char *) "self",(char *) "colBack", NULL
22169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22171 if (SWIG_arg_fail(1)) SWIG_fail
;
22174 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22178 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
22180 wxPyEndAllowThreads(__tstate
);
22181 if (PyErr_Occurred()) SWIG_fail
;
22183 Py_INCREF(Py_None
); resultobj
= Py_None
;
22190 static PyObject
*_wrap_ListItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22191 PyObject
*resultobj
;
22192 wxListItem
*arg1
= (wxListItem
*) 0 ;
22194 PyObject
* obj0
= 0 ;
22195 PyObject
* obj1
= 0 ;
22196 char *kwnames
[] = {
22197 (char *) "self",(char *) "font", NULL
22200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
22201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22202 if (SWIG_arg_fail(1)) SWIG_fail
;
22204 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
22205 if (SWIG_arg_fail(2)) SWIG_fail
;
22206 if (arg2
== NULL
) {
22207 SWIG_null_ref("wxFont");
22209 if (SWIG_arg_fail(2)) SWIG_fail
;
22212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22213 (arg1
)->SetFont((wxFont
const &)*arg2
);
22215 wxPyEndAllowThreads(__tstate
);
22216 if (PyErr_Occurred()) SWIG_fail
;
22218 Py_INCREF(Py_None
); resultobj
= Py_None
;
22225 static PyObject
*_wrap_ListItem_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22226 PyObject
*resultobj
;
22227 wxListItem
*arg1
= (wxListItem
*) 0 ;
22229 PyObject
* obj0
= 0 ;
22230 char *kwnames
[] = {
22231 (char *) "self", NULL
22234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
22235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22236 if (SWIG_arg_fail(1)) SWIG_fail
;
22238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22239 result
= (long)(arg1
)->GetMask();
22241 wxPyEndAllowThreads(__tstate
);
22242 if (PyErr_Occurred()) SWIG_fail
;
22245 resultobj
= SWIG_From_long((long)(result
));
22253 static PyObject
*_wrap_ListItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22254 PyObject
*resultobj
;
22255 wxListItem
*arg1
= (wxListItem
*) 0 ;
22257 PyObject
* obj0
= 0 ;
22258 char *kwnames
[] = {
22259 (char *) "self", NULL
22262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
22263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22264 if (SWIG_arg_fail(1)) SWIG_fail
;
22266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22267 result
= (long)(arg1
)->GetId();
22269 wxPyEndAllowThreads(__tstate
);
22270 if (PyErr_Occurred()) SWIG_fail
;
22273 resultobj
= SWIG_From_long((long)(result
));
22281 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22282 PyObject
*resultobj
;
22283 wxListItem
*arg1
= (wxListItem
*) 0 ;
22285 PyObject
* obj0
= 0 ;
22286 char *kwnames
[] = {
22287 (char *) "self", NULL
22290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
22291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22292 if (SWIG_arg_fail(1)) SWIG_fail
;
22294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22295 result
= (int)(arg1
)->GetColumn();
22297 wxPyEndAllowThreads(__tstate
);
22298 if (PyErr_Occurred()) SWIG_fail
;
22301 resultobj
= SWIG_From_int((int)(result
));
22309 static PyObject
*_wrap_ListItem_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22310 PyObject
*resultobj
;
22311 wxListItem
*arg1
= (wxListItem
*) 0 ;
22313 PyObject
* obj0
= 0 ;
22314 char *kwnames
[] = {
22315 (char *) "self", NULL
22318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
22319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22320 if (SWIG_arg_fail(1)) SWIG_fail
;
22322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22323 result
= (long)(arg1
)->GetState();
22325 wxPyEndAllowThreads(__tstate
);
22326 if (PyErr_Occurred()) SWIG_fail
;
22329 resultobj
= SWIG_From_long((long)(result
));
22337 static PyObject
*_wrap_ListItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22338 PyObject
*resultobj
;
22339 wxListItem
*arg1
= (wxListItem
*) 0 ;
22341 PyObject
* obj0
= 0 ;
22342 char *kwnames
[] = {
22343 (char *) "self", NULL
22346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
22347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22348 if (SWIG_arg_fail(1)) SWIG_fail
;
22350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22352 wxString
const &_result_ref
= (arg1
)->GetText();
22353 result
= (wxString
*) &_result_ref
;
22356 wxPyEndAllowThreads(__tstate
);
22357 if (PyErr_Occurred()) SWIG_fail
;
22361 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22363 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22372 static PyObject
*_wrap_ListItem_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22373 PyObject
*resultobj
;
22374 wxListItem
*arg1
= (wxListItem
*) 0 ;
22376 PyObject
* obj0
= 0 ;
22377 char *kwnames
[] = {
22378 (char *) "self", NULL
22381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
22382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22383 if (SWIG_arg_fail(1)) SWIG_fail
;
22385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22386 result
= (int)(arg1
)->GetImage();
22388 wxPyEndAllowThreads(__tstate
);
22389 if (PyErr_Occurred()) SWIG_fail
;
22392 resultobj
= SWIG_From_int((int)(result
));
22400 static PyObject
*_wrap_ListItem_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22401 PyObject
*resultobj
;
22402 wxListItem
*arg1
= (wxListItem
*) 0 ;
22404 PyObject
* obj0
= 0 ;
22405 char *kwnames
[] = {
22406 (char *) "self", NULL
22409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
22410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22411 if (SWIG_arg_fail(1)) SWIG_fail
;
22413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22414 result
= (long)(arg1
)->GetData();
22416 wxPyEndAllowThreads(__tstate
);
22417 if (PyErr_Occurred()) SWIG_fail
;
22420 resultobj
= SWIG_From_long((long)(result
));
22428 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22429 PyObject
*resultobj
;
22430 wxListItem
*arg1
= (wxListItem
*) 0 ;
22432 PyObject
* obj0
= 0 ;
22433 char *kwnames
[] = {
22434 (char *) "self", NULL
22437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
22438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22439 if (SWIG_arg_fail(1)) SWIG_fail
;
22441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22442 result
= (int)(arg1
)->GetWidth();
22444 wxPyEndAllowThreads(__tstate
);
22445 if (PyErr_Occurred()) SWIG_fail
;
22448 resultobj
= SWIG_From_int((int)(result
));
22456 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22457 PyObject
*resultobj
;
22458 wxListItem
*arg1
= (wxListItem
*) 0 ;
22459 wxListColumnFormat result
;
22460 PyObject
* obj0
= 0 ;
22461 char *kwnames
[] = {
22462 (char *) "self", NULL
22465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
22466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22467 if (SWIG_arg_fail(1)) SWIG_fail
;
22469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22470 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
22472 wxPyEndAllowThreads(__tstate
);
22473 if (PyErr_Occurred()) SWIG_fail
;
22475 resultobj
= SWIG_From_int((result
));
22482 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22483 PyObject
*resultobj
;
22484 wxListItem
*arg1
= (wxListItem
*) 0 ;
22485 wxListItemAttr
*result
;
22486 PyObject
* obj0
= 0 ;
22487 char *kwnames
[] = {
22488 (char *) "self", NULL
22491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
22492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22493 if (SWIG_arg_fail(1)) SWIG_fail
;
22495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22496 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
22498 wxPyEndAllowThreads(__tstate
);
22499 if (PyErr_Occurred()) SWIG_fail
;
22501 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
22508 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22509 PyObject
*resultobj
;
22510 wxListItem
*arg1
= (wxListItem
*) 0 ;
22512 PyObject
* obj0
= 0 ;
22513 char *kwnames
[] = {
22514 (char *) "self", NULL
22517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
22518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22519 if (SWIG_arg_fail(1)) SWIG_fail
;
22521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22522 result
= (bool)(arg1
)->HasAttributes();
22524 wxPyEndAllowThreads(__tstate
);
22525 if (PyErr_Occurred()) SWIG_fail
;
22528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22536 static PyObject
*_wrap_ListItem_GetTextColour(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_GetTextColour",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
)->GetTextColour();
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_GetBackgroundColour(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_GetBackgroundColour",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
)->GetBackgroundColour();
22582 wxPyEndAllowThreads(__tstate
);
22583 if (PyErr_Occurred()) SWIG_fail
;
22586 wxColour
* resultptr
;
22587 resultptr
= new wxColour((wxColour
&)(result
));
22588 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22596 static PyObject
*_wrap_ListItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22597 PyObject
*resultobj
;
22598 wxListItem
*arg1
= (wxListItem
*) 0 ;
22600 PyObject
* obj0
= 0 ;
22601 char *kwnames
[] = {
22602 (char *) "self", NULL
22605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
22606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22607 if (SWIG_arg_fail(1)) SWIG_fail
;
22609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22610 result
= ((wxListItem
const *)arg1
)->GetFont();
22612 wxPyEndAllowThreads(__tstate
);
22613 if (PyErr_Occurred()) SWIG_fail
;
22616 wxFont
* resultptr
;
22617 resultptr
= new wxFont((wxFont
&)(result
));
22618 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22626 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22627 PyObject
*resultobj
;
22628 wxListItem
*arg1
= (wxListItem
*) 0 ;
22630 PyObject
* obj0
= 0 ;
22631 PyObject
* obj1
= 0 ;
22632 char *kwnames
[] = {
22633 (char *) "self",(char *) "m_mask", NULL
22636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22638 if (SWIG_arg_fail(1)) SWIG_fail
;
22640 arg2
= (long)(SWIG_As_long(obj1
));
22641 if (SWIG_arg_fail(2)) SWIG_fail
;
22643 if (arg1
) (arg1
)->m_mask
= arg2
;
22645 Py_INCREF(Py_None
); resultobj
= Py_None
;
22652 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22653 PyObject
*resultobj
;
22654 wxListItem
*arg1
= (wxListItem
*) 0 ;
22656 PyObject
* obj0
= 0 ;
22657 char *kwnames
[] = {
22658 (char *) "self", NULL
22661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
22662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22663 if (SWIG_arg_fail(1)) SWIG_fail
;
22664 result
= (long) ((arg1
)->m_mask
);
22667 resultobj
= SWIG_From_long((long)(result
));
22675 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22676 PyObject
*resultobj
;
22677 wxListItem
*arg1
= (wxListItem
*) 0 ;
22679 PyObject
* obj0
= 0 ;
22680 PyObject
* obj1
= 0 ;
22681 char *kwnames
[] = {
22682 (char *) "self",(char *) "m_itemId", NULL
22685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22687 if (SWIG_arg_fail(1)) SWIG_fail
;
22689 arg2
= (long)(SWIG_As_long(obj1
));
22690 if (SWIG_arg_fail(2)) SWIG_fail
;
22692 if (arg1
) (arg1
)->m_itemId
= arg2
;
22694 Py_INCREF(Py_None
); resultobj
= Py_None
;
22701 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22702 PyObject
*resultobj
;
22703 wxListItem
*arg1
= (wxListItem
*) 0 ;
22705 PyObject
* obj0
= 0 ;
22706 char *kwnames
[] = {
22707 (char *) "self", NULL
22710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
22711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22712 if (SWIG_arg_fail(1)) SWIG_fail
;
22713 result
= (long) ((arg1
)->m_itemId
);
22716 resultobj
= SWIG_From_long((long)(result
));
22724 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22725 PyObject
*resultobj
;
22726 wxListItem
*arg1
= (wxListItem
*) 0 ;
22728 PyObject
* obj0
= 0 ;
22729 PyObject
* obj1
= 0 ;
22730 char *kwnames
[] = {
22731 (char *) "self",(char *) "m_col", NULL
22734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22736 if (SWIG_arg_fail(1)) SWIG_fail
;
22738 arg2
= (int)(SWIG_As_int(obj1
));
22739 if (SWIG_arg_fail(2)) SWIG_fail
;
22741 if (arg1
) (arg1
)->m_col
= arg2
;
22743 Py_INCREF(Py_None
); resultobj
= Py_None
;
22750 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22751 PyObject
*resultobj
;
22752 wxListItem
*arg1
= (wxListItem
*) 0 ;
22754 PyObject
* obj0
= 0 ;
22755 char *kwnames
[] = {
22756 (char *) "self", NULL
22759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
22760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22761 if (SWIG_arg_fail(1)) SWIG_fail
;
22762 result
= (int) ((arg1
)->m_col
);
22765 resultobj
= SWIG_From_int((int)(result
));
22773 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22774 PyObject
*resultobj
;
22775 wxListItem
*arg1
= (wxListItem
*) 0 ;
22777 PyObject
* obj0
= 0 ;
22778 PyObject
* obj1
= 0 ;
22779 char *kwnames
[] = {
22780 (char *) "self",(char *) "m_state", NULL
22783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22785 if (SWIG_arg_fail(1)) SWIG_fail
;
22787 arg2
= (long)(SWIG_As_long(obj1
));
22788 if (SWIG_arg_fail(2)) SWIG_fail
;
22790 if (arg1
) (arg1
)->m_state
= arg2
;
22792 Py_INCREF(Py_None
); resultobj
= Py_None
;
22799 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22800 PyObject
*resultobj
;
22801 wxListItem
*arg1
= (wxListItem
*) 0 ;
22803 PyObject
* obj0
= 0 ;
22804 char *kwnames
[] = {
22805 (char *) "self", NULL
22808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
22809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22810 if (SWIG_arg_fail(1)) SWIG_fail
;
22811 result
= (long) ((arg1
)->m_state
);
22814 resultobj
= SWIG_From_long((long)(result
));
22822 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22823 PyObject
*resultobj
;
22824 wxListItem
*arg1
= (wxListItem
*) 0 ;
22826 PyObject
* obj0
= 0 ;
22827 PyObject
* obj1
= 0 ;
22828 char *kwnames
[] = {
22829 (char *) "self",(char *) "m_stateMask", NULL
22832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22834 if (SWIG_arg_fail(1)) SWIG_fail
;
22836 arg2
= (long)(SWIG_As_long(obj1
));
22837 if (SWIG_arg_fail(2)) SWIG_fail
;
22839 if (arg1
) (arg1
)->m_stateMask
= arg2
;
22841 Py_INCREF(Py_None
); resultobj
= Py_None
;
22848 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22849 PyObject
*resultobj
;
22850 wxListItem
*arg1
= (wxListItem
*) 0 ;
22852 PyObject
* obj0
= 0 ;
22853 char *kwnames
[] = {
22854 (char *) "self", NULL
22857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
22858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22859 if (SWIG_arg_fail(1)) SWIG_fail
;
22860 result
= (long) ((arg1
)->m_stateMask
);
22863 resultobj
= SWIG_From_long((long)(result
));
22871 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22872 PyObject
*resultobj
;
22873 wxListItem
*arg1
= (wxListItem
*) 0 ;
22874 wxString
*arg2
= (wxString
*) 0 ;
22875 bool temp2
= false ;
22876 PyObject
* obj0
= 0 ;
22877 PyObject
* obj1
= 0 ;
22878 char *kwnames
[] = {
22879 (char *) "self",(char *) "m_text", NULL
22882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22884 if (SWIG_arg_fail(1)) SWIG_fail
;
22886 arg2
= wxString_in_helper(obj1
);
22887 if (arg2
== NULL
) SWIG_fail
;
22890 if (arg1
) (arg1
)->m_text
= *arg2
;
22892 Py_INCREF(Py_None
); resultobj
= Py_None
;
22907 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22908 PyObject
*resultobj
;
22909 wxListItem
*arg1
= (wxListItem
*) 0 ;
22911 PyObject
* obj0
= 0 ;
22912 char *kwnames
[] = {
22913 (char *) "self", NULL
22916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
22917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22918 if (SWIG_arg_fail(1)) SWIG_fail
;
22919 result
= (wxString
*)& ((arg1
)->m_text
);
22923 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22925 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22934 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22935 PyObject
*resultobj
;
22936 wxListItem
*arg1
= (wxListItem
*) 0 ;
22938 PyObject
* obj0
= 0 ;
22939 PyObject
* obj1
= 0 ;
22940 char *kwnames
[] = {
22941 (char *) "self",(char *) "m_image", NULL
22944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22946 if (SWIG_arg_fail(1)) SWIG_fail
;
22948 arg2
= (int)(SWIG_As_int(obj1
));
22949 if (SWIG_arg_fail(2)) SWIG_fail
;
22951 if (arg1
) (arg1
)->m_image
= arg2
;
22953 Py_INCREF(Py_None
); resultobj
= Py_None
;
22960 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22961 PyObject
*resultobj
;
22962 wxListItem
*arg1
= (wxListItem
*) 0 ;
22964 PyObject
* obj0
= 0 ;
22965 char *kwnames
[] = {
22966 (char *) "self", NULL
22969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
22970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22971 if (SWIG_arg_fail(1)) SWIG_fail
;
22972 result
= (int) ((arg1
)->m_image
);
22975 resultobj
= SWIG_From_int((int)(result
));
22983 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22984 PyObject
*resultobj
;
22985 wxListItem
*arg1
= (wxListItem
*) 0 ;
22987 PyObject
* obj0
= 0 ;
22988 PyObject
* obj1
= 0 ;
22989 char *kwnames
[] = {
22990 (char *) "self",(char *) "m_data", NULL
22993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22995 if (SWIG_arg_fail(1)) SWIG_fail
;
22997 arg2
= (long)(SWIG_As_long(obj1
));
22998 if (SWIG_arg_fail(2)) SWIG_fail
;
23000 if (arg1
) (arg1
)->m_data
= arg2
;
23002 Py_INCREF(Py_None
); resultobj
= Py_None
;
23009 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23010 PyObject
*resultobj
;
23011 wxListItem
*arg1
= (wxListItem
*) 0 ;
23013 PyObject
* obj0
= 0 ;
23014 char *kwnames
[] = {
23015 (char *) "self", NULL
23018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
23019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23020 if (SWIG_arg_fail(1)) SWIG_fail
;
23021 result
= (long) ((arg1
)->m_data
);
23024 resultobj
= SWIG_From_long((long)(result
));
23032 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23033 PyObject
*resultobj
;
23034 wxListItem
*arg1
= (wxListItem
*) 0 ;
23036 PyObject
* obj0
= 0 ;
23037 PyObject
* obj1
= 0 ;
23038 char *kwnames
[] = {
23039 (char *) "self",(char *) "m_format", NULL
23042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23044 if (SWIG_arg_fail(1)) SWIG_fail
;
23046 arg2
= (int)(SWIG_As_int(obj1
));
23047 if (SWIG_arg_fail(2)) SWIG_fail
;
23049 if (arg1
) (arg1
)->m_format
= arg2
;
23051 Py_INCREF(Py_None
); resultobj
= Py_None
;
23058 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23059 PyObject
*resultobj
;
23060 wxListItem
*arg1
= (wxListItem
*) 0 ;
23062 PyObject
* obj0
= 0 ;
23063 char *kwnames
[] = {
23064 (char *) "self", NULL
23067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
23068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23069 if (SWIG_arg_fail(1)) SWIG_fail
;
23070 result
= (int) ((arg1
)->m_format
);
23073 resultobj
= SWIG_From_int((int)(result
));
23081 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23082 PyObject
*resultobj
;
23083 wxListItem
*arg1
= (wxListItem
*) 0 ;
23085 PyObject
* obj0
= 0 ;
23086 PyObject
* obj1
= 0 ;
23087 char *kwnames
[] = {
23088 (char *) "self",(char *) "m_width", NULL
23091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23093 if (SWIG_arg_fail(1)) SWIG_fail
;
23095 arg2
= (int)(SWIG_As_int(obj1
));
23096 if (SWIG_arg_fail(2)) SWIG_fail
;
23098 if (arg1
) (arg1
)->m_width
= arg2
;
23100 Py_INCREF(Py_None
); resultobj
= Py_None
;
23107 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23108 PyObject
*resultobj
;
23109 wxListItem
*arg1
= (wxListItem
*) 0 ;
23111 PyObject
* obj0
= 0 ;
23112 char *kwnames
[] = {
23113 (char *) "self", NULL
23116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
23117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23118 if (SWIG_arg_fail(1)) SWIG_fail
;
23119 result
= (int) ((arg1
)->m_width
);
23122 resultobj
= SWIG_From_int((int)(result
));
23130 static PyObject
* ListItem_swigregister(PyObject
*, PyObject
*args
) {
23132 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23133 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
23135 return Py_BuildValue((char *)"");
23137 static PyObject
*_wrap_new_ListEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23138 PyObject
*resultobj
;
23139 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23140 int arg2
= (int) 0 ;
23141 wxListEvent
*result
;
23142 PyObject
* obj0
= 0 ;
23143 PyObject
* obj1
= 0 ;
23144 char *kwnames
[] = {
23145 (char *) "commandType",(char *) "id", NULL
23148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23151 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
23152 if (SWIG_arg_fail(1)) SWIG_fail
;
23157 arg2
= (int)(SWIG_As_int(obj1
));
23158 if (SWIG_arg_fail(2)) SWIG_fail
;
23162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23163 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
23165 wxPyEndAllowThreads(__tstate
);
23166 if (PyErr_Occurred()) SWIG_fail
;
23168 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
23175 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23176 PyObject
*resultobj
;
23177 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23179 PyObject
* obj0
= 0 ;
23180 PyObject
* obj1
= 0 ;
23181 char *kwnames
[] = {
23182 (char *) "self",(char *) "m_code", NULL
23185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23187 if (SWIG_arg_fail(1)) SWIG_fail
;
23189 arg2
= (int)(SWIG_As_int(obj1
));
23190 if (SWIG_arg_fail(2)) SWIG_fail
;
23192 if (arg1
) (arg1
)->m_code
= arg2
;
23194 Py_INCREF(Py_None
); resultobj
= Py_None
;
23201 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23202 PyObject
*resultobj
;
23203 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23205 PyObject
* obj0
= 0 ;
23206 char *kwnames
[] = {
23207 (char *) "self", NULL
23210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
23211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23212 if (SWIG_arg_fail(1)) SWIG_fail
;
23213 result
= (int) ((arg1
)->m_code
);
23216 resultobj
= SWIG_From_int((int)(result
));
23224 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23225 PyObject
*resultobj
;
23226 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23228 PyObject
* obj0
= 0 ;
23229 PyObject
* obj1
= 0 ;
23230 char *kwnames
[] = {
23231 (char *) "self",(char *) "m_oldItemIndex", NULL
23234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23236 if (SWIG_arg_fail(1)) SWIG_fail
;
23238 arg2
= (long)(SWIG_As_long(obj1
));
23239 if (SWIG_arg_fail(2)) SWIG_fail
;
23241 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
23243 Py_INCREF(Py_None
); resultobj
= Py_None
;
23250 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23251 PyObject
*resultobj
;
23252 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23254 PyObject
* obj0
= 0 ;
23255 char *kwnames
[] = {
23256 (char *) "self", NULL
23259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
23260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23261 if (SWIG_arg_fail(1)) SWIG_fail
;
23262 result
= (long) ((arg1
)->m_oldItemIndex
);
23265 resultobj
= SWIG_From_long((long)(result
));
23273 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23274 PyObject
*resultobj
;
23275 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23277 PyObject
* obj0
= 0 ;
23278 PyObject
* obj1
= 0 ;
23279 char *kwnames
[] = {
23280 (char *) "self",(char *) "m_itemIndex", NULL
23283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23285 if (SWIG_arg_fail(1)) SWIG_fail
;
23287 arg2
= (long)(SWIG_As_long(obj1
));
23288 if (SWIG_arg_fail(2)) SWIG_fail
;
23290 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
23292 Py_INCREF(Py_None
); resultobj
= Py_None
;
23299 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23300 PyObject
*resultobj
;
23301 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23303 PyObject
* obj0
= 0 ;
23304 char *kwnames
[] = {
23305 (char *) "self", NULL
23308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
23309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23310 if (SWIG_arg_fail(1)) SWIG_fail
;
23311 result
= (long) ((arg1
)->m_itemIndex
);
23314 resultobj
= SWIG_From_long((long)(result
));
23322 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23323 PyObject
*resultobj
;
23324 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23326 PyObject
* obj0
= 0 ;
23327 PyObject
* obj1
= 0 ;
23328 char *kwnames
[] = {
23329 (char *) "self",(char *) "m_col", NULL
23332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23334 if (SWIG_arg_fail(1)) SWIG_fail
;
23336 arg2
= (int)(SWIG_As_int(obj1
));
23337 if (SWIG_arg_fail(2)) SWIG_fail
;
23339 if (arg1
) (arg1
)->m_col
= arg2
;
23341 Py_INCREF(Py_None
); resultobj
= Py_None
;
23348 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23349 PyObject
*resultobj
;
23350 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23352 PyObject
* obj0
= 0 ;
23353 char *kwnames
[] = {
23354 (char *) "self", NULL
23357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
23358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23359 if (SWIG_arg_fail(1)) SWIG_fail
;
23360 result
= (int) ((arg1
)->m_col
);
23363 resultobj
= SWIG_From_int((int)(result
));
23371 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23372 PyObject
*resultobj
;
23373 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23374 wxPoint
*arg2
= (wxPoint
*) 0 ;
23375 PyObject
* obj0
= 0 ;
23376 PyObject
* obj1
= 0 ;
23377 char *kwnames
[] = {
23378 (char *) "self",(char *) "m_pointDrag", NULL
23381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23383 if (SWIG_arg_fail(1)) SWIG_fail
;
23384 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
23385 if (SWIG_arg_fail(2)) SWIG_fail
;
23386 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
23388 Py_INCREF(Py_None
); resultobj
= Py_None
;
23395 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23396 PyObject
*resultobj
;
23397 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23399 PyObject
* obj0
= 0 ;
23400 char *kwnames
[] = {
23401 (char *) "self", NULL
23404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
23405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23406 if (SWIG_arg_fail(1)) SWIG_fail
;
23407 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
23409 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
23416 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23417 PyObject
*resultobj
;
23418 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23419 wxListItem
*result
;
23420 PyObject
* obj0
= 0 ;
23421 char *kwnames
[] = {
23422 (char *) "self", NULL
23425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
23426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23427 if (SWIG_arg_fail(1)) SWIG_fail
;
23428 result
= (wxListItem
*)& ((arg1
)->m_item
);
23431 resultobj
= wxPyMake_wxObject(result
, 0);
23439 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23440 PyObject
*resultobj
;
23441 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23443 PyObject
* obj0
= 0 ;
23444 char *kwnames
[] = {
23445 (char *) "self", NULL
23448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
23449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23450 if (SWIG_arg_fail(1)) SWIG_fail
;
23452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23453 result
= (int)(arg1
)->GetKeyCode();
23455 wxPyEndAllowThreads(__tstate
);
23456 if (PyErr_Occurred()) SWIG_fail
;
23459 resultobj
= SWIG_From_int((int)(result
));
23467 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23468 PyObject
*resultobj
;
23469 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23471 PyObject
* obj0
= 0 ;
23472 char *kwnames
[] = {
23473 (char *) "self", NULL
23476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
23477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23478 if (SWIG_arg_fail(1)) SWIG_fail
;
23480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23481 result
= (long)(arg1
)->GetIndex();
23483 wxPyEndAllowThreads(__tstate
);
23484 if (PyErr_Occurred()) SWIG_fail
;
23487 resultobj
= SWIG_From_long((long)(result
));
23495 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23496 PyObject
*resultobj
;
23497 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23499 PyObject
* obj0
= 0 ;
23500 char *kwnames
[] = {
23501 (char *) "self", NULL
23504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
23505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23506 if (SWIG_arg_fail(1)) SWIG_fail
;
23508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23509 result
= (int)(arg1
)->GetColumn();
23511 wxPyEndAllowThreads(__tstate
);
23512 if (PyErr_Occurred()) SWIG_fail
;
23515 resultobj
= SWIG_From_int((int)(result
));
23523 static PyObject
*_wrap_ListEvent_GetPoint(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_GetPoint",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();
23537 result
= (arg1
)->GetPoint();
23539 wxPyEndAllowThreads(__tstate
);
23540 if (PyErr_Occurred()) SWIG_fail
;
23543 wxPoint
* resultptr
;
23544 resultptr
= new wxPoint((wxPoint
&)(result
));
23545 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23553 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23554 PyObject
*resultobj
;
23555 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23557 PyObject
* obj0
= 0 ;
23558 char *kwnames
[] = {
23559 (char *) "self", NULL
23562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
23563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23564 if (SWIG_arg_fail(1)) SWIG_fail
;
23566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23568 wxString
const &_result_ref
= (arg1
)->GetLabel();
23569 result
= (wxString
*) &_result_ref
;
23572 wxPyEndAllowThreads(__tstate
);
23573 if (PyErr_Occurred()) SWIG_fail
;
23577 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23579 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23588 static PyObject
*_wrap_ListEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23589 PyObject
*resultobj
;
23590 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23592 PyObject
* obj0
= 0 ;
23593 char *kwnames
[] = {
23594 (char *) "self", NULL
23597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
23598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23599 if (SWIG_arg_fail(1)) SWIG_fail
;
23601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23603 wxString
const &_result_ref
= (arg1
)->GetText();
23604 result
= (wxString
*) &_result_ref
;
23607 wxPyEndAllowThreads(__tstate
);
23608 if (PyErr_Occurred()) SWIG_fail
;
23612 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23614 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23623 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23624 PyObject
*resultobj
;
23625 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23627 PyObject
* obj0
= 0 ;
23628 char *kwnames
[] = {
23629 (char *) "self", NULL
23632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
23633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23634 if (SWIG_arg_fail(1)) SWIG_fail
;
23636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23637 result
= (int)(arg1
)->GetImage();
23639 wxPyEndAllowThreads(__tstate
);
23640 if (PyErr_Occurred()) SWIG_fail
;
23643 resultobj
= SWIG_From_int((int)(result
));
23651 static PyObject
*_wrap_ListEvent_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23652 PyObject
*resultobj
;
23653 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23655 PyObject
* obj0
= 0 ;
23656 char *kwnames
[] = {
23657 (char *) "self", NULL
23660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
23661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23662 if (SWIG_arg_fail(1)) SWIG_fail
;
23664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23665 result
= (long)(arg1
)->GetData();
23667 wxPyEndAllowThreads(__tstate
);
23668 if (PyErr_Occurred()) SWIG_fail
;
23671 resultobj
= SWIG_From_long((long)(result
));
23679 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23680 PyObject
*resultobj
;
23681 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23683 PyObject
* obj0
= 0 ;
23684 char *kwnames
[] = {
23685 (char *) "self", NULL
23688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
23689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23690 if (SWIG_arg_fail(1)) SWIG_fail
;
23692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23693 result
= (long)(arg1
)->GetMask();
23695 wxPyEndAllowThreads(__tstate
);
23696 if (PyErr_Occurred()) SWIG_fail
;
23699 resultobj
= SWIG_From_long((long)(result
));
23707 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23708 PyObject
*resultobj
;
23709 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23710 wxListItem
*result
;
23711 PyObject
* obj0
= 0 ;
23712 char *kwnames
[] = {
23713 (char *) "self", NULL
23716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
23717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23718 if (SWIG_arg_fail(1)) SWIG_fail
;
23720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23722 wxListItem
const &_result_ref
= (arg1
)->GetItem();
23723 result
= (wxListItem
*) &_result_ref
;
23726 wxPyEndAllowThreads(__tstate
);
23727 if (PyErr_Occurred()) SWIG_fail
;
23729 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
23736 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23737 PyObject
*resultobj
;
23738 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23740 PyObject
* obj0
= 0 ;
23741 char *kwnames
[] = {
23742 (char *) "self", NULL
23745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
23746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23747 if (SWIG_arg_fail(1)) SWIG_fail
;
23749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23750 result
= (long)(arg1
)->GetCacheFrom();
23752 wxPyEndAllowThreads(__tstate
);
23753 if (PyErr_Occurred()) SWIG_fail
;
23756 resultobj
= SWIG_From_long((long)(result
));
23764 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23765 PyObject
*resultobj
;
23766 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23768 PyObject
* obj0
= 0 ;
23769 char *kwnames
[] = {
23770 (char *) "self", NULL
23773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
23774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23775 if (SWIG_arg_fail(1)) SWIG_fail
;
23777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23778 result
= (long)(arg1
)->GetCacheTo();
23780 wxPyEndAllowThreads(__tstate
);
23781 if (PyErr_Occurred()) SWIG_fail
;
23784 resultobj
= SWIG_From_long((long)(result
));
23792 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23793 PyObject
*resultobj
;
23794 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23796 PyObject
* obj0
= 0 ;
23797 char *kwnames
[] = {
23798 (char *) "self", NULL
23801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
23802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23803 if (SWIG_arg_fail(1)) SWIG_fail
;
23805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23806 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
23808 wxPyEndAllowThreads(__tstate
);
23809 if (PyErr_Occurred()) SWIG_fail
;
23812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23820 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23821 PyObject
*resultobj
;
23822 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23824 PyObject
* obj0
= 0 ;
23825 PyObject
* obj1
= 0 ;
23826 char *kwnames
[] = {
23827 (char *) "self",(char *) "editCancelled", NULL
23830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
23831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23832 if (SWIG_arg_fail(1)) SWIG_fail
;
23834 arg2
= (bool)(SWIG_As_bool(obj1
));
23835 if (SWIG_arg_fail(2)) SWIG_fail
;
23838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23839 (arg1
)->SetEditCanceled(arg2
);
23841 wxPyEndAllowThreads(__tstate
);
23842 if (PyErr_Occurred()) SWIG_fail
;
23844 Py_INCREF(Py_None
); resultobj
= Py_None
;
23851 static PyObject
* ListEvent_swigregister(PyObject
*, PyObject
*args
) {
23853 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23854 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
23856 return Py_BuildValue((char *)"");
23858 static PyObject
*_wrap_new_ListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23859 PyObject
*resultobj
;
23860 wxWindow
*arg1
= (wxWindow
*) 0 ;
23861 int arg2
= (int) -1 ;
23862 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23863 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23864 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23865 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23866 long arg5
= (long) wxLC_ICON
;
23867 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23868 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23869 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
23870 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23871 wxPyListCtrl
*result
;
23874 bool temp7
= false ;
23875 PyObject
* obj0
= 0 ;
23876 PyObject
* obj1
= 0 ;
23877 PyObject
* obj2
= 0 ;
23878 PyObject
* obj3
= 0 ;
23879 PyObject
* obj4
= 0 ;
23880 PyObject
* obj5
= 0 ;
23881 PyObject
* obj6
= 0 ;
23882 char *kwnames
[] = {
23883 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23888 if (SWIG_arg_fail(1)) SWIG_fail
;
23891 arg2
= (int)(SWIG_As_int(obj1
));
23892 if (SWIG_arg_fail(2)) SWIG_fail
;
23898 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23904 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23909 arg5
= (long)(SWIG_As_long(obj4
));
23910 if (SWIG_arg_fail(5)) SWIG_fail
;
23915 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
23916 if (SWIG_arg_fail(6)) SWIG_fail
;
23917 if (arg6
== NULL
) {
23918 SWIG_null_ref("wxValidator");
23920 if (SWIG_arg_fail(6)) SWIG_fail
;
23925 arg7
= wxString_in_helper(obj6
);
23926 if (arg7
== NULL
) SWIG_fail
;
23931 if (!wxPyCheckForApp()) SWIG_fail
;
23932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23933 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23935 wxPyEndAllowThreads(__tstate
);
23936 if (PyErr_Occurred()) SWIG_fail
;
23938 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
23953 static PyObject
*_wrap_new_PreListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23954 PyObject
*resultobj
;
23955 wxPyListCtrl
*result
;
23956 char *kwnames
[] = {
23960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
23962 if (!wxPyCheckForApp()) SWIG_fail
;
23963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23964 result
= (wxPyListCtrl
*)new wxPyListCtrl();
23966 wxPyEndAllowThreads(__tstate
);
23967 if (PyErr_Occurred()) SWIG_fail
;
23969 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
23976 static PyObject
*_wrap_ListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23977 PyObject
*resultobj
;
23978 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23979 wxWindow
*arg2
= (wxWindow
*) 0 ;
23980 int arg3
= (int) -1 ;
23981 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23982 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23983 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23984 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23985 long arg6
= (long) wxLC_ICON
;
23986 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23987 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23988 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
23989 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23993 bool temp8
= false ;
23994 PyObject
* obj0
= 0 ;
23995 PyObject
* obj1
= 0 ;
23996 PyObject
* obj2
= 0 ;
23997 PyObject
* obj3
= 0 ;
23998 PyObject
* obj4
= 0 ;
23999 PyObject
* obj5
= 0 ;
24000 PyObject
* obj6
= 0 ;
24001 PyObject
* obj7
= 0 ;
24002 char *kwnames
[] = {
24003 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
24007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24008 if (SWIG_arg_fail(1)) SWIG_fail
;
24009 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24010 if (SWIG_arg_fail(2)) SWIG_fail
;
24013 arg3
= (int)(SWIG_As_int(obj2
));
24014 if (SWIG_arg_fail(3)) SWIG_fail
;
24020 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24026 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24031 arg6
= (long)(SWIG_As_long(obj5
));
24032 if (SWIG_arg_fail(6)) SWIG_fail
;
24037 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
24038 if (SWIG_arg_fail(7)) SWIG_fail
;
24039 if (arg7
== NULL
) {
24040 SWIG_null_ref("wxValidator");
24042 if (SWIG_arg_fail(7)) SWIG_fail
;
24047 arg8
= wxString_in_helper(obj7
);
24048 if (arg8
== NULL
) SWIG_fail
;
24053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24054 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
24056 wxPyEndAllowThreads(__tstate
);
24057 if (PyErr_Occurred()) SWIG_fail
;
24060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24076 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24077 PyObject
*resultobj
;
24078 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24079 PyObject
*arg2
= (PyObject
*) 0 ;
24080 PyObject
*arg3
= (PyObject
*) 0 ;
24081 PyObject
* obj0
= 0 ;
24082 PyObject
* obj1
= 0 ;
24083 PyObject
* obj2
= 0 ;
24084 char *kwnames
[] = {
24085 (char *) "self",(char *) "self",(char *) "_class", NULL
24088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24090 if (SWIG_arg_fail(1)) SWIG_fail
;
24094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24095 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24097 wxPyEndAllowThreads(__tstate
);
24098 if (PyErr_Occurred()) SWIG_fail
;
24100 Py_INCREF(Py_None
); resultobj
= Py_None
;
24107 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24108 PyObject
*resultobj
;
24109 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24110 wxColour
*arg2
= 0 ;
24113 PyObject
* obj0
= 0 ;
24114 PyObject
* obj1
= 0 ;
24115 char *kwnames
[] = {
24116 (char *) "self",(char *) "col", NULL
24119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24121 if (SWIG_arg_fail(1)) SWIG_fail
;
24124 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24128 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
24130 wxPyEndAllowThreads(__tstate
);
24131 if (PyErr_Occurred()) SWIG_fail
;
24134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24142 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24143 PyObject
*resultobj
;
24144 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24145 wxColour
*arg2
= 0 ;
24148 PyObject
* obj0
= 0 ;
24149 PyObject
* obj1
= 0 ;
24150 char *kwnames
[] = {
24151 (char *) "self",(char *) "col", NULL
24154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24156 if (SWIG_arg_fail(1)) SWIG_fail
;
24159 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24163 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
24165 wxPyEndAllowThreads(__tstate
);
24166 if (PyErr_Occurred()) SWIG_fail
;
24169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24177 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24178 PyObject
*resultobj
;
24179 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24181 wxListItem
*result
;
24182 PyObject
* obj0
= 0 ;
24183 PyObject
* obj1
= 0 ;
24184 char *kwnames
[] = {
24185 (char *) "self",(char *) "col", NULL
24188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
24189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24190 if (SWIG_arg_fail(1)) SWIG_fail
;
24192 arg2
= (int)(SWIG_As_int(obj1
));
24193 if (SWIG_arg_fail(2)) SWIG_fail
;
24196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24197 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
24199 wxPyEndAllowThreads(__tstate
);
24200 if (PyErr_Occurred()) SWIG_fail
;
24203 resultobj
= wxPyMake_wxObject(result
, 0);
24211 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24212 PyObject
*resultobj
;
24213 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24215 wxListItem
*arg3
= 0 ;
24217 PyObject
* obj0
= 0 ;
24218 PyObject
* obj1
= 0 ;
24219 PyObject
* obj2
= 0 ;
24220 char *kwnames
[] = {
24221 (char *) "self",(char *) "col",(char *) "item", NULL
24224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24226 if (SWIG_arg_fail(1)) SWIG_fail
;
24228 arg2
= (int)(SWIG_As_int(obj1
));
24229 if (SWIG_arg_fail(2)) SWIG_fail
;
24232 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24233 if (SWIG_arg_fail(3)) SWIG_fail
;
24234 if (arg3
== NULL
) {
24235 SWIG_null_ref("wxListItem");
24237 if (SWIG_arg_fail(3)) SWIG_fail
;
24240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24241 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
24243 wxPyEndAllowThreads(__tstate
);
24244 if (PyErr_Occurred()) SWIG_fail
;
24247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24255 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24256 PyObject
*resultobj
;
24257 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24260 PyObject
* obj0
= 0 ;
24261 PyObject
* obj1
= 0 ;
24262 char *kwnames
[] = {
24263 (char *) "self",(char *) "col", NULL
24266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
24267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24268 if (SWIG_arg_fail(1)) SWIG_fail
;
24270 arg2
= (int)(SWIG_As_int(obj1
));
24271 if (SWIG_arg_fail(2)) SWIG_fail
;
24274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24275 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
24277 wxPyEndAllowThreads(__tstate
);
24278 if (PyErr_Occurred()) SWIG_fail
;
24281 resultobj
= SWIG_From_int((int)(result
));
24289 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24290 PyObject
*resultobj
;
24291 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24295 PyObject
* obj0
= 0 ;
24296 PyObject
* obj1
= 0 ;
24297 PyObject
* obj2
= 0 ;
24298 char *kwnames
[] = {
24299 (char *) "self",(char *) "col",(char *) "width", NULL
24302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24304 if (SWIG_arg_fail(1)) SWIG_fail
;
24306 arg2
= (int)(SWIG_As_int(obj1
));
24307 if (SWIG_arg_fail(2)) SWIG_fail
;
24310 arg3
= (int)(SWIG_As_int(obj2
));
24311 if (SWIG_arg_fail(3)) SWIG_fail
;
24314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24315 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
24317 wxPyEndAllowThreads(__tstate
);
24318 if (PyErr_Occurred()) SWIG_fail
;
24321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24329 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24330 PyObject
*resultobj
;
24331 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24333 PyObject
* obj0
= 0 ;
24334 char *kwnames
[] = {
24335 (char *) "self", NULL
24338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
24339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24340 if (SWIG_arg_fail(1)) SWIG_fail
;
24342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24343 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
24345 wxPyEndAllowThreads(__tstate
);
24346 if (PyErr_Occurred()) SWIG_fail
;
24349 resultobj
= SWIG_From_int((int)(result
));
24357 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24358 PyObject
*resultobj
;
24359 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24361 PyObject
* obj0
= 0 ;
24362 char *kwnames
[] = {
24363 (char *) "self", NULL
24366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
24367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24368 if (SWIG_arg_fail(1)) SWIG_fail
;
24370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24371 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
24373 wxPyEndAllowThreads(__tstate
);
24374 if (PyErr_Occurred()) SWIG_fail
;
24377 wxRect
* resultptr
;
24378 resultptr
= new wxRect((wxRect
&)(result
));
24379 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
24387 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24388 PyObject
*resultobj
;
24389 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24391 int arg3
= (int) 0 ;
24392 wxListItem
*result
;
24393 PyObject
* obj0
= 0 ;
24394 PyObject
* obj1
= 0 ;
24395 PyObject
* obj2
= 0 ;
24396 char *kwnames
[] = {
24397 (char *) "self",(char *) "itemId",(char *) "col", NULL
24400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24402 if (SWIG_arg_fail(1)) SWIG_fail
;
24404 arg2
= (long)(SWIG_As_long(obj1
));
24405 if (SWIG_arg_fail(2)) SWIG_fail
;
24409 arg3
= (int)(SWIG_As_int(obj2
));
24410 if (SWIG_arg_fail(3)) SWIG_fail
;
24414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24415 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
24417 wxPyEndAllowThreads(__tstate
);
24418 if (PyErr_Occurred()) SWIG_fail
;
24421 resultobj
= wxPyMake_wxObject(result
, 0);
24429 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24430 PyObject
*resultobj
;
24431 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24432 wxListItem
*arg2
= 0 ;
24434 PyObject
* obj0
= 0 ;
24435 PyObject
* obj1
= 0 ;
24436 char *kwnames
[] = {
24437 (char *) "self",(char *) "info", NULL
24440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24442 if (SWIG_arg_fail(1)) SWIG_fail
;
24444 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24445 if (SWIG_arg_fail(2)) SWIG_fail
;
24446 if (arg2
== NULL
) {
24447 SWIG_null_ref("wxListItem");
24449 if (SWIG_arg_fail(2)) SWIG_fail
;
24452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24453 result
= (bool)(arg1
)->SetItem(*arg2
);
24455 wxPyEndAllowThreads(__tstate
);
24456 if (PyErr_Occurred()) SWIG_fail
;
24459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24467 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24468 PyObject
*resultobj
;
24469 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24472 wxString
*arg4
= 0 ;
24473 int arg5
= (int) -1 ;
24475 bool temp4
= false ;
24476 PyObject
* obj0
= 0 ;
24477 PyObject
* obj1
= 0 ;
24478 PyObject
* obj2
= 0 ;
24479 PyObject
* obj3
= 0 ;
24480 PyObject
* obj4
= 0 ;
24481 char *kwnames
[] = {
24482 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
24485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24487 if (SWIG_arg_fail(1)) SWIG_fail
;
24489 arg2
= (long)(SWIG_As_long(obj1
));
24490 if (SWIG_arg_fail(2)) SWIG_fail
;
24493 arg3
= (int)(SWIG_As_int(obj2
));
24494 if (SWIG_arg_fail(3)) SWIG_fail
;
24497 arg4
= wxString_in_helper(obj3
);
24498 if (arg4
== NULL
) SWIG_fail
;
24503 arg5
= (int)(SWIG_As_int(obj4
));
24504 if (SWIG_arg_fail(5)) SWIG_fail
;
24508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24509 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
24511 wxPyEndAllowThreads(__tstate
);
24512 if (PyErr_Occurred()) SWIG_fail
;
24515 resultobj
= SWIG_From_long((long)(result
));
24531 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24532 PyObject
*resultobj
;
24533 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24537 PyObject
* obj0
= 0 ;
24538 PyObject
* obj1
= 0 ;
24539 PyObject
* obj2
= 0 ;
24540 char *kwnames
[] = {
24541 (char *) "self",(char *) "item",(char *) "stateMask", NULL
24544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24546 if (SWIG_arg_fail(1)) SWIG_fail
;
24548 arg2
= (long)(SWIG_As_long(obj1
));
24549 if (SWIG_arg_fail(2)) SWIG_fail
;
24552 arg3
= (long)(SWIG_As_long(obj2
));
24553 if (SWIG_arg_fail(3)) SWIG_fail
;
24556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24557 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
24559 wxPyEndAllowThreads(__tstate
);
24560 if (PyErr_Occurred()) SWIG_fail
;
24563 resultobj
= SWIG_From_int((int)(result
));
24571 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24572 PyObject
*resultobj
;
24573 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24578 PyObject
* obj0
= 0 ;
24579 PyObject
* obj1
= 0 ;
24580 PyObject
* obj2
= 0 ;
24581 PyObject
* obj3
= 0 ;
24582 char *kwnames
[] = {
24583 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
24586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24588 if (SWIG_arg_fail(1)) SWIG_fail
;
24590 arg2
= (long)(SWIG_As_long(obj1
));
24591 if (SWIG_arg_fail(2)) SWIG_fail
;
24594 arg3
= (long)(SWIG_As_long(obj2
));
24595 if (SWIG_arg_fail(3)) SWIG_fail
;
24598 arg4
= (long)(SWIG_As_long(obj3
));
24599 if (SWIG_arg_fail(4)) SWIG_fail
;
24602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24603 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
24605 wxPyEndAllowThreads(__tstate
);
24606 if (PyErr_Occurred()) SWIG_fail
;
24609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24617 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24618 PyObject
*resultobj
;
24619 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24622 int arg4
= (int) -1 ;
24624 PyObject
* obj0
= 0 ;
24625 PyObject
* obj1
= 0 ;
24626 PyObject
* obj2
= 0 ;
24627 PyObject
* obj3
= 0 ;
24628 char *kwnames
[] = {
24629 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
24632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24634 if (SWIG_arg_fail(1)) SWIG_fail
;
24636 arg2
= (long)(SWIG_As_long(obj1
));
24637 if (SWIG_arg_fail(2)) SWIG_fail
;
24640 arg3
= (int)(SWIG_As_int(obj2
));
24641 if (SWIG_arg_fail(3)) SWIG_fail
;
24645 arg4
= (int)(SWIG_As_int(obj3
));
24646 if (SWIG_arg_fail(4)) SWIG_fail
;
24650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24651 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
24653 wxPyEndAllowThreads(__tstate
);
24654 if (PyErr_Occurred()) SWIG_fail
;
24657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24665 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24666 PyObject
*resultobj
;
24667 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24670 PyObject
* obj0
= 0 ;
24671 PyObject
* obj1
= 0 ;
24672 char *kwnames
[] = {
24673 (char *) "self",(char *) "item", NULL
24676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
24677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24678 if (SWIG_arg_fail(1)) SWIG_fail
;
24680 arg2
= (long)(SWIG_As_long(obj1
));
24681 if (SWIG_arg_fail(2)) SWIG_fail
;
24684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24685 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
24687 wxPyEndAllowThreads(__tstate
);
24688 if (PyErr_Occurred()) SWIG_fail
;
24692 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24694 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24703 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24704 PyObject
*resultobj
;
24705 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24707 wxString
*arg3
= 0 ;
24708 bool temp3
= false ;
24709 PyObject
* obj0
= 0 ;
24710 PyObject
* obj1
= 0 ;
24711 PyObject
* obj2
= 0 ;
24712 char *kwnames
[] = {
24713 (char *) "self",(char *) "item",(char *) "str", NULL
24716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24718 if (SWIG_arg_fail(1)) SWIG_fail
;
24720 arg2
= (long)(SWIG_As_long(obj1
));
24721 if (SWIG_arg_fail(2)) SWIG_fail
;
24724 arg3
= wxString_in_helper(obj2
);
24725 if (arg3
== NULL
) SWIG_fail
;
24729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24730 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
24732 wxPyEndAllowThreads(__tstate
);
24733 if (PyErr_Occurred()) SWIG_fail
;
24735 Py_INCREF(Py_None
); resultobj
= Py_None
;
24750 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24751 PyObject
*resultobj
;
24752 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24755 PyObject
* obj0
= 0 ;
24756 PyObject
* obj1
= 0 ;
24757 char *kwnames
[] = {
24758 (char *) "self",(char *) "item", NULL
24761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
24762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24763 if (SWIG_arg_fail(1)) SWIG_fail
;
24765 arg2
= (long)(SWIG_As_long(obj1
));
24766 if (SWIG_arg_fail(2)) SWIG_fail
;
24769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24770 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
24772 wxPyEndAllowThreads(__tstate
);
24773 if (PyErr_Occurred()) SWIG_fail
;
24776 resultobj
= SWIG_From_long((long)(result
));
24784 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24785 PyObject
*resultobj
;
24786 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24790 PyObject
* obj0
= 0 ;
24791 PyObject
* obj1
= 0 ;
24792 PyObject
* obj2
= 0 ;
24793 char *kwnames
[] = {
24794 (char *) "self",(char *) "item",(char *) "data", NULL
24797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24799 if (SWIG_arg_fail(1)) SWIG_fail
;
24801 arg2
= (long)(SWIG_As_long(obj1
));
24802 if (SWIG_arg_fail(2)) SWIG_fail
;
24805 arg3
= (long)(SWIG_As_long(obj2
));
24806 if (SWIG_arg_fail(3)) SWIG_fail
;
24809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24810 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
24812 wxPyEndAllowThreads(__tstate
);
24813 if (PyErr_Occurred()) SWIG_fail
;
24816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24824 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24825 PyObject
*resultobj
;
24826 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24829 PyObject
* obj0
= 0 ;
24830 PyObject
* obj1
= 0 ;
24831 char *kwnames
[] = {
24832 (char *) "self",(char *) "item", NULL
24835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
24836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24837 if (SWIG_arg_fail(1)) SWIG_fail
;
24839 arg2
= (long)(SWIG_As_long(obj1
));
24840 if (SWIG_arg_fail(2)) SWIG_fail
;
24843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24844 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
24846 wxPyEndAllowThreads(__tstate
);
24847 if (PyErr_Occurred()) SWIG_fail
;
24850 wxPoint
* resultptr
;
24851 resultptr
= new wxPoint((wxPoint
&)(result
));
24852 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24860 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24861 PyObject
*resultobj
;
24862 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24864 int arg3
= (int) wxLIST_RECT_BOUNDS
;
24866 PyObject
* obj0
= 0 ;
24867 PyObject
* obj1
= 0 ;
24868 PyObject
* obj2
= 0 ;
24869 char *kwnames
[] = {
24870 (char *) "self",(char *) "item",(char *) "code", NULL
24873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24875 if (SWIG_arg_fail(1)) SWIG_fail
;
24877 arg2
= (long)(SWIG_As_long(obj1
));
24878 if (SWIG_arg_fail(2)) SWIG_fail
;
24882 arg3
= (int)(SWIG_As_int(obj2
));
24883 if (SWIG_arg_fail(3)) SWIG_fail
;
24887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24888 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
24890 wxPyEndAllowThreads(__tstate
);
24891 if (PyErr_Occurred()) SWIG_fail
;
24894 wxRect
* resultptr
;
24895 resultptr
= new wxRect((wxRect
&)(result
));
24896 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
24904 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24905 PyObject
*resultobj
;
24906 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24908 wxPoint
*arg3
= 0 ;
24911 PyObject
* obj0
= 0 ;
24912 PyObject
* obj1
= 0 ;
24913 PyObject
* obj2
= 0 ;
24914 char *kwnames
[] = {
24915 (char *) "self",(char *) "item",(char *) "pos", NULL
24918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24920 if (SWIG_arg_fail(1)) SWIG_fail
;
24922 arg2
= (long)(SWIG_As_long(obj1
));
24923 if (SWIG_arg_fail(2)) SWIG_fail
;
24927 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24931 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
24933 wxPyEndAllowThreads(__tstate
);
24934 if (PyErr_Occurred()) SWIG_fail
;
24937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24945 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24946 PyObject
*resultobj
;
24947 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24949 PyObject
* obj0
= 0 ;
24950 char *kwnames
[] = {
24951 (char *) "self", NULL
24954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
24955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24956 if (SWIG_arg_fail(1)) SWIG_fail
;
24958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24959 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
24961 wxPyEndAllowThreads(__tstate
);
24962 if (PyErr_Occurred()) SWIG_fail
;
24965 resultobj
= SWIG_From_int((int)(result
));
24973 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24974 PyObject
*resultobj
;
24975 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24977 PyObject
* obj0
= 0 ;
24978 char *kwnames
[] = {
24979 (char *) "self", NULL
24982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
24983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24984 if (SWIG_arg_fail(1)) SWIG_fail
;
24986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24987 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
24989 wxPyEndAllowThreads(__tstate
);
24990 if (PyErr_Occurred()) SWIG_fail
;
24993 resultobj
= SWIG_From_int((int)(result
));
25001 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25002 PyObject
*resultobj
;
25003 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25005 PyObject
* obj0
= 0 ;
25006 char *kwnames
[] = {
25007 (char *) "self", NULL
25010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
25011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25012 if (SWIG_arg_fail(1)) SWIG_fail
;
25014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25015 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
25017 wxPyEndAllowThreads(__tstate
);
25018 if (PyErr_Occurred()) SWIG_fail
;
25021 wxSize
* resultptr
;
25022 resultptr
= new wxSize((wxSize
&)(result
));
25023 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25031 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25032 PyObject
*resultobj
;
25033 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25035 bool arg3
= (bool) false ;
25036 PyObject
* obj0
= 0 ;
25037 PyObject
* obj1
= 0 ;
25038 PyObject
* obj2
= 0 ;
25039 char *kwnames
[] = {
25040 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
25043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25045 if (SWIG_arg_fail(1)) SWIG_fail
;
25047 arg2
= (int)(SWIG_As_int(obj1
));
25048 if (SWIG_arg_fail(2)) SWIG_fail
;
25052 arg3
= (bool)(SWIG_As_bool(obj2
));
25053 if (SWIG_arg_fail(3)) SWIG_fail
;
25057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25058 (arg1
)->SetItemSpacing(arg2
,arg3
);
25060 wxPyEndAllowThreads(__tstate
);
25061 if (PyErr_Occurred()) SWIG_fail
;
25063 Py_INCREF(Py_None
); resultobj
= Py_None
;
25070 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25071 PyObject
*resultobj
;
25072 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25074 PyObject
* obj0
= 0 ;
25075 char *kwnames
[] = {
25076 (char *) "self", NULL
25079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
25080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25081 if (SWIG_arg_fail(1)) SWIG_fail
;
25083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25084 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
25086 wxPyEndAllowThreads(__tstate
);
25087 if (PyErr_Occurred()) SWIG_fail
;
25090 resultobj
= SWIG_From_int((int)(result
));
25098 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25099 PyObject
*resultobj
;
25100 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25102 PyObject
* obj0
= 0 ;
25103 char *kwnames
[] = {
25104 (char *) "self", NULL
25107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
25108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25109 if (SWIG_arg_fail(1)) SWIG_fail
;
25111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25112 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
25114 wxPyEndAllowThreads(__tstate
);
25115 if (PyErr_Occurred()) SWIG_fail
;
25118 wxColour
* resultptr
;
25119 resultptr
= new wxColour((wxColour
&)(result
));
25120 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25128 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25129 PyObject
*resultobj
;
25130 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25131 wxColour
*arg2
= 0 ;
25133 PyObject
* obj0
= 0 ;
25134 PyObject
* obj1
= 0 ;
25135 char *kwnames
[] = {
25136 (char *) "self",(char *) "col", NULL
25139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25141 if (SWIG_arg_fail(1)) SWIG_fail
;
25144 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25148 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
25150 wxPyEndAllowThreads(__tstate
);
25151 if (PyErr_Occurred()) SWIG_fail
;
25153 Py_INCREF(Py_None
); resultobj
= Py_None
;
25160 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25161 PyObject
*resultobj
;
25162 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25164 PyObject
* obj0
= 0 ;
25165 char *kwnames
[] = {
25166 (char *) "self", NULL
25169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
25170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25171 if (SWIG_arg_fail(1)) SWIG_fail
;
25173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25174 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
25176 wxPyEndAllowThreads(__tstate
);
25177 if (PyErr_Occurred()) SWIG_fail
;
25180 resultobj
= SWIG_From_long((long)(result
));
25188 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25189 PyObject
*resultobj
;
25190 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25192 bool arg3
= (bool) true ;
25193 PyObject
* obj0
= 0 ;
25194 PyObject
* obj1
= 0 ;
25195 PyObject
* obj2
= 0 ;
25196 char *kwnames
[] = {
25197 (char *) "self",(char *) "style",(char *) "add", NULL
25200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25202 if (SWIG_arg_fail(1)) SWIG_fail
;
25204 arg2
= (long)(SWIG_As_long(obj1
));
25205 if (SWIG_arg_fail(2)) SWIG_fail
;
25209 arg3
= (bool)(SWIG_As_bool(obj2
));
25210 if (SWIG_arg_fail(3)) SWIG_fail
;
25214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25215 (arg1
)->SetSingleStyle(arg2
,arg3
);
25217 wxPyEndAllowThreads(__tstate
);
25218 if (PyErr_Occurred()) SWIG_fail
;
25220 Py_INCREF(Py_None
); resultobj
= Py_None
;
25227 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25228 PyObject
*resultobj
;
25229 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25231 PyObject
* obj0
= 0 ;
25232 PyObject
* obj1
= 0 ;
25233 char *kwnames
[] = {
25234 (char *) "self",(char *) "style", NULL
25237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
25238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25239 if (SWIG_arg_fail(1)) SWIG_fail
;
25241 arg2
= (long)(SWIG_As_long(obj1
));
25242 if (SWIG_arg_fail(2)) SWIG_fail
;
25245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25246 (arg1
)->SetWindowStyleFlag(arg2
);
25248 wxPyEndAllowThreads(__tstate
);
25249 if (PyErr_Occurred()) SWIG_fail
;
25251 Py_INCREF(Py_None
); resultobj
= Py_None
;
25258 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25259 PyObject
*resultobj
;
25260 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25262 int arg3
= (int) wxLIST_NEXT_ALL
;
25263 int arg4
= (int) wxLIST_STATE_DONTCARE
;
25265 PyObject
* obj0
= 0 ;
25266 PyObject
* obj1
= 0 ;
25267 PyObject
* obj2
= 0 ;
25268 PyObject
* obj3
= 0 ;
25269 char *kwnames
[] = {
25270 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
25273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25275 if (SWIG_arg_fail(1)) SWIG_fail
;
25277 arg2
= (long)(SWIG_As_long(obj1
));
25278 if (SWIG_arg_fail(2)) SWIG_fail
;
25282 arg3
= (int)(SWIG_As_int(obj2
));
25283 if (SWIG_arg_fail(3)) SWIG_fail
;
25288 arg4
= (int)(SWIG_As_int(obj3
));
25289 if (SWIG_arg_fail(4)) SWIG_fail
;
25293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25294 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
25296 wxPyEndAllowThreads(__tstate
);
25297 if (PyErr_Occurred()) SWIG_fail
;
25300 resultobj
= SWIG_From_long((long)(result
));
25308 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25309 PyObject
*resultobj
;
25310 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25312 wxImageList
*result
;
25313 PyObject
* obj0
= 0 ;
25314 PyObject
* obj1
= 0 ;
25315 char *kwnames
[] = {
25316 (char *) "self",(char *) "which", NULL
25319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25321 if (SWIG_arg_fail(1)) SWIG_fail
;
25323 arg2
= (int)(SWIG_As_int(obj1
));
25324 if (SWIG_arg_fail(2)) SWIG_fail
;
25327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25328 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
25330 wxPyEndAllowThreads(__tstate
);
25331 if (PyErr_Occurred()) SWIG_fail
;
25334 resultobj
= wxPyMake_wxObject(result
, 0);
25342 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25343 PyObject
*resultobj
;
25344 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25345 wxImageList
*arg2
= (wxImageList
*) 0 ;
25347 PyObject
* obj0
= 0 ;
25348 PyObject
* obj1
= 0 ;
25349 PyObject
* obj2
= 0 ;
25350 char *kwnames
[] = {
25351 (char *) "self",(char *) "imageList",(char *) "which", NULL
25354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25356 if (SWIG_arg_fail(1)) SWIG_fail
;
25357 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
25358 if (SWIG_arg_fail(2)) SWIG_fail
;
25360 arg3
= (int)(SWIG_As_int(obj2
));
25361 if (SWIG_arg_fail(3)) SWIG_fail
;
25364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25365 (arg1
)->SetImageList(arg2
,arg3
);
25367 wxPyEndAllowThreads(__tstate
);
25368 if (PyErr_Occurred()) SWIG_fail
;
25370 Py_INCREF(Py_None
); resultobj
= Py_None
;
25377 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25378 PyObject
*resultobj
;
25379 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25380 wxImageList
*arg2
= (wxImageList
*) 0 ;
25382 PyObject
* obj0
= 0 ;
25383 PyObject
* obj1
= 0 ;
25384 PyObject
* obj2
= 0 ;
25385 char *kwnames
[] = {
25386 (char *) "self",(char *) "imageList",(char *) "which", NULL
25389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25391 if (SWIG_arg_fail(1)) SWIG_fail
;
25392 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25393 if (SWIG_arg_fail(2)) SWIG_fail
;
25395 arg3
= (int)(SWIG_As_int(obj2
));
25396 if (SWIG_arg_fail(3)) SWIG_fail
;
25399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25400 (arg1
)->AssignImageList(arg2
,arg3
);
25402 wxPyEndAllowThreads(__tstate
);
25403 if (PyErr_Occurred()) SWIG_fail
;
25405 Py_INCREF(Py_None
); resultobj
= Py_None
;
25412 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25413 PyObject
*resultobj
;
25414 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25416 PyObject
* obj0
= 0 ;
25417 char *kwnames
[] = {
25418 (char *) "self", NULL
25421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
25422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25423 if (SWIG_arg_fail(1)) SWIG_fail
;
25425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25426 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
25428 wxPyEndAllowThreads(__tstate
);
25429 if (PyErr_Occurred()) SWIG_fail
;
25432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25440 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25441 PyObject
*resultobj
;
25442 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25444 PyObject
* obj0
= 0 ;
25445 char *kwnames
[] = {
25446 (char *) "self", NULL
25449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
25450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25451 if (SWIG_arg_fail(1)) SWIG_fail
;
25453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25454 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
25456 wxPyEndAllowThreads(__tstate
);
25457 if (PyErr_Occurred()) SWIG_fail
;
25460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25468 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25469 PyObject
*resultobj
;
25470 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25472 PyObject
* obj0
= 0 ;
25473 PyObject
* obj1
= 0 ;
25474 char *kwnames
[] = {
25475 (char *) "self",(char *) "item", NULL
25478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25480 if (SWIG_arg_fail(1)) SWIG_fail
;
25482 arg2
= (long)(SWIG_As_long(obj1
));
25483 if (SWIG_arg_fail(2)) SWIG_fail
;
25486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25487 (arg1
)->RefreshItem(arg2
);
25489 wxPyEndAllowThreads(__tstate
);
25490 if (PyErr_Occurred()) SWIG_fail
;
25492 Py_INCREF(Py_None
); resultobj
= Py_None
;
25499 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25500 PyObject
*resultobj
;
25501 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25504 PyObject
* obj0
= 0 ;
25505 PyObject
* obj1
= 0 ;
25506 PyObject
* obj2
= 0 ;
25507 char *kwnames
[] = {
25508 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
25511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25513 if (SWIG_arg_fail(1)) SWIG_fail
;
25515 arg2
= (long)(SWIG_As_long(obj1
));
25516 if (SWIG_arg_fail(2)) SWIG_fail
;
25519 arg3
= (long)(SWIG_As_long(obj2
));
25520 if (SWIG_arg_fail(3)) SWIG_fail
;
25523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25524 (arg1
)->RefreshItems(arg2
,arg3
);
25526 wxPyEndAllowThreads(__tstate
);
25527 if (PyErr_Occurred()) SWIG_fail
;
25529 Py_INCREF(Py_None
); resultobj
= Py_None
;
25536 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25537 PyObject
*resultobj
;
25538 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25539 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
25541 PyObject
* obj0
= 0 ;
25542 PyObject
* obj1
= 0 ;
25543 char *kwnames
[] = {
25544 (char *) "self",(char *) "flag", NULL
25547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
25548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25549 if (SWIG_arg_fail(1)) SWIG_fail
;
25552 arg2
= (int)(SWIG_As_int(obj1
));
25553 if (SWIG_arg_fail(2)) SWIG_fail
;
25557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25558 result
= (bool)(arg1
)->Arrange(arg2
);
25560 wxPyEndAllowThreads(__tstate
);
25561 if (PyErr_Occurred()) SWIG_fail
;
25564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25572 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25573 PyObject
*resultobj
;
25574 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25577 PyObject
* obj0
= 0 ;
25578 PyObject
* obj1
= 0 ;
25579 char *kwnames
[] = {
25580 (char *) "self",(char *) "item", NULL
25583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25585 if (SWIG_arg_fail(1)) SWIG_fail
;
25587 arg2
= (long)(SWIG_As_long(obj1
));
25588 if (SWIG_arg_fail(2)) SWIG_fail
;
25591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25592 result
= (bool)(arg1
)->DeleteItem(arg2
);
25594 wxPyEndAllowThreads(__tstate
);
25595 if (PyErr_Occurred()) SWIG_fail
;
25598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25606 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25607 PyObject
*resultobj
;
25608 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25610 PyObject
* obj0
= 0 ;
25611 char *kwnames
[] = {
25612 (char *) "self", NULL
25615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25620 result
= (bool)(arg1
)->DeleteAllItems();
25622 wxPyEndAllowThreads(__tstate
);
25623 if (PyErr_Occurred()) SWIG_fail
;
25626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25634 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25635 PyObject
*resultobj
;
25636 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25639 PyObject
* obj0
= 0 ;
25640 PyObject
* obj1
= 0 ;
25641 char *kwnames
[] = {
25642 (char *) "self",(char *) "col", NULL
25645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
25646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25647 if (SWIG_arg_fail(1)) SWIG_fail
;
25649 arg2
= (int)(SWIG_As_int(obj1
));
25650 if (SWIG_arg_fail(2)) SWIG_fail
;
25653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25654 result
= (bool)(arg1
)->DeleteColumn(arg2
);
25656 wxPyEndAllowThreads(__tstate
);
25657 if (PyErr_Occurred()) SWIG_fail
;
25660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25668 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25669 PyObject
*resultobj
;
25670 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25672 PyObject
* obj0
= 0 ;
25673 char *kwnames
[] = {
25674 (char *) "self", NULL
25677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
25678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25679 if (SWIG_arg_fail(1)) SWIG_fail
;
25681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25682 result
= (bool)(arg1
)->DeleteAllColumns();
25684 wxPyEndAllowThreads(__tstate
);
25685 if (PyErr_Occurred()) SWIG_fail
;
25688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25696 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25697 PyObject
*resultobj
;
25698 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25699 PyObject
* obj0
= 0 ;
25700 char *kwnames
[] = {
25701 (char *) "self", NULL
25704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
25705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25706 if (SWIG_arg_fail(1)) SWIG_fail
;
25708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25709 (arg1
)->ClearAll();
25711 wxPyEndAllowThreads(__tstate
);
25712 if (PyErr_Occurred()) SWIG_fail
;
25714 Py_INCREF(Py_None
); resultobj
= Py_None
;
25721 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25722 PyObject
*resultobj
;
25723 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25725 PyObject
* obj0
= 0 ;
25726 PyObject
* obj1
= 0 ;
25727 char *kwnames
[] = {
25728 (char *) "self",(char *) "item", NULL
25731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25733 if (SWIG_arg_fail(1)) SWIG_fail
;
25735 arg2
= (long)(SWIG_As_long(obj1
));
25736 if (SWIG_arg_fail(2)) SWIG_fail
;
25739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25740 (arg1
)->EditLabel(arg2
);
25742 wxPyEndAllowThreads(__tstate
);
25743 if (PyErr_Occurred()) SWIG_fail
;
25745 Py_INCREF(Py_None
); resultobj
= Py_None
;
25752 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25753 PyObject
*resultobj
;
25754 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25757 PyObject
* obj0
= 0 ;
25758 PyObject
* obj1
= 0 ;
25759 char *kwnames
[] = {
25760 (char *) "self",(char *) "item", NULL
25763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25765 if (SWIG_arg_fail(1)) SWIG_fail
;
25767 arg2
= (long)(SWIG_As_long(obj1
));
25768 if (SWIG_arg_fail(2)) SWIG_fail
;
25771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25772 result
= (bool)(arg1
)->EnsureVisible(arg2
);
25774 wxPyEndAllowThreads(__tstate
);
25775 if (PyErr_Occurred()) SWIG_fail
;
25778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25786 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25787 PyObject
*resultobj
;
25788 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25790 wxString
*arg3
= 0 ;
25791 bool arg4
= (bool) false ;
25793 bool temp3
= false ;
25794 PyObject
* obj0
= 0 ;
25795 PyObject
* obj1
= 0 ;
25796 PyObject
* obj2
= 0 ;
25797 PyObject
* obj3
= 0 ;
25798 char *kwnames
[] = {
25799 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
25802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25804 if (SWIG_arg_fail(1)) SWIG_fail
;
25806 arg2
= (long)(SWIG_As_long(obj1
));
25807 if (SWIG_arg_fail(2)) SWIG_fail
;
25810 arg3
= wxString_in_helper(obj2
);
25811 if (arg3
== NULL
) SWIG_fail
;
25816 arg4
= (bool)(SWIG_As_bool(obj3
));
25817 if (SWIG_arg_fail(4)) SWIG_fail
;
25821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25822 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
25824 wxPyEndAllowThreads(__tstate
);
25825 if (PyErr_Occurred()) SWIG_fail
;
25828 resultobj
= SWIG_From_long((long)(result
));
25844 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25845 PyObject
*resultobj
;
25846 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25850 PyObject
* obj0
= 0 ;
25851 PyObject
* obj1
= 0 ;
25852 PyObject
* obj2
= 0 ;
25853 char *kwnames
[] = {
25854 (char *) "self",(char *) "start",(char *) "data", NULL
25857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25859 if (SWIG_arg_fail(1)) SWIG_fail
;
25861 arg2
= (long)(SWIG_As_long(obj1
));
25862 if (SWIG_arg_fail(2)) SWIG_fail
;
25865 arg3
= (long)(SWIG_As_long(obj2
));
25866 if (SWIG_arg_fail(3)) SWIG_fail
;
25869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25870 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
25872 wxPyEndAllowThreads(__tstate
);
25873 if (PyErr_Occurred()) SWIG_fail
;
25876 resultobj
= SWIG_From_long((long)(result
));
25884 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25885 PyObject
*resultobj
;
25886 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25888 wxPoint
*arg3
= 0 ;
25892 PyObject
* obj0
= 0 ;
25893 PyObject
* obj1
= 0 ;
25894 PyObject
* obj2
= 0 ;
25895 PyObject
* obj3
= 0 ;
25896 char *kwnames
[] = {
25897 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
25900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25902 if (SWIG_arg_fail(1)) SWIG_fail
;
25904 arg2
= (long)(SWIG_As_long(obj1
));
25905 if (SWIG_arg_fail(2)) SWIG_fail
;
25909 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25912 arg4
= (int)(SWIG_As_int(obj3
));
25913 if (SWIG_arg_fail(4)) SWIG_fail
;
25916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25917 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
25919 wxPyEndAllowThreads(__tstate
);
25920 if (PyErr_Occurred()) SWIG_fail
;
25923 resultobj
= SWIG_From_long((long)(result
));
25931 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25932 PyObject
*resultobj
;
25933 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25934 wxPoint
*arg2
= 0 ;
25940 PyObject
* obj0
= 0 ;
25941 PyObject
* obj1
= 0 ;
25942 char *kwnames
[] = {
25943 (char *) "self",(char *) "point", NULL
25946 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
25948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25949 if (SWIG_arg_fail(1)) SWIG_fail
;
25952 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25956 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
25958 wxPyEndAllowThreads(__tstate
);
25959 if (PyErr_Occurred()) SWIG_fail
;
25962 resultobj
= SWIG_From_long((long)(result
));
25964 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25965 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25972 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25973 PyObject
*resultobj
;
25974 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25975 wxListItem
*arg2
= 0 ;
25977 PyObject
* obj0
= 0 ;
25978 PyObject
* obj1
= 0 ;
25979 char *kwnames
[] = {
25980 (char *) "self",(char *) "info", NULL
25983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25985 if (SWIG_arg_fail(1)) SWIG_fail
;
25987 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
25988 if (SWIG_arg_fail(2)) SWIG_fail
;
25989 if (arg2
== NULL
) {
25990 SWIG_null_ref("wxListItem");
25992 if (SWIG_arg_fail(2)) SWIG_fail
;
25995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25996 result
= (long)(arg1
)->InsertItem(*arg2
);
25998 wxPyEndAllowThreads(__tstate
);
25999 if (PyErr_Occurred()) SWIG_fail
;
26002 resultobj
= SWIG_From_long((long)(result
));
26010 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26011 PyObject
*resultobj
;
26012 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26014 wxString
*arg3
= 0 ;
26016 bool temp3
= false ;
26017 PyObject
* obj0
= 0 ;
26018 PyObject
* obj1
= 0 ;
26019 PyObject
* obj2
= 0 ;
26020 char *kwnames
[] = {
26021 (char *) "self",(char *) "index",(char *) "label", NULL
26024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26026 if (SWIG_arg_fail(1)) SWIG_fail
;
26028 arg2
= (long)(SWIG_As_long(obj1
));
26029 if (SWIG_arg_fail(2)) SWIG_fail
;
26032 arg3
= wxString_in_helper(obj2
);
26033 if (arg3
== NULL
) SWIG_fail
;
26037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26038 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
26040 wxPyEndAllowThreads(__tstate
);
26041 if (PyErr_Occurred()) SWIG_fail
;
26044 resultobj
= SWIG_From_long((long)(result
));
26060 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26061 PyObject
*resultobj
;
26062 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26066 PyObject
* obj0
= 0 ;
26067 PyObject
* obj1
= 0 ;
26068 PyObject
* obj2
= 0 ;
26069 char *kwnames
[] = {
26070 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
26073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26075 if (SWIG_arg_fail(1)) SWIG_fail
;
26077 arg2
= (long)(SWIG_As_long(obj1
));
26078 if (SWIG_arg_fail(2)) SWIG_fail
;
26081 arg3
= (int)(SWIG_As_int(obj2
));
26082 if (SWIG_arg_fail(3)) SWIG_fail
;
26085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26086 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
26088 wxPyEndAllowThreads(__tstate
);
26089 if (PyErr_Occurred()) SWIG_fail
;
26092 resultobj
= SWIG_From_long((long)(result
));
26100 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26101 PyObject
*resultobj
;
26102 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26104 wxString
*arg3
= 0 ;
26107 bool temp3
= false ;
26108 PyObject
* obj0
= 0 ;
26109 PyObject
* obj1
= 0 ;
26110 PyObject
* obj2
= 0 ;
26111 PyObject
* obj3
= 0 ;
26112 char *kwnames
[] = {
26113 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
26116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26118 if (SWIG_arg_fail(1)) SWIG_fail
;
26120 arg2
= (long)(SWIG_As_long(obj1
));
26121 if (SWIG_arg_fail(2)) SWIG_fail
;
26124 arg3
= wxString_in_helper(obj2
);
26125 if (arg3
== NULL
) SWIG_fail
;
26129 arg4
= (int)(SWIG_As_int(obj3
));
26130 if (SWIG_arg_fail(4)) SWIG_fail
;
26133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26134 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
26136 wxPyEndAllowThreads(__tstate
);
26137 if (PyErr_Occurred()) SWIG_fail
;
26140 resultobj
= SWIG_From_long((long)(result
));
26156 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26157 PyObject
*resultobj
;
26158 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26160 wxListItem
*arg3
= 0 ;
26162 PyObject
* obj0
= 0 ;
26163 PyObject
* obj1
= 0 ;
26164 PyObject
* obj2
= 0 ;
26165 char *kwnames
[] = {
26166 (char *) "self",(char *) "col",(char *) "info", NULL
26169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26171 if (SWIG_arg_fail(1)) SWIG_fail
;
26173 arg2
= (long)(SWIG_As_long(obj1
));
26174 if (SWIG_arg_fail(2)) SWIG_fail
;
26177 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
26178 if (SWIG_arg_fail(3)) SWIG_fail
;
26179 if (arg3
== NULL
) {
26180 SWIG_null_ref("wxListItem");
26182 if (SWIG_arg_fail(3)) SWIG_fail
;
26185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26186 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
26188 wxPyEndAllowThreads(__tstate
);
26189 if (PyErr_Occurred()) SWIG_fail
;
26192 resultobj
= SWIG_From_long((long)(result
));
26200 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26201 PyObject
*resultobj
;
26202 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26204 wxString
*arg3
= 0 ;
26205 int arg4
= (int) wxLIST_FORMAT_LEFT
;
26206 int arg5
= (int) -1 ;
26208 bool temp3
= false ;
26209 PyObject
* obj0
= 0 ;
26210 PyObject
* obj1
= 0 ;
26211 PyObject
* obj2
= 0 ;
26212 PyObject
* obj3
= 0 ;
26213 PyObject
* obj4
= 0 ;
26214 char *kwnames
[] = {
26215 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
26218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26220 if (SWIG_arg_fail(1)) SWIG_fail
;
26222 arg2
= (long)(SWIG_As_long(obj1
));
26223 if (SWIG_arg_fail(2)) SWIG_fail
;
26226 arg3
= wxString_in_helper(obj2
);
26227 if (arg3
== NULL
) SWIG_fail
;
26232 arg4
= (int)(SWIG_As_int(obj3
));
26233 if (SWIG_arg_fail(4)) SWIG_fail
;
26238 arg5
= (int)(SWIG_As_int(obj4
));
26239 if (SWIG_arg_fail(5)) SWIG_fail
;
26243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26244 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
26246 wxPyEndAllowThreads(__tstate
);
26247 if (PyErr_Occurred()) SWIG_fail
;
26250 resultobj
= SWIG_From_long((long)(result
));
26266 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26267 PyObject
*resultobj
;
26268 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26270 PyObject
* obj0
= 0 ;
26271 PyObject
* obj1
= 0 ;
26272 char *kwnames
[] = {
26273 (char *) "self",(char *) "count", NULL
26276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
26277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26278 if (SWIG_arg_fail(1)) SWIG_fail
;
26280 arg2
= (long)(SWIG_As_long(obj1
));
26281 if (SWIG_arg_fail(2)) SWIG_fail
;
26284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26285 (arg1
)->SetItemCount(arg2
);
26287 wxPyEndAllowThreads(__tstate
);
26288 if (PyErr_Occurred()) SWIG_fail
;
26290 Py_INCREF(Py_None
); resultobj
= Py_None
;
26297 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26298 PyObject
*resultobj
;
26299 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26303 PyObject
* obj0
= 0 ;
26304 PyObject
* obj1
= 0 ;
26305 PyObject
* obj2
= 0 ;
26306 char *kwnames
[] = {
26307 (char *) "self",(char *) "dx",(char *) "dy", NULL
26310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26312 if (SWIG_arg_fail(1)) SWIG_fail
;
26314 arg2
= (int)(SWIG_As_int(obj1
));
26315 if (SWIG_arg_fail(2)) SWIG_fail
;
26318 arg3
= (int)(SWIG_As_int(obj2
));
26319 if (SWIG_arg_fail(3)) SWIG_fail
;
26322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26323 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
26325 wxPyEndAllowThreads(__tstate
);
26326 if (PyErr_Occurred()) SWIG_fail
;
26329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26337 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26338 PyObject
*resultobj
;
26339 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26341 wxColour
*arg3
= 0 ;
26343 PyObject
* obj0
= 0 ;
26344 PyObject
* obj1
= 0 ;
26345 PyObject
* obj2
= 0 ;
26346 char *kwnames
[] = {
26347 (char *) "self",(char *) "item",(char *) "col", NULL
26350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26352 if (SWIG_arg_fail(1)) SWIG_fail
;
26354 arg2
= (long)(SWIG_As_long(obj1
));
26355 if (SWIG_arg_fail(2)) SWIG_fail
;
26359 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26363 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
26365 wxPyEndAllowThreads(__tstate
);
26366 if (PyErr_Occurred()) SWIG_fail
;
26368 Py_INCREF(Py_None
); resultobj
= Py_None
;
26375 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26376 PyObject
*resultobj
;
26377 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26380 PyObject
* obj0
= 0 ;
26381 PyObject
* obj1
= 0 ;
26382 char *kwnames
[] = {
26383 (char *) "self",(char *) "item", NULL
26386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26388 if (SWIG_arg_fail(1)) SWIG_fail
;
26390 arg2
= (long)(SWIG_As_long(obj1
));
26391 if (SWIG_arg_fail(2)) SWIG_fail
;
26394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26395 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
26397 wxPyEndAllowThreads(__tstate
);
26398 if (PyErr_Occurred()) SWIG_fail
;
26401 wxColour
* resultptr
;
26402 resultptr
= new wxColour((wxColour
&)(result
));
26403 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26411 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26412 PyObject
*resultobj
;
26413 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26415 wxColour
*arg3
= 0 ;
26417 PyObject
* obj0
= 0 ;
26418 PyObject
* obj1
= 0 ;
26419 PyObject
* obj2
= 0 ;
26420 char *kwnames
[] = {
26421 (char *) "self",(char *) "item",(char *) "col", NULL
26424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26426 if (SWIG_arg_fail(1)) SWIG_fail
;
26428 arg2
= (long)(SWIG_As_long(obj1
));
26429 if (SWIG_arg_fail(2)) SWIG_fail
;
26433 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26437 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
26439 wxPyEndAllowThreads(__tstate
);
26440 if (PyErr_Occurred()) SWIG_fail
;
26442 Py_INCREF(Py_None
); resultobj
= Py_None
;
26449 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26450 PyObject
*resultobj
;
26451 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26454 PyObject
* obj0
= 0 ;
26455 PyObject
* obj1
= 0 ;
26456 char *kwnames
[] = {
26457 (char *) "self",(char *) "item", NULL
26460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26462 if (SWIG_arg_fail(1)) SWIG_fail
;
26464 arg2
= (long)(SWIG_As_long(obj1
));
26465 if (SWIG_arg_fail(2)) SWIG_fail
;
26468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26469 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
26471 wxPyEndAllowThreads(__tstate
);
26472 if (PyErr_Occurred()) SWIG_fail
;
26475 wxColour
* resultptr
;
26476 resultptr
= new wxColour((wxColour
&)(result
));
26477 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26485 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26486 PyObject
*resultobj
;
26487 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26488 PyObject
*arg2
= (PyObject
*) 0 ;
26490 PyObject
* obj0
= 0 ;
26491 PyObject
* obj1
= 0 ;
26492 char *kwnames
[] = {
26493 (char *) "self",(char *) "func", NULL
26496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
26497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26498 if (SWIG_arg_fail(1)) SWIG_fail
;
26501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26502 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
26504 wxPyEndAllowThreads(__tstate
);
26505 if (PyErr_Occurred()) SWIG_fail
;
26508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26516 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26517 PyObject
*resultobj
;
26518 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26520 PyObject
* obj0
= 0 ;
26521 char *kwnames
[] = {
26522 (char *) "self", NULL
26525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
26526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26527 if (SWIG_arg_fail(1)) SWIG_fail
;
26529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26530 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
26532 wxPyEndAllowThreads(__tstate
);
26533 if (PyErr_Occurred()) SWIG_fail
;
26536 resultobj
= wxPyMake_wxObject(result
, 0);
26544 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26545 PyObject
*resultobj
;
26546 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
26547 wxVisualAttributes result
;
26548 PyObject
* obj0
= 0 ;
26549 char *kwnames
[] = {
26550 (char *) "variant", NULL
26553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26556 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
26557 if (SWIG_arg_fail(1)) SWIG_fail
;
26561 if (!wxPyCheckForApp()) SWIG_fail
;
26562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26563 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
26565 wxPyEndAllowThreads(__tstate
);
26566 if (PyErr_Occurred()) SWIG_fail
;
26569 wxVisualAttributes
* resultptr
;
26570 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
26571 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26579 static PyObject
* ListCtrl_swigregister(PyObject
*, PyObject
*args
) {
26581 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26582 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
26584 return Py_BuildValue((char *)"");
26586 static PyObject
*_wrap_new_ListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26587 PyObject
*resultobj
;
26588 wxWindow
*arg1
= (wxWindow
*) 0 ;
26589 int arg2
= (int) -1 ;
26590 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
26591 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
26592 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26593 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26594 long arg5
= (long) wxLC_REPORT
;
26595 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
26596 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
26597 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
26598 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26599 wxListView
*result
;
26602 bool temp7
= false ;
26603 PyObject
* obj0
= 0 ;
26604 PyObject
* obj1
= 0 ;
26605 PyObject
* obj2
= 0 ;
26606 PyObject
* obj3
= 0 ;
26607 PyObject
* obj4
= 0 ;
26608 PyObject
* obj5
= 0 ;
26609 PyObject
* obj6
= 0 ;
26610 char *kwnames
[] = {
26611 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26616 if (SWIG_arg_fail(1)) SWIG_fail
;
26619 arg2
= (int)(SWIG_As_int(obj1
));
26620 if (SWIG_arg_fail(2)) SWIG_fail
;
26626 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26632 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26637 arg5
= (long)(SWIG_As_long(obj4
));
26638 if (SWIG_arg_fail(5)) SWIG_fail
;
26643 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
26644 if (SWIG_arg_fail(6)) SWIG_fail
;
26645 if (arg6
== NULL
) {
26646 SWIG_null_ref("wxValidator");
26648 if (SWIG_arg_fail(6)) SWIG_fail
;
26653 arg7
= wxString_in_helper(obj6
);
26654 if (arg7
== NULL
) SWIG_fail
;
26659 if (!wxPyCheckForApp()) SWIG_fail
;
26660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26661 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
26663 wxPyEndAllowThreads(__tstate
);
26664 if (PyErr_Occurred()) SWIG_fail
;
26666 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
26681 static PyObject
*_wrap_new_PreListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26682 PyObject
*resultobj
;
26683 wxListView
*result
;
26684 char *kwnames
[] = {
26688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
26690 if (!wxPyCheckForApp()) SWIG_fail
;
26691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26692 result
= (wxListView
*)new wxListView();
26694 wxPyEndAllowThreads(__tstate
);
26695 if (PyErr_Occurred()) SWIG_fail
;
26697 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
26704 static PyObject
*_wrap_ListView_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26705 PyObject
*resultobj
;
26706 wxListView
*arg1
= (wxListView
*) 0 ;
26707 wxWindow
*arg2
= (wxWindow
*) 0 ;
26708 int arg3
= (int) -1 ;
26709 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26710 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26711 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26712 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26713 long arg6
= (long) wxLC_REPORT
;
26714 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
26715 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
26716 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
26717 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
26721 bool temp8
= false ;
26722 PyObject
* obj0
= 0 ;
26723 PyObject
* obj1
= 0 ;
26724 PyObject
* obj2
= 0 ;
26725 PyObject
* obj3
= 0 ;
26726 PyObject
* obj4
= 0 ;
26727 PyObject
* obj5
= 0 ;
26728 PyObject
* obj6
= 0 ;
26729 PyObject
* obj7
= 0 ;
26730 char *kwnames
[] = {
26731 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
26735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26736 if (SWIG_arg_fail(1)) SWIG_fail
;
26737 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26738 if (SWIG_arg_fail(2)) SWIG_fail
;
26741 arg3
= (int)(SWIG_As_int(obj2
));
26742 if (SWIG_arg_fail(3)) SWIG_fail
;
26748 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26754 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26759 arg6
= (long)(SWIG_As_long(obj5
));
26760 if (SWIG_arg_fail(6)) SWIG_fail
;
26765 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
26766 if (SWIG_arg_fail(7)) SWIG_fail
;
26767 if (arg7
== NULL
) {
26768 SWIG_null_ref("wxValidator");
26770 if (SWIG_arg_fail(7)) SWIG_fail
;
26775 arg8
= wxString_in_helper(obj7
);
26776 if (arg8
== NULL
) SWIG_fail
;
26781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26782 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
26784 wxPyEndAllowThreads(__tstate
);
26785 if (PyErr_Occurred()) SWIG_fail
;
26788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26804 static PyObject
*_wrap_ListView_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26805 PyObject
*resultobj
;
26806 wxListView
*arg1
= (wxListView
*) 0 ;
26808 bool arg3
= (bool) true ;
26809 PyObject
* obj0
= 0 ;
26810 PyObject
* obj1
= 0 ;
26811 PyObject
* obj2
= 0 ;
26812 char *kwnames
[] = {
26813 (char *) "self",(char *) "n",(char *) "on", NULL
26816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26818 if (SWIG_arg_fail(1)) SWIG_fail
;
26820 arg2
= (long)(SWIG_As_long(obj1
));
26821 if (SWIG_arg_fail(2)) SWIG_fail
;
26825 arg3
= (bool)(SWIG_As_bool(obj2
));
26826 if (SWIG_arg_fail(3)) SWIG_fail
;
26830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26831 (arg1
)->Select(arg2
,arg3
);
26833 wxPyEndAllowThreads(__tstate
);
26834 if (PyErr_Occurred()) SWIG_fail
;
26836 Py_INCREF(Py_None
); resultobj
= Py_None
;
26843 static PyObject
*_wrap_ListView_Focus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26844 PyObject
*resultobj
;
26845 wxListView
*arg1
= (wxListView
*) 0 ;
26847 PyObject
* obj0
= 0 ;
26848 PyObject
* obj1
= 0 ;
26849 char *kwnames
[] = {
26850 (char *) "self",(char *) "index", NULL
26853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) 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 arg2
= (long)(SWIG_As_long(obj1
));
26858 if (SWIG_arg_fail(2)) SWIG_fail
;
26861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26862 (arg1
)->Focus(arg2
);
26864 wxPyEndAllowThreads(__tstate
);
26865 if (PyErr_Occurred()) SWIG_fail
;
26867 Py_INCREF(Py_None
); resultobj
= Py_None
;
26874 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26875 PyObject
*resultobj
;
26876 wxListView
*arg1
= (wxListView
*) 0 ;
26878 PyObject
* obj0
= 0 ;
26879 char *kwnames
[] = {
26880 (char *) "self", NULL
26883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26888 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
26890 wxPyEndAllowThreads(__tstate
);
26891 if (PyErr_Occurred()) SWIG_fail
;
26894 resultobj
= SWIG_From_long((long)(result
));
26902 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26903 PyObject
*resultobj
;
26904 wxListView
*arg1
= (wxListView
*) 0 ;
26907 PyObject
* obj0
= 0 ;
26908 PyObject
* obj1
= 0 ;
26909 char *kwnames
[] = {
26910 (char *) "self",(char *) "item", NULL
26913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26915 if (SWIG_arg_fail(1)) SWIG_fail
;
26917 arg2
= (long)(SWIG_As_long(obj1
));
26918 if (SWIG_arg_fail(2)) SWIG_fail
;
26921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26922 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
26924 wxPyEndAllowThreads(__tstate
);
26925 if (PyErr_Occurred()) SWIG_fail
;
26928 resultobj
= SWIG_From_long((long)(result
));
26936 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26937 PyObject
*resultobj
;
26938 wxListView
*arg1
= (wxListView
*) 0 ;
26940 PyObject
* obj0
= 0 ;
26941 char *kwnames
[] = {
26942 (char *) "self", NULL
26945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26950 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
26952 wxPyEndAllowThreads(__tstate
);
26953 if (PyErr_Occurred()) SWIG_fail
;
26956 resultobj
= SWIG_From_long((long)(result
));
26964 static PyObject
*_wrap_ListView_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26965 PyObject
*resultobj
;
26966 wxListView
*arg1
= (wxListView
*) 0 ;
26969 PyObject
* obj0
= 0 ;
26970 PyObject
* obj1
= 0 ;
26971 char *kwnames
[] = {
26972 (char *) "self",(char *) "index", NULL
26975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26977 if (SWIG_arg_fail(1)) SWIG_fail
;
26979 arg2
= (long)(SWIG_As_long(obj1
));
26980 if (SWIG_arg_fail(2)) SWIG_fail
;
26983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26984 result
= (bool)(arg1
)->IsSelected(arg2
);
26986 wxPyEndAllowThreads(__tstate
);
26987 if (PyErr_Occurred()) SWIG_fail
;
26990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26998 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26999 PyObject
*resultobj
;
27000 wxListView
*arg1
= (wxListView
*) 0 ;
27003 PyObject
* obj0
= 0 ;
27004 PyObject
* obj1
= 0 ;
27005 PyObject
* obj2
= 0 ;
27006 char *kwnames
[] = {
27007 (char *) "self",(char *) "col",(char *) "image", NULL
27010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
27012 if (SWIG_arg_fail(1)) SWIG_fail
;
27014 arg2
= (int)(SWIG_As_int(obj1
));
27015 if (SWIG_arg_fail(2)) SWIG_fail
;
27018 arg3
= (int)(SWIG_As_int(obj2
));
27019 if (SWIG_arg_fail(3)) SWIG_fail
;
27022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27023 (arg1
)->SetColumnImage(arg2
,arg3
);
27025 wxPyEndAllowThreads(__tstate
);
27026 if (PyErr_Occurred()) SWIG_fail
;
27028 Py_INCREF(Py_None
); resultobj
= Py_None
;
27035 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27036 PyObject
*resultobj
;
27037 wxListView
*arg1
= (wxListView
*) 0 ;
27039 PyObject
* obj0
= 0 ;
27040 PyObject
* obj1
= 0 ;
27041 char *kwnames
[] = {
27042 (char *) "self",(char *) "col", NULL
27045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
27046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
27047 if (SWIG_arg_fail(1)) SWIG_fail
;
27049 arg2
= (int)(SWIG_As_int(obj1
));
27050 if (SWIG_arg_fail(2)) SWIG_fail
;
27053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27054 (arg1
)->ClearColumnImage(arg2
);
27056 wxPyEndAllowThreads(__tstate
);
27057 if (PyErr_Occurred()) SWIG_fail
;
27059 Py_INCREF(Py_None
); resultobj
= Py_None
;
27066 static PyObject
* ListView_swigregister(PyObject
*, PyObject
*args
) {
27068 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27069 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
27071 return Py_BuildValue((char *)"");
27073 static int _wrap_TreeCtrlNameStr_set(PyObject
*) {
27074 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
27079 static PyObject
*_wrap_TreeCtrlNameStr_get(void) {
27084 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
27086 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
27093 static PyObject
*_wrap_new_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27094 PyObject
*resultobj
;
27095 wxTreeItemId
*result
;
27096 char *kwnames
[] = {
27100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
27102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27103 result
= (wxTreeItemId
*)new wxTreeItemId();
27105 wxPyEndAllowThreads(__tstate
);
27106 if (PyErr_Occurred()) SWIG_fail
;
27108 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
27115 static PyObject
*_wrap_delete_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27116 PyObject
*resultobj
;
27117 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27118 PyObject
* obj0
= 0 ;
27119 char *kwnames
[] = {
27120 (char *) "self", NULL
27123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
27124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27125 if (SWIG_arg_fail(1)) SWIG_fail
;
27127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27130 wxPyEndAllowThreads(__tstate
);
27131 if (PyErr_Occurred()) SWIG_fail
;
27133 Py_INCREF(Py_None
); resultobj
= Py_None
;
27140 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27141 PyObject
*resultobj
;
27142 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27144 PyObject
* obj0
= 0 ;
27145 char *kwnames
[] = {
27146 (char *) "self", NULL
27149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
27150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27151 if (SWIG_arg_fail(1)) SWIG_fail
;
27153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27154 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
27156 wxPyEndAllowThreads(__tstate
);
27157 if (PyErr_Occurred()) SWIG_fail
;
27160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27168 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27169 PyObject
*resultobj
;
27170 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27171 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
27173 PyObject
* obj0
= 0 ;
27174 PyObject
* obj1
= 0 ;
27175 char *kwnames
[] = {
27176 (char *) "self",(char *) "other", NULL
27179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27181 if (SWIG_arg_fail(1)) SWIG_fail
;
27182 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27183 if (SWIG_arg_fail(2)) SWIG_fail
;
27185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27186 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
27188 wxPyEndAllowThreads(__tstate
);
27189 if (PyErr_Occurred()) SWIG_fail
;
27192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27200 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27201 PyObject
*resultobj
;
27202 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27203 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
27205 PyObject
* obj0
= 0 ;
27206 PyObject
* obj1
= 0 ;
27207 char *kwnames
[] = {
27208 (char *) "self",(char *) "other", NULL
27211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27213 if (SWIG_arg_fail(1)) SWIG_fail
;
27214 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27215 if (SWIG_arg_fail(2)) SWIG_fail
;
27217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27218 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
27220 wxPyEndAllowThreads(__tstate
);
27221 if (PyErr_Occurred()) SWIG_fail
;
27224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27232 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27233 PyObject
*resultobj
;
27234 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27235 void *arg2
= (void *) 0 ;
27236 PyObject
* obj0
= 0 ;
27237 PyObject
* obj1
= 0 ;
27238 char *kwnames
[] = {
27239 (char *) "self",(char *) "m_pItem", NULL
27242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27244 if (SWIG_arg_fail(1)) SWIG_fail
;
27246 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),0,SWIG_POINTER_EXCEPTION
|SWIG_POINTER_DISOWN
))== -1) {
27247 SWIG_arg_fail(2);SWIG_fail
;
27250 if (arg1
) (arg1
)->m_pItem
= arg2
;
27252 Py_INCREF(Py_None
); resultobj
= Py_None
;
27259 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27260 PyObject
*resultobj
;
27261 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27263 PyObject
* obj0
= 0 ;
27264 char *kwnames
[] = {
27265 (char *) "self", NULL
27268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
27269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27270 if (SWIG_arg_fail(1)) SWIG_fail
;
27271 result
= (void *) ((arg1
)->m_pItem
);
27273 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
27280 static PyObject
* TreeItemId_swigregister(PyObject
*, PyObject
*args
) {
27282 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27283 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
27285 return Py_BuildValue((char *)"");
27287 static PyObject
*_wrap_new_TreeItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27288 PyObject
*resultobj
;
27289 PyObject
*arg1
= (PyObject
*) NULL
;
27290 wxPyTreeItemData
*result
;
27291 PyObject
* obj0
= 0 ;
27292 char *kwnames
[] = {
27293 (char *) "obj", NULL
27296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
27301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27302 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
27304 wxPyEndAllowThreads(__tstate
);
27305 if (PyErr_Occurred()) SWIG_fail
;
27307 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
27314 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27315 PyObject
*resultobj
;
27316 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27318 PyObject
* obj0
= 0 ;
27319 char *kwnames
[] = {
27320 (char *) "self", NULL
27323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
27324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27325 if (SWIG_arg_fail(1)) SWIG_fail
;
27327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27328 result
= (PyObject
*)(arg1
)->GetData();
27330 wxPyEndAllowThreads(__tstate
);
27331 if (PyErr_Occurred()) SWIG_fail
;
27333 resultobj
= result
;
27340 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27341 PyObject
*resultobj
;
27342 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27343 PyObject
*arg2
= (PyObject
*) 0 ;
27344 PyObject
* obj0
= 0 ;
27345 PyObject
* obj1
= 0 ;
27346 char *kwnames
[] = {
27347 (char *) "self",(char *) "obj", NULL
27350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27352 if (SWIG_arg_fail(1)) SWIG_fail
;
27355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27356 (arg1
)->SetData(arg2
);
27358 wxPyEndAllowThreads(__tstate
);
27359 if (PyErr_Occurred()) SWIG_fail
;
27361 Py_INCREF(Py_None
); resultobj
= Py_None
;
27368 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27369 PyObject
*resultobj
;
27370 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27371 wxTreeItemId
*result
;
27372 PyObject
* obj0
= 0 ;
27373 char *kwnames
[] = {
27374 (char *) "self", NULL
27377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27383 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
27384 result
= (wxTreeItemId
*) &_result_ref
;
27387 wxPyEndAllowThreads(__tstate
);
27388 if (PyErr_Occurred()) SWIG_fail
;
27390 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
27397 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27398 PyObject
*resultobj
;
27399 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27400 wxTreeItemId
*arg2
= 0 ;
27401 PyObject
* obj0
= 0 ;
27402 PyObject
* obj1
= 0 ;
27403 char *kwnames
[] = {
27404 (char *) "self",(char *) "id", NULL
27407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
27408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27409 if (SWIG_arg_fail(1)) SWIG_fail
;
27411 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27412 if (SWIG_arg_fail(2)) SWIG_fail
;
27413 if (arg2
== NULL
) {
27414 SWIG_null_ref("wxTreeItemId");
27416 if (SWIG_arg_fail(2)) SWIG_fail
;
27419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27420 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
27422 wxPyEndAllowThreads(__tstate
);
27423 if (PyErr_Occurred()) SWIG_fail
;
27425 Py_INCREF(Py_None
); resultobj
= Py_None
;
27432 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27433 PyObject
*resultobj
;
27434 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27435 PyObject
* obj0
= 0 ;
27436 char *kwnames
[] = {
27437 (char *) "self", NULL
27440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
27441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27442 if (SWIG_arg_fail(1)) SWIG_fail
;
27444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27445 wxPyTreeItemData_Destroy(arg1
);
27447 wxPyEndAllowThreads(__tstate
);
27448 if (PyErr_Occurred()) SWIG_fail
;
27450 Py_INCREF(Py_None
); resultobj
= Py_None
;
27457 static PyObject
* TreeItemData_swigregister(PyObject
*, PyObject
*args
) {
27459 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27460 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
27462 return Py_BuildValue((char *)"");
27464 static PyObject
*_wrap_new_TreeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27465 PyObject
*resultobj
;
27466 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27467 int arg2
= (int) 0 ;
27468 wxTreeEvent
*result
;
27469 PyObject
* obj0
= 0 ;
27470 PyObject
* obj1
= 0 ;
27471 char *kwnames
[] = {
27472 (char *) "commandType",(char *) "id", NULL
27475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
27478 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
27479 if (SWIG_arg_fail(1)) SWIG_fail
;
27484 arg2
= (int)(SWIG_As_int(obj1
));
27485 if (SWIG_arg_fail(2)) SWIG_fail
;
27489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27490 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
27492 wxPyEndAllowThreads(__tstate
);
27493 if (PyErr_Occurred()) SWIG_fail
;
27495 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
27502 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27503 PyObject
*resultobj
;
27504 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27505 wxTreeItemId result
;
27506 PyObject
* obj0
= 0 ;
27507 char *kwnames
[] = {
27508 (char *) "self", NULL
27511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
27512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27513 if (SWIG_arg_fail(1)) SWIG_fail
;
27515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27516 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
27518 wxPyEndAllowThreads(__tstate
);
27519 if (PyErr_Occurred()) SWIG_fail
;
27522 wxTreeItemId
* resultptr
;
27523 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
27524 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27532 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27533 PyObject
*resultobj
;
27534 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27535 wxTreeItemId
*arg2
= 0 ;
27536 PyObject
* obj0
= 0 ;
27537 PyObject
* obj1
= 0 ;
27538 char *kwnames
[] = {
27539 (char *) "self",(char *) "item", NULL
27542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27544 if (SWIG_arg_fail(1)) SWIG_fail
;
27546 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27547 if (SWIG_arg_fail(2)) SWIG_fail
;
27548 if (arg2
== NULL
) {
27549 SWIG_null_ref("wxTreeItemId");
27551 if (SWIG_arg_fail(2)) SWIG_fail
;
27554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27555 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
27557 wxPyEndAllowThreads(__tstate
);
27558 if (PyErr_Occurred()) SWIG_fail
;
27560 Py_INCREF(Py_None
); resultobj
= Py_None
;
27567 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27568 PyObject
*resultobj
;
27569 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27570 wxTreeItemId result
;
27571 PyObject
* obj0
= 0 ;
27572 char *kwnames
[] = {
27573 (char *) "self", NULL
27576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
27577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27578 if (SWIG_arg_fail(1)) SWIG_fail
;
27580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27581 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
27583 wxPyEndAllowThreads(__tstate
);
27584 if (PyErr_Occurred()) SWIG_fail
;
27587 wxTreeItemId
* resultptr
;
27588 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
27589 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27597 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27598 PyObject
*resultobj
;
27599 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27600 wxTreeItemId
*arg2
= 0 ;
27601 PyObject
* obj0
= 0 ;
27602 PyObject
* obj1
= 0 ;
27603 char *kwnames
[] = {
27604 (char *) "self",(char *) "item", NULL
27607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27609 if (SWIG_arg_fail(1)) SWIG_fail
;
27611 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27612 if (SWIG_arg_fail(2)) SWIG_fail
;
27613 if (arg2
== NULL
) {
27614 SWIG_null_ref("wxTreeItemId");
27616 if (SWIG_arg_fail(2)) SWIG_fail
;
27619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27620 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
27622 wxPyEndAllowThreads(__tstate
);
27623 if (PyErr_Occurred()) SWIG_fail
;
27625 Py_INCREF(Py_None
); resultobj
= Py_None
;
27632 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27633 PyObject
*resultobj
;
27634 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27636 PyObject
* obj0
= 0 ;
27637 char *kwnames
[] = {
27638 (char *) "self", NULL
27641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
27642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27643 if (SWIG_arg_fail(1)) SWIG_fail
;
27645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27646 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
27648 wxPyEndAllowThreads(__tstate
);
27649 if (PyErr_Occurred()) SWIG_fail
;
27652 wxPoint
* resultptr
;
27653 resultptr
= new wxPoint((wxPoint
&)(result
));
27654 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
27662 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27663 PyObject
*resultobj
;
27664 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27665 wxPoint
*arg2
= 0 ;
27667 PyObject
* obj0
= 0 ;
27668 PyObject
* obj1
= 0 ;
27669 char *kwnames
[] = {
27670 (char *) "self",(char *) "pt", NULL
27673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
27674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27675 if (SWIG_arg_fail(1)) SWIG_fail
;
27678 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27682 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
27684 wxPyEndAllowThreads(__tstate
);
27685 if (PyErr_Occurred()) SWIG_fail
;
27687 Py_INCREF(Py_None
); resultobj
= Py_None
;
27694 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27695 PyObject
*resultobj
;
27696 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27697 wxKeyEvent
*result
;
27698 PyObject
* obj0
= 0 ;
27699 char *kwnames
[] = {
27700 (char *) "self", NULL
27703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
27704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27705 if (SWIG_arg_fail(1)) SWIG_fail
;
27707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27709 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
27710 result
= (wxKeyEvent
*) &_result_ref
;
27713 wxPyEndAllowThreads(__tstate
);
27714 if (PyErr_Occurred()) SWIG_fail
;
27716 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
27723 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27724 PyObject
*resultobj
;
27725 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27727 PyObject
* obj0
= 0 ;
27728 char *kwnames
[] = {
27729 (char *) "self", NULL
27732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
27733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27734 if (SWIG_arg_fail(1)) SWIG_fail
;
27736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27737 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
27739 wxPyEndAllowThreads(__tstate
);
27740 if (PyErr_Occurred()) SWIG_fail
;
27743 resultobj
= SWIG_From_int((int)(result
));
27751 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27752 PyObject
*resultobj
;
27753 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27754 wxKeyEvent
*arg2
= 0 ;
27755 PyObject
* obj0
= 0 ;
27756 PyObject
* obj1
= 0 ;
27757 char *kwnames
[] = {
27758 (char *) "self",(char *) "evt", NULL
27761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
27762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27763 if (SWIG_arg_fail(1)) SWIG_fail
;
27765 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
27766 if (SWIG_arg_fail(2)) SWIG_fail
;
27767 if (arg2
== NULL
) {
27768 SWIG_null_ref("wxKeyEvent");
27770 if (SWIG_arg_fail(2)) SWIG_fail
;
27773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27774 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
27776 wxPyEndAllowThreads(__tstate
);
27777 if (PyErr_Occurred()) SWIG_fail
;
27779 Py_INCREF(Py_None
); resultobj
= Py_None
;
27786 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27787 PyObject
*resultobj
;
27788 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27790 PyObject
* obj0
= 0 ;
27791 char *kwnames
[] = {
27792 (char *) "self", NULL
27795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
27796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27797 if (SWIG_arg_fail(1)) SWIG_fail
;
27799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27801 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
27802 result
= (wxString
*) &_result_ref
;
27805 wxPyEndAllowThreads(__tstate
);
27806 if (PyErr_Occurred()) SWIG_fail
;
27810 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27812 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27821 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27822 PyObject
*resultobj
;
27823 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27824 wxString
*arg2
= 0 ;
27825 bool temp2
= false ;
27826 PyObject
* obj0
= 0 ;
27827 PyObject
* obj1
= 0 ;
27828 char *kwnames
[] = {
27829 (char *) "self",(char *) "label", NULL
27832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
27833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27834 if (SWIG_arg_fail(1)) SWIG_fail
;
27836 arg2
= wxString_in_helper(obj1
);
27837 if (arg2
== NULL
) SWIG_fail
;
27841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27842 (arg1
)->SetLabel((wxString
const &)*arg2
);
27844 wxPyEndAllowThreads(__tstate
);
27845 if (PyErr_Occurred()) SWIG_fail
;
27847 Py_INCREF(Py_None
); resultobj
= Py_None
;
27862 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27863 PyObject
*resultobj
;
27864 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27866 PyObject
* obj0
= 0 ;
27867 char *kwnames
[] = {
27868 (char *) "self", NULL
27871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
27872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27873 if (SWIG_arg_fail(1)) SWIG_fail
;
27875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27876 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
27878 wxPyEndAllowThreads(__tstate
);
27879 if (PyErr_Occurred()) SWIG_fail
;
27882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27890 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27891 PyObject
*resultobj
;
27892 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27894 PyObject
* obj0
= 0 ;
27895 PyObject
* obj1
= 0 ;
27896 char *kwnames
[] = {
27897 (char *) "self",(char *) "editCancelled", NULL
27900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
27901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27902 if (SWIG_arg_fail(1)) SWIG_fail
;
27904 arg2
= (bool)(SWIG_As_bool(obj1
));
27905 if (SWIG_arg_fail(2)) SWIG_fail
;
27908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27909 (arg1
)->SetEditCanceled(arg2
);
27911 wxPyEndAllowThreads(__tstate
);
27912 if (PyErr_Occurred()) SWIG_fail
;
27914 Py_INCREF(Py_None
); resultobj
= Py_None
;
27921 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27922 PyObject
*resultobj
;
27923 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27924 wxString
*arg2
= 0 ;
27925 bool temp2
= false ;
27926 PyObject
* obj0
= 0 ;
27927 PyObject
* obj1
= 0 ;
27928 char *kwnames
[] = {
27929 (char *) "self",(char *) "toolTip", NULL
27932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
27933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27934 if (SWIG_arg_fail(1)) SWIG_fail
;
27936 arg2
= wxString_in_helper(obj1
);
27937 if (arg2
== NULL
) SWIG_fail
;
27941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27942 (arg1
)->SetToolTip((wxString
const &)*arg2
);
27944 wxPyEndAllowThreads(__tstate
);
27945 if (PyErr_Occurred()) SWIG_fail
;
27947 Py_INCREF(Py_None
); resultobj
= Py_None
;
27962 static PyObject
* TreeEvent_swigregister(PyObject
*, PyObject
*args
) {
27964 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27965 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
27967 return Py_BuildValue((char *)"");
27969 static PyObject
*_wrap_new_TreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27970 PyObject
*resultobj
;
27971 wxWindow
*arg1
= (wxWindow
*) 0 ;
27972 int arg2
= (int) -1 ;
27973 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27974 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27975 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27976 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27977 long arg5
= (long) wxTR_DEFAULT_STYLE
;
27978 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
27979 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
27980 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
27981 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27982 wxPyTreeCtrl
*result
;
27985 bool temp7
= false ;
27986 PyObject
* obj0
= 0 ;
27987 PyObject
* obj1
= 0 ;
27988 PyObject
* obj2
= 0 ;
27989 PyObject
* obj3
= 0 ;
27990 PyObject
* obj4
= 0 ;
27991 PyObject
* obj5
= 0 ;
27992 PyObject
* obj6
= 0 ;
27993 char *kwnames
[] = {
27994 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27999 if (SWIG_arg_fail(1)) SWIG_fail
;
28002 arg2
= (int)(SWIG_As_int(obj1
));
28003 if (SWIG_arg_fail(2)) SWIG_fail
;
28009 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28015 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28020 arg5
= (long)(SWIG_As_long(obj4
));
28021 if (SWIG_arg_fail(5)) SWIG_fail
;
28026 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
28027 if (SWIG_arg_fail(6)) SWIG_fail
;
28028 if (arg6
== NULL
) {
28029 SWIG_null_ref("wxValidator");
28031 if (SWIG_arg_fail(6)) SWIG_fail
;
28036 arg7
= wxString_in_helper(obj6
);
28037 if (arg7
== NULL
) SWIG_fail
;
28042 if (!wxPyCheckForApp()) SWIG_fail
;
28043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28044 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28046 wxPyEndAllowThreads(__tstate
);
28047 if (PyErr_Occurred()) SWIG_fail
;
28049 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
28064 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28065 PyObject
*resultobj
;
28066 wxPyTreeCtrl
*result
;
28067 char *kwnames
[] = {
28071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
28073 if (!wxPyCheckForApp()) SWIG_fail
;
28074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28075 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
28077 wxPyEndAllowThreads(__tstate
);
28078 if (PyErr_Occurred()) SWIG_fail
;
28080 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
28087 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28088 PyObject
*resultobj
;
28089 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28090 wxWindow
*arg2
= (wxWindow
*) 0 ;
28091 int arg3
= (int) -1 ;
28092 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28093 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28094 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28095 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28096 long arg6
= (long) wxTR_DEFAULT_STYLE
;
28097 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28098 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28099 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
28100 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28104 bool temp8
= false ;
28105 PyObject
* obj0
= 0 ;
28106 PyObject
* obj1
= 0 ;
28107 PyObject
* obj2
= 0 ;
28108 PyObject
* obj3
= 0 ;
28109 PyObject
* obj4
= 0 ;
28110 PyObject
* obj5
= 0 ;
28111 PyObject
* obj6
= 0 ;
28112 PyObject
* obj7
= 0 ;
28113 char *kwnames
[] = {
28114 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
28118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28119 if (SWIG_arg_fail(1)) SWIG_fail
;
28120 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28121 if (SWIG_arg_fail(2)) SWIG_fail
;
28124 arg3
= (int)(SWIG_As_int(obj2
));
28125 if (SWIG_arg_fail(3)) SWIG_fail
;
28131 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28137 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28142 arg6
= (long)(SWIG_As_long(obj5
));
28143 if (SWIG_arg_fail(6)) SWIG_fail
;
28148 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
28149 if (SWIG_arg_fail(7)) SWIG_fail
;
28150 if (arg7
== NULL
) {
28151 SWIG_null_ref("wxValidator");
28153 if (SWIG_arg_fail(7)) SWIG_fail
;
28158 arg8
= wxString_in_helper(obj7
);
28159 if (arg8
== NULL
) SWIG_fail
;
28164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28165 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28167 wxPyEndAllowThreads(__tstate
);
28168 if (PyErr_Occurred()) SWIG_fail
;
28171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28187 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28188 PyObject
*resultobj
;
28189 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28190 PyObject
*arg2
= (PyObject
*) 0 ;
28191 PyObject
*arg3
= (PyObject
*) 0 ;
28192 PyObject
* obj0
= 0 ;
28193 PyObject
* obj1
= 0 ;
28194 PyObject
* obj2
= 0 ;
28195 char *kwnames
[] = {
28196 (char *) "self",(char *) "self",(char *) "_class", NULL
28199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28201 if (SWIG_arg_fail(1)) SWIG_fail
;
28205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28206 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28208 wxPyEndAllowThreads(__tstate
);
28209 if (PyErr_Occurred()) SWIG_fail
;
28211 Py_INCREF(Py_None
); resultobj
= Py_None
;
28218 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28219 PyObject
*resultobj
;
28220 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28222 PyObject
* obj0
= 0 ;
28223 char *kwnames
[] = {
28224 (char *) "self", NULL
28227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
28228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28229 if (SWIG_arg_fail(1)) SWIG_fail
;
28231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28232 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
28234 wxPyEndAllowThreads(__tstate
);
28235 if (PyErr_Occurred()) SWIG_fail
;
28238 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
28246 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28247 PyObject
*resultobj
;
28248 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28249 unsigned int result
;
28250 PyObject
* obj0
= 0 ;
28251 char *kwnames
[] = {
28252 (char *) "self", NULL
28255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
28256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28257 if (SWIG_arg_fail(1)) SWIG_fail
;
28259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28260 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
28262 wxPyEndAllowThreads(__tstate
);
28263 if (PyErr_Occurred()) SWIG_fail
;
28266 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
28274 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28275 PyObject
*resultobj
;
28276 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28277 unsigned int arg2
;
28278 PyObject
* obj0
= 0 ;
28279 PyObject
* obj1
= 0 ;
28280 char *kwnames
[] = {
28281 (char *) "self",(char *) "indent", NULL
28284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) 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 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
28289 if (SWIG_arg_fail(2)) SWIG_fail
;
28292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28293 (arg1
)->SetIndent(arg2
);
28295 wxPyEndAllowThreads(__tstate
);
28296 if (PyErr_Occurred()) SWIG_fail
;
28298 Py_INCREF(Py_None
); resultobj
= Py_None
;
28305 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28306 PyObject
*resultobj
;
28307 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28308 unsigned int result
;
28309 PyObject
* obj0
= 0 ;
28310 char *kwnames
[] = {
28311 (char *) "self", NULL
28314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
28315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28316 if (SWIG_arg_fail(1)) SWIG_fail
;
28318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28319 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
28321 wxPyEndAllowThreads(__tstate
);
28322 if (PyErr_Occurred()) SWIG_fail
;
28325 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
28333 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28334 PyObject
*resultobj
;
28335 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28336 unsigned int arg2
;
28337 PyObject
* obj0
= 0 ;
28338 PyObject
* obj1
= 0 ;
28339 char *kwnames
[] = {
28340 (char *) "self",(char *) "spacing", NULL
28343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) 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 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
28348 if (SWIG_arg_fail(2)) SWIG_fail
;
28351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28352 (arg1
)->SetSpacing(arg2
);
28354 wxPyEndAllowThreads(__tstate
);
28355 if (PyErr_Occurred()) SWIG_fail
;
28357 Py_INCREF(Py_None
); resultobj
= Py_None
;
28364 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28365 PyObject
*resultobj
;
28366 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28367 wxImageList
*result
;
28368 PyObject
* obj0
= 0 ;
28369 char *kwnames
[] = {
28370 (char *) "self", NULL
28373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
28374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28375 if (SWIG_arg_fail(1)) SWIG_fail
;
28377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28378 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
28380 wxPyEndAllowThreads(__tstate
);
28381 if (PyErr_Occurred()) SWIG_fail
;
28384 resultobj
= wxPyMake_wxObject(result
, 0);
28392 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28393 PyObject
*resultobj
;
28394 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28395 wxImageList
*result
;
28396 PyObject
* obj0
= 0 ;
28397 char *kwnames
[] = {
28398 (char *) "self", NULL
28401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
28402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28403 if (SWIG_arg_fail(1)) SWIG_fail
;
28405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28406 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
28408 wxPyEndAllowThreads(__tstate
);
28409 if (PyErr_Occurred()) SWIG_fail
;
28412 resultobj
= wxPyMake_wxObject(result
, 0);
28420 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28421 PyObject
*resultobj
;
28422 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28423 wxImageList
*arg2
= (wxImageList
*) 0 ;
28424 PyObject
* obj0
= 0 ;
28425 PyObject
* obj1
= 0 ;
28426 char *kwnames
[] = {
28427 (char *) "self",(char *) "imageList", NULL
28430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28432 if (SWIG_arg_fail(1)) SWIG_fail
;
28433 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
28434 if (SWIG_arg_fail(2)) SWIG_fail
;
28436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28437 (arg1
)->SetImageList(arg2
);
28439 wxPyEndAllowThreads(__tstate
);
28440 if (PyErr_Occurred()) SWIG_fail
;
28442 Py_INCREF(Py_None
); resultobj
= Py_None
;
28449 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28450 PyObject
*resultobj
;
28451 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28452 wxImageList
*arg2
= (wxImageList
*) 0 ;
28453 PyObject
* obj0
= 0 ;
28454 PyObject
* obj1
= 0 ;
28455 char *kwnames
[] = {
28456 (char *) "self",(char *) "imageList", NULL
28459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28461 if (SWIG_arg_fail(1)) SWIG_fail
;
28462 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
28463 if (SWIG_arg_fail(2)) SWIG_fail
;
28465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28466 (arg1
)->SetStateImageList(arg2
);
28468 wxPyEndAllowThreads(__tstate
);
28469 if (PyErr_Occurred()) SWIG_fail
;
28471 Py_INCREF(Py_None
); resultobj
= Py_None
;
28478 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28479 PyObject
*resultobj
;
28480 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28481 wxImageList
*arg2
= (wxImageList
*) 0 ;
28482 PyObject
* obj0
= 0 ;
28483 PyObject
* obj1
= 0 ;
28484 char *kwnames
[] = {
28485 (char *) "self",(char *) "imageList", NULL
28488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28490 if (SWIG_arg_fail(1)) SWIG_fail
;
28491 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28492 if (SWIG_arg_fail(2)) SWIG_fail
;
28494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28495 (arg1
)->AssignImageList(arg2
);
28497 wxPyEndAllowThreads(__tstate
);
28498 if (PyErr_Occurred()) SWIG_fail
;
28500 Py_INCREF(Py_None
); resultobj
= Py_None
;
28507 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28508 PyObject
*resultobj
;
28509 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28510 wxImageList
*arg2
= (wxImageList
*) 0 ;
28511 PyObject
* obj0
= 0 ;
28512 PyObject
* obj1
= 0 ;
28513 char *kwnames
[] = {
28514 (char *) "self",(char *) "imageList", NULL
28517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",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
;
28520 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28521 if (SWIG_arg_fail(2)) SWIG_fail
;
28523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28524 (arg1
)->AssignStateImageList(arg2
);
28526 wxPyEndAllowThreads(__tstate
);
28527 if (PyErr_Occurred()) SWIG_fail
;
28529 Py_INCREF(Py_None
); resultobj
= Py_None
;
28536 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28537 PyObject
*resultobj
;
28538 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28539 wxTreeItemId
*arg2
= 0 ;
28541 PyObject
* obj0
= 0 ;
28542 PyObject
* obj1
= 0 ;
28543 char *kwnames
[] = {
28544 (char *) "self",(char *) "item", NULL
28547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
28548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28549 if (SWIG_arg_fail(1)) SWIG_fail
;
28551 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28552 if (SWIG_arg_fail(2)) SWIG_fail
;
28553 if (arg2
== NULL
) {
28554 SWIG_null_ref("wxTreeItemId");
28556 if (SWIG_arg_fail(2)) SWIG_fail
;
28559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28560 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
28562 wxPyEndAllowThreads(__tstate
);
28563 if (PyErr_Occurred()) SWIG_fail
;
28567 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28569 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28578 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28579 PyObject
*resultobj
;
28580 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28581 wxTreeItemId
*arg2
= 0 ;
28582 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
28584 PyObject
* obj0
= 0 ;
28585 PyObject
* obj1
= 0 ;
28586 PyObject
* obj2
= 0 ;
28587 char *kwnames
[] = {
28588 (char *) "self",(char *) "item",(char *) "which", NULL
28591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28593 if (SWIG_arg_fail(1)) SWIG_fail
;
28595 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28596 if (SWIG_arg_fail(2)) SWIG_fail
;
28597 if (arg2
== NULL
) {
28598 SWIG_null_ref("wxTreeItemId");
28600 if (SWIG_arg_fail(2)) SWIG_fail
;
28604 arg3
= (wxTreeItemIcon
)(SWIG_As_int(obj2
));
28605 if (SWIG_arg_fail(3)) SWIG_fail
;
28609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28610 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
28612 wxPyEndAllowThreads(__tstate
);
28613 if (PyErr_Occurred()) SWIG_fail
;
28616 resultobj
= SWIG_From_int((int)(result
));
28624 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28625 PyObject
*resultobj
;
28626 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28627 wxTreeItemId
*arg2
= 0 ;
28628 wxPyTreeItemData
*result
;
28629 PyObject
* obj0
= 0 ;
28630 PyObject
* obj1
= 0 ;
28631 char *kwnames
[] = {
28632 (char *) "self",(char *) "item", NULL
28635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
28636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28637 if (SWIG_arg_fail(1)) SWIG_fail
;
28639 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28640 if (SWIG_arg_fail(2)) SWIG_fail
;
28641 if (arg2
== NULL
) {
28642 SWIG_null_ref("wxTreeItemId");
28644 if (SWIG_arg_fail(2)) SWIG_fail
;
28647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28648 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
28650 wxPyEndAllowThreads(__tstate
);
28651 if (PyErr_Occurred()) SWIG_fail
;
28653 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
28660 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28661 PyObject
*resultobj
;
28662 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28663 wxTreeItemId
*arg2
= 0 ;
28665 PyObject
* obj0
= 0 ;
28666 PyObject
* obj1
= 0 ;
28667 char *kwnames
[] = {
28668 (char *) "self",(char *) "item", NULL
28671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
28672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28673 if (SWIG_arg_fail(1)) SWIG_fail
;
28675 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28676 if (SWIG_arg_fail(2)) SWIG_fail
;
28677 if (arg2
== NULL
) {
28678 SWIG_null_ref("wxTreeItemId");
28680 if (SWIG_arg_fail(2)) SWIG_fail
;
28683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28684 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
28686 wxPyEndAllowThreads(__tstate
);
28687 if (PyErr_Occurred()) SWIG_fail
;
28689 resultobj
= result
;
28696 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28697 PyObject
*resultobj
;
28698 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28699 wxTreeItemId
*arg2
= 0 ;
28701 PyObject
* obj0
= 0 ;
28702 PyObject
* obj1
= 0 ;
28703 char *kwnames
[] = {
28704 (char *) "self",(char *) "item", NULL
28707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28709 if (SWIG_arg_fail(1)) SWIG_fail
;
28711 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28712 if (SWIG_arg_fail(2)) SWIG_fail
;
28713 if (arg2
== NULL
) {
28714 SWIG_null_ref("wxTreeItemId");
28716 if (SWIG_arg_fail(2)) SWIG_fail
;
28719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28720 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
28722 wxPyEndAllowThreads(__tstate
);
28723 if (PyErr_Occurred()) SWIG_fail
;
28726 wxColour
* resultptr
;
28727 resultptr
= new wxColour((wxColour
&)(result
));
28728 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
28736 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28737 PyObject
*resultobj
;
28738 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28739 wxTreeItemId
*arg2
= 0 ;
28741 PyObject
* obj0
= 0 ;
28742 PyObject
* obj1
= 0 ;
28743 char *kwnames
[] = {
28744 (char *) "self",(char *) "item", NULL
28747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28749 if (SWIG_arg_fail(1)) SWIG_fail
;
28751 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28752 if (SWIG_arg_fail(2)) SWIG_fail
;
28753 if (arg2
== NULL
) {
28754 SWIG_null_ref("wxTreeItemId");
28756 if (SWIG_arg_fail(2)) SWIG_fail
;
28759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28760 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
28762 wxPyEndAllowThreads(__tstate
);
28763 if (PyErr_Occurred()) SWIG_fail
;
28766 wxColour
* resultptr
;
28767 resultptr
= new wxColour((wxColour
&)(result
));
28768 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
28776 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28777 PyObject
*resultobj
;
28778 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28779 wxTreeItemId
*arg2
= 0 ;
28781 PyObject
* obj0
= 0 ;
28782 PyObject
* obj1
= 0 ;
28783 char *kwnames
[] = {
28784 (char *) "self",(char *) "item", NULL
28787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
28788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28789 if (SWIG_arg_fail(1)) SWIG_fail
;
28791 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28792 if (SWIG_arg_fail(2)) SWIG_fail
;
28793 if (arg2
== NULL
) {
28794 SWIG_null_ref("wxTreeItemId");
28796 if (SWIG_arg_fail(2)) SWIG_fail
;
28799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28800 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
28802 wxPyEndAllowThreads(__tstate
);
28803 if (PyErr_Occurred()) SWIG_fail
;
28806 wxFont
* resultptr
;
28807 resultptr
= new wxFont((wxFont
&)(result
));
28808 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
28816 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28817 PyObject
*resultobj
;
28818 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28819 wxTreeItemId
*arg2
= 0 ;
28820 wxString
*arg3
= 0 ;
28821 bool temp3
= false ;
28822 PyObject
* obj0
= 0 ;
28823 PyObject
* obj1
= 0 ;
28824 PyObject
* obj2
= 0 ;
28825 char *kwnames
[] = {
28826 (char *) "self",(char *) "item",(char *) "text", NULL
28829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28831 if (SWIG_arg_fail(1)) SWIG_fail
;
28833 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28834 if (SWIG_arg_fail(2)) SWIG_fail
;
28835 if (arg2
== NULL
) {
28836 SWIG_null_ref("wxTreeItemId");
28838 if (SWIG_arg_fail(2)) SWIG_fail
;
28841 arg3
= wxString_in_helper(obj2
);
28842 if (arg3
== NULL
) SWIG_fail
;
28846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28847 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
28849 wxPyEndAllowThreads(__tstate
);
28850 if (PyErr_Occurred()) SWIG_fail
;
28852 Py_INCREF(Py_None
); resultobj
= Py_None
;
28867 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28868 PyObject
*resultobj
;
28869 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28870 wxTreeItemId
*arg2
= 0 ;
28872 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
28873 PyObject
* obj0
= 0 ;
28874 PyObject
* obj1
= 0 ;
28875 PyObject
* obj2
= 0 ;
28876 PyObject
* obj3
= 0 ;
28877 char *kwnames
[] = {
28878 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
28881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28883 if (SWIG_arg_fail(1)) SWIG_fail
;
28885 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28886 if (SWIG_arg_fail(2)) SWIG_fail
;
28887 if (arg2
== NULL
) {
28888 SWIG_null_ref("wxTreeItemId");
28890 if (SWIG_arg_fail(2)) SWIG_fail
;
28893 arg3
= (int)(SWIG_As_int(obj2
));
28894 if (SWIG_arg_fail(3)) SWIG_fail
;
28898 arg4
= (wxTreeItemIcon
)(SWIG_As_int(obj3
));
28899 if (SWIG_arg_fail(4)) SWIG_fail
;
28903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28904 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
28906 wxPyEndAllowThreads(__tstate
);
28907 if (PyErr_Occurred()) SWIG_fail
;
28909 Py_INCREF(Py_None
); resultobj
= Py_None
;
28916 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28917 PyObject
*resultobj
;
28918 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28919 wxTreeItemId
*arg2
= 0 ;
28920 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
28921 PyObject
* obj0
= 0 ;
28922 PyObject
* obj1
= 0 ;
28923 PyObject
* obj2
= 0 ;
28924 char *kwnames
[] = {
28925 (char *) "self",(char *) "item",(char *) "data", NULL
28928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28930 if (SWIG_arg_fail(1)) SWIG_fail
;
28932 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28933 if (SWIG_arg_fail(2)) SWIG_fail
;
28934 if (arg2
== NULL
) {
28935 SWIG_null_ref("wxTreeItemId");
28937 if (SWIG_arg_fail(2)) SWIG_fail
;
28939 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
28940 if (SWIG_arg_fail(3)) SWIG_fail
;
28942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28943 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
28945 wxPyEndAllowThreads(__tstate
);
28946 if (PyErr_Occurred()) SWIG_fail
;
28948 Py_INCREF(Py_None
); resultobj
= Py_None
;
28955 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28956 PyObject
*resultobj
;
28957 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28958 wxTreeItemId
*arg2
= 0 ;
28959 PyObject
*arg3
= (PyObject
*) 0 ;
28960 PyObject
* obj0
= 0 ;
28961 PyObject
* obj1
= 0 ;
28962 PyObject
* obj2
= 0 ;
28963 char *kwnames
[] = {
28964 (char *) "self",(char *) "item",(char *) "obj", NULL
28967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28969 if (SWIG_arg_fail(1)) SWIG_fail
;
28971 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28972 if (SWIG_arg_fail(2)) SWIG_fail
;
28973 if (arg2
== NULL
) {
28974 SWIG_null_ref("wxTreeItemId");
28976 if (SWIG_arg_fail(2)) SWIG_fail
;
28980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28981 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
28983 wxPyEndAllowThreads(__tstate
);
28984 if (PyErr_Occurred()) SWIG_fail
;
28986 Py_INCREF(Py_None
); resultobj
= Py_None
;
28993 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28994 PyObject
*resultobj
;
28995 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28996 wxTreeItemId
*arg2
= 0 ;
28997 bool arg3
= (bool) true ;
28998 PyObject
* obj0
= 0 ;
28999 PyObject
* obj1
= 0 ;
29000 PyObject
* obj2
= 0 ;
29001 char *kwnames
[] = {
29002 (char *) "self",(char *) "item",(char *) "has", NULL
29005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29007 if (SWIG_arg_fail(1)) SWIG_fail
;
29009 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29010 if (SWIG_arg_fail(2)) SWIG_fail
;
29011 if (arg2
== NULL
) {
29012 SWIG_null_ref("wxTreeItemId");
29014 if (SWIG_arg_fail(2)) SWIG_fail
;
29018 arg3
= (bool)(SWIG_As_bool(obj2
));
29019 if (SWIG_arg_fail(3)) SWIG_fail
;
29023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29024 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
29026 wxPyEndAllowThreads(__tstate
);
29027 if (PyErr_Occurred()) SWIG_fail
;
29029 Py_INCREF(Py_None
); resultobj
= Py_None
;
29036 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29037 PyObject
*resultobj
;
29038 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29039 wxTreeItemId
*arg2
= 0 ;
29040 bool arg3
= (bool) true ;
29041 PyObject
* obj0
= 0 ;
29042 PyObject
* obj1
= 0 ;
29043 PyObject
* obj2
= 0 ;
29044 char *kwnames
[] = {
29045 (char *) "self",(char *) "item",(char *) "bold", NULL
29048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29050 if (SWIG_arg_fail(1)) SWIG_fail
;
29052 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29053 if (SWIG_arg_fail(2)) SWIG_fail
;
29054 if (arg2
== NULL
) {
29055 SWIG_null_ref("wxTreeItemId");
29057 if (SWIG_arg_fail(2)) SWIG_fail
;
29061 arg3
= (bool)(SWIG_As_bool(obj2
));
29062 if (SWIG_arg_fail(3)) SWIG_fail
;
29066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29067 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
29069 wxPyEndAllowThreads(__tstate
);
29070 if (PyErr_Occurred()) SWIG_fail
;
29072 Py_INCREF(Py_None
); resultobj
= Py_None
;
29079 static PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29080 PyObject
*resultobj
;
29081 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29082 wxTreeItemId
*arg2
= 0 ;
29083 bool arg3
= (bool) true ;
29084 PyObject
* obj0
= 0 ;
29085 PyObject
* obj1
= 0 ;
29086 PyObject
* obj2
= 0 ;
29087 char *kwnames
[] = {
29088 (char *) "self",(char *) "item",(char *) "highlight", NULL
29091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29093 if (SWIG_arg_fail(1)) SWIG_fail
;
29095 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29096 if (SWIG_arg_fail(2)) SWIG_fail
;
29097 if (arg2
== NULL
) {
29098 SWIG_null_ref("wxTreeItemId");
29100 if (SWIG_arg_fail(2)) SWIG_fail
;
29104 arg3
= (bool)(SWIG_As_bool(obj2
));
29105 if (SWIG_arg_fail(3)) SWIG_fail
;
29109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29110 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
29112 wxPyEndAllowThreads(__tstate
);
29113 if (PyErr_Occurred()) SWIG_fail
;
29115 Py_INCREF(Py_None
); resultobj
= Py_None
;
29122 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29123 PyObject
*resultobj
;
29124 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29125 wxTreeItemId
*arg2
= 0 ;
29126 wxColour
*arg3
= 0 ;
29128 PyObject
* obj0
= 0 ;
29129 PyObject
* obj1
= 0 ;
29130 PyObject
* obj2
= 0 ;
29131 char *kwnames
[] = {
29132 (char *) "self",(char *) "item",(char *) "col", NULL
29135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29137 if (SWIG_arg_fail(1)) SWIG_fail
;
29139 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29140 if (SWIG_arg_fail(2)) SWIG_fail
;
29141 if (arg2
== NULL
) {
29142 SWIG_null_ref("wxTreeItemId");
29144 if (SWIG_arg_fail(2)) SWIG_fail
;
29148 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29152 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
29154 wxPyEndAllowThreads(__tstate
);
29155 if (PyErr_Occurred()) SWIG_fail
;
29157 Py_INCREF(Py_None
); resultobj
= Py_None
;
29164 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29165 PyObject
*resultobj
;
29166 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29167 wxTreeItemId
*arg2
= 0 ;
29168 wxColour
*arg3
= 0 ;
29170 PyObject
* obj0
= 0 ;
29171 PyObject
* obj1
= 0 ;
29172 PyObject
* obj2
= 0 ;
29173 char *kwnames
[] = {
29174 (char *) "self",(char *) "item",(char *) "col", NULL
29177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29179 if (SWIG_arg_fail(1)) SWIG_fail
;
29181 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29182 if (SWIG_arg_fail(2)) SWIG_fail
;
29183 if (arg2
== NULL
) {
29184 SWIG_null_ref("wxTreeItemId");
29186 if (SWIG_arg_fail(2)) SWIG_fail
;
29190 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29194 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
29196 wxPyEndAllowThreads(__tstate
);
29197 if (PyErr_Occurred()) SWIG_fail
;
29199 Py_INCREF(Py_None
); resultobj
= Py_None
;
29206 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29207 PyObject
*resultobj
;
29208 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29209 wxTreeItemId
*arg2
= 0 ;
29211 PyObject
* obj0
= 0 ;
29212 PyObject
* obj1
= 0 ;
29213 PyObject
* obj2
= 0 ;
29214 char *kwnames
[] = {
29215 (char *) "self",(char *) "item",(char *) "font", NULL
29218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29220 if (SWIG_arg_fail(1)) SWIG_fail
;
29222 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29223 if (SWIG_arg_fail(2)) SWIG_fail
;
29224 if (arg2
== NULL
) {
29225 SWIG_null_ref("wxTreeItemId");
29227 if (SWIG_arg_fail(2)) SWIG_fail
;
29230 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29231 if (SWIG_arg_fail(3)) SWIG_fail
;
29232 if (arg3
== NULL
) {
29233 SWIG_null_ref("wxFont");
29235 if (SWIG_arg_fail(3)) SWIG_fail
;
29238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29239 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
29241 wxPyEndAllowThreads(__tstate
);
29242 if (PyErr_Occurred()) SWIG_fail
;
29244 Py_INCREF(Py_None
); resultobj
= Py_None
;
29251 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29252 PyObject
*resultobj
;
29253 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29254 wxTreeItemId
*arg2
= 0 ;
29256 PyObject
* obj0
= 0 ;
29257 PyObject
* obj1
= 0 ;
29258 char *kwnames
[] = {
29259 (char *) "self",(char *) "item", NULL
29262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29264 if (SWIG_arg_fail(1)) SWIG_fail
;
29266 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29267 if (SWIG_arg_fail(2)) SWIG_fail
;
29268 if (arg2
== NULL
) {
29269 SWIG_null_ref("wxTreeItemId");
29271 if (SWIG_arg_fail(2)) SWIG_fail
;
29274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29275 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
29277 wxPyEndAllowThreads(__tstate
);
29278 if (PyErr_Occurred()) SWIG_fail
;
29281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29289 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29290 PyObject
*resultobj
;
29291 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29292 wxTreeItemId
*arg2
= 0 ;
29294 PyObject
* obj0
= 0 ;
29295 PyObject
* obj1
= 0 ;
29296 char *kwnames
[] = {
29297 (char *) "self",(char *) "item", NULL
29300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
29301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29302 if (SWIG_arg_fail(1)) SWIG_fail
;
29304 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29305 if (SWIG_arg_fail(2)) SWIG_fail
;
29306 if (arg2
== NULL
) {
29307 SWIG_null_ref("wxTreeItemId");
29309 if (SWIG_arg_fail(2)) SWIG_fail
;
29312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29313 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
29315 wxPyEndAllowThreads(__tstate
);
29316 if (PyErr_Occurred()) SWIG_fail
;
29319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29327 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29328 PyObject
*resultobj
;
29329 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29330 wxTreeItemId
*arg2
= 0 ;
29332 PyObject
* obj0
= 0 ;
29333 PyObject
* obj1
= 0 ;
29334 char *kwnames
[] = {
29335 (char *) "self",(char *) "item", NULL
29338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
29339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29340 if (SWIG_arg_fail(1)) SWIG_fail
;
29342 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29343 if (SWIG_arg_fail(2)) SWIG_fail
;
29344 if (arg2
== NULL
) {
29345 SWIG_null_ref("wxTreeItemId");
29347 if (SWIG_arg_fail(2)) SWIG_fail
;
29350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29351 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
29353 wxPyEndAllowThreads(__tstate
);
29354 if (PyErr_Occurred()) SWIG_fail
;
29357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29365 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29366 PyObject
*resultobj
;
29367 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29368 wxTreeItemId
*arg2
= 0 ;
29370 PyObject
* obj0
= 0 ;
29371 PyObject
* obj1
= 0 ;
29372 char *kwnames
[] = {
29373 (char *) "self",(char *) "item", NULL
29376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
29377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29378 if (SWIG_arg_fail(1)) SWIG_fail
;
29380 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29381 if (SWIG_arg_fail(2)) SWIG_fail
;
29382 if (arg2
== NULL
) {
29383 SWIG_null_ref("wxTreeItemId");
29385 if (SWIG_arg_fail(2)) SWIG_fail
;
29388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29389 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
29391 wxPyEndAllowThreads(__tstate
);
29392 if (PyErr_Occurred()) SWIG_fail
;
29395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29403 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29404 PyObject
*resultobj
;
29405 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29406 wxTreeItemId
*arg2
= 0 ;
29408 PyObject
* obj0
= 0 ;
29409 PyObject
* obj1
= 0 ;
29410 char *kwnames
[] = {
29411 (char *) "self",(char *) "item", NULL
29414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
29415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29416 if (SWIG_arg_fail(1)) SWIG_fail
;
29418 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29419 if (SWIG_arg_fail(2)) SWIG_fail
;
29420 if (arg2
== NULL
) {
29421 SWIG_null_ref("wxTreeItemId");
29423 if (SWIG_arg_fail(2)) SWIG_fail
;
29426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29427 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
29429 wxPyEndAllowThreads(__tstate
);
29430 if (PyErr_Occurred()) SWIG_fail
;
29433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29441 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29442 PyObject
*resultobj
;
29443 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29444 wxTreeItemId
*arg2
= 0 ;
29445 bool arg3
= (bool) true ;
29447 PyObject
* obj0
= 0 ;
29448 PyObject
* obj1
= 0 ;
29449 PyObject
* obj2
= 0 ;
29450 char *kwnames
[] = {
29451 (char *) "self",(char *) "item",(char *) "recursively", NULL
29454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29456 if (SWIG_arg_fail(1)) SWIG_fail
;
29458 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29459 if (SWIG_arg_fail(2)) SWIG_fail
;
29460 if (arg2
== NULL
) {
29461 SWIG_null_ref("wxTreeItemId");
29463 if (SWIG_arg_fail(2)) SWIG_fail
;
29467 arg3
= (bool)(SWIG_As_bool(obj2
));
29468 if (SWIG_arg_fail(3)) SWIG_fail
;
29472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29473 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
29475 wxPyEndAllowThreads(__tstate
);
29476 if (PyErr_Occurred()) SWIG_fail
;
29479 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
29487 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29488 PyObject
*resultobj
;
29489 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29490 wxTreeItemId result
;
29491 PyObject
* obj0
= 0 ;
29492 char *kwnames
[] = {
29493 (char *) "self", NULL
29496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
29497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29498 if (SWIG_arg_fail(1)) SWIG_fail
;
29500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29501 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
29503 wxPyEndAllowThreads(__tstate
);
29504 if (PyErr_Occurred()) SWIG_fail
;
29507 wxTreeItemId
* resultptr
;
29508 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29509 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29517 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29518 PyObject
*resultobj
;
29519 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29520 wxTreeItemId result
;
29521 PyObject
* obj0
= 0 ;
29522 char *kwnames
[] = {
29523 (char *) "self", NULL
29526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
29527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29528 if (SWIG_arg_fail(1)) SWIG_fail
;
29530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29531 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
29533 wxPyEndAllowThreads(__tstate
);
29534 if (PyErr_Occurred()) SWIG_fail
;
29537 wxTreeItemId
* resultptr
;
29538 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29539 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29547 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29548 PyObject
*resultobj
;
29549 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29551 PyObject
* obj0
= 0 ;
29552 char *kwnames
[] = {
29553 (char *) "self", NULL
29556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
29557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29558 if (SWIG_arg_fail(1)) SWIG_fail
;
29560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29561 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
29563 wxPyEndAllowThreads(__tstate
);
29564 if (PyErr_Occurred()) SWIG_fail
;
29566 resultobj
= result
;
29573 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29574 PyObject
*resultobj
;
29575 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29576 wxTreeItemId
*arg2
= 0 ;
29577 wxTreeItemId result
;
29578 PyObject
* obj0
= 0 ;
29579 PyObject
* obj1
= 0 ;
29580 char *kwnames
[] = {
29581 (char *) "self",(char *) "item", NULL
29584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
29585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29586 if (SWIG_arg_fail(1)) SWIG_fail
;
29588 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29589 if (SWIG_arg_fail(2)) SWIG_fail
;
29590 if (arg2
== NULL
) {
29591 SWIG_null_ref("wxTreeItemId");
29593 if (SWIG_arg_fail(2)) SWIG_fail
;
29596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29597 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
29599 wxPyEndAllowThreads(__tstate
);
29600 if (PyErr_Occurred()) SWIG_fail
;
29603 wxTreeItemId
* resultptr
;
29604 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29605 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29613 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29614 PyObject
*resultobj
;
29615 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29616 wxTreeItemId
*arg2
= 0 ;
29618 PyObject
* obj0
= 0 ;
29619 PyObject
* obj1
= 0 ;
29620 char *kwnames
[] = {
29621 (char *) "self",(char *) "item", NULL
29624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29626 if (SWIG_arg_fail(1)) SWIG_fail
;
29628 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29629 if (SWIG_arg_fail(2)) SWIG_fail
;
29630 if (arg2
== NULL
) {
29631 SWIG_null_ref("wxTreeItemId");
29633 if (SWIG_arg_fail(2)) SWIG_fail
;
29636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29637 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
29639 wxPyEndAllowThreads(__tstate
);
29640 if (PyErr_Occurred()) SWIG_fail
;
29642 resultobj
= result
;
29649 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29650 PyObject
*resultobj
;
29651 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29652 wxTreeItemId
*arg2
= 0 ;
29653 void *arg3
= (void *) 0 ;
29655 PyObject
* obj0
= 0 ;
29656 PyObject
* obj1
= 0 ;
29657 PyObject
* obj2
= 0 ;
29658 char *kwnames
[] = {
29659 (char *) "self",(char *) "item",(char *) "cookie", NULL
29662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29664 if (SWIG_arg_fail(1)) SWIG_fail
;
29666 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29667 if (SWIG_arg_fail(2)) SWIG_fail
;
29668 if (arg2
== NULL
) {
29669 SWIG_null_ref("wxTreeItemId");
29671 if (SWIG_arg_fail(2)) SWIG_fail
;
29674 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),0,SWIG_POINTER_EXCEPTION
|0))== -1) {
29675 SWIG_arg_fail(3);SWIG_fail
;
29679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29680 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
29682 wxPyEndAllowThreads(__tstate
);
29683 if (PyErr_Occurred()) SWIG_fail
;
29685 resultobj
= result
;
29692 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29693 PyObject
*resultobj
;
29694 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29695 wxTreeItemId
*arg2
= 0 ;
29696 wxTreeItemId result
;
29697 PyObject
* obj0
= 0 ;
29698 PyObject
* obj1
= 0 ;
29699 char *kwnames
[] = {
29700 (char *) "self",(char *) "item", NULL
29703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29705 if (SWIG_arg_fail(1)) SWIG_fail
;
29707 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29708 if (SWIG_arg_fail(2)) SWIG_fail
;
29709 if (arg2
== NULL
) {
29710 SWIG_null_ref("wxTreeItemId");
29712 if (SWIG_arg_fail(2)) SWIG_fail
;
29715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29716 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
29718 wxPyEndAllowThreads(__tstate
);
29719 if (PyErr_Occurred()) SWIG_fail
;
29722 wxTreeItemId
* resultptr
;
29723 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29724 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29732 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29733 PyObject
*resultobj
;
29734 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29735 wxTreeItemId
*arg2
= 0 ;
29736 wxTreeItemId result
;
29737 PyObject
* obj0
= 0 ;
29738 PyObject
* obj1
= 0 ;
29739 char *kwnames
[] = {
29740 (char *) "self",(char *) "item", NULL
29743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
29744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29745 if (SWIG_arg_fail(1)) SWIG_fail
;
29747 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29748 if (SWIG_arg_fail(2)) SWIG_fail
;
29749 if (arg2
== NULL
) {
29750 SWIG_null_ref("wxTreeItemId");
29752 if (SWIG_arg_fail(2)) SWIG_fail
;
29755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29756 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
29758 wxPyEndAllowThreads(__tstate
);
29759 if (PyErr_Occurred()) SWIG_fail
;
29762 wxTreeItemId
* resultptr
;
29763 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29764 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29772 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29773 PyObject
*resultobj
;
29774 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29775 wxTreeItemId
*arg2
= 0 ;
29776 wxTreeItemId result
;
29777 PyObject
* obj0
= 0 ;
29778 PyObject
* obj1
= 0 ;
29779 char *kwnames
[] = {
29780 (char *) "self",(char *) "item", NULL
29783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
29784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29785 if (SWIG_arg_fail(1)) SWIG_fail
;
29787 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29788 if (SWIG_arg_fail(2)) SWIG_fail
;
29789 if (arg2
== NULL
) {
29790 SWIG_null_ref("wxTreeItemId");
29792 if (SWIG_arg_fail(2)) SWIG_fail
;
29795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29796 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
29798 wxPyEndAllowThreads(__tstate
);
29799 if (PyErr_Occurred()) SWIG_fail
;
29802 wxTreeItemId
* resultptr
;
29803 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29804 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29812 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29813 PyObject
*resultobj
;
29814 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29815 wxTreeItemId result
;
29816 PyObject
* obj0
= 0 ;
29817 char *kwnames
[] = {
29818 (char *) "self", NULL
29821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
29822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29823 if (SWIG_arg_fail(1)) SWIG_fail
;
29825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29826 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
29828 wxPyEndAllowThreads(__tstate
);
29829 if (PyErr_Occurred()) SWIG_fail
;
29832 wxTreeItemId
* resultptr
;
29833 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29834 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29842 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29843 PyObject
*resultobj
;
29844 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29845 wxTreeItemId
*arg2
= 0 ;
29846 wxTreeItemId result
;
29847 PyObject
* obj0
= 0 ;
29848 PyObject
* obj1
= 0 ;
29849 char *kwnames
[] = {
29850 (char *) "self",(char *) "item", NULL
29853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29855 if (SWIG_arg_fail(1)) SWIG_fail
;
29857 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29858 if (SWIG_arg_fail(2)) SWIG_fail
;
29859 if (arg2
== NULL
) {
29860 SWIG_null_ref("wxTreeItemId");
29862 if (SWIG_arg_fail(2)) SWIG_fail
;
29865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29866 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
29868 wxPyEndAllowThreads(__tstate
);
29869 if (PyErr_Occurred()) SWIG_fail
;
29872 wxTreeItemId
* resultptr
;
29873 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29874 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29882 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29883 PyObject
*resultobj
;
29884 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29885 wxTreeItemId
*arg2
= 0 ;
29886 wxTreeItemId result
;
29887 PyObject
* obj0
= 0 ;
29888 PyObject
* obj1
= 0 ;
29889 char *kwnames
[] = {
29890 (char *) "self",(char *) "item", NULL
29893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29895 if (SWIG_arg_fail(1)) SWIG_fail
;
29897 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29898 if (SWIG_arg_fail(2)) SWIG_fail
;
29899 if (arg2
== NULL
) {
29900 SWIG_null_ref("wxTreeItemId");
29902 if (SWIG_arg_fail(2)) SWIG_fail
;
29905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29906 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
29908 wxPyEndAllowThreads(__tstate
);
29909 if (PyErr_Occurred()) SWIG_fail
;
29912 wxTreeItemId
* resultptr
;
29913 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29914 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29922 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29923 PyObject
*resultobj
;
29924 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29925 wxString
*arg2
= 0 ;
29926 int arg3
= (int) -1 ;
29927 int arg4
= (int) -1 ;
29928 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
29929 wxTreeItemId result
;
29930 bool temp2
= false ;
29931 PyObject
* obj0
= 0 ;
29932 PyObject
* obj1
= 0 ;
29933 PyObject
* obj2
= 0 ;
29934 PyObject
* obj3
= 0 ;
29935 PyObject
* obj4
= 0 ;
29936 char *kwnames
[] = {
29937 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29942 if (SWIG_arg_fail(1)) SWIG_fail
;
29944 arg2
= wxString_in_helper(obj1
);
29945 if (arg2
== NULL
) SWIG_fail
;
29950 arg3
= (int)(SWIG_As_int(obj2
));
29951 if (SWIG_arg_fail(3)) SWIG_fail
;
29956 arg4
= (int)(SWIG_As_int(obj3
));
29957 if (SWIG_arg_fail(4)) SWIG_fail
;
29961 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
29962 if (SWIG_arg_fail(5)) SWIG_fail
;
29965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29966 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
29968 wxPyEndAllowThreads(__tstate
);
29969 if (PyErr_Occurred()) SWIG_fail
;
29972 wxTreeItemId
* resultptr
;
29973 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29974 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29990 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29991 PyObject
*resultobj
;
29992 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29993 wxTreeItemId
*arg2
= 0 ;
29994 wxString
*arg3
= 0 ;
29995 int arg4
= (int) -1 ;
29996 int arg5
= (int) -1 ;
29997 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
29998 wxTreeItemId result
;
29999 bool temp3
= false ;
30000 PyObject
* obj0
= 0 ;
30001 PyObject
* obj1
= 0 ;
30002 PyObject
* obj2
= 0 ;
30003 PyObject
* obj3
= 0 ;
30004 PyObject
* obj4
= 0 ;
30005 PyObject
* obj5
= 0 ;
30006 char *kwnames
[] = {
30007 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30012 if (SWIG_arg_fail(1)) SWIG_fail
;
30014 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30015 if (SWIG_arg_fail(2)) SWIG_fail
;
30016 if (arg2
== NULL
) {
30017 SWIG_null_ref("wxTreeItemId");
30019 if (SWIG_arg_fail(2)) SWIG_fail
;
30022 arg3
= wxString_in_helper(obj2
);
30023 if (arg3
== NULL
) SWIG_fail
;
30028 arg4
= (int)(SWIG_As_int(obj3
));
30029 if (SWIG_arg_fail(4)) SWIG_fail
;
30034 arg5
= (int)(SWIG_As_int(obj4
));
30035 if (SWIG_arg_fail(5)) SWIG_fail
;
30039 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30040 if (SWIG_arg_fail(6)) SWIG_fail
;
30043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30044 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
30046 wxPyEndAllowThreads(__tstate
);
30047 if (PyErr_Occurred()) SWIG_fail
;
30050 wxTreeItemId
* resultptr
;
30051 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30052 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30068 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30069 PyObject
*resultobj
;
30070 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30071 wxTreeItemId
*arg2
= 0 ;
30072 wxTreeItemId
*arg3
= 0 ;
30073 wxString
*arg4
= 0 ;
30074 int arg5
= (int) -1 ;
30075 int arg6
= (int) -1 ;
30076 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
30077 wxTreeItemId result
;
30078 bool temp4
= false ;
30079 PyObject
* obj0
= 0 ;
30080 PyObject
* obj1
= 0 ;
30081 PyObject
* obj2
= 0 ;
30082 PyObject
* obj3
= 0 ;
30083 PyObject
* obj4
= 0 ;
30084 PyObject
* obj5
= 0 ;
30085 PyObject
* obj6
= 0 ;
30086 char *kwnames
[] = {
30087 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30092 if (SWIG_arg_fail(1)) SWIG_fail
;
30094 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30095 if (SWIG_arg_fail(2)) SWIG_fail
;
30096 if (arg2
== NULL
) {
30097 SWIG_null_ref("wxTreeItemId");
30099 if (SWIG_arg_fail(2)) SWIG_fail
;
30102 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30103 if (SWIG_arg_fail(3)) SWIG_fail
;
30104 if (arg3
== NULL
) {
30105 SWIG_null_ref("wxTreeItemId");
30107 if (SWIG_arg_fail(3)) SWIG_fail
;
30110 arg4
= wxString_in_helper(obj3
);
30111 if (arg4
== NULL
) SWIG_fail
;
30116 arg5
= (int)(SWIG_As_int(obj4
));
30117 if (SWIG_arg_fail(5)) SWIG_fail
;
30122 arg6
= (int)(SWIG_As_int(obj5
));
30123 if (SWIG_arg_fail(6)) SWIG_fail
;
30127 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30128 if (SWIG_arg_fail(7)) SWIG_fail
;
30131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30132 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
30134 wxPyEndAllowThreads(__tstate
);
30135 if (PyErr_Occurred()) SWIG_fail
;
30138 wxTreeItemId
* resultptr
;
30139 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30140 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30156 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30157 PyObject
*resultobj
;
30158 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30159 wxTreeItemId
*arg2
= 0 ;
30161 wxString
*arg4
= 0 ;
30162 int arg5
= (int) -1 ;
30163 int arg6
= (int) -1 ;
30164 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
30165 wxTreeItemId result
;
30166 bool temp4
= false ;
30167 PyObject
* obj0
= 0 ;
30168 PyObject
* obj1
= 0 ;
30169 PyObject
* obj2
= 0 ;
30170 PyObject
* obj3
= 0 ;
30171 PyObject
* obj4
= 0 ;
30172 PyObject
* obj5
= 0 ;
30173 PyObject
* obj6
= 0 ;
30174 char *kwnames
[] = {
30175 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30180 if (SWIG_arg_fail(1)) SWIG_fail
;
30182 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30183 if (SWIG_arg_fail(2)) SWIG_fail
;
30184 if (arg2
== NULL
) {
30185 SWIG_null_ref("wxTreeItemId");
30187 if (SWIG_arg_fail(2)) SWIG_fail
;
30190 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
30191 if (SWIG_arg_fail(3)) SWIG_fail
;
30194 arg4
= wxString_in_helper(obj3
);
30195 if (arg4
== NULL
) SWIG_fail
;
30200 arg5
= (int)(SWIG_As_int(obj4
));
30201 if (SWIG_arg_fail(5)) SWIG_fail
;
30206 arg6
= (int)(SWIG_As_int(obj5
));
30207 if (SWIG_arg_fail(6)) SWIG_fail
;
30211 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30212 if (SWIG_arg_fail(7)) SWIG_fail
;
30215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30216 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
30218 wxPyEndAllowThreads(__tstate
);
30219 if (PyErr_Occurred()) SWIG_fail
;
30222 wxTreeItemId
* resultptr
;
30223 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30224 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30240 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30241 PyObject
*resultobj
;
30242 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30243 wxTreeItemId
*arg2
= 0 ;
30244 wxString
*arg3
= 0 ;
30245 int arg4
= (int) -1 ;
30246 int arg5
= (int) -1 ;
30247 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
30248 wxTreeItemId result
;
30249 bool temp3
= false ;
30250 PyObject
* obj0
= 0 ;
30251 PyObject
* obj1
= 0 ;
30252 PyObject
* obj2
= 0 ;
30253 PyObject
* obj3
= 0 ;
30254 PyObject
* obj4
= 0 ;
30255 PyObject
* obj5
= 0 ;
30256 char *kwnames
[] = {
30257 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30262 if (SWIG_arg_fail(1)) SWIG_fail
;
30264 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30265 if (SWIG_arg_fail(2)) SWIG_fail
;
30266 if (arg2
== NULL
) {
30267 SWIG_null_ref("wxTreeItemId");
30269 if (SWIG_arg_fail(2)) SWIG_fail
;
30272 arg3
= wxString_in_helper(obj2
);
30273 if (arg3
== NULL
) SWIG_fail
;
30278 arg4
= (int)(SWIG_As_int(obj3
));
30279 if (SWIG_arg_fail(4)) SWIG_fail
;
30284 arg5
= (int)(SWIG_As_int(obj4
));
30285 if (SWIG_arg_fail(5)) SWIG_fail
;
30289 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30290 if (SWIG_arg_fail(6)) SWIG_fail
;
30293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30294 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
30296 wxPyEndAllowThreads(__tstate
);
30297 if (PyErr_Occurred()) SWIG_fail
;
30300 wxTreeItemId
* resultptr
;
30301 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30302 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30318 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30319 PyObject
*resultobj
;
30320 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30321 wxTreeItemId
*arg2
= 0 ;
30322 PyObject
* obj0
= 0 ;
30323 PyObject
* obj1
= 0 ;
30324 char *kwnames
[] = {
30325 (char *) "self",(char *) "item", NULL
30328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
30329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30330 if (SWIG_arg_fail(1)) SWIG_fail
;
30332 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30333 if (SWIG_arg_fail(2)) SWIG_fail
;
30334 if (arg2
== NULL
) {
30335 SWIG_null_ref("wxTreeItemId");
30337 if (SWIG_arg_fail(2)) SWIG_fail
;
30340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30341 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
30343 wxPyEndAllowThreads(__tstate
);
30344 if (PyErr_Occurred()) SWIG_fail
;
30346 Py_INCREF(Py_None
); resultobj
= Py_None
;
30353 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30354 PyObject
*resultobj
;
30355 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30356 wxTreeItemId
*arg2
= 0 ;
30357 PyObject
* obj0
= 0 ;
30358 PyObject
* obj1
= 0 ;
30359 char *kwnames
[] = {
30360 (char *) "self",(char *) "item", NULL
30363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
30364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30365 if (SWIG_arg_fail(1)) SWIG_fail
;
30367 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30368 if (SWIG_arg_fail(2)) SWIG_fail
;
30369 if (arg2
== NULL
) {
30370 SWIG_null_ref("wxTreeItemId");
30372 if (SWIG_arg_fail(2)) SWIG_fail
;
30375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30376 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
30378 wxPyEndAllowThreads(__tstate
);
30379 if (PyErr_Occurred()) SWIG_fail
;
30381 Py_INCREF(Py_None
); resultobj
= Py_None
;
30388 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30389 PyObject
*resultobj
;
30390 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30391 PyObject
* obj0
= 0 ;
30392 char *kwnames
[] = {
30393 (char *) "self", NULL
30396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
30397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30398 if (SWIG_arg_fail(1)) SWIG_fail
;
30400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30401 (arg1
)->DeleteAllItems();
30403 wxPyEndAllowThreads(__tstate
);
30404 if (PyErr_Occurred()) SWIG_fail
;
30406 Py_INCREF(Py_None
); resultobj
= Py_None
;
30413 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30414 PyObject
*resultobj
;
30415 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30416 wxTreeItemId
*arg2
= 0 ;
30417 PyObject
* obj0
= 0 ;
30418 PyObject
* obj1
= 0 ;
30419 char *kwnames
[] = {
30420 (char *) "self",(char *) "item", NULL
30423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
30424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30425 if (SWIG_arg_fail(1)) SWIG_fail
;
30427 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30428 if (SWIG_arg_fail(2)) SWIG_fail
;
30429 if (arg2
== NULL
) {
30430 SWIG_null_ref("wxTreeItemId");
30432 if (SWIG_arg_fail(2)) SWIG_fail
;
30435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30436 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
30438 wxPyEndAllowThreads(__tstate
);
30439 if (PyErr_Occurred()) SWIG_fail
;
30441 Py_INCREF(Py_None
); resultobj
= Py_None
;
30448 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30449 PyObject
*resultobj
;
30450 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30451 wxTreeItemId
*arg2
= 0 ;
30452 PyObject
* obj0
= 0 ;
30453 PyObject
* obj1
= 0 ;
30454 char *kwnames
[] = {
30455 (char *) "self",(char *) "item", NULL
30458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
30459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30460 if (SWIG_arg_fail(1)) SWIG_fail
;
30462 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30463 if (SWIG_arg_fail(2)) SWIG_fail
;
30464 if (arg2
== NULL
) {
30465 SWIG_null_ref("wxTreeItemId");
30467 if (SWIG_arg_fail(2)) SWIG_fail
;
30470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30471 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
30473 wxPyEndAllowThreads(__tstate
);
30474 if (PyErr_Occurred()) SWIG_fail
;
30476 Py_INCREF(Py_None
); resultobj
= Py_None
;
30483 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30484 PyObject
*resultobj
;
30485 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30486 wxTreeItemId
*arg2
= 0 ;
30487 PyObject
* obj0
= 0 ;
30488 PyObject
* obj1
= 0 ;
30489 char *kwnames
[] = {
30490 (char *) "self",(char *) "item", NULL
30493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
30494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30495 if (SWIG_arg_fail(1)) SWIG_fail
;
30497 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30498 if (SWIG_arg_fail(2)) SWIG_fail
;
30499 if (arg2
== NULL
) {
30500 SWIG_null_ref("wxTreeItemId");
30502 if (SWIG_arg_fail(2)) SWIG_fail
;
30505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30506 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
30508 wxPyEndAllowThreads(__tstate
);
30509 if (PyErr_Occurred()) SWIG_fail
;
30511 Py_INCREF(Py_None
); resultobj
= Py_None
;
30518 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30519 PyObject
*resultobj
;
30520 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30521 wxTreeItemId
*arg2
= 0 ;
30522 PyObject
* obj0
= 0 ;
30523 PyObject
* obj1
= 0 ;
30524 char *kwnames
[] = {
30525 (char *) "self",(char *) "item", NULL
30528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
30529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30530 if (SWIG_arg_fail(1)) SWIG_fail
;
30532 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30533 if (SWIG_arg_fail(2)) SWIG_fail
;
30534 if (arg2
== NULL
) {
30535 SWIG_null_ref("wxTreeItemId");
30537 if (SWIG_arg_fail(2)) SWIG_fail
;
30540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30541 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
30543 wxPyEndAllowThreads(__tstate
);
30544 if (PyErr_Occurred()) SWIG_fail
;
30546 Py_INCREF(Py_None
); resultobj
= Py_None
;
30553 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30554 PyObject
*resultobj
;
30555 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30556 PyObject
* obj0
= 0 ;
30557 char *kwnames
[] = {
30558 (char *) "self", NULL
30561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
30562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30563 if (SWIG_arg_fail(1)) SWIG_fail
;
30565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30566 (arg1
)->Unselect();
30568 wxPyEndAllowThreads(__tstate
);
30569 if (PyErr_Occurred()) SWIG_fail
;
30571 Py_INCREF(Py_None
); resultobj
= Py_None
;
30578 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30579 PyObject
*resultobj
;
30580 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30581 wxTreeItemId
*arg2
= 0 ;
30582 PyObject
* obj0
= 0 ;
30583 PyObject
* obj1
= 0 ;
30584 char *kwnames
[] = {
30585 (char *) "self",(char *) "item", NULL
30588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30590 if (SWIG_arg_fail(1)) SWIG_fail
;
30592 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30593 if (SWIG_arg_fail(2)) SWIG_fail
;
30594 if (arg2
== NULL
) {
30595 SWIG_null_ref("wxTreeItemId");
30597 if (SWIG_arg_fail(2)) SWIG_fail
;
30600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30601 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
30603 wxPyEndAllowThreads(__tstate
);
30604 if (PyErr_Occurred()) SWIG_fail
;
30606 Py_INCREF(Py_None
); resultobj
= Py_None
;
30613 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30614 PyObject
*resultobj
;
30615 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30616 PyObject
* obj0
= 0 ;
30617 char *kwnames
[] = {
30618 (char *) "self", NULL
30621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
30622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30623 if (SWIG_arg_fail(1)) SWIG_fail
;
30625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30626 (arg1
)->UnselectAll();
30628 wxPyEndAllowThreads(__tstate
);
30629 if (PyErr_Occurred()) SWIG_fail
;
30631 Py_INCREF(Py_None
); resultobj
= Py_None
;
30638 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30639 PyObject
*resultobj
;
30640 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30641 wxTreeItemId
*arg2
= 0 ;
30642 bool arg3
= (bool) true ;
30643 PyObject
* obj0
= 0 ;
30644 PyObject
* obj1
= 0 ;
30645 PyObject
* obj2
= 0 ;
30646 char *kwnames
[] = {
30647 (char *) "self",(char *) "item",(char *) "select", NULL
30650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30652 if (SWIG_arg_fail(1)) SWIG_fail
;
30654 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30655 if (SWIG_arg_fail(2)) SWIG_fail
;
30656 if (arg2
== NULL
) {
30657 SWIG_null_ref("wxTreeItemId");
30659 if (SWIG_arg_fail(2)) SWIG_fail
;
30663 arg3
= (bool)(SWIG_As_bool(obj2
));
30664 if (SWIG_arg_fail(3)) SWIG_fail
;
30668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30669 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
30671 wxPyEndAllowThreads(__tstate
);
30672 if (PyErr_Occurred()) SWIG_fail
;
30674 Py_INCREF(Py_None
); resultobj
= Py_None
;
30681 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30682 PyObject
*resultobj
;
30683 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30684 wxTreeItemId
*arg2
= 0 ;
30685 PyObject
* obj0
= 0 ;
30686 PyObject
* obj1
= 0 ;
30687 char *kwnames
[] = {
30688 (char *) "self",(char *) "item", NULL
30691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
30692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30693 if (SWIG_arg_fail(1)) SWIG_fail
;
30695 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30696 if (SWIG_arg_fail(2)) SWIG_fail
;
30697 if (arg2
== NULL
) {
30698 SWIG_null_ref("wxTreeItemId");
30700 if (SWIG_arg_fail(2)) SWIG_fail
;
30703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30704 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
30706 wxPyEndAllowThreads(__tstate
);
30707 if (PyErr_Occurred()) SWIG_fail
;
30709 Py_INCREF(Py_None
); resultobj
= Py_None
;
30716 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30717 PyObject
*resultobj
;
30718 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30719 wxTreeItemId
*arg2
= 0 ;
30720 PyObject
* obj0
= 0 ;
30721 PyObject
* obj1
= 0 ;
30722 char *kwnames
[] = {
30723 (char *) "self",(char *) "item", NULL
30726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
30727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30728 if (SWIG_arg_fail(1)) SWIG_fail
;
30730 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30731 if (SWIG_arg_fail(2)) SWIG_fail
;
30732 if (arg2
== NULL
) {
30733 SWIG_null_ref("wxTreeItemId");
30735 if (SWIG_arg_fail(2)) SWIG_fail
;
30738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30739 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
30741 wxPyEndAllowThreads(__tstate
);
30742 if (PyErr_Occurred()) SWIG_fail
;
30744 Py_INCREF(Py_None
); resultobj
= Py_None
;
30751 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30752 PyObject
*resultobj
;
30753 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30754 wxTreeItemId
*arg2
= 0 ;
30755 PyObject
* obj0
= 0 ;
30756 PyObject
* obj1
= 0 ;
30757 char *kwnames
[] = {
30758 (char *) "self",(char *) "item", NULL
30761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
30762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30763 if (SWIG_arg_fail(1)) SWIG_fail
;
30765 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30766 if (SWIG_arg_fail(2)) SWIG_fail
;
30767 if (arg2
== NULL
) {
30768 SWIG_null_ref("wxTreeItemId");
30770 if (SWIG_arg_fail(2)) SWIG_fail
;
30773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30774 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
30776 wxPyEndAllowThreads(__tstate
);
30777 if (PyErr_Occurred()) SWIG_fail
;
30779 Py_INCREF(Py_None
); resultobj
= Py_None
;
30786 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30787 PyObject
*resultobj
;
30788 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30789 wxTreeItemId
*arg2
= 0 ;
30790 PyObject
* obj0
= 0 ;
30791 PyObject
* obj1
= 0 ;
30792 char *kwnames
[] = {
30793 (char *) "self",(char *) "item", NULL
30796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
30797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30798 if (SWIG_arg_fail(1)) SWIG_fail
;
30800 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30801 if (SWIG_arg_fail(2)) SWIG_fail
;
30802 if (arg2
== NULL
) {
30803 SWIG_null_ref("wxTreeItemId");
30805 if (SWIG_arg_fail(2)) SWIG_fail
;
30808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30809 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
30811 wxPyEndAllowThreads(__tstate
);
30812 if (PyErr_Occurred()) SWIG_fail
;
30814 Py_INCREF(Py_None
); resultobj
= Py_None
;
30821 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30822 PyObject
*resultobj
;
30823 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30824 wxTextCtrl
*result
;
30825 PyObject
* obj0
= 0 ;
30826 char *kwnames
[] = {
30827 (char *) "self", NULL
30830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
30831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30832 if (SWIG_arg_fail(1)) SWIG_fail
;
30834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30835 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
30837 wxPyEndAllowThreads(__tstate
);
30838 if (PyErr_Occurred()) SWIG_fail
;
30841 resultobj
= wxPyMake_wxObject(result
, 0);
30849 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30850 PyObject
*resultobj
;
30851 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30852 wxTreeItemId
*arg2
= 0 ;
30853 PyObject
* obj0
= 0 ;
30854 PyObject
* obj1
= 0 ;
30855 char *kwnames
[] = {
30856 (char *) "self",(char *) "item", NULL
30859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
30860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30861 if (SWIG_arg_fail(1)) SWIG_fail
;
30863 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30864 if (SWIG_arg_fail(2)) SWIG_fail
;
30865 if (arg2
== NULL
) {
30866 SWIG_null_ref("wxTreeItemId");
30868 if (SWIG_arg_fail(2)) SWIG_fail
;
30871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30872 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
30874 wxPyEndAllowThreads(__tstate
);
30875 if (PyErr_Occurred()) SWIG_fail
;
30877 Py_INCREF(Py_None
); resultobj
= Py_None
;
30884 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30885 PyObject
*resultobj
;
30886 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30887 wxPoint
*arg2
= 0 ;
30889 wxTreeItemId result
;
30893 PyObject
* obj0
= 0 ;
30894 PyObject
* obj1
= 0 ;
30895 char *kwnames
[] = {
30896 (char *) "self",(char *) "point", NULL
30899 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
30901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30902 if (SWIG_arg_fail(1)) SWIG_fail
;
30905 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30909 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
30911 wxPyEndAllowThreads(__tstate
);
30912 if (PyErr_Occurred()) SWIG_fail
;
30915 wxTreeItemId
* resultptr
;
30916 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30917 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30919 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30920 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30927 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30928 PyObject
*resultobj
;
30929 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30930 wxTreeItemId
*arg2
= 0 ;
30931 bool arg3
= (bool) false ;
30933 PyObject
* obj0
= 0 ;
30934 PyObject
* obj1
= 0 ;
30935 PyObject
* obj2
= 0 ;
30936 char *kwnames
[] = {
30937 (char *) "self",(char *) "item",(char *) "textOnly", NULL
30940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30942 if (SWIG_arg_fail(1)) SWIG_fail
;
30944 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30945 if (SWIG_arg_fail(2)) SWIG_fail
;
30946 if (arg2
== NULL
) {
30947 SWIG_null_ref("wxTreeItemId");
30949 if (SWIG_arg_fail(2)) SWIG_fail
;
30953 arg3
= (bool)(SWIG_As_bool(obj2
));
30954 if (SWIG_arg_fail(3)) SWIG_fail
;
30958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30959 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
30961 wxPyEndAllowThreads(__tstate
);
30962 if (PyErr_Occurred()) SWIG_fail
;
30964 resultobj
= result
;
30971 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30972 PyObject
*resultobj
;
30973 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
30974 wxVisualAttributes result
;
30975 PyObject
* obj0
= 0 ;
30976 char *kwnames
[] = {
30977 (char *) "variant", NULL
30980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
30983 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
30984 if (SWIG_arg_fail(1)) SWIG_fail
;
30988 if (!wxPyCheckForApp()) SWIG_fail
;
30989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30990 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
30992 wxPyEndAllowThreads(__tstate
);
30993 if (PyErr_Occurred()) SWIG_fail
;
30996 wxVisualAttributes
* resultptr
;
30997 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
30998 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
31006 static PyObject
* TreeCtrl_swigregister(PyObject
*, PyObject
*args
) {
31008 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31009 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
31011 return Py_BuildValue((char *)"");
31013 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*) {
31014 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
31019 static PyObject
*_wrap_DirDialogDefaultFolderStr_get(void) {
31024 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
31026 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
31033 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31034 PyObject
*resultobj
;
31035 wxWindow
*arg1
= (wxWindow
*) 0 ;
31036 int arg2
= (int) (int)-1 ;
31037 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
31038 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
31039 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31040 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31041 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31042 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31043 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
31044 wxString
const &arg7_defvalue
= wxPyEmptyString
;
31045 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31046 int arg8
= (int) 0 ;
31047 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
31048 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
31049 wxGenericDirCtrl
*result
;
31050 bool temp3
= false ;
31053 bool temp7
= false ;
31054 bool temp9
= false ;
31055 PyObject
* obj0
= 0 ;
31056 PyObject
* obj1
= 0 ;
31057 PyObject
* obj2
= 0 ;
31058 PyObject
* obj3
= 0 ;
31059 PyObject
* obj4
= 0 ;
31060 PyObject
* obj5
= 0 ;
31061 PyObject
* obj6
= 0 ;
31062 PyObject
* obj7
= 0 ;
31063 PyObject
* obj8
= 0 ;
31064 char *kwnames
[] = {
31065 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
31069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31070 if (SWIG_arg_fail(1)) SWIG_fail
;
31073 arg2
= (int const)(SWIG_As_int(obj1
));
31074 if (SWIG_arg_fail(2)) SWIG_fail
;
31079 arg3
= wxString_in_helper(obj2
);
31080 if (arg3
== NULL
) SWIG_fail
;
31087 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31093 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31098 arg6
= (long)(SWIG_As_long(obj5
));
31099 if (SWIG_arg_fail(6)) SWIG_fail
;
31104 arg7
= wxString_in_helper(obj6
);
31105 if (arg7
== NULL
) SWIG_fail
;
31111 arg8
= (int)(SWIG_As_int(obj7
));
31112 if (SWIG_arg_fail(8)) SWIG_fail
;
31117 arg9
= wxString_in_helper(obj8
);
31118 if (arg9
== NULL
) SWIG_fail
;
31123 if (!wxPyCheckForApp()) SWIG_fail
;
31124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31125 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
31127 wxPyEndAllowThreads(__tstate
);
31128 if (PyErr_Occurred()) SWIG_fail
;
31130 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
31161 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31162 PyObject
*resultobj
;
31163 wxGenericDirCtrl
*result
;
31164 char *kwnames
[] = {
31168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
31170 if (!wxPyCheckForApp()) SWIG_fail
;
31171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31172 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
31174 wxPyEndAllowThreads(__tstate
);
31175 if (PyErr_Occurred()) SWIG_fail
;
31177 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
31184 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31185 PyObject
*resultobj
;
31186 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31187 wxWindow
*arg2
= (wxWindow
*) 0 ;
31188 int arg3
= (int) (int)-1 ;
31189 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
31190 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
31191 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
31192 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
31193 wxSize
const &arg6_defvalue
= wxDefaultSize
;
31194 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
31195 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
31196 wxString
const &arg8_defvalue
= wxPyEmptyString
;
31197 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
31198 int arg9
= (int) 0 ;
31199 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
31200 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
31202 bool temp4
= false ;
31205 bool temp8
= false ;
31206 bool temp10
= false ;
31207 PyObject
* obj0
= 0 ;
31208 PyObject
* obj1
= 0 ;
31209 PyObject
* obj2
= 0 ;
31210 PyObject
* obj3
= 0 ;
31211 PyObject
* obj4
= 0 ;
31212 PyObject
* obj5
= 0 ;
31213 PyObject
* obj6
= 0 ;
31214 PyObject
* obj7
= 0 ;
31215 PyObject
* obj8
= 0 ;
31216 PyObject
* obj9
= 0 ;
31217 char *kwnames
[] = {
31218 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
31222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31223 if (SWIG_arg_fail(1)) SWIG_fail
;
31224 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31225 if (SWIG_arg_fail(2)) SWIG_fail
;
31228 arg3
= (int const)(SWIG_As_int(obj2
));
31229 if (SWIG_arg_fail(3)) SWIG_fail
;
31234 arg4
= wxString_in_helper(obj3
);
31235 if (arg4
== NULL
) SWIG_fail
;
31242 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
31248 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
31253 arg7
= (long)(SWIG_As_long(obj6
));
31254 if (SWIG_arg_fail(7)) SWIG_fail
;
31259 arg8
= wxString_in_helper(obj7
);
31260 if (arg8
== NULL
) SWIG_fail
;
31266 arg9
= (int)(SWIG_As_int(obj8
));
31267 if (SWIG_arg_fail(9)) SWIG_fail
;
31272 arg10
= wxString_in_helper(obj9
);
31273 if (arg10
== NULL
) SWIG_fail
;
31278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31279 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
31281 wxPyEndAllowThreads(__tstate
);
31282 if (PyErr_Occurred()) SWIG_fail
;
31285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31317 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31318 PyObject
*resultobj
;
31319 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31320 wxString
*arg2
= 0 ;
31322 bool temp2
= false ;
31323 PyObject
* obj0
= 0 ;
31324 PyObject
* obj1
= 0 ;
31325 char *kwnames
[] = {
31326 (char *) "self",(char *) "path", NULL
31329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31331 if (SWIG_arg_fail(1)) SWIG_fail
;
31333 arg2
= wxString_in_helper(obj1
);
31334 if (arg2
== NULL
) SWIG_fail
;
31338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31339 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
31341 wxPyEndAllowThreads(__tstate
);
31342 if (PyErr_Occurred()) SWIG_fail
;
31345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31361 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(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_GetDefaultPath",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
)->GetDefaultPath();
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_SetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31394 PyObject
*resultobj
;
31395 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31396 wxString
*arg2
= 0 ;
31397 bool temp2
= false ;
31398 PyObject
* obj0
= 0 ;
31399 PyObject
* obj1
= 0 ;
31400 char *kwnames
[] = {
31401 (char *) "self",(char *) "path", NULL
31404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31406 if (SWIG_arg_fail(1)) SWIG_fail
;
31408 arg2
= wxString_in_helper(obj1
);
31409 if (arg2
== NULL
) SWIG_fail
;
31413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31414 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
31416 wxPyEndAllowThreads(__tstate
);
31417 if (PyErr_Occurred()) SWIG_fail
;
31419 Py_INCREF(Py_None
); resultobj
= Py_None
;
31434 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31435 PyObject
*resultobj
;
31436 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31438 PyObject
* obj0
= 0 ;
31439 char *kwnames
[] = {
31440 (char *) "self", NULL
31443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
31444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31445 if (SWIG_arg_fail(1)) SWIG_fail
;
31447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31448 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
31450 wxPyEndAllowThreads(__tstate
);
31451 if (PyErr_Occurred()) SWIG_fail
;
31455 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31457 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31466 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31467 PyObject
*resultobj
;
31468 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31470 PyObject
* obj0
= 0 ;
31471 char *kwnames
[] = {
31472 (char *) "self", NULL
31475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
31476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31477 if (SWIG_arg_fail(1)) SWIG_fail
;
31479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31480 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
31482 wxPyEndAllowThreads(__tstate
);
31483 if (PyErr_Occurred()) SWIG_fail
;
31487 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31489 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31498 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31499 PyObject
*resultobj
;
31500 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31501 wxString
*arg2
= 0 ;
31502 bool temp2
= false ;
31503 PyObject
* obj0
= 0 ;
31504 PyObject
* obj1
= 0 ;
31505 char *kwnames
[] = {
31506 (char *) "self",(char *) "path", NULL
31509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31511 if (SWIG_arg_fail(1)) SWIG_fail
;
31513 arg2
= wxString_in_helper(obj1
);
31514 if (arg2
== NULL
) SWIG_fail
;
31518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31519 (arg1
)->SetPath((wxString
const &)*arg2
);
31521 wxPyEndAllowThreads(__tstate
);
31522 if (PyErr_Occurred()) SWIG_fail
;
31524 Py_INCREF(Py_None
); resultobj
= Py_None
;
31539 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31540 PyObject
*resultobj
;
31541 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31543 PyObject
* obj0
= 0 ;
31544 PyObject
* obj1
= 0 ;
31545 char *kwnames
[] = {
31546 (char *) "self",(char *) "show", NULL
31549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
31550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31551 if (SWIG_arg_fail(1)) SWIG_fail
;
31553 arg2
= (bool)(SWIG_As_bool(obj1
));
31554 if (SWIG_arg_fail(2)) SWIG_fail
;
31557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31558 (arg1
)->ShowHidden(arg2
);
31560 wxPyEndAllowThreads(__tstate
);
31561 if (PyErr_Occurred()) SWIG_fail
;
31563 Py_INCREF(Py_None
); resultobj
= Py_None
;
31570 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31571 PyObject
*resultobj
;
31572 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31574 PyObject
* obj0
= 0 ;
31575 char *kwnames
[] = {
31576 (char *) "self", NULL
31579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
31580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31581 if (SWIG_arg_fail(1)) SWIG_fail
;
31583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31584 result
= (bool)(arg1
)->GetShowHidden();
31586 wxPyEndAllowThreads(__tstate
);
31587 if (PyErr_Occurred()) SWIG_fail
;
31590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31598 static PyObject
*_wrap_GenericDirCtrl_GetFilter(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_GetFilter",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
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
31614 wxPyEndAllowThreads(__tstate
);
31615 if (PyErr_Occurred()) SWIG_fail
;
31619 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31621 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31630 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31631 PyObject
*resultobj
;
31632 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31633 wxString
*arg2
= 0 ;
31634 bool temp2
= false ;
31635 PyObject
* obj0
= 0 ;
31636 PyObject
* obj1
= 0 ;
31637 char *kwnames
[] = {
31638 (char *) "self",(char *) "filter", NULL
31641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
31642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31643 if (SWIG_arg_fail(1)) SWIG_fail
;
31645 arg2
= wxString_in_helper(obj1
);
31646 if (arg2
== NULL
) SWIG_fail
;
31650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31651 (arg1
)->SetFilter((wxString
const &)*arg2
);
31653 wxPyEndAllowThreads(__tstate
);
31654 if (PyErr_Occurred()) SWIG_fail
;
31656 Py_INCREF(Py_None
); resultobj
= Py_None
;
31671 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31672 PyObject
*resultobj
;
31673 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31675 PyObject
* obj0
= 0 ;
31676 char *kwnames
[] = {
31677 (char *) "self", NULL
31680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
31681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31682 if (SWIG_arg_fail(1)) SWIG_fail
;
31684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31685 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
31687 wxPyEndAllowThreads(__tstate
);
31688 if (PyErr_Occurred()) SWIG_fail
;
31691 resultobj
= SWIG_From_int((int)(result
));
31699 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31700 PyObject
*resultobj
;
31701 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31703 PyObject
* obj0
= 0 ;
31704 PyObject
* obj1
= 0 ;
31705 char *kwnames
[] = {
31706 (char *) "self",(char *) "n", NULL
31709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
31710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31711 if (SWIG_arg_fail(1)) SWIG_fail
;
31713 arg2
= (int)(SWIG_As_int(obj1
));
31714 if (SWIG_arg_fail(2)) SWIG_fail
;
31717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31718 (arg1
)->SetFilterIndex(arg2
);
31720 wxPyEndAllowThreads(__tstate
);
31721 if (PyErr_Occurred()) SWIG_fail
;
31723 Py_INCREF(Py_None
); resultobj
= Py_None
;
31730 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31731 PyObject
*resultobj
;
31732 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31733 wxTreeItemId result
;
31734 PyObject
* obj0
= 0 ;
31735 char *kwnames
[] = {
31736 (char *) "self", NULL
31739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
31740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31741 if (SWIG_arg_fail(1)) SWIG_fail
;
31743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31744 result
= (arg1
)->GetRootId();
31746 wxPyEndAllowThreads(__tstate
);
31747 if (PyErr_Occurred()) SWIG_fail
;
31750 wxTreeItemId
* resultptr
;
31751 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
31752 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31760 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31761 PyObject
*resultobj
;
31762 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31763 wxPyTreeCtrl
*result
;
31764 PyObject
* obj0
= 0 ;
31765 char *kwnames
[] = {
31766 (char *) "self", NULL
31769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
31770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31771 if (SWIG_arg_fail(1)) SWIG_fail
;
31773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31774 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
31776 wxPyEndAllowThreads(__tstate
);
31777 if (PyErr_Occurred()) SWIG_fail
;
31780 resultobj
= wxPyMake_wxObject(result
, 0);
31788 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31789 PyObject
*resultobj
;
31790 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31791 wxDirFilterListCtrl
*result
;
31792 PyObject
* obj0
= 0 ;
31793 char *kwnames
[] = {
31794 (char *) "self", NULL
31797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
31798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31799 if (SWIG_arg_fail(1)) SWIG_fail
;
31801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31802 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
31804 wxPyEndAllowThreads(__tstate
);
31805 if (PyErr_Occurred()) SWIG_fail
;
31807 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
31814 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31815 PyObject
*resultobj
;
31816 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31817 wxTreeItemId arg2
;
31818 wxString
*arg3
= 0 ;
31820 wxTreeItemId result
;
31821 bool temp3
= false ;
31824 PyObject
* obj0
= 0 ;
31825 PyObject
* obj1
= 0 ;
31826 PyObject
* obj2
= 0 ;
31827 char *kwnames
[] = {
31828 (char *) "self",(char *) "parentId",(char *) "path", NULL
31831 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
31832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31834 if (SWIG_arg_fail(1)) SWIG_fail
;
31836 wxTreeItemId
* argp
;
31837 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
);
31838 if (SWIG_arg_fail(2)) SWIG_fail
;
31839 if (argp
== NULL
) {
31840 SWIG_null_ref("wxTreeItemId");
31842 if (SWIG_arg_fail(2)) SWIG_fail
;
31846 arg3
= wxString_in_helper(obj2
);
31847 if (arg3
== NULL
) SWIG_fail
;
31851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31852 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
31854 wxPyEndAllowThreads(__tstate
);
31855 if (PyErr_Occurred()) SWIG_fail
;
31858 wxTreeItemId
* resultptr
;
31859 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
31860 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31862 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
31863 SWIG_From_bool((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, 0)));
31878 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31879 PyObject
*resultobj
;
31880 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31881 PyObject
* obj0
= 0 ;
31882 char *kwnames
[] = {
31883 (char *) "self", NULL
31886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
31887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31888 if (SWIG_arg_fail(1)) SWIG_fail
;
31890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31891 (arg1
)->DoResize();
31893 wxPyEndAllowThreads(__tstate
);
31894 if (PyErr_Occurred()) SWIG_fail
;
31896 Py_INCREF(Py_None
); resultobj
= Py_None
;
31903 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31904 PyObject
*resultobj
;
31905 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31906 PyObject
* obj0
= 0 ;
31907 char *kwnames
[] = {
31908 (char *) "self", NULL
31911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
31912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31913 if (SWIG_arg_fail(1)) SWIG_fail
;
31915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31916 (arg1
)->ReCreateTree();
31918 wxPyEndAllowThreads(__tstate
);
31919 if (PyErr_Occurred()) SWIG_fail
;
31921 Py_INCREF(Py_None
); resultobj
= Py_None
;
31928 static PyObject
* GenericDirCtrl_swigregister(PyObject
*, PyObject
*args
) {
31930 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31931 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
31933 return Py_BuildValue((char *)"");
31935 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31936 PyObject
*resultobj
;
31937 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31938 int arg2
= (int) (int)-1 ;
31939 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31940 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31941 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31942 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31943 long arg5
= (long) 0 ;
31944 wxDirFilterListCtrl
*result
;
31947 PyObject
* obj0
= 0 ;
31948 PyObject
* obj1
= 0 ;
31949 PyObject
* obj2
= 0 ;
31950 PyObject
* obj3
= 0 ;
31951 PyObject
* obj4
= 0 ;
31952 char *kwnames
[] = {
31953 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
31956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31958 if (SWIG_arg_fail(1)) SWIG_fail
;
31961 arg2
= (int const)(SWIG_As_int(obj1
));
31962 if (SWIG_arg_fail(2)) SWIG_fail
;
31968 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31974 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31979 arg5
= (long)(SWIG_As_long(obj4
));
31980 if (SWIG_arg_fail(5)) SWIG_fail
;
31984 if (!wxPyCheckForApp()) SWIG_fail
;
31985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31986 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
31988 wxPyEndAllowThreads(__tstate
);
31989 if (PyErr_Occurred()) SWIG_fail
;
31991 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
31998 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31999 PyObject
*resultobj
;
32000 wxDirFilterListCtrl
*result
;
32001 char *kwnames
[] = {
32005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
32007 if (!wxPyCheckForApp()) SWIG_fail
;
32008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32009 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
32011 wxPyEndAllowThreads(__tstate
);
32012 if (PyErr_Occurred()) SWIG_fail
;
32014 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
32021 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32022 PyObject
*resultobj
;
32023 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
32024 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
32025 int arg3
= (int) (int)-1 ;
32026 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32027 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32028 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32029 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32030 long arg6
= (long) 0 ;
32034 PyObject
* obj0
= 0 ;
32035 PyObject
* obj1
= 0 ;
32036 PyObject
* obj2
= 0 ;
32037 PyObject
* obj3
= 0 ;
32038 PyObject
* obj4
= 0 ;
32039 PyObject
* obj5
= 0 ;
32040 char *kwnames
[] = {
32041 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
32044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32046 if (SWIG_arg_fail(1)) SWIG_fail
;
32047 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32048 if (SWIG_arg_fail(2)) SWIG_fail
;
32051 arg3
= (int const)(SWIG_As_int(obj2
));
32052 if (SWIG_arg_fail(3)) SWIG_fail
;
32058 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32064 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32069 arg6
= (long)(SWIG_As_long(obj5
));
32070 if (SWIG_arg_fail(6)) SWIG_fail
;
32074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32075 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
32077 wxPyEndAllowThreads(__tstate
);
32078 if (PyErr_Occurred()) SWIG_fail
;
32081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32089 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32090 PyObject
*resultobj
;
32091 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
32092 wxString
*arg2
= 0 ;
32094 bool temp2
= false ;
32095 PyObject
* obj0
= 0 ;
32096 PyObject
* obj1
= 0 ;
32097 PyObject
* obj2
= 0 ;
32098 char *kwnames
[] = {
32099 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
32102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32104 if (SWIG_arg_fail(1)) SWIG_fail
;
32106 arg2
= wxString_in_helper(obj1
);
32107 if (arg2
== NULL
) SWIG_fail
;
32111 arg3
= (int)(SWIG_As_int(obj2
));
32112 if (SWIG_arg_fail(3)) SWIG_fail
;
32115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32116 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
32118 wxPyEndAllowThreads(__tstate
);
32119 if (PyErr_Occurred()) SWIG_fail
;
32121 Py_INCREF(Py_None
); resultobj
= Py_None
;
32136 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*, PyObject
*args
) {
32138 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32139 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
32141 return Py_BuildValue((char *)"");
32143 static PyObject
*_wrap_new_PyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32144 PyObject
*resultobj
;
32145 wxWindow
*arg1
= (wxWindow
*) 0 ;
32146 int arg2
= (int) (int)-1 ;
32147 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32148 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32149 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32150 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32151 long arg5
= (long) 0 ;
32152 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32153 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32154 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
32155 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32156 wxPyControl
*result
;
32159 bool temp7
= false ;
32160 PyObject
* obj0
= 0 ;
32161 PyObject
* obj1
= 0 ;
32162 PyObject
* obj2
= 0 ;
32163 PyObject
* obj3
= 0 ;
32164 PyObject
* obj4
= 0 ;
32165 PyObject
* obj5
= 0 ;
32166 PyObject
* obj6
= 0 ;
32167 char *kwnames
[] = {
32168 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
32172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32173 if (SWIG_arg_fail(1)) SWIG_fail
;
32176 arg2
= (int const)(SWIG_As_int(obj1
));
32177 if (SWIG_arg_fail(2)) SWIG_fail
;
32183 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32189 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32194 arg5
= (long)(SWIG_As_long(obj4
));
32195 if (SWIG_arg_fail(5)) SWIG_fail
;
32200 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32201 if (SWIG_arg_fail(6)) SWIG_fail
;
32202 if (arg6
== NULL
) {
32203 SWIG_null_ref("wxValidator");
32205 if (SWIG_arg_fail(6)) SWIG_fail
;
32210 arg7
= wxString_in_helper(obj6
);
32211 if (arg7
== NULL
) SWIG_fail
;
32216 if (!wxPyCheckForApp()) SWIG_fail
;
32217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32218 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32220 wxPyEndAllowThreads(__tstate
);
32221 if (PyErr_Occurred()) SWIG_fail
;
32223 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
32238 static PyObject
*_wrap_new_PrePyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32239 PyObject
*resultobj
;
32240 wxPyControl
*result
;
32241 char *kwnames
[] = {
32245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
32247 if (!wxPyCheckForApp()) SWIG_fail
;
32248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32249 result
= (wxPyControl
*)new wxPyControl();
32251 wxPyEndAllowThreads(__tstate
);
32252 if (PyErr_Occurred()) SWIG_fail
;
32254 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
32261 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32262 PyObject
*resultobj
;
32263 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32264 PyObject
*arg2
= (PyObject
*) 0 ;
32265 PyObject
*arg3
= (PyObject
*) 0 ;
32266 PyObject
* obj0
= 0 ;
32267 PyObject
* obj1
= 0 ;
32268 PyObject
* obj2
= 0 ;
32269 char *kwnames
[] = {
32270 (char *) "self",(char *) "self",(char *) "_class", NULL
32273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32275 if (SWIG_arg_fail(1)) SWIG_fail
;
32279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32280 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32282 wxPyEndAllowThreads(__tstate
);
32283 if (PyErr_Occurred()) SWIG_fail
;
32285 Py_INCREF(Py_None
); resultobj
= Py_None
;
32292 static PyObject
*_wrap_PyControl_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32293 PyObject
*resultobj
;
32294 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32297 PyObject
* obj0
= 0 ;
32298 PyObject
* obj1
= 0 ;
32299 char *kwnames
[] = {
32300 (char *) "self",(char *) "size", NULL
32303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
32304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32305 if (SWIG_arg_fail(1)) SWIG_fail
;
32308 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
32311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32312 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
32314 wxPyEndAllowThreads(__tstate
);
32315 if (PyErr_Occurred()) SWIG_fail
;
32317 Py_INCREF(Py_None
); resultobj
= Py_None
;
32324 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32325 PyObject
*resultobj
;
32326 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32331 PyObject
* obj0
= 0 ;
32332 PyObject
* obj1
= 0 ;
32333 PyObject
* obj2
= 0 ;
32334 PyObject
* obj3
= 0 ;
32335 PyObject
* obj4
= 0 ;
32336 char *kwnames
[] = {
32337 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32342 if (SWIG_arg_fail(1)) SWIG_fail
;
32344 arg2
= (int)(SWIG_As_int(obj1
));
32345 if (SWIG_arg_fail(2)) SWIG_fail
;
32348 arg3
= (int)(SWIG_As_int(obj2
));
32349 if (SWIG_arg_fail(3)) SWIG_fail
;
32352 arg4
= (int)(SWIG_As_int(obj3
));
32353 if (SWIG_arg_fail(4)) SWIG_fail
;
32356 arg5
= (int)(SWIG_As_int(obj4
));
32357 if (SWIG_arg_fail(5)) SWIG_fail
;
32360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32361 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
32363 wxPyEndAllowThreads(__tstate
);
32364 if (PyErr_Occurred()) SWIG_fail
;
32366 Py_INCREF(Py_None
); resultobj
= Py_None
;
32373 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32374 PyObject
*resultobj
;
32375 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32380 int arg6
= (int) wxSIZE_AUTO
;
32381 PyObject
* obj0
= 0 ;
32382 PyObject
* obj1
= 0 ;
32383 PyObject
* obj2
= 0 ;
32384 PyObject
* obj3
= 0 ;
32385 PyObject
* obj4
= 0 ;
32386 PyObject
* obj5
= 0 ;
32387 char *kwnames
[] = {
32388 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
32391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32393 if (SWIG_arg_fail(1)) SWIG_fail
;
32395 arg2
= (int)(SWIG_As_int(obj1
));
32396 if (SWIG_arg_fail(2)) SWIG_fail
;
32399 arg3
= (int)(SWIG_As_int(obj2
));
32400 if (SWIG_arg_fail(3)) SWIG_fail
;
32403 arg4
= (int)(SWIG_As_int(obj3
));
32404 if (SWIG_arg_fail(4)) SWIG_fail
;
32407 arg5
= (int)(SWIG_As_int(obj4
));
32408 if (SWIG_arg_fail(5)) SWIG_fail
;
32412 arg6
= (int)(SWIG_As_int(obj5
));
32413 if (SWIG_arg_fail(6)) SWIG_fail
;
32417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32418 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
32420 wxPyEndAllowThreads(__tstate
);
32421 if (PyErr_Occurred()) SWIG_fail
;
32423 Py_INCREF(Py_None
); resultobj
= Py_None
;
32430 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32431 PyObject
*resultobj
;
32432 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32435 PyObject
* obj0
= 0 ;
32436 PyObject
* obj1
= 0 ;
32437 PyObject
* obj2
= 0 ;
32438 char *kwnames
[] = {
32439 (char *) "self",(char *) "width",(char *) "height", NULL
32442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32444 if (SWIG_arg_fail(1)) SWIG_fail
;
32446 arg2
= (int)(SWIG_As_int(obj1
));
32447 if (SWIG_arg_fail(2)) SWIG_fail
;
32450 arg3
= (int)(SWIG_As_int(obj2
));
32451 if (SWIG_arg_fail(3)) SWIG_fail
;
32454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32455 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
32457 wxPyEndAllowThreads(__tstate
);
32458 if (PyErr_Occurred()) SWIG_fail
;
32460 Py_INCREF(Py_None
); resultobj
= Py_None
;
32467 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32468 PyObject
*resultobj
;
32469 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32472 PyObject
* obj0
= 0 ;
32473 PyObject
* obj1
= 0 ;
32474 PyObject
* obj2
= 0 ;
32475 char *kwnames
[] = {
32476 (char *) "self",(char *) "x",(char *) "y", NULL
32479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32481 if (SWIG_arg_fail(1)) SWIG_fail
;
32483 arg2
= (int)(SWIG_As_int(obj1
));
32484 if (SWIG_arg_fail(2)) SWIG_fail
;
32487 arg3
= (int)(SWIG_As_int(obj2
));
32488 if (SWIG_arg_fail(3)) SWIG_fail
;
32491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32492 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
32494 wxPyEndAllowThreads(__tstate
);
32495 if (PyErr_Occurred()) SWIG_fail
;
32497 Py_INCREF(Py_None
); resultobj
= Py_None
;
32504 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32505 PyObject
*resultobj
;
32506 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32507 int *arg2
= (int *) 0 ;
32508 int *arg3
= (int *) 0 ;
32513 PyObject
* obj0
= 0 ;
32514 char *kwnames
[] = {
32515 (char *) "self", NULL
32518 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32519 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
32521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32522 if (SWIG_arg_fail(1)) SWIG_fail
;
32524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32525 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
32527 wxPyEndAllowThreads(__tstate
);
32528 if (PyErr_Occurred()) SWIG_fail
;
32530 Py_INCREF(Py_None
); resultobj
= Py_None
;
32531 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32532 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32533 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32534 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32541 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32542 PyObject
*resultobj
;
32543 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32544 int *arg2
= (int *) 0 ;
32545 int *arg3
= (int *) 0 ;
32550 PyObject
* obj0
= 0 ;
32551 char *kwnames
[] = {
32552 (char *) "self", NULL
32555 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32556 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
32558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32559 if (SWIG_arg_fail(1)) SWIG_fail
;
32561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32562 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
32564 wxPyEndAllowThreads(__tstate
);
32565 if (PyErr_Occurred()) SWIG_fail
;
32567 Py_INCREF(Py_None
); resultobj
= Py_None
;
32568 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32569 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32570 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32571 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32578 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32579 PyObject
*resultobj
;
32580 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32581 int *arg2
= (int *) 0 ;
32582 int *arg3
= (int *) 0 ;
32587 PyObject
* obj0
= 0 ;
32588 char *kwnames
[] = {
32589 (char *) "self", NULL
32592 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32593 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
32595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32596 if (SWIG_arg_fail(1)) SWIG_fail
;
32598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32599 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
32601 wxPyEndAllowThreads(__tstate
);
32602 if (PyErr_Occurred()) SWIG_fail
;
32604 Py_INCREF(Py_None
); resultobj
= Py_None
;
32605 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32606 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32607 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32608 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32615 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32616 PyObject
*resultobj
;
32617 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32619 PyObject
* obj0
= 0 ;
32620 char *kwnames
[] = {
32621 (char *) "self", NULL
32624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
32625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32626 if (SWIG_arg_fail(1)) SWIG_fail
;
32628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32629 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
32631 wxPyEndAllowThreads(__tstate
);
32632 if (PyErr_Occurred()) SWIG_fail
;
32635 wxSize
* resultptr
;
32636 resultptr
= new wxSize((wxSize
&)(result
));
32637 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32645 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32646 PyObject
*resultobj
;
32647 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32649 PyObject
* obj0
= 0 ;
32650 char *kwnames
[] = {
32651 (char *) "self", NULL
32654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
32655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32656 if (SWIG_arg_fail(1)) SWIG_fail
;
32658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32659 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
32661 wxPyEndAllowThreads(__tstate
);
32662 if (PyErr_Occurred()) SWIG_fail
;
32665 wxSize
* resultptr
;
32666 resultptr
= new wxSize((wxSize
&)(result
));
32667 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32675 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32676 PyObject
*resultobj
;
32677 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32678 PyObject
* obj0
= 0 ;
32679 char *kwnames
[] = {
32680 (char *) "self", NULL
32683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
32684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32685 if (SWIG_arg_fail(1)) SWIG_fail
;
32687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32688 (arg1
)->base_InitDialog();
32690 wxPyEndAllowThreads(__tstate
);
32691 if (PyErr_Occurred()) SWIG_fail
;
32693 Py_INCREF(Py_None
); resultobj
= Py_None
;
32700 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32701 PyObject
*resultobj
;
32702 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32704 PyObject
* obj0
= 0 ;
32705 char *kwnames
[] = {
32706 (char *) "self", NULL
32709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
32710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32711 if (SWIG_arg_fail(1)) SWIG_fail
;
32713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32714 result
= (bool)(arg1
)->base_TransferDataToWindow();
32716 wxPyEndAllowThreads(__tstate
);
32717 if (PyErr_Occurred()) SWIG_fail
;
32720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32728 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32729 PyObject
*resultobj
;
32730 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32732 PyObject
* obj0
= 0 ;
32733 char *kwnames
[] = {
32734 (char *) "self", NULL
32737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
32738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32739 if (SWIG_arg_fail(1)) SWIG_fail
;
32741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32742 result
= (bool)(arg1
)->base_TransferDataFromWindow();
32744 wxPyEndAllowThreads(__tstate
);
32745 if (PyErr_Occurred()) SWIG_fail
;
32748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32756 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32757 PyObject
*resultobj
;
32758 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32760 PyObject
* obj0
= 0 ;
32761 char *kwnames
[] = {
32762 (char *) "self", NULL
32765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
32766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32767 if (SWIG_arg_fail(1)) SWIG_fail
;
32769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32770 result
= (bool)(arg1
)->base_Validate();
32772 wxPyEndAllowThreads(__tstate
);
32773 if (PyErr_Occurred()) SWIG_fail
;
32776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32784 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32785 PyObject
*resultobj
;
32786 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32788 PyObject
* obj0
= 0 ;
32789 char *kwnames
[] = {
32790 (char *) "self", NULL
32793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
32794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32795 if (SWIG_arg_fail(1)) SWIG_fail
;
32797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32798 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
32800 wxPyEndAllowThreads(__tstate
);
32801 if (PyErr_Occurred()) SWIG_fail
;
32804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32812 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32813 PyObject
*resultobj
;
32814 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32816 PyObject
* obj0
= 0 ;
32817 char *kwnames
[] = {
32818 (char *) "self", NULL
32821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
32822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32823 if (SWIG_arg_fail(1)) SWIG_fail
;
32825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32826 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
32828 wxPyEndAllowThreads(__tstate
);
32829 if (PyErr_Occurred()) SWIG_fail
;
32832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32840 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32841 PyObject
*resultobj
;
32842 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32844 PyObject
* obj0
= 0 ;
32845 char *kwnames
[] = {
32846 (char *) "self", NULL
32849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
32850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32851 if (SWIG_arg_fail(1)) SWIG_fail
;
32853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32854 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
32856 wxPyEndAllowThreads(__tstate
);
32857 if (PyErr_Occurred()) SWIG_fail
;
32860 wxSize
* resultptr
;
32861 resultptr
= new wxSize((wxSize
&)(result
));
32862 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32870 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32871 PyObject
*resultobj
;
32872 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32873 wxWindow
*arg2
= (wxWindow
*) 0 ;
32874 PyObject
* obj0
= 0 ;
32875 PyObject
* obj1
= 0 ;
32876 char *kwnames
[] = {
32877 (char *) "self",(char *) "child", NULL
32880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
32881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32882 if (SWIG_arg_fail(1)) SWIG_fail
;
32883 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32884 if (SWIG_arg_fail(2)) SWIG_fail
;
32886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32887 (arg1
)->base_AddChild(arg2
);
32889 wxPyEndAllowThreads(__tstate
);
32890 if (PyErr_Occurred()) SWIG_fail
;
32892 Py_INCREF(Py_None
); resultobj
= Py_None
;
32899 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32900 PyObject
*resultobj
;
32901 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32902 wxWindow
*arg2
= (wxWindow
*) 0 ;
32903 PyObject
* obj0
= 0 ;
32904 PyObject
* obj1
= 0 ;
32905 char *kwnames
[] = {
32906 (char *) "self",(char *) "child", NULL
32909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
32910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32911 if (SWIG_arg_fail(1)) SWIG_fail
;
32912 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32913 if (SWIG_arg_fail(2)) SWIG_fail
;
32915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32916 (arg1
)->base_RemoveChild(arg2
);
32918 wxPyEndAllowThreads(__tstate
);
32919 if (PyErr_Occurred()) SWIG_fail
;
32921 Py_INCREF(Py_None
); resultobj
= Py_None
;
32928 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32929 PyObject
*resultobj
;
32930 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32932 PyObject
* obj0
= 0 ;
32933 char *kwnames
[] = {
32934 (char *) "self", NULL
32937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
32938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32939 if (SWIG_arg_fail(1)) SWIG_fail
;
32941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32942 result
= (bool)((wxPyControl
const *)arg1
)->base_ShouldInheritColours();
32944 wxPyEndAllowThreads(__tstate
);
32945 if (PyErr_Occurred()) SWIG_fail
;
32948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32956 static PyObject
*_wrap_PyControl_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32957 PyObject
*resultobj
;
32958 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32959 wxColour
*arg2
= 0 ;
32961 PyObject
* obj0
= 0 ;
32962 PyObject
* obj1
= 0 ;
32963 char *kwnames
[] = {
32964 (char *) "self",(char *) "c", NULL
32967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
32968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32969 if (SWIG_arg_fail(1)) SWIG_fail
;
32972 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32976 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
32978 wxPyEndAllowThreads(__tstate
);
32979 if (PyErr_Occurred()) SWIG_fail
;
32981 Py_INCREF(Py_None
); resultobj
= Py_None
;
32988 static PyObject
*_wrap_PyControl_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32989 PyObject
*resultobj
;
32990 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32991 wxVisualAttributes result
;
32992 PyObject
* obj0
= 0 ;
32993 char *kwnames
[] = {
32994 (char *) "self", NULL
32997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
32998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32999 if (SWIG_arg_fail(1)) SWIG_fail
;
33001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33002 result
= (arg1
)->base_GetDefaultAttributes();
33004 wxPyEndAllowThreads(__tstate
);
33005 if (PyErr_Occurred()) SWIG_fail
;
33008 wxVisualAttributes
* resultptr
;
33009 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
33010 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
33018 static PyObject
* PyControl_swigregister(PyObject
*, PyObject
*args
) {
33020 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33021 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
33023 return Py_BuildValue((char *)"");
33025 static PyObject
*_wrap_new_HelpEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33026 PyObject
*resultobj
;
33027 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
33028 int arg2
= (int) 0 ;
33029 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33030 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33031 wxHelpEvent
*result
;
33033 PyObject
* obj0
= 0 ;
33034 PyObject
* obj1
= 0 ;
33035 PyObject
* obj2
= 0 ;
33036 char *kwnames
[] = {
33037 (char *) "type",(char *) "winid",(char *) "pt", NULL
33040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33043 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
33044 if (SWIG_arg_fail(1)) SWIG_fail
;
33049 arg2
= (int)(SWIG_As_int(obj1
));
33050 if (SWIG_arg_fail(2)) SWIG_fail
;
33056 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33061 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
33063 wxPyEndAllowThreads(__tstate
);
33064 if (PyErr_Occurred()) SWIG_fail
;
33066 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
33073 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33074 PyObject
*resultobj
;
33075 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33077 PyObject
* obj0
= 0 ;
33078 char *kwnames
[] = {
33079 (char *) "self", NULL
33082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
33083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33084 if (SWIG_arg_fail(1)) SWIG_fail
;
33086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33087 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
33089 wxPyEndAllowThreads(__tstate
);
33090 if (PyErr_Occurred()) SWIG_fail
;
33093 wxPoint
* resultptr
;
33094 resultptr
= new wxPoint((wxPoint
const &)(result
));
33095 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
33103 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33104 PyObject
*resultobj
;
33105 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33106 wxPoint
*arg2
= 0 ;
33108 PyObject
* obj0
= 0 ;
33109 PyObject
* obj1
= 0 ;
33110 char *kwnames
[] = {
33111 (char *) "self",(char *) "pos", NULL
33114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
33115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33116 if (SWIG_arg_fail(1)) SWIG_fail
;
33119 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33123 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
33125 wxPyEndAllowThreads(__tstate
);
33126 if (PyErr_Occurred()) SWIG_fail
;
33128 Py_INCREF(Py_None
); resultobj
= Py_None
;
33135 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33136 PyObject
*resultobj
;
33137 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33139 PyObject
* obj0
= 0 ;
33140 char *kwnames
[] = {
33141 (char *) "self", NULL
33144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
33145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33146 if (SWIG_arg_fail(1)) SWIG_fail
;
33148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33150 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
33151 result
= (wxString
*) &_result_ref
;
33154 wxPyEndAllowThreads(__tstate
);
33155 if (PyErr_Occurred()) SWIG_fail
;
33159 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33161 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33170 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33171 PyObject
*resultobj
;
33172 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33173 wxString
*arg2
= 0 ;
33174 bool temp2
= false ;
33175 PyObject
* obj0
= 0 ;
33176 PyObject
* obj1
= 0 ;
33177 char *kwnames
[] = {
33178 (char *) "self",(char *) "link", NULL
33181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
33182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33183 if (SWIG_arg_fail(1)) SWIG_fail
;
33185 arg2
= wxString_in_helper(obj1
);
33186 if (arg2
== NULL
) SWIG_fail
;
33190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33191 (arg1
)->SetLink((wxString
const &)*arg2
);
33193 wxPyEndAllowThreads(__tstate
);
33194 if (PyErr_Occurred()) SWIG_fail
;
33196 Py_INCREF(Py_None
); resultobj
= Py_None
;
33211 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33212 PyObject
*resultobj
;
33213 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33215 PyObject
* obj0
= 0 ;
33216 char *kwnames
[] = {
33217 (char *) "self", NULL
33220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
33221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33222 if (SWIG_arg_fail(1)) SWIG_fail
;
33224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33226 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
33227 result
= (wxString
*) &_result_ref
;
33230 wxPyEndAllowThreads(__tstate
);
33231 if (PyErr_Occurred()) SWIG_fail
;
33235 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33237 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33246 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33247 PyObject
*resultobj
;
33248 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33249 wxString
*arg2
= 0 ;
33250 bool temp2
= false ;
33251 PyObject
* obj0
= 0 ;
33252 PyObject
* obj1
= 0 ;
33253 char *kwnames
[] = {
33254 (char *) "self",(char *) "target", NULL
33257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
33258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33259 if (SWIG_arg_fail(1)) SWIG_fail
;
33261 arg2
= wxString_in_helper(obj1
);
33262 if (arg2
== NULL
) SWIG_fail
;
33266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33267 (arg1
)->SetTarget((wxString
const &)*arg2
);
33269 wxPyEndAllowThreads(__tstate
);
33270 if (PyErr_Occurred()) SWIG_fail
;
33272 Py_INCREF(Py_None
); resultobj
= Py_None
;
33287 static PyObject
* HelpEvent_swigregister(PyObject
*, PyObject
*args
) {
33289 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33290 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
33292 return Py_BuildValue((char *)"");
33294 static PyObject
*_wrap_new_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33295 PyObject
*resultobj
;
33296 wxWindow
*arg1
= (wxWindow
*) NULL
;
33297 bool arg2
= (bool) true ;
33298 wxContextHelp
*result
;
33299 PyObject
* obj0
= 0 ;
33300 PyObject
* obj1
= 0 ;
33301 char *kwnames
[] = {
33302 (char *) "window",(char *) "doNow", NULL
33305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33308 if (SWIG_arg_fail(1)) SWIG_fail
;
33312 arg2
= (bool)(SWIG_As_bool(obj1
));
33313 if (SWIG_arg_fail(2)) SWIG_fail
;
33317 if (!wxPyCheckForApp()) SWIG_fail
;
33318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33319 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
33321 wxPyEndAllowThreads(__tstate
);
33322 if (PyErr_Occurred()) SWIG_fail
;
33324 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
33331 static PyObject
*_wrap_delete_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33332 PyObject
*resultobj
;
33333 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33334 PyObject
* obj0
= 0 ;
33335 char *kwnames
[] = {
33336 (char *) "self", NULL
33339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
33340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33341 if (SWIG_arg_fail(1)) SWIG_fail
;
33343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33346 wxPyEndAllowThreads(__tstate
);
33347 if (PyErr_Occurred()) SWIG_fail
;
33349 Py_INCREF(Py_None
); resultobj
= Py_None
;
33356 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33357 PyObject
*resultobj
;
33358 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33359 wxWindow
*arg2
= (wxWindow
*) NULL
;
33361 PyObject
* obj0
= 0 ;
33362 PyObject
* obj1
= 0 ;
33363 char *kwnames
[] = {
33364 (char *) "self",(char *) "window", NULL
33367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33369 if (SWIG_arg_fail(1)) SWIG_fail
;
33371 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33372 if (SWIG_arg_fail(2)) SWIG_fail
;
33375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33376 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
33378 wxPyEndAllowThreads(__tstate
);
33379 if (PyErr_Occurred()) SWIG_fail
;
33382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33390 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33391 PyObject
*resultobj
;
33392 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33394 PyObject
* obj0
= 0 ;
33395 char *kwnames
[] = {
33396 (char *) "self", NULL
33399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
33400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33401 if (SWIG_arg_fail(1)) SWIG_fail
;
33403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33404 result
= (bool)(arg1
)->EndContextHelp();
33406 wxPyEndAllowThreads(__tstate
);
33407 if (PyErr_Occurred()) SWIG_fail
;
33410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33418 static PyObject
* ContextHelp_swigregister(PyObject
*, PyObject
*args
) {
33420 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33421 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
33423 return Py_BuildValue((char *)"");
33425 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33426 PyObject
*resultobj
;
33427 wxWindow
*arg1
= (wxWindow
*) 0 ;
33428 int arg2
= (int) wxID_CONTEXT_HELP
;
33429 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33430 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33431 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33432 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33433 long arg5
= (long) wxBU_AUTODRAW
;
33434 wxContextHelpButton
*result
;
33437 PyObject
* obj0
= 0 ;
33438 PyObject
* obj1
= 0 ;
33439 PyObject
* obj2
= 0 ;
33440 PyObject
* obj3
= 0 ;
33441 PyObject
* obj4
= 0 ;
33442 char *kwnames
[] = {
33443 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33448 if (SWIG_arg_fail(1)) SWIG_fail
;
33451 arg2
= (int)(SWIG_As_int(obj1
));
33452 if (SWIG_arg_fail(2)) SWIG_fail
;
33458 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33464 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33469 arg5
= (long)(SWIG_As_long(obj4
));
33470 if (SWIG_arg_fail(5)) SWIG_fail
;
33474 if (!wxPyCheckForApp()) SWIG_fail
;
33475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33476 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
33478 wxPyEndAllowThreads(__tstate
);
33479 if (PyErr_Occurred()) SWIG_fail
;
33481 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
33488 static PyObject
* ContextHelpButton_swigregister(PyObject
*, PyObject
*args
) {
33490 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33491 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
33493 return Py_BuildValue((char *)"");
33495 static PyObject
*_wrap_HelpProvider_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33496 PyObject
*resultobj
;
33497 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33498 wxHelpProvider
*result
;
33499 PyObject
* obj0
= 0 ;
33500 char *kwnames
[] = {
33501 (char *) "helpProvider", NULL
33504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
33505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33506 if (SWIG_arg_fail(1)) SWIG_fail
;
33508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33509 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
33511 wxPyEndAllowThreads(__tstate
);
33512 if (PyErr_Occurred()) SWIG_fail
;
33514 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
33521 static PyObject
*_wrap_HelpProvider_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33522 PyObject
*resultobj
;
33523 wxHelpProvider
*result
;
33524 char *kwnames
[] = {
33528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
33530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33531 result
= (wxHelpProvider
*)wxHelpProvider::Get();
33533 wxPyEndAllowThreads(__tstate
);
33534 if (PyErr_Occurred()) SWIG_fail
;
33536 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
33543 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33544 PyObject
*resultobj
;
33545 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33546 wxWindow
*arg2
= (wxWindow
*) 0 ;
33548 PyObject
* obj0
= 0 ;
33549 PyObject
* obj1
= 0 ;
33550 char *kwnames
[] = {
33551 (char *) "self",(char *) "window", NULL
33554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33556 if (SWIG_arg_fail(1)) SWIG_fail
;
33557 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33558 if (SWIG_arg_fail(2)) SWIG_fail
;
33560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33561 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
33563 wxPyEndAllowThreads(__tstate
);
33564 if (PyErr_Occurred()) SWIG_fail
;
33568 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33570 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33579 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33580 PyObject
*resultobj
;
33581 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33582 wxWindow
*arg2
= (wxWindow
*) 0 ;
33584 PyObject
* obj0
= 0 ;
33585 PyObject
* obj1
= 0 ;
33586 char *kwnames
[] = {
33587 (char *) "self",(char *) "window", NULL
33590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33592 if (SWIG_arg_fail(1)) SWIG_fail
;
33593 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33594 if (SWIG_arg_fail(2)) SWIG_fail
;
33596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33597 result
= (bool)(arg1
)->ShowHelp(arg2
);
33599 wxPyEndAllowThreads(__tstate
);
33600 if (PyErr_Occurred()) SWIG_fail
;
33603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33611 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33612 PyObject
*resultobj
;
33613 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33614 wxWindow
*arg2
= (wxWindow
*) 0 ;
33615 wxString
*arg3
= 0 ;
33616 bool temp3
= false ;
33617 PyObject
* obj0
= 0 ;
33618 PyObject
* obj1
= 0 ;
33619 PyObject
* obj2
= 0 ;
33620 char *kwnames
[] = {
33621 (char *) "self",(char *) "window",(char *) "text", NULL
33624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33626 if (SWIG_arg_fail(1)) SWIG_fail
;
33627 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33628 if (SWIG_arg_fail(2)) SWIG_fail
;
33630 arg3
= wxString_in_helper(obj2
);
33631 if (arg3
== NULL
) SWIG_fail
;
33635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33636 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
33638 wxPyEndAllowThreads(__tstate
);
33639 if (PyErr_Occurred()) SWIG_fail
;
33641 Py_INCREF(Py_None
); resultobj
= Py_None
;
33656 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33657 PyObject
*resultobj
;
33658 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33660 wxString
*arg3
= 0 ;
33661 bool temp3
= false ;
33662 PyObject
* obj0
= 0 ;
33663 PyObject
* obj1
= 0 ;
33664 PyObject
* obj2
= 0 ;
33665 char *kwnames
[] = {
33666 (char *) "self",(char *) "id",(char *) "text", NULL
33669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33671 if (SWIG_arg_fail(1)) SWIG_fail
;
33673 arg2
= (int)(SWIG_As_int(obj1
));
33674 if (SWIG_arg_fail(2)) SWIG_fail
;
33677 arg3
= wxString_in_helper(obj2
);
33678 if (arg3
== NULL
) SWIG_fail
;
33682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33683 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
33685 wxPyEndAllowThreads(__tstate
);
33686 if (PyErr_Occurred()) SWIG_fail
;
33688 Py_INCREF(Py_None
); resultobj
= Py_None
;
33703 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33704 PyObject
*resultobj
;
33705 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33706 wxWindow
*arg2
= (wxWindow
*) 0 ;
33707 PyObject
* obj0
= 0 ;
33708 PyObject
* obj1
= 0 ;
33709 char *kwnames
[] = {
33710 (char *) "self",(char *) "window", NULL
33713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33715 if (SWIG_arg_fail(1)) SWIG_fail
;
33716 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33717 if (SWIG_arg_fail(2)) SWIG_fail
;
33719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33720 (arg1
)->RemoveHelp(arg2
);
33722 wxPyEndAllowThreads(__tstate
);
33723 if (PyErr_Occurred()) SWIG_fail
;
33725 Py_INCREF(Py_None
); resultobj
= Py_None
;
33732 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33733 PyObject
*resultobj
;
33734 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33735 PyObject
* obj0
= 0 ;
33736 char *kwnames
[] = {
33737 (char *) "self", NULL
33740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
33741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33742 if (SWIG_arg_fail(1)) SWIG_fail
;
33744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33745 wxHelpProvider_Destroy(arg1
);
33747 wxPyEndAllowThreads(__tstate
);
33748 if (PyErr_Occurred()) SWIG_fail
;
33750 Py_INCREF(Py_None
); resultobj
= Py_None
;
33757 static PyObject
* HelpProvider_swigregister(PyObject
*, PyObject
*args
) {
33759 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33760 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
33762 return Py_BuildValue((char *)"");
33764 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33765 PyObject
*resultobj
;
33766 wxSimpleHelpProvider
*result
;
33767 char *kwnames
[] = {
33771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
33773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33774 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
33776 wxPyEndAllowThreads(__tstate
);
33777 if (PyErr_Occurred()) SWIG_fail
;
33779 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
33786 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*, PyObject
*args
) {
33788 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33789 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
33791 return Py_BuildValue((char *)"");
33793 static PyObject
*_wrap_new_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33794 PyObject
*resultobj
;
33795 wxBitmap
*arg1
= 0 ;
33796 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33797 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
33798 wxGenericDragImage
*result
;
33799 PyObject
* obj0
= 0 ;
33800 PyObject
* obj1
= 0 ;
33801 char *kwnames
[] = {
33802 (char *) "image",(char *) "cursor", NULL
33805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
33807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
33808 if (SWIG_arg_fail(1)) SWIG_fail
;
33809 if (arg1
== NULL
) {
33810 SWIG_null_ref("wxBitmap");
33812 if (SWIG_arg_fail(1)) SWIG_fail
;
33816 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
33817 if (SWIG_arg_fail(2)) SWIG_fail
;
33818 if (arg2
== NULL
) {
33819 SWIG_null_ref("wxCursor");
33821 if (SWIG_arg_fail(2)) SWIG_fail
;
33825 if (!wxPyCheckForApp()) SWIG_fail
;
33826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33827 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
33829 wxPyEndAllowThreads(__tstate
);
33830 if (PyErr_Occurred()) SWIG_fail
;
33832 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33839 static PyObject
*_wrap_new_DragIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33840 PyObject
*resultobj
;
33842 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33843 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
33844 wxGenericDragImage
*result
;
33845 PyObject
* obj0
= 0 ;
33846 PyObject
* obj1
= 0 ;
33847 char *kwnames
[] = {
33848 (char *) "image",(char *) "cursor", NULL
33851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
33853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
33854 if (SWIG_arg_fail(1)) SWIG_fail
;
33855 if (arg1
== NULL
) {
33856 SWIG_null_ref("wxIcon");
33858 if (SWIG_arg_fail(1)) SWIG_fail
;
33862 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
33863 if (SWIG_arg_fail(2)) SWIG_fail
;
33864 if (arg2
== NULL
) {
33865 SWIG_null_ref("wxCursor");
33867 if (SWIG_arg_fail(2)) SWIG_fail
;
33871 if (!wxPyCheckForApp()) SWIG_fail
;
33872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33873 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
33875 wxPyEndAllowThreads(__tstate
);
33876 if (PyErr_Occurred()) SWIG_fail
;
33878 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33885 static PyObject
*_wrap_new_DragString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33886 PyObject
*resultobj
;
33887 wxString
*arg1
= 0 ;
33888 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33889 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
33890 wxGenericDragImage
*result
;
33891 bool temp1
= false ;
33892 PyObject
* obj0
= 0 ;
33893 PyObject
* obj1
= 0 ;
33894 char *kwnames
[] = {
33895 (char *) "str",(char *) "cursor", NULL
33898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
33900 arg1
= wxString_in_helper(obj0
);
33901 if (arg1
== NULL
) SWIG_fail
;
33906 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
33907 if (SWIG_arg_fail(2)) SWIG_fail
;
33908 if (arg2
== NULL
) {
33909 SWIG_null_ref("wxCursor");
33911 if (SWIG_arg_fail(2)) SWIG_fail
;
33915 if (!wxPyCheckForApp()) SWIG_fail
;
33916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33917 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
33919 wxPyEndAllowThreads(__tstate
);
33920 if (PyErr_Occurred()) SWIG_fail
;
33922 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33937 static PyObject
*_wrap_new_DragTreeItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33938 PyObject
*resultobj
;
33939 wxPyTreeCtrl
*arg1
= 0 ;
33940 wxTreeItemId
*arg2
= 0 ;
33941 wxGenericDragImage
*result
;
33942 PyObject
* obj0
= 0 ;
33943 PyObject
* obj1
= 0 ;
33944 char *kwnames
[] = {
33945 (char *) "treeCtrl",(char *) "id", NULL
33948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33951 if (SWIG_arg_fail(1)) SWIG_fail
;
33952 if (arg1
== NULL
) {
33953 SWIG_null_ref("wxPyTreeCtrl");
33955 if (SWIG_arg_fail(1)) SWIG_fail
;
33958 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
33959 if (SWIG_arg_fail(2)) SWIG_fail
;
33960 if (arg2
== NULL
) {
33961 SWIG_null_ref("wxTreeItemId");
33963 if (SWIG_arg_fail(2)) SWIG_fail
;
33966 if (!wxPyCheckForApp()) SWIG_fail
;
33967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33968 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
33970 wxPyEndAllowThreads(__tstate
);
33971 if (PyErr_Occurred()) SWIG_fail
;
33973 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33980 static PyObject
*_wrap_new_DragListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33981 PyObject
*resultobj
;
33982 wxPyListCtrl
*arg1
= 0 ;
33984 wxGenericDragImage
*result
;
33985 PyObject
* obj0
= 0 ;
33986 PyObject
* obj1
= 0 ;
33987 char *kwnames
[] = {
33988 (char *) "listCtrl",(char *) "id", NULL
33991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33994 if (SWIG_arg_fail(1)) SWIG_fail
;
33995 if (arg1
== NULL
) {
33996 SWIG_null_ref("wxPyListCtrl");
33998 if (SWIG_arg_fail(1)) SWIG_fail
;
34001 arg2
= (long)(SWIG_As_long(obj1
));
34002 if (SWIG_arg_fail(2)) SWIG_fail
;
34005 if (!wxPyCheckForApp()) SWIG_fail
;
34006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34007 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
34009 wxPyEndAllowThreads(__tstate
);
34010 if (PyErr_Occurred()) SWIG_fail
;
34012 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
34019 static PyObject
*_wrap_delete_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34020 PyObject
*resultobj
;
34021 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34022 PyObject
* obj0
= 0 ;
34023 char *kwnames
[] = {
34024 (char *) "self", NULL
34027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
34028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34029 if (SWIG_arg_fail(1)) SWIG_fail
;
34031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34034 wxPyEndAllowThreads(__tstate
);
34035 if (PyErr_Occurred()) SWIG_fail
;
34037 Py_INCREF(Py_None
); resultobj
= Py_None
;
34044 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34045 PyObject
*resultobj
;
34046 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34047 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
34048 PyObject
* obj0
= 0 ;
34049 PyObject
* obj1
= 0 ;
34050 char *kwnames
[] = {
34051 (char *) "self",(char *) "bitmap", NULL
34054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
34055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34056 if (SWIG_arg_fail(1)) SWIG_fail
;
34057 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
34058 if (SWIG_arg_fail(2)) SWIG_fail
;
34060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34061 (arg1
)->SetBackingBitmap(arg2
);
34063 wxPyEndAllowThreads(__tstate
);
34064 if (PyErr_Occurred()) SWIG_fail
;
34066 Py_INCREF(Py_None
); resultobj
= Py_None
;
34073 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34074 PyObject
*resultobj
;
34075 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34076 wxPoint
*arg2
= 0 ;
34077 wxWindow
*arg3
= (wxWindow
*) 0 ;
34078 bool arg4
= (bool) false ;
34079 wxRect
*arg5
= (wxRect
*) NULL
;
34082 PyObject
* obj0
= 0 ;
34083 PyObject
* obj1
= 0 ;
34084 PyObject
* obj2
= 0 ;
34085 PyObject
* obj3
= 0 ;
34086 PyObject
* obj4
= 0 ;
34087 char *kwnames
[] = {
34088 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
34091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34093 if (SWIG_arg_fail(1)) SWIG_fail
;
34096 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34098 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34099 if (SWIG_arg_fail(3)) SWIG_fail
;
34102 arg4
= (bool)(SWIG_As_bool(obj3
));
34103 if (SWIG_arg_fail(4)) SWIG_fail
;
34107 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
34108 if (SWIG_arg_fail(5)) SWIG_fail
;
34111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34112 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
34114 wxPyEndAllowThreads(__tstate
);
34115 if (PyErr_Occurred()) SWIG_fail
;
34118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34126 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34127 PyObject
*resultobj
;
34128 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34129 wxPoint
*arg2
= 0 ;
34130 wxWindow
*arg3
= (wxWindow
*) 0 ;
34131 wxWindow
*arg4
= (wxWindow
*) 0 ;
34134 PyObject
* obj0
= 0 ;
34135 PyObject
* obj1
= 0 ;
34136 PyObject
* obj2
= 0 ;
34137 PyObject
* obj3
= 0 ;
34138 char *kwnames
[] = {
34139 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
34142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34144 if (SWIG_arg_fail(1)) SWIG_fail
;
34147 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34149 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34150 if (SWIG_arg_fail(3)) SWIG_fail
;
34151 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34152 if (SWIG_arg_fail(4)) SWIG_fail
;
34154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34155 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
34157 wxPyEndAllowThreads(__tstate
);
34158 if (PyErr_Occurred()) SWIG_fail
;
34161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34169 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34170 PyObject
*resultobj
;
34171 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34173 PyObject
* obj0
= 0 ;
34174 char *kwnames
[] = {
34175 (char *) "self", NULL
34178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
34179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34180 if (SWIG_arg_fail(1)) SWIG_fail
;
34182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34183 result
= (bool)(arg1
)->EndDrag();
34185 wxPyEndAllowThreads(__tstate
);
34186 if (PyErr_Occurred()) SWIG_fail
;
34189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34197 static PyObject
*_wrap_DragImage_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34198 PyObject
*resultobj
;
34199 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34200 wxPoint
*arg2
= 0 ;
34203 PyObject
* obj0
= 0 ;
34204 PyObject
* obj1
= 0 ;
34205 char *kwnames
[] = {
34206 (char *) "self",(char *) "pt", NULL
34209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
34210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34211 if (SWIG_arg_fail(1)) SWIG_fail
;
34214 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34218 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
34220 wxPyEndAllowThreads(__tstate
);
34221 if (PyErr_Occurred()) SWIG_fail
;
34224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34232 static PyObject
*_wrap_DragImage_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34233 PyObject
*resultobj
;
34234 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34236 PyObject
* obj0
= 0 ;
34237 char *kwnames
[] = {
34238 (char *) "self", NULL
34241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
34242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34243 if (SWIG_arg_fail(1)) SWIG_fail
;
34245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34246 result
= (bool)(arg1
)->Show();
34248 wxPyEndAllowThreads(__tstate
);
34249 if (PyErr_Occurred()) SWIG_fail
;
34252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34260 static PyObject
*_wrap_DragImage_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34261 PyObject
*resultobj
;
34262 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34264 PyObject
* obj0
= 0 ;
34265 char *kwnames
[] = {
34266 (char *) "self", NULL
34269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
34270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34271 if (SWIG_arg_fail(1)) SWIG_fail
;
34273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34274 result
= (bool)(arg1
)->Hide();
34276 wxPyEndAllowThreads(__tstate
);
34277 if (PyErr_Occurred()) SWIG_fail
;
34280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34288 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34289 PyObject
*resultobj
;
34290 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34291 wxPoint
*arg2
= 0 ;
34294 PyObject
* obj0
= 0 ;
34295 PyObject
* obj1
= 0 ;
34296 char *kwnames
[] = {
34297 (char *) "self",(char *) "pos", NULL
34300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
34301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34302 if (SWIG_arg_fail(1)) SWIG_fail
;
34305 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34309 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
34311 wxPyEndAllowThreads(__tstate
);
34312 if (PyErr_Occurred()) SWIG_fail
;
34315 wxRect
* resultptr
;
34316 resultptr
= new wxRect((wxRect
&)(result
));
34317 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
34325 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34326 PyObject
*resultobj
;
34327 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34329 wxPoint
*arg3
= 0 ;
34332 PyObject
* obj0
= 0 ;
34333 PyObject
* obj1
= 0 ;
34334 PyObject
* obj2
= 0 ;
34335 char *kwnames
[] = {
34336 (char *) "self",(char *) "dc",(char *) "pos", NULL
34339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34341 if (SWIG_arg_fail(1)) SWIG_fail
;
34343 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
34344 if (SWIG_arg_fail(2)) SWIG_fail
;
34345 if (arg2
== NULL
) {
34346 SWIG_null_ref("wxDC");
34348 if (SWIG_arg_fail(2)) SWIG_fail
;
34352 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34356 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
34358 wxPyEndAllowThreads(__tstate
);
34359 if (PyErr_Occurred()) SWIG_fail
;
34362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34370 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34371 PyObject
*resultobj
;
34372 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34374 wxMemoryDC
*arg3
= 0 ;
34380 PyObject
* obj0
= 0 ;
34381 PyObject
* obj1
= 0 ;
34382 PyObject
* obj2
= 0 ;
34383 PyObject
* obj3
= 0 ;
34384 PyObject
* obj4
= 0 ;
34385 char *kwnames
[] = {
34386 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
34389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34391 if (SWIG_arg_fail(1)) SWIG_fail
;
34393 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
34394 if (SWIG_arg_fail(2)) SWIG_fail
;
34395 if (arg2
== NULL
) {
34396 SWIG_null_ref("wxDC");
34398 if (SWIG_arg_fail(2)) SWIG_fail
;
34401 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_EXCEPTION
| 0);
34402 if (SWIG_arg_fail(3)) SWIG_fail
;
34403 if (arg3
== NULL
) {
34404 SWIG_null_ref("wxMemoryDC");
34406 if (SWIG_arg_fail(3)) SWIG_fail
;
34410 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34414 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
34417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34418 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
34420 wxPyEndAllowThreads(__tstate
);
34421 if (PyErr_Occurred()) SWIG_fail
;
34424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34432 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34433 PyObject
*resultobj
;
34434 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34435 wxPoint
*arg2
= 0 ;
34436 wxPoint
*arg3
= 0 ;
34442 PyObject
* obj0
= 0 ;
34443 PyObject
* obj1
= 0 ;
34444 PyObject
* obj2
= 0 ;
34445 PyObject
* obj3
= 0 ;
34446 PyObject
* obj4
= 0 ;
34447 char *kwnames
[] = {
34448 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
34451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34453 if (SWIG_arg_fail(1)) SWIG_fail
;
34456 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34460 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34463 arg4
= (bool)(SWIG_As_bool(obj3
));
34464 if (SWIG_arg_fail(4)) SWIG_fail
;
34467 arg5
= (bool)(SWIG_As_bool(obj4
));
34468 if (SWIG_arg_fail(5)) SWIG_fail
;
34471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34472 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
34474 wxPyEndAllowThreads(__tstate
);
34475 if (PyErr_Occurred()) SWIG_fail
;
34478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34486 static PyObject
* DragImage_swigregister(PyObject
*, PyObject
*args
) {
34488 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34489 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
34491 return Py_BuildValue((char *)"");
34493 static PyMethodDef SwigMethods
[] = {
34494 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34495 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34496 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34497 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34498 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34499 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34500 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
34501 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34502 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34503 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34504 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34505 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34506 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34507 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34508 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34509 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34510 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34511 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34512 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34513 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34514 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34515 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
34516 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34517 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34518 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34519 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34520 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34521 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34522 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34523 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34524 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34525 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34526 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34527 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
34528 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34529 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34530 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34531 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34532 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34533 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34534 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34535 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
34536 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34537 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34538 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34539 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34540 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34541 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34542 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34543 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34544 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34545 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34546 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34547 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34548 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34549 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34550 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34551 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34552 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34553 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34554 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34555 { (char *)"ComboBox_IsEditable", (PyCFunction
) _wrap_ComboBox_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34556 { (char *)"ComboBox_Undo", (PyCFunction
) _wrap_ComboBox_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34557 { (char *)"ComboBox_Redo", (PyCFunction
) _wrap_ComboBox_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34558 { (char *)"ComboBox_SelectAll", (PyCFunction
) _wrap_ComboBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34559 { (char *)"ComboBox_CanCopy", (PyCFunction
) _wrap_ComboBox_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34560 { (char *)"ComboBox_CanCut", (PyCFunction
) _wrap_ComboBox_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34561 { (char *)"ComboBox_CanPaste", (PyCFunction
) _wrap_ComboBox_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34562 { (char *)"ComboBox_CanUndo", (PyCFunction
) _wrap_ComboBox_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34563 { (char *)"ComboBox_CanRedo", (PyCFunction
) _wrap_ComboBox_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34564 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34565 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
34566 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34567 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34568 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34569 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34570 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34571 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34572 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34573 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34574 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34575 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34576 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34577 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34578 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34579 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
34580 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34581 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34582 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34583 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34584 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
34585 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34586 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34587 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34588 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34589 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34590 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34591 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
34592 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34593 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34594 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34595 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34596 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
34597 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34598 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34599 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34600 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34601 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34602 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34603 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34604 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
34605 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34606 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34607 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34608 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34609 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34610 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34611 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34612 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34613 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34614 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34615 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34616 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34617 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34618 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34619 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34620 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34621 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34622 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34623 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34624 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34625 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34626 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34627 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
34628 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34629 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34630 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34631 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34632 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34633 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34634 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34635 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34636 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
34637 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34638 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34639 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34640 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34641 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34642 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34643 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34644 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34645 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34646 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34647 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34648 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34649 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34650 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34651 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34652 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34653 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34654 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34655 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34656 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34657 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34658 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34659 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34660 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34661 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34662 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
) _wrap_TextAttr_GetLeftSubIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34663 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34664 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34665 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34666 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34667 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
34668 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34669 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34670 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34671 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34672 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34673 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34674 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34675 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34676 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34677 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34678 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34679 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34680 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34681 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34682 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34683 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34684 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34685 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34686 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34687 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34688 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34689 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34690 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34691 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34692 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34693 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34694 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34695 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34696 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34697 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34698 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34699 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34700 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34701 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34702 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34703 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34704 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34705 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34706 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34707 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34708 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34709 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34710 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34711 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34712 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34713 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34714 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34715 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34716 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34717 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34718 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34719 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34720 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34721 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34722 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34723 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
34724 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34725 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34726 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34727 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34728 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
34729 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34730 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34731 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34732 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34733 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34734 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34735 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34736 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34737 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34738 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34739 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34740 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
34741 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34742 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34743 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34744 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34745 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34746 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34747 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34748 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34749 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34750 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34751 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34752 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34753 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
34754 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34755 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34756 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34757 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34758 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34759 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34760 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34761 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34762 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34763 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34764 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34765 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
34766 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34767 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34768 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34769 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
34770 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34771 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34772 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34773 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34774 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34775 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34776 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34777 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34778 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34779 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34780 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34781 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34782 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34783 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34784 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34785 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34786 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34787 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
34788 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34789 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34790 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34791 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34792 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34793 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34794 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
34795 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34796 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34797 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34798 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34799 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34800 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34801 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34802 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34803 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34804 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34805 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34806 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34807 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34808 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34809 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34810 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34811 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34812 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34813 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34814 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34815 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34816 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34817 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34818 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34819 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34820 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
34821 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34822 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34823 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34824 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34825 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34826 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34827 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34828 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
34829 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
) _wrap_BookCtrlBase_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34830 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34831 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34832 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
) _wrap_BookCtrlBase_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34833 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34834 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34835 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34836 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34837 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
) _wrap_BookCtrlBase_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34838 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34839 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34840 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34841 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34842 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34843 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34844 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
) _wrap_BookCtrlBase_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34845 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34846 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34847 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34848 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34849 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34850 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
34851 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34852 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34853 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34854 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34855 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34856 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
34857 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34858 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34859 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34860 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34861 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34862 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34863 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34864 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34865 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
) _wrap_Notebook_GetThemeBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34866 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34867 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
34868 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34869 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
34870 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34871 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34872 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34873 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34874 { (char *)"Listbook_GetListView", (PyCFunction
) _wrap_Listbook_GetListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34875 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
34876 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34877 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
34878 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34879 { (char *)"new_PreChoicebook", (PyCFunction
) _wrap_new_PreChoicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34880 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34881 { (char *)"Choicebook_IsVertical", (PyCFunction
) _wrap_Choicebook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34882 { (char *)"Choicebook_DeleteAllPages", (PyCFunction
) _wrap_Choicebook_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34883 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
34884 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34885 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
34886 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34887 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34888 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34889 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34890 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
, NULL
},
34891 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34892 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34893 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34894 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34895 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
, NULL
},
34896 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34897 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34898 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34899 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34900 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34901 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34902 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34903 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34904 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34905 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34906 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34907 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34908 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34909 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34910 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34911 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34912 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34913 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34914 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34915 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34916 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34917 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34918 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34919 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34920 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34921 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34922 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34923 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34924 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34925 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
34926 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34927 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34928 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34929 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34930 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34931 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34932 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34933 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34934 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34935 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34936 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34937 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34938 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34939 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34940 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34941 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34942 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34943 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34944 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34945 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34946 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34947 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34948 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34949 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34950 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34951 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34952 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34953 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34954 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34955 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34956 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34957 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34958 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34959 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34960 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34961 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34962 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34963 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34964 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34965 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34966 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34967 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34968 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34969 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34970 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
34971 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34972 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34973 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34974 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34975 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34976 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
34977 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34978 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34979 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34980 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34981 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34982 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34983 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34984 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34985 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34986 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34987 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34988 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
34989 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34990 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34991 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34992 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34993 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34994 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34995 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34996 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34997 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34998 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34999 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35000 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35001 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35002 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35003 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35004 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35005 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35006 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35007 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35008 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35009 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35010 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35011 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35012 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35013 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35014 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35015 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35016 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35017 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35018 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35019 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35020 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35021 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35022 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35023 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35024 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35025 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35026 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35027 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35028 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35029 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35030 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35031 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35032 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35033 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35034 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35035 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35036 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35037 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35038 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35039 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35040 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
35041 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35042 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35043 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35044 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35045 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35046 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35047 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35048 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35049 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35050 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35051 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35052 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35053 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35054 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35055 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35056 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35057 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35058 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35059 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35060 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35061 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35062 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35063 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35064 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35065 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35066 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35067 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
35068 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35069 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35070 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35071 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35072 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35073 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35074 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35075 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35076 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35077 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35078 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35079 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35080 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35081 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35082 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35083 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35084 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35085 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35086 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35087 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35088 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35089 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35090 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35091 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35092 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35093 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35094 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35095 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35096 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35097 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35098 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35099 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35100 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35101 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35102 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35103 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35104 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35105 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35106 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35107 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35108 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35109 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35110 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35111 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35112 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35113 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35114 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35115 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35116 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35117 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35118 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35119 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35120 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35121 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35122 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35123 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35124 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35125 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35126 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35127 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35128 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35129 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35130 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35131 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35132 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35133 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35134 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35135 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35136 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35137 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35138 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
35139 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35140 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35141 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35142 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35143 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35144 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35145 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35146 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35147 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35148 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35149 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35150 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
35151 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35152 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35153 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35154 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35155 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35156 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35157 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35158 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
35159 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35160 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35161 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35162 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35163 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35164 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35165 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
35166 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35167 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35168 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35169 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35170 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35171 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35172 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35173 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35174 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35175 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35176 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35177 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35178 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35179 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35180 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35181 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
35182 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35183 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35184 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35185 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35186 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35187 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35188 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35189 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35190 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35191 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35192 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35193 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35194 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35195 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35196 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35197 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35198 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35199 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35200 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35201 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35202 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35203 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35204 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35205 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35206 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35207 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35208 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35209 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35210 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35211 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35212 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35213 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35214 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35215 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35216 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35217 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35218 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35219 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35220 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35221 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35222 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35223 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35224 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35225 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35226 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35227 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35228 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35229 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35230 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35231 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35232 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35233 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35234 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35235 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35236 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35237 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35238 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35239 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35240 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35241 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35242 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35243 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35244 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35245 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35246 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35247 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35248 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35249 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35250 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35251 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35252 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35253 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35254 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35255 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35256 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35257 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
35258 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35259 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35260 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35261 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35262 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35263 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35264 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35265 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35266 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35267 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35268 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35269 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35270 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35271 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35272 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35273 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35274 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35275 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35276 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35277 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35278 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35279 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
35280 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35281 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35282 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35283 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35284 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
35285 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35286 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35287 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35288 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35289 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35290 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35291 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35292 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35293 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35294 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35295 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35296 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35297 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35298 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35299 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35300 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35301 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35302 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35303 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35304 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35305 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35306 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35307 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35308 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyControl_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35309 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyControl_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35310 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
35311 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35312 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35313 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35314 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35315 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35316 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35317 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35318 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
35319 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35320 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35321 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35322 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35323 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
35324 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35325 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
35326 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35327 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35328 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35329 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35330 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35331 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35332 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35333 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35334 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
35335 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35336 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
35337 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35338 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35339 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35340 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35341 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35342 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35343 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35344 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35345 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35346 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35347 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35348 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35349 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35350 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35351 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35352 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35353 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35354 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
35355 { NULL
, NULL
, 0, NULL
}
35359 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
35361 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
35362 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
35364 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
35365 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
35367 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
35368 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
35370 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
35371 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
35373 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
35374 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
35376 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
35377 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
35379 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
35380 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
35382 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
35383 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
35385 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
35386 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
35388 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
35389 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
35391 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
35392 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
35394 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
35395 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
35397 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
35398 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
35400 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
35401 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
35403 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
35404 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
35406 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
35407 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
35409 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
35410 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
35412 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
35413 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
35415 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
35416 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
35418 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
35419 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
35421 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
35422 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
35424 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
35425 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
35427 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
35428 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
35430 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
35431 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
35433 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
35434 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
35436 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
35437 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
35439 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
35440 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
35442 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
35443 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
35445 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
35446 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
35448 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
35449 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
35451 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
35452 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
35454 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
35455 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
35457 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
35458 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
35460 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
35461 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
35463 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
35464 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
35466 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
35467 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
35469 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
35470 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
35472 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
35473 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
35475 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
35476 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
35478 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
35479 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
35481 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
35482 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
35484 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
35485 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
35487 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
35488 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
35490 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
35491 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
35493 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
35494 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
35496 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
35497 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
35499 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
35500 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
35502 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
35503 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
35505 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
35506 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
35508 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
35509 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
35511 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
35512 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
35514 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
35515 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
35517 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
35518 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
35520 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
35521 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
35523 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
35524 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
35526 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
35527 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
35529 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
35530 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
35532 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
35533 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
35535 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
35536 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
35538 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
35539 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
35541 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
35542 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
35544 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
35545 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
35547 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
35548 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
35550 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
35551 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
35553 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
35554 return (void *)((wxControl
*) ((wxPyControl
*) x
));
35556 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
35557 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
35559 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
35560 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
35562 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
35563 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
35565 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
35566 return (void *)((wxControl
*) ((wxComboBox
*) x
));
35568 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
35569 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
35571 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
35572 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
35574 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
35575 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
35577 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
35578 return (void *)((wxControl
*) ((wxGauge
*) x
));
35580 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
35581 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
35583 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
35584 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
35586 static void *_p_wxListbookTo_p_wxControl(void *x
) {
35587 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
35589 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
35590 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
35592 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
35593 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
35595 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
35596 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
35598 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
35599 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
35601 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
35602 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
35604 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
35605 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
35607 static void *_p_wxListViewTo_p_wxControl(void *x
) {
35608 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
35610 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
35611 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
35613 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
35614 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
35616 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
35617 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
35619 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
35620 return (void *)((wxControl
*) ((wxStaticText
*) x
));
35622 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
35623 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
35625 static void *_p_wxSliderTo_p_wxControl(void *x
) {
35626 return (void *)((wxControl
*) ((wxSlider
*) x
));
35628 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
35629 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
35631 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
35632 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
35634 static void *_p_wxButtonTo_p_wxControl(void *x
) {
35635 return (void *)((wxControl
*) ((wxButton
*) x
));
35637 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
35638 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
35640 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
35641 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
35643 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
35644 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
35646 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
35647 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
35649 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
35650 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
35652 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
35653 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
35655 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
35656 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
35658 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
35659 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
35661 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
35662 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
35664 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
35665 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
35667 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
35668 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
35670 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
35671 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
35673 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
35674 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
35676 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
35677 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
35679 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
35680 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
35682 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
35683 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
35685 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
35686 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
35688 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
35689 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
35691 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
35692 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
35694 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
35695 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
35697 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
35698 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
35700 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
35701 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
35703 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
35704 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
35706 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
35707 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
35709 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
35710 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
35712 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
35713 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
35715 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
35716 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
35718 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
35719 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
35721 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
35722 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
35724 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
35725 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
35727 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
35728 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
35730 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
35731 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
35733 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
35734 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
35736 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
35737 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
35739 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
35740 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
35742 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
35743 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
35745 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
35746 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
35748 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
35749 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
35751 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
35752 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
35754 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
35755 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
35757 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
35758 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
35760 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
35761 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
35763 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
35764 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
35766 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
35767 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
35769 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
35770 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
35772 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
35773 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
35775 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
35776 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
35778 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
35779 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
35781 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
35782 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
35784 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
35785 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
35787 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
35788 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
35790 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
35791 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
35793 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
35794 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
35796 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
35797 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
35799 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
35800 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
35802 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
35803 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
35805 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
35806 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
35808 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
35809 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
35811 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
35812 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
35814 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
35815 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
35817 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
35818 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
35820 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
35821 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
35823 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
35824 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
35826 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
35827 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
35829 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
35830 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
35832 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
35833 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
35835 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
35836 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
35838 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
35839 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
35841 static void *_p_wxSizerTo_p_wxObject(void *x
) {
35842 return (void *)((wxObject
*) ((wxSizer
*) x
));
35844 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
35845 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
35847 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
35848 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
35850 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
35851 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
35853 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
35854 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
35856 static void *_p_wxEventTo_p_wxObject(void *x
) {
35857 return (void *)((wxObject
*) ((wxEvent
*) x
));
35859 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
35860 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
35862 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
35863 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
35865 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
35866 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
35868 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
35869 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
35871 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
35872 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
35874 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
35875 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
35877 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
35878 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
35880 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
35881 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
35883 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
35884 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
35886 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
35887 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
35889 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
35890 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
35892 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
35893 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
35895 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
35896 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
35898 static void *_p_wxControlTo_p_wxObject(void *x
) {
35899 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
35901 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
35902 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
35904 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
35905 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
35907 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
35908 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
35910 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
35911 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
35913 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
35914 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
35916 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
35917 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
35919 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
35920 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
35922 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
35923 return (void *)((wxObject
*) ((wxFSFile
*) x
));
35925 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
35926 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
35928 static void *_p_wxListViewTo_p_wxObject(void *x
) {
35929 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
35931 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
35932 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
35934 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
35935 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
35937 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
35938 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
35940 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
35941 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
35943 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
35944 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
35946 static void *_p_wxListbookTo_p_wxObject(void *x
) {
35947 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
35949 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
35950 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
35952 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
35953 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
35955 static void *_p_wxSliderTo_p_wxObject(void *x
) {
35956 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
35958 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
35959 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
35961 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
35962 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
35964 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
35965 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
35967 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
35968 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
35970 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
35971 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
35973 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
35974 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
35976 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
35977 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
35979 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
35980 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
35982 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
35983 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
35985 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
35986 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
35988 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
35989 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
35991 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
35992 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
35994 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
35995 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
35997 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
35998 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
36000 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
36001 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
36003 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
36004 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
36006 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
36007 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
36009 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
36010 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
36012 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
36013 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
36015 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
36016 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
36018 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
36019 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
36021 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
36022 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
36024 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
36025 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
36027 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
36028 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
36030 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
36031 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
36033 static void *_p_wxListEventTo_p_wxObject(void *x
) {
36034 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
36036 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
36037 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36039 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
36040 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36042 static void *_p_wxButtonTo_p_wxObject(void *x
) {
36043 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
36045 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
36046 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36048 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
36049 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
36051 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
36052 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36054 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
36055 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
36057 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
36058 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
36060 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
36061 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
36063 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
36064 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
36066 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
36067 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
36069 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
36070 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
36072 static void *_p_wxListItemTo_p_wxObject(void *x
) {
36073 return (void *)((wxObject
*) ((wxListItem
*) x
));
36075 static void *_p_wxImageTo_p_wxObject(void *x
) {
36076 return (void *)((wxObject
*) ((wxImage
*) x
));
36078 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
36079 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
36081 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
36082 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
36084 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
36085 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36087 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
36088 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
36090 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
36091 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
36093 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
36094 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36096 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
36097 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36099 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
36100 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36102 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
36103 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36105 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
36106 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
36108 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
36109 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
36111 static void *_p_wxWindowTo_p_wxObject(void *x
) {
36112 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
36114 static void *_p_wxMenuTo_p_wxObject(void *x
) {
36115 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
36117 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
36118 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
36120 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
36121 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
36123 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
36124 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36126 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
36127 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
36129 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
36130 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
36132 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
36133 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
36135 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
36136 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
36138 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
36139 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
36141 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
36142 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36144 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
36145 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36147 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
36148 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36150 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
36151 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
36153 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
36154 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
36156 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
36157 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
36159 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
36160 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
36162 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
36163 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36165 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
36166 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
36168 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
36169 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
36171 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
36172 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36174 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
36175 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
36177 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
36178 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
36180 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
36181 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
36183 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
36184 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
36186 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
36187 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
36189 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
36190 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36192 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
36193 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
36195 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
36196 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
36198 static void *_p_wxControlTo_p_wxWindow(void *x
) {
36199 return (void *)((wxWindow
*) ((wxControl
*) x
));
36201 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
36202 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
36204 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
36205 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36207 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
36208 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
36210 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
36211 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
36213 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
36214 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
36216 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
36217 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
36219 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
36220 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
36222 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
36223 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
36225 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
36226 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
36228 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
36229 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
36231 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
36232 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36234 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
36235 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36237 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
36238 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
36240 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
36241 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
36243 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
36244 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
36246 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
36247 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36249 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
36250 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36252 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
36253 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36255 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
36256 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36258 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
36259 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36261 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
36262 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
36264 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
36265 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
36267 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
36268 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
36270 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
36271 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
36273 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
36274 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
36276 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
36277 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
36279 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
36280 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
36282 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
36283 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36285 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
36286 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36288 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
36289 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
36291 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36292 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36294 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36295 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36297 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36298 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36300 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
36301 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36303 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
36304 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
36306 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
36307 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
36309 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
36310 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36312 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
36313 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36315 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
36316 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36318 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
36319 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36321 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
36322 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36324 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
36325 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36327 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
36328 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36330 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
36331 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
36333 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
36334 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36336 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
36337 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36339 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
36340 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36342 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
36343 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
36345 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
36346 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36348 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
36349 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36351 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
36352 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36354 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
36355 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
36357 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
36358 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
36360 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
36361 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
36363 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
36364 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
36366 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}};
36367 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}};
36368 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}};
36369 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}};
36370 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}};
36371 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}};
36372 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}};
36373 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}};
36374 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}};
36375 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}};
36376 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}};
36377 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}};
36378 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}};
36379 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}};
36380 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}};
36381 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}};
36382 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}};
36383 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}};
36384 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}};
36385 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}};
36386 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}};
36387 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}};
36388 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}};
36389 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}};
36390 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}};
36391 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}};
36392 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}};
36393 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}};
36394 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}};
36395 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}};
36396 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}};
36397 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}};
36398 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}};
36399 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}};
36400 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}};
36401 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}};
36402 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}};
36403 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}};
36404 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}};
36405 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}};
36406 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}};
36407 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}};
36408 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}};
36409 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}};
36410 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}};
36411 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}};
36412 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}};
36413 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}};
36414 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}};
36415 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}};
36416 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}};
36417 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}};
36418 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}};
36419 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}};
36420 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}};
36421 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}};
36422 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}};
36423 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}};
36424 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}};
36425 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}};
36426 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}};
36427 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}};
36428 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}};
36429 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}};
36430 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}};
36431 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}};
36432 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}};
36433 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}};
36434 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}};
36435 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}};
36436 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}};
36437 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}};
36438 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}};
36439 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}};
36440 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}};
36441 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}};
36442 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}};
36443 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}};
36444 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}};
36445 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}};
36446 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}};
36447 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}};
36448 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}};
36449 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}};
36450 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}};
36451 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}};
36452 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}};
36453 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}};
36454 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}};
36455 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}};
36456 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}};
36457 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}};
36458 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}};
36459 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}};
36460 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}};
36461 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}};
36463 static swig_type_info
*swig_types_initial
[] = {
36464 _swigt__p_wxTextUrlEvent
,
36466 _swigt__p_wxCheckBox
,
36467 _swigt__p_wxPyTreeCtrl
,
36469 _swigt__p_wxGenericDirCtrl
,
36471 _swigt__p_wxItemContainer
,
36472 _swigt__p_wxPyListCtrl
,
36473 _swigt__p_wxPyTreeItemData
,
36474 _swigt__p_wxDirFilterListCtrl
,
36475 _swigt__p_wxStaticLine
,
36476 _swigt__p_wxControl
,
36477 _swigt__p_wxPyControl
,
36479 _swigt__p_wxToolBarBase
,
36481 _swigt__p_wxToggleButton
,
36482 _swigt__p_wxRadioButton
,
36483 _swigt__p_wxChoice
,
36484 _swigt__p_wxMemoryDC
,
36486 _swigt__std__ptrdiff_t
,
36487 _swigt__p_wxListItemAttr
,
36492 _swigt__p_wxListView
,
36494 _swigt__p_wxVisualAttributes
,
36495 _swigt__p_wxTextCtrl
,
36496 _swigt__p_wxNotebook
,
36497 _swigt__p_wxChoicebook
,
36498 _swigt__p_wxNotifyEvent
,
36499 _swigt__p_wxArrayString
,
36500 _swigt__p_form_ops_t
,
36501 _swigt__p_wxListbook
,
36502 _swigt__p_wxStaticBitmap
,
36503 _swigt__p_wxSlider
,
36504 _swigt__p_wxStaticBox
,
36505 _swigt__p_wxArrayInt
,
36506 _swigt__p_wxContextHelp
,
36508 _swigt__p_wxDuplexMode
,
36509 _swigt__p_wxBookCtrlBase
,
36510 _swigt__p_wxEvtHandler
,
36511 _swigt__p_wxListEvent
,
36512 _swigt__p_wxCheckListBox
,
36513 _swigt__p_wxListBox
,
36514 _swigt__p_wxSpinButton
,
36515 _swigt__p_wxButton
,
36516 _swigt__p_wxBitmapButton
,
36518 _swigt__p_wxContextHelpButton
,
36519 _swigt__p_wxRadioBox
,
36520 _swigt__p_wxScrollBar
,
36522 _swigt__p_wxComboBox
,
36523 _swigt__p_wxTreeItemId
,
36524 _swigt__p_wxHelpEvent
,
36525 _swigt__p_wxListItem
,
36526 _swigt__p_wxNotebookSizer
,
36527 _swigt__p_wxSpinEvent
,
36528 _swigt__p_wxGenericDragImage
,
36529 _swigt__p_wxSpinCtrl
,
36530 _swigt__p_wxPaperSize
,
36531 _swigt__p_wxImageList
,
36532 _swigt__p_wxHelpProvider
,
36533 _swigt__p_wxTextAttr
,
36534 _swigt__p_wxSimpleHelpProvider
,
36535 _swigt__p_wxChoicebookEvent
,
36536 _swigt__p_wxListbookEvent
,
36537 _swigt__p_wxNotebookEvent
,
36539 _swigt__p_wxObject
,
36540 _swigt__p_wxCursor
,
36541 _swigt__p_wxKeyEvent
,
36542 _swigt__p_unsigned_long
,
36543 _swigt__p_wxWindow
,
36544 _swigt__p_wxString
,
36545 _swigt__p_wxBitmap
,
36546 _swigt__unsigned_int
,
36547 _swigt__p_unsigned_int
,
36548 _swigt__p_unsigned_char
,
36549 _swigt__p_wxMouseEvent
,
36550 _swigt__p_wxBookCtrlBaseEvent
,
36551 _swigt__p_wxTreeEvent
,
36552 _swigt__p_wxCommandEvent
,
36553 _swigt__p_wxStaticText
,
36554 _swigt__p_wxControlWithItems
,
36555 _swigt__p_wxToolBarToolBase
,
36556 _swigt__p_wxColour
,
36557 _swigt__p_wxToolBar
,
36558 _swigt__p_wxBookCtrlSizer
,
36559 _swigt__p_wxValidator
,
36564 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
36566 static swig_const_info swig_const_table
[] = {
36567 {0, 0, 0, 0.0, 0, 0}};
36578 /* Python-specific SWIG API */
36579 #define SWIG_newvarlink() SWIG_Python_newvarlink()
36580 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
36581 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
36583 /* -----------------------------------------------------------------------------
36584 * global variable support code.
36585 * ----------------------------------------------------------------------------- */
36587 typedef struct swig_globalvar
{
36588 char *name
; /* Name of global variable */
36589 PyObject
*(*get_attr
)(); /* Return the current value */
36590 int (*set_attr
)(PyObject
*); /* Set the value */
36591 struct swig_globalvar
*next
;
36594 typedef struct swig_varlinkobject
{
36596 swig_globalvar
*vars
;
36597 } swig_varlinkobject
;
36600 swig_varlink_repr(swig_varlinkobject
*v
) {
36602 return PyString_FromString("<Swig global variables>");
36606 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
36607 swig_globalvar
*var
;
36609 fprintf(fp
,"Swig global variables { ");
36610 for (var
= v
->vars
; var
; var
=var
->next
) {
36611 fprintf(fp
,"%s", var
->name
);
36612 if (var
->next
) fprintf(fp
,", ");
36614 fprintf(fp
," }\n");
36619 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
36620 swig_globalvar
*var
= v
->vars
;
36622 if (strcmp(var
->name
,n
) == 0) {
36623 return (*var
->get_attr
)();
36627 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
36632 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
36633 swig_globalvar
*var
= v
->vars
;
36635 if (strcmp(var
->name
,n
) == 0) {
36636 return (*var
->set_attr
)(p
);
36640 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
36644 static PyTypeObject varlinktype
= {
36645 PyObject_HEAD_INIT(0)
36646 0, /* Number of items in variable part (ob_size) */
36647 (char *)"swigvarlink", /* Type name (tp_name) */
36648 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
36649 0, /* Itemsize (tp_itemsize) */
36650 0, /* Deallocator (tp_dealloc) */
36651 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
36652 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
36653 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
36654 0, /* tp_compare */
36655 (reprfunc
) swig_varlink_repr
, /* tp_repr */
36656 0, /* tp_as_number */
36657 0, /* tp_as_sequence */
36658 0, /* tp_as_mapping */
36662 0, /* tp_getattro */
36663 0, /* tp_setattro */
36664 0, /* tp_as_buffer */
36667 #if PY_VERSION_HEX >= 0x02000000
36668 0, /* tp_traverse */
36671 #if PY_VERSION_HEX >= 0x02010000
36672 0, /* tp_richcompare */
36673 0, /* tp_weaklistoffset */
36675 #if PY_VERSION_HEX >= 0x02020000
36676 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
36678 #if PY_VERSION_HEX >= 0x02030000
36681 #ifdef COUNT_ALLOCS
36682 0,0,0,0 /* tp_alloc -> tp_next */
36686 /* Create a variable linking object for use later */
36688 SWIG_Python_newvarlink(void) {
36689 swig_varlinkobject
*result
= 0;
36690 result
= PyMem_NEW(swig_varlinkobject
,1);
36691 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
36692 result
->ob_type
= &varlinktype
;
36694 result
->ob_refcnt
= 0;
36695 Py_XINCREF((PyObject
*) result
);
36696 return ((PyObject
*) result
);
36700 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
36701 swig_varlinkobject
*v
;
36702 swig_globalvar
*gv
;
36703 v
= (swig_varlinkobject
*) p
;
36704 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
36705 gv
->name
= (char *) malloc(strlen(name
)+1);
36706 strcpy(gv
->name
,name
);
36707 gv
->get_attr
= get_attr
;
36708 gv
->set_attr
= set_attr
;
36709 gv
->next
= v
->vars
;
36713 /* -----------------------------------------------------------------------------
36714 * constants/methods manipulation
36715 * ----------------------------------------------------------------------------- */
36717 /* Install Constants */
36719 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
36722 for (i
= 0; constants
[i
].type
; i
++) {
36723 switch(constants
[i
].type
) {
36725 obj
= PyInt_FromLong(constants
[i
].lvalue
);
36727 case SWIG_PY_FLOAT
:
36728 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
36730 case SWIG_PY_STRING
:
36731 if (constants
[i
].pvalue
) {
36732 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
36734 Py_INCREF(Py_None
);
36738 case SWIG_PY_POINTER
:
36739 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
36741 case SWIG_PY_BINARY
:
36742 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
36749 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
36755 /* -----------------------------------------------------------------------------*/
36756 /* Fix SwigMethods to carry the callback ptrs when needed */
36757 /* -----------------------------------------------------------------------------*/
36760 SWIG_Python_FixMethods(PyMethodDef
*methods
,
36761 swig_const_info
*const_table
,
36762 swig_type_info
**types
,
36763 swig_type_info
**types_initial
) {
36765 for (i
= 0; methods
[i
].ml_name
; ++i
) {
36766 char *c
= methods
[i
].ml_doc
;
36767 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
36769 swig_const_info
*ci
= 0;
36770 char *name
= c
+ 10;
36771 for (j
= 0; const_table
[j
].type
; j
++) {
36772 if (strncmp(const_table
[j
].name
, name
,
36773 strlen(const_table
[j
].name
)) == 0) {
36774 ci
= &(const_table
[j
]);
36779 size_t shift
= (ci
->ptype
) - types
;
36780 swig_type_info
*ty
= types_initial
[shift
];
36781 size_t ldoc
= (c
- methods
[i
].ml_doc
);
36782 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
36783 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
36785 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
36786 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
36788 strncpy(buff
, "swig_ptr: ", 10);
36790 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
36791 methods
[i
].ml_doc
= ndoc
;
36797 /* -----------------------------------------------------------------------------*
36798 * Initialize type list
36799 * -----------------------------------------------------------------------------*/
36801 #if PY_MAJOR_VERSION < 2
36802 /* PyModule_AddObject function was introduced in Python 2.0. The following function
36803 is copied out of Python/modsupport.c in python version 2.3.4 */
36805 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
36808 if (!PyModule_Check(m
)) {
36809 PyErr_SetString(PyExc_TypeError
,
36810 "PyModule_AddObject() needs module as first arg");
36814 PyErr_SetString(PyExc_TypeError
,
36815 "PyModule_AddObject() needs non-NULL value");
36819 dict
= PyModule_GetDict(m
);
36820 if (dict
== NULL
) {
36821 /* Internal error -- modules must have a dict! */
36822 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
36823 PyModule_GetName(m
));
36826 if (PyDict_SetItemString(dict
, name
, o
))
36833 static swig_type_info
**
36834 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
36835 static PyMethodDef swig_empty_runtime_method_table
[] = {
36837 NULL
, NULL
, 0, NULL
36841 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
36842 swig_empty_runtime_method_table
);
36843 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
36844 if (pointer
&& module) {
36845 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
36847 return type_list_handle
;
36850 static swig_type_info
**
36851 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
36852 swig_type_info
**type_pointer
;
36854 /* first check if module already created */
36855 type_pointer
= SWIG_Python_GetTypeListHandle();
36856 if (type_pointer
) {
36857 return type_pointer
;
36859 /* create a new module and variable */
36860 return SWIG_Python_SetTypeListHandle(type_list_handle
);
36868 /* -----------------------------------------------------------------------------*
36869 * Partial Init method
36870 * -----------------------------------------------------------------------------*/
36872 #ifdef SWIG_LINK_RUNTIME
36876 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
36882 SWIGEXPORT(void) SWIG_init(void) {
36883 static PyObject
*SWIG_globals
= 0;
36884 static int typeinit
= 0;
36887 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
36889 /* Fix SwigMethods to carry the callback ptrs when needed */
36890 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
36892 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
36893 d
= PyModule_GetDict(m
);
36896 #ifdef SWIG_LINK_RUNTIME
36897 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
36899 # ifndef SWIG_STATIC_RUNTIME
36900 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
36903 for (i
= 0; swig_types_initial
[i
]; i
++) {
36904 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
36908 SWIG_InstallConstants(d
,swig_const_table
);
36910 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
36911 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
36913 PyDict_SetItemString(d
,"BU_LEFT", SWIG_From_int((int)(wxBU_LEFT
)));
36916 PyDict_SetItemString(d
,"BU_TOP", SWIG_From_int((int)(wxBU_TOP
)));
36919 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_From_int((int)(wxBU_RIGHT
)));
36922 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_From_int((int)(wxBU_BOTTOM
)));
36925 PyDict_SetItemString(d
,"BU_ALIGN_MASK", SWIG_From_int((int)(wxBU_ALIGN_MASK
)));
36928 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_From_int((int)(wxBU_EXACTFIT
)));
36931 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_From_int((int)(wxBU_AUTODRAW
)));
36933 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
36935 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_From_int((int)(wxCHK_2STATE
)));
36938 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_From_int((int)(wxCHK_3STATE
)));
36941 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int((int)(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
36944 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_From_int((int)(wxCHK_UNCHECKED
)));
36947 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_From_int((int)(wxCHK_CHECKED
)));
36950 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_From_int((int)(wxCHK_UNDETERMINED
)));
36952 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
36953 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
36954 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
36956 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_From_int((int)(wxGA_HORIZONTAL
)));
36959 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_From_int((int)(wxGA_VERTICAL
)));
36962 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_From_int((int)(wxGA_SMOOTH
)));
36965 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_From_int((int)(wxGA_PROGRESSBAR
)));
36967 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
36968 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
36969 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
36970 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
36971 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
36973 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_From_int((int)(wxTE_NO_VSCROLL
)));
36976 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_From_int((int)(wxTE_AUTO_SCROLL
)));
36979 PyDict_SetItemString(d
,"TE_READONLY", SWIG_From_int((int)(wxTE_READONLY
)));
36982 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_From_int((int)(wxTE_MULTILINE
)));
36985 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_From_int((int)(wxTE_PROCESS_TAB
)));
36988 PyDict_SetItemString(d
,"TE_LEFT", SWIG_From_int((int)(wxTE_LEFT
)));
36991 PyDict_SetItemString(d
,"TE_CENTER", SWIG_From_int((int)(wxTE_CENTER
)));
36994 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_From_int((int)(wxTE_RIGHT
)));
36997 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_From_int((int)(wxTE_CENTRE
)));
37000 PyDict_SetItemString(d
,"TE_RICH", SWIG_From_int((int)(wxTE_RICH
)));
37003 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_From_int((int)(wxTE_PROCESS_ENTER
)));
37006 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_From_int((int)(wxTE_PASSWORD
)));
37009 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_From_int((int)(wxTE_AUTO_URL
)));
37012 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_From_int((int)(wxTE_NOHIDESEL
)));
37015 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_From_int((int)(wxTE_DONTWRAP
)));
37018 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_From_int((int)(wxTE_LINEWRAP
)));
37021 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_From_int((int)(wxTE_WORDWRAP
)));
37024 PyDict_SetItemString(d
,"TE_RICH2", SWIG_From_int((int)(wxTE_RICH2
)));
37027 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_DEFAULT
)));
37030 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_LEFT
)));
37033 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTRE
)));
37036 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTER
)));
37039 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_RIGHT
)));
37042 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)(wxTEXT_ALIGNMENT_JUSTIFIED
)));
37045 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_TEXT_COLOUR
)));
37048 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
37051 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_FACE
)));
37054 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_SIZE
)));
37057 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)(wxTEXT_ATTR_FONT_WEIGHT
)));
37060 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)(wxTEXT_ATTR_FONT_ITALIC
)));
37063 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_UNDERLINE
)));
37066 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_From_int((int)(wxTEXT_ATTR_FONT
)));
37069 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)(wxTEXT_ATTR_ALIGNMENT
)));
37072 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_LEFT_INDENT
)));
37075 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_RIGHT_INDENT
)));
37078 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_From_int((int)(wxTEXT_ATTR_TABS
)));
37081 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_From_int((int)(wxTE_HT_UNKNOWN
)));
37084 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_From_int((int)(wxTE_HT_BEFORE
)));
37087 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_From_int((int)(wxTE_HT_ON_TEXT
)));
37090 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_From_int((int)(wxTE_HT_BELOW
)));
37093 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_From_int((int)(wxTE_HT_BEYOND
)));
37096 PyDict_SetItemString(d
,"OutOfRangeTextCoord", SWIG_From_int((int)(wxOutOfRangeTextCoord
)));
37099 PyDict_SetItemString(d
,"InvalidTextCoord", SWIG_From_int((int)(wxInvalidTextCoord
)));
37101 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
37102 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
37103 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
37104 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
37105 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
37106 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
37107 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
37109 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_From_int((int)(wxSP_HORIZONTAL
)));
37112 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_From_int((int)(wxSP_VERTICAL
)));
37115 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_From_int((int)(wxSP_ARROW_KEYS
)));
37118 PyDict_SetItemString(d
,"SP_WRAP", SWIG_From_int((int)(wxSP_WRAP
)));
37120 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
37121 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
37122 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
37123 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
37125 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_From_int((int)(wxSL_HORIZONTAL
)));
37128 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_From_int((int)(wxSL_VERTICAL
)));
37131 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_From_int((int)(wxSL_AUTOTICKS
)));
37134 PyDict_SetItemString(d
,"SL_LABELS", SWIG_From_int((int)(wxSL_LABELS
)));
37137 PyDict_SetItemString(d
,"SL_LEFT", SWIG_From_int((int)(wxSL_LEFT
)));
37140 PyDict_SetItemString(d
,"SL_TOP", SWIG_From_int((int)(wxSL_TOP
)));
37143 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_From_int((int)(wxSL_RIGHT
)));
37146 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_From_int((int)(wxSL_BOTTOM
)));
37149 PyDict_SetItemString(d
,"SL_BOTH", SWIG_From_int((int)(wxSL_BOTH
)));
37152 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_From_int((int)(wxSL_SELRANGE
)));
37155 PyDict_SetItemString(d
,"SL_INVERSE", SWIG_From_int((int)(wxSL_INVERSE
)));
37157 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
37158 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
37159 SWIG_addvarlink(SWIG_globals
,(char*)"NotebookNameStr",_wrap_NotebookNameStr_get
, _wrap_NotebookNameStr_set
);
37161 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_From_int((int)(wxNB_FIXEDWIDTH
)));
37164 PyDict_SetItemString(d
,"NB_TOP", SWIG_From_int((int)(wxNB_TOP
)));
37167 PyDict_SetItemString(d
,"NB_LEFT", SWIG_From_int((int)(wxNB_LEFT
)));
37170 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_From_int((int)(wxNB_RIGHT
)));
37173 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_From_int((int)(wxNB_BOTTOM
)));
37176 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_From_int((int)(wxNB_MULTILINE
)));
37179 PyDict_SetItemString(d
,"NB_NOPAGETHEME", SWIG_From_int((int)(wxNB_NOPAGETHEME
)));
37182 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_From_int((int)(wxNB_HITTEST_NOWHERE
)));
37185 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_From_int((int)(wxNB_HITTEST_ONICON
)));
37188 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_From_int((int)(wxNB_HITTEST_ONLABEL
)));
37191 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_From_int((int)(wxNB_HITTEST_ONITEM
)));
37193 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
37194 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
37196 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_From_int((int)(wxLB_DEFAULT
)));
37199 PyDict_SetItemString(d
,"LB_TOP", SWIG_From_int((int)(wxLB_TOP
)));
37202 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_From_int((int)(wxLB_BOTTOM
)));
37205 PyDict_SetItemString(d
,"LB_LEFT", SWIG_From_int((int)(wxLB_LEFT
)));
37208 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_From_int((int)(wxLB_RIGHT
)));
37211 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_From_int((int)(wxLB_ALIGN_MASK
)));
37213 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
37214 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
37216 PyDict_SetItemString(d
,"CHB_DEFAULT", SWIG_From_int((int)(wxCHB_DEFAULT
)));
37219 PyDict_SetItemString(d
,"CHB_TOP", SWIG_From_int((int)(wxCHB_TOP
)));
37222 PyDict_SetItemString(d
,"CHB_BOTTOM", SWIG_From_int((int)(wxCHB_BOTTOM
)));
37225 PyDict_SetItemString(d
,"CHB_LEFT", SWIG_From_int((int)(wxCHB_LEFT
)));
37228 PyDict_SetItemString(d
,"CHB_RIGHT", SWIG_From_int((int)(wxCHB_RIGHT
)));
37231 PyDict_SetItemString(d
,"CHB_ALIGN_MASK", SWIG_From_int((int)(wxCHB_ALIGN_MASK
)));
37233 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
37234 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
37236 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_From_int((int)(wxTOOL_STYLE_BUTTON
)));
37239 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_From_int((int)(wxTOOL_STYLE_SEPARATOR
)));
37242 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_From_int((int)(wxTOOL_STYLE_CONTROL
)));
37245 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_From_int((int)(wxTB_HORIZONTAL
)));
37248 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_From_int((int)(wxTB_VERTICAL
)));
37251 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_From_int((int)(wxTB_3DBUTTONS
)));
37254 PyDict_SetItemString(d
,"TB_FLAT", SWIG_From_int((int)(wxTB_FLAT
)));
37257 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_From_int((int)(wxTB_DOCKABLE
)));
37260 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_From_int((int)(wxTB_NOICONS
)));
37263 PyDict_SetItemString(d
,"TB_TEXT", SWIG_From_int((int)(wxTB_TEXT
)));
37266 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_From_int((int)(wxTB_NODIVIDER
)));
37269 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_From_int((int)(wxTB_NOALIGN
)));
37272 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_From_int((int)(wxTB_HORZ_LAYOUT
)));
37275 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_From_int((int)(wxTB_HORZ_TEXT
)));
37277 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
37279 PyDict_SetItemString(d
,"LC_VRULES", SWIG_From_int((int)(wxLC_VRULES
)));
37282 PyDict_SetItemString(d
,"LC_HRULES", SWIG_From_int((int)(wxLC_HRULES
)));
37285 PyDict_SetItemString(d
,"LC_ICON", SWIG_From_int((int)(wxLC_ICON
)));
37288 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_From_int((int)(wxLC_SMALL_ICON
)));
37291 PyDict_SetItemString(d
,"LC_LIST", SWIG_From_int((int)(wxLC_LIST
)));
37294 PyDict_SetItemString(d
,"LC_REPORT", SWIG_From_int((int)(wxLC_REPORT
)));
37297 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_From_int((int)(wxLC_ALIGN_TOP
)));
37300 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_From_int((int)(wxLC_ALIGN_LEFT
)));
37303 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_From_int((int)(wxLC_AUTOARRANGE
)));
37306 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_From_int((int)(wxLC_VIRTUAL
)));
37309 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_From_int((int)(wxLC_EDIT_LABELS
)));
37312 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_From_int((int)(wxLC_NO_HEADER
)));
37315 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_From_int((int)(wxLC_NO_SORT_HEADER
)));
37318 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_From_int((int)(wxLC_SINGLE_SEL
)));
37321 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_From_int((int)(wxLC_SORT_ASCENDING
)));
37324 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_From_int((int)(wxLC_SORT_DESCENDING
)));
37327 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_From_int((int)(wxLC_MASK_TYPE
)));
37330 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_From_int((int)(wxLC_MASK_ALIGN
)));
37333 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_From_int((int)(wxLC_MASK_SORT
)));
37336 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_From_int((int)(wxLIST_MASK_STATE
)));
37339 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_From_int((int)(wxLIST_MASK_TEXT
)));
37342 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_From_int((int)(wxLIST_MASK_IMAGE
)));
37345 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_From_int((int)(wxLIST_MASK_DATA
)));
37348 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_From_int((int)(wxLIST_SET_ITEM
)));
37351 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_From_int((int)(wxLIST_MASK_WIDTH
)));
37354 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_From_int((int)(wxLIST_MASK_FORMAT
)));
37357 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_From_int((int)(wxLIST_STATE_DONTCARE
)));
37360 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_From_int((int)(wxLIST_STATE_DROPHILITED
)));
37363 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_From_int((int)(wxLIST_STATE_FOCUSED
)));
37366 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_From_int((int)(wxLIST_STATE_SELECTED
)));
37369 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_From_int((int)(wxLIST_STATE_CUT
)));
37372 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_From_int((int)(wxLIST_STATE_DISABLED
)));
37375 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_From_int((int)(wxLIST_STATE_FILTERED
)));
37378 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_From_int((int)(wxLIST_STATE_INUSE
)));
37381 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_From_int((int)(wxLIST_STATE_PICKED
)));
37384 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_From_int((int)(wxLIST_STATE_SOURCE
)));
37387 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_From_int((int)(wxLIST_HITTEST_ABOVE
)));
37390 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_From_int((int)(wxLIST_HITTEST_BELOW
)));
37393 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_From_int((int)(wxLIST_HITTEST_NOWHERE
)));
37396 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMICON
)));
37399 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMLABEL
)));
37402 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMRIGHT
)));
37405 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMSTATEICON
)));
37408 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_From_int((int)(wxLIST_HITTEST_TOLEFT
)));
37411 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_From_int((int)(wxLIST_HITTEST_TORIGHT
)));
37414 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_From_int((int)(wxLIST_HITTEST_ONITEM
)));
37417 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_From_int((int)(wxLIST_NEXT_ABOVE
)));
37420 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_From_int((int)(wxLIST_NEXT_ALL
)));
37423 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_From_int((int)(wxLIST_NEXT_BELOW
)));
37426 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_From_int((int)(wxLIST_NEXT_LEFT
)));
37429 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_From_int((int)(wxLIST_NEXT_RIGHT
)));
37432 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_From_int((int)(wxLIST_ALIGN_DEFAULT
)));
37435 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_From_int((int)(wxLIST_ALIGN_LEFT
)));
37438 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_From_int((int)(wxLIST_ALIGN_TOP
)));
37441 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int((int)(wxLIST_ALIGN_SNAP_TO_GRID
)));
37444 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_From_int((int)(wxLIST_FORMAT_LEFT
)));
37447 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_From_int((int)(wxLIST_FORMAT_RIGHT
)));
37450 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_From_int((int)(wxLIST_FORMAT_CENTRE
)));
37453 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_From_int((int)(wxLIST_FORMAT_CENTER
)));
37456 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_From_int((int)(wxLIST_AUTOSIZE
)));
37459 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int((int)(wxLIST_AUTOSIZE_USEHEADER
)));
37462 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_From_int((int)(wxLIST_RECT_BOUNDS
)));
37465 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_From_int((int)(wxLIST_RECT_ICON
)));
37468 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_From_int((int)(wxLIST_RECT_LABEL
)));
37471 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_From_int((int)(wxLIST_FIND_UP
)));
37474 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_From_int((int)(wxLIST_FIND_DOWN
)));
37477 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_From_int((int)(wxLIST_FIND_LEFT
)));
37480 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_From_int((int)(wxLIST_FIND_RIGHT
)));
37482 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
37483 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
37484 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
37485 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
37486 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
37487 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
37488 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
37489 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
37490 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
37491 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
37492 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
37493 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
37494 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
37495 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
37496 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
37497 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
37498 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
37499 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
37500 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
37501 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
37502 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
37503 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
37505 // Map renamed classes back to their common name for OOR
37506 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
37508 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
37510 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_From_int((int)(wxTR_NO_BUTTONS
)));
37513 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_From_int((int)(wxTR_HAS_BUTTONS
)));
37516 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_From_int((int)(wxTR_NO_LINES
)));
37519 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_From_int((int)(wxTR_LINES_AT_ROOT
)));
37522 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_From_int((int)(wxTR_SINGLE
)));
37525 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_From_int((int)(wxTR_MULTIPLE
)));
37528 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_From_int((int)(wxTR_EXTENDED
)));
37531 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int((int)(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
37534 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_From_int((int)(wxTR_EDIT_LABELS
)));
37537 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_From_int((int)(wxTR_HIDE_ROOT
)));
37540 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_From_int((int)(wxTR_ROW_LINES
)));
37543 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int((int)(wxTR_FULL_ROW_HIGHLIGHT
)));
37546 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_From_int((int)(wxTR_DEFAULT_STYLE
)));
37549 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_From_int((int)(wxTR_TWIST_BUTTONS
)));
37552 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_From_int((int)(wxTR_MAC_BUTTONS
)));
37555 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_From_int((int)(wxTR_AQUA_BUTTONS
)));
37558 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_From_int((int)(wxTreeItemIcon_Normal
)));
37561 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_From_int((int)(wxTreeItemIcon_Selected
)));
37564 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_From_int((int)(wxTreeItemIcon_Expanded
)));
37567 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)(wxTreeItemIcon_SelectedExpanded
)));
37570 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_From_int((int)(wxTreeItemIcon_Max
)));
37573 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_From_int((int)(wxTREE_HITTEST_ABOVE
)));
37576 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_From_int((int)(wxTREE_HITTEST_BELOW
)));
37579 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_From_int((int)(wxTREE_HITTEST_NOWHERE
)));
37582 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMBUTTON
)));
37585 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMICON
)));
37588 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMINDENT
)));
37591 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLABEL
)));
37594 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMRIGHT
)));
37597 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMSTATEICON
)));
37600 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_From_int((int)(wxTREE_HITTEST_TOLEFT
)));
37603 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_From_int((int)(wxTREE_HITTEST_TORIGHT
)));
37606 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMUPPERPART
)));
37609 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLOWERPART
)));
37612 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_From_int((int)(wxTREE_HITTEST_ONITEM
)));
37614 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
37615 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
37616 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
37617 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
37618 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
37619 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
37620 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
37621 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
37622 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
37623 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
37624 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
37625 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
37626 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
37627 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
37628 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
37629 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
37630 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
37631 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
37632 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
37633 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
37634 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
37636 // Map renamed classes back to their common name for OOR
37637 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
37638 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
37640 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
37642 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_From_int((int)(wxDIRCTRL_DIR_ONLY
)));
37645 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_From_int((int)(wxDIRCTRL_SELECT_FIRST
)));
37648 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_From_int((int)(wxDIRCTRL_SHOW_FILTERS
)));
37651 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_From_int((int)(wxDIRCTRL_3D_INTERNAL
)));
37654 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_From_int((int)(wxDIRCTRL_EDIT_LABELS
)));
37657 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_From_int((int)(wxFRAME_EX_CONTEXTHELP
)));
37660 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_From_int((int)(wxDIALOG_EX_CONTEXTHELP
)));
37662 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
37663 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
37665 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");