1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1045 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1047 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1051 SWIGRUNTIMEINLINE
void
1052 SWIG_Python_NullRef(const char *type
)
1055 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1057 PyErr_Format(PyExc_TypeError
, "null reference was received");
1062 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1064 if (PyErr_Occurred()) {
1066 PyObject
*value
= 0;
1067 PyObject
*traceback
= 0;
1068 PyErr_Fetch(&type
, &value
, &traceback
);
1070 PyObject
*old_str
= PyObject_Str(value
);
1074 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1076 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1087 SWIG_Python_ArgFail(int argnum
)
1089 if (PyErr_Occurred()) {
1090 /* add information about failing argument */
1092 sprintf(mesg
, "argument number %d:", argnum
);
1093 return SWIG_Python_AddErrMesg(mesg
, 1);
1100 /* -----------------------------------------------------------------------------
1101 * pointers/data manipulation
1102 * ----------------------------------------------------------------------------- */
1104 /* Convert a pointer value */
1106 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1109 static PyObject
*SWIG_this
= 0;
1111 PyObject
*pyobj
= 0;
1115 if (obj
== Py_None
) {
1120 #ifdef SWIG_COBJECT_TYPES
1121 if (!(PySwigObject_Check(obj
))) {
1123 SWIG_this
= PyString_FromString("this");
1125 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1127 if (!obj
) goto type_error
;
1128 if (!PySwigObject_Check(obj
)) {
1133 vptr
= PySwigObject_AsVoidPtr(obj
);
1134 c
= (const char *) PySwigObject_GetDesc(obj
);
1135 if (newref
) { Py_DECREF(obj
); }
1138 if (!(PyString_Check(obj
))) {
1140 SWIG_this
= PyString_FromString("this");
1142 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1144 if (!obj
) goto type_error
;
1145 if (!PyString_Check(obj
)) {
1150 c
= PyString_AS_STRING(obj
);
1151 /* Pointer values must start with leading underscore */
1152 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1153 if (newref
) { Py_DECREF(obj
); }
1154 if (!c
) goto type_error
;
1160 tc
= SWIG_TypeCheck(c
,ty
);
1161 if (!tc
) goto type_error
;
1162 *ptr
= SWIG_TypeCast(tc
,vptr
);
1167 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1168 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1174 if (pyobj
&& !obj
) {
1176 if (PyCFunction_Check(obj
)) {
1177 /* here we get the method pointer for callbacks */
1178 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1179 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1181 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1182 if (!c
) goto type_error
;
1187 if (flags
& SWIG_POINTER_EXCEPTION
) {
1189 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1191 SWIG_Python_TypeError("C/C++ pointer", obj
);
1197 /* Convert a pointer value, signal an exception on a type mismatch */
1199 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1201 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1203 if (flags
& SWIG_POINTER_EXCEPTION
) {
1204 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1205 SWIG_Python_ArgFail(argnum
);
1211 /* Convert a packed value value */
1213 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1217 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1218 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1220 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1221 c
= PyString_AS_STRING(obj
);
1222 /* Pointer values must start with leading underscore */
1223 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1225 if (!c
) goto type_error
;
1227 tc
= SWIG_TypeCheck(c
,ty
);
1228 if (!tc
) goto type_error
;
1234 if (flags
& SWIG_POINTER_EXCEPTION
) {
1236 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1238 SWIG_Python_TypeError("C/C++ packed data", obj
);
1244 /* Create a new array object */
1245 SWIGRUNTIME PyObject
*
1246 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1252 #ifdef SWIG_COBJECT_TYPES
1253 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1256 char result
[SWIG_BUFFER_SIZE
];
1257 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1258 PyString_FromString(result
) : 0;
1261 if (!robj
|| (robj
== Py_None
)) return robj
;
1262 if (type
->clientdata
) {
1264 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1266 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1270 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1278 SWIGRUNTIME PyObject
*
1279 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1285 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1286 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1289 char result
[SWIG_BUFFER_SIZE
];
1290 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1291 PyString_FromString(result
) : 0;
1297 /* -----------------------------------------------------------------------------*
1299 * -----------------------------------------------------------------------------*/
1301 #ifdef SWIG_LINK_RUNTIME
1302 void *SWIG_ReturnGlobalTypeList(void *);
1305 SWIGRUNTIME swig_type_info
**
1306 SWIG_Python_GetTypeListHandle() {
1307 static void *type_pointer
= (void *)0;
1308 /* first check if module already created */
1309 if (!type_pointer
) {
1310 #ifdef SWIG_LINK_RUNTIME
1311 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1313 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1314 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1315 if (PyErr_Occurred()) {
1317 type_pointer
= (void *)0;
1321 return (swig_type_info
**) type_pointer
;
1325 Search for a swig_type_info structure
1327 SWIGRUNTIMEINLINE swig_type_info
*
1328 SWIG_Python_GetTypeList() {
1329 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1330 return tlh
? *tlh
: (swig_type_info
*)0;
1333 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1340 /* -------- TYPES TABLE (BEGIN) -------- */
1342 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
1343 #define SWIGTYPE_p_wxCheckBox swig_types[1]
1344 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[2]
1345 #define SWIGTYPE_p_wxEvent swig_types[3]
1346 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[4]
1347 #define SWIGTYPE_p_bool swig_types[5]
1348 #define SWIGTYPE_p_wxItemContainer swig_types[6]
1349 #define SWIGTYPE_p_wxPyListCtrl swig_types[7]
1350 #define SWIGTYPE_p_wxPyTreeItemData swig_types[8]
1351 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[9]
1352 #define SWIGTYPE_p_wxStaticLine swig_types[10]
1353 #define SWIGTYPE_p_wxControl swig_types[11]
1354 #define SWIGTYPE_p_wxPyControl swig_types[12]
1355 #define SWIGTYPE_p_wxGauge swig_types[13]
1356 #define SWIGTYPE_p_wxToolBarBase swig_types[14]
1357 #define SWIGTYPE_p_wxFont swig_types[15]
1358 #define SWIGTYPE_p_wxToggleButton swig_types[16]
1359 #define SWIGTYPE_p_wxRadioButton swig_types[17]
1360 #define SWIGTYPE_p_wxChoice swig_types[18]
1361 #define SWIGTYPE_p_wxMemoryDC swig_types[19]
1362 #define SWIGTYPE_ptrdiff_t swig_types[20]
1363 #define SWIGTYPE_std__ptrdiff_t swig_types[21]
1364 #define SWIGTYPE_p_wxListItemAttr swig_types[22]
1365 #define SWIGTYPE_p_void swig_types[23]
1366 #define SWIGTYPE_p_int swig_types[24]
1367 #define SWIGTYPE_p_wxSize swig_types[25]
1368 #define SWIGTYPE_p_wxDC swig_types[26]
1369 #define SWIGTYPE_p_wxListView swig_types[27]
1370 #define SWIGTYPE_p_wxIcon swig_types[28]
1371 #define SWIGTYPE_p_wxVisualAttributes swig_types[29]
1372 #define SWIGTYPE_p_wxTextCtrl swig_types[30]
1373 #define SWIGTYPE_p_wxNotebook swig_types[31]
1374 #define SWIGTYPE_p_wxChoicebook swig_types[32]
1375 #define SWIGTYPE_p_wxNotifyEvent swig_types[33]
1376 #define SWIGTYPE_p_wxArrayString swig_types[34]
1377 #define SWIGTYPE_p_form_ops_t swig_types[35]
1378 #define SWIGTYPE_p_wxListbook swig_types[36]
1379 #define SWIGTYPE_p_wxStaticBitmap swig_types[37]
1380 #define SWIGTYPE_p_wxSlider swig_types[38]
1381 #define SWIGTYPE_p_wxStaticBox swig_types[39]
1382 #define SWIGTYPE_p_wxArrayInt swig_types[40]
1383 #define SWIGTYPE_p_wxContextHelp swig_types[41]
1384 #define SWIGTYPE_p_long swig_types[42]
1385 #define SWIGTYPE_p_wxDuplexMode swig_types[43]
1386 #define SWIGTYPE_p_wxBookCtrlBase swig_types[44]
1387 #define SWIGTYPE_p_wxEvtHandler swig_types[45]
1388 #define SWIGTYPE_p_wxListEvent swig_types[46]
1389 #define SWIGTYPE_p_wxCheckListBox swig_types[47]
1390 #define SWIGTYPE_p_wxListBox swig_types[48]
1391 #define SWIGTYPE_p_wxSpinButton swig_types[49]
1392 #define SWIGTYPE_p_wxButton swig_types[50]
1393 #define SWIGTYPE_p_wxBitmapButton swig_types[51]
1394 #define SWIGTYPE_p_wxRect swig_types[52]
1395 #define SWIGTYPE_p_wxContextHelpButton swig_types[53]
1396 #define SWIGTYPE_p_wxRadioBox swig_types[54]
1397 #define SWIGTYPE_p_wxScrollBar swig_types[55]
1398 #define SWIGTYPE_p_char swig_types[56]
1399 #define SWIGTYPE_p_wxComboBox swig_types[57]
1400 #define SWIGTYPE_p_wxTreeItemId swig_types[58]
1401 #define SWIGTYPE_p_wxHelpEvent swig_types[59]
1402 #define SWIGTYPE_p_wxListItem swig_types[60]
1403 #define SWIGTYPE_p_wxSpinEvent swig_types[61]
1404 #define SWIGTYPE_p_wxGenericDragImage swig_types[62]
1405 #define SWIGTYPE_p_wxSpinCtrl swig_types[63]
1406 #define SWIGTYPE_p_wxPaperSize swig_types[64]
1407 #define SWIGTYPE_p_wxImageList swig_types[65]
1408 #define SWIGTYPE_p_wxHelpProvider swig_types[66]
1409 #define SWIGTYPE_p_wxTextAttr swig_types[67]
1410 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[68]
1411 #define SWIGTYPE_p_wxChoicebookEvent swig_types[69]
1412 #define SWIGTYPE_p_wxListbookEvent swig_types[70]
1413 #define SWIGTYPE_p_wxNotebookEvent swig_types[71]
1414 #define SWIGTYPE_p_wxPoint swig_types[72]
1415 #define SWIGTYPE_p_wxObject swig_types[73]
1416 #define SWIGTYPE_p_wxCursor swig_types[74]
1417 #define SWIGTYPE_p_wxDateTime swig_types[75]
1418 #define SWIGTYPE_p_wxKeyEvent swig_types[76]
1419 #define SWIGTYPE_p_unsigned_long swig_types[77]
1420 #define SWIGTYPE_p_wxWindow swig_types[78]
1421 #define SWIGTYPE_p_wxString swig_types[79]
1422 #define SWIGTYPE_p_wxBitmap swig_types[80]
1423 #define SWIGTYPE_unsigned_int swig_types[81]
1424 #define SWIGTYPE_p_unsigned_int swig_types[82]
1425 #define SWIGTYPE_p_unsigned_char swig_types[83]
1426 #define SWIGTYPE_p_wxMouseEvent swig_types[84]
1427 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[85]
1428 #define SWIGTYPE_p_wxTreeEvent swig_types[86]
1429 #define SWIGTYPE_p_wxCommandEvent swig_types[87]
1430 #define SWIGTYPE_p_wxStaticText swig_types[88]
1431 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[89]
1432 #define SWIGTYPE_p_wxControlWithItems swig_types[90]
1433 #define SWIGTYPE_p_wxToolBarToolBase swig_types[91]
1434 #define SWIGTYPE_p_wxColour swig_types[92]
1435 #define SWIGTYPE_p_wxToolBar swig_types[93]
1436 #define SWIGTYPE_p_wxValidator swig_types[94]
1437 static swig_type_info
*swig_types
[96];
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
1631 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1637 } else if (target
== Py_None
) {
1641 if (!PyTuple_Check(target
)) {
1643 target
= PyTuple_New(1);
1644 PyTuple_SetItem(target
, 0, o2
);
1646 o3
= PyTuple_New(1);
1647 PyTuple_SetItem(o3
, 0, o
);
1650 target
= PySequence_Concat(o2
, o3
);
1658 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
1659 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
1660 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
1661 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
1663 #include <wx/checklst.h>
1666 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
1667 static void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
1669 wxPyClientData
* data
= new wxPyClientData(clientData
);
1670 self
->Insert(item
, pos
, data
);
1672 self
->Insert(item
, pos
);
1674 static PyObject
*wxListBox_GetSelections(wxListBox
*self
){
1676 self
->GetSelections(lst
);
1677 PyObject
*tup
= PyTuple_New(lst
.GetCount());
1678 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
1679 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
1683 static void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
1685 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1686 self
->GetItem(item
)->SetTextColour(c
);
1689 static void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
1691 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1692 self
->GetItem(item
)->SetBackgroundColour(c
);
1695 static void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
1697 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1698 self
->GetItem(item
)->SetFont(f
);
1701 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
1704 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1707 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1708 SWIG_type_error("unsigned number", obj
);
1711 *val
= (unsigned long)v
;
1716 SWIGINTERNSHORT
unsigned long
1717 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1720 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1722 this is needed to make valgrind/purify happier.
1724 memset((void*)&v
, 0, sizeof(unsigned long));
1731 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1733 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1736 static void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
1737 self
->AppendText(text
);
1739 static wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
1740 return self
->GetValue().Mid(from
, to
- from
);
1742 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
1743 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
1744 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
1745 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
1746 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
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 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1837 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
1838 PyObject
* result
= PyEval_CallObject(func
, args
);
1841 retval
= PyInt_AsLong(result
);
1845 wxPyEndBlockThreads(blocked
);
1849 // C++ Version of a Python aware class
1850 class wxPyListCtrl
: public wxListCtrl
{
1851 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
1853 wxPyListCtrl() : wxListCtrl() {}
1854 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
1858 const wxValidator
& validator
,
1859 const wxString
& name
) :
1860 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
1862 bool Create(wxWindow
* parent
, wxWindowID id
,
1866 const wxValidator
& validator
,
1867 const wxString
& name
) {
1868 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
1871 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
1872 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
1874 // use the virtual version to avoid a confusing assert in the base class
1875 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
1880 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
1882 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
1883 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
1884 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
1887 static wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
1889 item
.SetMask( wxLIST_MASK_STATE
|
1897 if (self
->GetColumn(col
, item
))
1898 return new wxListItem(item
);
1902 static wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
1903 wxListItem
* info
= new wxListItem
;
1904 info
->m_itemId
= itemId
;
1906 info
->m_mask
= 0xFFFF;
1907 self
->GetItem(*info
);
1910 static wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
1912 self
->GetItemPosition(item
, pos
);
1915 static wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
1917 self
->GetItemRect(item
, rect
, code
);
1921 static bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
1922 if (!PyCallable_Check(func
))
1924 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
1926 static wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
1930 return (wxWindow
*)self
->m_mainWin
;
1934 #include <wx/treectrl.h>
1935 #include "wx/wxPython/pytree.h"
1937 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
1938 static bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
1939 static bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
1940 static void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
1941 // C++ version of Python aware wxTreeCtrl
1942 class wxPyTreeCtrl
: public wxTreeCtrl
{
1943 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
1945 wxPyTreeCtrl() : wxTreeCtrl() {}
1946 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
1950 const wxValidator
& validator
,
1951 const wxString
& name
) :
1952 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
1954 bool Create(wxWindow
*parent
, wxWindowID id
,
1958 const wxValidator
& validator
,
1959 const wxString
& name
) {
1960 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
1964 int OnCompareItems(const wxTreeItemId
& item1
,
1965 const wxTreeItemId
& item2
) {
1968 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1969 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
1970 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
1971 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
1972 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
1976 wxPyEndBlockThreads(blocked
);
1978 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
1984 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
1988 #if UINT_MAX < LONG_MAX
1989 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1990 #define SWIG_From_unsigned_SS_int SWIG_From_long
1993 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1994 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2000 SWIG_CheckUnsignedLongInRange(unsigned long value
,
2001 unsigned long max_value
,
2004 if (value
> max_value
) {
2006 PyErr_Format(PyExc_OverflowError
,
2007 "value %lu is greater than '%s' minimum %lu",
2008 value
, errmsg
, max_value
);
2016 #if UINT_MAX != ULONG_MAX
2018 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2020 const char* errmsg
= val
? "unsigned int" : (char*)0;
2022 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2023 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
2024 if (val
) *val
= (unsigned int)(v
);
2031 SWIG_type_error(errmsg
, obj
);
2036 SWIGINTERNSHORT
unsigned int
2037 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2039 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
2044 SWIGINTERNSHORT
unsigned int
2045 SWIG_As_unsigned_SS_int(PyObject
* obj
)
2048 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
2050 this is needed to make valgrind/purify happier.
2052 memset((void*)&v
, 0, sizeof(unsigned int));
2059 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
2061 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
2064 static wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2065 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2067 data
= new wxPyTreeItemData();
2068 data
->SetId(item
); // set the id
2069 self
->SetItemData(item
, data
);
2073 static PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2074 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2076 data
= new wxPyTreeItemData();
2077 data
->SetId(item
); // set the id
2078 self
->SetItemData(item
, data
);
2080 return data
->GetData();
2082 static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
2083 data
->SetId(item
); // set the id
2084 self
->SetItemData(item
, data
);
2086 static void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
2087 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2089 data
= new wxPyTreeItemData(obj
);
2090 data
->SetId(item
); // set the id
2091 self
->SetItemData(item
, data
);
2095 static PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
2096 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2097 PyObject
* rval
= PyList_New(0);
2098 wxArrayTreeItemIds array
;
2100 num
= self
->GetSelections(array
);
2101 for (x
=0; x
< num
; x
++) {
2102 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
2103 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
2104 PyList_Append(rval
, item
);
2107 wxPyEndBlockThreads(blocked
);
2110 static PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2112 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
2113 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2114 PyObject
* tup
= PyTuple_New(2);
2115 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
2116 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
2117 wxPyEndBlockThreads(blocked
);
2120 static PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
2121 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
2122 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2123 PyObject
* tup
= PyTuple_New(2);
2124 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
2125 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
2126 wxPyEndBlockThreads(blocked
);
2129 static PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
2131 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
2132 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2133 wxRect
* r
= new wxRect(rect
);
2134 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
2135 wxPyEndBlockThreads(blocked
);
2141 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
2143 SWIGINTERNSHORT PyObject
*
2144 SWIG_From_bool(bool value
)
2146 PyObject
*obj
= value
? Py_True
: Py_False
;
2152 // C++ version of Python aware wxControl
2153 class wxPyControl
: public wxControl
2155 DECLARE_DYNAMIC_CLASS(wxPyControl
)
2157 wxPyControl() : wxControl() {}
2158 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
2159 const wxPoint
& pos
= wxDefaultPosition
,
2160 const wxSize
& size
= wxDefaultSize
,
2162 const wxValidator
& validator
=wxDefaultValidator
,
2163 const wxString
& name
= wxPyControlNameStr
)
2164 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
2166 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
2168 bool DoEraseBackground(wxDC
* dc
) {
2170 return wxWindow::DoEraseBackground(dc
->GetHDC());
2172 dc
->SetBackground(wxBrush(GetBackgroundColour()));
2178 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2179 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2180 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2181 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2183 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2184 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2185 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2187 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2188 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2190 DEC_PYCALLBACK__(InitDialog
);
2191 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2192 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2193 DEC_PYCALLBACK_BOOL_(Validate
);
2195 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2196 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2197 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2199 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2200 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2202 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2203 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2205 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2207 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
2212 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
2214 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
2215 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
2216 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
2217 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
2219 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
2220 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
2221 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
2223 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
2224 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
2226 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
2227 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
2228 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
2229 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
2231 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
2232 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
2233 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
2235 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
2236 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
2238 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
2239 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
2241 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
2243 IMP_PYCALLBACK_VOID_(wxPyControl
, wxControl
, OnInternalIdle
);
2247 static void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
2249 #include <wx/generic/dragimgg.h>
2251 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
2252 static wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
2254 self
->GetRange(&rv
, NULL
);
2257 static wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
2259 self
->GetRange(NULL
, &rv
);
2265 static int _wrap_ButtonNameStr_set(PyObject
*) {
2266 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
2271 static PyObject
*_wrap_ButtonNameStr_get(void) {
2276 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
2278 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
2285 static PyObject
*_wrap_new_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2286 PyObject
*resultobj
;
2287 wxWindow
*arg1
= (wxWindow
*) 0 ;
2288 int arg2
= (int) -1 ;
2289 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2290 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2291 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2292 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2293 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2294 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2295 long arg6
= (long) 0 ;
2296 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2297 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2298 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
2299 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2301 bool temp3
= false ;
2304 bool temp8
= false ;
2305 PyObject
* obj0
= 0 ;
2306 PyObject
* obj1
= 0 ;
2307 PyObject
* obj2
= 0 ;
2308 PyObject
* obj3
= 0 ;
2309 PyObject
* obj4
= 0 ;
2310 PyObject
* obj5
= 0 ;
2311 PyObject
* obj6
= 0 ;
2312 PyObject
* obj7
= 0 ;
2314 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2319 if (SWIG_arg_fail(1)) SWIG_fail
;
2322 arg2
= (int)(SWIG_As_int(obj1
));
2323 if (SWIG_arg_fail(2)) SWIG_fail
;
2328 arg3
= wxString_in_helper(obj2
);
2329 if (arg3
== NULL
) SWIG_fail
;
2336 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2342 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2347 arg6
= (long)(SWIG_As_long(obj5
));
2348 if (SWIG_arg_fail(6)) SWIG_fail
;
2353 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2354 if (SWIG_arg_fail(7)) SWIG_fail
;
2356 SWIG_null_ref("wxValidator");
2358 if (SWIG_arg_fail(7)) SWIG_fail
;
2363 arg8
= wxString_in_helper(obj7
);
2364 if (arg8
== NULL
) SWIG_fail
;
2369 if (!wxPyCheckForApp()) SWIG_fail
;
2370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2371 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2373 wxPyEndAllowThreads(__tstate
);
2374 if (PyErr_Occurred()) SWIG_fail
;
2376 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
2399 static PyObject
*_wrap_new_PreButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2400 PyObject
*resultobj
;
2406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
2408 if (!wxPyCheckForApp()) SWIG_fail
;
2409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2410 result
= (wxButton
*)new wxButton();
2412 wxPyEndAllowThreads(__tstate
);
2413 if (PyErr_Occurred()) SWIG_fail
;
2415 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
2422 static PyObject
*_wrap_Button_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2423 PyObject
*resultobj
;
2424 wxButton
*arg1
= (wxButton
*) 0 ;
2425 wxWindow
*arg2
= (wxWindow
*) 0 ;
2426 int arg3
= (int) -1 ;
2427 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2428 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2429 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2430 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2431 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2432 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2433 long arg7
= (long) 0 ;
2434 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2435 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2436 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
2437 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2439 bool temp4
= false ;
2442 bool temp9
= false ;
2443 PyObject
* obj0
= 0 ;
2444 PyObject
* obj1
= 0 ;
2445 PyObject
* obj2
= 0 ;
2446 PyObject
* obj3
= 0 ;
2447 PyObject
* obj4
= 0 ;
2448 PyObject
* obj5
= 0 ;
2449 PyObject
* obj6
= 0 ;
2450 PyObject
* obj7
= 0 ;
2451 PyObject
* obj8
= 0 ;
2453 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
2458 if (SWIG_arg_fail(1)) SWIG_fail
;
2459 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2460 if (SWIG_arg_fail(2)) SWIG_fail
;
2463 arg3
= (int)(SWIG_As_int(obj2
));
2464 if (SWIG_arg_fail(3)) SWIG_fail
;
2469 arg4
= wxString_in_helper(obj3
);
2470 if (arg4
== NULL
) SWIG_fail
;
2477 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2483 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2488 arg7
= (long)(SWIG_As_long(obj6
));
2489 if (SWIG_arg_fail(7)) SWIG_fail
;
2494 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2495 if (SWIG_arg_fail(8)) SWIG_fail
;
2497 SWIG_null_ref("wxValidator");
2499 if (SWIG_arg_fail(8)) SWIG_fail
;
2504 arg9
= wxString_in_helper(obj8
);
2505 if (arg9
== NULL
) SWIG_fail
;
2510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2511 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2513 wxPyEndAllowThreads(__tstate
);
2514 if (PyErr_Occurred()) SWIG_fail
;
2517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2541 static PyObject
*_wrap_Button_SetDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2542 PyObject
*resultobj
;
2543 wxButton
*arg1
= (wxButton
*) 0 ;
2544 PyObject
* obj0
= 0 ;
2546 (char *) "self", NULL
2549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
2550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
2551 if (SWIG_arg_fail(1)) SWIG_fail
;
2553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2554 (arg1
)->SetDefault();
2556 wxPyEndAllowThreads(__tstate
);
2557 if (PyErr_Occurred()) SWIG_fail
;
2559 Py_INCREF(Py_None
); resultobj
= Py_None
;
2566 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2567 PyObject
*resultobj
;
2573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
2575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2576 result
= wxButton::GetDefaultSize();
2578 wxPyEndAllowThreads(__tstate
);
2579 if (PyErr_Occurred()) SWIG_fail
;
2583 resultptr
= new wxSize((wxSize
&)(result
));
2584 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2592 static PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2593 PyObject
*resultobj
;
2594 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
2595 wxVisualAttributes result
;
2596 PyObject
* obj0
= 0 ;
2598 (char *) "variant", NULL
2601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2604 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
2605 if (SWIG_arg_fail(1)) SWIG_fail
;
2609 if (!wxPyCheckForApp()) SWIG_fail
;
2610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2611 result
= wxButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2613 wxPyEndAllowThreads(__tstate
);
2614 if (PyErr_Occurred()) SWIG_fail
;
2617 wxVisualAttributes
* resultptr
;
2618 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
2619 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2627 static PyObject
* Button_swigregister(PyObject
*, PyObject
*args
) {
2629 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2630 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
2632 return Py_BuildValue((char *)"");
2634 static PyObject
*_wrap_new_BitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2635 PyObject
*resultobj
;
2636 wxWindow
*arg1
= (wxWindow
*) 0 ;
2637 int arg2
= (int) -1 ;
2638 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
2639 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
2640 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2641 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2642 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2643 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2644 long arg6
= (long) wxBU_AUTODRAW
;
2645 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2646 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2647 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
2648 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2649 wxBitmapButton
*result
;
2652 bool temp8
= false ;
2653 PyObject
* obj0
= 0 ;
2654 PyObject
* obj1
= 0 ;
2655 PyObject
* obj2
= 0 ;
2656 PyObject
* obj3
= 0 ;
2657 PyObject
* obj4
= 0 ;
2658 PyObject
* obj5
= 0 ;
2659 PyObject
* obj6
= 0 ;
2660 PyObject
* obj7
= 0 ;
2662 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2667 if (SWIG_arg_fail(1)) SWIG_fail
;
2670 arg2
= (int)(SWIG_As_int(obj1
));
2671 if (SWIG_arg_fail(2)) SWIG_fail
;
2676 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
2677 if (SWIG_arg_fail(3)) SWIG_fail
;
2679 SWIG_null_ref("wxBitmap");
2681 if (SWIG_arg_fail(3)) SWIG_fail
;
2687 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2693 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2698 arg6
= (long)(SWIG_As_long(obj5
));
2699 if (SWIG_arg_fail(6)) SWIG_fail
;
2704 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2705 if (SWIG_arg_fail(7)) SWIG_fail
;
2707 SWIG_null_ref("wxValidator");
2709 if (SWIG_arg_fail(7)) SWIG_fail
;
2714 arg8
= wxString_in_helper(obj7
);
2715 if (arg8
== NULL
) SWIG_fail
;
2720 if (!wxPyCheckForApp()) SWIG_fail
;
2721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2722 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2724 wxPyEndAllowThreads(__tstate
);
2725 if (PyErr_Occurred()) SWIG_fail
;
2727 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
2742 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2743 PyObject
*resultobj
;
2744 wxBitmapButton
*result
;
2749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
2751 if (!wxPyCheckForApp()) SWIG_fail
;
2752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2753 result
= (wxBitmapButton
*)new wxBitmapButton();
2755 wxPyEndAllowThreads(__tstate
);
2756 if (PyErr_Occurred()) SWIG_fail
;
2758 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
2765 static PyObject
*_wrap_BitmapButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2766 PyObject
*resultobj
;
2767 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2768 wxWindow
*arg2
= (wxWindow
*) 0 ;
2769 int arg3
= (int) -1 ;
2770 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
2771 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
2772 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2773 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2774 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2775 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2776 long arg7
= (long) wxBU_AUTODRAW
;
2777 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2778 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2779 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
2780 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2784 bool temp9
= false ;
2785 PyObject
* obj0
= 0 ;
2786 PyObject
* obj1
= 0 ;
2787 PyObject
* obj2
= 0 ;
2788 PyObject
* obj3
= 0 ;
2789 PyObject
* obj4
= 0 ;
2790 PyObject
* obj5
= 0 ;
2791 PyObject
* obj6
= 0 ;
2792 PyObject
* obj7
= 0 ;
2793 PyObject
* obj8
= 0 ;
2795 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2800 if (SWIG_arg_fail(1)) SWIG_fail
;
2801 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2802 if (SWIG_arg_fail(2)) SWIG_fail
;
2805 arg3
= (int)(SWIG_As_int(obj2
));
2806 if (SWIG_arg_fail(3)) SWIG_fail
;
2811 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
2812 if (SWIG_arg_fail(4)) SWIG_fail
;
2814 SWIG_null_ref("wxBitmap");
2816 if (SWIG_arg_fail(4)) SWIG_fail
;
2822 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2828 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2833 arg7
= (long)(SWIG_As_long(obj6
));
2834 if (SWIG_arg_fail(7)) SWIG_fail
;
2839 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2840 if (SWIG_arg_fail(8)) SWIG_fail
;
2842 SWIG_null_ref("wxValidator");
2844 if (SWIG_arg_fail(8)) SWIG_fail
;
2849 arg9
= wxString_in_helper(obj8
);
2850 if (arg9
== NULL
) SWIG_fail
;
2855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2856 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2858 wxPyEndAllowThreads(__tstate
);
2859 if (PyErr_Occurred()) SWIG_fail
;
2862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2878 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2879 PyObject
*resultobj
;
2880 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2882 PyObject
* obj0
= 0 ;
2884 (char *) "self", NULL
2887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
2888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2889 if (SWIG_arg_fail(1)) SWIG_fail
;
2891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2892 result
= (arg1
)->GetBitmapLabel();
2894 wxPyEndAllowThreads(__tstate
);
2895 if (PyErr_Occurred()) SWIG_fail
;
2898 wxBitmap
* resultptr
;
2899 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2900 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2908 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2909 PyObject
*resultobj
;
2910 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2912 PyObject
* obj0
= 0 ;
2914 (char *) "self", NULL
2917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
2918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2919 if (SWIG_arg_fail(1)) SWIG_fail
;
2921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2922 result
= (arg1
)->GetBitmapDisabled();
2924 wxPyEndAllowThreads(__tstate
);
2925 if (PyErr_Occurred()) SWIG_fail
;
2928 wxBitmap
* resultptr
;
2929 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2930 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2938 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2939 PyObject
*resultobj
;
2940 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2942 PyObject
* obj0
= 0 ;
2944 (char *) "self", NULL
2947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
2948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2949 if (SWIG_arg_fail(1)) SWIG_fail
;
2951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2952 result
= (arg1
)->GetBitmapFocus();
2954 wxPyEndAllowThreads(__tstate
);
2955 if (PyErr_Occurred()) SWIG_fail
;
2958 wxBitmap
* resultptr
;
2959 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2960 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2968 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2969 PyObject
*resultobj
;
2970 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2972 PyObject
* obj0
= 0 ;
2974 (char *) "self", NULL
2977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
2978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2979 if (SWIG_arg_fail(1)) SWIG_fail
;
2981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2982 result
= (arg1
)->GetBitmapSelected();
2984 wxPyEndAllowThreads(__tstate
);
2985 if (PyErr_Occurred()) SWIG_fail
;
2988 wxBitmap
* resultptr
;
2989 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2990 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2998 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2999 PyObject
*resultobj
;
3000 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3001 wxBitmap
*arg2
= 0 ;
3002 PyObject
* obj0
= 0 ;
3003 PyObject
* obj1
= 0 ;
3005 (char *) "self",(char *) "bitmap", NULL
3008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
3009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3010 if (SWIG_arg_fail(1)) SWIG_fail
;
3012 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3013 if (SWIG_arg_fail(2)) SWIG_fail
;
3015 SWIG_null_ref("wxBitmap");
3017 if (SWIG_arg_fail(2)) SWIG_fail
;
3020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3021 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
3023 wxPyEndAllowThreads(__tstate
);
3024 if (PyErr_Occurred()) SWIG_fail
;
3026 Py_INCREF(Py_None
); resultobj
= Py_None
;
3033 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3034 PyObject
*resultobj
;
3035 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3036 wxBitmap
*arg2
= 0 ;
3037 PyObject
* obj0
= 0 ;
3038 PyObject
* obj1
= 0 ;
3040 (char *) "self",(char *) "bitmap", NULL
3043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
3044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3045 if (SWIG_arg_fail(1)) SWIG_fail
;
3047 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3048 if (SWIG_arg_fail(2)) SWIG_fail
;
3050 SWIG_null_ref("wxBitmap");
3052 if (SWIG_arg_fail(2)) SWIG_fail
;
3055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3056 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
3058 wxPyEndAllowThreads(__tstate
);
3059 if (PyErr_Occurred()) SWIG_fail
;
3061 Py_INCREF(Py_None
); resultobj
= Py_None
;
3068 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3069 PyObject
*resultobj
;
3070 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3071 wxBitmap
*arg2
= 0 ;
3072 PyObject
* obj0
= 0 ;
3073 PyObject
* obj1
= 0 ;
3075 (char *) "self",(char *) "bitmap", NULL
3078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
3079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3080 if (SWIG_arg_fail(1)) SWIG_fail
;
3082 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3083 if (SWIG_arg_fail(2)) SWIG_fail
;
3085 SWIG_null_ref("wxBitmap");
3087 if (SWIG_arg_fail(2)) SWIG_fail
;
3090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3091 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
3093 wxPyEndAllowThreads(__tstate
);
3094 if (PyErr_Occurred()) SWIG_fail
;
3096 Py_INCREF(Py_None
); resultobj
= Py_None
;
3103 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3104 PyObject
*resultobj
;
3105 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3106 wxBitmap
*arg2
= 0 ;
3107 PyObject
* obj0
= 0 ;
3108 PyObject
* obj1
= 0 ;
3110 (char *) "self",(char *) "bitmap", NULL
3113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
3114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3115 if (SWIG_arg_fail(1)) SWIG_fail
;
3117 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3118 if (SWIG_arg_fail(2)) SWIG_fail
;
3120 SWIG_null_ref("wxBitmap");
3122 if (SWIG_arg_fail(2)) SWIG_fail
;
3125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3126 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
3128 wxPyEndAllowThreads(__tstate
);
3129 if (PyErr_Occurred()) SWIG_fail
;
3131 Py_INCREF(Py_None
); resultobj
= Py_None
;
3138 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3139 PyObject
*resultobj
;
3140 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3143 PyObject
* obj0
= 0 ;
3144 PyObject
* obj1
= 0 ;
3145 PyObject
* obj2
= 0 ;
3147 (char *) "self",(char *) "x",(char *) "y", NULL
3150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3152 if (SWIG_arg_fail(1)) SWIG_fail
;
3154 arg2
= (int)(SWIG_As_int(obj1
));
3155 if (SWIG_arg_fail(2)) SWIG_fail
;
3158 arg3
= (int)(SWIG_As_int(obj2
));
3159 if (SWIG_arg_fail(3)) SWIG_fail
;
3162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3163 (arg1
)->SetMargins(arg2
,arg3
);
3165 wxPyEndAllowThreads(__tstate
);
3166 if (PyErr_Occurred()) SWIG_fail
;
3168 Py_INCREF(Py_None
); resultobj
= Py_None
;
3175 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3176 PyObject
*resultobj
;
3177 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3179 PyObject
* obj0
= 0 ;
3181 (char *) "self", NULL
3184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
3185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3186 if (SWIG_arg_fail(1)) SWIG_fail
;
3188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3189 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
3191 wxPyEndAllowThreads(__tstate
);
3192 if (PyErr_Occurred()) SWIG_fail
;
3195 resultobj
= SWIG_From_int((int)(result
));
3203 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3204 PyObject
*resultobj
;
3205 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3207 PyObject
* obj0
= 0 ;
3209 (char *) "self", NULL
3212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
3213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3214 if (SWIG_arg_fail(1)) SWIG_fail
;
3216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3217 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
3219 wxPyEndAllowThreads(__tstate
);
3220 if (PyErr_Occurred()) SWIG_fail
;
3223 resultobj
= SWIG_From_int((int)(result
));
3231 static PyObject
* BitmapButton_swigregister(PyObject
*, PyObject
*args
) {
3233 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3234 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
3236 return Py_BuildValue((char *)"");
3238 static int _wrap_CheckBoxNameStr_set(PyObject
*) {
3239 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
3244 static PyObject
*_wrap_CheckBoxNameStr_get(void) {
3249 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
3251 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
3258 static PyObject
*_wrap_new_CheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3259 PyObject
*resultobj
;
3260 wxWindow
*arg1
= (wxWindow
*) 0 ;
3261 int arg2
= (int) -1 ;
3262 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3263 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3264 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3265 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3266 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3267 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3268 long arg6
= (long) 0 ;
3269 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3270 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3271 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
3272 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3274 bool temp3
= false ;
3277 bool temp8
= false ;
3278 PyObject
* obj0
= 0 ;
3279 PyObject
* obj1
= 0 ;
3280 PyObject
* obj2
= 0 ;
3281 PyObject
* obj3
= 0 ;
3282 PyObject
* obj4
= 0 ;
3283 PyObject
* obj5
= 0 ;
3284 PyObject
* obj6
= 0 ;
3285 PyObject
* obj7
= 0 ;
3287 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3292 if (SWIG_arg_fail(1)) SWIG_fail
;
3295 arg2
= (int)(SWIG_As_int(obj1
));
3296 if (SWIG_arg_fail(2)) SWIG_fail
;
3301 arg3
= wxString_in_helper(obj2
);
3302 if (arg3
== NULL
) SWIG_fail
;
3309 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3315 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3320 arg6
= (long)(SWIG_As_long(obj5
));
3321 if (SWIG_arg_fail(6)) SWIG_fail
;
3326 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3327 if (SWIG_arg_fail(7)) SWIG_fail
;
3329 SWIG_null_ref("wxValidator");
3331 if (SWIG_arg_fail(7)) SWIG_fail
;
3336 arg8
= wxString_in_helper(obj7
);
3337 if (arg8
== NULL
) SWIG_fail
;
3342 if (!wxPyCheckForApp()) SWIG_fail
;
3343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3344 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3346 wxPyEndAllowThreads(__tstate
);
3347 if (PyErr_Occurred()) SWIG_fail
;
3349 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
3372 static PyObject
*_wrap_new_PreCheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3373 PyObject
*resultobj
;
3379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
3381 if (!wxPyCheckForApp()) SWIG_fail
;
3382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3383 result
= (wxCheckBox
*)new wxCheckBox();
3385 wxPyEndAllowThreads(__tstate
);
3386 if (PyErr_Occurred()) SWIG_fail
;
3388 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
3395 static PyObject
*_wrap_CheckBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3396 PyObject
*resultobj
;
3397 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3398 wxWindow
*arg2
= (wxWindow
*) 0 ;
3399 int arg3
= (int) -1 ;
3400 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3401 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3402 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3403 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3404 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3405 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3406 long arg7
= (long) 0 ;
3407 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3408 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3409 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
3410 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3412 bool temp4
= false ;
3415 bool temp9
= false ;
3416 PyObject
* obj0
= 0 ;
3417 PyObject
* obj1
= 0 ;
3418 PyObject
* obj2
= 0 ;
3419 PyObject
* obj3
= 0 ;
3420 PyObject
* obj4
= 0 ;
3421 PyObject
* obj5
= 0 ;
3422 PyObject
* obj6
= 0 ;
3423 PyObject
* obj7
= 0 ;
3424 PyObject
* obj8
= 0 ;
3426 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3431 if (SWIG_arg_fail(1)) SWIG_fail
;
3432 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3433 if (SWIG_arg_fail(2)) SWIG_fail
;
3436 arg3
= (int)(SWIG_As_int(obj2
));
3437 if (SWIG_arg_fail(3)) SWIG_fail
;
3442 arg4
= wxString_in_helper(obj3
);
3443 if (arg4
== NULL
) SWIG_fail
;
3450 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3456 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3461 arg7
= (long)(SWIG_As_long(obj6
));
3462 if (SWIG_arg_fail(7)) SWIG_fail
;
3467 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3468 if (SWIG_arg_fail(8)) SWIG_fail
;
3470 SWIG_null_ref("wxValidator");
3472 if (SWIG_arg_fail(8)) SWIG_fail
;
3477 arg9
= wxString_in_helper(obj8
);
3478 if (arg9
== NULL
) SWIG_fail
;
3483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3484 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3486 wxPyEndAllowThreads(__tstate
);
3487 if (PyErr_Occurred()) SWIG_fail
;
3490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3514 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3515 PyObject
*resultobj
;
3516 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3518 PyObject
* obj0
= 0 ;
3520 (char *) "self", NULL
3523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
3524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3525 if (SWIG_arg_fail(1)) SWIG_fail
;
3527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3528 result
= (bool)(arg1
)->GetValue();
3530 wxPyEndAllowThreads(__tstate
);
3531 if (PyErr_Occurred()) SWIG_fail
;
3534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3542 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3543 PyObject
*resultobj
;
3544 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3546 PyObject
* obj0
= 0 ;
3548 (char *) "self", NULL
3551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
3552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3553 if (SWIG_arg_fail(1)) SWIG_fail
;
3555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3556 result
= (bool)(arg1
)->IsChecked();
3558 wxPyEndAllowThreads(__tstate
);
3559 if (PyErr_Occurred()) SWIG_fail
;
3562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3570 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3571 PyObject
*resultobj
;
3572 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3574 PyObject
* obj0
= 0 ;
3575 PyObject
* obj1
= 0 ;
3577 (char *) "self",(char *) "state", NULL
3580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3582 if (SWIG_arg_fail(1)) SWIG_fail
;
3584 arg2
= (bool const)(SWIG_As_bool(obj1
));
3585 if (SWIG_arg_fail(2)) SWIG_fail
;
3588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3589 (arg1
)->SetValue(arg2
);
3591 wxPyEndAllowThreads(__tstate
);
3592 if (PyErr_Occurred()) SWIG_fail
;
3594 Py_INCREF(Py_None
); resultobj
= Py_None
;
3601 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3602 PyObject
*resultobj
;
3603 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3604 wxCheckBoxState result
;
3605 PyObject
* obj0
= 0 ;
3607 (char *) "self", NULL
3610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
3611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3612 if (SWIG_arg_fail(1)) SWIG_fail
;
3614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3615 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
3617 wxPyEndAllowThreads(__tstate
);
3618 if (PyErr_Occurred()) SWIG_fail
;
3620 resultobj
= SWIG_From_int((result
));
3627 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3628 PyObject
*resultobj
;
3629 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3630 wxCheckBoxState arg2
;
3631 PyObject
* obj0
= 0 ;
3632 PyObject
* obj1
= 0 ;
3634 (char *) "self",(char *) "state", NULL
3637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3639 if (SWIG_arg_fail(1)) SWIG_fail
;
3641 arg2
= (wxCheckBoxState
)(SWIG_As_int(obj1
));
3642 if (SWIG_arg_fail(2)) SWIG_fail
;
3645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3646 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
3648 wxPyEndAllowThreads(__tstate
);
3649 if (PyErr_Occurred()) SWIG_fail
;
3651 Py_INCREF(Py_None
); resultobj
= Py_None
;
3658 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3659 PyObject
*resultobj
;
3660 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3662 PyObject
* obj0
= 0 ;
3664 (char *) "self", NULL
3667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
3668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3669 if (SWIG_arg_fail(1)) SWIG_fail
;
3671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3672 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
3674 wxPyEndAllowThreads(__tstate
);
3675 if (PyErr_Occurred()) SWIG_fail
;
3678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3686 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3687 PyObject
*resultobj
;
3688 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3690 PyObject
* obj0
= 0 ;
3692 (char *) "self", NULL
3695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
3696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3697 if (SWIG_arg_fail(1)) SWIG_fail
;
3699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3700 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
3702 wxPyEndAllowThreads(__tstate
);
3703 if (PyErr_Occurred()) SWIG_fail
;
3706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3714 static PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3715 PyObject
*resultobj
;
3716 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3717 wxVisualAttributes result
;
3718 PyObject
* obj0
= 0 ;
3720 (char *) "variant", NULL
3723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3726 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
3727 if (SWIG_arg_fail(1)) SWIG_fail
;
3731 if (!wxPyCheckForApp()) SWIG_fail
;
3732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3733 result
= wxCheckBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3735 wxPyEndAllowThreads(__tstate
);
3736 if (PyErr_Occurred()) SWIG_fail
;
3739 wxVisualAttributes
* resultptr
;
3740 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
3741 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3749 static PyObject
* CheckBox_swigregister(PyObject
*, PyObject
*args
) {
3751 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3752 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
3754 return Py_BuildValue((char *)"");
3756 static int _wrap_ChoiceNameStr_set(PyObject
*) {
3757 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
3762 static PyObject
*_wrap_ChoiceNameStr_get(void) {
3767 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
3769 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
3776 static PyObject
*_wrap_new_Choice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3777 PyObject
*resultobj
;
3778 wxWindow
*arg1
= (wxWindow
*) 0 ;
3779 int arg2
= (int) -1 ;
3780 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3781 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3782 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3783 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3784 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
3785 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
3786 long arg6
= (long) 0 ;
3787 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3788 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3789 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
3790 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3794 bool temp5
= false ;
3795 bool temp8
= false ;
3796 PyObject
* obj0
= 0 ;
3797 PyObject
* obj1
= 0 ;
3798 PyObject
* obj2
= 0 ;
3799 PyObject
* obj3
= 0 ;
3800 PyObject
* obj4
= 0 ;
3801 PyObject
* obj5
= 0 ;
3802 PyObject
* obj6
= 0 ;
3803 PyObject
* obj7
= 0 ;
3805 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3810 if (SWIG_arg_fail(1)) SWIG_fail
;
3813 arg2
= (int)(SWIG_As_int(obj1
));
3814 if (SWIG_arg_fail(2)) SWIG_fail
;
3820 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3826 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3831 if (! PySequence_Check(obj4
)) {
3832 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3835 arg5
= new wxArrayString
;
3837 int i
, len
=PySequence_Length(obj4
);
3838 for (i
=0; i
<len
; i
++) {
3839 PyObject
* item
= PySequence_GetItem(obj4
, i
);
3840 wxString
* s
= wxString_in_helper(item
);
3841 if (PyErr_Occurred()) SWIG_fail
;
3850 arg6
= (long)(SWIG_As_long(obj5
));
3851 if (SWIG_arg_fail(6)) SWIG_fail
;
3856 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3857 if (SWIG_arg_fail(7)) SWIG_fail
;
3859 SWIG_null_ref("wxValidator");
3861 if (SWIG_arg_fail(7)) SWIG_fail
;
3866 arg8
= wxString_in_helper(obj7
);
3867 if (arg8
== NULL
) SWIG_fail
;
3872 if (!wxPyCheckForApp()) SWIG_fail
;
3873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3874 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3876 wxPyEndAllowThreads(__tstate
);
3877 if (PyErr_Occurred()) SWIG_fail
;
3879 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
3881 if (temp5
) delete arg5
;
3890 if (temp5
) delete arg5
;
3900 static PyObject
*_wrap_new_PreChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3901 PyObject
*resultobj
;
3907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
3909 if (!wxPyCheckForApp()) SWIG_fail
;
3910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3911 result
= (wxChoice
*)new wxChoice();
3913 wxPyEndAllowThreads(__tstate
);
3914 if (PyErr_Occurred()) SWIG_fail
;
3916 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
3923 static PyObject
*_wrap_Choice_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3924 PyObject
*resultobj
;
3925 wxChoice
*arg1
= (wxChoice
*) 0 ;
3926 wxWindow
*arg2
= (wxWindow
*) 0 ;
3927 int arg3
= (int) -1 ;
3928 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3929 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3930 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3931 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3932 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
3933 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
3934 long arg7
= (long) 0 ;
3935 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3936 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3937 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
3938 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3942 bool temp6
= false ;
3943 bool temp9
= false ;
3944 PyObject
* obj0
= 0 ;
3945 PyObject
* obj1
= 0 ;
3946 PyObject
* obj2
= 0 ;
3947 PyObject
* obj3
= 0 ;
3948 PyObject
* obj4
= 0 ;
3949 PyObject
* obj5
= 0 ;
3950 PyObject
* obj6
= 0 ;
3951 PyObject
* obj7
= 0 ;
3952 PyObject
* obj8
= 0 ;
3954 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoice
, SWIG_POINTER_EXCEPTION
| 0);
3959 if (SWIG_arg_fail(1)) SWIG_fail
;
3960 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3961 if (SWIG_arg_fail(2)) SWIG_fail
;
3964 arg3
= (int)(SWIG_As_int(obj2
));
3965 if (SWIG_arg_fail(3)) SWIG_fail
;
3971 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3977 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3982 if (! PySequence_Check(obj5
)) {
3983 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3986 arg6
= new wxArrayString
;
3988 int i
, len
=PySequence_Length(obj5
);
3989 for (i
=0; i
<len
; i
++) {
3990 PyObject
* item
= PySequence_GetItem(obj5
, i
);
3991 wxString
* s
= wxString_in_helper(item
);
3992 if (PyErr_Occurred()) SWIG_fail
;
4001 arg7
= (long)(SWIG_As_long(obj6
));
4002 if (SWIG_arg_fail(7)) SWIG_fail
;
4007 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4008 if (SWIG_arg_fail(8)) SWIG_fail
;
4010 SWIG_null_ref("wxValidator");
4012 if (SWIG_arg_fail(8)) SWIG_fail
;
4017 arg9
= wxString_in_helper(obj8
);
4018 if (arg9
== NULL
) SWIG_fail
;
4023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4024 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4026 wxPyEndAllowThreads(__tstate
);
4027 if (PyErr_Occurred()) SWIG_fail
;
4030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4033 if (temp6
) delete arg6
;
4042 if (temp6
) delete arg6
;
4052 static PyObject
*_wrap_Choice_GetCurrentSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4053 PyObject
*resultobj
;
4054 wxChoice
*arg1
= (wxChoice
*) 0 ;
4056 PyObject
* obj0
= 0 ;
4058 (char *) "self", NULL
4061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choice_GetCurrentSelection",kwnames
,&obj0
)) goto fail
;
4062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoice
, SWIG_POINTER_EXCEPTION
| 0);
4063 if (SWIG_arg_fail(1)) SWIG_fail
;
4065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4066 result
= (int)((wxChoice
const *)arg1
)->GetCurrentSelection();
4068 wxPyEndAllowThreads(__tstate
);
4069 if (PyErr_Occurred()) SWIG_fail
;
4072 resultobj
= SWIG_From_int((int)(result
));
4080 static PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4081 PyObject
*resultobj
;
4082 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
4083 wxVisualAttributes result
;
4084 PyObject
* obj0
= 0 ;
4086 (char *) "variant", NULL
4089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4092 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
4093 if (SWIG_arg_fail(1)) SWIG_fail
;
4097 if (!wxPyCheckForApp()) SWIG_fail
;
4098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4099 result
= wxChoice::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4101 wxPyEndAllowThreads(__tstate
);
4102 if (PyErr_Occurred()) SWIG_fail
;
4105 wxVisualAttributes
* resultptr
;
4106 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
4107 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4115 static PyObject
* Choice_swigregister(PyObject
*, PyObject
*args
) {
4117 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4118 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
4120 return Py_BuildValue((char *)"");
4122 static int _wrap_ComboBoxNameStr_set(PyObject
*) {
4123 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
4128 static PyObject
*_wrap_ComboBoxNameStr_get(void) {
4133 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
4135 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
4142 static PyObject
*_wrap_new_ComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4143 PyObject
*resultobj
;
4144 wxWindow
*arg1
= (wxWindow
*) 0 ;
4145 int arg2
= (int) -1 ;
4146 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4147 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4148 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4149 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4150 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4151 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4152 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
4153 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
4154 long arg7
= (long) 0 ;
4155 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4156 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4157 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
4158 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4160 bool temp3
= false ;
4163 bool temp6
= false ;
4164 bool temp9
= false ;
4165 PyObject
* obj0
= 0 ;
4166 PyObject
* obj1
= 0 ;
4167 PyObject
* obj2
= 0 ;
4168 PyObject
* obj3
= 0 ;
4169 PyObject
* obj4
= 0 ;
4170 PyObject
* obj5
= 0 ;
4171 PyObject
* obj6
= 0 ;
4172 PyObject
* obj7
= 0 ;
4173 PyObject
* obj8
= 0 ;
4175 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4180 if (SWIG_arg_fail(1)) SWIG_fail
;
4183 arg2
= (int)(SWIG_As_int(obj1
));
4184 if (SWIG_arg_fail(2)) SWIG_fail
;
4189 arg3
= wxString_in_helper(obj2
);
4190 if (arg3
== NULL
) SWIG_fail
;
4197 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4203 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4208 if (! PySequence_Check(obj5
)) {
4209 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4212 arg6
= new wxArrayString
;
4214 int i
, len
=PySequence_Length(obj5
);
4215 for (i
=0; i
<len
; i
++) {
4216 PyObject
* item
= PySequence_GetItem(obj5
, i
);
4217 wxString
* s
= wxString_in_helper(item
);
4218 if (PyErr_Occurred()) SWIG_fail
;
4227 arg7
= (long)(SWIG_As_long(obj6
));
4228 if (SWIG_arg_fail(7)) SWIG_fail
;
4233 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4234 if (SWIG_arg_fail(8)) SWIG_fail
;
4236 SWIG_null_ref("wxValidator");
4238 if (SWIG_arg_fail(8)) SWIG_fail
;
4243 arg9
= wxString_in_helper(obj8
);
4244 if (arg9
== NULL
) SWIG_fail
;
4249 if (!wxPyCheckForApp()) SWIG_fail
;
4250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4251 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
);
4253 wxPyEndAllowThreads(__tstate
);
4254 if (PyErr_Occurred()) SWIG_fail
;
4256 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
4262 if (temp6
) delete arg6
;
4275 if (temp6
) delete arg6
;
4285 static PyObject
*_wrap_new_PreComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4286 PyObject
*resultobj
;
4292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
4294 if (!wxPyCheckForApp()) SWIG_fail
;
4295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4296 result
= (wxComboBox
*)new wxComboBox();
4298 wxPyEndAllowThreads(__tstate
);
4299 if (PyErr_Occurred()) SWIG_fail
;
4301 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
4308 static PyObject
*_wrap_ComboBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4309 PyObject
*resultobj
;
4310 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4311 wxWindow
*arg2
= (wxWindow
*) 0 ;
4312 int arg3
= (int) -1 ;
4313 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4314 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4315 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4316 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4317 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4318 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4319 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
4320 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
4321 long arg8
= (long) 0 ;
4322 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
4323 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
4324 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
4325 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
4327 bool temp4
= false ;
4330 bool temp7
= false ;
4331 bool temp10
= false ;
4332 PyObject
* obj0
= 0 ;
4333 PyObject
* obj1
= 0 ;
4334 PyObject
* obj2
= 0 ;
4335 PyObject
* obj3
= 0 ;
4336 PyObject
* obj4
= 0 ;
4337 PyObject
* obj5
= 0 ;
4338 PyObject
* obj6
= 0 ;
4339 PyObject
* obj7
= 0 ;
4340 PyObject
* obj8
= 0 ;
4341 PyObject
* obj9
= 0 ;
4343 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
4347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4348 if (SWIG_arg_fail(1)) SWIG_fail
;
4349 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4350 if (SWIG_arg_fail(2)) SWIG_fail
;
4353 arg3
= (int)(SWIG_As_int(obj2
));
4354 if (SWIG_arg_fail(3)) SWIG_fail
;
4359 arg4
= wxString_in_helper(obj3
);
4360 if (arg4
== NULL
) SWIG_fail
;
4367 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4373 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4378 if (! PySequence_Check(obj6
)) {
4379 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4382 arg7
= new wxArrayString
;
4384 int i
, len
=PySequence_Length(obj6
);
4385 for (i
=0; i
<len
; i
++) {
4386 PyObject
* item
= PySequence_GetItem(obj6
, i
);
4387 wxString
* s
= wxString_in_helper(item
);
4388 if (PyErr_Occurred()) SWIG_fail
;
4397 arg8
= (long)(SWIG_As_long(obj7
));
4398 if (SWIG_arg_fail(8)) SWIG_fail
;
4403 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4404 if (SWIG_arg_fail(9)) SWIG_fail
;
4406 SWIG_null_ref("wxValidator");
4408 if (SWIG_arg_fail(9)) SWIG_fail
;
4413 arg10
= wxString_in_helper(obj9
);
4414 if (arg10
== NULL
) SWIG_fail
;
4419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4420 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
);
4422 wxPyEndAllowThreads(__tstate
);
4423 if (PyErr_Occurred()) SWIG_fail
;
4426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4433 if (temp7
) delete arg7
;
4446 if (temp7
) delete arg7
;
4456 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4457 PyObject
*resultobj
;
4458 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4460 PyObject
* obj0
= 0 ;
4462 (char *) "self", NULL
4465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
4466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4467 if (SWIG_arg_fail(1)) SWIG_fail
;
4469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4470 result
= ((wxComboBox
const *)arg1
)->GetValue();
4472 wxPyEndAllowThreads(__tstate
);
4473 if (PyErr_Occurred()) SWIG_fail
;
4477 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4479 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4488 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4489 PyObject
*resultobj
;
4490 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4491 wxString
*arg2
= 0 ;
4492 bool temp2
= false ;
4493 PyObject
* obj0
= 0 ;
4494 PyObject
* obj1
= 0 ;
4496 (char *) "self",(char *) "value", NULL
4499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
4500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4501 if (SWIG_arg_fail(1)) SWIG_fail
;
4503 arg2
= wxString_in_helper(obj1
);
4504 if (arg2
== NULL
) SWIG_fail
;
4508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4509 (arg1
)->SetValue((wxString
const &)*arg2
);
4511 wxPyEndAllowThreads(__tstate
);
4512 if (PyErr_Occurred()) SWIG_fail
;
4514 Py_INCREF(Py_None
); resultobj
= Py_None
;
4529 static PyObject
*_wrap_ComboBox_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4530 PyObject
*resultobj
;
4531 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4532 PyObject
* obj0
= 0 ;
4534 (char *) "self", NULL
4537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
4538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4539 if (SWIG_arg_fail(1)) SWIG_fail
;
4541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4544 wxPyEndAllowThreads(__tstate
);
4545 if (PyErr_Occurred()) SWIG_fail
;
4547 Py_INCREF(Py_None
); resultobj
= Py_None
;
4554 static PyObject
*_wrap_ComboBox_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4555 PyObject
*resultobj
;
4556 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4557 PyObject
* obj0
= 0 ;
4559 (char *) "self", NULL
4562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
4563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4564 if (SWIG_arg_fail(1)) SWIG_fail
;
4566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4569 wxPyEndAllowThreads(__tstate
);
4570 if (PyErr_Occurred()) SWIG_fail
;
4572 Py_INCREF(Py_None
); resultobj
= Py_None
;
4579 static PyObject
*_wrap_ComboBox_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4580 PyObject
*resultobj
;
4581 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4582 PyObject
* obj0
= 0 ;
4584 (char *) "self", NULL
4587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
4588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4589 if (SWIG_arg_fail(1)) SWIG_fail
;
4591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4594 wxPyEndAllowThreads(__tstate
);
4595 if (PyErr_Occurred()) SWIG_fail
;
4597 Py_INCREF(Py_None
); resultobj
= Py_None
;
4604 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4605 PyObject
*resultobj
;
4606 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4608 PyObject
* obj0
= 0 ;
4609 PyObject
* obj1
= 0 ;
4611 (char *) "self",(char *) "pos", NULL
4614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4616 if (SWIG_arg_fail(1)) SWIG_fail
;
4618 arg2
= (long)(SWIG_As_long(obj1
));
4619 if (SWIG_arg_fail(2)) SWIG_fail
;
4622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4623 (arg1
)->SetInsertionPoint(arg2
);
4625 wxPyEndAllowThreads(__tstate
);
4626 if (PyErr_Occurred()) SWIG_fail
;
4628 Py_INCREF(Py_None
); resultobj
= Py_None
;
4635 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4636 PyObject
*resultobj
;
4637 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4639 PyObject
* obj0
= 0 ;
4641 (char *) "self", NULL
4644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
4645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4646 if (SWIG_arg_fail(1)) SWIG_fail
;
4648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4649 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
4651 wxPyEndAllowThreads(__tstate
);
4652 if (PyErr_Occurred()) SWIG_fail
;
4655 resultobj
= SWIG_From_long((long)(result
));
4663 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4664 PyObject
*resultobj
;
4665 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4667 PyObject
* obj0
= 0 ;
4669 (char *) "self", NULL
4672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
4673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4674 if (SWIG_arg_fail(1)) SWIG_fail
;
4676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4677 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
4679 wxPyEndAllowThreads(__tstate
);
4680 if (PyErr_Occurred()) SWIG_fail
;
4683 resultobj
= SWIG_From_long((long)(result
));
4691 static PyObject
*_wrap_ComboBox_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4692 PyObject
*resultobj
;
4693 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4696 wxString
*arg4
= 0 ;
4697 bool temp4
= false ;
4698 PyObject
* obj0
= 0 ;
4699 PyObject
* obj1
= 0 ;
4700 PyObject
* obj2
= 0 ;
4701 PyObject
* obj3
= 0 ;
4703 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
4706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4708 if (SWIG_arg_fail(1)) SWIG_fail
;
4710 arg2
= (long)(SWIG_As_long(obj1
));
4711 if (SWIG_arg_fail(2)) SWIG_fail
;
4714 arg3
= (long)(SWIG_As_long(obj2
));
4715 if (SWIG_arg_fail(3)) SWIG_fail
;
4718 arg4
= wxString_in_helper(obj3
);
4719 if (arg4
== NULL
) SWIG_fail
;
4723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4724 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
4726 wxPyEndAllowThreads(__tstate
);
4727 if (PyErr_Occurred()) SWIG_fail
;
4729 Py_INCREF(Py_None
); resultobj
= Py_None
;
4744 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4745 PyObject
*resultobj
;
4746 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4748 PyObject
* obj0
= 0 ;
4749 PyObject
* obj1
= 0 ;
4751 (char *) "self",(char *) "n", NULL
4754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
4755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4756 if (SWIG_arg_fail(1)) SWIG_fail
;
4758 arg2
= (int)(SWIG_As_int(obj1
));
4759 if (SWIG_arg_fail(2)) SWIG_fail
;
4762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4763 (arg1
)->SetSelection(arg2
);
4765 wxPyEndAllowThreads(__tstate
);
4766 if (PyErr_Occurred()) SWIG_fail
;
4768 Py_INCREF(Py_None
); resultobj
= Py_None
;
4775 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4776 PyObject
*resultobj
;
4777 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4780 PyObject
* obj0
= 0 ;
4781 PyObject
* obj1
= 0 ;
4782 PyObject
* obj2
= 0 ;
4784 (char *) "self",(char *) "from",(char *) "to", NULL
4787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4789 if (SWIG_arg_fail(1)) SWIG_fail
;
4791 arg2
= (long)(SWIG_As_long(obj1
));
4792 if (SWIG_arg_fail(2)) SWIG_fail
;
4795 arg3
= (long)(SWIG_As_long(obj2
));
4796 if (SWIG_arg_fail(3)) SWIG_fail
;
4799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4800 (arg1
)->SetSelection(arg2
,arg3
);
4802 wxPyEndAllowThreads(__tstate
);
4803 if (PyErr_Occurred()) SWIG_fail
;
4805 Py_INCREF(Py_None
); resultobj
= Py_None
;
4812 static PyObject
*_wrap_ComboBox_GetMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4813 PyObject
*resultobj
;
4814 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4815 long *arg2
= (long *) 0 ;
4816 long *arg3
= (long *) 0 ;
4821 PyObject
* obj0
= 0 ;
4823 (char *) "self", NULL
4826 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4827 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
4828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetMark",kwnames
,&obj0
)) goto fail
;
4829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4830 if (SWIG_arg_fail(1)) SWIG_fail
;
4832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4833 (arg1
)->GetSelection(arg2
,arg3
);
4835 wxPyEndAllowThreads(__tstate
);
4836 if (PyErr_Occurred()) SWIG_fail
;
4838 Py_INCREF(Py_None
); resultobj
= Py_None
;
4839 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4840 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
4841 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
4842 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
4849 static PyObject
*_wrap_ComboBox_GetCurrentSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4850 PyObject
*resultobj
;
4851 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4853 PyObject
* obj0
= 0 ;
4855 (char *) "self", NULL
4858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetCurrentSelection",kwnames
,&obj0
)) goto fail
;
4859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4860 if (SWIG_arg_fail(1)) SWIG_fail
;
4862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4863 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
4865 wxPyEndAllowThreads(__tstate
);
4866 if (PyErr_Occurred()) SWIG_fail
;
4869 resultobj
= SWIG_From_int((int)(result
));
4877 static PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4878 PyObject
*resultobj
;
4879 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4880 wxString
*arg2
= 0 ;
4882 bool temp2
= false ;
4883 PyObject
* obj0
= 0 ;
4884 PyObject
* obj1
= 0 ;
4886 (char *) "self",(char *) "string", NULL
4889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
4890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4891 if (SWIG_arg_fail(1)) SWIG_fail
;
4893 arg2
= wxString_in_helper(obj1
);
4894 if (arg2
== NULL
) SWIG_fail
;
4898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4899 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
4901 wxPyEndAllowThreads(__tstate
);
4902 if (PyErr_Occurred()) SWIG_fail
;
4905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4921 static PyObject
*_wrap_ComboBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4922 PyObject
*resultobj
;
4923 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4925 wxString
*arg3
= 0 ;
4926 bool temp3
= false ;
4927 PyObject
* obj0
= 0 ;
4928 PyObject
* obj1
= 0 ;
4929 PyObject
* obj2
= 0 ;
4931 (char *) "self",(char *) "n",(char *) "string", NULL
4934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4936 if (SWIG_arg_fail(1)) SWIG_fail
;
4938 arg2
= (int)(SWIG_As_int(obj1
));
4939 if (SWIG_arg_fail(2)) SWIG_fail
;
4942 arg3
= wxString_in_helper(obj2
);
4943 if (arg3
== NULL
) SWIG_fail
;
4947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4948 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
4950 wxPyEndAllowThreads(__tstate
);
4951 if (PyErr_Occurred()) SWIG_fail
;
4953 Py_INCREF(Py_None
); resultobj
= Py_None
;
4968 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4969 PyObject
*resultobj
;
4970 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4972 PyObject
* obj0
= 0 ;
4973 PyObject
* obj1
= 0 ;
4975 (char *) "self",(char *) "editable", NULL
4978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
4979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4980 if (SWIG_arg_fail(1)) SWIG_fail
;
4982 arg2
= (bool)(SWIG_As_bool(obj1
));
4983 if (SWIG_arg_fail(2)) SWIG_fail
;
4986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4987 (arg1
)->SetEditable(arg2
);
4989 wxPyEndAllowThreads(__tstate
);
4990 if (PyErr_Occurred()) SWIG_fail
;
4992 Py_INCREF(Py_None
); resultobj
= Py_None
;
4999 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5000 PyObject
*resultobj
;
5001 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5002 PyObject
* obj0
= 0 ;
5004 (char *) "self", NULL
5007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
5008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5009 if (SWIG_arg_fail(1)) SWIG_fail
;
5011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5012 (arg1
)->SetInsertionPointEnd();
5014 wxPyEndAllowThreads(__tstate
);
5015 if (PyErr_Occurred()) SWIG_fail
;
5017 Py_INCREF(Py_None
); resultobj
= Py_None
;
5024 static PyObject
*_wrap_ComboBox_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5025 PyObject
*resultobj
;
5026 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5029 PyObject
* obj0
= 0 ;
5030 PyObject
* obj1
= 0 ;
5031 PyObject
* obj2
= 0 ;
5033 (char *) "self",(char *) "from",(char *) "to", NULL
5036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5038 if (SWIG_arg_fail(1)) SWIG_fail
;
5040 arg2
= (long)(SWIG_As_long(obj1
));
5041 if (SWIG_arg_fail(2)) SWIG_fail
;
5044 arg3
= (long)(SWIG_As_long(obj2
));
5045 if (SWIG_arg_fail(3)) SWIG_fail
;
5048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5049 (arg1
)->Remove(arg2
,arg3
);
5051 wxPyEndAllowThreads(__tstate
);
5052 if (PyErr_Occurred()) SWIG_fail
;
5054 Py_INCREF(Py_None
); resultobj
= Py_None
;
5061 static PyObject
*_wrap_ComboBox_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5062 PyObject
*resultobj
;
5063 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5065 PyObject
* obj0
= 0 ;
5067 (char *) "self", NULL
5070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_IsEditable",kwnames
,&obj0
)) goto fail
;
5071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5072 if (SWIG_arg_fail(1)) SWIG_fail
;
5074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5075 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
5077 wxPyEndAllowThreads(__tstate
);
5078 if (PyErr_Occurred()) SWIG_fail
;
5081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5089 static PyObject
*_wrap_ComboBox_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5090 PyObject
*resultobj
;
5091 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5092 PyObject
* obj0
= 0 ;
5094 (char *) "self", NULL
5097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Undo",kwnames
,&obj0
)) goto fail
;
5098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5099 if (SWIG_arg_fail(1)) SWIG_fail
;
5101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5104 wxPyEndAllowThreads(__tstate
);
5105 if (PyErr_Occurred()) SWIG_fail
;
5107 Py_INCREF(Py_None
); resultobj
= Py_None
;
5114 static PyObject
*_wrap_ComboBox_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5115 PyObject
*resultobj
;
5116 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5117 PyObject
* obj0
= 0 ;
5119 (char *) "self", NULL
5122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Redo",kwnames
,&obj0
)) goto fail
;
5123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5124 if (SWIG_arg_fail(1)) SWIG_fail
;
5126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5129 wxPyEndAllowThreads(__tstate
);
5130 if (PyErr_Occurred()) SWIG_fail
;
5132 Py_INCREF(Py_None
); resultobj
= Py_None
;
5139 static PyObject
*_wrap_ComboBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5140 PyObject
*resultobj
;
5141 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5142 PyObject
* obj0
= 0 ;
5144 (char *) "self", NULL
5147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SelectAll",kwnames
,&obj0
)) goto fail
;
5148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5149 if (SWIG_arg_fail(1)) SWIG_fail
;
5151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5152 (arg1
)->SelectAll();
5154 wxPyEndAllowThreads(__tstate
);
5155 if (PyErr_Occurred()) SWIG_fail
;
5157 Py_INCREF(Py_None
); resultobj
= Py_None
;
5164 static PyObject
*_wrap_ComboBox_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5165 PyObject
*resultobj
;
5166 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5168 PyObject
* obj0
= 0 ;
5170 (char *) "self", NULL
5173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanCopy",kwnames
,&obj0
)) goto fail
;
5174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5175 if (SWIG_arg_fail(1)) SWIG_fail
;
5177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5178 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
5180 wxPyEndAllowThreads(__tstate
);
5181 if (PyErr_Occurred()) SWIG_fail
;
5184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5192 static PyObject
*_wrap_ComboBox_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5193 PyObject
*resultobj
;
5194 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5196 PyObject
* obj0
= 0 ;
5198 (char *) "self", NULL
5201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanCut",kwnames
,&obj0
)) goto fail
;
5202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5203 if (SWIG_arg_fail(1)) SWIG_fail
;
5205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5206 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
5208 wxPyEndAllowThreads(__tstate
);
5209 if (PyErr_Occurred()) SWIG_fail
;
5212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5220 static PyObject
*_wrap_ComboBox_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5221 PyObject
*resultobj
;
5222 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5224 PyObject
* obj0
= 0 ;
5226 (char *) "self", NULL
5229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanPaste",kwnames
,&obj0
)) goto fail
;
5230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5231 if (SWIG_arg_fail(1)) SWIG_fail
;
5233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5234 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
5236 wxPyEndAllowThreads(__tstate
);
5237 if (PyErr_Occurred()) SWIG_fail
;
5240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5248 static PyObject
*_wrap_ComboBox_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5249 PyObject
*resultobj
;
5250 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5252 PyObject
* obj0
= 0 ;
5254 (char *) "self", NULL
5257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanUndo",kwnames
,&obj0
)) goto fail
;
5258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5259 if (SWIG_arg_fail(1)) SWIG_fail
;
5261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5262 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
5264 wxPyEndAllowThreads(__tstate
);
5265 if (PyErr_Occurred()) SWIG_fail
;
5268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5276 static PyObject
*_wrap_ComboBox_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5277 PyObject
*resultobj
;
5278 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5280 PyObject
* obj0
= 0 ;
5282 (char *) "self", NULL
5285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanRedo",kwnames
,&obj0
)) goto fail
;
5286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5287 if (SWIG_arg_fail(1)) SWIG_fail
;
5289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5290 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
5292 wxPyEndAllowThreads(__tstate
);
5293 if (PyErr_Occurred()) SWIG_fail
;
5296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5304 static PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5305 PyObject
*resultobj
;
5306 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5307 wxVisualAttributes result
;
5308 PyObject
* obj0
= 0 ;
5310 (char *) "variant", NULL
5313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5316 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
5317 if (SWIG_arg_fail(1)) SWIG_fail
;
5321 if (!wxPyCheckForApp()) SWIG_fail
;
5322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5323 result
= wxComboBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5325 wxPyEndAllowThreads(__tstate
);
5326 if (PyErr_Occurred()) SWIG_fail
;
5329 wxVisualAttributes
* resultptr
;
5330 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
5331 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5339 static PyObject
* ComboBox_swigregister(PyObject
*, PyObject
*args
) {
5341 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5342 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
5344 return Py_BuildValue((char *)"");
5346 static int _wrap_GaugeNameStr_set(PyObject
*) {
5347 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
5352 static PyObject
*_wrap_GaugeNameStr_get(void) {
5357 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
5359 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
5366 static PyObject
*_wrap_new_Gauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5367 PyObject
*resultobj
;
5368 wxWindow
*arg1
= (wxWindow
*) 0 ;
5369 int arg2
= (int) -1 ;
5370 int arg3
= (int) 100 ;
5371 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5372 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5373 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5374 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5375 long arg6
= (long) wxGA_HORIZONTAL
;
5376 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5377 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5378 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
5379 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5383 bool temp8
= false ;
5384 PyObject
* obj0
= 0 ;
5385 PyObject
* obj1
= 0 ;
5386 PyObject
* obj2
= 0 ;
5387 PyObject
* obj3
= 0 ;
5388 PyObject
* obj4
= 0 ;
5389 PyObject
* obj5
= 0 ;
5390 PyObject
* obj6
= 0 ;
5391 PyObject
* obj7
= 0 ;
5393 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5398 if (SWIG_arg_fail(1)) SWIG_fail
;
5401 arg2
= (int)(SWIG_As_int(obj1
));
5402 if (SWIG_arg_fail(2)) SWIG_fail
;
5407 arg3
= (int)(SWIG_As_int(obj2
));
5408 if (SWIG_arg_fail(3)) SWIG_fail
;
5414 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5420 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5425 arg6
= (long)(SWIG_As_long(obj5
));
5426 if (SWIG_arg_fail(6)) SWIG_fail
;
5431 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
5432 if (SWIG_arg_fail(7)) SWIG_fail
;
5434 SWIG_null_ref("wxValidator");
5436 if (SWIG_arg_fail(7)) SWIG_fail
;
5441 arg8
= wxString_in_helper(obj7
);
5442 if (arg8
== NULL
) SWIG_fail
;
5447 if (!wxPyCheckForApp()) SWIG_fail
;
5448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5449 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5451 wxPyEndAllowThreads(__tstate
);
5452 if (PyErr_Occurred()) SWIG_fail
;
5454 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
5469 static PyObject
*_wrap_new_PreGauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5470 PyObject
*resultobj
;
5476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
5478 if (!wxPyCheckForApp()) SWIG_fail
;
5479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5480 result
= (wxGauge
*)new wxGauge();
5482 wxPyEndAllowThreads(__tstate
);
5483 if (PyErr_Occurred()) SWIG_fail
;
5485 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
5492 static PyObject
*_wrap_Gauge_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5493 PyObject
*resultobj
;
5494 wxGauge
*arg1
= (wxGauge
*) 0 ;
5495 wxWindow
*arg2
= (wxWindow
*) 0 ;
5496 int arg3
= (int) -1 ;
5497 int arg4
= (int) 100 ;
5498 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5499 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5500 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5501 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5502 long arg7
= (long) wxGA_HORIZONTAL
;
5503 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5504 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5505 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
5506 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5510 bool temp9
= false ;
5511 PyObject
* obj0
= 0 ;
5512 PyObject
* obj1
= 0 ;
5513 PyObject
* obj2
= 0 ;
5514 PyObject
* obj3
= 0 ;
5515 PyObject
* obj4
= 0 ;
5516 PyObject
* obj5
= 0 ;
5517 PyObject
* obj6
= 0 ;
5518 PyObject
* obj7
= 0 ;
5519 PyObject
* obj8
= 0 ;
5521 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5526 if (SWIG_arg_fail(1)) SWIG_fail
;
5527 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5528 if (SWIG_arg_fail(2)) SWIG_fail
;
5531 arg3
= (int)(SWIG_As_int(obj2
));
5532 if (SWIG_arg_fail(3)) SWIG_fail
;
5537 arg4
= (int)(SWIG_As_int(obj3
));
5538 if (SWIG_arg_fail(4)) SWIG_fail
;
5544 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5550 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5555 arg7
= (long)(SWIG_As_long(obj6
));
5556 if (SWIG_arg_fail(7)) SWIG_fail
;
5561 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
5562 if (SWIG_arg_fail(8)) SWIG_fail
;
5564 SWIG_null_ref("wxValidator");
5566 if (SWIG_arg_fail(8)) SWIG_fail
;
5571 arg9
= wxString_in_helper(obj8
);
5572 if (arg9
== NULL
) SWIG_fail
;
5577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5578 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5580 wxPyEndAllowThreads(__tstate
);
5581 if (PyErr_Occurred()) SWIG_fail
;
5584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5600 static PyObject
*_wrap_Gauge_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5601 PyObject
*resultobj
;
5602 wxGauge
*arg1
= (wxGauge
*) 0 ;
5604 PyObject
* obj0
= 0 ;
5605 PyObject
* obj1
= 0 ;
5607 (char *) "self",(char *) "range", NULL
5610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
5611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5612 if (SWIG_arg_fail(1)) SWIG_fail
;
5614 arg2
= (int)(SWIG_As_int(obj1
));
5615 if (SWIG_arg_fail(2)) SWIG_fail
;
5618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5619 (arg1
)->SetRange(arg2
);
5621 wxPyEndAllowThreads(__tstate
);
5622 if (PyErr_Occurred()) SWIG_fail
;
5624 Py_INCREF(Py_None
); resultobj
= Py_None
;
5631 static PyObject
*_wrap_Gauge_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5632 PyObject
*resultobj
;
5633 wxGauge
*arg1
= (wxGauge
*) 0 ;
5635 PyObject
* obj0
= 0 ;
5637 (char *) "self", NULL
5640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
5641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5642 if (SWIG_arg_fail(1)) SWIG_fail
;
5644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5645 result
= (int)((wxGauge
const *)arg1
)->GetRange();
5647 wxPyEndAllowThreads(__tstate
);
5648 if (PyErr_Occurred()) SWIG_fail
;
5651 resultobj
= SWIG_From_int((int)(result
));
5659 static PyObject
*_wrap_Gauge_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5660 PyObject
*resultobj
;
5661 wxGauge
*arg1
= (wxGauge
*) 0 ;
5663 PyObject
* obj0
= 0 ;
5664 PyObject
* obj1
= 0 ;
5666 (char *) "self",(char *) "pos", NULL
5669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
5670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5671 if (SWIG_arg_fail(1)) SWIG_fail
;
5673 arg2
= (int)(SWIG_As_int(obj1
));
5674 if (SWIG_arg_fail(2)) SWIG_fail
;
5677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5678 (arg1
)->SetValue(arg2
);
5680 wxPyEndAllowThreads(__tstate
);
5681 if (PyErr_Occurred()) SWIG_fail
;
5683 Py_INCREF(Py_None
); resultobj
= Py_None
;
5690 static PyObject
*_wrap_Gauge_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5691 PyObject
*resultobj
;
5692 wxGauge
*arg1
= (wxGauge
*) 0 ;
5694 PyObject
* obj0
= 0 ;
5696 (char *) "self", NULL
5699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
5700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5701 if (SWIG_arg_fail(1)) SWIG_fail
;
5703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5704 result
= (int)((wxGauge
const *)arg1
)->GetValue();
5706 wxPyEndAllowThreads(__tstate
);
5707 if (PyErr_Occurred()) SWIG_fail
;
5710 resultobj
= SWIG_From_int((int)(result
));
5718 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5719 PyObject
*resultobj
;
5720 wxGauge
*arg1
= (wxGauge
*) 0 ;
5722 PyObject
* obj0
= 0 ;
5724 (char *) "self", NULL
5727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
5728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5729 if (SWIG_arg_fail(1)) SWIG_fail
;
5731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5732 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
5734 wxPyEndAllowThreads(__tstate
);
5735 if (PyErr_Occurred()) SWIG_fail
;
5738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5746 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5747 PyObject
*resultobj
;
5748 wxGauge
*arg1
= (wxGauge
*) 0 ;
5750 PyObject
* obj0
= 0 ;
5751 PyObject
* obj1
= 0 ;
5753 (char *) "self",(char *) "w", NULL
5756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5758 if (SWIG_arg_fail(1)) SWIG_fail
;
5760 arg2
= (int)(SWIG_As_int(obj1
));
5761 if (SWIG_arg_fail(2)) SWIG_fail
;
5764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5765 (arg1
)->SetShadowWidth(arg2
);
5767 wxPyEndAllowThreads(__tstate
);
5768 if (PyErr_Occurred()) SWIG_fail
;
5770 Py_INCREF(Py_None
); resultobj
= Py_None
;
5777 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5778 PyObject
*resultobj
;
5779 wxGauge
*arg1
= (wxGauge
*) 0 ;
5781 PyObject
* obj0
= 0 ;
5783 (char *) "self", NULL
5786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
5787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5788 if (SWIG_arg_fail(1)) SWIG_fail
;
5790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5791 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
5793 wxPyEndAllowThreads(__tstate
);
5794 if (PyErr_Occurred()) SWIG_fail
;
5797 resultobj
= SWIG_From_int((int)(result
));
5805 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5806 PyObject
*resultobj
;
5807 wxGauge
*arg1
= (wxGauge
*) 0 ;
5809 PyObject
* obj0
= 0 ;
5810 PyObject
* obj1
= 0 ;
5812 (char *) "self",(char *) "w", NULL
5815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
5816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5817 if (SWIG_arg_fail(1)) SWIG_fail
;
5819 arg2
= (int)(SWIG_As_int(obj1
));
5820 if (SWIG_arg_fail(2)) SWIG_fail
;
5823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5824 (arg1
)->SetBezelFace(arg2
);
5826 wxPyEndAllowThreads(__tstate
);
5827 if (PyErr_Occurred()) SWIG_fail
;
5829 Py_INCREF(Py_None
); resultobj
= Py_None
;
5836 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5837 PyObject
*resultobj
;
5838 wxGauge
*arg1
= (wxGauge
*) 0 ;
5840 PyObject
* obj0
= 0 ;
5842 (char *) "self", NULL
5845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
5846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5847 if (SWIG_arg_fail(1)) SWIG_fail
;
5849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5850 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
5852 wxPyEndAllowThreads(__tstate
);
5853 if (PyErr_Occurred()) SWIG_fail
;
5856 resultobj
= SWIG_From_int((int)(result
));
5864 static PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5865 PyObject
*resultobj
;
5866 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5867 wxVisualAttributes result
;
5868 PyObject
* obj0
= 0 ;
5870 (char *) "variant", NULL
5873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5876 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
5877 if (SWIG_arg_fail(1)) SWIG_fail
;
5881 if (!wxPyCheckForApp()) SWIG_fail
;
5882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5883 result
= wxGauge::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5885 wxPyEndAllowThreads(__tstate
);
5886 if (PyErr_Occurred()) SWIG_fail
;
5889 wxVisualAttributes
* resultptr
;
5890 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
5891 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5899 static PyObject
* Gauge_swigregister(PyObject
*, PyObject
*args
) {
5901 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5902 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
5904 return Py_BuildValue((char *)"");
5906 static int _wrap_StaticBitmapNameStr_set(PyObject
*) {
5907 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
5912 static PyObject
*_wrap_StaticBitmapNameStr_get(void) {
5917 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
5919 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
5926 static int _wrap_StaticBoxNameStr_set(PyObject
*) {
5927 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
5932 static PyObject
*_wrap_StaticBoxNameStr_get(void) {
5937 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
5939 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
5946 static int _wrap_StaticTextNameStr_set(PyObject
*) {
5947 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
5952 static PyObject
*_wrap_StaticTextNameStr_get(void) {
5957 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
5959 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
5966 static PyObject
*_wrap_new_StaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5967 PyObject
*resultobj
;
5968 wxWindow
*arg1
= (wxWindow
*) 0 ;
5969 int arg2
= (int) -1 ;
5970 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5971 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5972 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5973 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5974 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5975 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5976 long arg6
= (long) 0 ;
5977 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
5978 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5979 wxStaticBox
*result
;
5980 bool temp3
= false ;
5983 bool temp7
= false ;
5984 PyObject
* obj0
= 0 ;
5985 PyObject
* obj1
= 0 ;
5986 PyObject
* obj2
= 0 ;
5987 PyObject
* obj3
= 0 ;
5988 PyObject
* obj4
= 0 ;
5989 PyObject
* obj5
= 0 ;
5990 PyObject
* obj6
= 0 ;
5992 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5997 if (SWIG_arg_fail(1)) SWIG_fail
;
6000 arg2
= (int)(SWIG_As_int(obj1
));
6001 if (SWIG_arg_fail(2)) SWIG_fail
;
6006 arg3
= wxString_in_helper(obj2
);
6007 if (arg3
== NULL
) SWIG_fail
;
6014 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6020 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6025 arg6
= (long)(SWIG_As_long(obj5
));
6026 if (SWIG_arg_fail(6)) SWIG_fail
;
6031 arg7
= wxString_in_helper(obj6
);
6032 if (arg7
== NULL
) SWIG_fail
;
6037 if (!wxPyCheckForApp()) SWIG_fail
;
6038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6039 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6041 wxPyEndAllowThreads(__tstate
);
6042 if (PyErr_Occurred()) SWIG_fail
;
6044 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
6067 static PyObject
*_wrap_new_PreStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6068 PyObject
*resultobj
;
6069 wxStaticBox
*result
;
6074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
6076 if (!wxPyCheckForApp()) SWIG_fail
;
6077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6078 result
= (wxStaticBox
*)new wxStaticBox();
6080 wxPyEndAllowThreads(__tstate
);
6081 if (PyErr_Occurred()) SWIG_fail
;
6083 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
6090 static PyObject
*_wrap_StaticBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6091 PyObject
*resultobj
;
6092 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
6093 wxWindow
*arg2
= (wxWindow
*) 0 ;
6094 int arg3
= (int) -1 ;
6095 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6096 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6097 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6098 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6099 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6100 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6101 long arg7
= (long) 0 ;
6102 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
6103 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6105 bool temp4
= false ;
6108 bool temp8
= false ;
6109 PyObject
* obj0
= 0 ;
6110 PyObject
* obj1
= 0 ;
6111 PyObject
* obj2
= 0 ;
6112 PyObject
* obj3
= 0 ;
6113 PyObject
* obj4
= 0 ;
6114 PyObject
* obj5
= 0 ;
6115 PyObject
* obj6
= 0 ;
6116 PyObject
* obj7
= 0 ;
6118 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
6123 if (SWIG_arg_fail(1)) SWIG_fail
;
6124 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6125 if (SWIG_arg_fail(2)) SWIG_fail
;
6128 arg3
= (int)(SWIG_As_int(obj2
));
6129 if (SWIG_arg_fail(3)) SWIG_fail
;
6134 arg4
= wxString_in_helper(obj3
);
6135 if (arg4
== NULL
) SWIG_fail
;
6142 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6148 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6153 arg7
= (long)(SWIG_As_long(obj6
));
6154 if (SWIG_arg_fail(7)) SWIG_fail
;
6159 arg8
= wxString_in_helper(obj7
);
6160 if (arg8
== NULL
) SWIG_fail
;
6165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6166 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6168 wxPyEndAllowThreads(__tstate
);
6169 if (PyErr_Occurred()) SWIG_fail
;
6172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6196 static PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6197 PyObject
*resultobj
;
6198 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6199 wxVisualAttributes result
;
6200 PyObject
* obj0
= 0 ;
6202 (char *) "variant", NULL
6205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6208 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6209 if (SWIG_arg_fail(1)) SWIG_fail
;
6213 if (!wxPyCheckForApp()) SWIG_fail
;
6214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6215 result
= wxStaticBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6217 wxPyEndAllowThreads(__tstate
);
6218 if (PyErr_Occurred()) SWIG_fail
;
6221 wxVisualAttributes
* resultptr
;
6222 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6223 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6231 static PyObject
* StaticBox_swigregister(PyObject
*, PyObject
*args
) {
6233 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6234 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
6236 return Py_BuildValue((char *)"");
6238 static PyObject
*_wrap_new_StaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6239 PyObject
*resultobj
;
6240 wxWindow
*arg1
= (wxWindow
*) 0 ;
6241 int arg2
= (int) -1 ;
6242 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6243 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6244 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6245 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6246 long arg5
= (long) wxLI_HORIZONTAL
;
6247 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
6248 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6249 wxStaticLine
*result
;
6252 bool temp6
= false ;
6253 PyObject
* obj0
= 0 ;
6254 PyObject
* obj1
= 0 ;
6255 PyObject
* obj2
= 0 ;
6256 PyObject
* obj3
= 0 ;
6257 PyObject
* obj4
= 0 ;
6258 PyObject
* obj5
= 0 ;
6260 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6265 if (SWIG_arg_fail(1)) SWIG_fail
;
6268 arg2
= (int)(SWIG_As_int(obj1
));
6269 if (SWIG_arg_fail(2)) SWIG_fail
;
6275 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6281 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6286 arg5
= (long)(SWIG_As_long(obj4
));
6287 if (SWIG_arg_fail(5)) SWIG_fail
;
6292 arg6
= wxString_in_helper(obj5
);
6293 if (arg6
== NULL
) SWIG_fail
;
6298 if (!wxPyCheckForApp()) SWIG_fail
;
6299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6300 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6302 wxPyEndAllowThreads(__tstate
);
6303 if (PyErr_Occurred()) SWIG_fail
;
6305 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
6320 static PyObject
*_wrap_new_PreStaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6321 PyObject
*resultobj
;
6322 wxStaticLine
*result
;
6327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
6329 if (!wxPyCheckForApp()) SWIG_fail
;
6330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6331 result
= (wxStaticLine
*)new wxStaticLine();
6333 wxPyEndAllowThreads(__tstate
);
6334 if (PyErr_Occurred()) SWIG_fail
;
6336 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
6343 static PyObject
*_wrap_StaticLine_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6344 PyObject
*resultobj
;
6345 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
6346 wxWindow
*arg2
= (wxWindow
*) 0 ;
6347 int arg3
= (int) -1 ;
6348 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6349 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6350 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6351 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6352 long arg6
= (long) wxLI_HORIZONTAL
;
6353 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
6354 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6358 bool temp7
= false ;
6359 PyObject
* obj0
= 0 ;
6360 PyObject
* obj1
= 0 ;
6361 PyObject
* obj2
= 0 ;
6362 PyObject
* obj3
= 0 ;
6363 PyObject
* obj4
= 0 ;
6364 PyObject
* obj5
= 0 ;
6365 PyObject
* obj6
= 0 ;
6367 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_EXCEPTION
| 0);
6372 if (SWIG_arg_fail(1)) SWIG_fail
;
6373 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6374 if (SWIG_arg_fail(2)) SWIG_fail
;
6377 arg3
= (int)(SWIG_As_int(obj2
));
6378 if (SWIG_arg_fail(3)) SWIG_fail
;
6384 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6390 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6395 arg6
= (long)(SWIG_As_long(obj5
));
6396 if (SWIG_arg_fail(6)) SWIG_fail
;
6401 arg7
= wxString_in_helper(obj6
);
6402 if (arg7
== NULL
) SWIG_fail
;
6407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6408 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6410 wxPyEndAllowThreads(__tstate
);
6411 if (PyErr_Occurred()) SWIG_fail
;
6414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6430 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6431 PyObject
*resultobj
;
6432 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
6434 PyObject
* obj0
= 0 ;
6436 (char *) "self", NULL
6439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
6440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_EXCEPTION
| 0);
6441 if (SWIG_arg_fail(1)) SWIG_fail
;
6443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6444 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
6446 wxPyEndAllowThreads(__tstate
);
6447 if (PyErr_Occurred()) SWIG_fail
;
6450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6458 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6459 PyObject
*resultobj
;
6465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
6467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6468 result
= (int)wxStaticLine::GetDefaultSize();
6470 wxPyEndAllowThreads(__tstate
);
6471 if (PyErr_Occurred()) SWIG_fail
;
6474 resultobj
= SWIG_From_int((int)(result
));
6482 static PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6483 PyObject
*resultobj
;
6484 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6485 wxVisualAttributes result
;
6486 PyObject
* obj0
= 0 ;
6488 (char *) "variant", NULL
6491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6494 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6495 if (SWIG_arg_fail(1)) SWIG_fail
;
6499 if (!wxPyCheckForApp()) SWIG_fail
;
6500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6501 result
= wxStaticLine::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6503 wxPyEndAllowThreads(__tstate
);
6504 if (PyErr_Occurred()) SWIG_fail
;
6507 wxVisualAttributes
* resultptr
;
6508 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6509 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6517 static PyObject
* StaticLine_swigregister(PyObject
*, PyObject
*args
) {
6519 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6520 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
6522 return Py_BuildValue((char *)"");
6524 static PyObject
*_wrap_new_StaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6525 PyObject
*resultobj
;
6526 wxWindow
*arg1
= (wxWindow
*) 0 ;
6527 int arg2
= (int) -1 ;
6528 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6529 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6530 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6531 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6532 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6533 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6534 long arg6
= (long) 0 ;
6535 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
6536 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6537 wxStaticText
*result
;
6538 bool temp3
= false ;
6541 bool temp7
= false ;
6542 PyObject
* obj0
= 0 ;
6543 PyObject
* obj1
= 0 ;
6544 PyObject
* obj2
= 0 ;
6545 PyObject
* obj3
= 0 ;
6546 PyObject
* obj4
= 0 ;
6547 PyObject
* obj5
= 0 ;
6548 PyObject
* obj6
= 0 ;
6550 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6555 if (SWIG_arg_fail(1)) SWIG_fail
;
6558 arg2
= (int)(SWIG_As_int(obj1
));
6559 if (SWIG_arg_fail(2)) SWIG_fail
;
6564 arg3
= wxString_in_helper(obj2
);
6565 if (arg3
== NULL
) SWIG_fail
;
6572 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6578 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6583 arg6
= (long)(SWIG_As_long(obj5
));
6584 if (SWIG_arg_fail(6)) SWIG_fail
;
6589 arg7
= wxString_in_helper(obj6
);
6590 if (arg7
== NULL
) SWIG_fail
;
6595 if (!wxPyCheckForApp()) SWIG_fail
;
6596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6597 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6599 wxPyEndAllowThreads(__tstate
);
6600 if (PyErr_Occurred()) SWIG_fail
;
6602 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
6625 static PyObject
*_wrap_new_PreStaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6626 PyObject
*resultobj
;
6627 wxStaticText
*result
;
6632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
6634 if (!wxPyCheckForApp()) SWIG_fail
;
6635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6636 result
= (wxStaticText
*)new wxStaticText();
6638 wxPyEndAllowThreads(__tstate
);
6639 if (PyErr_Occurred()) SWIG_fail
;
6641 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
6648 static PyObject
*_wrap_StaticText_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6649 PyObject
*resultobj
;
6650 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
6651 wxWindow
*arg2
= (wxWindow
*) 0 ;
6652 int arg3
= (int) -1 ;
6653 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6654 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6655 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6656 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6657 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6658 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6659 long arg7
= (long) 0 ;
6660 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
6661 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6663 bool temp4
= false ;
6666 bool temp8
= false ;
6667 PyObject
* obj0
= 0 ;
6668 PyObject
* obj1
= 0 ;
6669 PyObject
* obj2
= 0 ;
6670 PyObject
* obj3
= 0 ;
6671 PyObject
* obj4
= 0 ;
6672 PyObject
* obj5
= 0 ;
6673 PyObject
* obj6
= 0 ;
6674 PyObject
* obj7
= 0 ;
6676 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticText
, SWIG_POINTER_EXCEPTION
| 0);
6681 if (SWIG_arg_fail(1)) SWIG_fail
;
6682 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6683 if (SWIG_arg_fail(2)) SWIG_fail
;
6686 arg3
= (int)(SWIG_As_int(obj2
));
6687 if (SWIG_arg_fail(3)) SWIG_fail
;
6692 arg4
= wxString_in_helper(obj3
);
6693 if (arg4
== NULL
) SWIG_fail
;
6700 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6706 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6711 arg7
= (long)(SWIG_As_long(obj6
));
6712 if (SWIG_arg_fail(7)) SWIG_fail
;
6717 arg8
= wxString_in_helper(obj7
);
6718 if (arg8
== NULL
) SWIG_fail
;
6723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6724 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6726 wxPyEndAllowThreads(__tstate
);
6727 if (PyErr_Occurred()) SWIG_fail
;
6730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6754 static PyObject
*_wrap_StaticText_Wrap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6755 PyObject
*resultobj
;
6756 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
6758 PyObject
* obj0
= 0 ;
6759 PyObject
* obj1
= 0 ;
6761 (char *) "self",(char *) "width", NULL
6764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) goto fail
;
6765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticText
, SWIG_POINTER_EXCEPTION
| 0);
6766 if (SWIG_arg_fail(1)) SWIG_fail
;
6768 arg2
= (int)(SWIG_As_int(obj1
));
6769 if (SWIG_arg_fail(2)) SWIG_fail
;
6772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6775 wxPyEndAllowThreads(__tstate
);
6776 if (PyErr_Occurred()) SWIG_fail
;
6778 Py_INCREF(Py_None
); resultobj
= Py_None
;
6785 static PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6786 PyObject
*resultobj
;
6787 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6788 wxVisualAttributes result
;
6789 PyObject
* obj0
= 0 ;
6791 (char *) "variant", NULL
6794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6797 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6798 if (SWIG_arg_fail(1)) SWIG_fail
;
6802 if (!wxPyCheckForApp()) SWIG_fail
;
6803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6804 result
= wxStaticText::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6806 wxPyEndAllowThreads(__tstate
);
6807 if (PyErr_Occurred()) SWIG_fail
;
6810 wxVisualAttributes
* resultptr
;
6811 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6812 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6820 static PyObject
* StaticText_swigregister(PyObject
*, PyObject
*args
) {
6822 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6823 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
6825 return Py_BuildValue((char *)"");
6827 static PyObject
*_wrap_new_StaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6828 PyObject
*resultobj
;
6829 wxWindow
*arg1
= (wxWindow
*) 0 ;
6830 int arg2
= (int) -1 ;
6831 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
6832 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
6833 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6834 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6835 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6836 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6837 long arg6
= (long) 0 ;
6838 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
6839 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6840 wxStaticBitmap
*result
;
6843 bool temp7
= false ;
6844 PyObject
* obj0
= 0 ;
6845 PyObject
* obj1
= 0 ;
6846 PyObject
* obj2
= 0 ;
6847 PyObject
* obj3
= 0 ;
6848 PyObject
* obj4
= 0 ;
6849 PyObject
* obj5
= 0 ;
6850 PyObject
* obj6
= 0 ;
6852 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6857 if (SWIG_arg_fail(1)) SWIG_fail
;
6860 arg2
= (int)(SWIG_As_int(obj1
));
6861 if (SWIG_arg_fail(2)) SWIG_fail
;
6866 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6867 if (SWIG_arg_fail(3)) SWIG_fail
;
6869 SWIG_null_ref("wxBitmap");
6871 if (SWIG_arg_fail(3)) SWIG_fail
;
6877 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6883 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6888 arg6
= (long)(SWIG_As_long(obj5
));
6889 if (SWIG_arg_fail(6)) SWIG_fail
;
6894 arg7
= wxString_in_helper(obj6
);
6895 if (arg7
== NULL
) SWIG_fail
;
6900 if (!wxPyCheckForApp()) SWIG_fail
;
6901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6902 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6904 wxPyEndAllowThreads(__tstate
);
6905 if (PyErr_Occurred()) SWIG_fail
;
6907 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
6922 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6923 PyObject
*resultobj
;
6924 wxStaticBitmap
*result
;
6929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
6931 if (!wxPyCheckForApp()) SWIG_fail
;
6932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6933 result
= (wxStaticBitmap
*)new wxStaticBitmap();
6935 wxPyEndAllowThreads(__tstate
);
6936 if (PyErr_Occurred()) SWIG_fail
;
6938 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
6945 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6946 PyObject
*resultobj
;
6947 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
6948 wxWindow
*arg2
= (wxWindow
*) 0 ;
6949 int arg3
= (int) -1 ;
6950 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
6951 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
6952 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6953 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6954 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6955 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6956 long arg7
= (long) 0 ;
6957 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
6958 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6962 bool temp8
= false ;
6963 PyObject
* obj0
= 0 ;
6964 PyObject
* obj1
= 0 ;
6965 PyObject
* obj2
= 0 ;
6966 PyObject
* obj3
= 0 ;
6967 PyObject
* obj4
= 0 ;
6968 PyObject
* obj5
= 0 ;
6969 PyObject
* obj6
= 0 ;
6970 PyObject
* obj7
= 0 ;
6972 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6977 if (SWIG_arg_fail(1)) SWIG_fail
;
6978 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6979 if (SWIG_arg_fail(2)) SWIG_fail
;
6982 arg3
= (int)(SWIG_As_int(obj2
));
6983 if (SWIG_arg_fail(3)) SWIG_fail
;
6988 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6989 if (SWIG_arg_fail(4)) SWIG_fail
;
6991 SWIG_null_ref("wxBitmap");
6993 if (SWIG_arg_fail(4)) SWIG_fail
;
6999 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7005 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7010 arg7
= (long)(SWIG_As_long(obj6
));
7011 if (SWIG_arg_fail(7)) SWIG_fail
;
7016 arg8
= wxString_in_helper(obj7
);
7017 if (arg8
== NULL
) SWIG_fail
;
7022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7023 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7025 wxPyEndAllowThreads(__tstate
);
7026 if (PyErr_Occurred()) SWIG_fail
;
7029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7045 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7046 PyObject
*resultobj
;
7047 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
7049 PyObject
* obj0
= 0 ;
7051 (char *) "self", NULL
7054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
7055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7056 if (SWIG_arg_fail(1)) SWIG_fail
;
7058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7059 result
= (arg1
)->GetBitmap();
7061 wxPyEndAllowThreads(__tstate
);
7062 if (PyErr_Occurred()) SWIG_fail
;
7065 wxBitmap
* resultptr
;
7066 resultptr
= new wxBitmap((wxBitmap
&)(result
));
7067 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
7075 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7076 PyObject
*resultobj
;
7077 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
7078 wxBitmap
*arg2
= 0 ;
7079 PyObject
* obj0
= 0 ;
7080 PyObject
* obj1
= 0 ;
7082 (char *) "self",(char *) "bitmap", NULL
7085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
7086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7087 if (SWIG_arg_fail(1)) SWIG_fail
;
7089 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7090 if (SWIG_arg_fail(2)) SWIG_fail
;
7092 SWIG_null_ref("wxBitmap");
7094 if (SWIG_arg_fail(2)) SWIG_fail
;
7097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7098 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
7100 wxPyEndAllowThreads(__tstate
);
7101 if (PyErr_Occurred()) SWIG_fail
;
7103 Py_INCREF(Py_None
); resultobj
= Py_None
;
7110 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7111 PyObject
*resultobj
;
7112 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
7114 PyObject
* obj0
= 0 ;
7115 PyObject
* obj1
= 0 ;
7117 (char *) "self",(char *) "icon", NULL
7120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
7121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7122 if (SWIG_arg_fail(1)) SWIG_fail
;
7124 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
7125 if (SWIG_arg_fail(2)) SWIG_fail
;
7127 SWIG_null_ref("wxIcon");
7129 if (SWIG_arg_fail(2)) SWIG_fail
;
7132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7133 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
7135 wxPyEndAllowThreads(__tstate
);
7136 if (PyErr_Occurred()) SWIG_fail
;
7138 Py_INCREF(Py_None
); resultobj
= Py_None
;
7145 static PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7146 PyObject
*resultobj
;
7147 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7148 wxVisualAttributes result
;
7149 PyObject
* obj0
= 0 ;
7151 (char *) "variant", NULL
7154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
7157 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
7158 if (SWIG_arg_fail(1)) SWIG_fail
;
7162 if (!wxPyCheckForApp()) SWIG_fail
;
7163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7164 result
= wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
7166 wxPyEndAllowThreads(__tstate
);
7167 if (PyErr_Occurred()) SWIG_fail
;
7170 wxVisualAttributes
* resultptr
;
7171 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
7172 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
7180 static PyObject
* StaticBitmap_swigregister(PyObject
*, PyObject
*args
) {
7182 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7183 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
7185 return Py_BuildValue((char *)"");
7187 static int _wrap_ListBoxNameStr_set(PyObject
*) {
7188 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
7193 static PyObject
*_wrap_ListBoxNameStr_get(void) {
7198 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
7200 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
7207 static PyObject
*_wrap_new_ListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7208 PyObject
*resultobj
;
7209 wxWindow
*arg1
= (wxWindow
*) 0 ;
7210 int arg2
= (int) -1 ;
7211 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7212 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7213 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7214 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7215 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
7216 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
7217 long arg6
= (long) 0 ;
7218 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7219 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7220 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
7221 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7225 bool temp5
= false ;
7226 bool temp8
= false ;
7227 PyObject
* obj0
= 0 ;
7228 PyObject
* obj1
= 0 ;
7229 PyObject
* obj2
= 0 ;
7230 PyObject
* obj3
= 0 ;
7231 PyObject
* obj4
= 0 ;
7232 PyObject
* obj5
= 0 ;
7233 PyObject
* obj6
= 0 ;
7234 PyObject
* obj7
= 0 ;
7236 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7241 if (SWIG_arg_fail(1)) SWIG_fail
;
7244 arg2
= (int)(SWIG_As_int(obj1
));
7245 if (SWIG_arg_fail(2)) SWIG_fail
;
7251 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7257 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7262 if (! PySequence_Check(obj4
)) {
7263 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7266 arg5
= new wxArrayString
;
7268 int i
, len
=PySequence_Length(obj4
);
7269 for (i
=0; i
<len
; i
++) {
7270 PyObject
* item
= PySequence_GetItem(obj4
, i
);
7271 wxString
* s
= wxString_in_helper(item
);
7272 if (PyErr_Occurred()) SWIG_fail
;
7281 arg6
= (long)(SWIG_As_long(obj5
));
7282 if (SWIG_arg_fail(6)) SWIG_fail
;
7287 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
7288 if (SWIG_arg_fail(7)) SWIG_fail
;
7290 SWIG_null_ref("wxValidator");
7292 if (SWIG_arg_fail(7)) SWIG_fail
;
7297 arg8
= wxString_in_helper(obj7
);
7298 if (arg8
== NULL
) SWIG_fail
;
7303 if (!wxPyCheckForApp()) SWIG_fail
;
7304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7305 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7307 wxPyEndAllowThreads(__tstate
);
7308 if (PyErr_Occurred()) SWIG_fail
;
7310 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
7312 if (temp5
) delete arg5
;
7321 if (temp5
) delete arg5
;
7331 static PyObject
*_wrap_new_PreListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7332 PyObject
*resultobj
;
7338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
7340 if (!wxPyCheckForApp()) SWIG_fail
;
7341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7342 result
= (wxListBox
*)new wxListBox();
7344 wxPyEndAllowThreads(__tstate
);
7345 if (PyErr_Occurred()) SWIG_fail
;
7347 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
7354 static PyObject
*_wrap_ListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7355 PyObject
*resultobj
;
7356 wxListBox
*arg1
= (wxListBox
*) 0 ;
7357 wxWindow
*arg2
= (wxWindow
*) 0 ;
7358 int arg3
= (int) -1 ;
7359 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7360 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7361 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7362 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7363 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
7364 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
7365 long arg7
= (long) 0 ;
7366 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
7367 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
7368 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
7369 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
7373 bool temp6
= false ;
7374 bool temp9
= false ;
7375 PyObject
* obj0
= 0 ;
7376 PyObject
* obj1
= 0 ;
7377 PyObject
* obj2
= 0 ;
7378 PyObject
* obj3
= 0 ;
7379 PyObject
* obj4
= 0 ;
7380 PyObject
* obj5
= 0 ;
7381 PyObject
* obj6
= 0 ;
7382 PyObject
* obj7
= 0 ;
7383 PyObject
* obj8
= 0 ;
7385 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
7389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7390 if (SWIG_arg_fail(1)) SWIG_fail
;
7391 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7392 if (SWIG_arg_fail(2)) SWIG_fail
;
7395 arg3
= (int)(SWIG_As_int(obj2
));
7396 if (SWIG_arg_fail(3)) SWIG_fail
;
7402 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7408 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7413 if (! PySequence_Check(obj5
)) {
7414 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7417 arg6
= new wxArrayString
;
7419 int i
, len
=PySequence_Length(obj5
);
7420 for (i
=0; i
<len
; i
++) {
7421 PyObject
* item
= PySequence_GetItem(obj5
, i
);
7422 wxString
* s
= wxString_in_helper(item
);
7423 if (PyErr_Occurred()) SWIG_fail
;
7432 arg7
= (long)(SWIG_As_long(obj6
));
7433 if (SWIG_arg_fail(7)) SWIG_fail
;
7438 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
7439 if (SWIG_arg_fail(8)) SWIG_fail
;
7441 SWIG_null_ref("wxValidator");
7443 if (SWIG_arg_fail(8)) SWIG_fail
;
7448 arg9
= wxString_in_helper(obj8
);
7449 if (arg9
== NULL
) SWIG_fail
;
7454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7455 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7457 wxPyEndAllowThreads(__tstate
);
7458 if (PyErr_Occurred()) SWIG_fail
;
7461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7464 if (temp6
) delete arg6
;
7473 if (temp6
) delete arg6
;
7483 static PyObject
*_wrap_ListBox_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7484 PyObject
*resultobj
;
7485 wxListBox
*arg1
= (wxListBox
*) 0 ;
7486 wxString
*arg2
= 0 ;
7488 PyObject
*arg4
= (PyObject
*) NULL
;
7489 bool temp2
= false ;
7490 PyObject
* obj0
= 0 ;
7491 PyObject
* obj1
= 0 ;
7492 PyObject
* obj2
= 0 ;
7493 PyObject
* obj3
= 0 ;
7495 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
7498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7500 if (SWIG_arg_fail(1)) SWIG_fail
;
7502 arg2
= wxString_in_helper(obj1
);
7503 if (arg2
== NULL
) SWIG_fail
;
7507 arg3
= (int)(SWIG_As_int(obj2
));
7508 if (SWIG_arg_fail(3)) SWIG_fail
;
7514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7515 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7517 wxPyEndAllowThreads(__tstate
);
7518 if (PyErr_Occurred()) SWIG_fail
;
7520 Py_INCREF(Py_None
); resultobj
= Py_None
;
7535 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7536 PyObject
*resultobj
;
7537 wxListBox
*arg1
= (wxListBox
*) 0 ;
7538 wxArrayString
*arg2
= 0 ;
7540 bool temp2
= false ;
7541 PyObject
* obj0
= 0 ;
7542 PyObject
* obj1
= 0 ;
7543 PyObject
* obj2
= 0 ;
7545 (char *) "self",(char *) "items",(char *) "pos", NULL
7548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7550 if (SWIG_arg_fail(1)) SWIG_fail
;
7552 if (! PySequence_Check(obj1
)) {
7553 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7556 arg2
= new wxArrayString
;
7558 int i
, len
=PySequence_Length(obj1
);
7559 for (i
=0; i
<len
; i
++) {
7560 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7561 wxString
* s
= wxString_in_helper(item
);
7562 if (PyErr_Occurred()) SWIG_fail
;
7569 arg3
= (int)(SWIG_As_int(obj2
));
7570 if (SWIG_arg_fail(3)) SWIG_fail
;
7573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7574 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
7576 wxPyEndAllowThreads(__tstate
);
7577 if (PyErr_Occurred()) SWIG_fail
;
7579 Py_INCREF(Py_None
); resultobj
= Py_None
;
7581 if (temp2
) delete arg2
;
7586 if (temp2
) delete arg2
;
7592 static PyObject
*_wrap_ListBox_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7593 PyObject
*resultobj
;
7594 wxListBox
*arg1
= (wxListBox
*) 0 ;
7595 wxArrayString
*arg2
= 0 ;
7596 bool temp2
= false ;
7597 PyObject
* obj0
= 0 ;
7598 PyObject
* obj1
= 0 ;
7600 (char *) "self",(char *) "items", NULL
7603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
7604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7605 if (SWIG_arg_fail(1)) SWIG_fail
;
7607 if (! PySequence_Check(obj1
)) {
7608 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7611 arg2
= new wxArrayString
;
7613 int i
, len
=PySequence_Length(obj1
);
7614 for (i
=0; i
<len
; i
++) {
7615 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7616 wxString
* s
= wxString_in_helper(item
);
7617 if (PyErr_Occurred()) SWIG_fail
;
7624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7625 (arg1
)->Set((wxArrayString
const &)*arg2
);
7627 wxPyEndAllowThreads(__tstate
);
7628 if (PyErr_Occurred()) SWIG_fail
;
7630 Py_INCREF(Py_None
); resultobj
= Py_None
;
7632 if (temp2
) delete arg2
;
7637 if (temp2
) delete arg2
;
7643 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7644 PyObject
*resultobj
;
7645 wxListBox
*arg1
= (wxListBox
*) 0 ;
7648 PyObject
* obj0
= 0 ;
7649 PyObject
* obj1
= 0 ;
7651 (char *) "self",(char *) "n", NULL
7654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
7655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7656 if (SWIG_arg_fail(1)) SWIG_fail
;
7658 arg2
= (int)(SWIG_As_int(obj1
));
7659 if (SWIG_arg_fail(2)) SWIG_fail
;
7662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7663 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
7665 wxPyEndAllowThreads(__tstate
);
7666 if (PyErr_Occurred()) SWIG_fail
;
7669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7677 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7678 PyObject
*resultobj
;
7679 wxListBox
*arg1
= (wxListBox
*) 0 ;
7681 bool arg3
= (bool) true ;
7682 PyObject
* obj0
= 0 ;
7683 PyObject
* obj1
= 0 ;
7684 PyObject
* obj2
= 0 ;
7686 (char *) "self",(char *) "n",(char *) "select", NULL
7689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7691 if (SWIG_arg_fail(1)) SWIG_fail
;
7693 arg2
= (int)(SWIG_As_int(obj1
));
7694 if (SWIG_arg_fail(2)) SWIG_fail
;
7698 arg3
= (bool)(SWIG_As_bool(obj2
));
7699 if (SWIG_arg_fail(3)) SWIG_fail
;
7703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7704 (arg1
)->SetSelection(arg2
,arg3
);
7706 wxPyEndAllowThreads(__tstate
);
7707 if (PyErr_Occurred()) SWIG_fail
;
7709 Py_INCREF(Py_None
); resultobj
= Py_None
;
7716 static PyObject
*_wrap_ListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7717 PyObject
*resultobj
;
7718 wxListBox
*arg1
= (wxListBox
*) 0 ;
7720 PyObject
* obj0
= 0 ;
7721 PyObject
* obj1
= 0 ;
7723 (char *) "self",(char *) "n", NULL
7726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
7727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7728 if (SWIG_arg_fail(1)) SWIG_fail
;
7730 arg2
= (int)(SWIG_As_int(obj1
));
7731 if (SWIG_arg_fail(2)) SWIG_fail
;
7734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7735 (arg1
)->Select(arg2
);
7737 wxPyEndAllowThreads(__tstate
);
7738 if (PyErr_Occurred()) SWIG_fail
;
7740 Py_INCREF(Py_None
); resultobj
= Py_None
;
7747 static PyObject
*_wrap_ListBox_Deselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7748 PyObject
*resultobj
;
7749 wxListBox
*arg1
= (wxListBox
*) 0 ;
7751 PyObject
* obj0
= 0 ;
7752 PyObject
* obj1
= 0 ;
7754 (char *) "self",(char *) "n", NULL
7757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
7758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7759 if (SWIG_arg_fail(1)) SWIG_fail
;
7761 arg2
= (int)(SWIG_As_int(obj1
));
7762 if (SWIG_arg_fail(2)) SWIG_fail
;
7765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7766 (arg1
)->Deselect(arg2
);
7768 wxPyEndAllowThreads(__tstate
);
7769 if (PyErr_Occurred()) SWIG_fail
;
7771 Py_INCREF(Py_None
); resultobj
= Py_None
;
7778 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7779 PyObject
*resultobj
;
7780 wxListBox
*arg1
= (wxListBox
*) 0 ;
7781 int arg2
= (int) -1 ;
7782 PyObject
* obj0
= 0 ;
7783 PyObject
* obj1
= 0 ;
7785 (char *) "self",(char *) "itemToLeaveSelected", NULL
7788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
7789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7790 if (SWIG_arg_fail(1)) SWIG_fail
;
7793 arg2
= (int)(SWIG_As_int(obj1
));
7794 if (SWIG_arg_fail(2)) SWIG_fail
;
7798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7799 (arg1
)->DeselectAll(arg2
);
7801 wxPyEndAllowThreads(__tstate
);
7802 if (PyErr_Occurred()) SWIG_fail
;
7804 Py_INCREF(Py_None
); resultobj
= Py_None
;
7811 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7812 PyObject
*resultobj
;
7813 wxListBox
*arg1
= (wxListBox
*) 0 ;
7814 wxString
*arg2
= 0 ;
7815 bool arg3
= (bool) true ;
7817 bool temp2
= false ;
7818 PyObject
* obj0
= 0 ;
7819 PyObject
* obj1
= 0 ;
7820 PyObject
* obj2
= 0 ;
7822 (char *) "self",(char *) "s",(char *) "select", NULL
7825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7827 if (SWIG_arg_fail(1)) SWIG_fail
;
7829 arg2
= wxString_in_helper(obj1
);
7830 if (arg2
== NULL
) SWIG_fail
;
7835 arg3
= (bool)(SWIG_As_bool(obj2
));
7836 if (SWIG_arg_fail(3)) SWIG_fail
;
7840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7841 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
7843 wxPyEndAllowThreads(__tstate
);
7844 if (PyErr_Occurred()) SWIG_fail
;
7847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7863 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7864 PyObject
*resultobj
;
7865 wxListBox
*arg1
= (wxListBox
*) 0 ;
7867 PyObject
* obj0
= 0 ;
7869 (char *) "self", NULL
7872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
7873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7874 if (SWIG_arg_fail(1)) SWIG_fail
;
7876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7877 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
7879 wxPyEndAllowThreads(__tstate
);
7880 if (PyErr_Occurred()) SWIG_fail
;
7889 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7890 PyObject
*resultobj
;
7891 wxListBox
*arg1
= (wxListBox
*) 0 ;
7893 PyObject
* obj0
= 0 ;
7894 PyObject
* obj1
= 0 ;
7896 (char *) "self",(char *) "n", NULL
7899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
7900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7901 if (SWIG_arg_fail(1)) SWIG_fail
;
7903 arg2
= (int)(SWIG_As_int(obj1
));
7904 if (SWIG_arg_fail(2)) SWIG_fail
;
7907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7908 (arg1
)->SetFirstItem(arg2
);
7910 wxPyEndAllowThreads(__tstate
);
7911 if (PyErr_Occurred()) SWIG_fail
;
7913 Py_INCREF(Py_None
); resultobj
= Py_None
;
7920 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7921 PyObject
*resultobj
;
7922 wxListBox
*arg1
= (wxListBox
*) 0 ;
7923 wxString
*arg2
= 0 ;
7924 bool temp2
= false ;
7925 PyObject
* obj0
= 0 ;
7926 PyObject
* obj1
= 0 ;
7928 (char *) "self",(char *) "s", NULL
7931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
7932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7933 if (SWIG_arg_fail(1)) SWIG_fail
;
7935 arg2
= wxString_in_helper(obj1
);
7936 if (arg2
== NULL
) SWIG_fail
;
7940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7941 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
7943 wxPyEndAllowThreads(__tstate
);
7944 if (PyErr_Occurred()) SWIG_fail
;
7946 Py_INCREF(Py_None
); resultobj
= Py_None
;
7961 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7962 PyObject
*resultobj
;
7963 wxListBox
*arg1
= (wxListBox
*) 0 ;
7965 PyObject
* obj0
= 0 ;
7966 PyObject
* obj1
= 0 ;
7968 (char *) "self",(char *) "n", NULL
7971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
7972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7973 if (SWIG_arg_fail(1)) SWIG_fail
;
7975 arg2
= (int)(SWIG_As_int(obj1
));
7976 if (SWIG_arg_fail(2)) SWIG_fail
;
7979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7980 (arg1
)->EnsureVisible(arg2
);
7982 wxPyEndAllowThreads(__tstate
);
7983 if (PyErr_Occurred()) SWIG_fail
;
7985 Py_INCREF(Py_None
); resultobj
= Py_None
;
7992 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7993 PyObject
*resultobj
;
7994 wxListBox
*arg1
= (wxListBox
*) 0 ;
7995 wxString
*arg2
= 0 ;
7996 bool temp2
= false ;
7997 PyObject
* obj0
= 0 ;
7998 PyObject
* obj1
= 0 ;
8000 (char *) "self",(char *) "s", NULL
8003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
8004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8005 if (SWIG_arg_fail(1)) SWIG_fail
;
8007 arg2
= wxString_in_helper(obj1
);
8008 if (arg2
== NULL
) SWIG_fail
;
8012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8013 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
8015 wxPyEndAllowThreads(__tstate
);
8016 if (PyErr_Occurred()) SWIG_fail
;
8018 Py_INCREF(Py_None
); resultobj
= Py_None
;
8033 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8034 PyObject
*resultobj
;
8035 wxListBox
*arg1
= (wxListBox
*) 0 ;
8037 PyObject
* obj0
= 0 ;
8039 (char *) "self", NULL
8042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
8043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8044 if (SWIG_arg_fail(1)) SWIG_fail
;
8046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8047 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
8049 wxPyEndAllowThreads(__tstate
);
8050 if (PyErr_Occurred()) SWIG_fail
;
8053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8061 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8062 PyObject
*resultobj
;
8063 wxListBox
*arg1
= (wxListBox
*) 0 ;
8065 wxColour
*arg3
= 0 ;
8067 PyObject
* obj0
= 0 ;
8068 PyObject
* obj1
= 0 ;
8069 PyObject
* obj2
= 0 ;
8071 (char *) "self",(char *) "item",(char *) "c", NULL
8074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8076 if (SWIG_arg_fail(1)) SWIG_fail
;
8078 arg2
= (int)(SWIG_As_int(obj1
));
8079 if (SWIG_arg_fail(2)) SWIG_fail
;
8083 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8087 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
8089 wxPyEndAllowThreads(__tstate
);
8090 if (PyErr_Occurred()) SWIG_fail
;
8092 Py_INCREF(Py_None
); resultobj
= Py_None
;
8099 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8100 PyObject
*resultobj
;
8101 wxListBox
*arg1
= (wxListBox
*) 0 ;
8103 wxColour
*arg3
= 0 ;
8105 PyObject
* obj0
= 0 ;
8106 PyObject
* obj1
= 0 ;
8107 PyObject
* obj2
= 0 ;
8109 (char *) "self",(char *) "item",(char *) "c", NULL
8112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8114 if (SWIG_arg_fail(1)) SWIG_fail
;
8116 arg2
= (int)(SWIG_As_int(obj1
));
8117 if (SWIG_arg_fail(2)) SWIG_fail
;
8121 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8125 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
8127 wxPyEndAllowThreads(__tstate
);
8128 if (PyErr_Occurred()) SWIG_fail
;
8130 Py_INCREF(Py_None
); resultobj
= Py_None
;
8137 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8138 PyObject
*resultobj
;
8139 wxListBox
*arg1
= (wxListBox
*) 0 ;
8142 PyObject
* obj0
= 0 ;
8143 PyObject
* obj1
= 0 ;
8144 PyObject
* obj2
= 0 ;
8146 (char *) "self",(char *) "item",(char *) "f", NULL
8149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8151 if (SWIG_arg_fail(1)) SWIG_fail
;
8153 arg2
= (int)(SWIG_As_int(obj1
));
8154 if (SWIG_arg_fail(2)) SWIG_fail
;
8157 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8158 if (SWIG_arg_fail(3)) SWIG_fail
;
8160 SWIG_null_ref("wxFont");
8162 if (SWIG_arg_fail(3)) SWIG_fail
;
8165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8166 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
8168 wxPyEndAllowThreads(__tstate
);
8169 if (PyErr_Occurred()) SWIG_fail
;
8171 Py_INCREF(Py_None
); resultobj
= Py_None
;
8178 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8179 PyObject
*resultobj
;
8180 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8181 wxVisualAttributes result
;
8182 PyObject
* obj0
= 0 ;
8184 (char *) "variant", NULL
8187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
8190 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
8191 if (SWIG_arg_fail(1)) SWIG_fail
;
8195 if (!wxPyCheckForApp()) SWIG_fail
;
8196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8197 result
= wxListBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
8199 wxPyEndAllowThreads(__tstate
);
8200 if (PyErr_Occurred()) SWIG_fail
;
8203 wxVisualAttributes
* resultptr
;
8204 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
8205 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
8213 static PyObject
* ListBox_swigregister(PyObject
*, PyObject
*args
) {
8215 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8216 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
8218 return Py_BuildValue((char *)"");
8220 static PyObject
*_wrap_new_CheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8221 PyObject
*resultobj
;
8222 wxWindow
*arg1
= (wxWindow
*) 0 ;
8223 int arg2
= (int) -1 ;
8224 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8225 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8226 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8227 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8228 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8229 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8230 long arg6
= (long) 0 ;
8231 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8232 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8233 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8234 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8235 wxCheckListBox
*result
;
8238 bool temp5
= false ;
8239 bool temp8
= false ;
8240 PyObject
* obj0
= 0 ;
8241 PyObject
* obj1
= 0 ;
8242 PyObject
* obj2
= 0 ;
8243 PyObject
* obj3
= 0 ;
8244 PyObject
* obj4
= 0 ;
8245 PyObject
* obj5
= 0 ;
8246 PyObject
* obj6
= 0 ;
8247 PyObject
* obj7
= 0 ;
8249 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
8253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8254 if (SWIG_arg_fail(1)) SWIG_fail
;
8257 arg2
= (int)(SWIG_As_int(obj1
));
8258 if (SWIG_arg_fail(2)) SWIG_fail
;
8264 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8270 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8275 if (! PySequence_Check(obj4
)) {
8276 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8279 arg5
= new wxArrayString
;
8281 int i
, len
=PySequence_Length(obj4
);
8282 for (i
=0; i
<len
; i
++) {
8283 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8284 wxString
* s
= wxString_in_helper(item
);
8285 if (PyErr_Occurred()) SWIG_fail
;
8294 arg6
= (long)(SWIG_As_long(obj5
));
8295 if (SWIG_arg_fail(6)) SWIG_fail
;
8300 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
8301 if (SWIG_arg_fail(7)) SWIG_fail
;
8303 SWIG_null_ref("wxValidator");
8305 if (SWIG_arg_fail(7)) SWIG_fail
;
8310 arg8
= wxString_in_helper(obj7
);
8311 if (arg8
== NULL
) SWIG_fail
;
8316 if (!wxPyCheckForApp()) SWIG_fail
;
8317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8318 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8320 wxPyEndAllowThreads(__tstate
);
8321 if (PyErr_Occurred()) SWIG_fail
;
8323 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
8325 if (temp5
) delete arg5
;
8334 if (temp5
) delete arg5
;
8344 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8345 PyObject
*resultobj
;
8346 wxCheckListBox
*result
;
8351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
8353 if (!wxPyCheckForApp()) SWIG_fail
;
8354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8355 result
= (wxCheckListBox
*)new wxCheckListBox();
8357 wxPyEndAllowThreads(__tstate
);
8358 if (PyErr_Occurred()) SWIG_fail
;
8360 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
8367 static PyObject
*_wrap_CheckListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8368 PyObject
*resultobj
;
8369 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8370 wxWindow
*arg2
= (wxWindow
*) 0 ;
8371 int arg3
= (int) -1 ;
8372 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8373 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8374 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8375 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8376 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8377 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8378 long arg7
= (long) 0 ;
8379 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8380 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8381 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8382 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8386 bool temp6
= false ;
8387 bool temp9
= false ;
8388 PyObject
* obj0
= 0 ;
8389 PyObject
* obj1
= 0 ;
8390 PyObject
* obj2
= 0 ;
8391 PyObject
* obj3
= 0 ;
8392 PyObject
* obj4
= 0 ;
8393 PyObject
* obj5
= 0 ;
8394 PyObject
* obj6
= 0 ;
8395 PyObject
* obj7
= 0 ;
8396 PyObject
* obj8
= 0 ;
8398 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
8402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8403 if (SWIG_arg_fail(1)) SWIG_fail
;
8404 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8405 if (SWIG_arg_fail(2)) SWIG_fail
;
8408 arg3
= (int)(SWIG_As_int(obj2
));
8409 if (SWIG_arg_fail(3)) SWIG_fail
;
8415 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8421 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8426 if (! PySequence_Check(obj5
)) {
8427 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8430 arg6
= new wxArrayString
;
8432 int i
, len
=PySequence_Length(obj5
);
8433 for (i
=0; i
<len
; i
++) {
8434 PyObject
* item
= PySequence_GetItem(obj5
, i
);
8435 wxString
* s
= wxString_in_helper(item
);
8436 if (PyErr_Occurred()) SWIG_fail
;
8445 arg7
= (long)(SWIG_As_long(obj6
));
8446 if (SWIG_arg_fail(7)) SWIG_fail
;
8451 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
8452 if (SWIG_arg_fail(8)) SWIG_fail
;
8454 SWIG_null_ref("wxValidator");
8456 if (SWIG_arg_fail(8)) SWIG_fail
;
8461 arg9
= wxString_in_helper(obj8
);
8462 if (arg9
== NULL
) SWIG_fail
;
8467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8468 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
8470 wxPyEndAllowThreads(__tstate
);
8471 if (PyErr_Occurred()) SWIG_fail
;
8474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8477 if (temp6
) delete arg6
;
8486 if (temp6
) delete arg6
;
8496 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8497 PyObject
*resultobj
;
8498 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8501 PyObject
* obj0
= 0 ;
8502 PyObject
* obj1
= 0 ;
8504 (char *) "self",(char *) "index", NULL
8507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
8508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8509 if (SWIG_arg_fail(1)) SWIG_fail
;
8511 arg2
= (int)(SWIG_As_int(obj1
));
8512 if (SWIG_arg_fail(2)) SWIG_fail
;
8515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8516 result
= (bool)(arg1
)->IsChecked(arg2
);
8518 wxPyEndAllowThreads(__tstate
);
8519 if (PyErr_Occurred()) SWIG_fail
;
8522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8530 static PyObject
*_wrap_CheckListBox_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8531 PyObject
*resultobj
;
8532 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8534 int arg3
= (int) true ;
8535 PyObject
* obj0
= 0 ;
8536 PyObject
* obj1
= 0 ;
8537 PyObject
* obj2
= 0 ;
8539 (char *) "self",(char *) "index",(char *) "check", NULL
8542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8544 if (SWIG_arg_fail(1)) SWIG_fail
;
8546 arg2
= (int)(SWIG_As_int(obj1
));
8547 if (SWIG_arg_fail(2)) SWIG_fail
;
8551 arg3
= (int)(SWIG_As_int(obj2
));
8552 if (SWIG_arg_fail(3)) SWIG_fail
;
8556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8557 (arg1
)->Check(arg2
,arg3
);
8559 wxPyEndAllowThreads(__tstate
);
8560 if (PyErr_Occurred()) SWIG_fail
;
8562 Py_INCREF(Py_None
); resultobj
= Py_None
;
8569 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8570 PyObject
*resultobj
;
8571 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8573 PyObject
* obj0
= 0 ;
8575 (char *) "self", NULL
8578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
8579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8580 if (SWIG_arg_fail(1)) SWIG_fail
;
8582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8583 result
= (int)(arg1
)->GetItemHeight();
8585 wxPyEndAllowThreads(__tstate
);
8586 if (PyErr_Occurred()) SWIG_fail
;
8589 resultobj
= SWIG_From_int((int)(result
));
8597 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8598 PyObject
*resultobj
;
8599 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8603 PyObject
* obj0
= 0 ;
8604 PyObject
* obj1
= 0 ;
8606 (char *) "self",(char *) "pt", NULL
8609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8611 if (SWIG_arg_fail(1)) SWIG_fail
;
8614 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8618 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
8620 wxPyEndAllowThreads(__tstate
);
8621 if (PyErr_Occurred()) SWIG_fail
;
8624 resultobj
= SWIG_From_int((int)(result
));
8632 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8633 PyObject
*resultobj
;
8634 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8638 PyObject
* obj0
= 0 ;
8639 PyObject
* obj1
= 0 ;
8640 PyObject
* obj2
= 0 ;
8642 (char *) "self",(char *) "x",(char *) "y", NULL
8645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8647 if (SWIG_arg_fail(1)) SWIG_fail
;
8649 arg2
= (int)(SWIG_As_int(obj1
));
8650 if (SWIG_arg_fail(2)) SWIG_fail
;
8653 arg3
= (int)(SWIG_As_int(obj2
));
8654 if (SWIG_arg_fail(3)) SWIG_fail
;
8657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8658 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
8660 wxPyEndAllowThreads(__tstate
);
8661 if (PyErr_Occurred()) SWIG_fail
;
8664 resultobj
= SWIG_From_int((int)(result
));
8672 static PyObject
* CheckListBox_swigregister(PyObject
*, PyObject
*args
) {
8674 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8675 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
8677 return Py_BuildValue((char *)"");
8679 static int _wrap_TextCtrlNameStr_set(PyObject
*) {
8680 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
8685 static PyObject
*_wrap_TextCtrlNameStr_get(void) {
8690 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
8692 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
8699 static PyObject
*_wrap_new_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8700 PyObject
*resultobj
;
8701 wxColour
const &arg1_defvalue
= wxNullColour
;
8702 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
8703 wxColour
const &arg2_defvalue
= wxNullColour
;
8704 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8705 wxFont
const &arg3_defvalue
= wxNullFont
;
8706 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
8707 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
8711 PyObject
* obj0
= 0 ;
8712 PyObject
* obj1
= 0 ;
8713 PyObject
* obj2
= 0 ;
8714 PyObject
* obj3
= 0 ;
8716 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
8719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8723 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
8729 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8734 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8735 if (SWIG_arg_fail(3)) SWIG_fail
;
8737 SWIG_null_ref("wxFont");
8739 if (SWIG_arg_fail(3)) SWIG_fail
;
8744 arg4
= (wxTextAttrAlignment
)(SWIG_As_int(obj3
));
8745 if (SWIG_arg_fail(4)) SWIG_fail
;
8749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8750 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
8752 wxPyEndAllowThreads(__tstate
);
8753 if (PyErr_Occurred()) SWIG_fail
;
8755 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
8762 static PyObject
*_wrap_delete_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8763 PyObject
*resultobj
;
8764 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8765 PyObject
* obj0
= 0 ;
8767 (char *) "self", NULL
8770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
8771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8772 if (SWIG_arg_fail(1)) SWIG_fail
;
8774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8777 wxPyEndAllowThreads(__tstate
);
8778 if (PyErr_Occurred()) SWIG_fail
;
8780 Py_INCREF(Py_None
); resultobj
= Py_None
;
8787 static PyObject
*_wrap_TextAttr_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8788 PyObject
*resultobj
;
8789 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8790 PyObject
* obj0
= 0 ;
8792 (char *) "self", NULL
8795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
8796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8797 if (SWIG_arg_fail(1)) SWIG_fail
;
8799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8802 wxPyEndAllowThreads(__tstate
);
8803 if (PyErr_Occurred()) SWIG_fail
;
8805 Py_INCREF(Py_None
); resultobj
= Py_None
;
8812 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8813 PyObject
*resultobj
;
8814 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8815 wxColour
*arg2
= 0 ;
8817 PyObject
* obj0
= 0 ;
8818 PyObject
* obj1
= 0 ;
8820 (char *) "self",(char *) "colText", NULL
8823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
8824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8825 if (SWIG_arg_fail(1)) SWIG_fail
;
8828 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8832 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
8834 wxPyEndAllowThreads(__tstate
);
8835 if (PyErr_Occurred()) SWIG_fail
;
8837 Py_INCREF(Py_None
); resultobj
= Py_None
;
8844 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8845 PyObject
*resultobj
;
8846 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8847 wxColour
*arg2
= 0 ;
8849 PyObject
* obj0
= 0 ;
8850 PyObject
* obj1
= 0 ;
8852 (char *) "self",(char *) "colBack", NULL
8855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
8856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8857 if (SWIG_arg_fail(1)) SWIG_fail
;
8860 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8864 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
8866 wxPyEndAllowThreads(__tstate
);
8867 if (PyErr_Occurred()) SWIG_fail
;
8869 Py_INCREF(Py_None
); resultobj
= Py_None
;
8876 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8877 PyObject
*resultobj
;
8878 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8880 long arg3
= (long) wxTEXT_ATTR_FONT
;
8881 PyObject
* obj0
= 0 ;
8882 PyObject
* obj1
= 0 ;
8883 PyObject
* obj2
= 0 ;
8885 (char *) "self",(char *) "font",(char *) "flags", NULL
8888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8890 if (SWIG_arg_fail(1)) SWIG_fail
;
8892 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8893 if (SWIG_arg_fail(2)) SWIG_fail
;
8895 SWIG_null_ref("wxFont");
8897 if (SWIG_arg_fail(2)) SWIG_fail
;
8901 arg3
= (long)(SWIG_As_long(obj2
));
8902 if (SWIG_arg_fail(3)) SWIG_fail
;
8906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8907 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
8909 wxPyEndAllowThreads(__tstate
);
8910 if (PyErr_Occurred()) SWIG_fail
;
8912 Py_INCREF(Py_None
); resultobj
= Py_None
;
8919 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8920 PyObject
*resultobj
;
8921 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8922 wxTextAttrAlignment arg2
;
8923 PyObject
* obj0
= 0 ;
8924 PyObject
* obj1
= 0 ;
8926 (char *) "self",(char *) "alignment", NULL
8929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8931 if (SWIG_arg_fail(1)) SWIG_fail
;
8933 arg2
= (wxTextAttrAlignment
)(SWIG_As_int(obj1
));
8934 if (SWIG_arg_fail(2)) SWIG_fail
;
8937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8938 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
8940 wxPyEndAllowThreads(__tstate
);
8941 if (PyErr_Occurred()) SWIG_fail
;
8943 Py_INCREF(Py_None
); resultobj
= Py_None
;
8950 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8951 PyObject
*resultobj
;
8952 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8953 wxArrayInt
*arg2
= 0 ;
8954 bool temp2
= false ;
8955 PyObject
* obj0
= 0 ;
8956 PyObject
* obj1
= 0 ;
8958 (char *) "self",(char *) "tabs", NULL
8961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
8962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8963 if (SWIG_arg_fail(1)) SWIG_fail
;
8965 if (! PySequence_Check(obj1
)) {
8966 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
8969 arg2
= new wxArrayInt
;
8971 int i
, len
=PySequence_Length(obj1
);
8972 for (i
=0; i
<len
; i
++) {
8973 PyObject
* item
= PySequence_GetItem(obj1
, i
);
8974 PyObject
* number
= PyNumber_Int(item
);
8975 arg2
->Add(PyInt_AS_LONG(number
));
8981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8982 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
8984 wxPyEndAllowThreads(__tstate
);
8985 if (PyErr_Occurred()) SWIG_fail
;
8987 Py_INCREF(Py_None
); resultobj
= Py_None
;
8989 if (temp2
) delete arg2
;
8994 if (temp2
) delete arg2
;
9000 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9001 PyObject
*resultobj
;
9002 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9004 int arg3
= (int) 0 ;
9005 PyObject
* obj0
= 0 ;
9006 PyObject
* obj1
= 0 ;
9007 PyObject
* obj2
= 0 ;
9009 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
9012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9014 if (SWIG_arg_fail(1)) SWIG_fail
;
9016 arg2
= (int)(SWIG_As_int(obj1
));
9017 if (SWIG_arg_fail(2)) SWIG_fail
;
9021 arg3
= (int)(SWIG_As_int(obj2
));
9022 if (SWIG_arg_fail(3)) SWIG_fail
;
9026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9027 (arg1
)->SetLeftIndent(arg2
,arg3
);
9029 wxPyEndAllowThreads(__tstate
);
9030 if (PyErr_Occurred()) SWIG_fail
;
9032 Py_INCREF(Py_None
); resultobj
= Py_None
;
9039 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9040 PyObject
*resultobj
;
9041 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9043 PyObject
* obj0
= 0 ;
9044 PyObject
* obj1
= 0 ;
9046 (char *) "self",(char *) "indent", NULL
9049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
9050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9051 if (SWIG_arg_fail(1)) SWIG_fail
;
9053 arg2
= (int)(SWIG_As_int(obj1
));
9054 if (SWIG_arg_fail(2)) SWIG_fail
;
9057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9058 (arg1
)->SetRightIndent(arg2
);
9060 wxPyEndAllowThreads(__tstate
);
9061 if (PyErr_Occurred()) SWIG_fail
;
9063 Py_INCREF(Py_None
); resultobj
= Py_None
;
9070 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9071 PyObject
*resultobj
;
9072 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9074 PyObject
* obj0
= 0 ;
9075 PyObject
* obj1
= 0 ;
9077 (char *) "self",(char *) "flags", NULL
9080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
9081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9082 if (SWIG_arg_fail(1)) SWIG_fail
;
9084 arg2
= (long)(SWIG_As_long(obj1
));
9085 if (SWIG_arg_fail(2)) SWIG_fail
;
9088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9089 (arg1
)->SetFlags(arg2
);
9091 wxPyEndAllowThreads(__tstate
);
9092 if (PyErr_Occurred()) SWIG_fail
;
9094 Py_INCREF(Py_None
); resultobj
= Py_None
;
9101 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9102 PyObject
*resultobj
;
9103 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9105 PyObject
* obj0
= 0 ;
9107 (char *) "self", NULL
9110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
9111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9112 if (SWIG_arg_fail(1)) SWIG_fail
;
9114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9115 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
9117 wxPyEndAllowThreads(__tstate
);
9118 if (PyErr_Occurred()) SWIG_fail
;
9121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9129 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9130 PyObject
*resultobj
;
9131 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9133 PyObject
* obj0
= 0 ;
9135 (char *) "self", NULL
9138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
9139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9140 if (SWIG_arg_fail(1)) SWIG_fail
;
9142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9143 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
9145 wxPyEndAllowThreads(__tstate
);
9146 if (PyErr_Occurred()) SWIG_fail
;
9149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9157 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9158 PyObject
*resultobj
;
9159 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9161 PyObject
* obj0
= 0 ;
9163 (char *) "self", NULL
9166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
9167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9168 if (SWIG_arg_fail(1)) SWIG_fail
;
9170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9171 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
9173 wxPyEndAllowThreads(__tstate
);
9174 if (PyErr_Occurred()) SWIG_fail
;
9177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9185 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9186 PyObject
*resultobj
;
9187 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9189 PyObject
* obj0
= 0 ;
9191 (char *) "self", NULL
9194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
9195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9196 if (SWIG_arg_fail(1)) SWIG_fail
;
9198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9199 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
9201 wxPyEndAllowThreads(__tstate
);
9202 if (PyErr_Occurred()) SWIG_fail
;
9205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9213 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9214 PyObject
*resultobj
;
9215 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9217 PyObject
* obj0
= 0 ;
9219 (char *) "self", NULL
9222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
9223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9224 if (SWIG_arg_fail(1)) SWIG_fail
;
9226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9227 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
9229 wxPyEndAllowThreads(__tstate
);
9230 if (PyErr_Occurred()) SWIG_fail
;
9233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9241 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9242 PyObject
*resultobj
;
9243 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9245 PyObject
* obj0
= 0 ;
9247 (char *) "self", NULL
9250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
9251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9252 if (SWIG_arg_fail(1)) SWIG_fail
;
9254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9255 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
9257 wxPyEndAllowThreads(__tstate
);
9258 if (PyErr_Occurred()) SWIG_fail
;
9261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9269 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9270 PyObject
*resultobj
;
9271 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9273 PyObject
* obj0
= 0 ;
9275 (char *) "self", NULL
9278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
9279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9280 if (SWIG_arg_fail(1)) SWIG_fail
;
9282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9283 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
9285 wxPyEndAllowThreads(__tstate
);
9286 if (PyErr_Occurred()) SWIG_fail
;
9289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9297 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9298 PyObject
*resultobj
;
9299 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9302 PyObject
* obj0
= 0 ;
9303 PyObject
* obj1
= 0 ;
9305 (char *) "self",(char *) "flag", NULL
9308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
9309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9310 if (SWIG_arg_fail(1)) SWIG_fail
;
9312 arg2
= (long)(SWIG_As_long(obj1
));
9313 if (SWIG_arg_fail(2)) SWIG_fail
;
9316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9317 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
9319 wxPyEndAllowThreads(__tstate
);
9320 if (PyErr_Occurred()) SWIG_fail
;
9323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9331 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9332 PyObject
*resultobj
;
9333 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9335 PyObject
* obj0
= 0 ;
9337 (char *) "self", NULL
9340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
9341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9342 if (SWIG_arg_fail(1)) SWIG_fail
;
9344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9346 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
9347 result
= (wxColour
*) &_result_ref
;
9350 wxPyEndAllowThreads(__tstate
);
9351 if (PyErr_Occurred()) SWIG_fail
;
9353 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9360 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9361 PyObject
*resultobj
;
9362 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9364 PyObject
* obj0
= 0 ;
9366 (char *) "self", NULL
9369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
9370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9371 if (SWIG_arg_fail(1)) SWIG_fail
;
9373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9375 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
9376 result
= (wxColour
*) &_result_ref
;
9379 wxPyEndAllowThreads(__tstate
);
9380 if (PyErr_Occurred()) SWIG_fail
;
9382 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9389 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9390 PyObject
*resultobj
;
9391 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9393 PyObject
* obj0
= 0 ;
9395 (char *) "self", NULL
9398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
9399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9400 if (SWIG_arg_fail(1)) SWIG_fail
;
9402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9404 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
9405 result
= (wxFont
*) &_result_ref
;
9408 wxPyEndAllowThreads(__tstate
);
9409 if (PyErr_Occurred()) SWIG_fail
;
9412 wxFont
* resultptr
= new wxFont(*result
);
9413 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
9421 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9422 PyObject
*resultobj
;
9423 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9424 wxTextAttrAlignment result
;
9425 PyObject
* obj0
= 0 ;
9427 (char *) "self", NULL
9430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
9431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9432 if (SWIG_arg_fail(1)) SWIG_fail
;
9434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9435 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
9437 wxPyEndAllowThreads(__tstate
);
9438 if (PyErr_Occurred()) SWIG_fail
;
9440 resultobj
= SWIG_From_int((result
));
9447 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9448 PyObject
*resultobj
;
9449 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9451 PyObject
* obj0
= 0 ;
9453 (char *) "self", NULL
9456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
9457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9458 if (SWIG_arg_fail(1)) SWIG_fail
;
9460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9462 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
9463 result
= (wxArrayInt
*) &_result_ref
;
9466 wxPyEndAllowThreads(__tstate
);
9467 if (PyErr_Occurred()) SWIG_fail
;
9470 resultobj
= PyList_New(0);
9472 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
9473 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
9474 PyList_Append(resultobj
, val
);
9484 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9485 PyObject
*resultobj
;
9486 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9488 PyObject
* obj0
= 0 ;
9490 (char *) "self", NULL
9493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
9494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9495 if (SWIG_arg_fail(1)) SWIG_fail
;
9497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9498 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
9500 wxPyEndAllowThreads(__tstate
);
9501 if (PyErr_Occurred()) SWIG_fail
;
9504 resultobj
= SWIG_From_long((long)(result
));
9512 static PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9513 PyObject
*resultobj
;
9514 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9516 PyObject
* obj0
= 0 ;
9518 (char *) "self", NULL
9521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftSubIndent",kwnames
,&obj0
)) goto fail
;
9522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9523 if (SWIG_arg_fail(1)) SWIG_fail
;
9525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9526 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
9528 wxPyEndAllowThreads(__tstate
);
9529 if (PyErr_Occurred()) SWIG_fail
;
9532 resultobj
= SWIG_From_long((long)(result
));
9540 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9541 PyObject
*resultobj
;
9542 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9544 PyObject
* obj0
= 0 ;
9546 (char *) "self", NULL
9549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
9550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9551 if (SWIG_arg_fail(1)) SWIG_fail
;
9553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9554 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
9556 wxPyEndAllowThreads(__tstate
);
9557 if (PyErr_Occurred()) SWIG_fail
;
9560 resultobj
= SWIG_From_long((long)(result
));
9568 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9569 PyObject
*resultobj
;
9570 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9572 PyObject
* obj0
= 0 ;
9574 (char *) "self", NULL
9577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
9578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9579 if (SWIG_arg_fail(1)) SWIG_fail
;
9581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9582 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
9584 wxPyEndAllowThreads(__tstate
);
9585 if (PyErr_Occurred()) SWIG_fail
;
9588 resultobj
= SWIG_From_long((long)(result
));
9596 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9597 PyObject
*resultobj
;
9598 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9600 PyObject
* obj0
= 0 ;
9602 (char *) "self", NULL
9605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
9606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9607 if (SWIG_arg_fail(1)) SWIG_fail
;
9609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9610 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
9612 wxPyEndAllowThreads(__tstate
);
9613 if (PyErr_Occurred()) SWIG_fail
;
9616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9624 static PyObject
*_wrap_TextAttr_Combine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9625 PyObject
*resultobj
;
9626 wxTextAttr
*arg1
= 0 ;
9627 wxTextAttr
*arg2
= 0 ;
9628 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
9630 PyObject
* obj0
= 0 ;
9631 PyObject
* obj1
= 0 ;
9632 PyObject
* obj2
= 0 ;
9634 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
9637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9640 if (SWIG_arg_fail(1)) SWIG_fail
;
9642 SWIG_null_ref("wxTextAttr");
9644 if (SWIG_arg_fail(1)) SWIG_fail
;
9647 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9648 if (SWIG_arg_fail(2)) SWIG_fail
;
9650 SWIG_null_ref("wxTextAttr");
9652 if (SWIG_arg_fail(2)) SWIG_fail
;
9654 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9655 if (SWIG_arg_fail(3)) SWIG_fail
;
9657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9658 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
9660 wxPyEndAllowThreads(__tstate
);
9661 if (PyErr_Occurred()) SWIG_fail
;
9664 wxTextAttr
* resultptr
;
9665 resultptr
= new wxTextAttr((wxTextAttr
&)(result
));
9666 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
9674 static PyObject
* TextAttr_swigregister(PyObject
*, PyObject
*args
) {
9676 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9677 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
9679 return Py_BuildValue((char *)"");
9681 static PyObject
*_wrap_new_TextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9682 PyObject
*resultobj
;
9683 wxWindow
*arg1
= (wxWindow
*) 0 ;
9684 int arg2
= (int) -1 ;
9685 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9686 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9687 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9688 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9689 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9690 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9691 long arg6
= (long) 0 ;
9692 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9693 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9694 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
9695 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9697 bool temp3
= false ;
9700 bool temp8
= false ;
9701 PyObject
* obj0
= 0 ;
9702 PyObject
* obj1
= 0 ;
9703 PyObject
* obj2
= 0 ;
9704 PyObject
* obj3
= 0 ;
9705 PyObject
* obj4
= 0 ;
9706 PyObject
* obj5
= 0 ;
9707 PyObject
* obj6
= 0 ;
9708 PyObject
* obj7
= 0 ;
9710 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9715 if (SWIG_arg_fail(1)) SWIG_fail
;
9718 arg2
= (int)(SWIG_As_int(obj1
));
9719 if (SWIG_arg_fail(2)) SWIG_fail
;
9724 arg3
= wxString_in_helper(obj2
);
9725 if (arg3
== NULL
) SWIG_fail
;
9732 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9738 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9743 arg6
= (long)(SWIG_As_long(obj5
));
9744 if (SWIG_arg_fail(6)) SWIG_fail
;
9749 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
9750 if (SWIG_arg_fail(7)) SWIG_fail
;
9752 SWIG_null_ref("wxValidator");
9754 if (SWIG_arg_fail(7)) SWIG_fail
;
9759 arg8
= wxString_in_helper(obj7
);
9760 if (arg8
== NULL
) SWIG_fail
;
9765 if (!wxPyCheckForApp()) SWIG_fail
;
9766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9767 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9769 wxPyEndAllowThreads(__tstate
);
9770 if (PyErr_Occurred()) SWIG_fail
;
9772 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
9795 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9796 PyObject
*resultobj
;
9802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
9804 if (!wxPyCheckForApp()) SWIG_fail
;
9805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9806 result
= (wxTextCtrl
*)new wxTextCtrl();
9808 wxPyEndAllowThreads(__tstate
);
9809 if (PyErr_Occurred()) SWIG_fail
;
9811 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
9818 static PyObject
*_wrap_TextCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9819 PyObject
*resultobj
;
9820 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9821 wxWindow
*arg2
= (wxWindow
*) 0 ;
9822 int arg3
= (int) -1 ;
9823 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9824 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9825 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
9826 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
9827 wxSize
const &arg6_defvalue
= wxDefaultSize
;
9828 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
9829 long arg7
= (long) 0 ;
9830 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
9831 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
9832 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
9833 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
9835 bool temp4
= false ;
9838 bool temp9
= false ;
9839 PyObject
* obj0
= 0 ;
9840 PyObject
* obj1
= 0 ;
9841 PyObject
* obj2
= 0 ;
9842 PyObject
* obj3
= 0 ;
9843 PyObject
* obj4
= 0 ;
9844 PyObject
* obj5
= 0 ;
9845 PyObject
* obj6
= 0 ;
9846 PyObject
* obj7
= 0 ;
9847 PyObject
* obj8
= 0 ;
9849 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
9853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9854 if (SWIG_arg_fail(1)) SWIG_fail
;
9855 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9856 if (SWIG_arg_fail(2)) SWIG_fail
;
9859 arg3
= (int)(SWIG_As_int(obj2
));
9860 if (SWIG_arg_fail(3)) SWIG_fail
;
9865 arg4
= wxString_in_helper(obj3
);
9866 if (arg4
== NULL
) SWIG_fail
;
9873 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
9879 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
9884 arg7
= (long)(SWIG_As_long(obj6
));
9885 if (SWIG_arg_fail(7)) SWIG_fail
;
9890 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
9891 if (SWIG_arg_fail(8)) SWIG_fail
;
9893 SWIG_null_ref("wxValidator");
9895 if (SWIG_arg_fail(8)) SWIG_fail
;
9900 arg9
= wxString_in_helper(obj8
);
9901 if (arg9
== NULL
) SWIG_fail
;
9906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9907 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9909 wxPyEndAllowThreads(__tstate
);
9910 if (PyErr_Occurred()) SWIG_fail
;
9913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9937 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9938 PyObject
*resultobj
;
9939 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9941 PyObject
* obj0
= 0 ;
9943 (char *) "self", NULL
9946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
9947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9948 if (SWIG_arg_fail(1)) SWIG_fail
;
9950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9951 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
9953 wxPyEndAllowThreads(__tstate
);
9954 if (PyErr_Occurred()) SWIG_fail
;
9958 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9960 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9969 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9970 PyObject
*resultobj
;
9971 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9972 wxString
*arg2
= 0 ;
9973 bool temp2
= false ;
9974 PyObject
* obj0
= 0 ;
9975 PyObject
* obj1
= 0 ;
9977 (char *) "self",(char *) "value", NULL
9980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
9981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9982 if (SWIG_arg_fail(1)) SWIG_fail
;
9984 arg2
= wxString_in_helper(obj1
);
9985 if (arg2
== NULL
) SWIG_fail
;
9989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9990 (arg1
)->SetValue((wxString
const &)*arg2
);
9992 wxPyEndAllowThreads(__tstate
);
9993 if (PyErr_Occurred()) SWIG_fail
;
9995 Py_INCREF(Py_None
); resultobj
= Py_None
;
10010 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10011 PyObject
*resultobj
;
10012 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10016 PyObject
* obj0
= 0 ;
10017 PyObject
* obj1
= 0 ;
10018 PyObject
* obj2
= 0 ;
10019 char *kwnames
[] = {
10020 (char *) "self",(char *) "from",(char *) "to", NULL
10023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10025 if (SWIG_arg_fail(1)) SWIG_fail
;
10027 arg2
= (long)(SWIG_As_long(obj1
));
10028 if (SWIG_arg_fail(2)) SWIG_fail
;
10031 arg3
= (long)(SWIG_As_long(obj2
));
10032 if (SWIG_arg_fail(3)) SWIG_fail
;
10035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10036 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
10038 wxPyEndAllowThreads(__tstate
);
10039 if (PyErr_Occurred()) SWIG_fail
;
10043 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10045 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10054 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10055 PyObject
*resultobj
;
10056 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10059 PyObject
* obj0
= 0 ;
10060 PyObject
* obj1
= 0 ;
10061 char *kwnames
[] = {
10062 (char *) "self",(char *) "lineNo", NULL
10065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
10066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10067 if (SWIG_arg_fail(1)) SWIG_fail
;
10069 arg2
= (long)(SWIG_As_long(obj1
));
10070 if (SWIG_arg_fail(2)) SWIG_fail
;
10073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10074 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
10076 wxPyEndAllowThreads(__tstate
);
10077 if (PyErr_Occurred()) SWIG_fail
;
10080 resultobj
= SWIG_From_int((int)(result
));
10088 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10089 PyObject
*resultobj
;
10090 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10093 PyObject
* obj0
= 0 ;
10094 PyObject
* obj1
= 0 ;
10095 char *kwnames
[] = {
10096 (char *) "self",(char *) "lineNo", NULL
10099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
10100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10101 if (SWIG_arg_fail(1)) SWIG_fail
;
10103 arg2
= (long)(SWIG_As_long(obj1
));
10104 if (SWIG_arg_fail(2)) SWIG_fail
;
10107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10108 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
10110 wxPyEndAllowThreads(__tstate
);
10111 if (PyErr_Occurred()) SWIG_fail
;
10115 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10117 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10126 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10127 PyObject
*resultobj
;
10128 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10130 PyObject
* obj0
= 0 ;
10131 char *kwnames
[] = {
10132 (char *) "self", NULL
10135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
10136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10137 if (SWIG_arg_fail(1)) SWIG_fail
;
10139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10140 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
10142 wxPyEndAllowThreads(__tstate
);
10143 if (PyErr_Occurred()) SWIG_fail
;
10146 resultobj
= SWIG_From_int((int)(result
));
10154 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10155 PyObject
*resultobj
;
10156 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10158 PyObject
* obj0
= 0 ;
10159 char *kwnames
[] = {
10160 (char *) "self", NULL
10163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
10164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10165 if (SWIG_arg_fail(1)) SWIG_fail
;
10167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10168 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
10170 wxPyEndAllowThreads(__tstate
);
10171 if (PyErr_Occurred()) SWIG_fail
;
10174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10182 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10183 PyObject
*resultobj
;
10184 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10186 PyObject
* obj0
= 0 ;
10187 char *kwnames
[] = {
10188 (char *) "self", NULL
10191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
10192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10193 if (SWIG_arg_fail(1)) SWIG_fail
;
10195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10196 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
10198 wxPyEndAllowThreads(__tstate
);
10199 if (PyErr_Occurred()) SWIG_fail
;
10202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10210 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10211 PyObject
*resultobj
;
10212 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10214 PyObject
* obj0
= 0 ;
10215 char *kwnames
[] = {
10216 (char *) "self", NULL
10219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
10220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10221 if (SWIG_arg_fail(1)) SWIG_fail
;
10223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10224 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
10226 wxPyEndAllowThreads(__tstate
);
10227 if (PyErr_Occurred()) SWIG_fail
;
10230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10238 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10239 PyObject
*resultobj
;
10240 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10242 PyObject
* obj0
= 0 ;
10243 char *kwnames
[] = {
10244 (char *) "self", NULL
10247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
10248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10249 if (SWIG_arg_fail(1)) SWIG_fail
;
10251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10252 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
10254 wxPyEndAllowThreads(__tstate
);
10255 if (PyErr_Occurred()) SWIG_fail
;
10258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10266 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10267 PyObject
*resultobj
;
10268 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10269 long *arg2
= (long *) 0 ;
10270 long *arg3
= (long *) 0 ;
10275 PyObject
* obj0
= 0 ;
10276 char *kwnames
[] = {
10277 (char *) "self", NULL
10280 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10281 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
10283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10284 if (SWIG_arg_fail(1)) SWIG_fail
;
10286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10287 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
10289 wxPyEndAllowThreads(__tstate
);
10290 if (PyErr_Occurred()) SWIG_fail
;
10292 Py_INCREF(Py_None
); resultobj
= Py_None
;
10293 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10294 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
10295 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10296 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10303 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10304 PyObject
*resultobj
;
10305 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10307 PyObject
* obj0
= 0 ;
10308 char *kwnames
[] = {
10309 (char *) "self", NULL
10312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
10313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10314 if (SWIG_arg_fail(1)) SWIG_fail
;
10316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10317 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
10319 wxPyEndAllowThreads(__tstate
);
10320 if (PyErr_Occurred()) SWIG_fail
;
10324 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10326 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10335 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10336 PyObject
*resultobj
;
10337 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10338 PyObject
* obj0
= 0 ;
10339 char *kwnames
[] = {
10340 (char *) "self", NULL
10343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
10344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10345 if (SWIG_arg_fail(1)) SWIG_fail
;
10347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10350 wxPyEndAllowThreads(__tstate
);
10351 if (PyErr_Occurred()) SWIG_fail
;
10353 Py_INCREF(Py_None
); resultobj
= Py_None
;
10360 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10361 PyObject
*resultobj
;
10362 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10365 wxString
*arg4
= 0 ;
10366 bool temp4
= false ;
10367 PyObject
* obj0
= 0 ;
10368 PyObject
* obj1
= 0 ;
10369 PyObject
* obj2
= 0 ;
10370 PyObject
* obj3
= 0 ;
10371 char *kwnames
[] = {
10372 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
10375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10377 if (SWIG_arg_fail(1)) SWIG_fail
;
10379 arg2
= (long)(SWIG_As_long(obj1
));
10380 if (SWIG_arg_fail(2)) SWIG_fail
;
10383 arg3
= (long)(SWIG_As_long(obj2
));
10384 if (SWIG_arg_fail(3)) SWIG_fail
;
10387 arg4
= wxString_in_helper(obj3
);
10388 if (arg4
== NULL
) SWIG_fail
;
10392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10393 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
10395 wxPyEndAllowThreads(__tstate
);
10396 if (PyErr_Occurred()) SWIG_fail
;
10398 Py_INCREF(Py_None
); resultobj
= Py_None
;
10413 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10414 PyObject
*resultobj
;
10415 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10418 PyObject
* obj0
= 0 ;
10419 PyObject
* obj1
= 0 ;
10420 PyObject
* obj2
= 0 ;
10421 char *kwnames
[] = {
10422 (char *) "self",(char *) "from",(char *) "to", NULL
10425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10427 if (SWIG_arg_fail(1)) SWIG_fail
;
10429 arg2
= (long)(SWIG_As_long(obj1
));
10430 if (SWIG_arg_fail(2)) SWIG_fail
;
10433 arg3
= (long)(SWIG_As_long(obj2
));
10434 if (SWIG_arg_fail(3)) SWIG_fail
;
10437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10438 (arg1
)->Remove(arg2
,arg3
);
10440 wxPyEndAllowThreads(__tstate
);
10441 if (PyErr_Occurred()) SWIG_fail
;
10443 Py_INCREF(Py_None
); resultobj
= Py_None
;
10450 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10451 PyObject
*resultobj
;
10452 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10453 wxString
*arg2
= 0 ;
10455 bool temp2
= false ;
10456 PyObject
* obj0
= 0 ;
10457 PyObject
* obj1
= 0 ;
10458 char *kwnames
[] = {
10459 (char *) "self",(char *) "file", NULL
10462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
10463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10464 if (SWIG_arg_fail(1)) SWIG_fail
;
10466 arg2
= wxString_in_helper(obj1
);
10467 if (arg2
== NULL
) SWIG_fail
;
10471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10472 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
10474 wxPyEndAllowThreads(__tstate
);
10475 if (PyErr_Occurred()) SWIG_fail
;
10478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10494 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10495 PyObject
*resultobj
;
10496 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10497 wxString
const &arg2_defvalue
= wxPyEmptyString
;
10498 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
10500 bool temp2
= false ;
10501 PyObject
* obj0
= 0 ;
10502 PyObject
* obj1
= 0 ;
10503 char *kwnames
[] = {
10504 (char *) "self",(char *) "file", NULL
10507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
10508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10509 if (SWIG_arg_fail(1)) SWIG_fail
;
10512 arg2
= wxString_in_helper(obj1
);
10513 if (arg2
== NULL
) SWIG_fail
;
10518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10519 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
10521 wxPyEndAllowThreads(__tstate
);
10522 if (PyErr_Occurred()) SWIG_fail
;
10525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10541 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10542 PyObject
*resultobj
;
10543 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10544 PyObject
* obj0
= 0 ;
10545 char *kwnames
[] = {
10546 (char *) "self", NULL
10549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
10550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10551 if (SWIG_arg_fail(1)) SWIG_fail
;
10553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10554 (arg1
)->MarkDirty();
10556 wxPyEndAllowThreads(__tstate
);
10557 if (PyErr_Occurred()) SWIG_fail
;
10559 Py_INCREF(Py_None
); resultobj
= Py_None
;
10566 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10567 PyObject
*resultobj
;
10568 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10569 PyObject
* obj0
= 0 ;
10570 char *kwnames
[] = {
10571 (char *) "self", NULL
10574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
10575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10576 if (SWIG_arg_fail(1)) SWIG_fail
;
10578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10579 (arg1
)->DiscardEdits();
10581 wxPyEndAllowThreads(__tstate
);
10582 if (PyErr_Occurred()) SWIG_fail
;
10584 Py_INCREF(Py_None
); resultobj
= Py_None
;
10591 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10592 PyObject
*resultobj
;
10593 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10594 unsigned long arg2
;
10595 PyObject
* obj0
= 0 ;
10596 PyObject
* obj1
= 0 ;
10597 char *kwnames
[] = {
10598 (char *) "self",(char *) "len", NULL
10601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
10602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10603 if (SWIG_arg_fail(1)) SWIG_fail
;
10605 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
10606 if (SWIG_arg_fail(2)) SWIG_fail
;
10609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10610 (arg1
)->SetMaxLength(arg2
);
10612 wxPyEndAllowThreads(__tstate
);
10613 if (PyErr_Occurred()) SWIG_fail
;
10615 Py_INCREF(Py_None
); resultobj
= Py_None
;
10622 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10623 PyObject
*resultobj
;
10624 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10625 wxString
*arg2
= 0 ;
10626 bool temp2
= false ;
10627 PyObject
* obj0
= 0 ;
10628 PyObject
* obj1
= 0 ;
10629 char *kwnames
[] = {
10630 (char *) "self",(char *) "text", NULL
10633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
10634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10635 if (SWIG_arg_fail(1)) SWIG_fail
;
10637 arg2
= wxString_in_helper(obj1
);
10638 if (arg2
== NULL
) SWIG_fail
;
10642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10643 (arg1
)->WriteText((wxString
const &)*arg2
);
10645 wxPyEndAllowThreads(__tstate
);
10646 if (PyErr_Occurred()) SWIG_fail
;
10648 Py_INCREF(Py_None
); resultobj
= Py_None
;
10663 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10664 PyObject
*resultobj
;
10665 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10666 wxString
*arg2
= 0 ;
10667 bool temp2
= false ;
10668 PyObject
* obj0
= 0 ;
10669 PyObject
* obj1
= 0 ;
10670 char *kwnames
[] = {
10671 (char *) "self",(char *) "text", NULL
10674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
10675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10676 if (SWIG_arg_fail(1)) SWIG_fail
;
10678 arg2
= wxString_in_helper(obj1
);
10679 if (arg2
== NULL
) SWIG_fail
;
10683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10684 (arg1
)->AppendText((wxString
const &)*arg2
);
10686 wxPyEndAllowThreads(__tstate
);
10687 if (PyErr_Occurred()) SWIG_fail
;
10689 Py_INCREF(Py_None
); resultobj
= Py_None
;
10704 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10705 PyObject
*resultobj
;
10706 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10707 wxKeyEvent
*arg2
= 0 ;
10709 PyObject
* obj0
= 0 ;
10710 PyObject
* obj1
= 0 ;
10711 char *kwnames
[] = {
10712 (char *) "self",(char *) "event", NULL
10715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
10716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10717 if (SWIG_arg_fail(1)) SWIG_fail
;
10719 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
10720 if (SWIG_arg_fail(2)) SWIG_fail
;
10721 if (arg2
== NULL
) {
10722 SWIG_null_ref("wxKeyEvent");
10724 if (SWIG_arg_fail(2)) SWIG_fail
;
10727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10728 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
10730 wxPyEndAllowThreads(__tstate
);
10731 if (PyErr_Occurred()) SWIG_fail
;
10734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10742 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10743 PyObject
*resultobj
;
10744 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10747 wxTextAttr
*arg4
= 0 ;
10749 PyObject
* obj0
= 0 ;
10750 PyObject
* obj1
= 0 ;
10751 PyObject
* obj2
= 0 ;
10752 PyObject
* obj3
= 0 ;
10753 char *kwnames
[] = {
10754 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
10757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10759 if (SWIG_arg_fail(1)) SWIG_fail
;
10761 arg2
= (long)(SWIG_As_long(obj1
));
10762 if (SWIG_arg_fail(2)) SWIG_fail
;
10765 arg3
= (long)(SWIG_As_long(obj2
));
10766 if (SWIG_arg_fail(3)) SWIG_fail
;
10769 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10770 if (SWIG_arg_fail(4)) SWIG_fail
;
10771 if (arg4
== NULL
) {
10772 SWIG_null_ref("wxTextAttr");
10774 if (SWIG_arg_fail(4)) SWIG_fail
;
10777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10778 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
10780 wxPyEndAllowThreads(__tstate
);
10781 if (PyErr_Occurred()) SWIG_fail
;
10784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10792 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10793 PyObject
*resultobj
;
10794 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10796 wxTextAttr
*arg3
= 0 ;
10798 PyObject
* obj0
= 0 ;
10799 PyObject
* obj1
= 0 ;
10800 PyObject
* obj2
= 0 ;
10801 char *kwnames
[] = {
10802 (char *) "self",(char *) "position",(char *) "style", NULL
10805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10807 if (SWIG_arg_fail(1)) SWIG_fail
;
10809 arg2
= (long)(SWIG_As_long(obj1
));
10810 if (SWIG_arg_fail(2)) SWIG_fail
;
10813 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10814 if (SWIG_arg_fail(3)) SWIG_fail
;
10815 if (arg3
== NULL
) {
10816 SWIG_null_ref("wxTextAttr");
10818 if (SWIG_arg_fail(3)) SWIG_fail
;
10821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10822 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
10824 wxPyEndAllowThreads(__tstate
);
10825 if (PyErr_Occurred()) SWIG_fail
;
10828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10836 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10837 PyObject
*resultobj
;
10838 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10839 wxTextAttr
*arg2
= 0 ;
10841 PyObject
* obj0
= 0 ;
10842 PyObject
* obj1
= 0 ;
10843 char *kwnames
[] = {
10844 (char *) "self",(char *) "style", NULL
10847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
10848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10849 if (SWIG_arg_fail(1)) SWIG_fail
;
10851 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10852 if (SWIG_arg_fail(2)) SWIG_fail
;
10853 if (arg2
== NULL
) {
10854 SWIG_null_ref("wxTextAttr");
10856 if (SWIG_arg_fail(2)) SWIG_fail
;
10859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10860 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
10862 wxPyEndAllowThreads(__tstate
);
10863 if (PyErr_Occurred()) SWIG_fail
;
10866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10874 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10875 PyObject
*resultobj
;
10876 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10877 wxTextAttr
*result
;
10878 PyObject
* obj0
= 0 ;
10879 char *kwnames
[] = {
10880 (char *) "self", NULL
10883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
10884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10885 if (SWIG_arg_fail(1)) SWIG_fail
;
10887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10889 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
10890 result
= (wxTextAttr
*) &_result_ref
;
10893 wxPyEndAllowThreads(__tstate
);
10894 if (PyErr_Occurred()) SWIG_fail
;
10896 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
10903 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10904 PyObject
*resultobj
;
10905 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10909 PyObject
* obj0
= 0 ;
10910 PyObject
* obj1
= 0 ;
10911 PyObject
* obj2
= 0 ;
10912 char *kwnames
[] = {
10913 (char *) "self",(char *) "x",(char *) "y", NULL
10916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10918 if (SWIG_arg_fail(1)) SWIG_fail
;
10920 arg2
= (long)(SWIG_As_long(obj1
));
10921 if (SWIG_arg_fail(2)) SWIG_fail
;
10924 arg3
= (long)(SWIG_As_long(obj2
));
10925 if (SWIG_arg_fail(3)) SWIG_fail
;
10928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10929 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
10931 wxPyEndAllowThreads(__tstate
);
10932 if (PyErr_Occurred()) SWIG_fail
;
10935 resultobj
= SWIG_From_long((long)(result
));
10943 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10944 PyObject
*resultobj
;
10945 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10947 long *arg3
= (long *) 0 ;
10948 long *arg4
= (long *) 0 ;
10953 PyObject
* obj0
= 0 ;
10954 PyObject
* obj1
= 0 ;
10955 char *kwnames
[] = {
10956 (char *) "self",(char *) "pos", NULL
10959 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10960 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
10962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10963 if (SWIG_arg_fail(1)) SWIG_fail
;
10965 arg2
= (long)(SWIG_As_long(obj1
));
10966 if (SWIG_arg_fail(2)) SWIG_fail
;
10969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10970 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
10972 wxPyEndAllowThreads(__tstate
);
10973 if (PyErr_Occurred()) SWIG_fail
;
10975 Py_INCREF(Py_None
); resultobj
= Py_None
;
10976 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10977 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10978 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10979 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
10986 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10987 PyObject
*resultobj
;
10988 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10990 PyObject
* obj0
= 0 ;
10991 PyObject
* obj1
= 0 ;
10992 char *kwnames
[] = {
10993 (char *) "self",(char *) "pos", NULL
10996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10998 if (SWIG_arg_fail(1)) SWIG_fail
;
11000 arg2
= (long)(SWIG_As_long(obj1
));
11001 if (SWIG_arg_fail(2)) SWIG_fail
;
11004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11005 (arg1
)->ShowPosition(arg2
);
11007 wxPyEndAllowThreads(__tstate
);
11008 if (PyErr_Occurred()) SWIG_fail
;
11010 Py_INCREF(Py_None
); resultobj
= Py_None
;
11017 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11018 PyObject
*resultobj
;
11019 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11020 wxPoint
*arg2
= 0 ;
11021 long *arg3
= (long *) 0 ;
11022 long *arg4
= (long *) 0 ;
11023 wxTextCtrlHitTestResult result
;
11029 PyObject
* obj0
= 0 ;
11030 PyObject
* obj1
= 0 ;
11031 char *kwnames
[] = {
11032 (char *) "self",(char *) "pt", NULL
11035 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11036 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
11037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
11038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11039 if (SWIG_arg_fail(1)) SWIG_fail
;
11042 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11046 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
11048 wxPyEndAllowThreads(__tstate
);
11049 if (PyErr_Occurred()) SWIG_fail
;
11051 resultobj
= SWIG_From_int((result
));
11052 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11053 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
11054 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
11055 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
11062 static PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11063 PyObject
*resultobj
;
11064 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11065 wxPoint
*arg2
= 0 ;
11066 long *arg3
= (long *) 0 ;
11067 wxTextCtrlHitTestResult result
;
11071 PyObject
* obj0
= 0 ;
11072 PyObject
* obj1
= 0 ;
11073 char *kwnames
[] = {
11074 (char *) "self",(char *) "pt", NULL
11077 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) goto fail
;
11079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11080 if (SWIG_arg_fail(1)) SWIG_fail
;
11083 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11087 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
11089 wxPyEndAllowThreads(__tstate
);
11090 if (PyErr_Occurred()) SWIG_fail
;
11092 resultobj
= SWIG_From_int((result
));
11093 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11094 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
11101 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11102 PyObject
*resultobj
;
11103 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11104 PyObject
* obj0
= 0 ;
11105 char *kwnames
[] = {
11106 (char *) "self", NULL
11109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
11110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11111 if (SWIG_arg_fail(1)) SWIG_fail
;
11113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11116 wxPyEndAllowThreads(__tstate
);
11117 if (PyErr_Occurred()) SWIG_fail
;
11119 Py_INCREF(Py_None
); resultobj
= Py_None
;
11126 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11127 PyObject
*resultobj
;
11128 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11129 PyObject
* obj0
= 0 ;
11130 char *kwnames
[] = {
11131 (char *) "self", NULL
11134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
11135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11136 if (SWIG_arg_fail(1)) SWIG_fail
;
11138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11141 wxPyEndAllowThreads(__tstate
);
11142 if (PyErr_Occurred()) SWIG_fail
;
11144 Py_INCREF(Py_None
); resultobj
= Py_None
;
11151 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11152 PyObject
*resultobj
;
11153 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11154 PyObject
* obj0
= 0 ;
11155 char *kwnames
[] = {
11156 (char *) "self", NULL
11159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
11160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11161 if (SWIG_arg_fail(1)) SWIG_fail
;
11163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11166 wxPyEndAllowThreads(__tstate
);
11167 if (PyErr_Occurred()) SWIG_fail
;
11169 Py_INCREF(Py_None
); resultobj
= Py_None
;
11176 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11177 PyObject
*resultobj
;
11178 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11180 PyObject
* obj0
= 0 ;
11181 char *kwnames
[] = {
11182 (char *) "self", NULL
11185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
11186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11187 if (SWIG_arg_fail(1)) SWIG_fail
;
11189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11190 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
11192 wxPyEndAllowThreads(__tstate
);
11193 if (PyErr_Occurred()) SWIG_fail
;
11196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11204 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11205 PyObject
*resultobj
;
11206 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11208 PyObject
* obj0
= 0 ;
11209 char *kwnames
[] = {
11210 (char *) "self", NULL
11213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
11214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11215 if (SWIG_arg_fail(1)) SWIG_fail
;
11217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11218 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
11220 wxPyEndAllowThreads(__tstate
);
11221 if (PyErr_Occurred()) SWIG_fail
;
11224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11232 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11233 PyObject
*resultobj
;
11234 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11236 PyObject
* obj0
= 0 ;
11237 char *kwnames
[] = {
11238 (char *) "self", NULL
11241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
11242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11243 if (SWIG_arg_fail(1)) SWIG_fail
;
11245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11246 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
11248 wxPyEndAllowThreads(__tstate
);
11249 if (PyErr_Occurred()) SWIG_fail
;
11252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11260 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11261 PyObject
*resultobj
;
11262 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11263 PyObject
* obj0
= 0 ;
11264 char *kwnames
[] = {
11265 (char *) "self", NULL
11268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
11269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11270 if (SWIG_arg_fail(1)) SWIG_fail
;
11272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11275 wxPyEndAllowThreads(__tstate
);
11276 if (PyErr_Occurred()) SWIG_fail
;
11278 Py_INCREF(Py_None
); resultobj
= Py_None
;
11285 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11286 PyObject
*resultobj
;
11287 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11288 PyObject
* obj0
= 0 ;
11289 char *kwnames
[] = {
11290 (char *) "self", NULL
11293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
11294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11295 if (SWIG_arg_fail(1)) SWIG_fail
;
11297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11300 wxPyEndAllowThreads(__tstate
);
11301 if (PyErr_Occurred()) SWIG_fail
;
11303 Py_INCREF(Py_None
); resultobj
= Py_None
;
11310 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11311 PyObject
*resultobj
;
11312 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11314 PyObject
* obj0
= 0 ;
11315 char *kwnames
[] = {
11316 (char *) "self", NULL
11319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
11320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11321 if (SWIG_arg_fail(1)) SWIG_fail
;
11323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11324 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
11326 wxPyEndAllowThreads(__tstate
);
11327 if (PyErr_Occurred()) SWIG_fail
;
11330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11338 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11339 PyObject
*resultobj
;
11340 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11342 PyObject
* obj0
= 0 ;
11343 char *kwnames
[] = {
11344 (char *) "self", NULL
11347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
11348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11349 if (SWIG_arg_fail(1)) SWIG_fail
;
11351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11352 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
11354 wxPyEndAllowThreads(__tstate
);
11355 if (PyErr_Occurred()) SWIG_fail
;
11358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11366 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11367 PyObject
*resultobj
;
11368 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11370 PyObject
* obj0
= 0 ;
11371 PyObject
* obj1
= 0 ;
11372 char *kwnames
[] = {
11373 (char *) "self",(char *) "pos", NULL
11376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11378 if (SWIG_arg_fail(1)) SWIG_fail
;
11380 arg2
= (long)(SWIG_As_long(obj1
));
11381 if (SWIG_arg_fail(2)) SWIG_fail
;
11384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11385 (arg1
)->SetInsertionPoint(arg2
);
11387 wxPyEndAllowThreads(__tstate
);
11388 if (PyErr_Occurred()) SWIG_fail
;
11390 Py_INCREF(Py_None
); resultobj
= Py_None
;
11397 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11398 PyObject
*resultobj
;
11399 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11400 PyObject
* obj0
= 0 ;
11401 char *kwnames
[] = {
11402 (char *) "self", NULL
11405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
11406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11407 if (SWIG_arg_fail(1)) SWIG_fail
;
11409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11410 (arg1
)->SetInsertionPointEnd();
11412 wxPyEndAllowThreads(__tstate
);
11413 if (PyErr_Occurred()) SWIG_fail
;
11415 Py_INCREF(Py_None
); resultobj
= Py_None
;
11422 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11423 PyObject
*resultobj
;
11424 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11426 PyObject
* obj0
= 0 ;
11427 char *kwnames
[] = {
11428 (char *) "self", NULL
11431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
11432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11433 if (SWIG_arg_fail(1)) SWIG_fail
;
11435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11436 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
11438 wxPyEndAllowThreads(__tstate
);
11439 if (PyErr_Occurred()) SWIG_fail
;
11442 resultobj
= SWIG_From_long((long)(result
));
11450 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11451 PyObject
*resultobj
;
11452 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11454 PyObject
* obj0
= 0 ;
11455 char *kwnames
[] = {
11456 (char *) "self", NULL
11459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
11460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11461 if (SWIG_arg_fail(1)) SWIG_fail
;
11463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11464 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
11466 wxPyEndAllowThreads(__tstate
);
11467 if (PyErr_Occurred()) SWIG_fail
;
11470 resultobj
= SWIG_From_long((long)(result
));
11478 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11479 PyObject
*resultobj
;
11480 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11483 PyObject
* obj0
= 0 ;
11484 PyObject
* obj1
= 0 ;
11485 PyObject
* obj2
= 0 ;
11486 char *kwnames
[] = {
11487 (char *) "self",(char *) "from",(char *) "to", NULL
11490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11492 if (SWIG_arg_fail(1)) SWIG_fail
;
11494 arg2
= (long)(SWIG_As_long(obj1
));
11495 if (SWIG_arg_fail(2)) SWIG_fail
;
11498 arg3
= (long)(SWIG_As_long(obj2
));
11499 if (SWIG_arg_fail(3)) SWIG_fail
;
11502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11503 (arg1
)->SetSelection(arg2
,arg3
);
11505 wxPyEndAllowThreads(__tstate
);
11506 if (PyErr_Occurred()) SWIG_fail
;
11508 Py_INCREF(Py_None
); resultobj
= Py_None
;
11515 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11516 PyObject
*resultobj
;
11517 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11518 PyObject
* obj0
= 0 ;
11519 char *kwnames
[] = {
11520 (char *) "self", NULL
11523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
11524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11525 if (SWIG_arg_fail(1)) SWIG_fail
;
11527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11528 (arg1
)->SelectAll();
11530 wxPyEndAllowThreads(__tstate
);
11531 if (PyErr_Occurred()) SWIG_fail
;
11533 Py_INCREF(Py_None
); resultobj
= Py_None
;
11540 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11541 PyObject
*resultobj
;
11542 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11544 PyObject
* obj0
= 0 ;
11545 PyObject
* obj1
= 0 ;
11546 char *kwnames
[] = {
11547 (char *) "self",(char *) "editable", NULL
11550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
11551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11552 if (SWIG_arg_fail(1)) SWIG_fail
;
11554 arg2
= (bool)(SWIG_As_bool(obj1
));
11555 if (SWIG_arg_fail(2)) SWIG_fail
;
11558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11559 (arg1
)->SetEditable(arg2
);
11561 wxPyEndAllowThreads(__tstate
);
11562 if (PyErr_Occurred()) SWIG_fail
;
11564 Py_INCREF(Py_None
); resultobj
= Py_None
;
11571 static PyObject
*_wrap_TextCtrl_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11572 PyObject
*resultobj
;
11573 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11574 wxString
*arg2
= 0 ;
11575 bool temp2
= false ;
11576 PyObject
* obj0
= 0 ;
11577 PyObject
* obj1
= 0 ;
11578 char *kwnames
[] = {
11579 (char *) "self",(char *) "text", NULL
11582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
11583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11584 if (SWIG_arg_fail(1)) SWIG_fail
;
11586 arg2
= wxString_in_helper(obj1
);
11587 if (arg2
== NULL
) SWIG_fail
;
11591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11592 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
11594 wxPyEndAllowThreads(__tstate
);
11595 if (PyErr_Occurred()) SWIG_fail
;
11597 Py_INCREF(Py_None
); resultobj
= Py_None
;
11612 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11613 PyObject
*resultobj
;
11614 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11618 PyObject
* obj0
= 0 ;
11619 PyObject
* obj1
= 0 ;
11620 PyObject
* obj2
= 0 ;
11621 char *kwnames
[] = {
11622 (char *) "self",(char *) "from",(char *) "to", NULL
11625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11627 if (SWIG_arg_fail(1)) SWIG_fail
;
11629 arg2
= (long)(SWIG_As_long(obj1
));
11630 if (SWIG_arg_fail(2)) SWIG_fail
;
11633 arg3
= (long)(SWIG_As_long(obj2
));
11634 if (SWIG_arg_fail(3)) SWIG_fail
;
11637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11638 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
11640 wxPyEndAllowThreads(__tstate
);
11641 if (PyErr_Occurred()) SWIG_fail
;
11645 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11647 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11656 static PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11657 PyObject
*resultobj
;
11658 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
11659 wxVisualAttributes result
;
11660 PyObject
* obj0
= 0 ;
11661 char *kwnames
[] = {
11662 (char *) "variant", NULL
11665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11668 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
11669 if (SWIG_arg_fail(1)) SWIG_fail
;
11673 if (!wxPyCheckForApp()) SWIG_fail
;
11674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11675 result
= wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11677 wxPyEndAllowThreads(__tstate
);
11678 if (PyErr_Occurred()) SWIG_fail
;
11681 wxVisualAttributes
* resultptr
;
11682 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
11683 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11691 static PyObject
* TextCtrl_swigregister(PyObject
*, PyObject
*args
) {
11693 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11694 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
11696 return Py_BuildValue((char *)"");
11698 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11699 PyObject
*resultobj
;
11701 wxMouseEvent
*arg2
= 0 ;
11704 wxTextUrlEvent
*result
;
11705 PyObject
* obj0
= 0 ;
11706 PyObject
* obj1
= 0 ;
11707 PyObject
* obj2
= 0 ;
11708 PyObject
* obj3
= 0 ;
11709 char *kwnames
[] = {
11710 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
11713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11715 arg1
= (int)(SWIG_As_int(obj0
));
11716 if (SWIG_arg_fail(1)) SWIG_fail
;
11719 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
11720 if (SWIG_arg_fail(2)) SWIG_fail
;
11721 if (arg2
== NULL
) {
11722 SWIG_null_ref("wxMouseEvent");
11724 if (SWIG_arg_fail(2)) SWIG_fail
;
11727 arg3
= (long)(SWIG_As_long(obj2
));
11728 if (SWIG_arg_fail(3)) SWIG_fail
;
11731 arg4
= (long)(SWIG_As_long(obj3
));
11732 if (SWIG_arg_fail(4)) SWIG_fail
;
11735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11736 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
11738 wxPyEndAllowThreads(__tstate
);
11739 if (PyErr_Occurred()) SWIG_fail
;
11741 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
11748 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11749 PyObject
*resultobj
;
11750 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11751 wxMouseEvent
*result
;
11752 PyObject
* obj0
= 0 ;
11753 char *kwnames
[] = {
11754 (char *) "self", NULL
11757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
11758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11759 if (SWIG_arg_fail(1)) SWIG_fail
;
11761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11763 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
11764 result
= (wxMouseEvent
*) &_result_ref
;
11767 wxPyEndAllowThreads(__tstate
);
11768 if (PyErr_Occurred()) SWIG_fail
;
11770 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
11777 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11778 PyObject
*resultobj
;
11779 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11781 PyObject
* obj0
= 0 ;
11782 char *kwnames
[] = {
11783 (char *) "self", NULL
11786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
11787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11788 if (SWIG_arg_fail(1)) SWIG_fail
;
11790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11791 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
11793 wxPyEndAllowThreads(__tstate
);
11794 if (PyErr_Occurred()) SWIG_fail
;
11797 resultobj
= SWIG_From_long((long)(result
));
11805 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11806 PyObject
*resultobj
;
11807 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11809 PyObject
* obj0
= 0 ;
11810 char *kwnames
[] = {
11811 (char *) "self", NULL
11814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
11815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11816 if (SWIG_arg_fail(1)) SWIG_fail
;
11818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11819 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
11821 wxPyEndAllowThreads(__tstate
);
11822 if (PyErr_Occurred()) SWIG_fail
;
11825 resultobj
= SWIG_From_long((long)(result
));
11833 static PyObject
* TextUrlEvent_swigregister(PyObject
*, PyObject
*args
) {
11835 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11836 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
11838 return Py_BuildValue((char *)"");
11840 static int _wrap_ScrollBarNameStr_set(PyObject
*) {
11841 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
11846 static PyObject
*_wrap_ScrollBarNameStr_get(void) {
11851 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
11853 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
11860 static PyObject
*_wrap_new_ScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11861 PyObject
*resultobj
;
11862 wxWindow
*arg1
= (wxWindow
*) 0 ;
11863 int arg2
= (int) -1 ;
11864 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11865 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11866 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11867 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11868 long arg5
= (long) wxSB_HORIZONTAL
;
11869 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
11870 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
11871 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
11872 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11873 wxScrollBar
*result
;
11876 bool temp7
= false ;
11877 PyObject
* obj0
= 0 ;
11878 PyObject
* obj1
= 0 ;
11879 PyObject
* obj2
= 0 ;
11880 PyObject
* obj3
= 0 ;
11881 PyObject
* obj4
= 0 ;
11882 PyObject
* obj5
= 0 ;
11883 PyObject
* obj6
= 0 ;
11884 char *kwnames
[] = {
11885 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11890 if (SWIG_arg_fail(1)) SWIG_fail
;
11893 arg2
= (int)(SWIG_As_int(obj1
));
11894 if (SWIG_arg_fail(2)) SWIG_fail
;
11900 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11906 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11911 arg5
= (long)(SWIG_As_long(obj4
));
11912 if (SWIG_arg_fail(5)) SWIG_fail
;
11917 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
11918 if (SWIG_arg_fail(6)) SWIG_fail
;
11919 if (arg6
== NULL
) {
11920 SWIG_null_ref("wxValidator");
11922 if (SWIG_arg_fail(6)) SWIG_fail
;
11927 arg7
= wxString_in_helper(obj6
);
11928 if (arg7
== NULL
) SWIG_fail
;
11933 if (!wxPyCheckForApp()) SWIG_fail
;
11934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11935 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
11937 wxPyEndAllowThreads(__tstate
);
11938 if (PyErr_Occurred()) SWIG_fail
;
11940 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
11955 static PyObject
*_wrap_new_PreScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11956 PyObject
*resultobj
;
11957 wxScrollBar
*result
;
11958 char *kwnames
[] = {
11962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
11964 if (!wxPyCheckForApp()) SWIG_fail
;
11965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11966 result
= (wxScrollBar
*)new wxScrollBar();
11968 wxPyEndAllowThreads(__tstate
);
11969 if (PyErr_Occurred()) SWIG_fail
;
11971 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
11978 static PyObject
*_wrap_ScrollBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11979 PyObject
*resultobj
;
11980 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
11981 wxWindow
*arg2
= (wxWindow
*) 0 ;
11982 int arg3
= (int) -1 ;
11983 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11984 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11985 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11986 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11987 long arg6
= (long) wxSB_HORIZONTAL
;
11988 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11989 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11990 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
11991 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11995 bool temp8
= false ;
11996 PyObject
* obj0
= 0 ;
11997 PyObject
* obj1
= 0 ;
11998 PyObject
* obj2
= 0 ;
11999 PyObject
* obj3
= 0 ;
12000 PyObject
* obj4
= 0 ;
12001 PyObject
* obj5
= 0 ;
12002 PyObject
* obj6
= 0 ;
12003 PyObject
* obj7
= 0 ;
12004 char *kwnames
[] = {
12005 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12010 if (SWIG_arg_fail(1)) SWIG_fail
;
12011 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12012 if (SWIG_arg_fail(2)) SWIG_fail
;
12015 arg3
= (int)(SWIG_As_int(obj2
));
12016 if (SWIG_arg_fail(3)) SWIG_fail
;
12022 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12028 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12033 arg6
= (long)(SWIG_As_long(obj5
));
12034 if (SWIG_arg_fail(6)) SWIG_fail
;
12039 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
12040 if (SWIG_arg_fail(7)) SWIG_fail
;
12041 if (arg7
== NULL
) {
12042 SWIG_null_ref("wxValidator");
12044 if (SWIG_arg_fail(7)) SWIG_fail
;
12049 arg8
= wxString_in_helper(obj7
);
12050 if (arg8
== NULL
) SWIG_fail
;
12055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12056 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12058 wxPyEndAllowThreads(__tstate
);
12059 if (PyErr_Occurred()) SWIG_fail
;
12062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12078 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12079 PyObject
*resultobj
;
12080 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12082 PyObject
* obj0
= 0 ;
12083 char *kwnames
[] = {
12084 (char *) "self", NULL
12087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
12088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12089 if (SWIG_arg_fail(1)) SWIG_fail
;
12091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12092 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
12094 wxPyEndAllowThreads(__tstate
);
12095 if (PyErr_Occurred()) SWIG_fail
;
12098 resultobj
= SWIG_From_int((int)(result
));
12106 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12107 PyObject
*resultobj
;
12108 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12110 PyObject
* obj0
= 0 ;
12111 char *kwnames
[] = {
12112 (char *) "self", NULL
12115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
12116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12117 if (SWIG_arg_fail(1)) SWIG_fail
;
12119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12120 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
12122 wxPyEndAllowThreads(__tstate
);
12123 if (PyErr_Occurred()) SWIG_fail
;
12126 resultobj
= SWIG_From_int((int)(result
));
12134 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12135 PyObject
*resultobj
;
12136 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12138 PyObject
* obj0
= 0 ;
12139 char *kwnames
[] = {
12140 (char *) "self", NULL
12143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
12144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12145 if (SWIG_arg_fail(1)) SWIG_fail
;
12147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12148 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
12150 wxPyEndAllowThreads(__tstate
);
12151 if (PyErr_Occurred()) SWIG_fail
;
12154 resultobj
= SWIG_From_int((int)(result
));
12162 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12163 PyObject
*resultobj
;
12164 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12166 PyObject
* obj0
= 0 ;
12167 char *kwnames
[] = {
12168 (char *) "self", NULL
12171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
12172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12173 if (SWIG_arg_fail(1)) SWIG_fail
;
12175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12176 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
12178 wxPyEndAllowThreads(__tstate
);
12179 if (PyErr_Occurred()) SWIG_fail
;
12182 resultobj
= SWIG_From_int((int)(result
));
12190 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12191 PyObject
*resultobj
;
12192 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12194 PyObject
* obj0
= 0 ;
12195 char *kwnames
[] = {
12196 (char *) "self", NULL
12199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
12200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12201 if (SWIG_arg_fail(1)) SWIG_fail
;
12203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12204 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
12206 wxPyEndAllowThreads(__tstate
);
12207 if (PyErr_Occurred()) SWIG_fail
;
12210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12218 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12219 PyObject
*resultobj
;
12220 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12222 PyObject
* obj0
= 0 ;
12223 PyObject
* obj1
= 0 ;
12224 char *kwnames
[] = {
12225 (char *) "self",(char *) "viewStart", NULL
12228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
12229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12230 if (SWIG_arg_fail(1)) SWIG_fail
;
12232 arg2
= (int)(SWIG_As_int(obj1
));
12233 if (SWIG_arg_fail(2)) SWIG_fail
;
12236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12237 (arg1
)->SetThumbPosition(arg2
);
12239 wxPyEndAllowThreads(__tstate
);
12240 if (PyErr_Occurred()) SWIG_fail
;
12242 Py_INCREF(Py_None
); resultobj
= Py_None
;
12249 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12250 PyObject
*resultobj
;
12251 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12256 bool arg6
= (bool) true ;
12257 PyObject
* obj0
= 0 ;
12258 PyObject
* obj1
= 0 ;
12259 PyObject
* obj2
= 0 ;
12260 PyObject
* obj3
= 0 ;
12261 PyObject
* obj4
= 0 ;
12262 PyObject
* obj5
= 0 ;
12263 char *kwnames
[] = {
12264 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
12267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12269 if (SWIG_arg_fail(1)) SWIG_fail
;
12271 arg2
= (int)(SWIG_As_int(obj1
));
12272 if (SWIG_arg_fail(2)) SWIG_fail
;
12275 arg3
= (int)(SWIG_As_int(obj2
));
12276 if (SWIG_arg_fail(3)) SWIG_fail
;
12279 arg4
= (int)(SWIG_As_int(obj3
));
12280 if (SWIG_arg_fail(4)) SWIG_fail
;
12283 arg5
= (int)(SWIG_As_int(obj4
));
12284 if (SWIG_arg_fail(5)) SWIG_fail
;
12288 arg6
= (bool)(SWIG_As_bool(obj5
));
12289 if (SWIG_arg_fail(6)) SWIG_fail
;
12293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12294 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
12296 wxPyEndAllowThreads(__tstate
);
12297 if (PyErr_Occurred()) SWIG_fail
;
12299 Py_INCREF(Py_None
); resultobj
= Py_None
;
12306 static PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12307 PyObject
*resultobj
;
12308 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
12309 wxVisualAttributes result
;
12310 PyObject
* obj0
= 0 ;
12311 char *kwnames
[] = {
12312 (char *) "variant", NULL
12315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12318 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
12319 if (SWIG_arg_fail(1)) SWIG_fail
;
12323 if (!wxPyCheckForApp()) SWIG_fail
;
12324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12325 result
= wxScrollBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12327 wxPyEndAllowThreads(__tstate
);
12328 if (PyErr_Occurred()) SWIG_fail
;
12331 wxVisualAttributes
* resultptr
;
12332 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
12333 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12341 static PyObject
* ScrollBar_swigregister(PyObject
*, PyObject
*args
) {
12343 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12344 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
12346 return Py_BuildValue((char *)"");
12348 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*) {
12349 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
12354 static PyObject
*_wrap_SPIN_BUTTON_NAME_get(void) {
12359 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
12361 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
12368 static int _wrap_SpinCtrlNameStr_set(PyObject
*) {
12369 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
12374 static PyObject
*_wrap_SpinCtrlNameStr_get(void) {
12379 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
12381 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
12388 static PyObject
*_wrap_new_SpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12389 PyObject
*resultobj
;
12390 wxWindow
*arg1
= (wxWindow
*) 0 ;
12391 int arg2
= (int) -1 ;
12392 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12393 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12394 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12395 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12396 long arg5
= (long) wxSP_HORIZONTAL
;
12397 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
12398 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12399 wxSpinButton
*result
;
12402 bool temp6
= false ;
12403 PyObject
* obj0
= 0 ;
12404 PyObject
* obj1
= 0 ;
12405 PyObject
* obj2
= 0 ;
12406 PyObject
* obj3
= 0 ;
12407 PyObject
* obj4
= 0 ;
12408 PyObject
* obj5
= 0 ;
12409 char *kwnames
[] = {
12410 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12415 if (SWIG_arg_fail(1)) SWIG_fail
;
12418 arg2
= (int)(SWIG_As_int(obj1
));
12419 if (SWIG_arg_fail(2)) SWIG_fail
;
12425 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12431 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12436 arg5
= (long)(SWIG_As_long(obj4
));
12437 if (SWIG_arg_fail(5)) SWIG_fail
;
12442 arg6
= wxString_in_helper(obj5
);
12443 if (arg6
== NULL
) SWIG_fail
;
12448 if (!wxPyCheckForApp()) SWIG_fail
;
12449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12450 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12452 wxPyEndAllowThreads(__tstate
);
12453 if (PyErr_Occurred()) SWIG_fail
;
12455 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
12470 static PyObject
*_wrap_new_PreSpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12471 PyObject
*resultobj
;
12472 wxSpinButton
*result
;
12473 char *kwnames
[] = {
12477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
12479 if (!wxPyCheckForApp()) SWIG_fail
;
12480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12481 result
= (wxSpinButton
*)new wxSpinButton();
12483 wxPyEndAllowThreads(__tstate
);
12484 if (PyErr_Occurred()) SWIG_fail
;
12486 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
12493 static PyObject
*_wrap_SpinButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12494 PyObject
*resultobj
;
12495 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12496 wxWindow
*arg2
= (wxWindow
*) 0 ;
12497 int arg3
= (int) -1 ;
12498 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12499 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12500 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12501 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12502 long arg6
= (long) wxSP_HORIZONTAL
;
12503 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
12504 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12508 bool temp7
= false ;
12509 PyObject
* obj0
= 0 ;
12510 PyObject
* obj1
= 0 ;
12511 PyObject
* obj2
= 0 ;
12512 PyObject
* obj3
= 0 ;
12513 PyObject
* obj4
= 0 ;
12514 PyObject
* obj5
= 0 ;
12515 PyObject
* obj6
= 0 ;
12516 char *kwnames
[] = {
12517 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12522 if (SWIG_arg_fail(1)) SWIG_fail
;
12523 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12524 if (SWIG_arg_fail(2)) SWIG_fail
;
12527 arg3
= (int)(SWIG_As_int(obj2
));
12528 if (SWIG_arg_fail(3)) SWIG_fail
;
12534 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12540 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12545 arg6
= (long)(SWIG_As_long(obj5
));
12546 if (SWIG_arg_fail(6)) SWIG_fail
;
12551 arg7
= wxString_in_helper(obj6
);
12552 if (arg7
== NULL
) SWIG_fail
;
12557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12558 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12560 wxPyEndAllowThreads(__tstate
);
12561 if (PyErr_Occurred()) SWIG_fail
;
12564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12580 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12581 PyObject
*resultobj
;
12582 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12584 PyObject
* obj0
= 0 ;
12585 char *kwnames
[] = {
12586 (char *) "self", NULL
12589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
12590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12591 if (SWIG_arg_fail(1)) SWIG_fail
;
12593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12594 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
12596 wxPyEndAllowThreads(__tstate
);
12597 if (PyErr_Occurred()) SWIG_fail
;
12600 resultobj
= SWIG_From_int((int)(result
));
12608 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12609 PyObject
*resultobj
;
12610 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12612 PyObject
* obj0
= 0 ;
12613 char *kwnames
[] = {
12614 (char *) "self", NULL
12617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
12618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12619 if (SWIG_arg_fail(1)) SWIG_fail
;
12621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12622 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
12624 wxPyEndAllowThreads(__tstate
);
12625 if (PyErr_Occurred()) SWIG_fail
;
12628 resultobj
= SWIG_From_int((int)(result
));
12636 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12637 PyObject
*resultobj
;
12638 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12640 PyObject
* obj0
= 0 ;
12641 char *kwnames
[] = {
12642 (char *) "self", NULL
12645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
12646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12647 if (SWIG_arg_fail(1)) SWIG_fail
;
12649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12650 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
12652 wxPyEndAllowThreads(__tstate
);
12653 if (PyErr_Occurred()) SWIG_fail
;
12656 resultobj
= SWIG_From_int((int)(result
));
12664 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12665 PyObject
*resultobj
;
12666 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12668 PyObject
* obj0
= 0 ;
12669 PyObject
* obj1
= 0 ;
12670 char *kwnames
[] = {
12671 (char *) "self",(char *) "val", NULL
12674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12676 if (SWIG_arg_fail(1)) SWIG_fail
;
12678 arg2
= (int)(SWIG_As_int(obj1
));
12679 if (SWIG_arg_fail(2)) SWIG_fail
;
12682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12683 (arg1
)->SetValue(arg2
);
12685 wxPyEndAllowThreads(__tstate
);
12686 if (PyErr_Occurred()) SWIG_fail
;
12688 Py_INCREF(Py_None
); resultobj
= Py_None
;
12695 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12696 PyObject
*resultobj
;
12697 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12699 PyObject
* obj0
= 0 ;
12700 PyObject
* obj1
= 0 ;
12701 char *kwnames
[] = {
12702 (char *) "self",(char *) "minVal", NULL
12705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
12706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12707 if (SWIG_arg_fail(1)) SWIG_fail
;
12709 arg2
= (int)(SWIG_As_int(obj1
));
12710 if (SWIG_arg_fail(2)) SWIG_fail
;
12713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12714 (arg1
)->SetMin(arg2
);
12716 wxPyEndAllowThreads(__tstate
);
12717 if (PyErr_Occurred()) SWIG_fail
;
12719 Py_INCREF(Py_None
); resultobj
= Py_None
;
12726 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12727 PyObject
*resultobj
;
12728 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12730 PyObject
* obj0
= 0 ;
12731 PyObject
* obj1
= 0 ;
12732 char *kwnames
[] = {
12733 (char *) "self",(char *) "maxVal", NULL
12736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
12737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12738 if (SWIG_arg_fail(1)) SWIG_fail
;
12740 arg2
= (int)(SWIG_As_int(obj1
));
12741 if (SWIG_arg_fail(2)) SWIG_fail
;
12744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12745 (arg1
)->SetMax(arg2
);
12747 wxPyEndAllowThreads(__tstate
);
12748 if (PyErr_Occurred()) SWIG_fail
;
12750 Py_INCREF(Py_None
); resultobj
= Py_None
;
12757 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12758 PyObject
*resultobj
;
12759 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12762 PyObject
* obj0
= 0 ;
12763 PyObject
* obj1
= 0 ;
12764 PyObject
* obj2
= 0 ;
12765 char *kwnames
[] = {
12766 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
12769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12771 if (SWIG_arg_fail(1)) SWIG_fail
;
12773 arg2
= (int)(SWIG_As_int(obj1
));
12774 if (SWIG_arg_fail(2)) SWIG_fail
;
12777 arg3
= (int)(SWIG_As_int(obj2
));
12778 if (SWIG_arg_fail(3)) SWIG_fail
;
12781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12782 (arg1
)->SetRange(arg2
,arg3
);
12784 wxPyEndAllowThreads(__tstate
);
12785 if (PyErr_Occurred()) SWIG_fail
;
12787 Py_INCREF(Py_None
); resultobj
= Py_None
;
12794 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12795 PyObject
*resultobj
;
12796 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12798 PyObject
* obj0
= 0 ;
12799 char *kwnames
[] = {
12800 (char *) "self", NULL
12803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
12804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12805 if (SWIG_arg_fail(1)) SWIG_fail
;
12807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12808 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
12810 wxPyEndAllowThreads(__tstate
);
12811 if (PyErr_Occurred()) SWIG_fail
;
12814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12822 static PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12823 PyObject
*resultobj
;
12824 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
12825 wxVisualAttributes result
;
12826 PyObject
* obj0
= 0 ;
12827 char *kwnames
[] = {
12828 (char *) "variant", NULL
12831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12834 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
12835 if (SWIG_arg_fail(1)) SWIG_fail
;
12839 if (!wxPyCheckForApp()) SWIG_fail
;
12840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12841 result
= wxSpinButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12843 wxPyEndAllowThreads(__tstate
);
12844 if (PyErr_Occurred()) SWIG_fail
;
12847 wxVisualAttributes
* resultptr
;
12848 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
12849 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12857 static PyObject
* SpinButton_swigregister(PyObject
*, PyObject
*args
) {
12859 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12860 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
12862 return Py_BuildValue((char *)"");
12864 static PyObject
*_wrap_new_SpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12865 PyObject
*resultobj
;
12866 wxWindow
*arg1
= (wxWindow
*) 0 ;
12867 int arg2
= (int) -1 ;
12868 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12869 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12870 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12871 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12872 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12873 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12874 long arg6
= (long) wxSP_ARROW_KEYS
;
12875 int arg7
= (int) 0 ;
12876 int arg8
= (int) 100 ;
12877 int arg9
= (int) 0 ;
12878 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
12879 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12880 wxSpinCtrl
*result
;
12881 bool temp3
= false ;
12884 bool temp10
= false ;
12885 PyObject
* obj0
= 0 ;
12886 PyObject
* obj1
= 0 ;
12887 PyObject
* obj2
= 0 ;
12888 PyObject
* obj3
= 0 ;
12889 PyObject
* obj4
= 0 ;
12890 PyObject
* obj5
= 0 ;
12891 PyObject
* obj6
= 0 ;
12892 PyObject
* obj7
= 0 ;
12893 PyObject
* obj8
= 0 ;
12894 PyObject
* obj9
= 0 ;
12895 char *kwnames
[] = {
12896 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
12899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12901 if (SWIG_arg_fail(1)) SWIG_fail
;
12904 arg2
= (int)(SWIG_As_int(obj1
));
12905 if (SWIG_arg_fail(2)) SWIG_fail
;
12910 arg3
= wxString_in_helper(obj2
);
12911 if (arg3
== NULL
) SWIG_fail
;
12918 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12924 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12929 arg6
= (long)(SWIG_As_long(obj5
));
12930 if (SWIG_arg_fail(6)) SWIG_fail
;
12935 arg7
= (int)(SWIG_As_int(obj6
));
12936 if (SWIG_arg_fail(7)) SWIG_fail
;
12941 arg8
= (int)(SWIG_As_int(obj7
));
12942 if (SWIG_arg_fail(8)) SWIG_fail
;
12947 arg9
= (int)(SWIG_As_int(obj8
));
12948 if (SWIG_arg_fail(9)) SWIG_fail
;
12953 arg10
= wxString_in_helper(obj9
);
12954 if (arg10
== NULL
) SWIG_fail
;
12959 if (!wxPyCheckForApp()) SWIG_fail
;
12960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12961 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
12963 wxPyEndAllowThreads(__tstate
);
12964 if (PyErr_Occurred()) SWIG_fail
;
12966 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
12989 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12990 PyObject
*resultobj
;
12991 wxSpinCtrl
*result
;
12992 char *kwnames
[] = {
12996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
12998 if (!wxPyCheckForApp()) SWIG_fail
;
12999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13000 result
= (wxSpinCtrl
*)new wxSpinCtrl();
13002 wxPyEndAllowThreads(__tstate
);
13003 if (PyErr_Occurred()) SWIG_fail
;
13005 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
13012 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13013 PyObject
*resultobj
;
13014 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13015 wxWindow
*arg2
= (wxWindow
*) 0 ;
13016 int arg3
= (int) -1 ;
13017 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13018 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13019 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13020 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13021 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13022 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13023 long arg7
= (long) wxSP_ARROW_KEYS
;
13024 int arg8
= (int) 0 ;
13025 int arg9
= (int) 100 ;
13026 int arg10
= (int) 0 ;
13027 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
13028 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
13030 bool temp4
= false ;
13033 bool temp11
= false ;
13034 PyObject
* obj0
= 0 ;
13035 PyObject
* obj1
= 0 ;
13036 PyObject
* obj2
= 0 ;
13037 PyObject
* obj3
= 0 ;
13038 PyObject
* obj4
= 0 ;
13039 PyObject
* obj5
= 0 ;
13040 PyObject
* obj6
= 0 ;
13041 PyObject
* obj7
= 0 ;
13042 PyObject
* obj8
= 0 ;
13043 PyObject
* obj9
= 0 ;
13044 PyObject
* obj10
= 0 ;
13045 char *kwnames
[] = {
13046 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
13049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
13050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13051 if (SWIG_arg_fail(1)) SWIG_fail
;
13052 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13053 if (SWIG_arg_fail(2)) SWIG_fail
;
13056 arg3
= (int)(SWIG_As_int(obj2
));
13057 if (SWIG_arg_fail(3)) SWIG_fail
;
13062 arg4
= wxString_in_helper(obj3
);
13063 if (arg4
== NULL
) SWIG_fail
;
13070 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13076 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13081 arg7
= (long)(SWIG_As_long(obj6
));
13082 if (SWIG_arg_fail(7)) SWIG_fail
;
13087 arg8
= (int)(SWIG_As_int(obj7
));
13088 if (SWIG_arg_fail(8)) SWIG_fail
;
13093 arg9
= (int)(SWIG_As_int(obj8
));
13094 if (SWIG_arg_fail(9)) SWIG_fail
;
13099 arg10
= (int)(SWIG_As_int(obj9
));
13100 if (SWIG_arg_fail(10)) SWIG_fail
;
13105 arg11
= wxString_in_helper(obj10
);
13106 if (arg11
== NULL
) SWIG_fail
;
13111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13112 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
13114 wxPyEndAllowThreads(__tstate
);
13115 if (PyErr_Occurred()) SWIG_fail
;
13118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13142 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13143 PyObject
*resultobj
;
13144 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13146 PyObject
* obj0
= 0 ;
13147 char *kwnames
[] = {
13148 (char *) "self", NULL
13151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
13152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13153 if (SWIG_arg_fail(1)) SWIG_fail
;
13155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13156 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
13158 wxPyEndAllowThreads(__tstate
);
13159 if (PyErr_Occurred()) SWIG_fail
;
13162 resultobj
= SWIG_From_int((int)(result
));
13170 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13171 PyObject
*resultobj
;
13172 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13174 PyObject
* obj0
= 0 ;
13175 PyObject
* obj1
= 0 ;
13176 char *kwnames
[] = {
13177 (char *) "self",(char *) "value", NULL
13180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13182 if (SWIG_arg_fail(1)) SWIG_fail
;
13184 arg2
= (int)(SWIG_As_int(obj1
));
13185 if (SWIG_arg_fail(2)) SWIG_fail
;
13188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13189 (arg1
)->SetValue(arg2
);
13191 wxPyEndAllowThreads(__tstate
);
13192 if (PyErr_Occurred()) SWIG_fail
;
13194 Py_INCREF(Py_None
); resultobj
= Py_None
;
13201 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13202 PyObject
*resultobj
;
13203 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13204 wxString
*arg2
= 0 ;
13205 bool temp2
= false ;
13206 PyObject
* obj0
= 0 ;
13207 PyObject
* obj1
= 0 ;
13208 char *kwnames
[] = {
13209 (char *) "self",(char *) "text", NULL
13212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
13213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13214 if (SWIG_arg_fail(1)) SWIG_fail
;
13216 arg2
= wxString_in_helper(obj1
);
13217 if (arg2
== NULL
) SWIG_fail
;
13221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13222 (arg1
)->SetValue((wxString
const &)*arg2
);
13224 wxPyEndAllowThreads(__tstate
);
13225 if (PyErr_Occurred()) SWIG_fail
;
13227 Py_INCREF(Py_None
); resultobj
= Py_None
;
13242 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13243 PyObject
*resultobj
;
13244 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13247 PyObject
* obj0
= 0 ;
13248 PyObject
* obj1
= 0 ;
13249 PyObject
* obj2
= 0 ;
13250 char *kwnames
[] = {
13251 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
13254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13256 if (SWIG_arg_fail(1)) SWIG_fail
;
13258 arg2
= (int)(SWIG_As_int(obj1
));
13259 if (SWIG_arg_fail(2)) SWIG_fail
;
13262 arg3
= (int)(SWIG_As_int(obj2
));
13263 if (SWIG_arg_fail(3)) SWIG_fail
;
13266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13267 (arg1
)->SetRange(arg2
,arg3
);
13269 wxPyEndAllowThreads(__tstate
);
13270 if (PyErr_Occurred()) SWIG_fail
;
13272 Py_INCREF(Py_None
); resultobj
= Py_None
;
13279 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13280 PyObject
*resultobj
;
13281 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13283 PyObject
* obj0
= 0 ;
13284 char *kwnames
[] = {
13285 (char *) "self", NULL
13288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
13289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13290 if (SWIG_arg_fail(1)) SWIG_fail
;
13292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13293 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
13295 wxPyEndAllowThreads(__tstate
);
13296 if (PyErr_Occurred()) SWIG_fail
;
13299 resultobj
= SWIG_From_int((int)(result
));
13307 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13308 PyObject
*resultobj
;
13309 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13311 PyObject
* obj0
= 0 ;
13312 char *kwnames
[] = {
13313 (char *) "self", NULL
13316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
13317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13318 if (SWIG_arg_fail(1)) SWIG_fail
;
13320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13321 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
13323 wxPyEndAllowThreads(__tstate
);
13324 if (PyErr_Occurred()) SWIG_fail
;
13327 resultobj
= SWIG_From_int((int)(result
));
13335 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13336 PyObject
*resultobj
;
13337 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13340 PyObject
* obj0
= 0 ;
13341 PyObject
* obj1
= 0 ;
13342 PyObject
* obj2
= 0 ;
13343 char *kwnames
[] = {
13344 (char *) "self",(char *) "from",(char *) "to", NULL
13347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13349 if (SWIG_arg_fail(1)) SWIG_fail
;
13351 arg2
= (long)(SWIG_As_long(obj1
));
13352 if (SWIG_arg_fail(2)) SWIG_fail
;
13355 arg3
= (long)(SWIG_As_long(obj2
));
13356 if (SWIG_arg_fail(3)) SWIG_fail
;
13359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13360 (arg1
)->SetSelection(arg2
,arg3
);
13362 wxPyEndAllowThreads(__tstate
);
13363 if (PyErr_Occurred()) SWIG_fail
;
13365 Py_INCREF(Py_None
); resultobj
= Py_None
;
13372 static PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13373 PyObject
*resultobj
;
13374 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13375 wxVisualAttributes result
;
13376 PyObject
* obj0
= 0 ;
13377 char *kwnames
[] = {
13378 (char *) "variant", NULL
13381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13384 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
13385 if (SWIG_arg_fail(1)) SWIG_fail
;
13389 if (!wxPyCheckForApp()) SWIG_fail
;
13390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13391 result
= wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13393 wxPyEndAllowThreads(__tstate
);
13394 if (PyErr_Occurred()) SWIG_fail
;
13397 wxVisualAttributes
* resultptr
;
13398 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
13399 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13407 static PyObject
* SpinCtrl_swigregister(PyObject
*, PyObject
*args
) {
13409 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13410 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
13412 return Py_BuildValue((char *)"");
13414 static PyObject
*_wrap_new_SpinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13415 PyObject
*resultobj
;
13416 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13417 int arg2
= (int) 0 ;
13418 wxSpinEvent
*result
;
13419 PyObject
* obj0
= 0 ;
13420 PyObject
* obj1
= 0 ;
13421 char *kwnames
[] = {
13422 (char *) "commandType",(char *) "winid", NULL
13425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13428 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
13429 if (SWIG_arg_fail(1)) SWIG_fail
;
13434 arg2
= (int)(SWIG_As_int(obj1
));
13435 if (SWIG_arg_fail(2)) SWIG_fail
;
13439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13440 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
13442 wxPyEndAllowThreads(__tstate
);
13443 if (PyErr_Occurred()) SWIG_fail
;
13445 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
13452 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13453 PyObject
*resultobj
;
13454 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
13456 PyObject
* obj0
= 0 ;
13457 char *kwnames
[] = {
13458 (char *) "self", NULL
13461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_EXCEPTION
| 0);
13463 if (SWIG_arg_fail(1)) SWIG_fail
;
13465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13466 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
13468 wxPyEndAllowThreads(__tstate
);
13469 if (PyErr_Occurred()) SWIG_fail
;
13472 resultobj
= SWIG_From_int((int)(result
));
13480 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13481 PyObject
*resultobj
;
13482 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
13484 PyObject
* obj0
= 0 ;
13485 PyObject
* obj1
= 0 ;
13486 char *kwnames
[] = {
13487 (char *) "self",(char *) "pos", NULL
13490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_EXCEPTION
| 0);
13492 if (SWIG_arg_fail(1)) SWIG_fail
;
13494 arg2
= (int)(SWIG_As_int(obj1
));
13495 if (SWIG_arg_fail(2)) SWIG_fail
;
13498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13499 (arg1
)->SetPosition(arg2
);
13501 wxPyEndAllowThreads(__tstate
);
13502 if (PyErr_Occurred()) SWIG_fail
;
13504 Py_INCREF(Py_None
); resultobj
= Py_None
;
13511 static PyObject
* SpinEvent_swigregister(PyObject
*, PyObject
*args
) {
13513 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13514 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
13516 return Py_BuildValue((char *)"");
13518 static int _wrap_RadioBoxNameStr_set(PyObject
*) {
13519 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
13524 static PyObject
*_wrap_RadioBoxNameStr_get(void) {
13529 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
13531 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
13538 static int _wrap_RadioButtonNameStr_set(PyObject
*) {
13539 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
13544 static PyObject
*_wrap_RadioButtonNameStr_get(void) {
13549 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
13551 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
13558 static PyObject
*_wrap_new_RadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13559 PyObject
*resultobj
;
13560 wxWindow
*arg1
= (wxWindow
*) 0 ;
13561 int arg2
= (int) -1 ;
13562 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13563 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13564 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13565 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13566 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13567 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13568 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
13569 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
13570 int arg7
= (int) 0 ;
13571 long arg8
= (long) wxRA_HORIZONTAL
;
13572 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
13573 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
13574 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
13575 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
13576 wxRadioBox
*result
;
13577 bool temp3
= false ;
13580 bool temp6
= false ;
13581 bool temp10
= false ;
13582 PyObject
* obj0
= 0 ;
13583 PyObject
* obj1
= 0 ;
13584 PyObject
* obj2
= 0 ;
13585 PyObject
* obj3
= 0 ;
13586 PyObject
* obj4
= 0 ;
13587 PyObject
* obj5
= 0 ;
13588 PyObject
* obj6
= 0 ;
13589 PyObject
* obj7
= 0 ;
13590 PyObject
* obj8
= 0 ;
13591 PyObject
* obj9
= 0 ;
13592 char *kwnames
[] = {
13593 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
13597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13598 if (SWIG_arg_fail(1)) SWIG_fail
;
13601 arg2
= (int)(SWIG_As_int(obj1
));
13602 if (SWIG_arg_fail(2)) SWIG_fail
;
13607 arg3
= wxString_in_helper(obj2
);
13608 if (arg3
== NULL
) SWIG_fail
;
13615 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13621 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13626 if (! PySequence_Check(obj5
)) {
13627 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13630 arg6
= new wxArrayString
;
13632 int i
, len
=PySequence_Length(obj5
);
13633 for (i
=0; i
<len
; i
++) {
13634 PyObject
* item
= PySequence_GetItem(obj5
, i
);
13635 wxString
* s
= wxString_in_helper(item
);
13636 if (PyErr_Occurred()) SWIG_fail
;
13645 arg7
= (int)(SWIG_As_int(obj6
));
13646 if (SWIG_arg_fail(7)) SWIG_fail
;
13651 arg8
= (long)(SWIG_As_long(obj7
));
13652 if (SWIG_arg_fail(8)) SWIG_fail
;
13657 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
13658 if (SWIG_arg_fail(9)) SWIG_fail
;
13659 if (arg9
== NULL
) {
13660 SWIG_null_ref("wxValidator");
13662 if (SWIG_arg_fail(9)) SWIG_fail
;
13667 arg10
= wxString_in_helper(obj9
);
13668 if (arg10
== NULL
) SWIG_fail
;
13673 if (!wxPyCheckForApp()) SWIG_fail
;
13674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13675 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
);
13677 wxPyEndAllowThreads(__tstate
);
13678 if (PyErr_Occurred()) SWIG_fail
;
13680 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
13686 if (temp6
) delete arg6
;
13699 if (temp6
) delete arg6
;
13709 static PyObject
*_wrap_new_PreRadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13710 PyObject
*resultobj
;
13711 wxRadioBox
*result
;
13712 char *kwnames
[] = {
13716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
13718 if (!wxPyCheckForApp()) SWIG_fail
;
13719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13720 result
= (wxRadioBox
*)new wxRadioBox();
13722 wxPyEndAllowThreads(__tstate
);
13723 if (PyErr_Occurred()) SWIG_fail
;
13725 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
13732 static PyObject
*_wrap_RadioBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13733 PyObject
*resultobj
;
13734 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13735 wxWindow
*arg2
= (wxWindow
*) 0 ;
13736 int arg3
= (int) -1 ;
13737 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13738 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13739 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13740 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13741 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13742 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13743 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
13744 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
13745 int arg8
= (int) 0 ;
13746 long arg9
= (long) wxRA_HORIZONTAL
;
13747 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
13748 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
13749 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
13750 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
13752 bool temp4
= false ;
13755 bool temp7
= false ;
13756 bool temp11
= false ;
13757 PyObject
* obj0
= 0 ;
13758 PyObject
* obj1
= 0 ;
13759 PyObject
* obj2
= 0 ;
13760 PyObject
* obj3
= 0 ;
13761 PyObject
* obj4
= 0 ;
13762 PyObject
* obj5
= 0 ;
13763 PyObject
* obj6
= 0 ;
13764 PyObject
* obj7
= 0 ;
13765 PyObject
* obj8
= 0 ;
13766 PyObject
* obj9
= 0 ;
13767 PyObject
* obj10
= 0 ;
13768 char *kwnames
[] = {
13769 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
13773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13774 if (SWIG_arg_fail(1)) SWIG_fail
;
13775 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13776 if (SWIG_arg_fail(2)) SWIG_fail
;
13779 arg3
= (int)(SWIG_As_int(obj2
));
13780 if (SWIG_arg_fail(3)) SWIG_fail
;
13785 arg4
= wxString_in_helper(obj3
);
13786 if (arg4
== NULL
) SWIG_fail
;
13793 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13799 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13804 if (! PySequence_Check(obj6
)) {
13805 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13808 arg7
= new wxArrayString
;
13810 int i
, len
=PySequence_Length(obj6
);
13811 for (i
=0; i
<len
; i
++) {
13812 PyObject
* item
= PySequence_GetItem(obj6
, i
);
13813 wxString
* s
= wxString_in_helper(item
);
13814 if (PyErr_Occurred()) SWIG_fail
;
13823 arg8
= (int)(SWIG_As_int(obj7
));
13824 if (SWIG_arg_fail(8)) SWIG_fail
;
13829 arg9
= (long)(SWIG_As_long(obj8
));
13830 if (SWIG_arg_fail(9)) SWIG_fail
;
13835 SWIG_Python_ConvertPtr(obj9
, (void **)&arg10
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
13836 if (SWIG_arg_fail(10)) SWIG_fail
;
13837 if (arg10
== NULL
) {
13838 SWIG_null_ref("wxValidator");
13840 if (SWIG_arg_fail(10)) SWIG_fail
;
13845 arg11
= wxString_in_helper(obj10
);
13846 if (arg11
== NULL
) SWIG_fail
;
13851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13852 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
);
13854 wxPyEndAllowThreads(__tstate
);
13855 if (PyErr_Occurred()) SWIG_fail
;
13858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13865 if (temp7
) delete arg7
;
13878 if (temp7
) delete arg7
;
13888 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13889 PyObject
*resultobj
;
13890 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13892 PyObject
* obj0
= 0 ;
13893 PyObject
* obj1
= 0 ;
13894 char *kwnames
[] = {
13895 (char *) "self",(char *) "n", NULL
13898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13900 if (SWIG_arg_fail(1)) SWIG_fail
;
13902 arg2
= (int)(SWIG_As_int(obj1
));
13903 if (SWIG_arg_fail(2)) SWIG_fail
;
13906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13907 (arg1
)->SetSelection(arg2
);
13909 wxPyEndAllowThreads(__tstate
);
13910 if (PyErr_Occurred()) SWIG_fail
;
13912 Py_INCREF(Py_None
); resultobj
= Py_None
;
13919 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13920 PyObject
*resultobj
;
13921 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13923 PyObject
* obj0
= 0 ;
13924 char *kwnames
[] = {
13925 (char *) "self", NULL
13928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
13929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13930 if (SWIG_arg_fail(1)) SWIG_fail
;
13932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13933 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
13935 wxPyEndAllowThreads(__tstate
);
13936 if (PyErr_Occurred()) SWIG_fail
;
13939 resultobj
= SWIG_From_int((int)(result
));
13947 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13948 PyObject
*resultobj
;
13949 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13951 PyObject
* obj0
= 0 ;
13952 char *kwnames
[] = {
13953 (char *) "self", NULL
13956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
13957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13958 if (SWIG_arg_fail(1)) SWIG_fail
;
13960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13961 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
13963 wxPyEndAllowThreads(__tstate
);
13964 if (PyErr_Occurred()) SWIG_fail
;
13968 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13970 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13979 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13980 PyObject
*resultobj
;
13981 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13982 wxString
*arg2
= 0 ;
13984 bool temp2
= false ;
13985 PyObject
* obj0
= 0 ;
13986 PyObject
* obj1
= 0 ;
13987 char *kwnames
[] = {
13988 (char *) "self",(char *) "s", NULL
13991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13993 if (SWIG_arg_fail(1)) SWIG_fail
;
13995 arg2
= wxString_in_helper(obj1
);
13996 if (arg2
== NULL
) SWIG_fail
;
14000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14001 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
14003 wxPyEndAllowThreads(__tstate
);
14004 if (PyErr_Occurred()) SWIG_fail
;
14007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14023 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14024 PyObject
*resultobj
;
14025 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14027 PyObject
* obj0
= 0 ;
14028 char *kwnames
[] = {
14029 (char *) "self", NULL
14032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
14033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14034 if (SWIG_arg_fail(1)) SWIG_fail
;
14036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14037 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
14039 wxPyEndAllowThreads(__tstate
);
14040 if (PyErr_Occurred()) SWIG_fail
;
14043 resultobj
= SWIG_From_int((int)(result
));
14051 static PyObject
*_wrap_RadioBox_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14052 PyObject
*resultobj
;
14053 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14054 wxString
*arg2
= 0 ;
14056 bool temp2
= false ;
14057 PyObject
* obj0
= 0 ;
14058 PyObject
* obj1
= 0 ;
14059 char *kwnames
[] = {
14060 (char *) "self",(char *) "s", NULL
14063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14065 if (SWIG_arg_fail(1)) SWIG_fail
;
14067 arg2
= wxString_in_helper(obj1
);
14068 if (arg2
== NULL
) SWIG_fail
;
14072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14073 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
14075 wxPyEndAllowThreads(__tstate
);
14076 if (PyErr_Occurred()) SWIG_fail
;
14079 resultobj
= SWIG_From_int((int)(result
));
14095 static PyObject
*_wrap_RadioBox_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14096 PyObject
*resultobj
;
14097 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14100 PyObject
* obj0
= 0 ;
14101 PyObject
* obj1
= 0 ;
14102 char *kwnames
[] = {
14103 (char *) "self",(char *) "n", NULL
14106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
14107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14108 if (SWIG_arg_fail(1)) SWIG_fail
;
14110 arg2
= (int)(SWIG_As_int(obj1
));
14111 if (SWIG_arg_fail(2)) SWIG_fail
;
14114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14115 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
14117 wxPyEndAllowThreads(__tstate
);
14118 if (PyErr_Occurred()) SWIG_fail
;
14122 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14124 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14133 static PyObject
*_wrap_RadioBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14134 PyObject
*resultobj
;
14135 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14137 wxString
*arg3
= 0 ;
14138 bool temp3
= false ;
14139 PyObject
* obj0
= 0 ;
14140 PyObject
* obj1
= 0 ;
14141 PyObject
* obj2
= 0 ;
14142 char *kwnames
[] = {
14143 (char *) "self",(char *) "n",(char *) "label", NULL
14146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14148 if (SWIG_arg_fail(1)) SWIG_fail
;
14150 arg2
= (int)(SWIG_As_int(obj1
));
14151 if (SWIG_arg_fail(2)) SWIG_fail
;
14154 arg3
= wxString_in_helper(obj2
);
14155 if (arg3
== NULL
) SWIG_fail
;
14159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14160 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
14162 wxPyEndAllowThreads(__tstate
);
14163 if (PyErr_Occurred()) SWIG_fail
;
14165 Py_INCREF(Py_None
); resultobj
= Py_None
;
14180 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14181 PyObject
*resultobj
;
14182 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14184 bool arg3
= (bool) true ;
14185 PyObject
* obj0
= 0 ;
14186 PyObject
* obj1
= 0 ;
14187 PyObject
* obj2
= 0 ;
14188 char *kwnames
[] = {
14189 (char *) "self",(char *) "n",(char *) "enable", NULL
14192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14194 if (SWIG_arg_fail(1)) SWIG_fail
;
14196 arg2
= (int)(SWIG_As_int(obj1
));
14197 if (SWIG_arg_fail(2)) SWIG_fail
;
14201 arg3
= (bool)(SWIG_As_bool(obj2
));
14202 if (SWIG_arg_fail(3)) SWIG_fail
;
14206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14207 (arg1
)->Enable(arg2
,arg3
);
14209 wxPyEndAllowThreads(__tstate
);
14210 if (PyErr_Occurred()) SWIG_fail
;
14212 Py_INCREF(Py_None
); resultobj
= Py_None
;
14219 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14220 PyObject
*resultobj
;
14221 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14223 bool arg3
= (bool) true ;
14224 PyObject
* obj0
= 0 ;
14225 PyObject
* obj1
= 0 ;
14226 PyObject
* obj2
= 0 ;
14227 char *kwnames
[] = {
14228 (char *) "self",(char *) "n",(char *) "show", NULL
14231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14233 if (SWIG_arg_fail(1)) SWIG_fail
;
14235 arg2
= (int)(SWIG_As_int(obj1
));
14236 if (SWIG_arg_fail(2)) SWIG_fail
;
14240 arg3
= (bool)(SWIG_As_bool(obj2
));
14241 if (SWIG_arg_fail(3)) SWIG_fail
;
14245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14246 (arg1
)->Show(arg2
,arg3
);
14248 wxPyEndAllowThreads(__tstate
);
14249 if (PyErr_Occurred()) SWIG_fail
;
14251 Py_INCREF(Py_None
); resultobj
= Py_None
;
14258 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14259 PyObject
*resultobj
;
14260 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14262 PyObject
* obj0
= 0 ;
14263 char *kwnames
[] = {
14264 (char *) "self", NULL
14267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
14268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14269 if (SWIG_arg_fail(1)) SWIG_fail
;
14271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14272 result
= (int)wxRadioBox_GetColumnCount((wxRadioBox
const *)arg1
);
14274 wxPyEndAllowThreads(__tstate
);
14275 if (PyErr_Occurred()) SWIG_fail
;
14278 resultobj
= SWIG_From_int((int)(result
));
14286 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14287 PyObject
*resultobj
;
14288 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14290 PyObject
* obj0
= 0 ;
14291 char *kwnames
[] = {
14292 (char *) "self", NULL
14295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
14296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14297 if (SWIG_arg_fail(1)) SWIG_fail
;
14299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14300 result
= (int)wxRadioBox_GetRowCount((wxRadioBox
const *)arg1
);
14302 wxPyEndAllowThreads(__tstate
);
14303 if (PyErr_Occurred()) SWIG_fail
;
14306 resultobj
= SWIG_From_int((int)(result
));
14314 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14315 PyObject
*resultobj
;
14316 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14321 PyObject
* obj0
= 0 ;
14322 PyObject
* obj1
= 0 ;
14323 PyObject
* obj2
= 0 ;
14324 PyObject
* obj3
= 0 ;
14325 char *kwnames
[] = {
14326 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
14329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14331 if (SWIG_arg_fail(1)) SWIG_fail
;
14333 arg2
= (int)(SWIG_As_int(obj1
));
14334 if (SWIG_arg_fail(2)) SWIG_fail
;
14337 arg3
= (wxDirection
)(SWIG_As_int(obj2
));
14338 if (SWIG_arg_fail(3)) SWIG_fail
;
14341 arg4
= (long)(SWIG_As_long(obj3
));
14342 if (SWIG_arg_fail(4)) SWIG_fail
;
14345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14346 result
= (int)wxRadioBox_GetNextItem((wxRadioBox
const *)arg1
,arg2
,(wxDirection
)arg3
,arg4
);
14348 wxPyEndAllowThreads(__tstate
);
14349 if (PyErr_Occurred()) SWIG_fail
;
14352 resultobj
= SWIG_From_int((int)(result
));
14360 static PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14361 PyObject
*resultobj
;
14362 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14363 wxVisualAttributes result
;
14364 PyObject
* obj0
= 0 ;
14365 char *kwnames
[] = {
14366 (char *) "variant", NULL
14369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14372 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
14373 if (SWIG_arg_fail(1)) SWIG_fail
;
14377 if (!wxPyCheckForApp()) SWIG_fail
;
14378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14379 result
= wxRadioBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14381 wxPyEndAllowThreads(__tstate
);
14382 if (PyErr_Occurred()) SWIG_fail
;
14385 wxVisualAttributes
* resultptr
;
14386 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
14387 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14395 static PyObject
* RadioBox_swigregister(PyObject
*, PyObject
*args
) {
14397 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14398 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
14400 return Py_BuildValue((char *)"");
14402 static PyObject
*_wrap_new_RadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14403 PyObject
*resultobj
;
14404 wxWindow
*arg1
= (wxWindow
*) 0 ;
14405 int arg2
= (int) -1 ;
14406 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14407 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14408 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14409 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14410 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14411 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14412 long arg6
= (long) 0 ;
14413 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14414 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14415 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
14416 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14417 wxRadioButton
*result
;
14418 bool temp3
= false ;
14421 bool temp8
= false ;
14422 PyObject
* obj0
= 0 ;
14423 PyObject
* obj1
= 0 ;
14424 PyObject
* obj2
= 0 ;
14425 PyObject
* obj3
= 0 ;
14426 PyObject
* obj4
= 0 ;
14427 PyObject
* obj5
= 0 ;
14428 PyObject
* obj6
= 0 ;
14429 PyObject
* obj7
= 0 ;
14430 char *kwnames
[] = {
14431 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14436 if (SWIG_arg_fail(1)) SWIG_fail
;
14439 arg2
= (int)(SWIG_As_int(obj1
));
14440 if (SWIG_arg_fail(2)) SWIG_fail
;
14445 arg3
= wxString_in_helper(obj2
);
14446 if (arg3
== NULL
) SWIG_fail
;
14453 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14459 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14464 arg6
= (long)(SWIG_As_long(obj5
));
14465 if (SWIG_arg_fail(6)) SWIG_fail
;
14470 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14471 if (SWIG_arg_fail(7)) SWIG_fail
;
14472 if (arg7
== NULL
) {
14473 SWIG_null_ref("wxValidator");
14475 if (SWIG_arg_fail(7)) SWIG_fail
;
14480 arg8
= wxString_in_helper(obj7
);
14481 if (arg8
== NULL
) SWIG_fail
;
14486 if (!wxPyCheckForApp()) SWIG_fail
;
14487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14488 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14490 wxPyEndAllowThreads(__tstate
);
14491 if (PyErr_Occurred()) SWIG_fail
;
14493 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
14516 static PyObject
*_wrap_new_PreRadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14517 PyObject
*resultobj
;
14518 wxRadioButton
*result
;
14519 char *kwnames
[] = {
14523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
14525 if (!wxPyCheckForApp()) SWIG_fail
;
14526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14527 result
= (wxRadioButton
*)new wxRadioButton();
14529 wxPyEndAllowThreads(__tstate
);
14530 if (PyErr_Occurred()) SWIG_fail
;
14532 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
14539 static PyObject
*_wrap_RadioButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14540 PyObject
*resultobj
;
14541 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14542 wxWindow
*arg2
= (wxWindow
*) 0 ;
14543 int arg3
= (int) -1 ;
14544 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14545 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14546 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14547 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14548 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14549 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14550 long arg7
= (long) 0 ;
14551 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
14552 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
14553 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
14554 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
14556 bool temp4
= false ;
14559 bool temp9
= false ;
14560 PyObject
* obj0
= 0 ;
14561 PyObject
* obj1
= 0 ;
14562 PyObject
* obj2
= 0 ;
14563 PyObject
* obj3
= 0 ;
14564 PyObject
* obj4
= 0 ;
14565 PyObject
* obj5
= 0 ;
14566 PyObject
* obj6
= 0 ;
14567 PyObject
* obj7
= 0 ;
14568 PyObject
* obj8
= 0 ;
14569 char *kwnames
[] = {
14570 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
14574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14575 if (SWIG_arg_fail(1)) SWIG_fail
;
14576 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14577 if (SWIG_arg_fail(2)) SWIG_fail
;
14580 arg3
= (int)(SWIG_As_int(obj2
));
14581 if (SWIG_arg_fail(3)) SWIG_fail
;
14586 arg4
= wxString_in_helper(obj3
);
14587 if (arg4
== NULL
) SWIG_fail
;
14594 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14600 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14605 arg7
= (long)(SWIG_As_long(obj6
));
14606 if (SWIG_arg_fail(7)) SWIG_fail
;
14611 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14612 if (SWIG_arg_fail(8)) SWIG_fail
;
14613 if (arg8
== NULL
) {
14614 SWIG_null_ref("wxValidator");
14616 if (SWIG_arg_fail(8)) SWIG_fail
;
14621 arg9
= wxString_in_helper(obj8
);
14622 if (arg9
== NULL
) SWIG_fail
;
14627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14628 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
14630 wxPyEndAllowThreads(__tstate
);
14631 if (PyErr_Occurred()) SWIG_fail
;
14634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14658 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14659 PyObject
*resultobj
;
14660 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14662 PyObject
* obj0
= 0 ;
14663 char *kwnames
[] = {
14664 (char *) "self", NULL
14667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
14668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14669 if (SWIG_arg_fail(1)) SWIG_fail
;
14671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14672 result
= (bool)(arg1
)->GetValue();
14674 wxPyEndAllowThreads(__tstate
);
14675 if (PyErr_Occurred()) SWIG_fail
;
14678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14686 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14687 PyObject
*resultobj
;
14688 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14690 PyObject
* obj0
= 0 ;
14691 PyObject
* obj1
= 0 ;
14692 char *kwnames
[] = {
14693 (char *) "self",(char *) "value", NULL
14696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
14697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14698 if (SWIG_arg_fail(1)) SWIG_fail
;
14700 arg2
= (bool)(SWIG_As_bool(obj1
));
14701 if (SWIG_arg_fail(2)) SWIG_fail
;
14704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14705 (arg1
)->SetValue(arg2
);
14707 wxPyEndAllowThreads(__tstate
);
14708 if (PyErr_Occurred()) SWIG_fail
;
14710 Py_INCREF(Py_None
); resultobj
= Py_None
;
14717 static PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14718 PyObject
*resultobj
;
14719 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14720 wxVisualAttributes result
;
14721 PyObject
* obj0
= 0 ;
14722 char *kwnames
[] = {
14723 (char *) "variant", NULL
14726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14729 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
14730 if (SWIG_arg_fail(1)) SWIG_fail
;
14734 if (!wxPyCheckForApp()) SWIG_fail
;
14735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14736 result
= wxRadioButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14738 wxPyEndAllowThreads(__tstate
);
14739 if (PyErr_Occurred()) SWIG_fail
;
14742 wxVisualAttributes
* resultptr
;
14743 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
14744 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14752 static PyObject
* RadioButton_swigregister(PyObject
*, PyObject
*args
) {
14754 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14755 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
14757 return Py_BuildValue((char *)"");
14759 static int _wrap_SliderNameStr_set(PyObject
*) {
14760 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
14765 static PyObject
*_wrap_SliderNameStr_get(void) {
14770 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
14772 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
14779 static PyObject
*_wrap_new_Slider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14780 PyObject
*resultobj
;
14781 wxWindow
*arg1
= (wxWindow
*) 0 ;
14782 int arg2
= (int) -1 ;
14783 int arg3
= (int) 0 ;
14784 int arg4
= (int) 0 ;
14785 int arg5
= (int) 100 ;
14786 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
14787 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
14788 wxSize
const &arg7_defvalue
= wxDefaultSize
;
14789 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
14790 long arg8
= (long) wxSL_HORIZONTAL
;
14791 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
14792 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
14793 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
14794 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
14798 bool temp10
= false ;
14799 PyObject
* obj0
= 0 ;
14800 PyObject
* obj1
= 0 ;
14801 PyObject
* obj2
= 0 ;
14802 PyObject
* obj3
= 0 ;
14803 PyObject
* obj4
= 0 ;
14804 PyObject
* obj5
= 0 ;
14805 PyObject
* obj6
= 0 ;
14806 PyObject
* obj7
= 0 ;
14807 PyObject
* obj8
= 0 ;
14808 PyObject
* obj9
= 0 ;
14809 char *kwnames
[] = {
14810 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
14814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14815 if (SWIG_arg_fail(1)) SWIG_fail
;
14818 arg2
= (int)(SWIG_As_int(obj1
));
14819 if (SWIG_arg_fail(2)) SWIG_fail
;
14824 arg3
= (int)(SWIG_As_int(obj2
));
14825 if (SWIG_arg_fail(3)) SWIG_fail
;
14830 arg4
= (int)(SWIG_As_int(obj3
));
14831 if (SWIG_arg_fail(4)) SWIG_fail
;
14836 arg5
= (int)(SWIG_As_int(obj4
));
14837 if (SWIG_arg_fail(5)) SWIG_fail
;
14843 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
14849 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
14854 arg8
= (long)(SWIG_As_long(obj7
));
14855 if (SWIG_arg_fail(8)) SWIG_fail
;
14860 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14861 if (SWIG_arg_fail(9)) SWIG_fail
;
14862 if (arg9
== NULL
) {
14863 SWIG_null_ref("wxValidator");
14865 if (SWIG_arg_fail(9)) SWIG_fail
;
14870 arg10
= wxString_in_helper(obj9
);
14871 if (arg10
== NULL
) SWIG_fail
;
14876 if (!wxPyCheckForApp()) SWIG_fail
;
14877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14878 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
14880 wxPyEndAllowThreads(__tstate
);
14881 if (PyErr_Occurred()) SWIG_fail
;
14883 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
14898 static PyObject
*_wrap_new_PreSlider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14899 PyObject
*resultobj
;
14901 char *kwnames
[] = {
14905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
14907 if (!wxPyCheckForApp()) SWIG_fail
;
14908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14909 result
= (wxSlider
*)new wxSlider();
14911 wxPyEndAllowThreads(__tstate
);
14912 if (PyErr_Occurred()) SWIG_fail
;
14914 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
14921 static PyObject
*_wrap_Slider_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14922 PyObject
*resultobj
;
14923 wxSlider
*arg1
= (wxSlider
*) 0 ;
14924 wxWindow
*arg2
= (wxWindow
*) 0 ;
14925 int arg3
= (int) -1 ;
14926 int arg4
= (int) 0 ;
14927 int arg5
= (int) 0 ;
14928 int arg6
= (int) 100 ;
14929 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14930 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14931 wxSize
const &arg8_defvalue
= wxDefaultSize
;
14932 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
14933 long arg9
= (long) wxSL_HORIZONTAL
;
14934 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
14935 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
14936 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
14937 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
14941 bool temp11
= false ;
14942 PyObject
* obj0
= 0 ;
14943 PyObject
* obj1
= 0 ;
14944 PyObject
* obj2
= 0 ;
14945 PyObject
* obj3
= 0 ;
14946 PyObject
* obj4
= 0 ;
14947 PyObject
* obj5
= 0 ;
14948 PyObject
* obj6
= 0 ;
14949 PyObject
* obj7
= 0 ;
14950 PyObject
* obj8
= 0 ;
14951 PyObject
* obj9
= 0 ;
14952 PyObject
* obj10
= 0 ;
14953 char *kwnames
[] = {
14954 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
14958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
14959 if (SWIG_arg_fail(1)) SWIG_fail
;
14960 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14961 if (SWIG_arg_fail(2)) SWIG_fail
;
14964 arg3
= (int)(SWIG_As_int(obj2
));
14965 if (SWIG_arg_fail(3)) SWIG_fail
;
14970 arg4
= (int)(SWIG_As_int(obj3
));
14971 if (SWIG_arg_fail(4)) SWIG_fail
;
14976 arg5
= (int)(SWIG_As_int(obj4
));
14977 if (SWIG_arg_fail(5)) SWIG_fail
;
14982 arg6
= (int)(SWIG_As_int(obj5
));
14983 if (SWIG_arg_fail(6)) SWIG_fail
;
14989 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
14995 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
15000 arg9
= (long)(SWIG_As_long(obj8
));
15001 if (SWIG_arg_fail(9)) SWIG_fail
;
15006 SWIG_Python_ConvertPtr(obj9
, (void **)&arg10
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
15007 if (SWIG_arg_fail(10)) SWIG_fail
;
15008 if (arg10
== NULL
) {
15009 SWIG_null_ref("wxValidator");
15011 if (SWIG_arg_fail(10)) SWIG_fail
;
15016 arg11
= wxString_in_helper(obj10
);
15017 if (arg11
== NULL
) SWIG_fail
;
15022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15023 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
15025 wxPyEndAllowThreads(__tstate
);
15026 if (PyErr_Occurred()) SWIG_fail
;
15029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15045 static PyObject
*_wrap_Slider_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15046 PyObject
*resultobj
;
15047 wxSlider
*arg1
= (wxSlider
*) 0 ;
15049 PyObject
* obj0
= 0 ;
15050 char *kwnames
[] = {
15051 (char *) "self", NULL
15054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
15055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15056 if (SWIG_arg_fail(1)) SWIG_fail
;
15058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15059 result
= (int)((wxSlider
const *)arg1
)->GetValue();
15061 wxPyEndAllowThreads(__tstate
);
15062 if (PyErr_Occurred()) SWIG_fail
;
15065 resultobj
= SWIG_From_int((int)(result
));
15073 static PyObject
*_wrap_Slider_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15074 PyObject
*resultobj
;
15075 wxSlider
*arg1
= (wxSlider
*) 0 ;
15077 PyObject
* obj0
= 0 ;
15078 PyObject
* obj1
= 0 ;
15079 char *kwnames
[] = {
15080 (char *) "self",(char *) "value", NULL
15083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
15084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15085 if (SWIG_arg_fail(1)) SWIG_fail
;
15087 arg2
= (int)(SWIG_As_int(obj1
));
15088 if (SWIG_arg_fail(2)) SWIG_fail
;
15091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15092 (arg1
)->SetValue(arg2
);
15094 wxPyEndAllowThreads(__tstate
);
15095 if (PyErr_Occurred()) SWIG_fail
;
15097 Py_INCREF(Py_None
); resultobj
= Py_None
;
15104 static PyObject
*_wrap_Slider_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15105 PyObject
*resultobj
;
15106 wxSlider
*arg1
= (wxSlider
*) 0 ;
15109 PyObject
* obj0
= 0 ;
15110 PyObject
* obj1
= 0 ;
15111 PyObject
* obj2
= 0 ;
15112 char *kwnames
[] = {
15113 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
15116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15118 if (SWIG_arg_fail(1)) SWIG_fail
;
15120 arg2
= (int)(SWIG_As_int(obj1
));
15121 if (SWIG_arg_fail(2)) SWIG_fail
;
15124 arg3
= (int)(SWIG_As_int(obj2
));
15125 if (SWIG_arg_fail(3)) SWIG_fail
;
15128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15129 (arg1
)->SetRange(arg2
,arg3
);
15131 wxPyEndAllowThreads(__tstate
);
15132 if (PyErr_Occurred()) SWIG_fail
;
15134 Py_INCREF(Py_None
); resultobj
= Py_None
;
15141 static PyObject
*_wrap_Slider_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15142 PyObject
*resultobj
;
15143 wxSlider
*arg1
= (wxSlider
*) 0 ;
15145 PyObject
* obj0
= 0 ;
15146 char *kwnames
[] = {
15147 (char *) "self", NULL
15150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
15151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15152 if (SWIG_arg_fail(1)) SWIG_fail
;
15154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15155 result
= (int)((wxSlider
const *)arg1
)->GetMin();
15157 wxPyEndAllowThreads(__tstate
);
15158 if (PyErr_Occurred()) SWIG_fail
;
15161 resultobj
= SWIG_From_int((int)(result
));
15169 static PyObject
*_wrap_Slider_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15170 PyObject
*resultobj
;
15171 wxSlider
*arg1
= (wxSlider
*) 0 ;
15173 PyObject
* obj0
= 0 ;
15174 char *kwnames
[] = {
15175 (char *) "self", NULL
15178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
15179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15180 if (SWIG_arg_fail(1)) SWIG_fail
;
15182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15183 result
= (int)((wxSlider
const *)arg1
)->GetMax();
15185 wxPyEndAllowThreads(__tstate
);
15186 if (PyErr_Occurred()) SWIG_fail
;
15189 resultobj
= SWIG_From_int((int)(result
));
15197 static PyObject
*_wrap_Slider_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15198 PyObject
*resultobj
;
15199 wxSlider
*arg1
= (wxSlider
*) 0 ;
15201 PyObject
* obj0
= 0 ;
15202 PyObject
* obj1
= 0 ;
15203 char *kwnames
[] = {
15204 (char *) "self",(char *) "minValue", NULL
15207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
15208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15209 if (SWIG_arg_fail(1)) SWIG_fail
;
15211 arg2
= (int)(SWIG_As_int(obj1
));
15212 if (SWIG_arg_fail(2)) SWIG_fail
;
15215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15216 (arg1
)->SetMin(arg2
);
15218 wxPyEndAllowThreads(__tstate
);
15219 if (PyErr_Occurred()) SWIG_fail
;
15221 Py_INCREF(Py_None
); resultobj
= Py_None
;
15228 static PyObject
*_wrap_Slider_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15229 PyObject
*resultobj
;
15230 wxSlider
*arg1
= (wxSlider
*) 0 ;
15232 PyObject
* obj0
= 0 ;
15233 PyObject
* obj1
= 0 ;
15234 char *kwnames
[] = {
15235 (char *) "self",(char *) "maxValue", NULL
15238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
15239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15240 if (SWIG_arg_fail(1)) SWIG_fail
;
15242 arg2
= (int)(SWIG_As_int(obj1
));
15243 if (SWIG_arg_fail(2)) SWIG_fail
;
15246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15247 (arg1
)->SetMax(arg2
);
15249 wxPyEndAllowThreads(__tstate
);
15250 if (PyErr_Occurred()) SWIG_fail
;
15252 Py_INCREF(Py_None
); resultobj
= Py_None
;
15259 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15260 PyObject
*resultobj
;
15261 wxSlider
*arg1
= (wxSlider
*) 0 ;
15263 PyObject
* obj0
= 0 ;
15264 PyObject
* obj1
= 0 ;
15265 char *kwnames
[] = {
15266 (char *) "self",(char *) "lineSize", NULL
15269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15271 if (SWIG_arg_fail(1)) SWIG_fail
;
15273 arg2
= (int)(SWIG_As_int(obj1
));
15274 if (SWIG_arg_fail(2)) SWIG_fail
;
15277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15278 (arg1
)->SetLineSize(arg2
);
15280 wxPyEndAllowThreads(__tstate
);
15281 if (PyErr_Occurred()) SWIG_fail
;
15283 Py_INCREF(Py_None
); resultobj
= Py_None
;
15290 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15291 PyObject
*resultobj
;
15292 wxSlider
*arg1
= (wxSlider
*) 0 ;
15294 PyObject
* obj0
= 0 ;
15295 PyObject
* obj1
= 0 ;
15296 char *kwnames
[] = {
15297 (char *) "self",(char *) "pageSize", NULL
15300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15302 if (SWIG_arg_fail(1)) SWIG_fail
;
15304 arg2
= (int)(SWIG_As_int(obj1
));
15305 if (SWIG_arg_fail(2)) SWIG_fail
;
15308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15309 (arg1
)->SetPageSize(arg2
);
15311 wxPyEndAllowThreads(__tstate
);
15312 if (PyErr_Occurred()) SWIG_fail
;
15314 Py_INCREF(Py_None
); resultobj
= Py_None
;
15321 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15322 PyObject
*resultobj
;
15323 wxSlider
*arg1
= (wxSlider
*) 0 ;
15325 PyObject
* obj0
= 0 ;
15326 char *kwnames
[] = {
15327 (char *) "self", NULL
15330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
15331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15332 if (SWIG_arg_fail(1)) SWIG_fail
;
15334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15335 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
15337 wxPyEndAllowThreads(__tstate
);
15338 if (PyErr_Occurred()) SWIG_fail
;
15341 resultobj
= SWIG_From_int((int)(result
));
15349 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15350 PyObject
*resultobj
;
15351 wxSlider
*arg1
= (wxSlider
*) 0 ;
15353 PyObject
* obj0
= 0 ;
15354 char *kwnames
[] = {
15355 (char *) "self", NULL
15358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
15359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15360 if (SWIG_arg_fail(1)) SWIG_fail
;
15362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15363 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
15365 wxPyEndAllowThreads(__tstate
);
15366 if (PyErr_Occurred()) SWIG_fail
;
15369 resultobj
= SWIG_From_int((int)(result
));
15377 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15378 PyObject
*resultobj
;
15379 wxSlider
*arg1
= (wxSlider
*) 0 ;
15381 PyObject
* obj0
= 0 ;
15382 PyObject
* obj1
= 0 ;
15383 char *kwnames
[] = {
15384 (char *) "self",(char *) "lenPixels", NULL
15387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
15388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15389 if (SWIG_arg_fail(1)) SWIG_fail
;
15391 arg2
= (int)(SWIG_As_int(obj1
));
15392 if (SWIG_arg_fail(2)) SWIG_fail
;
15395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15396 (arg1
)->SetThumbLength(arg2
);
15398 wxPyEndAllowThreads(__tstate
);
15399 if (PyErr_Occurred()) SWIG_fail
;
15401 Py_INCREF(Py_None
); resultobj
= Py_None
;
15408 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15409 PyObject
*resultobj
;
15410 wxSlider
*arg1
= (wxSlider
*) 0 ;
15412 PyObject
* obj0
= 0 ;
15413 char *kwnames
[] = {
15414 (char *) "self", NULL
15417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
15418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15419 if (SWIG_arg_fail(1)) SWIG_fail
;
15421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15422 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
15424 wxPyEndAllowThreads(__tstate
);
15425 if (PyErr_Occurred()) SWIG_fail
;
15428 resultobj
= SWIG_From_int((int)(result
));
15436 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15437 PyObject
*resultobj
;
15438 wxSlider
*arg1
= (wxSlider
*) 0 ;
15440 int arg3
= (int) 1 ;
15441 PyObject
* obj0
= 0 ;
15442 PyObject
* obj1
= 0 ;
15443 PyObject
* obj2
= 0 ;
15444 char *kwnames
[] = {
15445 (char *) "self",(char *) "n",(char *) "pos", NULL
15448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15450 if (SWIG_arg_fail(1)) SWIG_fail
;
15452 arg2
= (int)(SWIG_As_int(obj1
));
15453 if (SWIG_arg_fail(2)) SWIG_fail
;
15457 arg3
= (int)(SWIG_As_int(obj2
));
15458 if (SWIG_arg_fail(3)) SWIG_fail
;
15462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15463 (arg1
)->SetTickFreq(arg2
,arg3
);
15465 wxPyEndAllowThreads(__tstate
);
15466 if (PyErr_Occurred()) SWIG_fail
;
15468 Py_INCREF(Py_None
); resultobj
= Py_None
;
15475 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15476 PyObject
*resultobj
;
15477 wxSlider
*arg1
= (wxSlider
*) 0 ;
15479 PyObject
* obj0
= 0 ;
15480 char *kwnames
[] = {
15481 (char *) "self", NULL
15484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
15485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15486 if (SWIG_arg_fail(1)) SWIG_fail
;
15488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15489 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
15491 wxPyEndAllowThreads(__tstate
);
15492 if (PyErr_Occurred()) SWIG_fail
;
15495 resultobj
= SWIG_From_int((int)(result
));
15503 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15504 PyObject
*resultobj
;
15505 wxSlider
*arg1
= (wxSlider
*) 0 ;
15506 PyObject
* obj0
= 0 ;
15507 char *kwnames
[] = {
15508 (char *) "self", NULL
15511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
15512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15513 if (SWIG_arg_fail(1)) SWIG_fail
;
15515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15516 (arg1
)->ClearTicks();
15518 wxPyEndAllowThreads(__tstate
);
15519 if (PyErr_Occurred()) SWIG_fail
;
15521 Py_INCREF(Py_None
); resultobj
= Py_None
;
15528 static PyObject
*_wrap_Slider_SetTick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15529 PyObject
*resultobj
;
15530 wxSlider
*arg1
= (wxSlider
*) 0 ;
15532 PyObject
* obj0
= 0 ;
15533 PyObject
* obj1
= 0 ;
15534 char *kwnames
[] = {
15535 (char *) "self",(char *) "tickPos", NULL
15538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
15539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15540 if (SWIG_arg_fail(1)) SWIG_fail
;
15542 arg2
= (int)(SWIG_As_int(obj1
));
15543 if (SWIG_arg_fail(2)) SWIG_fail
;
15546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15547 (arg1
)->SetTick(arg2
);
15549 wxPyEndAllowThreads(__tstate
);
15550 if (PyErr_Occurred()) SWIG_fail
;
15552 Py_INCREF(Py_None
); resultobj
= Py_None
;
15559 static PyObject
*_wrap_Slider_ClearSel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15560 PyObject
*resultobj
;
15561 wxSlider
*arg1
= (wxSlider
*) 0 ;
15562 PyObject
* obj0
= 0 ;
15563 char *kwnames
[] = {
15564 (char *) "self", NULL
15567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
15568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15569 if (SWIG_arg_fail(1)) SWIG_fail
;
15571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15572 (arg1
)->ClearSel();
15574 wxPyEndAllowThreads(__tstate
);
15575 if (PyErr_Occurred()) SWIG_fail
;
15577 Py_INCREF(Py_None
); resultobj
= Py_None
;
15584 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15585 PyObject
*resultobj
;
15586 wxSlider
*arg1
= (wxSlider
*) 0 ;
15588 PyObject
* obj0
= 0 ;
15589 char *kwnames
[] = {
15590 (char *) "self", NULL
15593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
15594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15595 if (SWIG_arg_fail(1)) SWIG_fail
;
15597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15598 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
15600 wxPyEndAllowThreads(__tstate
);
15601 if (PyErr_Occurred()) SWIG_fail
;
15604 resultobj
= SWIG_From_int((int)(result
));
15612 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15613 PyObject
*resultobj
;
15614 wxSlider
*arg1
= (wxSlider
*) 0 ;
15616 PyObject
* obj0
= 0 ;
15617 char *kwnames
[] = {
15618 (char *) "self", NULL
15621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
15622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15623 if (SWIG_arg_fail(1)) SWIG_fail
;
15625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15626 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
15628 wxPyEndAllowThreads(__tstate
);
15629 if (PyErr_Occurred()) SWIG_fail
;
15632 resultobj
= SWIG_From_int((int)(result
));
15640 static PyObject
*_wrap_Slider_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15641 PyObject
*resultobj
;
15642 wxSlider
*arg1
= (wxSlider
*) 0 ;
15645 PyObject
* obj0
= 0 ;
15646 PyObject
* obj1
= 0 ;
15647 PyObject
* obj2
= 0 ;
15648 char *kwnames
[] = {
15649 (char *) "self",(char *) "min",(char *) "max", NULL
15652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15654 if (SWIG_arg_fail(1)) SWIG_fail
;
15656 arg2
= (int)(SWIG_As_int(obj1
));
15657 if (SWIG_arg_fail(2)) SWIG_fail
;
15660 arg3
= (int)(SWIG_As_int(obj2
));
15661 if (SWIG_arg_fail(3)) SWIG_fail
;
15664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15665 (arg1
)->SetSelection(arg2
,arg3
);
15667 wxPyEndAllowThreads(__tstate
);
15668 if (PyErr_Occurred()) SWIG_fail
;
15670 Py_INCREF(Py_None
); resultobj
= Py_None
;
15677 static PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15678 PyObject
*resultobj
;
15679 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15680 wxVisualAttributes result
;
15681 PyObject
* obj0
= 0 ;
15682 char *kwnames
[] = {
15683 (char *) "variant", NULL
15686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15689 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
15690 if (SWIG_arg_fail(1)) SWIG_fail
;
15694 if (!wxPyCheckForApp()) SWIG_fail
;
15695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15696 result
= wxSlider::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15698 wxPyEndAllowThreads(__tstate
);
15699 if (PyErr_Occurred()) SWIG_fail
;
15702 wxVisualAttributes
* resultptr
;
15703 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
15704 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15712 static PyObject
* Slider_swigregister(PyObject
*, PyObject
*args
) {
15714 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15715 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
15717 return Py_BuildValue((char *)"");
15719 static int _wrap_ToggleButtonNameStr_set(PyObject
*) {
15720 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
15725 static PyObject
*_wrap_ToggleButtonNameStr_get(void) {
15730 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
15732 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
15739 static PyObject
*_wrap_new_ToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15740 PyObject
*resultobj
;
15741 wxWindow
*arg1
= (wxWindow
*) 0 ;
15742 int arg2
= (int) -1 ;
15743 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15744 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15745 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15746 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15747 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15748 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15749 long arg6
= (long) 0 ;
15750 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
15751 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
15752 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
15753 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15754 wxToggleButton
*result
;
15755 bool temp3
= false ;
15758 bool temp8
= false ;
15759 PyObject
* obj0
= 0 ;
15760 PyObject
* obj1
= 0 ;
15761 PyObject
* obj2
= 0 ;
15762 PyObject
* obj3
= 0 ;
15763 PyObject
* obj4
= 0 ;
15764 PyObject
* obj5
= 0 ;
15765 PyObject
* obj6
= 0 ;
15766 PyObject
* obj7
= 0 ;
15767 char *kwnames
[] = {
15768 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
15772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15773 if (SWIG_arg_fail(1)) SWIG_fail
;
15776 arg2
= (int)(SWIG_As_int(obj1
));
15777 if (SWIG_arg_fail(2)) SWIG_fail
;
15782 arg3
= wxString_in_helper(obj2
);
15783 if (arg3
== NULL
) SWIG_fail
;
15790 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15796 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15801 arg6
= (long)(SWIG_As_long(obj5
));
15802 if (SWIG_arg_fail(6)) SWIG_fail
;
15807 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
15808 if (SWIG_arg_fail(7)) SWIG_fail
;
15809 if (arg7
== NULL
) {
15810 SWIG_null_ref("wxValidator");
15812 if (SWIG_arg_fail(7)) SWIG_fail
;
15817 arg8
= wxString_in_helper(obj7
);
15818 if (arg8
== NULL
) SWIG_fail
;
15823 if (!wxPyCheckForApp()) SWIG_fail
;
15824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15825 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
15827 wxPyEndAllowThreads(__tstate
);
15828 if (PyErr_Occurred()) SWIG_fail
;
15830 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
15853 static PyObject
*_wrap_new_PreToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15854 PyObject
*resultobj
;
15855 wxToggleButton
*result
;
15856 char *kwnames
[] = {
15860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
15862 if (!wxPyCheckForApp()) SWIG_fail
;
15863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15864 result
= (wxToggleButton
*)new wxToggleButton();
15866 wxPyEndAllowThreads(__tstate
);
15867 if (PyErr_Occurred()) SWIG_fail
;
15869 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
15876 static PyObject
*_wrap_ToggleButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15877 PyObject
*resultobj
;
15878 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
15879 wxWindow
*arg2
= (wxWindow
*) 0 ;
15880 int arg3
= (int) -1 ;
15881 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15882 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15883 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15884 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15885 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15886 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15887 long arg7
= (long) 0 ;
15888 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
15889 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
15890 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
15891 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
15893 bool temp4
= false ;
15896 bool temp9
= false ;
15897 PyObject
* obj0
= 0 ;
15898 PyObject
* obj1
= 0 ;
15899 PyObject
* obj2
= 0 ;
15900 PyObject
* obj3
= 0 ;
15901 PyObject
* obj4
= 0 ;
15902 PyObject
* obj5
= 0 ;
15903 PyObject
* obj6
= 0 ;
15904 PyObject
* obj7
= 0 ;
15905 PyObject
* obj8
= 0 ;
15906 char *kwnames
[] = {
15907 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
15911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
15912 if (SWIG_arg_fail(1)) SWIG_fail
;
15913 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15914 if (SWIG_arg_fail(2)) SWIG_fail
;
15917 arg3
= (int)(SWIG_As_int(obj2
));
15918 if (SWIG_arg_fail(3)) SWIG_fail
;
15923 arg4
= wxString_in_helper(obj3
);
15924 if (arg4
== NULL
) SWIG_fail
;
15931 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15937 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15942 arg7
= (long)(SWIG_As_long(obj6
));
15943 if (SWIG_arg_fail(7)) SWIG_fail
;
15948 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
15949 if (SWIG_arg_fail(8)) SWIG_fail
;
15950 if (arg8
== NULL
) {
15951 SWIG_null_ref("wxValidator");
15953 if (SWIG_arg_fail(8)) SWIG_fail
;
15958 arg9
= wxString_in_helper(obj8
);
15959 if (arg9
== NULL
) SWIG_fail
;
15964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15965 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
15967 wxPyEndAllowThreads(__tstate
);
15968 if (PyErr_Occurred()) SWIG_fail
;
15971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15995 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15996 PyObject
*resultobj
;
15997 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
15999 PyObject
* obj0
= 0 ;
16000 PyObject
* obj1
= 0 ;
16001 char *kwnames
[] = {
16002 (char *) "self",(char *) "value", NULL
16005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
16006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
16007 if (SWIG_arg_fail(1)) SWIG_fail
;
16009 arg2
= (bool)(SWIG_As_bool(obj1
));
16010 if (SWIG_arg_fail(2)) SWIG_fail
;
16013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16014 (arg1
)->SetValue(arg2
);
16016 wxPyEndAllowThreads(__tstate
);
16017 if (PyErr_Occurred()) SWIG_fail
;
16019 Py_INCREF(Py_None
); resultobj
= Py_None
;
16026 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16027 PyObject
*resultobj
;
16028 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
16030 PyObject
* obj0
= 0 ;
16031 char *kwnames
[] = {
16032 (char *) "self", NULL
16035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
16036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
16037 if (SWIG_arg_fail(1)) SWIG_fail
;
16039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16040 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
16042 wxPyEndAllowThreads(__tstate
);
16043 if (PyErr_Occurred()) SWIG_fail
;
16046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16054 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16055 PyObject
*resultobj
;
16056 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
16057 wxString
*arg2
= 0 ;
16058 bool temp2
= false ;
16059 PyObject
* obj0
= 0 ;
16060 PyObject
* obj1
= 0 ;
16061 char *kwnames
[] = {
16062 (char *) "self",(char *) "label", NULL
16065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
16066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
16067 if (SWIG_arg_fail(1)) SWIG_fail
;
16069 arg2
= wxString_in_helper(obj1
);
16070 if (arg2
== NULL
) SWIG_fail
;
16074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16075 (arg1
)->SetLabel((wxString
const &)*arg2
);
16077 wxPyEndAllowThreads(__tstate
);
16078 if (PyErr_Occurred()) SWIG_fail
;
16080 Py_INCREF(Py_None
); resultobj
= Py_None
;
16095 static PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16096 PyObject
*resultobj
;
16097 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16098 wxVisualAttributes result
;
16099 PyObject
* obj0
= 0 ;
16100 char *kwnames
[] = {
16101 (char *) "variant", NULL
16104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16107 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
16108 if (SWIG_arg_fail(1)) SWIG_fail
;
16112 if (!wxPyCheckForApp()) SWIG_fail
;
16113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16114 result
= wxToggleButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
16116 wxPyEndAllowThreads(__tstate
);
16117 if (PyErr_Occurred()) SWIG_fail
;
16120 wxVisualAttributes
* resultptr
;
16121 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
16122 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16130 static PyObject
* ToggleButton_swigregister(PyObject
*, PyObject
*args
) {
16132 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16133 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
16135 return Py_BuildValue((char *)"");
16137 static int _wrap_NotebookNameStr_set(PyObject
*) {
16138 PyErr_SetString(PyExc_TypeError
,"Variable NotebookNameStr is read-only.");
16143 static PyObject
*_wrap_NotebookNameStr_get(void) {
16148 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
16150 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
16157 static PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16158 PyObject
*resultobj
;
16159 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16161 PyObject
* obj0
= 0 ;
16162 char *kwnames
[] = {
16163 (char *) "self", NULL
16166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetPageCount",kwnames
,&obj0
)) goto fail
;
16167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16168 if (SWIG_arg_fail(1)) SWIG_fail
;
16170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16171 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
16173 wxPyEndAllowThreads(__tstate
);
16174 if (PyErr_Occurred()) SWIG_fail
;
16177 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
16185 static PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16186 PyObject
*resultobj
;
16187 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16190 PyObject
* obj0
= 0 ;
16191 PyObject
* obj1
= 0 ;
16192 char *kwnames
[] = {
16193 (char *) "self",(char *) "n", NULL
16196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
16197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16198 if (SWIG_arg_fail(1)) SWIG_fail
;
16200 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16201 if (SWIG_arg_fail(2)) SWIG_fail
;
16204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16205 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
16207 wxPyEndAllowThreads(__tstate
);
16208 if (PyErr_Occurred()) SWIG_fail
;
16211 resultobj
= wxPyMake_wxObject(result
, 0);
16219 static PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16220 PyObject
*resultobj
;
16221 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16223 PyObject
* obj0
= 0 ;
16224 char *kwnames
[] = {
16225 (char *) "self", NULL
16228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
16229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16230 if (SWIG_arg_fail(1)) SWIG_fail
;
16232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16233 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
16235 wxPyEndAllowThreads(__tstate
);
16236 if (PyErr_Occurred()) SWIG_fail
;
16239 resultobj
= wxPyMake_wxObject(result
, 0);
16247 static PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16248 PyObject
*resultobj
;
16249 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16251 PyObject
* obj0
= 0 ;
16252 char *kwnames
[] = {
16253 (char *) "self", NULL
16256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetSelection",kwnames
,&obj0
)) goto fail
;
16257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16258 if (SWIG_arg_fail(1)) SWIG_fail
;
16260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16261 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
16263 wxPyEndAllowThreads(__tstate
);
16264 if (PyErr_Occurred()) SWIG_fail
;
16267 resultobj
= SWIG_From_int((int)(result
));
16275 static PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16276 PyObject
*resultobj
;
16277 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16279 wxString
*arg3
= 0 ;
16281 bool temp3
= false ;
16282 PyObject
* obj0
= 0 ;
16283 PyObject
* obj1
= 0 ;
16284 PyObject
* obj2
= 0 ;
16285 char *kwnames
[] = {
16286 (char *) "self",(char *) "n",(char *) "strText", NULL
16289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16291 if (SWIG_arg_fail(1)) SWIG_fail
;
16293 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16294 if (SWIG_arg_fail(2)) SWIG_fail
;
16297 arg3
= wxString_in_helper(obj2
);
16298 if (arg3
== NULL
) SWIG_fail
;
16302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16303 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
16305 wxPyEndAllowThreads(__tstate
);
16306 if (PyErr_Occurred()) SWIG_fail
;
16309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16325 static PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16326 PyObject
*resultobj
;
16327 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16330 PyObject
* obj0
= 0 ;
16331 PyObject
* obj1
= 0 ;
16332 char *kwnames
[] = {
16333 (char *) "self",(char *) "n", NULL
16336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
16337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16338 if (SWIG_arg_fail(1)) SWIG_fail
;
16340 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16341 if (SWIG_arg_fail(2)) SWIG_fail
;
16344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16345 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
16347 wxPyEndAllowThreads(__tstate
);
16348 if (PyErr_Occurred()) SWIG_fail
;
16352 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16354 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16363 static PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16364 PyObject
*resultobj
;
16365 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16366 wxImageList
*arg2
= (wxImageList
*) 0 ;
16367 PyObject
* obj0
= 0 ;
16368 PyObject
* obj1
= 0 ;
16369 char *kwnames
[] = {
16370 (char *) "self",(char *) "imageList", NULL
16373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
16374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16375 if (SWIG_arg_fail(1)) SWIG_fail
;
16376 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
16377 if (SWIG_arg_fail(2)) SWIG_fail
;
16379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16380 (arg1
)->SetImageList(arg2
);
16382 wxPyEndAllowThreads(__tstate
);
16383 if (PyErr_Occurred()) SWIG_fail
;
16385 Py_INCREF(Py_None
); resultobj
= Py_None
;
16392 static PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16393 PyObject
*resultobj
;
16394 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16395 wxImageList
*arg2
= (wxImageList
*) 0 ;
16396 PyObject
* obj0
= 0 ;
16397 PyObject
* obj1
= 0 ;
16398 char *kwnames
[] = {
16399 (char *) "self",(char *) "imageList", NULL
16402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
16403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16404 if (SWIG_arg_fail(1)) SWIG_fail
;
16405 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
16406 if (SWIG_arg_fail(2)) SWIG_fail
;
16408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16409 (arg1
)->AssignImageList(arg2
);
16411 wxPyEndAllowThreads(__tstate
);
16412 if (PyErr_Occurred()) SWIG_fail
;
16414 Py_INCREF(Py_None
); resultobj
= Py_None
;
16421 static PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16422 PyObject
*resultobj
;
16423 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16424 wxImageList
*result
;
16425 PyObject
* obj0
= 0 ;
16426 char *kwnames
[] = {
16427 (char *) "self", NULL
16430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetImageList",kwnames
,&obj0
)) goto fail
;
16431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16432 if (SWIG_arg_fail(1)) SWIG_fail
;
16434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16435 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
16437 wxPyEndAllowThreads(__tstate
);
16438 if (PyErr_Occurred()) SWIG_fail
;
16441 resultobj
= wxPyMake_wxObject(result
, 0);
16449 static PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16450 PyObject
*resultobj
;
16451 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16454 PyObject
* obj0
= 0 ;
16455 PyObject
* obj1
= 0 ;
16456 char *kwnames
[] = {
16457 (char *) "self",(char *) "n", NULL
16460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
16461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16462 if (SWIG_arg_fail(1)) SWIG_fail
;
16464 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16465 if (SWIG_arg_fail(2)) SWIG_fail
;
16468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16469 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
16471 wxPyEndAllowThreads(__tstate
);
16472 if (PyErr_Occurred()) SWIG_fail
;
16475 resultobj
= SWIG_From_int((int)(result
));
16483 static PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16484 PyObject
*resultobj
;
16485 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16489 PyObject
* obj0
= 0 ;
16490 PyObject
* obj1
= 0 ;
16491 PyObject
* obj2
= 0 ;
16492 char *kwnames
[] = {
16493 (char *) "self",(char *) "n",(char *) "imageId", NULL
16496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16498 if (SWIG_arg_fail(1)) SWIG_fail
;
16500 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16501 if (SWIG_arg_fail(2)) SWIG_fail
;
16504 arg3
= (int)(SWIG_As_int(obj2
));
16505 if (SWIG_arg_fail(3)) SWIG_fail
;
16508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16509 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
16511 wxPyEndAllowThreads(__tstate
);
16512 if (PyErr_Occurred()) SWIG_fail
;
16515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16523 static PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16524 PyObject
*resultobj
;
16525 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16528 PyObject
* obj0
= 0 ;
16529 PyObject
* obj1
= 0 ;
16530 char *kwnames
[] = {
16531 (char *) "self",(char *) "size", NULL
16534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16536 if (SWIG_arg_fail(1)) SWIG_fail
;
16539 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16543 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
16545 wxPyEndAllowThreads(__tstate
);
16546 if (PyErr_Occurred()) SWIG_fail
;
16548 Py_INCREF(Py_None
); resultobj
= Py_None
;
16555 static PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16556 PyObject
*resultobj
;
16557 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16561 PyObject
* obj0
= 0 ;
16562 PyObject
* obj1
= 0 ;
16563 char *kwnames
[] = {
16564 (char *) "self",(char *) "sizePage", NULL
16567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
16568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16569 if (SWIG_arg_fail(1)) SWIG_fail
;
16572 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16576 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
16578 wxPyEndAllowThreads(__tstate
);
16579 if (PyErr_Occurred()) SWIG_fail
;
16582 wxSize
* resultptr
;
16583 resultptr
= new wxSize((wxSize
&)(result
));
16584 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16592 static PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16593 PyObject
*resultobj
;
16594 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16597 PyObject
* obj0
= 0 ;
16598 PyObject
* obj1
= 0 ;
16599 char *kwnames
[] = {
16600 (char *) "self",(char *) "n", NULL
16603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
16604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16605 if (SWIG_arg_fail(1)) SWIG_fail
;
16607 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16608 if (SWIG_arg_fail(2)) SWIG_fail
;
16611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16612 result
= (bool)(arg1
)->DeletePage(arg2
);
16614 wxPyEndAllowThreads(__tstate
);
16615 if (PyErr_Occurred()) SWIG_fail
;
16618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16626 static PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16627 PyObject
*resultobj
;
16628 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16631 PyObject
* obj0
= 0 ;
16632 PyObject
* obj1
= 0 ;
16633 char *kwnames
[] = {
16634 (char *) "self",(char *) "n", NULL
16637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
16638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16639 if (SWIG_arg_fail(1)) SWIG_fail
;
16641 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16642 if (SWIG_arg_fail(2)) SWIG_fail
;
16645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16646 result
= (bool)(arg1
)->RemovePage(arg2
);
16648 wxPyEndAllowThreads(__tstate
);
16649 if (PyErr_Occurred()) SWIG_fail
;
16652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16660 static PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16661 PyObject
*resultobj
;
16662 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16664 PyObject
* obj0
= 0 ;
16665 char *kwnames
[] = {
16666 (char *) "self", NULL
16669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
16670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16671 if (SWIG_arg_fail(1)) SWIG_fail
;
16673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16674 result
= (bool)(arg1
)->DeleteAllPages();
16676 wxPyEndAllowThreads(__tstate
);
16677 if (PyErr_Occurred()) SWIG_fail
;
16680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16688 static PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16689 PyObject
*resultobj
;
16690 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16691 wxWindow
*arg2
= (wxWindow
*) 0 ;
16692 wxString
*arg3
= 0 ;
16693 bool arg4
= (bool) false ;
16694 int arg5
= (int) -1 ;
16696 bool temp3
= false ;
16697 PyObject
* obj0
= 0 ;
16698 PyObject
* obj1
= 0 ;
16699 PyObject
* obj2
= 0 ;
16700 PyObject
* obj3
= 0 ;
16701 PyObject
* obj4
= 0 ;
16702 char *kwnames
[] = {
16703 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16708 if (SWIG_arg_fail(1)) SWIG_fail
;
16709 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16710 if (SWIG_arg_fail(2)) SWIG_fail
;
16712 arg3
= wxString_in_helper(obj2
);
16713 if (arg3
== NULL
) SWIG_fail
;
16718 arg4
= (bool)(SWIG_As_bool(obj3
));
16719 if (SWIG_arg_fail(4)) SWIG_fail
;
16724 arg5
= (int)(SWIG_As_int(obj4
));
16725 if (SWIG_arg_fail(5)) SWIG_fail
;
16729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16730 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
16732 wxPyEndAllowThreads(__tstate
);
16733 if (PyErr_Occurred()) SWIG_fail
;
16736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16752 static PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16753 PyObject
*resultobj
;
16754 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16756 wxWindow
*arg3
= (wxWindow
*) 0 ;
16757 wxString
*arg4
= 0 ;
16758 bool arg5
= (bool) false ;
16759 int arg6
= (int) -1 ;
16761 bool temp4
= false ;
16762 PyObject
* obj0
= 0 ;
16763 PyObject
* obj1
= 0 ;
16764 PyObject
* obj2
= 0 ;
16765 PyObject
* obj3
= 0 ;
16766 PyObject
* obj4
= 0 ;
16767 PyObject
* obj5
= 0 ;
16768 char *kwnames
[] = {
16769 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16774 if (SWIG_arg_fail(1)) SWIG_fail
;
16776 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16777 if (SWIG_arg_fail(2)) SWIG_fail
;
16779 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16780 if (SWIG_arg_fail(3)) SWIG_fail
;
16782 arg4
= wxString_in_helper(obj3
);
16783 if (arg4
== NULL
) SWIG_fail
;
16788 arg5
= (bool)(SWIG_As_bool(obj4
));
16789 if (SWIG_arg_fail(5)) SWIG_fail
;
16794 arg6
= (int)(SWIG_As_int(obj5
));
16795 if (SWIG_arg_fail(6)) SWIG_fail
;
16799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16800 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16802 wxPyEndAllowThreads(__tstate
);
16803 if (PyErr_Occurred()) SWIG_fail
;
16806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16822 static PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16823 PyObject
*resultobj
;
16824 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16827 PyObject
* obj0
= 0 ;
16828 PyObject
* obj1
= 0 ;
16829 char *kwnames
[] = {
16830 (char *) "self",(char *) "n", NULL
16833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16835 if (SWIG_arg_fail(1)) SWIG_fail
;
16837 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16838 if (SWIG_arg_fail(2)) SWIG_fail
;
16841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16842 result
= (int)(arg1
)->SetSelection(arg2
);
16844 wxPyEndAllowThreads(__tstate
);
16845 if (PyErr_Occurred()) SWIG_fail
;
16848 resultobj
= SWIG_From_int((int)(result
));
16856 static PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16857 PyObject
*resultobj
;
16858 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16859 bool arg2
= (bool) true ;
16860 PyObject
* obj0
= 0 ;
16861 PyObject
* obj1
= 0 ;
16862 char *kwnames
[] = {
16863 (char *) "self",(char *) "forward", NULL
16866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16868 if (SWIG_arg_fail(1)) SWIG_fail
;
16871 arg2
= (bool)(SWIG_As_bool(obj1
));
16872 if (SWIG_arg_fail(2)) SWIG_fail
;
16876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16877 (arg1
)->AdvanceSelection(arg2
);
16879 wxPyEndAllowThreads(__tstate
);
16880 if (PyErr_Occurred()) SWIG_fail
;
16882 Py_INCREF(Py_None
); resultobj
= Py_None
;
16889 static PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16890 PyObject
*resultobj
;
16891 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16892 wxVisualAttributes result
;
16893 PyObject
* obj0
= 0 ;
16894 char *kwnames
[] = {
16895 (char *) "variant", NULL
16898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16901 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
16902 if (SWIG_arg_fail(1)) SWIG_fail
;
16906 if (!wxPyCheckForApp()) SWIG_fail
;
16907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16908 result
= wxBookCtrlBase::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
16910 wxPyEndAllowThreads(__tstate
);
16911 if (PyErr_Occurred()) SWIG_fail
;
16914 wxVisualAttributes
* resultptr
;
16915 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
16916 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16924 static PyObject
* BookCtrlBase_swigregister(PyObject
*, PyObject
*args
) {
16926 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16927 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBase
, obj
);
16929 return Py_BuildValue((char *)"");
16931 static PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16932 PyObject
*resultobj
;
16933 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16934 int arg2
= (int) 0 ;
16935 int arg3
= (int) -1 ;
16936 int arg4
= (int) -1 ;
16937 wxBookCtrlBaseEvent
*result
;
16938 PyObject
* obj0
= 0 ;
16939 PyObject
* obj1
= 0 ;
16940 PyObject
* obj2
= 0 ;
16941 PyObject
* obj3
= 0 ;
16942 char *kwnames
[] = {
16943 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
16946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16949 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16950 if (SWIG_arg_fail(1)) SWIG_fail
;
16955 arg2
= (int)(SWIG_As_int(obj1
));
16956 if (SWIG_arg_fail(2)) SWIG_fail
;
16961 arg3
= (int)(SWIG_As_int(obj2
));
16962 if (SWIG_arg_fail(3)) SWIG_fail
;
16967 arg4
= (int)(SWIG_As_int(obj3
));
16968 if (SWIG_arg_fail(4)) SWIG_fail
;
16972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16973 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
16975 wxPyEndAllowThreads(__tstate
);
16976 if (PyErr_Occurred()) SWIG_fail
;
16978 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, 1);
16985 static PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16986 PyObject
*resultobj
;
16987 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
16989 PyObject
* obj0
= 0 ;
16990 char *kwnames
[] = {
16991 (char *) "self", NULL
16994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
16995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16996 if (SWIG_arg_fail(1)) SWIG_fail
;
16998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16999 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
17001 wxPyEndAllowThreads(__tstate
);
17002 if (PyErr_Occurred()) SWIG_fail
;
17005 resultobj
= SWIG_From_int((int)(result
));
17013 static PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17014 PyObject
*resultobj
;
17015 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
17017 PyObject
* obj0
= 0 ;
17018 PyObject
* obj1
= 0 ;
17019 char *kwnames
[] = {
17020 (char *) "self",(char *) "nSel", NULL
17023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17025 if (SWIG_arg_fail(1)) SWIG_fail
;
17027 arg2
= (int)(SWIG_As_int(obj1
));
17028 if (SWIG_arg_fail(2)) SWIG_fail
;
17031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17032 (arg1
)->SetSelection(arg2
);
17034 wxPyEndAllowThreads(__tstate
);
17035 if (PyErr_Occurred()) SWIG_fail
;
17037 Py_INCREF(Py_None
); resultobj
= Py_None
;
17044 static PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17045 PyObject
*resultobj
;
17046 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
17048 PyObject
* obj0
= 0 ;
17049 char *kwnames
[] = {
17050 (char *) "self", NULL
17053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
17054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17055 if (SWIG_arg_fail(1)) SWIG_fail
;
17057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17058 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
17060 wxPyEndAllowThreads(__tstate
);
17061 if (PyErr_Occurred()) SWIG_fail
;
17064 resultobj
= SWIG_From_int((int)(result
));
17072 static PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17073 PyObject
*resultobj
;
17074 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
17076 PyObject
* obj0
= 0 ;
17077 PyObject
* obj1
= 0 ;
17078 char *kwnames
[] = {
17079 (char *) "self",(char *) "nOldSel", NULL
17082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17084 if (SWIG_arg_fail(1)) SWIG_fail
;
17086 arg2
= (int)(SWIG_As_int(obj1
));
17087 if (SWIG_arg_fail(2)) SWIG_fail
;
17090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17091 (arg1
)->SetOldSelection(arg2
);
17093 wxPyEndAllowThreads(__tstate
);
17094 if (PyErr_Occurred()) SWIG_fail
;
17096 Py_INCREF(Py_None
); resultobj
= Py_None
;
17103 static PyObject
* BookCtrlBaseEvent_swigregister(PyObject
*, PyObject
*args
) {
17105 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17106 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, obj
);
17108 return Py_BuildValue((char *)"");
17110 static PyObject
*_wrap_new_Notebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17111 PyObject
*resultobj
;
17112 wxWindow
*arg1
= (wxWindow
*) 0 ;
17113 int arg2
= (int) -1 ;
17114 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17115 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17116 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17117 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17118 long arg5
= (long) 0 ;
17119 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
17120 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17121 wxNotebook
*result
;
17124 bool temp6
= false ;
17125 PyObject
* obj0
= 0 ;
17126 PyObject
* obj1
= 0 ;
17127 PyObject
* obj2
= 0 ;
17128 PyObject
* obj3
= 0 ;
17129 PyObject
* obj4
= 0 ;
17130 PyObject
* obj5
= 0 ;
17131 char *kwnames
[] = {
17132 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17137 if (SWIG_arg_fail(1)) SWIG_fail
;
17140 arg2
= (int)(SWIG_As_int(obj1
));
17141 if (SWIG_arg_fail(2)) SWIG_fail
;
17147 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17153 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17158 arg5
= (long)(SWIG_As_long(obj4
));
17159 if (SWIG_arg_fail(5)) SWIG_fail
;
17164 arg6
= wxString_in_helper(obj5
);
17165 if (arg6
== NULL
) SWIG_fail
;
17170 if (!wxPyCheckForApp()) SWIG_fail
;
17171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17172 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17174 wxPyEndAllowThreads(__tstate
);
17175 if (PyErr_Occurred()) SWIG_fail
;
17177 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
17192 static PyObject
*_wrap_new_PreNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17193 PyObject
*resultobj
;
17194 wxNotebook
*result
;
17195 char *kwnames
[] = {
17199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
17201 if (!wxPyCheckForApp()) SWIG_fail
;
17202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17203 result
= (wxNotebook
*)new wxNotebook();
17205 wxPyEndAllowThreads(__tstate
);
17206 if (PyErr_Occurred()) SWIG_fail
;
17208 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
17215 static PyObject
*_wrap_Notebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17216 PyObject
*resultobj
;
17217 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17218 wxWindow
*arg2
= (wxWindow
*) 0 ;
17219 int arg3
= (int) -1 ;
17220 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17221 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17222 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17223 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17224 long arg6
= (long) 0 ;
17225 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
17226 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17230 bool temp7
= false ;
17231 PyObject
* obj0
= 0 ;
17232 PyObject
* obj1
= 0 ;
17233 PyObject
* obj2
= 0 ;
17234 PyObject
* obj3
= 0 ;
17235 PyObject
* obj4
= 0 ;
17236 PyObject
* obj5
= 0 ;
17237 PyObject
* obj6
= 0 ;
17238 char *kwnames
[] = {
17239 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17244 if (SWIG_arg_fail(1)) SWIG_fail
;
17245 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17246 if (SWIG_arg_fail(2)) SWIG_fail
;
17249 arg3
= (int)(SWIG_As_int(obj2
));
17250 if (SWIG_arg_fail(3)) SWIG_fail
;
17256 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17262 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17267 arg6
= (long)(SWIG_As_long(obj5
));
17268 if (SWIG_arg_fail(6)) SWIG_fail
;
17273 arg7
= wxString_in_helper(obj6
);
17274 if (arg7
== NULL
) SWIG_fail
;
17279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17280 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17282 wxPyEndAllowThreads(__tstate
);
17283 if (PyErr_Occurred()) SWIG_fail
;
17286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17302 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17303 PyObject
*resultobj
;
17304 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17306 PyObject
* obj0
= 0 ;
17307 char *kwnames
[] = {
17308 (char *) "self", NULL
17311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
17312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17313 if (SWIG_arg_fail(1)) SWIG_fail
;
17315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17316 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
17318 wxPyEndAllowThreads(__tstate
);
17319 if (PyErr_Occurred()) SWIG_fail
;
17322 resultobj
= SWIG_From_int((int)(result
));
17330 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17331 PyObject
*resultobj
;
17332 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17335 PyObject
* obj0
= 0 ;
17336 PyObject
* obj1
= 0 ;
17337 char *kwnames
[] = {
17338 (char *) "self",(char *) "padding", NULL
17341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
17342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17343 if (SWIG_arg_fail(1)) SWIG_fail
;
17346 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17350 (arg1
)->SetPadding((wxSize
const &)*arg2
);
17352 wxPyEndAllowThreads(__tstate
);
17353 if (PyErr_Occurred()) SWIG_fail
;
17355 Py_INCREF(Py_None
); resultobj
= Py_None
;
17362 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17363 PyObject
*resultobj
;
17364 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17367 PyObject
* obj0
= 0 ;
17368 PyObject
* obj1
= 0 ;
17369 char *kwnames
[] = {
17370 (char *) "self",(char *) "sz", NULL
17373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17375 if (SWIG_arg_fail(1)) SWIG_fail
;
17378 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17382 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
17384 wxPyEndAllowThreads(__tstate
);
17385 if (PyErr_Occurred()) SWIG_fail
;
17387 Py_INCREF(Py_None
); resultobj
= Py_None
;
17394 static PyObject
*_wrap_Notebook_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17395 PyObject
*resultobj
;
17396 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17397 wxPoint
*arg2
= 0 ;
17398 long *arg3
= (long *) 0 ;
17403 PyObject
* obj0
= 0 ;
17404 PyObject
* obj1
= 0 ;
17405 char *kwnames
[] = {
17406 (char *) "self",(char *) "pt", NULL
17409 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
17411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17412 if (SWIG_arg_fail(1)) SWIG_fail
;
17415 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17419 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
17421 wxPyEndAllowThreads(__tstate
);
17422 if (PyErr_Occurred()) SWIG_fail
;
17425 resultobj
= SWIG_From_int((int)(result
));
17427 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17428 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
17435 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17436 PyObject
*resultobj
;
17437 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17441 PyObject
* obj0
= 0 ;
17442 PyObject
* obj1
= 0 ;
17443 char *kwnames
[] = {
17444 (char *) "self",(char *) "sizePage", NULL
17447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
17448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17449 if (SWIG_arg_fail(1)) SWIG_fail
;
17452 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17456 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
17458 wxPyEndAllowThreads(__tstate
);
17459 if (PyErr_Occurred()) SWIG_fail
;
17462 wxSize
* resultptr
;
17463 resultptr
= new wxSize((wxSize
&)(result
));
17464 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17472 static PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17473 PyObject
*resultobj
;
17474 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17476 PyObject
* obj0
= 0 ;
17477 char *kwnames
[] = {
17478 (char *) "self", NULL
17481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetThemeBackgroundColour",kwnames
,&obj0
)) goto fail
;
17482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17483 if (SWIG_arg_fail(1)) SWIG_fail
;
17485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17486 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
17488 wxPyEndAllowThreads(__tstate
);
17489 if (PyErr_Occurred()) SWIG_fail
;
17492 wxColour
* resultptr
;
17493 resultptr
= new wxColour((wxColour
&)(result
));
17494 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17502 static PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17503 PyObject
*resultobj
;
17504 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17505 wxVisualAttributes result
;
17506 PyObject
* obj0
= 0 ;
17507 char *kwnames
[] = {
17508 (char *) "variant", NULL
17511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17514 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
17515 if (SWIG_arg_fail(1)) SWIG_fail
;
17519 if (!wxPyCheckForApp()) SWIG_fail
;
17520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17521 result
= wxNotebook::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
17523 wxPyEndAllowThreads(__tstate
);
17524 if (PyErr_Occurred()) SWIG_fail
;
17527 wxVisualAttributes
* resultptr
;
17528 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
17529 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17537 static PyObject
* Notebook_swigregister(PyObject
*, PyObject
*args
) {
17539 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17540 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
17542 return Py_BuildValue((char *)"");
17544 static PyObject
*_wrap_new_NotebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17545 PyObject
*resultobj
;
17546 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17547 int arg2
= (int) 0 ;
17548 int arg3
= (int) -1 ;
17549 int arg4
= (int) -1 ;
17550 wxNotebookEvent
*result
;
17551 PyObject
* obj0
= 0 ;
17552 PyObject
* obj1
= 0 ;
17553 PyObject
* obj2
= 0 ;
17554 PyObject
* obj3
= 0 ;
17555 char *kwnames
[] = {
17556 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17562 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17563 if (SWIG_arg_fail(1)) SWIG_fail
;
17568 arg2
= (int)(SWIG_As_int(obj1
));
17569 if (SWIG_arg_fail(2)) SWIG_fail
;
17574 arg3
= (int)(SWIG_As_int(obj2
));
17575 if (SWIG_arg_fail(3)) SWIG_fail
;
17580 arg4
= (int)(SWIG_As_int(obj3
));
17581 if (SWIG_arg_fail(4)) SWIG_fail
;
17585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17586 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
17588 wxPyEndAllowThreads(__tstate
);
17589 if (PyErr_Occurred()) SWIG_fail
;
17591 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
17598 static PyObject
* NotebookEvent_swigregister(PyObject
*, PyObject
*args
) {
17600 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17601 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
17603 return Py_BuildValue((char *)"");
17605 static PyObject
*_wrap_new_Listbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17606 PyObject
*resultobj
;
17607 wxWindow
*arg1
= (wxWindow
*) 0 ;
17608 int arg2
= (int) -1 ;
17609 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17610 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17611 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17612 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17613 long arg5
= (long) 0 ;
17614 wxString
const &arg6_defvalue
= wxPyEmptyString
;
17615 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17616 wxListbook
*result
;
17619 bool temp6
= false ;
17620 PyObject
* obj0
= 0 ;
17621 PyObject
* obj1
= 0 ;
17622 PyObject
* obj2
= 0 ;
17623 PyObject
* obj3
= 0 ;
17624 PyObject
* obj4
= 0 ;
17625 PyObject
* obj5
= 0 ;
17626 char *kwnames
[] = {
17627 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17632 if (SWIG_arg_fail(1)) SWIG_fail
;
17635 arg2
= (int)(SWIG_As_int(obj1
));
17636 if (SWIG_arg_fail(2)) SWIG_fail
;
17642 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17648 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17653 arg5
= (long)(SWIG_As_long(obj4
));
17654 if (SWIG_arg_fail(5)) SWIG_fail
;
17659 arg6
= wxString_in_helper(obj5
);
17660 if (arg6
== NULL
) SWIG_fail
;
17665 if (!wxPyCheckForApp()) SWIG_fail
;
17666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17667 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17669 wxPyEndAllowThreads(__tstate
);
17670 if (PyErr_Occurred()) SWIG_fail
;
17672 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
17687 static PyObject
*_wrap_new_PreListbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17688 PyObject
*resultobj
;
17689 wxListbook
*result
;
17690 char *kwnames
[] = {
17694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
17696 if (!wxPyCheckForApp()) SWIG_fail
;
17697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17698 result
= (wxListbook
*)new wxListbook();
17700 wxPyEndAllowThreads(__tstate
);
17701 if (PyErr_Occurred()) SWIG_fail
;
17703 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
17710 static PyObject
*_wrap_Listbook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17711 PyObject
*resultobj
;
17712 wxListbook
*arg1
= (wxListbook
*) 0 ;
17713 wxWindow
*arg2
= (wxWindow
*) 0 ;
17714 int arg3
= (int) -1 ;
17715 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17716 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17717 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17718 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17719 long arg6
= (long) 0 ;
17720 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17721 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17725 bool temp7
= false ;
17726 PyObject
* obj0
= 0 ;
17727 PyObject
* obj1
= 0 ;
17728 PyObject
* obj2
= 0 ;
17729 PyObject
* obj3
= 0 ;
17730 PyObject
* obj4
= 0 ;
17731 PyObject
* obj5
= 0 ;
17732 PyObject
* obj6
= 0 ;
17733 char *kwnames
[] = {
17734 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17739 if (SWIG_arg_fail(1)) SWIG_fail
;
17740 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17741 if (SWIG_arg_fail(2)) SWIG_fail
;
17744 arg3
= (int)(SWIG_As_int(obj2
));
17745 if (SWIG_arg_fail(3)) SWIG_fail
;
17751 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17757 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17762 arg6
= (long)(SWIG_As_long(obj5
));
17763 if (SWIG_arg_fail(6)) SWIG_fail
;
17768 arg7
= wxString_in_helper(obj6
);
17769 if (arg7
== NULL
) SWIG_fail
;
17774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17775 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17777 wxPyEndAllowThreads(__tstate
);
17778 if (PyErr_Occurred()) SWIG_fail
;
17781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17797 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17798 PyObject
*resultobj
;
17799 wxListbook
*arg1
= (wxListbook
*) 0 ;
17801 PyObject
* obj0
= 0 ;
17802 char *kwnames
[] = {
17803 (char *) "self", NULL
17806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
17807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17808 if (SWIG_arg_fail(1)) SWIG_fail
;
17810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17811 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
17813 wxPyEndAllowThreads(__tstate
);
17814 if (PyErr_Occurred()) SWIG_fail
;
17817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17825 static PyObject
*_wrap_Listbook_GetListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17826 PyObject
*resultobj
;
17827 wxListbook
*arg1
= (wxListbook
*) 0 ;
17828 wxListView
*result
;
17829 PyObject
* obj0
= 0 ;
17830 char *kwnames
[] = {
17831 (char *) "self", NULL
17834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_GetListView",kwnames
,&obj0
)) goto fail
;
17835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17836 if (SWIG_arg_fail(1)) SWIG_fail
;
17838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17839 result
= (wxListView
*)(arg1
)->GetListView();
17841 wxPyEndAllowThreads(__tstate
);
17842 if (PyErr_Occurred()) SWIG_fail
;
17844 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 0);
17851 static PyObject
* Listbook_swigregister(PyObject
*, PyObject
*args
) {
17853 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17854 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
17856 return Py_BuildValue((char *)"");
17858 static PyObject
*_wrap_new_ListbookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17859 PyObject
*resultobj
;
17860 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17861 int arg2
= (int) 0 ;
17862 int arg3
= (int) -1 ;
17863 int arg4
= (int) -1 ;
17864 wxListbookEvent
*result
;
17865 PyObject
* obj0
= 0 ;
17866 PyObject
* obj1
= 0 ;
17867 PyObject
* obj2
= 0 ;
17868 PyObject
* obj3
= 0 ;
17869 char *kwnames
[] = {
17870 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17876 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17877 if (SWIG_arg_fail(1)) SWIG_fail
;
17882 arg2
= (int)(SWIG_As_int(obj1
));
17883 if (SWIG_arg_fail(2)) SWIG_fail
;
17888 arg3
= (int)(SWIG_As_int(obj2
));
17889 if (SWIG_arg_fail(3)) SWIG_fail
;
17894 arg4
= (int)(SWIG_As_int(obj3
));
17895 if (SWIG_arg_fail(4)) SWIG_fail
;
17899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17900 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
17902 wxPyEndAllowThreads(__tstate
);
17903 if (PyErr_Occurred()) SWIG_fail
;
17905 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
17912 static PyObject
* ListbookEvent_swigregister(PyObject
*, PyObject
*args
) {
17914 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17915 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
17917 return Py_BuildValue((char *)"");
17919 static PyObject
*_wrap_new_Choicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17920 PyObject
*resultobj
;
17921 wxWindow
*arg1
= (wxWindow
*) 0 ;
17923 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17924 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17925 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17926 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17927 long arg5
= (long) 0 ;
17928 wxString
const &arg6_defvalue
= wxPyEmptyString
;
17929 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17930 wxChoicebook
*result
;
17933 bool temp6
= false ;
17934 PyObject
* obj0
= 0 ;
17935 PyObject
* obj1
= 0 ;
17936 PyObject
* obj2
= 0 ;
17937 PyObject
* obj3
= 0 ;
17938 PyObject
* obj4
= 0 ;
17939 PyObject
* obj5
= 0 ;
17940 char *kwnames
[] = {
17941 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17946 if (SWIG_arg_fail(1)) SWIG_fail
;
17948 arg2
= (int)(SWIG_As_int(obj1
));
17949 if (SWIG_arg_fail(2)) SWIG_fail
;
17954 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17960 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17965 arg5
= (long)(SWIG_As_long(obj4
));
17966 if (SWIG_arg_fail(5)) SWIG_fail
;
17971 arg6
= wxString_in_helper(obj5
);
17972 if (arg6
== NULL
) SWIG_fail
;
17977 if (!wxPyCheckForApp()) SWIG_fail
;
17978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17979 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17981 wxPyEndAllowThreads(__tstate
);
17982 if (PyErr_Occurred()) SWIG_fail
;
17984 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
17999 static PyObject
*_wrap_new_PreChoicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18000 PyObject
*resultobj
;
18001 wxChoicebook
*result
;
18002 char *kwnames
[] = {
18006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoicebook",kwnames
)) goto fail
;
18008 if (!wxPyCheckForApp()) SWIG_fail
;
18009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18010 result
= (wxChoicebook
*)new wxChoicebook();
18012 wxPyEndAllowThreads(__tstate
);
18013 if (PyErr_Occurred()) SWIG_fail
;
18015 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
18022 static PyObject
*_wrap_Choicebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18023 PyObject
*resultobj
;
18024 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18025 wxWindow
*arg2
= (wxWindow
*) 0 ;
18027 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18028 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18029 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18030 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18031 long arg6
= (long) 0 ;
18032 wxString
const &arg7_defvalue
= wxPyEmptyString
;
18033 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18037 bool temp7
= false ;
18038 PyObject
* obj0
= 0 ;
18039 PyObject
* obj1
= 0 ;
18040 PyObject
* obj2
= 0 ;
18041 PyObject
* obj3
= 0 ;
18042 PyObject
* obj4
= 0 ;
18043 PyObject
* obj5
= 0 ;
18044 PyObject
* obj6
= 0 ;
18045 char *kwnames
[] = {
18046 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18051 if (SWIG_arg_fail(1)) SWIG_fail
;
18052 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18053 if (SWIG_arg_fail(2)) SWIG_fail
;
18055 arg3
= (int)(SWIG_As_int(obj2
));
18056 if (SWIG_arg_fail(3)) SWIG_fail
;
18061 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18067 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18072 arg6
= (long)(SWIG_As_long(obj5
));
18073 if (SWIG_arg_fail(6)) SWIG_fail
;
18078 arg7
= wxString_in_helper(obj6
);
18079 if (arg7
== NULL
) SWIG_fail
;
18084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18085 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18087 wxPyEndAllowThreads(__tstate
);
18088 if (PyErr_Occurred()) SWIG_fail
;
18091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18107 static PyObject
*_wrap_Choicebook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18108 PyObject
*resultobj
;
18109 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18111 PyObject
* obj0
= 0 ;
18112 char *kwnames
[] = {
18113 (char *) "self", NULL
18116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_IsVertical",kwnames
,&obj0
)) goto fail
;
18117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18118 if (SWIG_arg_fail(1)) SWIG_fail
;
18120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18121 result
= (bool)((wxChoicebook
const *)arg1
)->IsVertical();
18123 wxPyEndAllowThreads(__tstate
);
18124 if (PyErr_Occurred()) SWIG_fail
;
18127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18135 static PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18136 PyObject
*resultobj
;
18137 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18139 PyObject
* obj0
= 0 ;
18140 char *kwnames
[] = {
18141 (char *) "self", NULL
18144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_GetChoiceCtrl",kwnames
,&obj0
)) goto fail
;
18145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18146 if (SWIG_arg_fail(1)) SWIG_fail
;
18148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18149 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
18151 wxPyEndAllowThreads(__tstate
);
18152 if (PyErr_Occurred()) SWIG_fail
;
18154 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 0);
18161 static PyObject
*_wrap_Choicebook_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18162 PyObject
*resultobj
;
18163 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18165 PyObject
* obj0
= 0 ;
18166 char *kwnames
[] = {
18167 (char *) "self", NULL
18170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
18171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18172 if (SWIG_arg_fail(1)) SWIG_fail
;
18174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18175 result
= (bool)(arg1
)->DeleteAllPages();
18177 wxPyEndAllowThreads(__tstate
);
18178 if (PyErr_Occurred()) SWIG_fail
;
18181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18189 static PyObject
* Choicebook_swigregister(PyObject
*, PyObject
*args
) {
18191 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18192 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook
, obj
);
18194 return Py_BuildValue((char *)"");
18196 static PyObject
*_wrap_new_ChoicebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18197 PyObject
*resultobj
;
18198 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18199 int arg2
= (int) 0 ;
18200 int arg3
= (int) -1 ;
18201 int arg4
= (int) -1 ;
18202 wxChoicebookEvent
*result
;
18203 PyObject
* obj0
= 0 ;
18204 PyObject
* obj1
= 0 ;
18205 PyObject
* obj2
= 0 ;
18206 PyObject
* obj3
= 0 ;
18207 char *kwnames
[] = {
18208 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18214 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
18215 if (SWIG_arg_fail(1)) SWIG_fail
;
18220 arg2
= (int)(SWIG_As_int(obj1
));
18221 if (SWIG_arg_fail(2)) SWIG_fail
;
18226 arg3
= (int)(SWIG_As_int(obj2
));
18227 if (SWIG_arg_fail(3)) SWIG_fail
;
18232 arg4
= (int)(SWIG_As_int(obj3
));
18233 if (SWIG_arg_fail(4)) SWIG_fail
;
18237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18238 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
18240 wxPyEndAllowThreads(__tstate
);
18241 if (PyErr_Occurred()) SWIG_fail
;
18243 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebookEvent
, 1);
18250 static PyObject
* ChoicebookEvent_swigregister(PyObject
*, PyObject
*args
) {
18252 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18253 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent
, obj
);
18255 return Py_BuildValue((char *)"");
18257 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18258 PyObject
*resultobj
;
18259 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18261 PyObject
* obj0
= 0 ;
18262 char *kwnames
[] = {
18263 (char *) "self", NULL
18266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
18267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18268 if (SWIG_arg_fail(1)) SWIG_fail
;
18270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18271 result
= (int)(arg1
)->GetId();
18273 wxPyEndAllowThreads(__tstate
);
18274 if (PyErr_Occurred()) SWIG_fail
;
18277 resultobj
= SWIG_From_int((int)(result
));
18285 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18286 PyObject
*resultobj
;
18287 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18289 PyObject
* obj0
= 0 ;
18290 char *kwnames
[] = {
18291 (char *) "self", NULL
18294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
18295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18296 if (SWIG_arg_fail(1)) SWIG_fail
;
18298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18299 result
= (wxControl
*)(arg1
)->GetControl();
18301 wxPyEndAllowThreads(__tstate
);
18302 if (PyErr_Occurred()) SWIG_fail
;
18305 resultobj
= wxPyMake_wxObject(result
, 0);
18313 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18314 PyObject
*resultobj
;
18315 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18316 wxToolBarBase
*result
;
18317 PyObject
* obj0
= 0 ;
18318 char *kwnames
[] = {
18319 (char *) "self", NULL
18322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
18323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18324 if (SWIG_arg_fail(1)) SWIG_fail
;
18326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18327 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
18329 wxPyEndAllowThreads(__tstate
);
18330 if (PyErr_Occurred()) SWIG_fail
;
18333 resultobj
= wxPyMake_wxObject(result
, 0);
18341 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18342 PyObject
*resultobj
;
18343 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18345 PyObject
* obj0
= 0 ;
18346 char *kwnames
[] = {
18347 (char *) "self", NULL
18350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
18351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18352 if (SWIG_arg_fail(1)) SWIG_fail
;
18354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18355 result
= (int)(arg1
)->IsButton();
18357 wxPyEndAllowThreads(__tstate
);
18358 if (PyErr_Occurred()) SWIG_fail
;
18361 resultobj
= SWIG_From_int((int)(result
));
18369 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18370 PyObject
*resultobj
;
18371 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18373 PyObject
* obj0
= 0 ;
18374 char *kwnames
[] = {
18375 (char *) "self", NULL
18378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
18379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18380 if (SWIG_arg_fail(1)) SWIG_fail
;
18382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18383 result
= (int)(arg1
)->IsControl();
18385 wxPyEndAllowThreads(__tstate
);
18386 if (PyErr_Occurred()) SWIG_fail
;
18389 resultobj
= SWIG_From_int((int)(result
));
18397 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18398 PyObject
*resultobj
;
18399 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18401 PyObject
* obj0
= 0 ;
18402 char *kwnames
[] = {
18403 (char *) "self", NULL
18406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
18407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18408 if (SWIG_arg_fail(1)) SWIG_fail
;
18410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18411 result
= (int)(arg1
)->IsSeparator();
18413 wxPyEndAllowThreads(__tstate
);
18414 if (PyErr_Occurred()) SWIG_fail
;
18417 resultobj
= SWIG_From_int((int)(result
));
18425 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18426 PyObject
*resultobj
;
18427 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18429 PyObject
* obj0
= 0 ;
18430 char *kwnames
[] = {
18431 (char *) "self", NULL
18434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
18435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18436 if (SWIG_arg_fail(1)) SWIG_fail
;
18438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18439 result
= (int)(arg1
)->GetStyle();
18441 wxPyEndAllowThreads(__tstate
);
18442 if (PyErr_Occurred()) SWIG_fail
;
18445 resultobj
= SWIG_From_int((int)(result
));
18453 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18454 PyObject
*resultobj
;
18455 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18457 PyObject
* obj0
= 0 ;
18458 char *kwnames
[] = {
18459 (char *) "self", NULL
18462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
18463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18464 if (SWIG_arg_fail(1)) SWIG_fail
;
18466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18467 result
= (wxItemKind
)(arg1
)->GetKind();
18469 wxPyEndAllowThreads(__tstate
);
18470 if (PyErr_Occurred()) SWIG_fail
;
18472 resultobj
= SWIG_From_int((result
));
18479 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18480 PyObject
*resultobj
;
18481 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18483 PyObject
* obj0
= 0 ;
18484 char *kwnames
[] = {
18485 (char *) "self", NULL
18488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
18489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18490 if (SWIG_arg_fail(1)) SWIG_fail
;
18492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18493 result
= (bool)(arg1
)->IsEnabled();
18495 wxPyEndAllowThreads(__tstate
);
18496 if (PyErr_Occurred()) SWIG_fail
;
18499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18507 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18508 PyObject
*resultobj
;
18509 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18511 PyObject
* obj0
= 0 ;
18512 char *kwnames
[] = {
18513 (char *) "self", NULL
18516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
18517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18518 if (SWIG_arg_fail(1)) SWIG_fail
;
18520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18521 result
= (bool)(arg1
)->IsToggled();
18523 wxPyEndAllowThreads(__tstate
);
18524 if (PyErr_Occurred()) SWIG_fail
;
18527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18535 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18536 PyObject
*resultobj
;
18537 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18539 PyObject
* obj0
= 0 ;
18540 char *kwnames
[] = {
18541 (char *) "self", NULL
18544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
18545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18546 if (SWIG_arg_fail(1)) SWIG_fail
;
18548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18549 result
= (bool)(arg1
)->CanBeToggled();
18551 wxPyEndAllowThreads(__tstate
);
18552 if (PyErr_Occurred()) SWIG_fail
;
18555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18563 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18564 PyObject
*resultobj
;
18565 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18567 PyObject
* obj0
= 0 ;
18568 char *kwnames
[] = {
18569 (char *) "self", NULL
18572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
18573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18574 if (SWIG_arg_fail(1)) SWIG_fail
;
18576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18578 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
18579 result
= (wxBitmap
*) &_result_ref
;
18582 wxPyEndAllowThreads(__tstate
);
18583 if (PyErr_Occurred()) SWIG_fail
;
18586 wxBitmap
* resultptr
= new wxBitmap(*result
);
18587 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18595 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18596 PyObject
*resultobj
;
18597 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18599 PyObject
* obj0
= 0 ;
18600 char *kwnames
[] = {
18601 (char *) "self", NULL
18604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
18605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18606 if (SWIG_arg_fail(1)) SWIG_fail
;
18608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18610 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
18611 result
= (wxBitmap
*) &_result_ref
;
18614 wxPyEndAllowThreads(__tstate
);
18615 if (PyErr_Occurred()) SWIG_fail
;
18618 wxBitmap
* resultptr
= new wxBitmap(*result
);
18619 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18627 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18628 PyObject
*resultobj
;
18629 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18631 PyObject
* obj0
= 0 ;
18632 char *kwnames
[] = {
18633 (char *) "self", NULL
18636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
18637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18638 if (SWIG_arg_fail(1)) SWIG_fail
;
18640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18641 result
= (arg1
)->GetBitmap();
18643 wxPyEndAllowThreads(__tstate
);
18644 if (PyErr_Occurred()) SWIG_fail
;
18647 wxBitmap
* resultptr
;
18648 resultptr
= new wxBitmap((wxBitmap
&)(result
));
18649 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18657 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18658 PyObject
*resultobj
;
18659 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18661 PyObject
* obj0
= 0 ;
18662 char *kwnames
[] = {
18663 (char *) "self", NULL
18666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
18667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18668 if (SWIG_arg_fail(1)) SWIG_fail
;
18670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18671 result
= (arg1
)->GetLabel();
18673 wxPyEndAllowThreads(__tstate
);
18674 if (PyErr_Occurred()) SWIG_fail
;
18678 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18680 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18689 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18690 PyObject
*resultobj
;
18691 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18693 PyObject
* obj0
= 0 ;
18694 char *kwnames
[] = {
18695 (char *) "self", NULL
18698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
18699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18700 if (SWIG_arg_fail(1)) SWIG_fail
;
18702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18703 result
= (arg1
)->GetShortHelp();
18705 wxPyEndAllowThreads(__tstate
);
18706 if (PyErr_Occurred()) SWIG_fail
;
18710 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18712 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18721 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18722 PyObject
*resultobj
;
18723 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18725 PyObject
* obj0
= 0 ;
18726 char *kwnames
[] = {
18727 (char *) "self", NULL
18730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
18731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18732 if (SWIG_arg_fail(1)) SWIG_fail
;
18734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18735 result
= (arg1
)->GetLongHelp();
18737 wxPyEndAllowThreads(__tstate
);
18738 if (PyErr_Occurred()) SWIG_fail
;
18742 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18744 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18753 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18754 PyObject
*resultobj
;
18755 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18758 PyObject
* obj0
= 0 ;
18759 PyObject
* obj1
= 0 ;
18760 char *kwnames
[] = {
18761 (char *) "self",(char *) "enable", NULL
18764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
18765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18766 if (SWIG_arg_fail(1)) SWIG_fail
;
18768 arg2
= (bool)(SWIG_As_bool(obj1
));
18769 if (SWIG_arg_fail(2)) SWIG_fail
;
18772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18773 result
= (bool)(arg1
)->Enable(arg2
);
18775 wxPyEndAllowThreads(__tstate
);
18776 if (PyErr_Occurred()) SWIG_fail
;
18779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18787 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18788 PyObject
*resultobj
;
18789 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18790 PyObject
* obj0
= 0 ;
18791 char *kwnames
[] = {
18792 (char *) "self", NULL
18795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
18796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18797 if (SWIG_arg_fail(1)) SWIG_fail
;
18799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18802 wxPyEndAllowThreads(__tstate
);
18803 if (PyErr_Occurred()) SWIG_fail
;
18805 Py_INCREF(Py_None
); resultobj
= Py_None
;
18812 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18813 PyObject
*resultobj
;
18814 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18817 PyObject
* obj0
= 0 ;
18818 PyObject
* obj1
= 0 ;
18819 char *kwnames
[] = {
18820 (char *) "self",(char *) "toggle", NULL
18823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
18824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18825 if (SWIG_arg_fail(1)) SWIG_fail
;
18827 arg2
= (bool)(SWIG_As_bool(obj1
));
18828 if (SWIG_arg_fail(2)) SWIG_fail
;
18831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18832 result
= (bool)(arg1
)->SetToggle(arg2
);
18834 wxPyEndAllowThreads(__tstate
);
18835 if (PyErr_Occurred()) SWIG_fail
;
18838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18846 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18847 PyObject
*resultobj
;
18848 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18849 wxString
*arg2
= 0 ;
18851 bool temp2
= false ;
18852 PyObject
* obj0
= 0 ;
18853 PyObject
* obj1
= 0 ;
18854 char *kwnames
[] = {
18855 (char *) "self",(char *) "help", NULL
18858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
18859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18860 if (SWIG_arg_fail(1)) SWIG_fail
;
18862 arg2
= wxString_in_helper(obj1
);
18863 if (arg2
== NULL
) SWIG_fail
;
18867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18868 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
18870 wxPyEndAllowThreads(__tstate
);
18871 if (PyErr_Occurred()) SWIG_fail
;
18874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18890 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18891 PyObject
*resultobj
;
18892 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18893 wxString
*arg2
= 0 ;
18895 bool temp2
= false ;
18896 PyObject
* obj0
= 0 ;
18897 PyObject
* obj1
= 0 ;
18898 char *kwnames
[] = {
18899 (char *) "self",(char *) "help", NULL
18902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
18903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18904 if (SWIG_arg_fail(1)) SWIG_fail
;
18906 arg2
= wxString_in_helper(obj1
);
18907 if (arg2
== NULL
) SWIG_fail
;
18911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18912 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
18914 wxPyEndAllowThreads(__tstate
);
18915 if (PyErr_Occurred()) SWIG_fail
;
18918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18934 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18935 PyObject
*resultobj
;
18936 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18937 wxBitmap
*arg2
= 0 ;
18938 PyObject
* obj0
= 0 ;
18939 PyObject
* obj1
= 0 ;
18940 char *kwnames
[] = {
18941 (char *) "self",(char *) "bmp", NULL
18944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
18945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18946 if (SWIG_arg_fail(1)) SWIG_fail
;
18948 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
18949 if (SWIG_arg_fail(2)) SWIG_fail
;
18950 if (arg2
== NULL
) {
18951 SWIG_null_ref("wxBitmap");
18953 if (SWIG_arg_fail(2)) SWIG_fail
;
18956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18957 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
18959 wxPyEndAllowThreads(__tstate
);
18960 if (PyErr_Occurred()) SWIG_fail
;
18962 Py_INCREF(Py_None
); resultobj
= Py_None
;
18969 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18970 PyObject
*resultobj
;
18971 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18972 wxBitmap
*arg2
= 0 ;
18973 PyObject
* obj0
= 0 ;
18974 PyObject
* obj1
= 0 ;
18975 char *kwnames
[] = {
18976 (char *) "self",(char *) "bmp", NULL
18979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
18980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18981 if (SWIG_arg_fail(1)) SWIG_fail
;
18983 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
18984 if (SWIG_arg_fail(2)) SWIG_fail
;
18985 if (arg2
== NULL
) {
18986 SWIG_null_ref("wxBitmap");
18988 if (SWIG_arg_fail(2)) SWIG_fail
;
18991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18992 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
18994 wxPyEndAllowThreads(__tstate
);
18995 if (PyErr_Occurred()) SWIG_fail
;
18997 Py_INCREF(Py_None
); resultobj
= Py_None
;
19004 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19005 PyObject
*resultobj
;
19006 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19007 wxString
*arg2
= 0 ;
19008 bool temp2
= false ;
19009 PyObject
* obj0
= 0 ;
19010 PyObject
* obj1
= 0 ;
19011 char *kwnames
[] = {
19012 (char *) "self",(char *) "label", NULL
19015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
19016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19017 if (SWIG_arg_fail(1)) SWIG_fail
;
19019 arg2
= wxString_in_helper(obj1
);
19020 if (arg2
== NULL
) SWIG_fail
;
19024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19025 (arg1
)->SetLabel((wxString
const &)*arg2
);
19027 wxPyEndAllowThreads(__tstate
);
19028 if (PyErr_Occurred()) SWIG_fail
;
19030 Py_INCREF(Py_None
); resultobj
= Py_None
;
19045 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19046 PyObject
*resultobj
;
19047 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19048 PyObject
* obj0
= 0 ;
19049 char *kwnames
[] = {
19050 (char *) "self", NULL
19053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
19054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19055 if (SWIG_arg_fail(1)) SWIG_fail
;
19057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19060 wxPyEndAllowThreads(__tstate
);
19061 if (PyErr_Occurred()) SWIG_fail
;
19063 Py_INCREF(Py_None
); resultobj
= Py_None
;
19070 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19071 PyObject
*resultobj
;
19072 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19073 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
19074 PyObject
* obj0
= 0 ;
19075 PyObject
* obj1
= 0 ;
19076 char *kwnames
[] = {
19077 (char *) "self",(char *) "tbar", NULL
19080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
19081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19082 if (SWIG_arg_fail(1)) SWIG_fail
;
19083 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19084 if (SWIG_arg_fail(2)) SWIG_fail
;
19086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19087 (arg1
)->Attach(arg2
);
19089 wxPyEndAllowThreads(__tstate
);
19090 if (PyErr_Occurred()) SWIG_fail
;
19092 Py_INCREF(Py_None
); resultobj
= Py_None
;
19099 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19100 PyObject
*resultobj
;
19101 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19103 PyObject
* obj0
= 0 ;
19104 char *kwnames
[] = {
19105 (char *) "self", NULL
19108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
19109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19110 if (SWIG_arg_fail(1)) SWIG_fail
;
19112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19113 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
19115 wxPyEndAllowThreads(__tstate
);
19116 if (PyErr_Occurred()) SWIG_fail
;
19118 resultobj
= result
;
19125 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19126 PyObject
*resultobj
;
19127 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19128 PyObject
*arg2
= (PyObject
*) 0 ;
19129 PyObject
* obj0
= 0 ;
19130 PyObject
* obj1
= 0 ;
19131 char *kwnames
[] = {
19132 (char *) "self",(char *) "clientData", NULL
19135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
19136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19137 if (SWIG_arg_fail(1)) SWIG_fail
;
19140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19141 wxToolBarToolBase_SetClientData(arg1
,arg2
);
19143 wxPyEndAllowThreads(__tstate
);
19144 if (PyErr_Occurred()) SWIG_fail
;
19146 Py_INCREF(Py_None
); resultobj
= Py_None
;
19153 static PyObject
* ToolBarToolBase_swigregister(PyObject
*, PyObject
*args
) {
19155 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19156 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
19158 return Py_BuildValue((char *)"");
19160 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19161 PyObject
*resultobj
;
19162 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19164 wxString
*arg3
= 0 ;
19165 wxBitmap
*arg4
= 0 ;
19166 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
19167 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
19168 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
19169 wxString
const &arg7_defvalue
= wxPyEmptyString
;
19170 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19171 wxString
const &arg8_defvalue
= wxPyEmptyString
;
19172 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19173 PyObject
*arg9
= (PyObject
*) NULL
;
19174 wxToolBarToolBase
*result
;
19175 bool temp3
= false ;
19176 bool temp7
= false ;
19177 bool temp8
= false ;
19178 PyObject
* obj0
= 0 ;
19179 PyObject
* obj1
= 0 ;
19180 PyObject
* obj2
= 0 ;
19181 PyObject
* obj3
= 0 ;
19182 PyObject
* obj4
= 0 ;
19183 PyObject
* obj5
= 0 ;
19184 PyObject
* obj6
= 0 ;
19185 PyObject
* obj7
= 0 ;
19186 PyObject
* obj8
= 0 ;
19187 char *kwnames
[] = {
19188 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
19192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19193 if (SWIG_arg_fail(1)) SWIG_fail
;
19195 arg2
= (int)(SWIG_As_int(obj1
));
19196 if (SWIG_arg_fail(2)) SWIG_fail
;
19199 arg3
= wxString_in_helper(obj2
);
19200 if (arg3
== NULL
) SWIG_fail
;
19204 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19205 if (SWIG_arg_fail(4)) SWIG_fail
;
19206 if (arg4
== NULL
) {
19207 SWIG_null_ref("wxBitmap");
19209 if (SWIG_arg_fail(4)) SWIG_fail
;
19213 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19214 if (SWIG_arg_fail(5)) SWIG_fail
;
19215 if (arg5
== NULL
) {
19216 SWIG_null_ref("wxBitmap");
19218 if (SWIG_arg_fail(5)) SWIG_fail
;
19223 arg6
= (wxItemKind
)(SWIG_As_int(obj5
));
19224 if (SWIG_arg_fail(6)) SWIG_fail
;
19229 arg7
= wxString_in_helper(obj6
);
19230 if (arg7
== NULL
) SWIG_fail
;
19236 arg8
= wxString_in_helper(obj7
);
19237 if (arg8
== NULL
) SWIG_fail
;
19245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19246 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
19248 wxPyEndAllowThreads(__tstate
);
19249 if (PyErr_Occurred()) SWIG_fail
;
19252 resultobj
= wxPyMake_wxObject(result
, 0);
19284 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19285 PyObject
*resultobj
;
19286 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19289 wxString
*arg4
= 0 ;
19290 wxBitmap
*arg5
= 0 ;
19291 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
19292 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
19293 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
19294 wxString
const &arg8_defvalue
= wxPyEmptyString
;
19295 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19296 wxString
const &arg9_defvalue
= wxPyEmptyString
;
19297 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
19298 PyObject
*arg10
= (PyObject
*) NULL
;
19299 wxToolBarToolBase
*result
;
19300 bool temp4
= false ;
19301 bool temp8
= false ;
19302 bool temp9
= false ;
19303 PyObject
* obj0
= 0 ;
19304 PyObject
* obj1
= 0 ;
19305 PyObject
* obj2
= 0 ;
19306 PyObject
* obj3
= 0 ;
19307 PyObject
* obj4
= 0 ;
19308 PyObject
* obj5
= 0 ;
19309 PyObject
* obj6
= 0 ;
19310 PyObject
* obj7
= 0 ;
19311 PyObject
* obj8
= 0 ;
19312 PyObject
* obj9
= 0 ;
19313 char *kwnames
[] = {
19314 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
19318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19319 if (SWIG_arg_fail(1)) SWIG_fail
;
19321 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19322 if (SWIG_arg_fail(2)) SWIG_fail
;
19325 arg3
= (int)(SWIG_As_int(obj2
));
19326 if (SWIG_arg_fail(3)) SWIG_fail
;
19329 arg4
= wxString_in_helper(obj3
);
19330 if (arg4
== NULL
) SWIG_fail
;
19334 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19335 if (SWIG_arg_fail(5)) SWIG_fail
;
19336 if (arg5
== NULL
) {
19337 SWIG_null_ref("wxBitmap");
19339 if (SWIG_arg_fail(5)) SWIG_fail
;
19343 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19344 if (SWIG_arg_fail(6)) SWIG_fail
;
19345 if (arg6
== NULL
) {
19346 SWIG_null_ref("wxBitmap");
19348 if (SWIG_arg_fail(6)) SWIG_fail
;
19353 arg7
= (wxItemKind
)(SWIG_As_int(obj6
));
19354 if (SWIG_arg_fail(7)) SWIG_fail
;
19359 arg8
= wxString_in_helper(obj7
);
19360 if (arg8
== NULL
) SWIG_fail
;
19366 arg9
= wxString_in_helper(obj8
);
19367 if (arg9
== NULL
) SWIG_fail
;
19375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19376 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
);
19378 wxPyEndAllowThreads(__tstate
);
19379 if (PyErr_Occurred()) SWIG_fail
;
19382 resultobj
= wxPyMake_wxObject(result
, 0);
19414 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19415 PyObject
*resultobj
;
19416 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19417 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
19418 wxToolBarToolBase
*result
;
19419 PyObject
* obj0
= 0 ;
19420 PyObject
* obj1
= 0 ;
19421 char *kwnames
[] = {
19422 (char *) "self",(char *) "tool", NULL
19425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
19426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19427 if (SWIG_arg_fail(1)) SWIG_fail
;
19428 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19429 if (SWIG_arg_fail(2)) SWIG_fail
;
19431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19432 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
19434 wxPyEndAllowThreads(__tstate
);
19435 if (PyErr_Occurred()) SWIG_fail
;
19438 resultobj
= wxPyMake_wxObject(result
, 0);
19446 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19447 PyObject
*resultobj
;
19448 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19450 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
19451 wxToolBarToolBase
*result
;
19452 PyObject
* obj0
= 0 ;
19453 PyObject
* obj1
= 0 ;
19454 PyObject
* obj2
= 0 ;
19455 char *kwnames
[] = {
19456 (char *) "self",(char *) "pos",(char *) "tool", NULL
19459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19461 if (SWIG_arg_fail(1)) SWIG_fail
;
19463 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19464 if (SWIG_arg_fail(2)) SWIG_fail
;
19466 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19467 if (SWIG_arg_fail(3)) SWIG_fail
;
19469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19470 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
19472 wxPyEndAllowThreads(__tstate
);
19473 if (PyErr_Occurred()) SWIG_fail
;
19476 resultobj
= wxPyMake_wxObject(result
, 0);
19484 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19485 PyObject
*resultobj
;
19486 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19487 wxControl
*arg2
= (wxControl
*) 0 ;
19488 wxToolBarToolBase
*result
;
19489 PyObject
* obj0
= 0 ;
19490 PyObject
* obj1
= 0 ;
19491 char *kwnames
[] = {
19492 (char *) "self",(char *) "control", NULL
19495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
19496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19497 if (SWIG_arg_fail(1)) SWIG_fail
;
19498 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
19499 if (SWIG_arg_fail(2)) SWIG_fail
;
19501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19502 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
19504 wxPyEndAllowThreads(__tstate
);
19505 if (PyErr_Occurred()) SWIG_fail
;
19508 resultobj
= wxPyMake_wxObject(result
, 0);
19516 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19517 PyObject
*resultobj
;
19518 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19520 wxControl
*arg3
= (wxControl
*) 0 ;
19521 wxToolBarToolBase
*result
;
19522 PyObject
* obj0
= 0 ;
19523 PyObject
* obj1
= 0 ;
19524 PyObject
* obj2
= 0 ;
19525 char *kwnames
[] = {
19526 (char *) "self",(char *) "pos",(char *) "control", NULL
19529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19531 if (SWIG_arg_fail(1)) SWIG_fail
;
19533 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19534 if (SWIG_arg_fail(2)) SWIG_fail
;
19536 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
19537 if (SWIG_arg_fail(3)) SWIG_fail
;
19539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19540 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
19542 wxPyEndAllowThreads(__tstate
);
19543 if (PyErr_Occurred()) SWIG_fail
;
19546 resultobj
= wxPyMake_wxObject(result
, 0);
19554 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19555 PyObject
*resultobj
;
19556 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19559 PyObject
* obj0
= 0 ;
19560 PyObject
* obj1
= 0 ;
19561 char *kwnames
[] = {
19562 (char *) "self",(char *) "id", NULL
19565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
19566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19567 if (SWIG_arg_fail(1)) SWIG_fail
;
19569 arg2
= (int)(SWIG_As_int(obj1
));
19570 if (SWIG_arg_fail(2)) SWIG_fail
;
19573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19574 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
19576 wxPyEndAllowThreads(__tstate
);
19577 if (PyErr_Occurred()) SWIG_fail
;
19580 resultobj
= wxPyMake_wxObject(result
, 0);
19588 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19589 PyObject
*resultobj
;
19590 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19591 wxToolBarToolBase
*result
;
19592 PyObject
* obj0
= 0 ;
19593 char *kwnames
[] = {
19594 (char *) "self", NULL
19597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
19598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19599 if (SWIG_arg_fail(1)) SWIG_fail
;
19601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19602 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
19604 wxPyEndAllowThreads(__tstate
);
19605 if (PyErr_Occurred()) SWIG_fail
;
19608 resultobj
= wxPyMake_wxObject(result
, 0);
19616 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19617 PyObject
*resultobj
;
19618 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19620 wxToolBarToolBase
*result
;
19621 PyObject
* obj0
= 0 ;
19622 PyObject
* obj1
= 0 ;
19623 char *kwnames
[] = {
19624 (char *) "self",(char *) "pos", NULL
19627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
19628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19629 if (SWIG_arg_fail(1)) SWIG_fail
;
19631 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19632 if (SWIG_arg_fail(2)) SWIG_fail
;
19635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19636 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
19638 wxPyEndAllowThreads(__tstate
);
19639 if (PyErr_Occurred()) SWIG_fail
;
19642 resultobj
= wxPyMake_wxObject(result
, 0);
19650 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19651 PyObject
*resultobj
;
19652 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19654 wxToolBarToolBase
*result
;
19655 PyObject
* obj0
= 0 ;
19656 PyObject
* obj1
= 0 ;
19657 char *kwnames
[] = {
19658 (char *) "self",(char *) "id", NULL
19661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
19662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19663 if (SWIG_arg_fail(1)) SWIG_fail
;
19665 arg2
= (int)(SWIG_As_int(obj1
));
19666 if (SWIG_arg_fail(2)) SWIG_fail
;
19669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19670 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
19672 wxPyEndAllowThreads(__tstate
);
19673 if (PyErr_Occurred()) SWIG_fail
;
19676 resultobj
= wxPyMake_wxObject(result
, 0);
19684 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19685 PyObject
*resultobj
;
19686 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19689 PyObject
* obj0
= 0 ;
19690 PyObject
* obj1
= 0 ;
19691 char *kwnames
[] = {
19692 (char *) "self",(char *) "pos", NULL
19695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
19696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19697 if (SWIG_arg_fail(1)) SWIG_fail
;
19699 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19700 if (SWIG_arg_fail(2)) SWIG_fail
;
19703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19704 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
19706 wxPyEndAllowThreads(__tstate
);
19707 if (PyErr_Occurred()) SWIG_fail
;
19710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19718 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19719 PyObject
*resultobj
;
19720 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19723 PyObject
* obj0
= 0 ;
19724 PyObject
* obj1
= 0 ;
19725 char *kwnames
[] = {
19726 (char *) "self",(char *) "id", NULL
19729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
19730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19731 if (SWIG_arg_fail(1)) SWIG_fail
;
19733 arg2
= (int)(SWIG_As_int(obj1
));
19734 if (SWIG_arg_fail(2)) SWIG_fail
;
19737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19738 result
= (bool)(arg1
)->DeleteTool(arg2
);
19740 wxPyEndAllowThreads(__tstate
);
19741 if (PyErr_Occurred()) SWIG_fail
;
19744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19752 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19753 PyObject
*resultobj
;
19754 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19755 PyObject
* obj0
= 0 ;
19756 char *kwnames
[] = {
19757 (char *) "self", NULL
19760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
19761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19762 if (SWIG_arg_fail(1)) SWIG_fail
;
19764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19765 (arg1
)->ClearTools();
19767 wxPyEndAllowThreads(__tstate
);
19768 if (PyErr_Occurred()) SWIG_fail
;
19770 Py_INCREF(Py_None
); resultobj
= Py_None
;
19777 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19778 PyObject
*resultobj
;
19779 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19781 PyObject
* obj0
= 0 ;
19782 char *kwnames
[] = {
19783 (char *) "self", NULL
19786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
19787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19788 if (SWIG_arg_fail(1)) SWIG_fail
;
19790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19791 result
= (bool)(arg1
)->Realize();
19793 wxPyEndAllowThreads(__tstate
);
19794 if (PyErr_Occurred()) SWIG_fail
;
19797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19805 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19806 PyObject
*resultobj
;
19807 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19810 PyObject
* obj0
= 0 ;
19811 PyObject
* obj1
= 0 ;
19812 PyObject
* obj2
= 0 ;
19813 char *kwnames
[] = {
19814 (char *) "self",(char *) "id",(char *) "enable", NULL
19817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19819 if (SWIG_arg_fail(1)) SWIG_fail
;
19821 arg2
= (int)(SWIG_As_int(obj1
));
19822 if (SWIG_arg_fail(2)) SWIG_fail
;
19825 arg3
= (bool)(SWIG_As_bool(obj2
));
19826 if (SWIG_arg_fail(3)) SWIG_fail
;
19829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19830 (arg1
)->EnableTool(arg2
,arg3
);
19832 wxPyEndAllowThreads(__tstate
);
19833 if (PyErr_Occurred()) SWIG_fail
;
19835 Py_INCREF(Py_None
); resultobj
= Py_None
;
19842 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19843 PyObject
*resultobj
;
19844 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19847 PyObject
* obj0
= 0 ;
19848 PyObject
* obj1
= 0 ;
19849 PyObject
* obj2
= 0 ;
19850 char *kwnames
[] = {
19851 (char *) "self",(char *) "id",(char *) "toggle", NULL
19854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) 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
= (int)(SWIG_As_int(obj1
));
19859 if (SWIG_arg_fail(2)) SWIG_fail
;
19862 arg3
= (bool)(SWIG_As_bool(obj2
));
19863 if (SWIG_arg_fail(3)) SWIG_fail
;
19866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19867 (arg1
)->ToggleTool(arg2
,arg3
);
19869 wxPyEndAllowThreads(__tstate
);
19870 if (PyErr_Occurred()) SWIG_fail
;
19872 Py_INCREF(Py_None
); resultobj
= Py_None
;
19879 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19880 PyObject
*resultobj
;
19881 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19884 PyObject
* obj0
= 0 ;
19885 PyObject
* obj1
= 0 ;
19886 PyObject
* obj2
= 0 ;
19887 char *kwnames
[] = {
19888 (char *) "self",(char *) "id",(char *) "toggle", NULL
19891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19893 if (SWIG_arg_fail(1)) SWIG_fail
;
19895 arg2
= (int)(SWIG_As_int(obj1
));
19896 if (SWIG_arg_fail(2)) SWIG_fail
;
19899 arg3
= (bool)(SWIG_As_bool(obj2
));
19900 if (SWIG_arg_fail(3)) SWIG_fail
;
19903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19904 (arg1
)->SetToggle(arg2
,arg3
);
19906 wxPyEndAllowThreads(__tstate
);
19907 if (PyErr_Occurred()) SWIG_fail
;
19909 Py_INCREF(Py_None
); resultobj
= Py_None
;
19916 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19917 PyObject
*resultobj
;
19918 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19921 PyObject
* obj0
= 0 ;
19922 PyObject
* obj1
= 0 ;
19923 char *kwnames
[] = {
19924 (char *) "self",(char *) "id", NULL
19927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
19928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19929 if (SWIG_arg_fail(1)) SWIG_fail
;
19931 arg2
= (int)(SWIG_As_int(obj1
));
19932 if (SWIG_arg_fail(2)) SWIG_fail
;
19935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19936 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
19938 wxPyEndAllowThreads(__tstate
);
19939 if (PyErr_Occurred()) SWIG_fail
;
19941 resultobj
= result
;
19948 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19949 PyObject
*resultobj
;
19950 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19952 PyObject
*arg3
= (PyObject
*) 0 ;
19953 PyObject
* obj0
= 0 ;
19954 PyObject
* obj1
= 0 ;
19955 PyObject
* obj2
= 0 ;
19956 char *kwnames
[] = {
19957 (char *) "self",(char *) "id",(char *) "clientData", NULL
19960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19962 if (SWIG_arg_fail(1)) SWIG_fail
;
19964 arg2
= (int)(SWIG_As_int(obj1
));
19965 if (SWIG_arg_fail(2)) SWIG_fail
;
19969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19970 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
19972 wxPyEndAllowThreads(__tstate
);
19973 if (PyErr_Occurred()) SWIG_fail
;
19975 Py_INCREF(Py_None
); resultobj
= Py_None
;
19982 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19983 PyObject
*resultobj
;
19984 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19987 PyObject
* obj0
= 0 ;
19988 PyObject
* obj1
= 0 ;
19989 char *kwnames
[] = {
19990 (char *) "self",(char *) "id", NULL
19993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
19994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19995 if (SWIG_arg_fail(1)) SWIG_fail
;
19997 arg2
= (int)(SWIG_As_int(obj1
));
19998 if (SWIG_arg_fail(2)) SWIG_fail
;
20001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20002 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
20004 wxPyEndAllowThreads(__tstate
);
20005 if (PyErr_Occurred()) SWIG_fail
;
20008 resultobj
= SWIG_From_int((int)(result
));
20016 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20017 PyObject
*resultobj
;
20018 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20021 PyObject
* obj0
= 0 ;
20022 PyObject
* obj1
= 0 ;
20023 char *kwnames
[] = {
20024 (char *) "self",(char *) "id", NULL
20027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
20028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20029 if (SWIG_arg_fail(1)) SWIG_fail
;
20031 arg2
= (int)(SWIG_As_int(obj1
));
20032 if (SWIG_arg_fail(2)) SWIG_fail
;
20035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20036 result
= (bool)(arg1
)->GetToolState(arg2
);
20038 wxPyEndAllowThreads(__tstate
);
20039 if (PyErr_Occurred()) SWIG_fail
;
20042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20050 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20051 PyObject
*resultobj
;
20052 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20055 PyObject
* obj0
= 0 ;
20056 PyObject
* obj1
= 0 ;
20057 char *kwnames
[] = {
20058 (char *) "self",(char *) "id", NULL
20061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
20062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20063 if (SWIG_arg_fail(1)) SWIG_fail
;
20065 arg2
= (int)(SWIG_As_int(obj1
));
20066 if (SWIG_arg_fail(2)) SWIG_fail
;
20069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20070 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
20072 wxPyEndAllowThreads(__tstate
);
20073 if (PyErr_Occurred()) SWIG_fail
;
20076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20084 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20085 PyObject
*resultobj
;
20086 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20088 wxString
*arg3
= 0 ;
20089 bool temp3
= false ;
20090 PyObject
* obj0
= 0 ;
20091 PyObject
* obj1
= 0 ;
20092 PyObject
* obj2
= 0 ;
20093 char *kwnames
[] = {
20094 (char *) "self",(char *) "id",(char *) "helpString", NULL
20097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20099 if (SWIG_arg_fail(1)) SWIG_fail
;
20101 arg2
= (int)(SWIG_As_int(obj1
));
20102 if (SWIG_arg_fail(2)) SWIG_fail
;
20105 arg3
= wxString_in_helper(obj2
);
20106 if (arg3
== NULL
) SWIG_fail
;
20110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20111 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
20113 wxPyEndAllowThreads(__tstate
);
20114 if (PyErr_Occurred()) SWIG_fail
;
20116 Py_INCREF(Py_None
); resultobj
= Py_None
;
20131 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20132 PyObject
*resultobj
;
20133 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20136 PyObject
* obj0
= 0 ;
20137 PyObject
* obj1
= 0 ;
20138 char *kwnames
[] = {
20139 (char *) "self",(char *) "id", NULL
20142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20144 if (SWIG_arg_fail(1)) SWIG_fail
;
20146 arg2
= (int)(SWIG_As_int(obj1
));
20147 if (SWIG_arg_fail(2)) SWIG_fail
;
20150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20151 result
= (arg1
)->GetToolShortHelp(arg2
);
20153 wxPyEndAllowThreads(__tstate
);
20154 if (PyErr_Occurred()) SWIG_fail
;
20158 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20160 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20169 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20170 PyObject
*resultobj
;
20171 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20173 wxString
*arg3
= 0 ;
20174 bool temp3
= false ;
20175 PyObject
* obj0
= 0 ;
20176 PyObject
* obj1
= 0 ;
20177 PyObject
* obj2
= 0 ;
20178 char *kwnames
[] = {
20179 (char *) "self",(char *) "id",(char *) "helpString", NULL
20182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20184 if (SWIG_arg_fail(1)) SWIG_fail
;
20186 arg2
= (int)(SWIG_As_int(obj1
));
20187 if (SWIG_arg_fail(2)) SWIG_fail
;
20190 arg3
= wxString_in_helper(obj2
);
20191 if (arg3
== NULL
) SWIG_fail
;
20195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20196 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
20198 wxPyEndAllowThreads(__tstate
);
20199 if (PyErr_Occurred()) SWIG_fail
;
20201 Py_INCREF(Py_None
); resultobj
= Py_None
;
20216 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20217 PyObject
*resultobj
;
20218 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20221 PyObject
* obj0
= 0 ;
20222 PyObject
* obj1
= 0 ;
20223 char *kwnames
[] = {
20224 (char *) "self",(char *) "id", NULL
20227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20229 if (SWIG_arg_fail(1)) SWIG_fail
;
20231 arg2
= (int)(SWIG_As_int(obj1
));
20232 if (SWIG_arg_fail(2)) SWIG_fail
;
20235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20236 result
= (arg1
)->GetToolLongHelp(arg2
);
20238 wxPyEndAllowThreads(__tstate
);
20239 if (PyErr_Occurred()) SWIG_fail
;
20243 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20245 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20254 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20255 PyObject
*resultobj
;
20256 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20259 PyObject
* obj0
= 0 ;
20260 PyObject
* obj1
= 0 ;
20261 PyObject
* obj2
= 0 ;
20262 char *kwnames
[] = {
20263 (char *) "self",(char *) "x",(char *) "y", NULL
20266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20268 if (SWIG_arg_fail(1)) SWIG_fail
;
20270 arg2
= (int)(SWIG_As_int(obj1
));
20271 if (SWIG_arg_fail(2)) SWIG_fail
;
20274 arg3
= (int)(SWIG_As_int(obj2
));
20275 if (SWIG_arg_fail(3)) SWIG_fail
;
20278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20279 (arg1
)->SetMargins(arg2
,arg3
);
20281 wxPyEndAllowThreads(__tstate
);
20282 if (PyErr_Occurred()) SWIG_fail
;
20284 Py_INCREF(Py_None
); resultobj
= Py_None
;
20291 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20292 PyObject
*resultobj
;
20293 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20296 PyObject
* obj0
= 0 ;
20297 PyObject
* obj1
= 0 ;
20298 char *kwnames
[] = {
20299 (char *) "self",(char *) "size", NULL
20302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
20303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20304 if (SWIG_arg_fail(1)) SWIG_fail
;
20307 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20311 (arg1
)->SetMargins((wxSize
const &)*arg2
);
20313 wxPyEndAllowThreads(__tstate
);
20314 if (PyErr_Occurred()) SWIG_fail
;
20316 Py_INCREF(Py_None
); resultobj
= Py_None
;
20323 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20324 PyObject
*resultobj
;
20325 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20327 PyObject
* obj0
= 0 ;
20328 PyObject
* obj1
= 0 ;
20329 char *kwnames
[] = {
20330 (char *) "self",(char *) "packing", NULL
20333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
20334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20335 if (SWIG_arg_fail(1)) SWIG_fail
;
20337 arg2
= (int)(SWIG_As_int(obj1
));
20338 if (SWIG_arg_fail(2)) SWIG_fail
;
20341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20342 (arg1
)->SetToolPacking(arg2
);
20344 wxPyEndAllowThreads(__tstate
);
20345 if (PyErr_Occurred()) SWIG_fail
;
20347 Py_INCREF(Py_None
); resultobj
= Py_None
;
20354 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20355 PyObject
*resultobj
;
20356 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20358 PyObject
* obj0
= 0 ;
20359 PyObject
* obj1
= 0 ;
20360 char *kwnames
[] = {
20361 (char *) "self",(char *) "separation", NULL
20364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
20365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20366 if (SWIG_arg_fail(1)) SWIG_fail
;
20368 arg2
= (int)(SWIG_As_int(obj1
));
20369 if (SWIG_arg_fail(2)) SWIG_fail
;
20372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20373 (arg1
)->SetToolSeparation(arg2
);
20375 wxPyEndAllowThreads(__tstate
);
20376 if (PyErr_Occurred()) SWIG_fail
;
20378 Py_INCREF(Py_None
); resultobj
= Py_None
;
20385 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20386 PyObject
*resultobj
;
20387 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20389 PyObject
* obj0
= 0 ;
20390 char *kwnames
[] = {
20391 (char *) "self", NULL
20394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
20395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20396 if (SWIG_arg_fail(1)) SWIG_fail
;
20398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20399 result
= (arg1
)->GetToolMargins();
20401 wxPyEndAllowThreads(__tstate
);
20402 if (PyErr_Occurred()) SWIG_fail
;
20405 wxSize
* resultptr
;
20406 resultptr
= new wxSize((wxSize
&)(result
));
20407 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20415 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20416 PyObject
*resultobj
;
20417 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20419 PyObject
* obj0
= 0 ;
20420 char *kwnames
[] = {
20421 (char *) "self", NULL
20424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
20425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20426 if (SWIG_arg_fail(1)) SWIG_fail
;
20428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20429 result
= (arg1
)->GetMargins();
20431 wxPyEndAllowThreads(__tstate
);
20432 if (PyErr_Occurred()) SWIG_fail
;
20435 wxSize
* resultptr
;
20436 resultptr
= new wxSize((wxSize
&)(result
));
20437 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20445 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20446 PyObject
*resultobj
;
20447 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20449 PyObject
* obj0
= 0 ;
20450 char *kwnames
[] = {
20451 (char *) "self", NULL
20454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20459 result
= (int)(arg1
)->GetToolPacking();
20461 wxPyEndAllowThreads(__tstate
);
20462 if (PyErr_Occurred()) SWIG_fail
;
20465 resultobj
= SWIG_From_int((int)(result
));
20473 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20474 PyObject
*resultobj
;
20475 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20477 PyObject
* obj0
= 0 ;
20478 char *kwnames
[] = {
20479 (char *) "self", NULL
20482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
20483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20484 if (SWIG_arg_fail(1)) SWIG_fail
;
20486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20487 result
= (int)(arg1
)->GetToolSeparation();
20489 wxPyEndAllowThreads(__tstate
);
20490 if (PyErr_Occurred()) SWIG_fail
;
20493 resultobj
= SWIG_From_int((int)(result
));
20501 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20502 PyObject
*resultobj
;
20503 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20505 PyObject
* obj0
= 0 ;
20506 PyObject
* obj1
= 0 ;
20507 char *kwnames
[] = {
20508 (char *) "self",(char *) "nRows", NULL
20511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
20512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20513 if (SWIG_arg_fail(1)) SWIG_fail
;
20515 arg2
= (int)(SWIG_As_int(obj1
));
20516 if (SWIG_arg_fail(2)) SWIG_fail
;
20519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20520 (arg1
)->SetRows(arg2
);
20522 wxPyEndAllowThreads(__tstate
);
20523 if (PyErr_Occurred()) SWIG_fail
;
20525 Py_INCREF(Py_None
); resultobj
= Py_None
;
20532 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20533 PyObject
*resultobj
;
20534 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20537 PyObject
* obj0
= 0 ;
20538 PyObject
* obj1
= 0 ;
20539 PyObject
* obj2
= 0 ;
20540 char *kwnames
[] = {
20541 (char *) "self",(char *) "rows",(char *) "cols", NULL
20544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20546 if (SWIG_arg_fail(1)) SWIG_fail
;
20548 arg2
= (int)(SWIG_As_int(obj1
));
20549 if (SWIG_arg_fail(2)) SWIG_fail
;
20552 arg3
= (int)(SWIG_As_int(obj2
));
20553 if (SWIG_arg_fail(3)) SWIG_fail
;
20556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20557 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
20559 wxPyEndAllowThreads(__tstate
);
20560 if (PyErr_Occurred()) SWIG_fail
;
20562 Py_INCREF(Py_None
); resultobj
= Py_None
;
20569 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20570 PyObject
*resultobj
;
20571 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20573 PyObject
* obj0
= 0 ;
20574 char *kwnames
[] = {
20575 (char *) "self", NULL
20578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
20579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20580 if (SWIG_arg_fail(1)) SWIG_fail
;
20582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20583 result
= (int)(arg1
)->GetMaxRows();
20585 wxPyEndAllowThreads(__tstate
);
20586 if (PyErr_Occurred()) SWIG_fail
;
20589 resultobj
= SWIG_From_int((int)(result
));
20597 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20598 PyObject
*resultobj
;
20599 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20601 PyObject
* obj0
= 0 ;
20602 char *kwnames
[] = {
20603 (char *) "self", NULL
20606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
20607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20608 if (SWIG_arg_fail(1)) SWIG_fail
;
20610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20611 result
= (int)(arg1
)->GetMaxCols();
20613 wxPyEndAllowThreads(__tstate
);
20614 if (PyErr_Occurred()) SWIG_fail
;
20617 resultobj
= SWIG_From_int((int)(result
));
20625 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20626 PyObject
*resultobj
;
20627 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20630 PyObject
* obj0
= 0 ;
20631 PyObject
* obj1
= 0 ;
20632 char *kwnames
[] = {
20633 (char *) "self",(char *) "size", NULL
20636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20638 if (SWIG_arg_fail(1)) SWIG_fail
;
20641 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20645 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
20647 wxPyEndAllowThreads(__tstate
);
20648 if (PyErr_Occurred()) SWIG_fail
;
20650 Py_INCREF(Py_None
); resultobj
= Py_None
;
20657 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20658 PyObject
*resultobj
;
20659 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20661 PyObject
* obj0
= 0 ;
20662 char *kwnames
[] = {
20663 (char *) "self", NULL
20666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
20667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20668 if (SWIG_arg_fail(1)) SWIG_fail
;
20670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20671 result
= (arg1
)->GetToolBitmapSize();
20673 wxPyEndAllowThreads(__tstate
);
20674 if (PyErr_Occurred()) SWIG_fail
;
20677 wxSize
* resultptr
;
20678 resultptr
= new wxSize((wxSize
&)(result
));
20679 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20687 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20688 PyObject
*resultobj
;
20689 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20691 PyObject
* obj0
= 0 ;
20692 char *kwnames
[] = {
20693 (char *) "self", NULL
20696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
20697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20698 if (SWIG_arg_fail(1)) SWIG_fail
;
20700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20701 result
= (arg1
)->GetToolSize();
20703 wxPyEndAllowThreads(__tstate
);
20704 if (PyErr_Occurred()) SWIG_fail
;
20707 wxSize
* resultptr
;
20708 resultptr
= new wxSize((wxSize
&)(result
));
20709 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20717 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20718 PyObject
*resultobj
;
20719 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20722 wxToolBarToolBase
*result
;
20723 PyObject
* obj0
= 0 ;
20724 PyObject
* obj1
= 0 ;
20725 PyObject
* obj2
= 0 ;
20726 char *kwnames
[] = {
20727 (char *) "self",(char *) "x",(char *) "y", NULL
20730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20732 if (SWIG_arg_fail(1)) SWIG_fail
;
20734 arg2
= (int)(SWIG_As_int(obj1
));
20735 if (SWIG_arg_fail(2)) SWIG_fail
;
20738 arg3
= (int)(SWIG_As_int(obj2
));
20739 if (SWIG_arg_fail(3)) SWIG_fail
;
20742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20743 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
20745 wxPyEndAllowThreads(__tstate
);
20746 if (PyErr_Occurred()) SWIG_fail
;
20749 resultobj
= wxPyMake_wxObject(result
, 0);
20757 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20758 PyObject
*resultobj
;
20759 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20761 wxToolBarToolBase
*result
;
20762 PyObject
* obj0
= 0 ;
20763 PyObject
* obj1
= 0 ;
20764 char *kwnames
[] = {
20765 (char *) "self",(char *) "toolid", NULL
20768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
20769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20770 if (SWIG_arg_fail(1)) SWIG_fail
;
20772 arg2
= (int)(SWIG_As_int(obj1
));
20773 if (SWIG_arg_fail(2)) SWIG_fail
;
20776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20777 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
20779 wxPyEndAllowThreads(__tstate
);
20780 if (PyErr_Occurred()) SWIG_fail
;
20783 resultobj
= wxPyMake_wxObject(result
, 0);
20791 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20792 PyObject
*resultobj
;
20793 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20795 PyObject
* obj0
= 0 ;
20796 char *kwnames
[] = {
20797 (char *) "self", NULL
20800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
20801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20802 if (SWIG_arg_fail(1)) SWIG_fail
;
20804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20805 result
= (bool)(arg1
)->IsVertical();
20807 wxPyEndAllowThreads(__tstate
);
20808 if (PyErr_Occurred()) SWIG_fail
;
20811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20819 static PyObject
* ToolBarBase_swigregister(PyObject
*, PyObject
*args
) {
20821 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20822 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
20824 return Py_BuildValue((char *)"");
20826 static PyObject
*_wrap_new_ToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20827 PyObject
*resultobj
;
20828 wxWindow
*arg1
= (wxWindow
*) 0 ;
20829 int arg2
= (int) -1 ;
20830 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20831 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20832 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20833 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20834 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
20835 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
20836 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20840 bool temp6
= false ;
20841 PyObject
* obj0
= 0 ;
20842 PyObject
* obj1
= 0 ;
20843 PyObject
* obj2
= 0 ;
20844 PyObject
* obj3
= 0 ;
20845 PyObject
* obj4
= 0 ;
20846 PyObject
* obj5
= 0 ;
20847 char *kwnames
[] = {
20848 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20853 if (SWIG_arg_fail(1)) SWIG_fail
;
20856 arg2
= (int)(SWIG_As_int(obj1
));
20857 if (SWIG_arg_fail(2)) SWIG_fail
;
20863 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20869 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20874 arg5
= (long)(SWIG_As_long(obj4
));
20875 if (SWIG_arg_fail(5)) SWIG_fail
;
20880 arg6
= wxString_in_helper(obj5
);
20881 if (arg6
== NULL
) SWIG_fail
;
20886 if (!wxPyCheckForApp()) SWIG_fail
;
20887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20888 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20890 wxPyEndAllowThreads(__tstate
);
20891 if (PyErr_Occurred()) SWIG_fail
;
20893 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
20908 static PyObject
*_wrap_new_PreToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20909 PyObject
*resultobj
;
20911 char *kwnames
[] = {
20915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
20917 if (!wxPyCheckForApp()) SWIG_fail
;
20918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20919 result
= (wxToolBar
*)new wxToolBar();
20921 wxPyEndAllowThreads(__tstate
);
20922 if (PyErr_Occurred()) SWIG_fail
;
20924 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
20931 static PyObject
*_wrap_ToolBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20932 PyObject
*resultobj
;
20933 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
20934 wxWindow
*arg2
= (wxWindow
*) 0 ;
20935 int arg3
= (int) -1 ;
20936 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20937 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20938 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20939 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20940 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
20941 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
20942 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20946 bool temp7
= false ;
20947 PyObject
* obj0
= 0 ;
20948 PyObject
* obj1
= 0 ;
20949 PyObject
* obj2
= 0 ;
20950 PyObject
* obj3
= 0 ;
20951 PyObject
* obj4
= 0 ;
20952 PyObject
* obj5
= 0 ;
20953 PyObject
* obj6
= 0 ;
20954 char *kwnames
[] = {
20955 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
20959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
20960 if (SWIG_arg_fail(1)) SWIG_fail
;
20961 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20962 if (SWIG_arg_fail(2)) SWIG_fail
;
20965 arg3
= (int)(SWIG_As_int(obj2
));
20966 if (SWIG_arg_fail(3)) SWIG_fail
;
20972 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20978 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20983 arg6
= (long)(SWIG_As_long(obj5
));
20984 if (SWIG_arg_fail(6)) SWIG_fail
;
20989 arg7
= wxString_in_helper(obj6
);
20990 if (arg7
== NULL
) SWIG_fail
;
20995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20996 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20998 wxPyEndAllowThreads(__tstate
);
20999 if (PyErr_Occurred()) SWIG_fail
;
21002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21018 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21019 PyObject
*resultobj
;
21020 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
21023 wxToolBarToolBase
*result
;
21024 PyObject
* obj0
= 0 ;
21025 PyObject
* obj1
= 0 ;
21026 PyObject
* obj2
= 0 ;
21027 char *kwnames
[] = {
21028 (char *) "self",(char *) "x",(char *) "y", NULL
21031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
21033 if (SWIG_arg_fail(1)) SWIG_fail
;
21035 arg2
= (int)(SWIG_As_int(obj1
));
21036 if (SWIG_arg_fail(2)) SWIG_fail
;
21039 arg3
= (int)(SWIG_As_int(obj2
));
21040 if (SWIG_arg_fail(3)) SWIG_fail
;
21043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21044 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
21046 wxPyEndAllowThreads(__tstate
);
21047 if (PyErr_Occurred()) SWIG_fail
;
21050 resultobj
= wxPyMake_wxObject(result
, 0);
21058 static PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21059 PyObject
*resultobj
;
21060 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
21061 wxVisualAttributes result
;
21062 PyObject
* obj0
= 0 ;
21063 char *kwnames
[] = {
21064 (char *) "variant", NULL
21067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
21070 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
21071 if (SWIG_arg_fail(1)) SWIG_fail
;
21075 if (!wxPyCheckForApp()) SWIG_fail
;
21076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21077 result
= wxToolBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
21079 wxPyEndAllowThreads(__tstate
);
21080 if (PyErr_Occurred()) SWIG_fail
;
21083 wxVisualAttributes
* resultptr
;
21084 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
21085 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
21093 static PyObject
* ToolBar_swigregister(PyObject
*, PyObject
*args
) {
21095 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21096 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
21098 return Py_BuildValue((char *)"");
21100 static int _wrap_ListCtrlNameStr_set(PyObject
*) {
21101 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
21106 static PyObject
*_wrap_ListCtrlNameStr_get(void) {
21111 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
21113 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
21120 static PyObject
*_wrap_new_ListItemAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21121 PyObject
*resultobj
;
21122 wxColour
const &arg1_defvalue
= wxNullColour
;
21123 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
21124 wxColour
const &arg2_defvalue
= wxNullColour
;
21125 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
21126 wxFont
const &arg3_defvalue
= wxNullFont
;
21127 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
21128 wxListItemAttr
*result
;
21131 PyObject
* obj0
= 0 ;
21132 PyObject
* obj1
= 0 ;
21133 PyObject
* obj2
= 0 ;
21134 char *kwnames
[] = {
21135 (char *) "colText",(char *) "colBack",(char *) "font", NULL
21138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21142 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
21148 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21153 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
21154 if (SWIG_arg_fail(3)) SWIG_fail
;
21155 if (arg3
== NULL
) {
21156 SWIG_null_ref("wxFont");
21158 if (SWIG_arg_fail(3)) SWIG_fail
;
21162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21163 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
21165 wxPyEndAllowThreads(__tstate
);
21166 if (PyErr_Occurred()) SWIG_fail
;
21168 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
21175 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21176 PyObject
*resultobj
;
21177 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21178 wxColour
*arg2
= 0 ;
21180 PyObject
* obj0
= 0 ;
21181 PyObject
* obj1
= 0 ;
21182 char *kwnames
[] = {
21183 (char *) "self",(char *) "colText", NULL
21186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21188 if (SWIG_arg_fail(1)) SWIG_fail
;
21191 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21195 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
21197 wxPyEndAllowThreads(__tstate
);
21198 if (PyErr_Occurred()) SWIG_fail
;
21200 Py_INCREF(Py_None
); resultobj
= Py_None
;
21207 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21208 PyObject
*resultobj
;
21209 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21210 wxColour
*arg2
= 0 ;
21212 PyObject
* obj0
= 0 ;
21213 PyObject
* obj1
= 0 ;
21214 char *kwnames
[] = {
21215 (char *) "self",(char *) "colBack", NULL
21218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21220 if (SWIG_arg_fail(1)) SWIG_fail
;
21223 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21227 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
21229 wxPyEndAllowThreads(__tstate
);
21230 if (PyErr_Occurred()) SWIG_fail
;
21232 Py_INCREF(Py_None
); resultobj
= Py_None
;
21239 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21240 PyObject
*resultobj
;
21241 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21243 PyObject
* obj0
= 0 ;
21244 PyObject
* obj1
= 0 ;
21245 char *kwnames
[] = {
21246 (char *) "self",(char *) "font", NULL
21249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
21250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21251 if (SWIG_arg_fail(1)) SWIG_fail
;
21253 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
21254 if (SWIG_arg_fail(2)) SWIG_fail
;
21255 if (arg2
== NULL
) {
21256 SWIG_null_ref("wxFont");
21258 if (SWIG_arg_fail(2)) SWIG_fail
;
21261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21262 (arg1
)->SetFont((wxFont
const &)*arg2
);
21264 wxPyEndAllowThreads(__tstate
);
21265 if (PyErr_Occurred()) SWIG_fail
;
21267 Py_INCREF(Py_None
); resultobj
= Py_None
;
21274 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21275 PyObject
*resultobj
;
21276 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21278 PyObject
* obj0
= 0 ;
21279 char *kwnames
[] = {
21280 (char *) "self", NULL
21283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
21284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21285 if (SWIG_arg_fail(1)) SWIG_fail
;
21287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21288 result
= (bool)(arg1
)->HasTextColour();
21290 wxPyEndAllowThreads(__tstate
);
21291 if (PyErr_Occurred()) SWIG_fail
;
21294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21302 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21303 PyObject
*resultobj
;
21304 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21306 PyObject
* obj0
= 0 ;
21307 char *kwnames
[] = {
21308 (char *) "self", NULL
21311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
21312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21313 if (SWIG_arg_fail(1)) SWIG_fail
;
21315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21316 result
= (bool)(arg1
)->HasBackgroundColour();
21318 wxPyEndAllowThreads(__tstate
);
21319 if (PyErr_Occurred()) SWIG_fail
;
21322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21330 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21331 PyObject
*resultobj
;
21332 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21334 PyObject
* obj0
= 0 ;
21335 char *kwnames
[] = {
21336 (char *) "self", NULL
21339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
21340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21341 if (SWIG_arg_fail(1)) SWIG_fail
;
21343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21344 result
= (bool)(arg1
)->HasFont();
21346 wxPyEndAllowThreads(__tstate
);
21347 if (PyErr_Occurred()) SWIG_fail
;
21350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21358 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21359 PyObject
*resultobj
;
21360 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21362 PyObject
* obj0
= 0 ;
21363 char *kwnames
[] = {
21364 (char *) "self", NULL
21367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
21368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21369 if (SWIG_arg_fail(1)) SWIG_fail
;
21371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21372 result
= (arg1
)->GetTextColour();
21374 wxPyEndAllowThreads(__tstate
);
21375 if (PyErr_Occurred()) SWIG_fail
;
21378 wxColour
* resultptr
;
21379 resultptr
= new wxColour((wxColour
&)(result
));
21380 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21388 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21389 PyObject
*resultobj
;
21390 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21392 PyObject
* obj0
= 0 ;
21393 char *kwnames
[] = {
21394 (char *) "self", NULL
21397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
21398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21399 if (SWIG_arg_fail(1)) SWIG_fail
;
21401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21402 result
= (arg1
)->GetBackgroundColour();
21404 wxPyEndAllowThreads(__tstate
);
21405 if (PyErr_Occurred()) SWIG_fail
;
21408 wxColour
* resultptr
;
21409 resultptr
= new wxColour((wxColour
&)(result
));
21410 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21418 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21419 PyObject
*resultobj
;
21420 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21422 PyObject
* obj0
= 0 ;
21423 char *kwnames
[] = {
21424 (char *) "self", NULL
21427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
21428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21429 if (SWIG_arg_fail(1)) SWIG_fail
;
21431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21432 result
= (arg1
)->GetFont();
21434 wxPyEndAllowThreads(__tstate
);
21435 if (PyErr_Occurred()) SWIG_fail
;
21438 wxFont
* resultptr
;
21439 resultptr
= new wxFont((wxFont
&)(result
));
21440 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
21448 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21449 PyObject
*resultobj
;
21450 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21451 PyObject
* obj0
= 0 ;
21452 char *kwnames
[] = {
21453 (char *) "self", NULL
21456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
21457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21458 if (SWIG_arg_fail(1)) SWIG_fail
;
21460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21461 wxListItemAttr_Destroy(arg1
);
21463 wxPyEndAllowThreads(__tstate
);
21464 if (PyErr_Occurred()) SWIG_fail
;
21466 Py_INCREF(Py_None
); resultobj
= Py_None
;
21473 static PyObject
* ListItemAttr_swigregister(PyObject
*, PyObject
*args
) {
21475 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21476 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
21478 return Py_BuildValue((char *)"");
21480 static PyObject
*_wrap_new_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21481 PyObject
*resultobj
;
21482 wxListItem
*result
;
21483 char *kwnames
[] = {
21487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
21489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21490 result
= (wxListItem
*)new wxListItem();
21492 wxPyEndAllowThreads(__tstate
);
21493 if (PyErr_Occurred()) SWIG_fail
;
21496 resultobj
= wxPyMake_wxObject(result
, 1);
21504 static PyObject
*_wrap_delete_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21505 PyObject
*resultobj
;
21506 wxListItem
*arg1
= (wxListItem
*) 0 ;
21507 PyObject
* obj0
= 0 ;
21508 char *kwnames
[] = {
21509 (char *) "self", NULL
21512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
21513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21514 if (SWIG_arg_fail(1)) SWIG_fail
;
21516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21519 wxPyEndAllowThreads(__tstate
);
21520 if (PyErr_Occurred()) SWIG_fail
;
21522 Py_INCREF(Py_None
); resultobj
= Py_None
;
21529 static PyObject
*_wrap_ListItem_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21530 PyObject
*resultobj
;
21531 wxListItem
*arg1
= (wxListItem
*) 0 ;
21532 PyObject
* obj0
= 0 ;
21533 char *kwnames
[] = {
21534 (char *) "self", NULL
21537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
21538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21539 if (SWIG_arg_fail(1)) SWIG_fail
;
21541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21544 wxPyEndAllowThreads(__tstate
);
21545 if (PyErr_Occurred()) SWIG_fail
;
21547 Py_INCREF(Py_None
); resultobj
= Py_None
;
21554 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21555 PyObject
*resultobj
;
21556 wxListItem
*arg1
= (wxListItem
*) 0 ;
21557 PyObject
* obj0
= 0 ;
21558 char *kwnames
[] = {
21559 (char *) "self", NULL
21562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
21563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21564 if (SWIG_arg_fail(1)) SWIG_fail
;
21566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21567 (arg1
)->ClearAttributes();
21569 wxPyEndAllowThreads(__tstate
);
21570 if (PyErr_Occurred()) SWIG_fail
;
21572 Py_INCREF(Py_None
); resultobj
= Py_None
;
21579 static PyObject
*_wrap_ListItem_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21580 PyObject
*resultobj
;
21581 wxListItem
*arg1
= (wxListItem
*) 0 ;
21583 PyObject
* obj0
= 0 ;
21584 PyObject
* obj1
= 0 ;
21585 char *kwnames
[] = {
21586 (char *) "self",(char *) "mask", NULL
21589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
21590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21591 if (SWIG_arg_fail(1)) SWIG_fail
;
21593 arg2
= (long)(SWIG_As_long(obj1
));
21594 if (SWIG_arg_fail(2)) SWIG_fail
;
21597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21598 (arg1
)->SetMask(arg2
);
21600 wxPyEndAllowThreads(__tstate
);
21601 if (PyErr_Occurred()) SWIG_fail
;
21603 Py_INCREF(Py_None
); resultobj
= Py_None
;
21610 static PyObject
*_wrap_ListItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21611 PyObject
*resultobj
;
21612 wxListItem
*arg1
= (wxListItem
*) 0 ;
21614 PyObject
* obj0
= 0 ;
21615 PyObject
* obj1
= 0 ;
21616 char *kwnames
[] = {
21617 (char *) "self",(char *) "id", NULL
21620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
21621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21622 if (SWIG_arg_fail(1)) SWIG_fail
;
21624 arg2
= (long)(SWIG_As_long(obj1
));
21625 if (SWIG_arg_fail(2)) SWIG_fail
;
21628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21629 (arg1
)->SetId(arg2
);
21631 wxPyEndAllowThreads(__tstate
);
21632 if (PyErr_Occurred()) SWIG_fail
;
21634 Py_INCREF(Py_None
); resultobj
= Py_None
;
21641 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21642 PyObject
*resultobj
;
21643 wxListItem
*arg1
= (wxListItem
*) 0 ;
21645 PyObject
* obj0
= 0 ;
21646 PyObject
* obj1
= 0 ;
21647 char *kwnames
[] = {
21648 (char *) "self",(char *) "col", NULL
21651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21653 if (SWIG_arg_fail(1)) SWIG_fail
;
21655 arg2
= (int)(SWIG_As_int(obj1
));
21656 if (SWIG_arg_fail(2)) SWIG_fail
;
21659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21660 (arg1
)->SetColumn(arg2
);
21662 wxPyEndAllowThreads(__tstate
);
21663 if (PyErr_Occurred()) SWIG_fail
;
21665 Py_INCREF(Py_None
); resultobj
= Py_None
;
21672 static PyObject
*_wrap_ListItem_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21673 PyObject
*resultobj
;
21674 wxListItem
*arg1
= (wxListItem
*) 0 ;
21676 PyObject
* obj0
= 0 ;
21677 PyObject
* obj1
= 0 ;
21678 char *kwnames
[] = {
21679 (char *) "self",(char *) "state", NULL
21682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
21683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21684 if (SWIG_arg_fail(1)) SWIG_fail
;
21686 arg2
= (long)(SWIG_As_long(obj1
));
21687 if (SWIG_arg_fail(2)) SWIG_fail
;
21690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21691 (arg1
)->SetState(arg2
);
21693 wxPyEndAllowThreads(__tstate
);
21694 if (PyErr_Occurred()) SWIG_fail
;
21696 Py_INCREF(Py_None
); resultobj
= Py_None
;
21703 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21704 PyObject
*resultobj
;
21705 wxListItem
*arg1
= (wxListItem
*) 0 ;
21707 PyObject
* obj0
= 0 ;
21708 PyObject
* obj1
= 0 ;
21709 char *kwnames
[] = {
21710 (char *) "self",(char *) "stateMask", NULL
21713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
21714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21715 if (SWIG_arg_fail(1)) SWIG_fail
;
21717 arg2
= (long)(SWIG_As_long(obj1
));
21718 if (SWIG_arg_fail(2)) SWIG_fail
;
21721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21722 (arg1
)->SetStateMask(arg2
);
21724 wxPyEndAllowThreads(__tstate
);
21725 if (PyErr_Occurred()) SWIG_fail
;
21727 Py_INCREF(Py_None
); resultobj
= Py_None
;
21734 static PyObject
*_wrap_ListItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21735 PyObject
*resultobj
;
21736 wxListItem
*arg1
= (wxListItem
*) 0 ;
21737 wxString
*arg2
= 0 ;
21738 bool temp2
= false ;
21739 PyObject
* obj0
= 0 ;
21740 PyObject
* obj1
= 0 ;
21741 char *kwnames
[] = {
21742 (char *) "self",(char *) "text", NULL
21745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
21746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21747 if (SWIG_arg_fail(1)) SWIG_fail
;
21749 arg2
= wxString_in_helper(obj1
);
21750 if (arg2
== NULL
) SWIG_fail
;
21754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21755 (arg1
)->SetText((wxString
const &)*arg2
);
21757 wxPyEndAllowThreads(__tstate
);
21758 if (PyErr_Occurred()) SWIG_fail
;
21760 Py_INCREF(Py_None
); resultobj
= Py_None
;
21775 static PyObject
*_wrap_ListItem_SetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21776 PyObject
*resultobj
;
21777 wxListItem
*arg1
= (wxListItem
*) 0 ;
21779 PyObject
* obj0
= 0 ;
21780 PyObject
* obj1
= 0 ;
21781 char *kwnames
[] = {
21782 (char *) "self",(char *) "image", NULL
21785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
21786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21787 if (SWIG_arg_fail(1)) SWIG_fail
;
21789 arg2
= (int)(SWIG_As_int(obj1
));
21790 if (SWIG_arg_fail(2)) SWIG_fail
;
21793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21794 (arg1
)->SetImage(arg2
);
21796 wxPyEndAllowThreads(__tstate
);
21797 if (PyErr_Occurred()) SWIG_fail
;
21799 Py_INCREF(Py_None
); resultobj
= Py_None
;
21806 static PyObject
*_wrap_ListItem_SetData(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 *) "data", NULL
21816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",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
)->SetData(arg2
);
21827 wxPyEndAllowThreads(__tstate
);
21828 if (PyErr_Occurred()) SWIG_fail
;
21830 Py_INCREF(Py_None
); resultobj
= Py_None
;
21837 static PyObject
*_wrap_ListItem_SetWidth(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 *) "width", NULL
21847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",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
= (int)(SWIG_As_int(obj1
));
21852 if (SWIG_arg_fail(2)) SWIG_fail
;
21855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21856 (arg1
)->SetWidth(arg2
);
21858 wxPyEndAllowThreads(__tstate
);
21859 if (PyErr_Occurred()) SWIG_fail
;
21861 Py_INCREF(Py_None
); resultobj
= Py_None
;
21868 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21869 PyObject
*resultobj
;
21870 wxListItem
*arg1
= (wxListItem
*) 0 ;
21871 wxListColumnFormat arg2
;
21872 PyObject
* obj0
= 0 ;
21873 PyObject
* obj1
= 0 ;
21874 char *kwnames
[] = {
21875 (char *) "self",(char *) "align", NULL
21878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",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
= (wxListColumnFormat
)(SWIG_As_int(obj1
));
21883 if (SWIG_arg_fail(2)) SWIG_fail
;
21886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21887 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
21889 wxPyEndAllowThreads(__tstate
);
21890 if (PyErr_Occurred()) SWIG_fail
;
21892 Py_INCREF(Py_None
); resultobj
= Py_None
;
21899 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21900 PyObject
*resultobj
;
21901 wxListItem
*arg1
= (wxListItem
*) 0 ;
21902 wxColour
*arg2
= 0 ;
21904 PyObject
* obj0
= 0 ;
21905 PyObject
* obj1
= 0 ;
21906 char *kwnames
[] = {
21907 (char *) "self",(char *) "colText", NULL
21910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21912 if (SWIG_arg_fail(1)) SWIG_fail
;
21915 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21919 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
21921 wxPyEndAllowThreads(__tstate
);
21922 if (PyErr_Occurred()) SWIG_fail
;
21924 Py_INCREF(Py_None
); resultobj
= Py_None
;
21931 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21932 PyObject
*resultobj
;
21933 wxListItem
*arg1
= (wxListItem
*) 0 ;
21934 wxColour
*arg2
= 0 ;
21936 PyObject
* obj0
= 0 ;
21937 PyObject
* obj1
= 0 ;
21938 char *kwnames
[] = {
21939 (char *) "self",(char *) "colBack", NULL
21942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21944 if (SWIG_arg_fail(1)) SWIG_fail
;
21947 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21951 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
21953 wxPyEndAllowThreads(__tstate
);
21954 if (PyErr_Occurred()) SWIG_fail
;
21956 Py_INCREF(Py_None
); resultobj
= Py_None
;
21963 static PyObject
*_wrap_ListItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21964 PyObject
*resultobj
;
21965 wxListItem
*arg1
= (wxListItem
*) 0 ;
21967 PyObject
* obj0
= 0 ;
21968 PyObject
* obj1
= 0 ;
21969 char *kwnames
[] = {
21970 (char *) "self",(char *) "font", NULL
21973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
21974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21975 if (SWIG_arg_fail(1)) SWIG_fail
;
21977 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
21978 if (SWIG_arg_fail(2)) SWIG_fail
;
21979 if (arg2
== NULL
) {
21980 SWIG_null_ref("wxFont");
21982 if (SWIG_arg_fail(2)) SWIG_fail
;
21985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21986 (arg1
)->SetFont((wxFont
const &)*arg2
);
21988 wxPyEndAllowThreads(__tstate
);
21989 if (PyErr_Occurred()) SWIG_fail
;
21991 Py_INCREF(Py_None
); resultobj
= Py_None
;
21998 static PyObject
*_wrap_ListItem_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21999 PyObject
*resultobj
;
22000 wxListItem
*arg1
= (wxListItem
*) 0 ;
22002 PyObject
* obj0
= 0 ;
22003 char *kwnames
[] = {
22004 (char *) "self", NULL
22007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
22008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22009 if (SWIG_arg_fail(1)) SWIG_fail
;
22011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22012 result
= (long)(arg1
)->GetMask();
22014 wxPyEndAllowThreads(__tstate
);
22015 if (PyErr_Occurred()) SWIG_fail
;
22018 resultobj
= SWIG_From_long((long)(result
));
22026 static PyObject
*_wrap_ListItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22027 PyObject
*resultobj
;
22028 wxListItem
*arg1
= (wxListItem
*) 0 ;
22030 PyObject
* obj0
= 0 ;
22031 char *kwnames
[] = {
22032 (char *) "self", NULL
22035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
22036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22037 if (SWIG_arg_fail(1)) SWIG_fail
;
22039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22040 result
= (long)(arg1
)->GetId();
22042 wxPyEndAllowThreads(__tstate
);
22043 if (PyErr_Occurred()) SWIG_fail
;
22046 resultobj
= SWIG_From_long((long)(result
));
22054 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22055 PyObject
*resultobj
;
22056 wxListItem
*arg1
= (wxListItem
*) 0 ;
22058 PyObject
* obj0
= 0 ;
22059 char *kwnames
[] = {
22060 (char *) "self", NULL
22063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
22064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22065 if (SWIG_arg_fail(1)) SWIG_fail
;
22067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22068 result
= (int)(arg1
)->GetColumn();
22070 wxPyEndAllowThreads(__tstate
);
22071 if (PyErr_Occurred()) SWIG_fail
;
22074 resultobj
= SWIG_From_int((int)(result
));
22082 static PyObject
*_wrap_ListItem_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22083 PyObject
*resultobj
;
22084 wxListItem
*arg1
= (wxListItem
*) 0 ;
22086 PyObject
* obj0
= 0 ;
22087 char *kwnames
[] = {
22088 (char *) "self", NULL
22091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
22092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22093 if (SWIG_arg_fail(1)) SWIG_fail
;
22095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22096 result
= (long)(arg1
)->GetState();
22098 wxPyEndAllowThreads(__tstate
);
22099 if (PyErr_Occurred()) SWIG_fail
;
22102 resultobj
= SWIG_From_long((long)(result
));
22110 static PyObject
*_wrap_ListItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22111 PyObject
*resultobj
;
22112 wxListItem
*arg1
= (wxListItem
*) 0 ;
22114 PyObject
* obj0
= 0 ;
22115 char *kwnames
[] = {
22116 (char *) "self", NULL
22119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
22120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22121 if (SWIG_arg_fail(1)) SWIG_fail
;
22123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22125 wxString
const &_result_ref
= (arg1
)->GetText();
22126 result
= (wxString
*) &_result_ref
;
22129 wxPyEndAllowThreads(__tstate
);
22130 if (PyErr_Occurred()) SWIG_fail
;
22134 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22136 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22145 static PyObject
*_wrap_ListItem_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22146 PyObject
*resultobj
;
22147 wxListItem
*arg1
= (wxListItem
*) 0 ;
22149 PyObject
* obj0
= 0 ;
22150 char *kwnames
[] = {
22151 (char *) "self", NULL
22154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
22155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22156 if (SWIG_arg_fail(1)) SWIG_fail
;
22158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22159 result
= (int)(arg1
)->GetImage();
22161 wxPyEndAllowThreads(__tstate
);
22162 if (PyErr_Occurred()) SWIG_fail
;
22165 resultobj
= SWIG_From_int((int)(result
));
22173 static PyObject
*_wrap_ListItem_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22174 PyObject
*resultobj
;
22175 wxListItem
*arg1
= (wxListItem
*) 0 ;
22177 PyObject
* obj0
= 0 ;
22178 char *kwnames
[] = {
22179 (char *) "self", NULL
22182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
22183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22184 if (SWIG_arg_fail(1)) SWIG_fail
;
22186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22187 result
= (long)(arg1
)->GetData();
22189 wxPyEndAllowThreads(__tstate
);
22190 if (PyErr_Occurred()) SWIG_fail
;
22193 resultobj
= SWIG_From_long((long)(result
));
22201 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22202 PyObject
*resultobj
;
22203 wxListItem
*arg1
= (wxListItem
*) 0 ;
22205 PyObject
* obj0
= 0 ;
22206 char *kwnames
[] = {
22207 (char *) "self", NULL
22210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
22211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22212 if (SWIG_arg_fail(1)) SWIG_fail
;
22214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22215 result
= (int)(arg1
)->GetWidth();
22217 wxPyEndAllowThreads(__tstate
);
22218 if (PyErr_Occurred()) SWIG_fail
;
22221 resultobj
= SWIG_From_int((int)(result
));
22229 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22230 PyObject
*resultobj
;
22231 wxListItem
*arg1
= (wxListItem
*) 0 ;
22232 wxListColumnFormat result
;
22233 PyObject
* obj0
= 0 ;
22234 char *kwnames
[] = {
22235 (char *) "self", NULL
22238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
22239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22240 if (SWIG_arg_fail(1)) SWIG_fail
;
22242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22243 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
22245 wxPyEndAllowThreads(__tstate
);
22246 if (PyErr_Occurred()) SWIG_fail
;
22248 resultobj
= SWIG_From_int((result
));
22255 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22256 PyObject
*resultobj
;
22257 wxListItem
*arg1
= (wxListItem
*) 0 ;
22258 wxListItemAttr
*result
;
22259 PyObject
* obj0
= 0 ;
22260 char *kwnames
[] = {
22261 (char *) "self", NULL
22264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
22265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22266 if (SWIG_arg_fail(1)) SWIG_fail
;
22268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22269 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
22271 wxPyEndAllowThreads(__tstate
);
22272 if (PyErr_Occurred()) SWIG_fail
;
22274 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
22281 static PyObject
*_wrap_ListItem_HasAttributes(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_HasAttributes",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
= (bool)(arg1
)->HasAttributes();
22297 wxPyEndAllowThreads(__tstate
);
22298 if (PyErr_Occurred()) SWIG_fail
;
22301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22309 static PyObject
*_wrap_ListItem_GetTextColour(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_GetTextColour",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
= ((wxListItem
const *)arg1
)->GetTextColour();
22325 wxPyEndAllowThreads(__tstate
);
22326 if (PyErr_Occurred()) SWIG_fail
;
22329 wxColour
* resultptr
;
22330 resultptr
= new wxColour((wxColour
&)(result
));
22331 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22339 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22340 PyObject
*resultobj
;
22341 wxListItem
*arg1
= (wxListItem
*) 0 ;
22343 PyObject
* obj0
= 0 ;
22344 char *kwnames
[] = {
22345 (char *) "self", NULL
22348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
22349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22350 if (SWIG_arg_fail(1)) SWIG_fail
;
22352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22353 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
22355 wxPyEndAllowThreads(__tstate
);
22356 if (PyErr_Occurred()) SWIG_fail
;
22359 wxColour
* resultptr
;
22360 resultptr
= new wxColour((wxColour
&)(result
));
22361 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22369 static PyObject
*_wrap_ListItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22370 PyObject
*resultobj
;
22371 wxListItem
*arg1
= (wxListItem
*) 0 ;
22373 PyObject
* obj0
= 0 ;
22374 char *kwnames
[] = {
22375 (char *) "self", NULL
22378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
22379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22380 if (SWIG_arg_fail(1)) SWIG_fail
;
22382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22383 result
= ((wxListItem
const *)arg1
)->GetFont();
22385 wxPyEndAllowThreads(__tstate
);
22386 if (PyErr_Occurred()) SWIG_fail
;
22389 wxFont
* resultptr
;
22390 resultptr
= new wxFont((wxFont
&)(result
));
22391 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22399 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22400 PyObject
*resultobj
;
22401 wxListItem
*arg1
= (wxListItem
*) 0 ;
22403 PyObject
* obj0
= 0 ;
22404 PyObject
* obj1
= 0 ;
22405 char *kwnames
[] = {
22406 (char *) "self",(char *) "m_mask", NULL
22409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) 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 arg2
= (long)(SWIG_As_long(obj1
));
22414 if (SWIG_arg_fail(2)) SWIG_fail
;
22416 if (arg1
) (arg1
)->m_mask
= arg2
;
22418 Py_INCREF(Py_None
); resultobj
= Py_None
;
22425 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22426 PyObject
*resultobj
;
22427 wxListItem
*arg1
= (wxListItem
*) 0 ;
22429 PyObject
* obj0
= 0 ;
22430 char *kwnames
[] = {
22431 (char *) "self", NULL
22434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
22435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22436 if (SWIG_arg_fail(1)) SWIG_fail
;
22437 result
= (long) ((arg1
)->m_mask
);
22440 resultobj
= SWIG_From_long((long)(result
));
22448 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22449 PyObject
*resultobj
;
22450 wxListItem
*arg1
= (wxListItem
*) 0 ;
22452 PyObject
* obj0
= 0 ;
22453 PyObject
* obj1
= 0 ;
22454 char *kwnames
[] = {
22455 (char *) "self",(char *) "m_itemId", NULL
22458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22460 if (SWIG_arg_fail(1)) SWIG_fail
;
22462 arg2
= (long)(SWIG_As_long(obj1
));
22463 if (SWIG_arg_fail(2)) SWIG_fail
;
22465 if (arg1
) (arg1
)->m_itemId
= arg2
;
22467 Py_INCREF(Py_None
); resultobj
= Py_None
;
22474 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22475 PyObject
*resultobj
;
22476 wxListItem
*arg1
= (wxListItem
*) 0 ;
22478 PyObject
* obj0
= 0 ;
22479 char *kwnames
[] = {
22480 (char *) "self", NULL
22483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
22484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22485 if (SWIG_arg_fail(1)) SWIG_fail
;
22486 result
= (long) ((arg1
)->m_itemId
);
22489 resultobj
= SWIG_From_long((long)(result
));
22497 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22498 PyObject
*resultobj
;
22499 wxListItem
*arg1
= (wxListItem
*) 0 ;
22501 PyObject
* obj0
= 0 ;
22502 PyObject
* obj1
= 0 ;
22503 char *kwnames
[] = {
22504 (char *) "self",(char *) "m_col", NULL
22507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22509 if (SWIG_arg_fail(1)) SWIG_fail
;
22511 arg2
= (int)(SWIG_As_int(obj1
));
22512 if (SWIG_arg_fail(2)) SWIG_fail
;
22514 if (arg1
) (arg1
)->m_col
= arg2
;
22516 Py_INCREF(Py_None
); resultobj
= Py_None
;
22523 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22524 PyObject
*resultobj
;
22525 wxListItem
*arg1
= (wxListItem
*) 0 ;
22527 PyObject
* obj0
= 0 ;
22528 char *kwnames
[] = {
22529 (char *) "self", NULL
22532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
22533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22534 if (SWIG_arg_fail(1)) SWIG_fail
;
22535 result
= (int) ((arg1
)->m_col
);
22538 resultobj
= SWIG_From_int((int)(result
));
22546 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22547 PyObject
*resultobj
;
22548 wxListItem
*arg1
= (wxListItem
*) 0 ;
22550 PyObject
* obj0
= 0 ;
22551 PyObject
* obj1
= 0 ;
22552 char *kwnames
[] = {
22553 (char *) "self",(char *) "m_state", NULL
22556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22558 if (SWIG_arg_fail(1)) SWIG_fail
;
22560 arg2
= (long)(SWIG_As_long(obj1
));
22561 if (SWIG_arg_fail(2)) SWIG_fail
;
22563 if (arg1
) (arg1
)->m_state
= arg2
;
22565 Py_INCREF(Py_None
); resultobj
= Py_None
;
22572 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22573 PyObject
*resultobj
;
22574 wxListItem
*arg1
= (wxListItem
*) 0 ;
22576 PyObject
* obj0
= 0 ;
22577 char *kwnames
[] = {
22578 (char *) "self", NULL
22581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
22582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22583 if (SWIG_arg_fail(1)) SWIG_fail
;
22584 result
= (long) ((arg1
)->m_state
);
22587 resultobj
= SWIG_From_long((long)(result
));
22595 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22596 PyObject
*resultobj
;
22597 wxListItem
*arg1
= (wxListItem
*) 0 ;
22599 PyObject
* obj0
= 0 ;
22600 PyObject
* obj1
= 0 ;
22601 char *kwnames
[] = {
22602 (char *) "self",(char *) "m_stateMask", NULL
22605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) 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 arg2
= (long)(SWIG_As_long(obj1
));
22610 if (SWIG_arg_fail(2)) SWIG_fail
;
22612 if (arg1
) (arg1
)->m_stateMask
= arg2
;
22614 Py_INCREF(Py_None
); resultobj
= Py_None
;
22621 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22622 PyObject
*resultobj
;
22623 wxListItem
*arg1
= (wxListItem
*) 0 ;
22625 PyObject
* obj0
= 0 ;
22626 char *kwnames
[] = {
22627 (char *) "self", NULL
22630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
22631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22632 if (SWIG_arg_fail(1)) SWIG_fail
;
22633 result
= (long) ((arg1
)->m_stateMask
);
22636 resultobj
= SWIG_From_long((long)(result
));
22644 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22645 PyObject
*resultobj
;
22646 wxListItem
*arg1
= (wxListItem
*) 0 ;
22647 wxString
*arg2
= (wxString
*) 0 ;
22648 bool temp2
= false ;
22649 PyObject
* obj0
= 0 ;
22650 PyObject
* obj1
= 0 ;
22651 char *kwnames
[] = {
22652 (char *) "self",(char *) "m_text", NULL
22655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22657 if (SWIG_arg_fail(1)) SWIG_fail
;
22659 arg2
= wxString_in_helper(obj1
);
22660 if (arg2
== NULL
) SWIG_fail
;
22663 if (arg1
) (arg1
)->m_text
= *arg2
;
22665 Py_INCREF(Py_None
); resultobj
= Py_None
;
22680 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22681 PyObject
*resultobj
;
22682 wxListItem
*arg1
= (wxListItem
*) 0 ;
22684 PyObject
* obj0
= 0 ;
22685 char *kwnames
[] = {
22686 (char *) "self", NULL
22689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
22690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22691 if (SWIG_arg_fail(1)) SWIG_fail
;
22692 result
= (wxString
*)& ((arg1
)->m_text
);
22696 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22698 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22707 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22708 PyObject
*resultobj
;
22709 wxListItem
*arg1
= (wxListItem
*) 0 ;
22711 PyObject
* obj0
= 0 ;
22712 PyObject
* obj1
= 0 ;
22713 char *kwnames
[] = {
22714 (char *) "self",(char *) "m_image", NULL
22717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22719 if (SWIG_arg_fail(1)) SWIG_fail
;
22721 arg2
= (int)(SWIG_As_int(obj1
));
22722 if (SWIG_arg_fail(2)) SWIG_fail
;
22724 if (arg1
) (arg1
)->m_image
= arg2
;
22726 Py_INCREF(Py_None
); resultobj
= Py_None
;
22733 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22734 PyObject
*resultobj
;
22735 wxListItem
*arg1
= (wxListItem
*) 0 ;
22737 PyObject
* obj0
= 0 ;
22738 char *kwnames
[] = {
22739 (char *) "self", NULL
22742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
22743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22744 if (SWIG_arg_fail(1)) SWIG_fail
;
22745 result
= (int) ((arg1
)->m_image
);
22748 resultobj
= SWIG_From_int((int)(result
));
22756 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22757 PyObject
*resultobj
;
22758 wxListItem
*arg1
= (wxListItem
*) 0 ;
22760 PyObject
* obj0
= 0 ;
22761 PyObject
* obj1
= 0 ;
22762 char *kwnames
[] = {
22763 (char *) "self",(char *) "m_data", NULL
22766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22768 if (SWIG_arg_fail(1)) SWIG_fail
;
22770 arg2
= (long)(SWIG_As_long(obj1
));
22771 if (SWIG_arg_fail(2)) SWIG_fail
;
22773 if (arg1
) (arg1
)->m_data
= arg2
;
22775 Py_INCREF(Py_None
); resultobj
= Py_None
;
22782 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22783 PyObject
*resultobj
;
22784 wxListItem
*arg1
= (wxListItem
*) 0 ;
22786 PyObject
* obj0
= 0 ;
22787 char *kwnames
[] = {
22788 (char *) "self", NULL
22791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
22792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22793 if (SWIG_arg_fail(1)) SWIG_fail
;
22794 result
= (long) ((arg1
)->m_data
);
22797 resultobj
= SWIG_From_long((long)(result
));
22805 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22806 PyObject
*resultobj
;
22807 wxListItem
*arg1
= (wxListItem
*) 0 ;
22809 PyObject
* obj0
= 0 ;
22810 PyObject
* obj1
= 0 ;
22811 char *kwnames
[] = {
22812 (char *) "self",(char *) "m_format", NULL
22815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22817 if (SWIG_arg_fail(1)) SWIG_fail
;
22819 arg2
= (int)(SWIG_As_int(obj1
));
22820 if (SWIG_arg_fail(2)) SWIG_fail
;
22822 if (arg1
) (arg1
)->m_format
= arg2
;
22824 Py_INCREF(Py_None
); resultobj
= Py_None
;
22831 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22832 PyObject
*resultobj
;
22833 wxListItem
*arg1
= (wxListItem
*) 0 ;
22835 PyObject
* obj0
= 0 ;
22836 char *kwnames
[] = {
22837 (char *) "self", NULL
22840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
22841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22842 if (SWIG_arg_fail(1)) SWIG_fail
;
22843 result
= (int) ((arg1
)->m_format
);
22846 resultobj
= SWIG_From_int((int)(result
));
22854 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22855 PyObject
*resultobj
;
22856 wxListItem
*arg1
= (wxListItem
*) 0 ;
22858 PyObject
* obj0
= 0 ;
22859 PyObject
* obj1
= 0 ;
22860 char *kwnames
[] = {
22861 (char *) "self",(char *) "m_width", NULL
22864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22866 if (SWIG_arg_fail(1)) SWIG_fail
;
22868 arg2
= (int)(SWIG_As_int(obj1
));
22869 if (SWIG_arg_fail(2)) SWIG_fail
;
22871 if (arg1
) (arg1
)->m_width
= arg2
;
22873 Py_INCREF(Py_None
); resultobj
= Py_None
;
22880 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22881 PyObject
*resultobj
;
22882 wxListItem
*arg1
= (wxListItem
*) 0 ;
22884 PyObject
* obj0
= 0 ;
22885 char *kwnames
[] = {
22886 (char *) "self", NULL
22889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
22890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22891 if (SWIG_arg_fail(1)) SWIG_fail
;
22892 result
= (int) ((arg1
)->m_width
);
22895 resultobj
= SWIG_From_int((int)(result
));
22903 static PyObject
* ListItem_swigregister(PyObject
*, PyObject
*args
) {
22905 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22906 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
22908 return Py_BuildValue((char *)"");
22910 static PyObject
*_wrap_new_ListEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22911 PyObject
*resultobj
;
22912 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22913 int arg2
= (int) 0 ;
22914 wxListEvent
*result
;
22915 PyObject
* obj0
= 0 ;
22916 PyObject
* obj1
= 0 ;
22917 char *kwnames
[] = {
22918 (char *) "commandType",(char *) "id", NULL
22921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
22924 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
22925 if (SWIG_arg_fail(1)) SWIG_fail
;
22930 arg2
= (int)(SWIG_As_int(obj1
));
22931 if (SWIG_arg_fail(2)) SWIG_fail
;
22935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22936 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
22938 wxPyEndAllowThreads(__tstate
);
22939 if (PyErr_Occurred()) SWIG_fail
;
22941 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
22948 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22949 PyObject
*resultobj
;
22950 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
22952 PyObject
* obj0
= 0 ;
22953 PyObject
* obj1
= 0 ;
22954 char *kwnames
[] = {
22955 (char *) "self",(char *) "m_code", NULL
22958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
22960 if (SWIG_arg_fail(1)) SWIG_fail
;
22962 arg2
= (int)(SWIG_As_int(obj1
));
22963 if (SWIG_arg_fail(2)) SWIG_fail
;
22965 if (arg1
) (arg1
)->m_code
= arg2
;
22967 Py_INCREF(Py_None
); resultobj
= Py_None
;
22974 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22975 PyObject
*resultobj
;
22976 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
22978 PyObject
* obj0
= 0 ;
22979 char *kwnames
[] = {
22980 (char *) "self", NULL
22983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
22984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
22985 if (SWIG_arg_fail(1)) SWIG_fail
;
22986 result
= (int) ((arg1
)->m_code
);
22989 resultobj
= SWIG_From_int((int)(result
));
22997 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22998 PyObject
*resultobj
;
22999 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23001 PyObject
* obj0
= 0 ;
23002 PyObject
* obj1
= 0 ;
23003 char *kwnames
[] = {
23004 (char *) "self",(char *) "m_oldItemIndex", NULL
23007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23009 if (SWIG_arg_fail(1)) SWIG_fail
;
23011 arg2
= (long)(SWIG_As_long(obj1
));
23012 if (SWIG_arg_fail(2)) SWIG_fail
;
23014 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
23016 Py_INCREF(Py_None
); resultobj
= Py_None
;
23023 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23024 PyObject
*resultobj
;
23025 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23027 PyObject
* obj0
= 0 ;
23028 char *kwnames
[] = {
23029 (char *) "self", NULL
23032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
23033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23034 if (SWIG_arg_fail(1)) SWIG_fail
;
23035 result
= (long) ((arg1
)->m_oldItemIndex
);
23038 resultobj
= SWIG_From_long((long)(result
));
23046 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23047 PyObject
*resultobj
;
23048 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23050 PyObject
* obj0
= 0 ;
23051 PyObject
* obj1
= 0 ;
23052 char *kwnames
[] = {
23053 (char *) "self",(char *) "m_itemIndex", NULL
23056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23058 if (SWIG_arg_fail(1)) SWIG_fail
;
23060 arg2
= (long)(SWIG_As_long(obj1
));
23061 if (SWIG_arg_fail(2)) SWIG_fail
;
23063 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
23065 Py_INCREF(Py_None
); resultobj
= Py_None
;
23072 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23073 PyObject
*resultobj
;
23074 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23076 PyObject
* obj0
= 0 ;
23077 char *kwnames
[] = {
23078 (char *) "self", NULL
23081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
23082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23083 if (SWIG_arg_fail(1)) SWIG_fail
;
23084 result
= (long) ((arg1
)->m_itemIndex
);
23087 resultobj
= SWIG_From_long((long)(result
));
23095 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23096 PyObject
*resultobj
;
23097 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23099 PyObject
* obj0
= 0 ;
23100 PyObject
* obj1
= 0 ;
23101 char *kwnames
[] = {
23102 (char *) "self",(char *) "m_col", NULL
23105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23107 if (SWIG_arg_fail(1)) SWIG_fail
;
23109 arg2
= (int)(SWIG_As_int(obj1
));
23110 if (SWIG_arg_fail(2)) SWIG_fail
;
23112 if (arg1
) (arg1
)->m_col
= arg2
;
23114 Py_INCREF(Py_None
); resultobj
= Py_None
;
23121 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23122 PyObject
*resultobj
;
23123 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23125 PyObject
* obj0
= 0 ;
23126 char *kwnames
[] = {
23127 (char *) "self", NULL
23130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
23131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23132 if (SWIG_arg_fail(1)) SWIG_fail
;
23133 result
= (int) ((arg1
)->m_col
);
23136 resultobj
= SWIG_From_int((int)(result
));
23144 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23145 PyObject
*resultobj
;
23146 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23147 wxPoint
*arg2
= (wxPoint
*) 0 ;
23148 PyObject
* obj0
= 0 ;
23149 PyObject
* obj1
= 0 ;
23150 char *kwnames
[] = {
23151 (char *) "self",(char *) "m_pointDrag", NULL
23154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23156 if (SWIG_arg_fail(1)) SWIG_fail
;
23157 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
23158 if (SWIG_arg_fail(2)) SWIG_fail
;
23159 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
23161 Py_INCREF(Py_None
); resultobj
= Py_None
;
23168 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23169 PyObject
*resultobj
;
23170 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23172 PyObject
* obj0
= 0 ;
23173 char *kwnames
[] = {
23174 (char *) "self", NULL
23177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
23178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23179 if (SWIG_arg_fail(1)) SWIG_fail
;
23180 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
23182 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
23189 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23190 PyObject
*resultobj
;
23191 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23192 wxListItem
*result
;
23193 PyObject
* obj0
= 0 ;
23194 char *kwnames
[] = {
23195 (char *) "self", NULL
23198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
23199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23200 if (SWIG_arg_fail(1)) SWIG_fail
;
23201 result
= (wxListItem
*)& ((arg1
)->m_item
);
23204 resultobj
= wxPyMake_wxObject(result
, 0);
23212 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23213 PyObject
*resultobj
;
23214 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23216 PyObject
* obj0
= 0 ;
23217 char *kwnames
[] = {
23218 (char *) "self", NULL
23221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
23222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23223 if (SWIG_arg_fail(1)) SWIG_fail
;
23225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23226 result
= (int)(arg1
)->GetKeyCode();
23228 wxPyEndAllowThreads(__tstate
);
23229 if (PyErr_Occurred()) SWIG_fail
;
23232 resultobj
= SWIG_From_int((int)(result
));
23240 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23241 PyObject
*resultobj
;
23242 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23244 PyObject
* obj0
= 0 ;
23245 char *kwnames
[] = {
23246 (char *) "self", NULL
23249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
23250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23251 if (SWIG_arg_fail(1)) SWIG_fail
;
23253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23254 result
= (long)(arg1
)->GetIndex();
23256 wxPyEndAllowThreads(__tstate
);
23257 if (PyErr_Occurred()) SWIG_fail
;
23260 resultobj
= SWIG_From_long((long)(result
));
23268 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23269 PyObject
*resultobj
;
23270 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23272 PyObject
* obj0
= 0 ;
23273 char *kwnames
[] = {
23274 (char *) "self", NULL
23277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
23278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23279 if (SWIG_arg_fail(1)) SWIG_fail
;
23281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23282 result
= (int)(arg1
)->GetColumn();
23284 wxPyEndAllowThreads(__tstate
);
23285 if (PyErr_Occurred()) SWIG_fail
;
23288 resultobj
= SWIG_From_int((int)(result
));
23296 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23297 PyObject
*resultobj
;
23298 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23300 PyObject
* obj0
= 0 ;
23301 char *kwnames
[] = {
23302 (char *) "self", NULL
23305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
23306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23307 if (SWIG_arg_fail(1)) SWIG_fail
;
23309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23310 result
= (arg1
)->GetPoint();
23312 wxPyEndAllowThreads(__tstate
);
23313 if (PyErr_Occurred()) SWIG_fail
;
23316 wxPoint
* resultptr
;
23317 resultptr
= new wxPoint((wxPoint
&)(result
));
23318 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23326 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23327 PyObject
*resultobj
;
23328 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23330 PyObject
* obj0
= 0 ;
23331 char *kwnames
[] = {
23332 (char *) "self", NULL
23335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
23336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23337 if (SWIG_arg_fail(1)) SWIG_fail
;
23339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23341 wxString
const &_result_ref
= (arg1
)->GetLabel();
23342 result
= (wxString
*) &_result_ref
;
23345 wxPyEndAllowThreads(__tstate
);
23346 if (PyErr_Occurred()) SWIG_fail
;
23350 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23352 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23361 static PyObject
*_wrap_ListEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23362 PyObject
*resultobj
;
23363 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23365 PyObject
* obj0
= 0 ;
23366 char *kwnames
[] = {
23367 (char *) "self", NULL
23370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
23371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23372 if (SWIG_arg_fail(1)) SWIG_fail
;
23374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23376 wxString
const &_result_ref
= (arg1
)->GetText();
23377 result
= (wxString
*) &_result_ref
;
23380 wxPyEndAllowThreads(__tstate
);
23381 if (PyErr_Occurred()) SWIG_fail
;
23385 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23387 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23396 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23397 PyObject
*resultobj
;
23398 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23400 PyObject
* obj0
= 0 ;
23401 char *kwnames
[] = {
23402 (char *) "self", NULL
23405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
23406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23407 if (SWIG_arg_fail(1)) SWIG_fail
;
23409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23410 result
= (int)(arg1
)->GetImage();
23412 wxPyEndAllowThreads(__tstate
);
23413 if (PyErr_Occurred()) SWIG_fail
;
23416 resultobj
= SWIG_From_int((int)(result
));
23424 static PyObject
*_wrap_ListEvent_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23425 PyObject
*resultobj
;
23426 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23428 PyObject
* obj0
= 0 ;
23429 char *kwnames
[] = {
23430 (char *) "self", NULL
23433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
23434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23435 if (SWIG_arg_fail(1)) SWIG_fail
;
23437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23438 result
= (long)(arg1
)->GetData();
23440 wxPyEndAllowThreads(__tstate
);
23441 if (PyErr_Occurred()) SWIG_fail
;
23444 resultobj
= SWIG_From_long((long)(result
));
23452 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23453 PyObject
*resultobj
;
23454 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23456 PyObject
* obj0
= 0 ;
23457 char *kwnames
[] = {
23458 (char *) "self", NULL
23461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
23462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23463 if (SWIG_arg_fail(1)) SWIG_fail
;
23465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23466 result
= (long)(arg1
)->GetMask();
23468 wxPyEndAllowThreads(__tstate
);
23469 if (PyErr_Occurred()) SWIG_fail
;
23472 resultobj
= SWIG_From_long((long)(result
));
23480 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23481 PyObject
*resultobj
;
23482 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23483 wxListItem
*result
;
23484 PyObject
* obj0
= 0 ;
23485 char *kwnames
[] = {
23486 (char *) "self", NULL
23489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
23490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23491 if (SWIG_arg_fail(1)) SWIG_fail
;
23493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23495 wxListItem
const &_result_ref
= (arg1
)->GetItem();
23496 result
= (wxListItem
*) &_result_ref
;
23499 wxPyEndAllowThreads(__tstate
);
23500 if (PyErr_Occurred()) SWIG_fail
;
23502 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
23509 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23510 PyObject
*resultobj
;
23511 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23513 PyObject
* obj0
= 0 ;
23514 char *kwnames
[] = {
23515 (char *) "self", NULL
23518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
23519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23520 if (SWIG_arg_fail(1)) SWIG_fail
;
23522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23523 result
= (long)(arg1
)->GetCacheFrom();
23525 wxPyEndAllowThreads(__tstate
);
23526 if (PyErr_Occurred()) SWIG_fail
;
23529 resultobj
= SWIG_From_long((long)(result
));
23537 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23538 PyObject
*resultobj
;
23539 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23541 PyObject
* obj0
= 0 ;
23542 char *kwnames
[] = {
23543 (char *) "self", NULL
23546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
23547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23548 if (SWIG_arg_fail(1)) SWIG_fail
;
23550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23551 result
= (long)(arg1
)->GetCacheTo();
23553 wxPyEndAllowThreads(__tstate
);
23554 if (PyErr_Occurred()) SWIG_fail
;
23557 resultobj
= SWIG_From_long((long)(result
));
23565 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23566 PyObject
*resultobj
;
23567 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23569 PyObject
* obj0
= 0 ;
23570 char *kwnames
[] = {
23571 (char *) "self", NULL
23574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
23575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23576 if (SWIG_arg_fail(1)) SWIG_fail
;
23578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23579 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
23581 wxPyEndAllowThreads(__tstate
);
23582 if (PyErr_Occurred()) SWIG_fail
;
23585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23593 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23594 PyObject
*resultobj
;
23595 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23597 PyObject
* obj0
= 0 ;
23598 PyObject
* obj1
= 0 ;
23599 char *kwnames
[] = {
23600 (char *) "self",(char *) "editCancelled", NULL
23603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
23604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23605 if (SWIG_arg_fail(1)) SWIG_fail
;
23607 arg2
= (bool)(SWIG_As_bool(obj1
));
23608 if (SWIG_arg_fail(2)) SWIG_fail
;
23611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23612 (arg1
)->SetEditCanceled(arg2
);
23614 wxPyEndAllowThreads(__tstate
);
23615 if (PyErr_Occurred()) SWIG_fail
;
23617 Py_INCREF(Py_None
); resultobj
= Py_None
;
23624 static PyObject
* ListEvent_swigregister(PyObject
*, PyObject
*args
) {
23626 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23627 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
23629 return Py_BuildValue((char *)"");
23631 static PyObject
*_wrap_new_ListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23632 PyObject
*resultobj
;
23633 wxWindow
*arg1
= (wxWindow
*) 0 ;
23634 int arg2
= (int) -1 ;
23635 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23636 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23637 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23638 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23639 long arg5
= (long) wxLC_ICON
;
23640 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23641 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23642 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
23643 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23644 wxPyListCtrl
*result
;
23647 bool temp7
= false ;
23648 PyObject
* obj0
= 0 ;
23649 PyObject
* obj1
= 0 ;
23650 PyObject
* obj2
= 0 ;
23651 PyObject
* obj3
= 0 ;
23652 PyObject
* obj4
= 0 ;
23653 PyObject
* obj5
= 0 ;
23654 PyObject
* obj6
= 0 ;
23655 char *kwnames
[] = {
23656 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23661 if (SWIG_arg_fail(1)) SWIG_fail
;
23664 arg2
= (int)(SWIG_As_int(obj1
));
23665 if (SWIG_arg_fail(2)) SWIG_fail
;
23671 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23677 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23682 arg5
= (long)(SWIG_As_long(obj4
));
23683 if (SWIG_arg_fail(5)) SWIG_fail
;
23688 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
23689 if (SWIG_arg_fail(6)) SWIG_fail
;
23690 if (arg6
== NULL
) {
23691 SWIG_null_ref("wxValidator");
23693 if (SWIG_arg_fail(6)) SWIG_fail
;
23698 arg7
= wxString_in_helper(obj6
);
23699 if (arg7
== NULL
) SWIG_fail
;
23704 if (!wxPyCheckForApp()) SWIG_fail
;
23705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23706 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23708 wxPyEndAllowThreads(__tstate
);
23709 if (PyErr_Occurred()) SWIG_fail
;
23711 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
23726 static PyObject
*_wrap_new_PreListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23727 PyObject
*resultobj
;
23728 wxPyListCtrl
*result
;
23729 char *kwnames
[] = {
23733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
23735 if (!wxPyCheckForApp()) SWIG_fail
;
23736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23737 result
= (wxPyListCtrl
*)new wxPyListCtrl();
23739 wxPyEndAllowThreads(__tstate
);
23740 if (PyErr_Occurred()) SWIG_fail
;
23742 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
23749 static PyObject
*_wrap_ListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23750 PyObject
*resultobj
;
23751 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23752 wxWindow
*arg2
= (wxWindow
*) 0 ;
23753 int arg3
= (int) -1 ;
23754 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23755 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23756 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23757 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23758 long arg6
= (long) wxLC_ICON
;
23759 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23760 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23761 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
23762 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23766 bool temp8
= false ;
23767 PyObject
* obj0
= 0 ;
23768 PyObject
* obj1
= 0 ;
23769 PyObject
* obj2
= 0 ;
23770 PyObject
* obj3
= 0 ;
23771 PyObject
* obj4
= 0 ;
23772 PyObject
* obj5
= 0 ;
23773 PyObject
* obj6
= 0 ;
23774 PyObject
* obj7
= 0 ;
23775 char *kwnames
[] = {
23776 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
23781 if (SWIG_arg_fail(1)) SWIG_fail
;
23782 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23783 if (SWIG_arg_fail(2)) SWIG_fail
;
23786 arg3
= (int)(SWIG_As_int(obj2
));
23787 if (SWIG_arg_fail(3)) SWIG_fail
;
23793 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23799 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23804 arg6
= (long)(SWIG_As_long(obj5
));
23805 if (SWIG_arg_fail(6)) SWIG_fail
;
23810 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
23811 if (SWIG_arg_fail(7)) SWIG_fail
;
23812 if (arg7
== NULL
) {
23813 SWIG_null_ref("wxValidator");
23815 if (SWIG_arg_fail(7)) SWIG_fail
;
23820 arg8
= wxString_in_helper(obj7
);
23821 if (arg8
== NULL
) SWIG_fail
;
23826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23827 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
23829 wxPyEndAllowThreads(__tstate
);
23830 if (PyErr_Occurred()) SWIG_fail
;
23833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23849 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23850 PyObject
*resultobj
;
23851 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23852 PyObject
*arg2
= (PyObject
*) 0 ;
23853 PyObject
*arg3
= (PyObject
*) 0 ;
23854 PyObject
* obj0
= 0 ;
23855 PyObject
* obj1
= 0 ;
23856 PyObject
* obj2
= 0 ;
23857 char *kwnames
[] = {
23858 (char *) "self",(char *) "self",(char *) "_class", NULL
23861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
23863 if (SWIG_arg_fail(1)) SWIG_fail
;
23867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23868 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23870 wxPyEndAllowThreads(__tstate
);
23871 if (PyErr_Occurred()) SWIG_fail
;
23873 Py_INCREF(Py_None
); resultobj
= Py_None
;
23880 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23881 PyObject
*resultobj
;
23882 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23883 wxColour
*arg2
= 0 ;
23886 PyObject
* obj0
= 0 ;
23887 PyObject
* obj1
= 0 ;
23888 char *kwnames
[] = {
23889 (char *) "self",(char *) "col", NULL
23892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
23894 if (SWIG_arg_fail(1)) SWIG_fail
;
23897 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23901 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
23903 wxPyEndAllowThreads(__tstate
);
23904 if (PyErr_Occurred()) SWIG_fail
;
23907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23915 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23916 PyObject
*resultobj
;
23917 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23918 wxColour
*arg2
= 0 ;
23921 PyObject
* obj0
= 0 ;
23922 PyObject
* obj1
= 0 ;
23923 char *kwnames
[] = {
23924 (char *) "self",(char *) "col", NULL
23927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
23929 if (SWIG_arg_fail(1)) SWIG_fail
;
23932 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23936 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
23938 wxPyEndAllowThreads(__tstate
);
23939 if (PyErr_Occurred()) SWIG_fail
;
23942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23950 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23951 PyObject
*resultobj
;
23952 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23954 wxListItem
*result
;
23955 PyObject
* obj0
= 0 ;
23956 PyObject
* obj1
= 0 ;
23957 char *kwnames
[] = {
23958 (char *) "self",(char *) "col", NULL
23961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
23962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
23963 if (SWIG_arg_fail(1)) SWIG_fail
;
23965 arg2
= (int)(SWIG_As_int(obj1
));
23966 if (SWIG_arg_fail(2)) SWIG_fail
;
23969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23970 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
23972 wxPyEndAllowThreads(__tstate
);
23973 if (PyErr_Occurred()) SWIG_fail
;
23976 resultobj
= wxPyMake_wxObject(result
, 0);
23984 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23985 PyObject
*resultobj
;
23986 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23988 wxListItem
*arg3
= 0 ;
23990 PyObject
* obj0
= 0 ;
23991 PyObject
* obj1
= 0 ;
23992 PyObject
* obj2
= 0 ;
23993 char *kwnames
[] = {
23994 (char *) "self",(char *) "col",(char *) "item", NULL
23997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
23999 if (SWIG_arg_fail(1)) SWIG_fail
;
24001 arg2
= (int)(SWIG_As_int(obj1
));
24002 if (SWIG_arg_fail(2)) SWIG_fail
;
24005 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24006 if (SWIG_arg_fail(3)) SWIG_fail
;
24007 if (arg3
== NULL
) {
24008 SWIG_null_ref("wxListItem");
24010 if (SWIG_arg_fail(3)) SWIG_fail
;
24013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24014 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
24016 wxPyEndAllowThreads(__tstate
);
24017 if (PyErr_Occurred()) SWIG_fail
;
24020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24028 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24029 PyObject
*resultobj
;
24030 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24033 PyObject
* obj0
= 0 ;
24034 PyObject
* obj1
= 0 ;
24035 char *kwnames
[] = {
24036 (char *) "self",(char *) "col", NULL
24039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
24040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24041 if (SWIG_arg_fail(1)) SWIG_fail
;
24043 arg2
= (int)(SWIG_As_int(obj1
));
24044 if (SWIG_arg_fail(2)) SWIG_fail
;
24047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24048 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
24050 wxPyEndAllowThreads(__tstate
);
24051 if (PyErr_Occurred()) SWIG_fail
;
24054 resultobj
= SWIG_From_int((int)(result
));
24062 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24063 PyObject
*resultobj
;
24064 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24068 PyObject
* obj0
= 0 ;
24069 PyObject
* obj1
= 0 ;
24070 PyObject
* obj2
= 0 ;
24071 char *kwnames
[] = {
24072 (char *) "self",(char *) "col",(char *) "width", NULL
24075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24077 if (SWIG_arg_fail(1)) SWIG_fail
;
24079 arg2
= (int)(SWIG_As_int(obj1
));
24080 if (SWIG_arg_fail(2)) SWIG_fail
;
24083 arg3
= (int)(SWIG_As_int(obj2
));
24084 if (SWIG_arg_fail(3)) SWIG_fail
;
24087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24088 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
24090 wxPyEndAllowThreads(__tstate
);
24091 if (PyErr_Occurred()) SWIG_fail
;
24094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24102 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24103 PyObject
*resultobj
;
24104 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24106 PyObject
* obj0
= 0 ;
24107 char *kwnames
[] = {
24108 (char *) "self", NULL
24111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
24112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24113 if (SWIG_arg_fail(1)) SWIG_fail
;
24115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24116 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
24118 wxPyEndAllowThreads(__tstate
);
24119 if (PyErr_Occurred()) SWIG_fail
;
24122 resultobj
= SWIG_From_int((int)(result
));
24130 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24131 PyObject
*resultobj
;
24132 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24134 PyObject
* obj0
= 0 ;
24135 char *kwnames
[] = {
24136 (char *) "self", NULL
24139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
24140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24141 if (SWIG_arg_fail(1)) SWIG_fail
;
24143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24144 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
24146 wxPyEndAllowThreads(__tstate
);
24147 if (PyErr_Occurred()) SWIG_fail
;
24150 wxRect
* resultptr
;
24151 resultptr
= new wxRect((wxRect
&)(result
));
24152 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
24160 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24161 PyObject
*resultobj
;
24162 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24164 int arg3
= (int) 0 ;
24165 wxListItem
*result
;
24166 PyObject
* obj0
= 0 ;
24167 PyObject
* obj1
= 0 ;
24168 PyObject
* obj2
= 0 ;
24169 char *kwnames
[] = {
24170 (char *) "self",(char *) "itemId",(char *) "col", NULL
24173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24175 if (SWIG_arg_fail(1)) SWIG_fail
;
24177 arg2
= (long)(SWIG_As_long(obj1
));
24178 if (SWIG_arg_fail(2)) SWIG_fail
;
24182 arg3
= (int)(SWIG_As_int(obj2
));
24183 if (SWIG_arg_fail(3)) SWIG_fail
;
24187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24188 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
24190 wxPyEndAllowThreads(__tstate
);
24191 if (PyErr_Occurred()) SWIG_fail
;
24194 resultobj
= wxPyMake_wxObject(result
, 0);
24202 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24203 PyObject
*resultobj
;
24204 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24205 wxListItem
*arg2
= 0 ;
24207 PyObject
* obj0
= 0 ;
24208 PyObject
* obj1
= 0 ;
24209 char *kwnames
[] = {
24210 (char *) "self",(char *) "info", NULL
24213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24215 if (SWIG_arg_fail(1)) SWIG_fail
;
24217 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24218 if (SWIG_arg_fail(2)) SWIG_fail
;
24219 if (arg2
== NULL
) {
24220 SWIG_null_ref("wxListItem");
24222 if (SWIG_arg_fail(2)) SWIG_fail
;
24225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24226 result
= (bool)(arg1
)->SetItem(*arg2
);
24228 wxPyEndAllowThreads(__tstate
);
24229 if (PyErr_Occurred()) SWIG_fail
;
24232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24240 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24241 PyObject
*resultobj
;
24242 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24245 wxString
*arg4
= 0 ;
24246 int arg5
= (int) -1 ;
24248 bool temp4
= false ;
24249 PyObject
* obj0
= 0 ;
24250 PyObject
* obj1
= 0 ;
24251 PyObject
* obj2
= 0 ;
24252 PyObject
* obj3
= 0 ;
24253 PyObject
* obj4
= 0 ;
24254 char *kwnames
[] = {
24255 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
24258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24260 if (SWIG_arg_fail(1)) SWIG_fail
;
24262 arg2
= (long)(SWIG_As_long(obj1
));
24263 if (SWIG_arg_fail(2)) SWIG_fail
;
24266 arg3
= (int)(SWIG_As_int(obj2
));
24267 if (SWIG_arg_fail(3)) SWIG_fail
;
24270 arg4
= wxString_in_helper(obj3
);
24271 if (arg4
== NULL
) SWIG_fail
;
24276 arg5
= (int)(SWIG_As_int(obj4
));
24277 if (SWIG_arg_fail(5)) SWIG_fail
;
24281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24282 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
24284 wxPyEndAllowThreads(__tstate
);
24285 if (PyErr_Occurred()) SWIG_fail
;
24288 resultobj
= SWIG_From_long((long)(result
));
24304 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24305 PyObject
*resultobj
;
24306 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24310 PyObject
* obj0
= 0 ;
24311 PyObject
* obj1
= 0 ;
24312 PyObject
* obj2
= 0 ;
24313 char *kwnames
[] = {
24314 (char *) "self",(char *) "item",(char *) "stateMask", NULL
24317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24319 if (SWIG_arg_fail(1)) SWIG_fail
;
24321 arg2
= (long)(SWIG_As_long(obj1
));
24322 if (SWIG_arg_fail(2)) SWIG_fail
;
24325 arg3
= (long)(SWIG_As_long(obj2
));
24326 if (SWIG_arg_fail(3)) SWIG_fail
;
24329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24330 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
24332 wxPyEndAllowThreads(__tstate
);
24333 if (PyErr_Occurred()) SWIG_fail
;
24336 resultobj
= SWIG_From_int((int)(result
));
24344 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24345 PyObject
*resultobj
;
24346 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24351 PyObject
* obj0
= 0 ;
24352 PyObject
* obj1
= 0 ;
24353 PyObject
* obj2
= 0 ;
24354 PyObject
* obj3
= 0 ;
24355 char *kwnames
[] = {
24356 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
24359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24361 if (SWIG_arg_fail(1)) SWIG_fail
;
24363 arg2
= (long)(SWIG_As_long(obj1
));
24364 if (SWIG_arg_fail(2)) SWIG_fail
;
24367 arg3
= (long)(SWIG_As_long(obj2
));
24368 if (SWIG_arg_fail(3)) SWIG_fail
;
24371 arg4
= (long)(SWIG_As_long(obj3
));
24372 if (SWIG_arg_fail(4)) SWIG_fail
;
24375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24376 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
24378 wxPyEndAllowThreads(__tstate
);
24379 if (PyErr_Occurred()) SWIG_fail
;
24382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24390 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24391 PyObject
*resultobj
;
24392 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24395 int arg4
= (int) -1 ;
24397 PyObject
* obj0
= 0 ;
24398 PyObject
* obj1
= 0 ;
24399 PyObject
* obj2
= 0 ;
24400 PyObject
* obj3
= 0 ;
24401 char *kwnames
[] = {
24402 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
24405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24407 if (SWIG_arg_fail(1)) SWIG_fail
;
24409 arg2
= (long)(SWIG_As_long(obj1
));
24410 if (SWIG_arg_fail(2)) SWIG_fail
;
24413 arg3
= (int)(SWIG_As_int(obj2
));
24414 if (SWIG_arg_fail(3)) SWIG_fail
;
24418 arg4
= (int)(SWIG_As_int(obj3
));
24419 if (SWIG_arg_fail(4)) SWIG_fail
;
24423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24424 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
24426 wxPyEndAllowThreads(__tstate
);
24427 if (PyErr_Occurred()) SWIG_fail
;
24430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24438 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24439 PyObject
*resultobj
;
24440 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24443 PyObject
* obj0
= 0 ;
24444 PyObject
* obj1
= 0 ;
24445 char *kwnames
[] = {
24446 (char *) "self",(char *) "item", NULL
24449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
24450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24451 if (SWIG_arg_fail(1)) SWIG_fail
;
24453 arg2
= (long)(SWIG_As_long(obj1
));
24454 if (SWIG_arg_fail(2)) SWIG_fail
;
24457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24458 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
24460 wxPyEndAllowThreads(__tstate
);
24461 if (PyErr_Occurred()) SWIG_fail
;
24465 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24467 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24476 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24477 PyObject
*resultobj
;
24478 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24480 wxString
*arg3
= 0 ;
24481 bool temp3
= false ;
24482 PyObject
* obj0
= 0 ;
24483 PyObject
* obj1
= 0 ;
24484 PyObject
* obj2
= 0 ;
24485 char *kwnames
[] = {
24486 (char *) "self",(char *) "item",(char *) "str", NULL
24489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24491 if (SWIG_arg_fail(1)) SWIG_fail
;
24493 arg2
= (long)(SWIG_As_long(obj1
));
24494 if (SWIG_arg_fail(2)) SWIG_fail
;
24497 arg3
= wxString_in_helper(obj2
);
24498 if (arg3
== NULL
) SWIG_fail
;
24502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24503 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
24505 wxPyEndAllowThreads(__tstate
);
24506 if (PyErr_Occurred()) SWIG_fail
;
24508 Py_INCREF(Py_None
); resultobj
= Py_None
;
24523 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24524 PyObject
*resultobj
;
24525 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24528 PyObject
* obj0
= 0 ;
24529 PyObject
* obj1
= 0 ;
24530 char *kwnames
[] = {
24531 (char *) "self",(char *) "item", NULL
24534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
24535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24536 if (SWIG_arg_fail(1)) SWIG_fail
;
24538 arg2
= (long)(SWIG_As_long(obj1
));
24539 if (SWIG_arg_fail(2)) SWIG_fail
;
24542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24543 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
24545 wxPyEndAllowThreads(__tstate
);
24546 if (PyErr_Occurred()) SWIG_fail
;
24549 resultobj
= SWIG_From_long((long)(result
));
24557 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24558 PyObject
*resultobj
;
24559 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24563 PyObject
* obj0
= 0 ;
24564 PyObject
* obj1
= 0 ;
24565 PyObject
* obj2
= 0 ;
24566 char *kwnames
[] = {
24567 (char *) "self",(char *) "item",(char *) "data", NULL
24570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24572 if (SWIG_arg_fail(1)) SWIG_fail
;
24574 arg2
= (long)(SWIG_As_long(obj1
));
24575 if (SWIG_arg_fail(2)) SWIG_fail
;
24578 arg3
= (long)(SWIG_As_long(obj2
));
24579 if (SWIG_arg_fail(3)) SWIG_fail
;
24582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24583 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
24585 wxPyEndAllowThreads(__tstate
);
24586 if (PyErr_Occurred()) SWIG_fail
;
24589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24597 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24598 PyObject
*resultobj
;
24599 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24602 PyObject
* obj0
= 0 ;
24603 PyObject
* obj1
= 0 ;
24604 char *kwnames
[] = {
24605 (char *) "self",(char *) "item", NULL
24608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
24609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24610 if (SWIG_arg_fail(1)) SWIG_fail
;
24612 arg2
= (long)(SWIG_As_long(obj1
));
24613 if (SWIG_arg_fail(2)) SWIG_fail
;
24616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24617 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
24619 wxPyEndAllowThreads(__tstate
);
24620 if (PyErr_Occurred()) SWIG_fail
;
24623 wxPoint
* resultptr
;
24624 resultptr
= new wxPoint((wxPoint
&)(result
));
24625 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24633 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24634 PyObject
*resultobj
;
24635 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24637 int arg3
= (int) wxLIST_RECT_BOUNDS
;
24639 PyObject
* obj0
= 0 ;
24640 PyObject
* obj1
= 0 ;
24641 PyObject
* obj2
= 0 ;
24642 char *kwnames
[] = {
24643 (char *) "self",(char *) "item",(char *) "code", NULL
24646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24648 if (SWIG_arg_fail(1)) SWIG_fail
;
24650 arg2
= (long)(SWIG_As_long(obj1
));
24651 if (SWIG_arg_fail(2)) SWIG_fail
;
24655 arg3
= (int)(SWIG_As_int(obj2
));
24656 if (SWIG_arg_fail(3)) SWIG_fail
;
24660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24661 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
24663 wxPyEndAllowThreads(__tstate
);
24664 if (PyErr_Occurred()) SWIG_fail
;
24667 wxRect
* resultptr
;
24668 resultptr
= new wxRect((wxRect
&)(result
));
24669 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
24677 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24678 PyObject
*resultobj
;
24679 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24681 wxPoint
*arg3
= 0 ;
24684 PyObject
* obj0
= 0 ;
24685 PyObject
* obj1
= 0 ;
24686 PyObject
* obj2
= 0 ;
24687 char *kwnames
[] = {
24688 (char *) "self",(char *) "item",(char *) "pos", NULL
24691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24693 if (SWIG_arg_fail(1)) SWIG_fail
;
24695 arg2
= (long)(SWIG_As_long(obj1
));
24696 if (SWIG_arg_fail(2)) SWIG_fail
;
24700 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24704 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
24706 wxPyEndAllowThreads(__tstate
);
24707 if (PyErr_Occurred()) SWIG_fail
;
24710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24718 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24719 PyObject
*resultobj
;
24720 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24722 PyObject
* obj0
= 0 ;
24723 char *kwnames
[] = {
24724 (char *) "self", NULL
24727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
24728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24729 if (SWIG_arg_fail(1)) SWIG_fail
;
24731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24732 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
24734 wxPyEndAllowThreads(__tstate
);
24735 if (PyErr_Occurred()) SWIG_fail
;
24738 resultobj
= SWIG_From_int((int)(result
));
24746 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24747 PyObject
*resultobj
;
24748 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24750 PyObject
* obj0
= 0 ;
24751 char *kwnames
[] = {
24752 (char *) "self", NULL
24755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
24756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24757 if (SWIG_arg_fail(1)) SWIG_fail
;
24759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24760 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
24762 wxPyEndAllowThreads(__tstate
);
24763 if (PyErr_Occurred()) SWIG_fail
;
24766 resultobj
= SWIG_From_int((int)(result
));
24774 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24775 PyObject
*resultobj
;
24776 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24778 PyObject
* obj0
= 0 ;
24779 char *kwnames
[] = {
24780 (char *) "self", NULL
24783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
24784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24785 if (SWIG_arg_fail(1)) SWIG_fail
;
24787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24788 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
24790 wxPyEndAllowThreads(__tstate
);
24791 if (PyErr_Occurred()) SWIG_fail
;
24794 wxSize
* resultptr
;
24795 resultptr
= new wxSize((wxSize
&)(result
));
24796 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24804 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24805 PyObject
*resultobj
;
24806 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24808 bool arg3
= (bool) false ;
24809 PyObject
* obj0
= 0 ;
24810 PyObject
* obj1
= 0 ;
24811 PyObject
* obj2
= 0 ;
24812 char *kwnames
[] = {
24813 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
24816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24818 if (SWIG_arg_fail(1)) SWIG_fail
;
24820 arg2
= (int)(SWIG_As_int(obj1
));
24821 if (SWIG_arg_fail(2)) SWIG_fail
;
24825 arg3
= (bool)(SWIG_As_bool(obj2
));
24826 if (SWIG_arg_fail(3)) SWIG_fail
;
24830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24831 (arg1
)->SetItemSpacing(arg2
,arg3
);
24833 wxPyEndAllowThreads(__tstate
);
24834 if (PyErr_Occurred()) SWIG_fail
;
24836 Py_INCREF(Py_None
); resultobj
= Py_None
;
24843 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24844 PyObject
*resultobj
;
24845 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24847 PyObject
* obj0
= 0 ;
24848 char *kwnames
[] = {
24849 (char *) "self", NULL
24852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
24853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24854 if (SWIG_arg_fail(1)) SWIG_fail
;
24856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24857 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
24859 wxPyEndAllowThreads(__tstate
);
24860 if (PyErr_Occurred()) SWIG_fail
;
24863 resultobj
= SWIG_From_int((int)(result
));
24871 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24872 PyObject
*resultobj
;
24873 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24875 PyObject
* obj0
= 0 ;
24876 char *kwnames
[] = {
24877 (char *) "self", NULL
24880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
24881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24882 if (SWIG_arg_fail(1)) SWIG_fail
;
24884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24885 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
24887 wxPyEndAllowThreads(__tstate
);
24888 if (PyErr_Occurred()) SWIG_fail
;
24891 wxColour
* resultptr
;
24892 resultptr
= new wxColour((wxColour
&)(result
));
24893 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24901 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24902 PyObject
*resultobj
;
24903 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24904 wxColour
*arg2
= 0 ;
24906 PyObject
* obj0
= 0 ;
24907 PyObject
* obj1
= 0 ;
24908 char *kwnames
[] = {
24909 (char *) "self",(char *) "col", NULL
24912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24914 if (SWIG_arg_fail(1)) SWIG_fail
;
24917 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24921 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
24923 wxPyEndAllowThreads(__tstate
);
24924 if (PyErr_Occurred()) SWIG_fail
;
24926 Py_INCREF(Py_None
); resultobj
= Py_None
;
24933 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24934 PyObject
*resultobj
;
24935 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24937 PyObject
* obj0
= 0 ;
24938 char *kwnames
[] = {
24939 (char *) "self", NULL
24942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
24943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24944 if (SWIG_arg_fail(1)) SWIG_fail
;
24946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24947 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
24949 wxPyEndAllowThreads(__tstate
);
24950 if (PyErr_Occurred()) SWIG_fail
;
24953 resultobj
= SWIG_From_long((long)(result
));
24961 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24962 PyObject
*resultobj
;
24963 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24965 bool arg3
= (bool) true ;
24966 PyObject
* obj0
= 0 ;
24967 PyObject
* obj1
= 0 ;
24968 PyObject
* obj2
= 0 ;
24969 char *kwnames
[] = {
24970 (char *) "self",(char *) "style",(char *) "add", NULL
24973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24975 if (SWIG_arg_fail(1)) SWIG_fail
;
24977 arg2
= (long)(SWIG_As_long(obj1
));
24978 if (SWIG_arg_fail(2)) SWIG_fail
;
24982 arg3
= (bool)(SWIG_As_bool(obj2
));
24983 if (SWIG_arg_fail(3)) SWIG_fail
;
24987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24988 (arg1
)->SetSingleStyle(arg2
,arg3
);
24990 wxPyEndAllowThreads(__tstate
);
24991 if (PyErr_Occurred()) SWIG_fail
;
24993 Py_INCREF(Py_None
); resultobj
= Py_None
;
25000 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25001 PyObject
*resultobj
;
25002 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25004 PyObject
* obj0
= 0 ;
25005 PyObject
* obj1
= 0 ;
25006 char *kwnames
[] = {
25007 (char *) "self",(char *) "style", NULL
25010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
25011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25012 if (SWIG_arg_fail(1)) SWIG_fail
;
25014 arg2
= (long)(SWIG_As_long(obj1
));
25015 if (SWIG_arg_fail(2)) SWIG_fail
;
25018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25019 (arg1
)->SetWindowStyleFlag(arg2
);
25021 wxPyEndAllowThreads(__tstate
);
25022 if (PyErr_Occurred()) SWIG_fail
;
25024 Py_INCREF(Py_None
); resultobj
= Py_None
;
25031 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25032 PyObject
*resultobj
;
25033 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25035 int arg3
= (int) wxLIST_NEXT_ALL
;
25036 int arg4
= (int) wxLIST_STATE_DONTCARE
;
25038 PyObject
* obj0
= 0 ;
25039 PyObject
* obj1
= 0 ;
25040 PyObject
* obj2
= 0 ;
25041 PyObject
* obj3
= 0 ;
25042 char *kwnames
[] = {
25043 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
25046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25048 if (SWIG_arg_fail(1)) SWIG_fail
;
25050 arg2
= (long)(SWIG_As_long(obj1
));
25051 if (SWIG_arg_fail(2)) SWIG_fail
;
25055 arg3
= (int)(SWIG_As_int(obj2
));
25056 if (SWIG_arg_fail(3)) SWIG_fail
;
25061 arg4
= (int)(SWIG_As_int(obj3
));
25062 if (SWIG_arg_fail(4)) SWIG_fail
;
25066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25067 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
25069 wxPyEndAllowThreads(__tstate
);
25070 if (PyErr_Occurred()) SWIG_fail
;
25073 resultobj
= SWIG_From_long((long)(result
));
25081 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25082 PyObject
*resultobj
;
25083 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25085 wxImageList
*result
;
25086 PyObject
* obj0
= 0 ;
25087 PyObject
* obj1
= 0 ;
25088 char *kwnames
[] = {
25089 (char *) "self",(char *) "which", NULL
25092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25094 if (SWIG_arg_fail(1)) SWIG_fail
;
25096 arg2
= (int)(SWIG_As_int(obj1
));
25097 if (SWIG_arg_fail(2)) SWIG_fail
;
25100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25101 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
25103 wxPyEndAllowThreads(__tstate
);
25104 if (PyErr_Occurred()) SWIG_fail
;
25107 resultobj
= wxPyMake_wxObject(result
, 0);
25115 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25116 PyObject
*resultobj
;
25117 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25118 wxImageList
*arg2
= (wxImageList
*) 0 ;
25120 PyObject
* obj0
= 0 ;
25121 PyObject
* obj1
= 0 ;
25122 PyObject
* obj2
= 0 ;
25123 char *kwnames
[] = {
25124 (char *) "self",(char *) "imageList",(char *) "which", NULL
25127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25129 if (SWIG_arg_fail(1)) SWIG_fail
;
25130 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
25131 if (SWIG_arg_fail(2)) SWIG_fail
;
25133 arg3
= (int)(SWIG_As_int(obj2
));
25134 if (SWIG_arg_fail(3)) SWIG_fail
;
25137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25138 (arg1
)->SetImageList(arg2
,arg3
);
25140 wxPyEndAllowThreads(__tstate
);
25141 if (PyErr_Occurred()) SWIG_fail
;
25143 Py_INCREF(Py_None
); resultobj
= Py_None
;
25150 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25151 PyObject
*resultobj
;
25152 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25153 wxImageList
*arg2
= (wxImageList
*) 0 ;
25155 PyObject
* obj0
= 0 ;
25156 PyObject
* obj1
= 0 ;
25157 PyObject
* obj2
= 0 ;
25158 char *kwnames
[] = {
25159 (char *) "self",(char *) "imageList",(char *) "which", NULL
25162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25164 if (SWIG_arg_fail(1)) SWIG_fail
;
25165 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25166 if (SWIG_arg_fail(2)) SWIG_fail
;
25168 arg3
= (int)(SWIG_As_int(obj2
));
25169 if (SWIG_arg_fail(3)) SWIG_fail
;
25172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25173 (arg1
)->AssignImageList(arg2
,arg3
);
25175 wxPyEndAllowThreads(__tstate
);
25176 if (PyErr_Occurred()) SWIG_fail
;
25178 Py_INCREF(Py_None
); resultobj
= Py_None
;
25185 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25186 PyObject
*resultobj
;
25187 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25189 PyObject
* obj0
= 0 ;
25190 char *kwnames
[] = {
25191 (char *) "self", NULL
25194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
25195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25196 if (SWIG_arg_fail(1)) SWIG_fail
;
25198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25199 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
25201 wxPyEndAllowThreads(__tstate
);
25202 if (PyErr_Occurred()) SWIG_fail
;
25205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25213 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25214 PyObject
*resultobj
;
25215 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25217 PyObject
* obj0
= 0 ;
25218 char *kwnames
[] = {
25219 (char *) "self", NULL
25222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
25223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25224 if (SWIG_arg_fail(1)) SWIG_fail
;
25226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25227 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
25229 wxPyEndAllowThreads(__tstate
);
25230 if (PyErr_Occurred()) SWIG_fail
;
25233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25241 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25242 PyObject
*resultobj
;
25243 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25245 PyObject
* obj0
= 0 ;
25246 PyObject
* obj1
= 0 ;
25247 char *kwnames
[] = {
25248 (char *) "self",(char *) "item", NULL
25251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25253 if (SWIG_arg_fail(1)) SWIG_fail
;
25255 arg2
= (long)(SWIG_As_long(obj1
));
25256 if (SWIG_arg_fail(2)) SWIG_fail
;
25259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25260 (arg1
)->RefreshItem(arg2
);
25262 wxPyEndAllowThreads(__tstate
);
25263 if (PyErr_Occurred()) SWIG_fail
;
25265 Py_INCREF(Py_None
); resultobj
= Py_None
;
25272 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25273 PyObject
*resultobj
;
25274 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25277 PyObject
* obj0
= 0 ;
25278 PyObject
* obj1
= 0 ;
25279 PyObject
* obj2
= 0 ;
25280 char *kwnames
[] = {
25281 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
25284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25286 if (SWIG_arg_fail(1)) SWIG_fail
;
25288 arg2
= (long)(SWIG_As_long(obj1
));
25289 if (SWIG_arg_fail(2)) SWIG_fail
;
25292 arg3
= (long)(SWIG_As_long(obj2
));
25293 if (SWIG_arg_fail(3)) SWIG_fail
;
25296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25297 (arg1
)->RefreshItems(arg2
,arg3
);
25299 wxPyEndAllowThreads(__tstate
);
25300 if (PyErr_Occurred()) SWIG_fail
;
25302 Py_INCREF(Py_None
); resultobj
= Py_None
;
25309 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25310 PyObject
*resultobj
;
25311 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25312 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
25314 PyObject
* obj0
= 0 ;
25315 PyObject
* obj1
= 0 ;
25316 char *kwnames
[] = {
25317 (char *) "self",(char *) "flag", NULL
25320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
25321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25322 if (SWIG_arg_fail(1)) SWIG_fail
;
25325 arg2
= (int)(SWIG_As_int(obj1
));
25326 if (SWIG_arg_fail(2)) SWIG_fail
;
25330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25331 result
= (bool)(arg1
)->Arrange(arg2
);
25333 wxPyEndAllowThreads(__tstate
);
25334 if (PyErr_Occurred()) SWIG_fail
;
25337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25345 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25346 PyObject
*resultobj
;
25347 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25350 PyObject
* obj0
= 0 ;
25351 PyObject
* obj1
= 0 ;
25352 char *kwnames
[] = {
25353 (char *) "self",(char *) "item", NULL
25356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25358 if (SWIG_arg_fail(1)) SWIG_fail
;
25360 arg2
= (long)(SWIG_As_long(obj1
));
25361 if (SWIG_arg_fail(2)) SWIG_fail
;
25364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25365 result
= (bool)(arg1
)->DeleteItem(arg2
);
25367 wxPyEndAllowThreads(__tstate
);
25368 if (PyErr_Occurred()) SWIG_fail
;
25371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25379 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25380 PyObject
*resultobj
;
25381 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25383 PyObject
* obj0
= 0 ;
25384 char *kwnames
[] = {
25385 (char *) "self", NULL
25388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
25389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25390 if (SWIG_arg_fail(1)) SWIG_fail
;
25392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25393 result
= (bool)(arg1
)->DeleteAllItems();
25395 wxPyEndAllowThreads(__tstate
);
25396 if (PyErr_Occurred()) SWIG_fail
;
25399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25407 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25408 PyObject
*resultobj
;
25409 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25412 PyObject
* obj0
= 0 ;
25413 PyObject
* obj1
= 0 ;
25414 char *kwnames
[] = {
25415 (char *) "self",(char *) "col", NULL
25418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
25419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25420 if (SWIG_arg_fail(1)) SWIG_fail
;
25422 arg2
= (int)(SWIG_As_int(obj1
));
25423 if (SWIG_arg_fail(2)) SWIG_fail
;
25426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25427 result
= (bool)(arg1
)->DeleteColumn(arg2
);
25429 wxPyEndAllowThreads(__tstate
);
25430 if (PyErr_Occurred()) SWIG_fail
;
25433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25441 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25442 PyObject
*resultobj
;
25443 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25445 PyObject
* obj0
= 0 ;
25446 char *kwnames
[] = {
25447 (char *) "self", NULL
25450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
25451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25452 if (SWIG_arg_fail(1)) SWIG_fail
;
25454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25455 result
= (bool)(arg1
)->DeleteAllColumns();
25457 wxPyEndAllowThreads(__tstate
);
25458 if (PyErr_Occurred()) SWIG_fail
;
25461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25469 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25470 PyObject
*resultobj
;
25471 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25472 PyObject
* obj0
= 0 ;
25473 char *kwnames
[] = {
25474 (char *) "self", NULL
25477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
25478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25479 if (SWIG_arg_fail(1)) SWIG_fail
;
25481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25482 (arg1
)->ClearAll();
25484 wxPyEndAllowThreads(__tstate
);
25485 if (PyErr_Occurred()) SWIG_fail
;
25487 Py_INCREF(Py_None
); resultobj
= Py_None
;
25494 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25495 PyObject
*resultobj
;
25496 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25498 PyObject
* obj0
= 0 ;
25499 PyObject
* obj1
= 0 ;
25500 char *kwnames
[] = {
25501 (char *) "self",(char *) "item", NULL
25504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25506 if (SWIG_arg_fail(1)) SWIG_fail
;
25508 arg2
= (long)(SWIG_As_long(obj1
));
25509 if (SWIG_arg_fail(2)) SWIG_fail
;
25512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25513 (arg1
)->EditLabel(arg2
);
25515 wxPyEndAllowThreads(__tstate
);
25516 if (PyErr_Occurred()) SWIG_fail
;
25518 Py_INCREF(Py_None
); resultobj
= Py_None
;
25525 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25526 PyObject
*resultobj
;
25527 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25530 PyObject
* obj0
= 0 ;
25531 PyObject
* obj1
= 0 ;
25532 char *kwnames
[] = {
25533 (char *) "self",(char *) "item", NULL
25536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25538 if (SWIG_arg_fail(1)) SWIG_fail
;
25540 arg2
= (long)(SWIG_As_long(obj1
));
25541 if (SWIG_arg_fail(2)) SWIG_fail
;
25544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25545 result
= (bool)(arg1
)->EnsureVisible(arg2
);
25547 wxPyEndAllowThreads(__tstate
);
25548 if (PyErr_Occurred()) SWIG_fail
;
25551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25559 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25560 PyObject
*resultobj
;
25561 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25563 wxString
*arg3
= 0 ;
25564 bool arg4
= (bool) false ;
25566 bool temp3
= false ;
25567 PyObject
* obj0
= 0 ;
25568 PyObject
* obj1
= 0 ;
25569 PyObject
* obj2
= 0 ;
25570 PyObject
* obj3
= 0 ;
25571 char *kwnames
[] = {
25572 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
25575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25577 if (SWIG_arg_fail(1)) SWIG_fail
;
25579 arg2
= (long)(SWIG_As_long(obj1
));
25580 if (SWIG_arg_fail(2)) SWIG_fail
;
25583 arg3
= wxString_in_helper(obj2
);
25584 if (arg3
== NULL
) SWIG_fail
;
25589 arg4
= (bool)(SWIG_As_bool(obj3
));
25590 if (SWIG_arg_fail(4)) SWIG_fail
;
25594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25595 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
25597 wxPyEndAllowThreads(__tstate
);
25598 if (PyErr_Occurred()) SWIG_fail
;
25601 resultobj
= SWIG_From_long((long)(result
));
25617 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25618 PyObject
*resultobj
;
25619 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25623 PyObject
* obj0
= 0 ;
25624 PyObject
* obj1
= 0 ;
25625 PyObject
* obj2
= 0 ;
25626 char *kwnames
[] = {
25627 (char *) "self",(char *) "start",(char *) "data", NULL
25630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25632 if (SWIG_arg_fail(1)) SWIG_fail
;
25634 arg2
= (long)(SWIG_As_long(obj1
));
25635 if (SWIG_arg_fail(2)) SWIG_fail
;
25638 arg3
= (long)(SWIG_As_long(obj2
));
25639 if (SWIG_arg_fail(3)) SWIG_fail
;
25642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25643 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
25645 wxPyEndAllowThreads(__tstate
);
25646 if (PyErr_Occurred()) SWIG_fail
;
25649 resultobj
= SWIG_From_long((long)(result
));
25657 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25658 PyObject
*resultobj
;
25659 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25661 wxPoint
*arg3
= 0 ;
25665 PyObject
* obj0
= 0 ;
25666 PyObject
* obj1
= 0 ;
25667 PyObject
* obj2
= 0 ;
25668 PyObject
* obj3
= 0 ;
25669 char *kwnames
[] = {
25670 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
25673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25675 if (SWIG_arg_fail(1)) SWIG_fail
;
25677 arg2
= (long)(SWIG_As_long(obj1
));
25678 if (SWIG_arg_fail(2)) SWIG_fail
;
25682 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25685 arg4
= (int)(SWIG_As_int(obj3
));
25686 if (SWIG_arg_fail(4)) SWIG_fail
;
25689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25690 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
25692 wxPyEndAllowThreads(__tstate
);
25693 if (PyErr_Occurred()) SWIG_fail
;
25696 resultobj
= SWIG_From_long((long)(result
));
25704 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25705 PyObject
*resultobj
;
25706 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25707 wxPoint
*arg2
= 0 ;
25713 PyObject
* obj0
= 0 ;
25714 PyObject
* obj1
= 0 ;
25715 char *kwnames
[] = {
25716 (char *) "self",(char *) "point", NULL
25719 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
25721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25722 if (SWIG_arg_fail(1)) SWIG_fail
;
25725 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25729 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
25731 wxPyEndAllowThreads(__tstate
);
25732 if (PyErr_Occurred()) SWIG_fail
;
25735 resultobj
= SWIG_From_long((long)(result
));
25737 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25738 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25745 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25746 PyObject
*resultobj
;
25747 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25748 wxListItem
*arg2
= 0 ;
25750 PyObject
* obj0
= 0 ;
25751 PyObject
* obj1
= 0 ;
25752 char *kwnames
[] = {
25753 (char *) "self",(char *) "info", NULL
25756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25758 if (SWIG_arg_fail(1)) SWIG_fail
;
25760 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
25761 if (SWIG_arg_fail(2)) SWIG_fail
;
25762 if (arg2
== NULL
) {
25763 SWIG_null_ref("wxListItem");
25765 if (SWIG_arg_fail(2)) SWIG_fail
;
25768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25769 result
= (long)(arg1
)->InsertItem(*arg2
);
25771 wxPyEndAllowThreads(__tstate
);
25772 if (PyErr_Occurred()) SWIG_fail
;
25775 resultobj
= SWIG_From_long((long)(result
));
25783 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25784 PyObject
*resultobj
;
25785 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25787 wxString
*arg3
= 0 ;
25789 bool temp3
= false ;
25790 PyObject
* obj0
= 0 ;
25791 PyObject
* obj1
= 0 ;
25792 PyObject
* obj2
= 0 ;
25793 char *kwnames
[] = {
25794 (char *) "self",(char *) "index",(char *) "label", NULL
25797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25799 if (SWIG_arg_fail(1)) SWIG_fail
;
25801 arg2
= (long)(SWIG_As_long(obj1
));
25802 if (SWIG_arg_fail(2)) SWIG_fail
;
25805 arg3
= wxString_in_helper(obj2
);
25806 if (arg3
== NULL
) SWIG_fail
;
25810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25811 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
25813 wxPyEndAllowThreads(__tstate
);
25814 if (PyErr_Occurred()) SWIG_fail
;
25817 resultobj
= SWIG_From_long((long)(result
));
25833 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25834 PyObject
*resultobj
;
25835 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25839 PyObject
* obj0
= 0 ;
25840 PyObject
* obj1
= 0 ;
25841 PyObject
* obj2
= 0 ;
25842 char *kwnames
[] = {
25843 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
25846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25848 if (SWIG_arg_fail(1)) SWIG_fail
;
25850 arg2
= (long)(SWIG_As_long(obj1
));
25851 if (SWIG_arg_fail(2)) SWIG_fail
;
25854 arg3
= (int)(SWIG_As_int(obj2
));
25855 if (SWIG_arg_fail(3)) SWIG_fail
;
25858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25859 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
25861 wxPyEndAllowThreads(__tstate
);
25862 if (PyErr_Occurred()) SWIG_fail
;
25865 resultobj
= SWIG_From_long((long)(result
));
25873 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25874 PyObject
*resultobj
;
25875 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25877 wxString
*arg3
= 0 ;
25880 bool temp3
= false ;
25881 PyObject
* obj0
= 0 ;
25882 PyObject
* obj1
= 0 ;
25883 PyObject
* obj2
= 0 ;
25884 PyObject
* obj3
= 0 ;
25885 char *kwnames
[] = {
25886 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
25889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25891 if (SWIG_arg_fail(1)) SWIG_fail
;
25893 arg2
= (long)(SWIG_As_long(obj1
));
25894 if (SWIG_arg_fail(2)) SWIG_fail
;
25897 arg3
= wxString_in_helper(obj2
);
25898 if (arg3
== NULL
) SWIG_fail
;
25902 arg4
= (int)(SWIG_As_int(obj3
));
25903 if (SWIG_arg_fail(4)) SWIG_fail
;
25906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25907 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
25909 wxPyEndAllowThreads(__tstate
);
25910 if (PyErr_Occurred()) SWIG_fail
;
25913 resultobj
= SWIG_From_long((long)(result
));
25929 static PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25930 PyObject
*resultobj
;
25931 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25933 wxListItem
*arg3
= 0 ;
25935 PyObject
* obj0
= 0 ;
25936 PyObject
* obj1
= 0 ;
25937 PyObject
* obj2
= 0 ;
25938 char *kwnames
[] = {
25939 (char *) "self",(char *) "col",(char *) "info", NULL
25942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25944 if (SWIG_arg_fail(1)) SWIG_fail
;
25946 arg2
= (long)(SWIG_As_long(obj1
));
25947 if (SWIG_arg_fail(2)) SWIG_fail
;
25950 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
25951 if (SWIG_arg_fail(3)) SWIG_fail
;
25952 if (arg3
== NULL
) {
25953 SWIG_null_ref("wxListItem");
25955 if (SWIG_arg_fail(3)) SWIG_fail
;
25958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25959 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
25961 wxPyEndAllowThreads(__tstate
);
25962 if (PyErr_Occurred()) SWIG_fail
;
25965 resultobj
= SWIG_From_long((long)(result
));
25973 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25974 PyObject
*resultobj
;
25975 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25977 wxString
*arg3
= 0 ;
25978 int arg4
= (int) wxLIST_FORMAT_LEFT
;
25979 int arg5
= (int) -1 ;
25981 bool temp3
= false ;
25982 PyObject
* obj0
= 0 ;
25983 PyObject
* obj1
= 0 ;
25984 PyObject
* obj2
= 0 ;
25985 PyObject
* obj3
= 0 ;
25986 PyObject
* obj4
= 0 ;
25987 char *kwnames
[] = {
25988 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
25991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25993 if (SWIG_arg_fail(1)) SWIG_fail
;
25995 arg2
= (long)(SWIG_As_long(obj1
));
25996 if (SWIG_arg_fail(2)) SWIG_fail
;
25999 arg3
= wxString_in_helper(obj2
);
26000 if (arg3
== NULL
) SWIG_fail
;
26005 arg4
= (int)(SWIG_As_int(obj3
));
26006 if (SWIG_arg_fail(4)) SWIG_fail
;
26011 arg5
= (int)(SWIG_As_int(obj4
));
26012 if (SWIG_arg_fail(5)) SWIG_fail
;
26016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26017 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
26019 wxPyEndAllowThreads(__tstate
);
26020 if (PyErr_Occurred()) SWIG_fail
;
26023 resultobj
= SWIG_From_long((long)(result
));
26039 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26040 PyObject
*resultobj
;
26041 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26043 PyObject
* obj0
= 0 ;
26044 PyObject
* obj1
= 0 ;
26045 char *kwnames
[] = {
26046 (char *) "self",(char *) "count", NULL
26049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
26050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26051 if (SWIG_arg_fail(1)) SWIG_fail
;
26053 arg2
= (long)(SWIG_As_long(obj1
));
26054 if (SWIG_arg_fail(2)) SWIG_fail
;
26057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26058 (arg1
)->SetItemCount(arg2
);
26060 wxPyEndAllowThreads(__tstate
);
26061 if (PyErr_Occurred()) SWIG_fail
;
26063 Py_INCREF(Py_None
); resultobj
= Py_None
;
26070 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26071 PyObject
*resultobj
;
26072 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26076 PyObject
* obj0
= 0 ;
26077 PyObject
* obj1
= 0 ;
26078 PyObject
* obj2
= 0 ;
26079 char *kwnames
[] = {
26080 (char *) "self",(char *) "dx",(char *) "dy", NULL
26083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26085 if (SWIG_arg_fail(1)) SWIG_fail
;
26087 arg2
= (int)(SWIG_As_int(obj1
));
26088 if (SWIG_arg_fail(2)) SWIG_fail
;
26091 arg3
= (int)(SWIG_As_int(obj2
));
26092 if (SWIG_arg_fail(3)) SWIG_fail
;
26095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26096 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
26098 wxPyEndAllowThreads(__tstate
);
26099 if (PyErr_Occurred()) SWIG_fail
;
26102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26110 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26111 PyObject
*resultobj
;
26112 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26114 wxColour
*arg3
= 0 ;
26116 PyObject
* obj0
= 0 ;
26117 PyObject
* obj1
= 0 ;
26118 PyObject
* obj2
= 0 ;
26119 char *kwnames
[] = {
26120 (char *) "self",(char *) "item",(char *) "col", NULL
26123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26125 if (SWIG_arg_fail(1)) SWIG_fail
;
26127 arg2
= (long)(SWIG_As_long(obj1
));
26128 if (SWIG_arg_fail(2)) SWIG_fail
;
26132 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26136 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
26138 wxPyEndAllowThreads(__tstate
);
26139 if (PyErr_Occurred()) SWIG_fail
;
26141 Py_INCREF(Py_None
); resultobj
= Py_None
;
26148 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26149 PyObject
*resultobj
;
26150 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26153 PyObject
* obj0
= 0 ;
26154 PyObject
* obj1
= 0 ;
26155 char *kwnames
[] = {
26156 (char *) "self",(char *) "item", NULL
26159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26161 if (SWIG_arg_fail(1)) SWIG_fail
;
26163 arg2
= (long)(SWIG_As_long(obj1
));
26164 if (SWIG_arg_fail(2)) SWIG_fail
;
26167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26168 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
26170 wxPyEndAllowThreads(__tstate
);
26171 if (PyErr_Occurred()) SWIG_fail
;
26174 wxColour
* resultptr
;
26175 resultptr
= new wxColour((wxColour
&)(result
));
26176 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26184 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26185 PyObject
*resultobj
;
26186 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26188 wxColour
*arg3
= 0 ;
26190 PyObject
* obj0
= 0 ;
26191 PyObject
* obj1
= 0 ;
26192 PyObject
* obj2
= 0 ;
26193 char *kwnames
[] = {
26194 (char *) "self",(char *) "item",(char *) "col", NULL
26197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26199 if (SWIG_arg_fail(1)) SWIG_fail
;
26201 arg2
= (long)(SWIG_As_long(obj1
));
26202 if (SWIG_arg_fail(2)) SWIG_fail
;
26206 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26210 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
26212 wxPyEndAllowThreads(__tstate
);
26213 if (PyErr_Occurred()) SWIG_fail
;
26215 Py_INCREF(Py_None
); resultobj
= Py_None
;
26222 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26223 PyObject
*resultobj
;
26224 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26227 PyObject
* obj0
= 0 ;
26228 PyObject
* obj1
= 0 ;
26229 char *kwnames
[] = {
26230 (char *) "self",(char *) "item", NULL
26233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26235 if (SWIG_arg_fail(1)) SWIG_fail
;
26237 arg2
= (long)(SWIG_As_long(obj1
));
26238 if (SWIG_arg_fail(2)) SWIG_fail
;
26241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26242 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
26244 wxPyEndAllowThreads(__tstate
);
26245 if (PyErr_Occurred()) SWIG_fail
;
26248 wxColour
* resultptr
;
26249 resultptr
= new wxColour((wxColour
&)(result
));
26250 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26258 static PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26259 PyObject
*resultobj
;
26260 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26263 PyObject
* obj0
= 0 ;
26264 PyObject
* obj1
= 0 ;
26265 PyObject
* obj2
= 0 ;
26266 char *kwnames
[] = {
26267 (char *) "self",(char *) "item",(char *) "f", NULL
26270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26272 if (SWIG_arg_fail(1)) SWIG_fail
;
26274 arg2
= (long)(SWIG_As_long(obj1
));
26275 if (SWIG_arg_fail(2)) SWIG_fail
;
26278 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
26279 if (SWIG_arg_fail(3)) SWIG_fail
;
26280 if (arg3
== NULL
) {
26281 SWIG_null_ref("wxFont");
26283 if (SWIG_arg_fail(3)) SWIG_fail
;
26286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26287 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
26289 wxPyEndAllowThreads(__tstate
);
26290 if (PyErr_Occurred()) SWIG_fail
;
26292 Py_INCREF(Py_None
); resultobj
= Py_None
;
26299 static PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26300 PyObject
*resultobj
;
26301 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26304 PyObject
* obj0
= 0 ;
26305 PyObject
* obj1
= 0 ;
26306 char *kwnames
[] = {
26307 (char *) "self",(char *) "item", NULL
26310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) 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
= (long)(SWIG_As_long(obj1
));
26315 if (SWIG_arg_fail(2)) SWIG_fail
;
26318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26319 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
26321 wxPyEndAllowThreads(__tstate
);
26322 if (PyErr_Occurred()) SWIG_fail
;
26325 wxFont
* resultptr
;
26326 resultptr
= new wxFont((wxFont
&)(result
));
26327 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
26335 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26336 PyObject
*resultobj
;
26337 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26338 PyObject
*arg2
= (PyObject
*) 0 ;
26340 PyObject
* obj0
= 0 ;
26341 PyObject
* obj1
= 0 ;
26342 char *kwnames
[] = {
26343 (char *) "self",(char *) "func", NULL
26346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
26347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26348 if (SWIG_arg_fail(1)) SWIG_fail
;
26351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26352 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
26354 wxPyEndAllowThreads(__tstate
);
26355 if (PyErr_Occurred()) SWIG_fail
;
26358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26366 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26367 PyObject
*resultobj
;
26368 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26370 PyObject
* obj0
= 0 ;
26371 char *kwnames
[] = {
26372 (char *) "self", NULL
26375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
26376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26377 if (SWIG_arg_fail(1)) SWIG_fail
;
26379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26380 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
26382 wxPyEndAllowThreads(__tstate
);
26383 if (PyErr_Occurred()) SWIG_fail
;
26386 resultobj
= wxPyMake_wxObject(result
, 0);
26394 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26395 PyObject
*resultobj
;
26396 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
26397 wxVisualAttributes result
;
26398 PyObject
* obj0
= 0 ;
26399 char *kwnames
[] = {
26400 (char *) "variant", NULL
26403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26406 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
26407 if (SWIG_arg_fail(1)) SWIG_fail
;
26411 if (!wxPyCheckForApp()) SWIG_fail
;
26412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26413 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
26415 wxPyEndAllowThreads(__tstate
);
26416 if (PyErr_Occurred()) SWIG_fail
;
26419 wxVisualAttributes
* resultptr
;
26420 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
26421 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26429 static PyObject
* ListCtrl_swigregister(PyObject
*, PyObject
*args
) {
26431 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26432 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
26434 return Py_BuildValue((char *)"");
26436 static PyObject
*_wrap_new_ListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26437 PyObject
*resultobj
;
26438 wxWindow
*arg1
= (wxWindow
*) 0 ;
26439 int arg2
= (int) -1 ;
26440 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
26441 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
26442 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26443 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26444 long arg5
= (long) wxLC_REPORT
;
26445 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
26446 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
26447 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
26448 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26449 wxListView
*result
;
26452 bool temp7
= false ;
26453 PyObject
* obj0
= 0 ;
26454 PyObject
* obj1
= 0 ;
26455 PyObject
* obj2
= 0 ;
26456 PyObject
* obj3
= 0 ;
26457 PyObject
* obj4
= 0 ;
26458 PyObject
* obj5
= 0 ;
26459 PyObject
* obj6
= 0 ;
26460 char *kwnames
[] = {
26461 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26466 if (SWIG_arg_fail(1)) SWIG_fail
;
26469 arg2
= (int)(SWIG_As_int(obj1
));
26470 if (SWIG_arg_fail(2)) SWIG_fail
;
26476 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26482 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26487 arg5
= (long)(SWIG_As_long(obj4
));
26488 if (SWIG_arg_fail(5)) SWIG_fail
;
26493 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
26494 if (SWIG_arg_fail(6)) SWIG_fail
;
26495 if (arg6
== NULL
) {
26496 SWIG_null_ref("wxValidator");
26498 if (SWIG_arg_fail(6)) SWIG_fail
;
26503 arg7
= wxString_in_helper(obj6
);
26504 if (arg7
== NULL
) SWIG_fail
;
26509 if (!wxPyCheckForApp()) SWIG_fail
;
26510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26511 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
26513 wxPyEndAllowThreads(__tstate
);
26514 if (PyErr_Occurred()) SWIG_fail
;
26516 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
26531 static PyObject
*_wrap_new_PreListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26532 PyObject
*resultobj
;
26533 wxListView
*result
;
26534 char *kwnames
[] = {
26538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
26540 if (!wxPyCheckForApp()) SWIG_fail
;
26541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26542 result
= (wxListView
*)new wxListView();
26544 wxPyEndAllowThreads(__tstate
);
26545 if (PyErr_Occurred()) SWIG_fail
;
26547 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
26554 static PyObject
*_wrap_ListView_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26555 PyObject
*resultobj
;
26556 wxListView
*arg1
= (wxListView
*) 0 ;
26557 wxWindow
*arg2
= (wxWindow
*) 0 ;
26558 int arg3
= (int) -1 ;
26559 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26560 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26561 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26562 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26563 long arg6
= (long) wxLC_REPORT
;
26564 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
26565 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
26566 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
26567 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
26571 bool temp8
= false ;
26572 PyObject
* obj0
= 0 ;
26573 PyObject
* obj1
= 0 ;
26574 PyObject
* obj2
= 0 ;
26575 PyObject
* obj3
= 0 ;
26576 PyObject
* obj4
= 0 ;
26577 PyObject
* obj5
= 0 ;
26578 PyObject
* obj6
= 0 ;
26579 PyObject
* obj7
= 0 ;
26580 char *kwnames
[] = {
26581 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
26585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26586 if (SWIG_arg_fail(1)) SWIG_fail
;
26587 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26588 if (SWIG_arg_fail(2)) SWIG_fail
;
26591 arg3
= (int)(SWIG_As_int(obj2
));
26592 if (SWIG_arg_fail(3)) SWIG_fail
;
26598 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26604 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26609 arg6
= (long)(SWIG_As_long(obj5
));
26610 if (SWIG_arg_fail(6)) SWIG_fail
;
26615 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
26616 if (SWIG_arg_fail(7)) SWIG_fail
;
26617 if (arg7
== NULL
) {
26618 SWIG_null_ref("wxValidator");
26620 if (SWIG_arg_fail(7)) SWIG_fail
;
26625 arg8
= wxString_in_helper(obj7
);
26626 if (arg8
== NULL
) SWIG_fail
;
26631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26632 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
26634 wxPyEndAllowThreads(__tstate
);
26635 if (PyErr_Occurred()) SWIG_fail
;
26638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26654 static PyObject
*_wrap_ListView_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26655 PyObject
*resultobj
;
26656 wxListView
*arg1
= (wxListView
*) 0 ;
26658 bool arg3
= (bool) true ;
26659 PyObject
* obj0
= 0 ;
26660 PyObject
* obj1
= 0 ;
26661 PyObject
* obj2
= 0 ;
26662 char *kwnames
[] = {
26663 (char *) "self",(char *) "n",(char *) "on", NULL
26666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26668 if (SWIG_arg_fail(1)) SWIG_fail
;
26670 arg2
= (long)(SWIG_As_long(obj1
));
26671 if (SWIG_arg_fail(2)) SWIG_fail
;
26675 arg3
= (bool)(SWIG_As_bool(obj2
));
26676 if (SWIG_arg_fail(3)) SWIG_fail
;
26680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26681 (arg1
)->Select(arg2
,arg3
);
26683 wxPyEndAllowThreads(__tstate
);
26684 if (PyErr_Occurred()) SWIG_fail
;
26686 Py_INCREF(Py_None
); resultobj
= Py_None
;
26693 static PyObject
*_wrap_ListView_Focus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26694 PyObject
*resultobj
;
26695 wxListView
*arg1
= (wxListView
*) 0 ;
26697 PyObject
* obj0
= 0 ;
26698 PyObject
* obj1
= 0 ;
26699 char *kwnames
[] = {
26700 (char *) "self",(char *) "index", NULL
26703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
26704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26705 if (SWIG_arg_fail(1)) SWIG_fail
;
26707 arg2
= (long)(SWIG_As_long(obj1
));
26708 if (SWIG_arg_fail(2)) SWIG_fail
;
26711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26712 (arg1
)->Focus(arg2
);
26714 wxPyEndAllowThreads(__tstate
);
26715 if (PyErr_Occurred()) SWIG_fail
;
26717 Py_INCREF(Py_None
); resultobj
= Py_None
;
26724 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26725 PyObject
*resultobj
;
26726 wxListView
*arg1
= (wxListView
*) 0 ;
26728 PyObject
* obj0
= 0 ;
26729 char *kwnames
[] = {
26730 (char *) "self", NULL
26733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
26734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26735 if (SWIG_arg_fail(1)) SWIG_fail
;
26737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26738 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
26740 wxPyEndAllowThreads(__tstate
);
26741 if (PyErr_Occurred()) SWIG_fail
;
26744 resultobj
= SWIG_From_long((long)(result
));
26752 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26753 PyObject
*resultobj
;
26754 wxListView
*arg1
= (wxListView
*) 0 ;
26757 PyObject
* obj0
= 0 ;
26758 PyObject
* obj1
= 0 ;
26759 char *kwnames
[] = {
26760 (char *) "self",(char *) "item", NULL
26763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26765 if (SWIG_arg_fail(1)) SWIG_fail
;
26767 arg2
= (long)(SWIG_As_long(obj1
));
26768 if (SWIG_arg_fail(2)) SWIG_fail
;
26771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26772 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
26774 wxPyEndAllowThreads(__tstate
);
26775 if (PyErr_Occurred()) SWIG_fail
;
26778 resultobj
= SWIG_From_long((long)(result
));
26786 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26787 PyObject
*resultobj
;
26788 wxListView
*arg1
= (wxListView
*) 0 ;
26790 PyObject
* obj0
= 0 ;
26791 char *kwnames
[] = {
26792 (char *) "self", NULL
26795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
26796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26797 if (SWIG_arg_fail(1)) SWIG_fail
;
26799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26800 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
26802 wxPyEndAllowThreads(__tstate
);
26803 if (PyErr_Occurred()) SWIG_fail
;
26806 resultobj
= SWIG_From_long((long)(result
));
26814 static PyObject
*_wrap_ListView_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26815 PyObject
*resultobj
;
26816 wxListView
*arg1
= (wxListView
*) 0 ;
26819 PyObject
* obj0
= 0 ;
26820 PyObject
* obj1
= 0 ;
26821 char *kwnames
[] = {
26822 (char *) "self",(char *) "index", NULL
26825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26827 if (SWIG_arg_fail(1)) SWIG_fail
;
26829 arg2
= (long)(SWIG_As_long(obj1
));
26830 if (SWIG_arg_fail(2)) SWIG_fail
;
26833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26834 result
= (bool)(arg1
)->IsSelected(arg2
);
26836 wxPyEndAllowThreads(__tstate
);
26837 if (PyErr_Occurred()) SWIG_fail
;
26840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26848 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26849 PyObject
*resultobj
;
26850 wxListView
*arg1
= (wxListView
*) 0 ;
26853 PyObject
* obj0
= 0 ;
26854 PyObject
* obj1
= 0 ;
26855 PyObject
* obj2
= 0 ;
26856 char *kwnames
[] = {
26857 (char *) "self",(char *) "col",(char *) "image", NULL
26860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26862 if (SWIG_arg_fail(1)) SWIG_fail
;
26864 arg2
= (int)(SWIG_As_int(obj1
));
26865 if (SWIG_arg_fail(2)) SWIG_fail
;
26868 arg3
= (int)(SWIG_As_int(obj2
));
26869 if (SWIG_arg_fail(3)) SWIG_fail
;
26872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26873 (arg1
)->SetColumnImage(arg2
,arg3
);
26875 wxPyEndAllowThreads(__tstate
);
26876 if (PyErr_Occurred()) SWIG_fail
;
26878 Py_INCREF(Py_None
); resultobj
= Py_None
;
26885 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26886 PyObject
*resultobj
;
26887 wxListView
*arg1
= (wxListView
*) 0 ;
26889 PyObject
* obj0
= 0 ;
26890 PyObject
* obj1
= 0 ;
26891 char *kwnames
[] = {
26892 (char *) "self",(char *) "col", NULL
26895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
26896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26897 if (SWIG_arg_fail(1)) SWIG_fail
;
26899 arg2
= (int)(SWIG_As_int(obj1
));
26900 if (SWIG_arg_fail(2)) SWIG_fail
;
26903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26904 (arg1
)->ClearColumnImage(arg2
);
26906 wxPyEndAllowThreads(__tstate
);
26907 if (PyErr_Occurred()) SWIG_fail
;
26909 Py_INCREF(Py_None
); resultobj
= Py_None
;
26916 static PyObject
* ListView_swigregister(PyObject
*, PyObject
*args
) {
26918 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26919 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
26921 return Py_BuildValue((char *)"");
26923 static int _wrap_TreeCtrlNameStr_set(PyObject
*) {
26924 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
26929 static PyObject
*_wrap_TreeCtrlNameStr_get(void) {
26934 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
26936 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
26943 static PyObject
*_wrap_new_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26944 PyObject
*resultobj
;
26945 wxTreeItemId
*result
;
26946 char *kwnames
[] = {
26950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
26952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26953 result
= (wxTreeItemId
*)new wxTreeItemId();
26955 wxPyEndAllowThreads(__tstate
);
26956 if (PyErr_Occurred()) SWIG_fail
;
26958 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
26965 static PyObject
*_wrap_delete_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26966 PyObject
*resultobj
;
26967 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
26968 PyObject
* obj0
= 0 ;
26969 char *kwnames
[] = {
26970 (char *) "self", NULL
26973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
26974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
26975 if (SWIG_arg_fail(1)) SWIG_fail
;
26977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26980 wxPyEndAllowThreads(__tstate
);
26981 if (PyErr_Occurred()) SWIG_fail
;
26983 Py_INCREF(Py_None
); resultobj
= Py_None
;
26990 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26991 PyObject
*resultobj
;
26992 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
26994 PyObject
* obj0
= 0 ;
26995 char *kwnames
[] = {
26996 (char *) "self", NULL
26999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
27000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27001 if (SWIG_arg_fail(1)) SWIG_fail
;
27003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27004 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
27006 wxPyEndAllowThreads(__tstate
);
27007 if (PyErr_Occurred()) SWIG_fail
;
27010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27018 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27019 PyObject
*resultobj
;
27020 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27021 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
27023 PyObject
* obj0
= 0 ;
27024 PyObject
* obj1
= 0 ;
27025 char *kwnames
[] = {
27026 (char *) "self",(char *) "other", NULL
27029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27031 if (SWIG_arg_fail(1)) SWIG_fail
;
27032 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27033 if (SWIG_arg_fail(2)) SWIG_fail
;
27035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27036 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
27038 wxPyEndAllowThreads(__tstate
);
27039 if (PyErr_Occurred()) SWIG_fail
;
27042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27050 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27051 PyObject
*resultobj
;
27052 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27053 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
27055 PyObject
* obj0
= 0 ;
27056 PyObject
* obj1
= 0 ;
27057 char *kwnames
[] = {
27058 (char *) "self",(char *) "other", NULL
27061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27063 if (SWIG_arg_fail(1)) SWIG_fail
;
27064 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27065 if (SWIG_arg_fail(2)) SWIG_fail
;
27067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27068 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
27070 wxPyEndAllowThreads(__tstate
);
27071 if (PyErr_Occurred()) SWIG_fail
;
27074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27082 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27083 PyObject
*resultobj
;
27084 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27085 void *arg2
= (void *) 0 ;
27086 PyObject
* obj0
= 0 ;
27087 PyObject
* obj1
= 0 ;
27088 char *kwnames
[] = {
27089 (char *) "self",(char *) "m_pItem", NULL
27092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27094 if (SWIG_arg_fail(1)) SWIG_fail
;
27096 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),0,SWIG_POINTER_EXCEPTION
|SWIG_POINTER_DISOWN
))== -1) {
27097 SWIG_arg_fail(2);SWIG_fail
;
27100 if (arg1
) (arg1
)->m_pItem
= arg2
;
27102 Py_INCREF(Py_None
); resultobj
= Py_None
;
27109 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27110 PyObject
*resultobj
;
27111 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27113 PyObject
* obj0
= 0 ;
27114 char *kwnames
[] = {
27115 (char *) "self", NULL
27118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
27119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27120 if (SWIG_arg_fail(1)) SWIG_fail
;
27121 result
= (void *) ((arg1
)->m_pItem
);
27123 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
27130 static PyObject
* TreeItemId_swigregister(PyObject
*, PyObject
*args
) {
27132 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27133 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
27135 return Py_BuildValue((char *)"");
27137 static PyObject
*_wrap_new_TreeItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27138 PyObject
*resultobj
;
27139 PyObject
*arg1
= (PyObject
*) NULL
;
27140 wxPyTreeItemData
*result
;
27141 PyObject
* obj0
= 0 ;
27142 char *kwnames
[] = {
27143 (char *) "obj", NULL
27146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
27151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27152 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
27154 wxPyEndAllowThreads(__tstate
);
27155 if (PyErr_Occurred()) SWIG_fail
;
27157 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
27164 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27165 PyObject
*resultobj
;
27166 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27168 PyObject
* obj0
= 0 ;
27169 char *kwnames
[] = {
27170 (char *) "self", NULL
27173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
27174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27175 if (SWIG_arg_fail(1)) SWIG_fail
;
27177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27178 result
= (PyObject
*)(arg1
)->GetData();
27180 wxPyEndAllowThreads(__tstate
);
27181 if (PyErr_Occurred()) SWIG_fail
;
27183 resultobj
= result
;
27190 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27191 PyObject
*resultobj
;
27192 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27193 PyObject
*arg2
= (PyObject
*) 0 ;
27194 PyObject
* obj0
= 0 ;
27195 PyObject
* obj1
= 0 ;
27196 char *kwnames
[] = {
27197 (char *) "self",(char *) "obj", NULL
27200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27202 if (SWIG_arg_fail(1)) SWIG_fail
;
27205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27206 (arg1
)->SetData(arg2
);
27208 wxPyEndAllowThreads(__tstate
);
27209 if (PyErr_Occurred()) SWIG_fail
;
27211 Py_INCREF(Py_None
); resultobj
= Py_None
;
27218 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27219 PyObject
*resultobj
;
27220 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27221 wxTreeItemId
*result
;
27222 PyObject
* obj0
= 0 ;
27223 char *kwnames
[] = {
27224 (char *) "self", NULL
27227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
27228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27229 if (SWIG_arg_fail(1)) SWIG_fail
;
27231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27233 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
27234 result
= (wxTreeItemId
*) &_result_ref
;
27237 wxPyEndAllowThreads(__tstate
);
27238 if (PyErr_Occurred()) SWIG_fail
;
27240 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
27247 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27248 PyObject
*resultobj
;
27249 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27250 wxTreeItemId
*arg2
= 0 ;
27251 PyObject
* obj0
= 0 ;
27252 PyObject
* obj1
= 0 ;
27253 char *kwnames
[] = {
27254 (char *) "self",(char *) "id", NULL
27257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
27258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27259 if (SWIG_arg_fail(1)) SWIG_fail
;
27261 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27262 if (SWIG_arg_fail(2)) SWIG_fail
;
27263 if (arg2
== NULL
) {
27264 SWIG_null_ref("wxTreeItemId");
27266 if (SWIG_arg_fail(2)) SWIG_fail
;
27269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27270 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
27272 wxPyEndAllowThreads(__tstate
);
27273 if (PyErr_Occurred()) SWIG_fail
;
27275 Py_INCREF(Py_None
); resultobj
= Py_None
;
27282 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27283 PyObject
*resultobj
;
27284 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27285 PyObject
* obj0
= 0 ;
27286 char *kwnames
[] = {
27287 (char *) "self", NULL
27290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
27291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27292 if (SWIG_arg_fail(1)) SWIG_fail
;
27294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27295 wxPyTreeItemData_Destroy(arg1
);
27297 wxPyEndAllowThreads(__tstate
);
27298 if (PyErr_Occurred()) SWIG_fail
;
27300 Py_INCREF(Py_None
); resultobj
= Py_None
;
27307 static PyObject
* TreeItemData_swigregister(PyObject
*, PyObject
*args
) {
27309 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27310 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
27312 return Py_BuildValue((char *)"");
27314 static PyObject
*_wrap_new_TreeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27315 PyObject
*resultobj
;
27316 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27317 int arg2
= (int) 0 ;
27318 wxTreeEvent
*result
;
27319 PyObject
* obj0
= 0 ;
27320 PyObject
* obj1
= 0 ;
27321 char *kwnames
[] = {
27322 (char *) "commandType",(char *) "id", NULL
27325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
27328 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
27329 if (SWIG_arg_fail(1)) SWIG_fail
;
27334 arg2
= (int)(SWIG_As_int(obj1
));
27335 if (SWIG_arg_fail(2)) SWIG_fail
;
27339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27340 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
27342 wxPyEndAllowThreads(__tstate
);
27343 if (PyErr_Occurred()) SWIG_fail
;
27345 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
27352 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27353 PyObject
*resultobj
;
27354 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27355 wxTreeItemId result
;
27356 PyObject
* obj0
= 0 ;
27357 char *kwnames
[] = {
27358 (char *) "self", NULL
27361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
27362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27363 if (SWIG_arg_fail(1)) SWIG_fail
;
27365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27366 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
27368 wxPyEndAllowThreads(__tstate
);
27369 if (PyErr_Occurred()) SWIG_fail
;
27372 wxTreeItemId
* resultptr
;
27373 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
27374 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27382 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27383 PyObject
*resultobj
;
27384 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27385 wxTreeItemId
*arg2
= 0 ;
27386 PyObject
* obj0
= 0 ;
27387 PyObject
* obj1
= 0 ;
27388 char *kwnames
[] = {
27389 (char *) "self",(char *) "item", NULL
27392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27394 if (SWIG_arg_fail(1)) SWIG_fail
;
27396 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27397 if (SWIG_arg_fail(2)) SWIG_fail
;
27398 if (arg2
== NULL
) {
27399 SWIG_null_ref("wxTreeItemId");
27401 if (SWIG_arg_fail(2)) SWIG_fail
;
27404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27405 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
27407 wxPyEndAllowThreads(__tstate
);
27408 if (PyErr_Occurred()) SWIG_fail
;
27410 Py_INCREF(Py_None
); resultobj
= Py_None
;
27417 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27418 PyObject
*resultobj
;
27419 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27420 wxTreeItemId result
;
27421 PyObject
* obj0
= 0 ;
27422 char *kwnames
[] = {
27423 (char *) "self", NULL
27426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
27427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27428 if (SWIG_arg_fail(1)) SWIG_fail
;
27430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27431 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
27433 wxPyEndAllowThreads(__tstate
);
27434 if (PyErr_Occurred()) SWIG_fail
;
27437 wxTreeItemId
* resultptr
;
27438 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
27439 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27447 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27448 PyObject
*resultobj
;
27449 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27450 wxTreeItemId
*arg2
= 0 ;
27451 PyObject
* obj0
= 0 ;
27452 PyObject
* obj1
= 0 ;
27453 char *kwnames
[] = {
27454 (char *) "self",(char *) "item", NULL
27457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27459 if (SWIG_arg_fail(1)) SWIG_fail
;
27461 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27462 if (SWIG_arg_fail(2)) SWIG_fail
;
27463 if (arg2
== NULL
) {
27464 SWIG_null_ref("wxTreeItemId");
27466 if (SWIG_arg_fail(2)) SWIG_fail
;
27469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27470 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
27472 wxPyEndAllowThreads(__tstate
);
27473 if (PyErr_Occurred()) SWIG_fail
;
27475 Py_INCREF(Py_None
); resultobj
= Py_None
;
27482 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27483 PyObject
*resultobj
;
27484 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27486 PyObject
* obj0
= 0 ;
27487 char *kwnames
[] = {
27488 (char *) "self", NULL
27491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
27492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27493 if (SWIG_arg_fail(1)) SWIG_fail
;
27495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27496 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
27498 wxPyEndAllowThreads(__tstate
);
27499 if (PyErr_Occurred()) SWIG_fail
;
27502 wxPoint
* resultptr
;
27503 resultptr
= new wxPoint((wxPoint
&)(result
));
27504 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
27512 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27513 PyObject
*resultobj
;
27514 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27515 wxPoint
*arg2
= 0 ;
27517 PyObject
* obj0
= 0 ;
27518 PyObject
* obj1
= 0 ;
27519 char *kwnames
[] = {
27520 (char *) "self",(char *) "pt", NULL
27523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
27524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27525 if (SWIG_arg_fail(1)) SWIG_fail
;
27528 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27532 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
27534 wxPyEndAllowThreads(__tstate
);
27535 if (PyErr_Occurred()) SWIG_fail
;
27537 Py_INCREF(Py_None
); resultobj
= Py_None
;
27544 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27545 PyObject
*resultobj
;
27546 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27547 wxKeyEvent
*result
;
27548 PyObject
* obj0
= 0 ;
27549 char *kwnames
[] = {
27550 (char *) "self", NULL
27553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
27554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27555 if (SWIG_arg_fail(1)) SWIG_fail
;
27557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27559 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
27560 result
= (wxKeyEvent
*) &_result_ref
;
27563 wxPyEndAllowThreads(__tstate
);
27564 if (PyErr_Occurred()) SWIG_fail
;
27566 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
27573 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27574 PyObject
*resultobj
;
27575 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27577 PyObject
* obj0
= 0 ;
27578 char *kwnames
[] = {
27579 (char *) "self", NULL
27582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
27583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27584 if (SWIG_arg_fail(1)) SWIG_fail
;
27586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27587 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
27589 wxPyEndAllowThreads(__tstate
);
27590 if (PyErr_Occurred()) SWIG_fail
;
27593 resultobj
= SWIG_From_int((int)(result
));
27601 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27602 PyObject
*resultobj
;
27603 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27604 wxKeyEvent
*arg2
= 0 ;
27605 PyObject
* obj0
= 0 ;
27606 PyObject
* obj1
= 0 ;
27607 char *kwnames
[] = {
27608 (char *) "self",(char *) "evt", NULL
27611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
27612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27613 if (SWIG_arg_fail(1)) SWIG_fail
;
27615 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
27616 if (SWIG_arg_fail(2)) SWIG_fail
;
27617 if (arg2
== NULL
) {
27618 SWIG_null_ref("wxKeyEvent");
27620 if (SWIG_arg_fail(2)) SWIG_fail
;
27623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27624 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
27626 wxPyEndAllowThreads(__tstate
);
27627 if (PyErr_Occurred()) SWIG_fail
;
27629 Py_INCREF(Py_None
); resultobj
= Py_None
;
27636 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27637 PyObject
*resultobj
;
27638 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27640 PyObject
* obj0
= 0 ;
27641 char *kwnames
[] = {
27642 (char *) "self", NULL
27645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
27646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27647 if (SWIG_arg_fail(1)) SWIG_fail
;
27649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27651 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
27652 result
= (wxString
*) &_result_ref
;
27655 wxPyEndAllowThreads(__tstate
);
27656 if (PyErr_Occurred()) SWIG_fail
;
27660 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27662 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27671 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27672 PyObject
*resultobj
;
27673 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27674 wxString
*arg2
= 0 ;
27675 bool temp2
= false ;
27676 PyObject
* obj0
= 0 ;
27677 PyObject
* obj1
= 0 ;
27678 char *kwnames
[] = {
27679 (char *) "self",(char *) "label", NULL
27682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
27683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27684 if (SWIG_arg_fail(1)) SWIG_fail
;
27686 arg2
= wxString_in_helper(obj1
);
27687 if (arg2
== NULL
) SWIG_fail
;
27691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27692 (arg1
)->SetLabel((wxString
const &)*arg2
);
27694 wxPyEndAllowThreads(__tstate
);
27695 if (PyErr_Occurred()) SWIG_fail
;
27697 Py_INCREF(Py_None
); resultobj
= Py_None
;
27712 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27713 PyObject
*resultobj
;
27714 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27716 PyObject
* obj0
= 0 ;
27717 char *kwnames
[] = {
27718 (char *) "self", NULL
27721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
27722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27723 if (SWIG_arg_fail(1)) SWIG_fail
;
27725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27726 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
27728 wxPyEndAllowThreads(__tstate
);
27729 if (PyErr_Occurred()) SWIG_fail
;
27732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27740 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27741 PyObject
*resultobj
;
27742 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27744 PyObject
* obj0
= 0 ;
27745 PyObject
* obj1
= 0 ;
27746 char *kwnames
[] = {
27747 (char *) "self",(char *) "editCancelled", NULL
27750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
27751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27752 if (SWIG_arg_fail(1)) SWIG_fail
;
27754 arg2
= (bool)(SWIG_As_bool(obj1
));
27755 if (SWIG_arg_fail(2)) SWIG_fail
;
27758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27759 (arg1
)->SetEditCanceled(arg2
);
27761 wxPyEndAllowThreads(__tstate
);
27762 if (PyErr_Occurred()) SWIG_fail
;
27764 Py_INCREF(Py_None
); resultobj
= Py_None
;
27771 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27772 PyObject
*resultobj
;
27773 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27774 wxString
*arg2
= 0 ;
27775 bool temp2
= false ;
27776 PyObject
* obj0
= 0 ;
27777 PyObject
* obj1
= 0 ;
27778 char *kwnames
[] = {
27779 (char *) "self",(char *) "toolTip", NULL
27782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
27783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27784 if (SWIG_arg_fail(1)) SWIG_fail
;
27786 arg2
= wxString_in_helper(obj1
);
27787 if (arg2
== NULL
) SWIG_fail
;
27791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27792 (arg1
)->SetToolTip((wxString
const &)*arg2
);
27794 wxPyEndAllowThreads(__tstate
);
27795 if (PyErr_Occurred()) SWIG_fail
;
27797 Py_INCREF(Py_None
); resultobj
= Py_None
;
27812 static PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27813 PyObject
*resultobj
;
27814 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27816 PyObject
* obj0
= 0 ;
27817 char *kwnames
[] = {
27818 (char *) "self", NULL
27821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetToolTip",kwnames
,&obj0
)) goto fail
;
27822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27823 if (SWIG_arg_fail(1)) SWIG_fail
;
27825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27826 result
= (arg1
)->GetToolTip();
27828 wxPyEndAllowThreads(__tstate
);
27829 if (PyErr_Occurred()) SWIG_fail
;
27833 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27835 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27844 static PyObject
* TreeEvent_swigregister(PyObject
*, PyObject
*args
) {
27846 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27847 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
27849 return Py_BuildValue((char *)"");
27851 static PyObject
*_wrap_new_TreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27852 PyObject
*resultobj
;
27853 wxWindow
*arg1
= (wxWindow
*) 0 ;
27854 int arg2
= (int) -1 ;
27855 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27856 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27857 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27858 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27859 long arg5
= (long) wxTR_DEFAULT_STYLE
;
27860 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
27861 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
27862 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
27863 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27864 wxPyTreeCtrl
*result
;
27867 bool temp7
= false ;
27868 PyObject
* obj0
= 0 ;
27869 PyObject
* obj1
= 0 ;
27870 PyObject
* obj2
= 0 ;
27871 PyObject
* obj3
= 0 ;
27872 PyObject
* obj4
= 0 ;
27873 PyObject
* obj5
= 0 ;
27874 PyObject
* obj6
= 0 ;
27875 char *kwnames
[] = {
27876 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27881 if (SWIG_arg_fail(1)) SWIG_fail
;
27884 arg2
= (int)(SWIG_As_int(obj1
));
27885 if (SWIG_arg_fail(2)) SWIG_fail
;
27891 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27897 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27902 arg5
= (long)(SWIG_As_long(obj4
));
27903 if (SWIG_arg_fail(5)) SWIG_fail
;
27908 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
27909 if (SWIG_arg_fail(6)) SWIG_fail
;
27910 if (arg6
== NULL
) {
27911 SWIG_null_ref("wxValidator");
27913 if (SWIG_arg_fail(6)) SWIG_fail
;
27918 arg7
= wxString_in_helper(obj6
);
27919 if (arg7
== NULL
) SWIG_fail
;
27924 if (!wxPyCheckForApp()) SWIG_fail
;
27925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27926 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
27928 wxPyEndAllowThreads(__tstate
);
27929 if (PyErr_Occurred()) SWIG_fail
;
27931 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
27946 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27947 PyObject
*resultobj
;
27948 wxPyTreeCtrl
*result
;
27949 char *kwnames
[] = {
27953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
27955 if (!wxPyCheckForApp()) SWIG_fail
;
27956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27957 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
27959 wxPyEndAllowThreads(__tstate
);
27960 if (PyErr_Occurred()) SWIG_fail
;
27962 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
27969 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27970 PyObject
*resultobj
;
27971 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27972 wxWindow
*arg2
= (wxWindow
*) 0 ;
27973 int arg3
= (int) -1 ;
27974 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27975 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27976 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27977 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27978 long arg6
= (long) wxTR_DEFAULT_STYLE
;
27979 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
27980 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
27981 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
27982 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
27986 bool temp8
= false ;
27987 PyObject
* obj0
= 0 ;
27988 PyObject
* obj1
= 0 ;
27989 PyObject
* obj2
= 0 ;
27990 PyObject
* obj3
= 0 ;
27991 PyObject
* obj4
= 0 ;
27992 PyObject
* obj5
= 0 ;
27993 PyObject
* obj6
= 0 ;
27994 PyObject
* obj7
= 0 ;
27995 char *kwnames
[] = {
27996 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
28000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28001 if (SWIG_arg_fail(1)) SWIG_fail
;
28002 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28003 if (SWIG_arg_fail(2)) SWIG_fail
;
28006 arg3
= (int)(SWIG_As_int(obj2
));
28007 if (SWIG_arg_fail(3)) SWIG_fail
;
28013 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28019 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28024 arg6
= (long)(SWIG_As_long(obj5
));
28025 if (SWIG_arg_fail(6)) SWIG_fail
;
28030 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
28031 if (SWIG_arg_fail(7)) SWIG_fail
;
28032 if (arg7
== NULL
) {
28033 SWIG_null_ref("wxValidator");
28035 if (SWIG_arg_fail(7)) SWIG_fail
;
28040 arg8
= wxString_in_helper(obj7
);
28041 if (arg8
== NULL
) SWIG_fail
;
28046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28047 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28049 wxPyEndAllowThreads(__tstate
);
28050 if (PyErr_Occurred()) SWIG_fail
;
28053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28069 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28070 PyObject
*resultobj
;
28071 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28072 PyObject
*arg2
= (PyObject
*) 0 ;
28073 PyObject
*arg3
= (PyObject
*) 0 ;
28074 PyObject
* obj0
= 0 ;
28075 PyObject
* obj1
= 0 ;
28076 PyObject
* obj2
= 0 ;
28077 char *kwnames
[] = {
28078 (char *) "self",(char *) "self",(char *) "_class", NULL
28081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28083 if (SWIG_arg_fail(1)) SWIG_fail
;
28087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28088 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28090 wxPyEndAllowThreads(__tstate
);
28091 if (PyErr_Occurred()) SWIG_fail
;
28093 Py_INCREF(Py_None
); resultobj
= Py_None
;
28100 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28101 PyObject
*resultobj
;
28102 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28104 PyObject
* obj0
= 0 ;
28105 char *kwnames
[] = {
28106 (char *) "self", NULL
28109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
28110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28111 if (SWIG_arg_fail(1)) SWIG_fail
;
28113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28114 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
28116 wxPyEndAllowThreads(__tstate
);
28117 if (PyErr_Occurred()) SWIG_fail
;
28120 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
28128 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28129 PyObject
*resultobj
;
28130 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28131 unsigned int result
;
28132 PyObject
* obj0
= 0 ;
28133 char *kwnames
[] = {
28134 (char *) "self", NULL
28137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
28138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28139 if (SWIG_arg_fail(1)) SWIG_fail
;
28141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28142 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
28144 wxPyEndAllowThreads(__tstate
);
28145 if (PyErr_Occurred()) SWIG_fail
;
28148 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
28156 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28157 PyObject
*resultobj
;
28158 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28159 unsigned int arg2
;
28160 PyObject
* obj0
= 0 ;
28161 PyObject
* obj1
= 0 ;
28162 char *kwnames
[] = {
28163 (char *) "self",(char *) "indent", NULL
28166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
28167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28168 if (SWIG_arg_fail(1)) SWIG_fail
;
28170 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
28171 if (SWIG_arg_fail(2)) SWIG_fail
;
28174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28175 (arg1
)->SetIndent(arg2
);
28177 wxPyEndAllowThreads(__tstate
);
28178 if (PyErr_Occurred()) SWIG_fail
;
28180 Py_INCREF(Py_None
); resultobj
= Py_None
;
28187 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28188 PyObject
*resultobj
;
28189 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28190 unsigned int result
;
28191 PyObject
* obj0
= 0 ;
28192 char *kwnames
[] = {
28193 (char *) "self", NULL
28196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
28197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28198 if (SWIG_arg_fail(1)) SWIG_fail
;
28200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28201 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
28203 wxPyEndAllowThreads(__tstate
);
28204 if (PyErr_Occurred()) SWIG_fail
;
28207 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
28215 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28216 PyObject
*resultobj
;
28217 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28218 unsigned int arg2
;
28219 PyObject
* obj0
= 0 ;
28220 PyObject
* obj1
= 0 ;
28221 char *kwnames
[] = {
28222 (char *) "self",(char *) "spacing", NULL
28225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
28226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28227 if (SWIG_arg_fail(1)) SWIG_fail
;
28229 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
28230 if (SWIG_arg_fail(2)) SWIG_fail
;
28233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28234 (arg1
)->SetSpacing(arg2
);
28236 wxPyEndAllowThreads(__tstate
);
28237 if (PyErr_Occurred()) SWIG_fail
;
28239 Py_INCREF(Py_None
); resultobj
= Py_None
;
28246 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28247 PyObject
*resultobj
;
28248 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28249 wxImageList
*result
;
28250 PyObject
* obj0
= 0 ;
28251 char *kwnames
[] = {
28252 (char *) "self", NULL
28255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",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
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
28262 wxPyEndAllowThreads(__tstate
);
28263 if (PyErr_Occurred()) SWIG_fail
;
28266 resultobj
= wxPyMake_wxObject(result
, 0);
28274 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28275 PyObject
*resultobj
;
28276 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28277 wxImageList
*result
;
28278 PyObject
* obj0
= 0 ;
28279 char *kwnames
[] = {
28280 (char *) "self", NULL
28283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
28284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28285 if (SWIG_arg_fail(1)) SWIG_fail
;
28287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28288 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
28290 wxPyEndAllowThreads(__tstate
);
28291 if (PyErr_Occurred()) SWIG_fail
;
28294 resultobj
= wxPyMake_wxObject(result
, 0);
28302 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28303 PyObject
*resultobj
;
28304 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28305 wxImageList
*arg2
= (wxImageList
*) 0 ;
28306 PyObject
* obj0
= 0 ;
28307 PyObject
* obj1
= 0 ;
28308 char *kwnames
[] = {
28309 (char *) "self",(char *) "imageList", NULL
28312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28314 if (SWIG_arg_fail(1)) SWIG_fail
;
28315 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
28316 if (SWIG_arg_fail(2)) SWIG_fail
;
28318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28319 (arg1
)->SetImageList(arg2
);
28321 wxPyEndAllowThreads(__tstate
);
28322 if (PyErr_Occurred()) SWIG_fail
;
28324 Py_INCREF(Py_None
); resultobj
= Py_None
;
28331 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28332 PyObject
*resultobj
;
28333 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28334 wxImageList
*arg2
= (wxImageList
*) 0 ;
28335 PyObject
* obj0
= 0 ;
28336 PyObject
* obj1
= 0 ;
28337 char *kwnames
[] = {
28338 (char *) "self",(char *) "imageList", NULL
28341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28343 if (SWIG_arg_fail(1)) SWIG_fail
;
28344 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
28345 if (SWIG_arg_fail(2)) SWIG_fail
;
28347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28348 (arg1
)->SetStateImageList(arg2
);
28350 wxPyEndAllowThreads(__tstate
);
28351 if (PyErr_Occurred()) SWIG_fail
;
28353 Py_INCREF(Py_None
); resultobj
= Py_None
;
28360 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28361 PyObject
*resultobj
;
28362 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28363 wxImageList
*arg2
= (wxImageList
*) 0 ;
28364 PyObject
* obj0
= 0 ;
28365 PyObject
* obj1
= 0 ;
28366 char *kwnames
[] = {
28367 (char *) "self",(char *) "imageList", NULL
28370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28372 if (SWIG_arg_fail(1)) SWIG_fail
;
28373 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28374 if (SWIG_arg_fail(2)) SWIG_fail
;
28376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28377 (arg1
)->AssignImageList(arg2
);
28379 wxPyEndAllowThreads(__tstate
);
28380 if (PyErr_Occurred()) SWIG_fail
;
28382 Py_INCREF(Py_None
); resultobj
= Py_None
;
28389 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28390 PyObject
*resultobj
;
28391 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28392 wxImageList
*arg2
= (wxImageList
*) 0 ;
28393 PyObject
* obj0
= 0 ;
28394 PyObject
* obj1
= 0 ;
28395 char *kwnames
[] = {
28396 (char *) "self",(char *) "imageList", NULL
28399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28401 if (SWIG_arg_fail(1)) SWIG_fail
;
28402 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28403 if (SWIG_arg_fail(2)) SWIG_fail
;
28405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28406 (arg1
)->AssignStateImageList(arg2
);
28408 wxPyEndAllowThreads(__tstate
);
28409 if (PyErr_Occurred()) SWIG_fail
;
28411 Py_INCREF(Py_None
); resultobj
= Py_None
;
28418 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28419 PyObject
*resultobj
;
28420 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28421 wxTreeItemId
*arg2
= 0 ;
28423 PyObject
* obj0
= 0 ;
28424 PyObject
* obj1
= 0 ;
28425 char *kwnames
[] = {
28426 (char *) "self",(char *) "item", NULL
28429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
28430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28431 if (SWIG_arg_fail(1)) SWIG_fail
;
28433 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28434 if (SWIG_arg_fail(2)) SWIG_fail
;
28435 if (arg2
== NULL
) {
28436 SWIG_null_ref("wxTreeItemId");
28438 if (SWIG_arg_fail(2)) SWIG_fail
;
28441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28442 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
28444 wxPyEndAllowThreads(__tstate
);
28445 if (PyErr_Occurred()) SWIG_fail
;
28449 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28451 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28460 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28461 PyObject
*resultobj
;
28462 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28463 wxTreeItemId
*arg2
= 0 ;
28464 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
28466 PyObject
* obj0
= 0 ;
28467 PyObject
* obj1
= 0 ;
28468 PyObject
* obj2
= 0 ;
28469 char *kwnames
[] = {
28470 (char *) "self",(char *) "item",(char *) "which", NULL
28473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28475 if (SWIG_arg_fail(1)) SWIG_fail
;
28477 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28478 if (SWIG_arg_fail(2)) SWIG_fail
;
28479 if (arg2
== NULL
) {
28480 SWIG_null_ref("wxTreeItemId");
28482 if (SWIG_arg_fail(2)) SWIG_fail
;
28486 arg3
= (wxTreeItemIcon
)(SWIG_As_int(obj2
));
28487 if (SWIG_arg_fail(3)) SWIG_fail
;
28491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28492 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
28494 wxPyEndAllowThreads(__tstate
);
28495 if (PyErr_Occurred()) SWIG_fail
;
28498 resultobj
= SWIG_From_int((int)(result
));
28506 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28507 PyObject
*resultobj
;
28508 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28509 wxTreeItemId
*arg2
= 0 ;
28510 wxPyTreeItemData
*result
;
28511 PyObject
* obj0
= 0 ;
28512 PyObject
* obj1
= 0 ;
28513 char *kwnames
[] = {
28514 (char *) "self",(char *) "item", NULL
28517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
28518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28519 if (SWIG_arg_fail(1)) SWIG_fail
;
28521 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28522 if (SWIG_arg_fail(2)) SWIG_fail
;
28523 if (arg2
== NULL
) {
28524 SWIG_null_ref("wxTreeItemId");
28526 if (SWIG_arg_fail(2)) SWIG_fail
;
28529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28530 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
28532 wxPyEndAllowThreads(__tstate
);
28533 if (PyErr_Occurred()) SWIG_fail
;
28535 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
28542 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28543 PyObject
*resultobj
;
28544 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28545 wxTreeItemId
*arg2
= 0 ;
28547 PyObject
* obj0
= 0 ;
28548 PyObject
* obj1
= 0 ;
28549 char *kwnames
[] = {
28550 (char *) "self",(char *) "item", NULL
28553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
28554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28555 if (SWIG_arg_fail(1)) SWIG_fail
;
28557 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28558 if (SWIG_arg_fail(2)) SWIG_fail
;
28559 if (arg2
== NULL
) {
28560 SWIG_null_ref("wxTreeItemId");
28562 if (SWIG_arg_fail(2)) SWIG_fail
;
28565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28566 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
28568 wxPyEndAllowThreads(__tstate
);
28569 if (PyErr_Occurred()) SWIG_fail
;
28571 resultobj
= result
;
28578 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28579 PyObject
*resultobj
;
28580 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28581 wxTreeItemId
*arg2
= 0 ;
28583 PyObject
* obj0
= 0 ;
28584 PyObject
* obj1
= 0 ;
28585 char *kwnames
[] = {
28586 (char *) "self",(char *) "item", NULL
28589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28591 if (SWIG_arg_fail(1)) SWIG_fail
;
28593 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28594 if (SWIG_arg_fail(2)) SWIG_fail
;
28595 if (arg2
== NULL
) {
28596 SWIG_null_ref("wxTreeItemId");
28598 if (SWIG_arg_fail(2)) SWIG_fail
;
28601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28602 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
28604 wxPyEndAllowThreads(__tstate
);
28605 if (PyErr_Occurred()) SWIG_fail
;
28608 wxColour
* resultptr
;
28609 resultptr
= new wxColour((wxColour
&)(result
));
28610 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
28618 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28619 PyObject
*resultobj
;
28620 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28621 wxTreeItemId
*arg2
= 0 ;
28623 PyObject
* obj0
= 0 ;
28624 PyObject
* obj1
= 0 ;
28625 char *kwnames
[] = {
28626 (char *) "self",(char *) "item", NULL
28629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28631 if (SWIG_arg_fail(1)) SWIG_fail
;
28633 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28634 if (SWIG_arg_fail(2)) SWIG_fail
;
28635 if (arg2
== NULL
) {
28636 SWIG_null_ref("wxTreeItemId");
28638 if (SWIG_arg_fail(2)) SWIG_fail
;
28641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28642 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
28644 wxPyEndAllowThreads(__tstate
);
28645 if (PyErr_Occurred()) SWIG_fail
;
28648 wxColour
* resultptr
;
28649 resultptr
= new wxColour((wxColour
&)(result
));
28650 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
28658 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28659 PyObject
*resultobj
;
28660 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28661 wxTreeItemId
*arg2
= 0 ;
28663 PyObject
* obj0
= 0 ;
28664 PyObject
* obj1
= 0 ;
28665 char *kwnames
[] = {
28666 (char *) "self",(char *) "item", NULL
28669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
28670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28671 if (SWIG_arg_fail(1)) SWIG_fail
;
28673 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28674 if (SWIG_arg_fail(2)) SWIG_fail
;
28675 if (arg2
== NULL
) {
28676 SWIG_null_ref("wxTreeItemId");
28678 if (SWIG_arg_fail(2)) SWIG_fail
;
28681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28682 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
28684 wxPyEndAllowThreads(__tstate
);
28685 if (PyErr_Occurred()) SWIG_fail
;
28688 wxFont
* resultptr
;
28689 resultptr
= new wxFont((wxFont
&)(result
));
28690 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
28698 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28699 PyObject
*resultobj
;
28700 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28701 wxTreeItemId
*arg2
= 0 ;
28702 wxString
*arg3
= 0 ;
28703 bool temp3
= false ;
28704 PyObject
* obj0
= 0 ;
28705 PyObject
* obj1
= 0 ;
28706 PyObject
* obj2
= 0 ;
28707 char *kwnames
[] = {
28708 (char *) "self",(char *) "item",(char *) "text", NULL
28711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28713 if (SWIG_arg_fail(1)) SWIG_fail
;
28715 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28716 if (SWIG_arg_fail(2)) SWIG_fail
;
28717 if (arg2
== NULL
) {
28718 SWIG_null_ref("wxTreeItemId");
28720 if (SWIG_arg_fail(2)) SWIG_fail
;
28723 arg3
= wxString_in_helper(obj2
);
28724 if (arg3
== NULL
) SWIG_fail
;
28728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28729 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
28731 wxPyEndAllowThreads(__tstate
);
28732 if (PyErr_Occurred()) SWIG_fail
;
28734 Py_INCREF(Py_None
); resultobj
= Py_None
;
28749 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28750 PyObject
*resultobj
;
28751 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28752 wxTreeItemId
*arg2
= 0 ;
28754 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
28755 PyObject
* obj0
= 0 ;
28756 PyObject
* obj1
= 0 ;
28757 PyObject
* obj2
= 0 ;
28758 PyObject
* obj3
= 0 ;
28759 char *kwnames
[] = {
28760 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
28763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28765 if (SWIG_arg_fail(1)) SWIG_fail
;
28767 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28768 if (SWIG_arg_fail(2)) SWIG_fail
;
28769 if (arg2
== NULL
) {
28770 SWIG_null_ref("wxTreeItemId");
28772 if (SWIG_arg_fail(2)) SWIG_fail
;
28775 arg3
= (int)(SWIG_As_int(obj2
));
28776 if (SWIG_arg_fail(3)) SWIG_fail
;
28780 arg4
= (wxTreeItemIcon
)(SWIG_As_int(obj3
));
28781 if (SWIG_arg_fail(4)) SWIG_fail
;
28785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28786 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
28788 wxPyEndAllowThreads(__tstate
);
28789 if (PyErr_Occurred()) SWIG_fail
;
28791 Py_INCREF(Py_None
); resultobj
= Py_None
;
28798 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28799 PyObject
*resultobj
;
28800 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28801 wxTreeItemId
*arg2
= 0 ;
28802 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
28803 PyObject
* obj0
= 0 ;
28804 PyObject
* obj1
= 0 ;
28805 PyObject
* obj2
= 0 ;
28806 char *kwnames
[] = {
28807 (char *) "self",(char *) "item",(char *) "data", NULL
28810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28812 if (SWIG_arg_fail(1)) SWIG_fail
;
28814 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28815 if (SWIG_arg_fail(2)) SWIG_fail
;
28816 if (arg2
== NULL
) {
28817 SWIG_null_ref("wxTreeItemId");
28819 if (SWIG_arg_fail(2)) SWIG_fail
;
28821 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
28822 if (SWIG_arg_fail(3)) SWIG_fail
;
28824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28825 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
28827 wxPyEndAllowThreads(__tstate
);
28828 if (PyErr_Occurred()) SWIG_fail
;
28830 Py_INCREF(Py_None
); resultobj
= Py_None
;
28837 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28838 PyObject
*resultobj
;
28839 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28840 wxTreeItemId
*arg2
= 0 ;
28841 PyObject
*arg3
= (PyObject
*) 0 ;
28842 PyObject
* obj0
= 0 ;
28843 PyObject
* obj1
= 0 ;
28844 PyObject
* obj2
= 0 ;
28845 char *kwnames
[] = {
28846 (char *) "self",(char *) "item",(char *) "obj", NULL
28849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28851 if (SWIG_arg_fail(1)) SWIG_fail
;
28853 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28854 if (SWIG_arg_fail(2)) SWIG_fail
;
28855 if (arg2
== NULL
) {
28856 SWIG_null_ref("wxTreeItemId");
28858 if (SWIG_arg_fail(2)) SWIG_fail
;
28862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28863 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
28865 wxPyEndAllowThreads(__tstate
);
28866 if (PyErr_Occurred()) SWIG_fail
;
28868 Py_INCREF(Py_None
); resultobj
= Py_None
;
28875 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28876 PyObject
*resultobj
;
28877 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28878 wxTreeItemId
*arg2
= 0 ;
28879 bool arg3
= (bool) true ;
28880 PyObject
* obj0
= 0 ;
28881 PyObject
* obj1
= 0 ;
28882 PyObject
* obj2
= 0 ;
28883 char *kwnames
[] = {
28884 (char *) "self",(char *) "item",(char *) "has", NULL
28887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28889 if (SWIG_arg_fail(1)) SWIG_fail
;
28891 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28892 if (SWIG_arg_fail(2)) SWIG_fail
;
28893 if (arg2
== NULL
) {
28894 SWIG_null_ref("wxTreeItemId");
28896 if (SWIG_arg_fail(2)) SWIG_fail
;
28900 arg3
= (bool)(SWIG_As_bool(obj2
));
28901 if (SWIG_arg_fail(3)) SWIG_fail
;
28905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28906 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
28908 wxPyEndAllowThreads(__tstate
);
28909 if (PyErr_Occurred()) SWIG_fail
;
28911 Py_INCREF(Py_None
); resultobj
= Py_None
;
28918 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28919 PyObject
*resultobj
;
28920 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28921 wxTreeItemId
*arg2
= 0 ;
28922 bool arg3
= (bool) true ;
28923 PyObject
* obj0
= 0 ;
28924 PyObject
* obj1
= 0 ;
28925 PyObject
* obj2
= 0 ;
28926 char *kwnames
[] = {
28927 (char *) "self",(char *) "item",(char *) "bold", NULL
28930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28932 if (SWIG_arg_fail(1)) SWIG_fail
;
28934 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28935 if (SWIG_arg_fail(2)) SWIG_fail
;
28936 if (arg2
== NULL
) {
28937 SWIG_null_ref("wxTreeItemId");
28939 if (SWIG_arg_fail(2)) SWIG_fail
;
28943 arg3
= (bool)(SWIG_As_bool(obj2
));
28944 if (SWIG_arg_fail(3)) SWIG_fail
;
28948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28949 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
28951 wxPyEndAllowThreads(__tstate
);
28952 if (PyErr_Occurred()) SWIG_fail
;
28954 Py_INCREF(Py_None
); resultobj
= Py_None
;
28961 static PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28962 PyObject
*resultobj
;
28963 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28964 wxTreeItemId
*arg2
= 0 ;
28965 bool arg3
= (bool) true ;
28966 PyObject
* obj0
= 0 ;
28967 PyObject
* obj1
= 0 ;
28968 PyObject
* obj2
= 0 ;
28969 char *kwnames
[] = {
28970 (char *) "self",(char *) "item",(char *) "highlight", NULL
28973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28975 if (SWIG_arg_fail(1)) SWIG_fail
;
28977 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28978 if (SWIG_arg_fail(2)) SWIG_fail
;
28979 if (arg2
== NULL
) {
28980 SWIG_null_ref("wxTreeItemId");
28982 if (SWIG_arg_fail(2)) SWIG_fail
;
28986 arg3
= (bool)(SWIG_As_bool(obj2
));
28987 if (SWIG_arg_fail(3)) SWIG_fail
;
28991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28992 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
28994 wxPyEndAllowThreads(__tstate
);
28995 if (PyErr_Occurred()) SWIG_fail
;
28997 Py_INCREF(Py_None
); resultobj
= Py_None
;
29004 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29005 PyObject
*resultobj
;
29006 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29007 wxTreeItemId
*arg2
= 0 ;
29008 wxColour
*arg3
= 0 ;
29010 PyObject
* obj0
= 0 ;
29011 PyObject
* obj1
= 0 ;
29012 PyObject
* obj2
= 0 ;
29013 char *kwnames
[] = {
29014 (char *) "self",(char *) "item",(char *) "col", NULL
29017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29019 if (SWIG_arg_fail(1)) SWIG_fail
;
29021 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29022 if (SWIG_arg_fail(2)) SWIG_fail
;
29023 if (arg2
== NULL
) {
29024 SWIG_null_ref("wxTreeItemId");
29026 if (SWIG_arg_fail(2)) SWIG_fail
;
29030 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29034 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
29036 wxPyEndAllowThreads(__tstate
);
29037 if (PyErr_Occurred()) SWIG_fail
;
29039 Py_INCREF(Py_None
); resultobj
= Py_None
;
29046 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29047 PyObject
*resultobj
;
29048 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29049 wxTreeItemId
*arg2
= 0 ;
29050 wxColour
*arg3
= 0 ;
29052 PyObject
* obj0
= 0 ;
29053 PyObject
* obj1
= 0 ;
29054 PyObject
* obj2
= 0 ;
29055 char *kwnames
[] = {
29056 (char *) "self",(char *) "item",(char *) "col", NULL
29059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29061 if (SWIG_arg_fail(1)) SWIG_fail
;
29063 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29064 if (SWIG_arg_fail(2)) SWIG_fail
;
29065 if (arg2
== NULL
) {
29066 SWIG_null_ref("wxTreeItemId");
29068 if (SWIG_arg_fail(2)) SWIG_fail
;
29072 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29076 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
29078 wxPyEndAllowThreads(__tstate
);
29079 if (PyErr_Occurred()) SWIG_fail
;
29081 Py_INCREF(Py_None
); resultobj
= Py_None
;
29088 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29089 PyObject
*resultobj
;
29090 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29091 wxTreeItemId
*arg2
= 0 ;
29093 PyObject
* obj0
= 0 ;
29094 PyObject
* obj1
= 0 ;
29095 PyObject
* obj2
= 0 ;
29096 char *kwnames
[] = {
29097 (char *) "self",(char *) "item",(char *) "font", NULL
29100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29102 if (SWIG_arg_fail(1)) SWIG_fail
;
29104 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29105 if (SWIG_arg_fail(2)) SWIG_fail
;
29106 if (arg2
== NULL
) {
29107 SWIG_null_ref("wxTreeItemId");
29109 if (SWIG_arg_fail(2)) SWIG_fail
;
29112 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29113 if (SWIG_arg_fail(3)) SWIG_fail
;
29114 if (arg3
== NULL
) {
29115 SWIG_null_ref("wxFont");
29117 if (SWIG_arg_fail(3)) SWIG_fail
;
29120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29121 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
29123 wxPyEndAllowThreads(__tstate
);
29124 if (PyErr_Occurred()) SWIG_fail
;
29126 Py_INCREF(Py_None
); resultobj
= Py_None
;
29133 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29134 PyObject
*resultobj
;
29135 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29136 wxTreeItemId
*arg2
= 0 ;
29138 PyObject
* obj0
= 0 ;
29139 PyObject
* obj1
= 0 ;
29140 char *kwnames
[] = {
29141 (char *) "self",(char *) "item", NULL
29144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29146 if (SWIG_arg_fail(1)) SWIG_fail
;
29148 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29149 if (SWIG_arg_fail(2)) SWIG_fail
;
29150 if (arg2
== NULL
) {
29151 SWIG_null_ref("wxTreeItemId");
29153 if (SWIG_arg_fail(2)) SWIG_fail
;
29156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29157 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
29159 wxPyEndAllowThreads(__tstate
);
29160 if (PyErr_Occurred()) SWIG_fail
;
29163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29171 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29172 PyObject
*resultobj
;
29173 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29174 wxTreeItemId
*arg2
= 0 ;
29176 PyObject
* obj0
= 0 ;
29177 PyObject
* obj1
= 0 ;
29178 char *kwnames
[] = {
29179 (char *) "self",(char *) "item", NULL
29182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
29183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29184 if (SWIG_arg_fail(1)) SWIG_fail
;
29186 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29187 if (SWIG_arg_fail(2)) SWIG_fail
;
29188 if (arg2
== NULL
) {
29189 SWIG_null_ref("wxTreeItemId");
29191 if (SWIG_arg_fail(2)) SWIG_fail
;
29194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29195 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
29197 wxPyEndAllowThreads(__tstate
);
29198 if (PyErr_Occurred()) SWIG_fail
;
29201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29209 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29210 PyObject
*resultobj
;
29211 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29212 wxTreeItemId
*arg2
= 0 ;
29214 PyObject
* obj0
= 0 ;
29215 PyObject
* obj1
= 0 ;
29216 char *kwnames
[] = {
29217 (char *) "self",(char *) "item", NULL
29220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
29221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29222 if (SWIG_arg_fail(1)) SWIG_fail
;
29224 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29225 if (SWIG_arg_fail(2)) SWIG_fail
;
29226 if (arg2
== NULL
) {
29227 SWIG_null_ref("wxTreeItemId");
29229 if (SWIG_arg_fail(2)) SWIG_fail
;
29232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29233 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
29235 wxPyEndAllowThreads(__tstate
);
29236 if (PyErr_Occurred()) SWIG_fail
;
29239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29247 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29248 PyObject
*resultobj
;
29249 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29250 wxTreeItemId
*arg2
= 0 ;
29252 PyObject
* obj0
= 0 ;
29253 PyObject
* obj1
= 0 ;
29254 char *kwnames
[] = {
29255 (char *) "self",(char *) "item", NULL
29258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
29259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29260 if (SWIG_arg_fail(1)) SWIG_fail
;
29262 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29263 if (SWIG_arg_fail(2)) SWIG_fail
;
29264 if (arg2
== NULL
) {
29265 SWIG_null_ref("wxTreeItemId");
29267 if (SWIG_arg_fail(2)) SWIG_fail
;
29270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29271 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
29273 wxPyEndAllowThreads(__tstate
);
29274 if (PyErr_Occurred()) SWIG_fail
;
29277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29285 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29286 PyObject
*resultobj
;
29287 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29288 wxTreeItemId
*arg2
= 0 ;
29290 PyObject
* obj0
= 0 ;
29291 PyObject
* obj1
= 0 ;
29292 char *kwnames
[] = {
29293 (char *) "self",(char *) "item", NULL
29296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
29297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29298 if (SWIG_arg_fail(1)) SWIG_fail
;
29300 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29301 if (SWIG_arg_fail(2)) SWIG_fail
;
29302 if (arg2
== NULL
) {
29303 SWIG_null_ref("wxTreeItemId");
29305 if (SWIG_arg_fail(2)) SWIG_fail
;
29308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29309 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
29311 wxPyEndAllowThreads(__tstate
);
29312 if (PyErr_Occurred()) SWIG_fail
;
29315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29323 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29324 PyObject
*resultobj
;
29325 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29326 wxTreeItemId
*arg2
= 0 ;
29327 bool arg3
= (bool) true ;
29329 PyObject
* obj0
= 0 ;
29330 PyObject
* obj1
= 0 ;
29331 PyObject
* obj2
= 0 ;
29332 char *kwnames
[] = {
29333 (char *) "self",(char *) "item",(char *) "recursively", NULL
29336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29338 if (SWIG_arg_fail(1)) SWIG_fail
;
29340 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29341 if (SWIG_arg_fail(2)) SWIG_fail
;
29342 if (arg2
== NULL
) {
29343 SWIG_null_ref("wxTreeItemId");
29345 if (SWIG_arg_fail(2)) SWIG_fail
;
29349 arg3
= (bool)(SWIG_As_bool(obj2
));
29350 if (SWIG_arg_fail(3)) SWIG_fail
;
29354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29355 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
29357 wxPyEndAllowThreads(__tstate
);
29358 if (PyErr_Occurred()) SWIG_fail
;
29361 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
29369 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29370 PyObject
*resultobj
;
29371 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29372 wxTreeItemId result
;
29373 PyObject
* obj0
= 0 ;
29374 char *kwnames
[] = {
29375 (char *) "self", NULL
29378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
29379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29380 if (SWIG_arg_fail(1)) SWIG_fail
;
29382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29383 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
29385 wxPyEndAllowThreads(__tstate
);
29386 if (PyErr_Occurred()) SWIG_fail
;
29389 wxTreeItemId
* resultptr
;
29390 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29391 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29399 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29400 PyObject
*resultobj
;
29401 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29402 wxTreeItemId result
;
29403 PyObject
* obj0
= 0 ;
29404 char *kwnames
[] = {
29405 (char *) "self", NULL
29408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
29409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29410 if (SWIG_arg_fail(1)) SWIG_fail
;
29412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29413 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
29415 wxPyEndAllowThreads(__tstate
);
29416 if (PyErr_Occurred()) SWIG_fail
;
29419 wxTreeItemId
* resultptr
;
29420 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29421 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29429 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29430 PyObject
*resultobj
;
29431 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29433 PyObject
* obj0
= 0 ;
29434 char *kwnames
[] = {
29435 (char *) "self", NULL
29438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
29439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29440 if (SWIG_arg_fail(1)) SWIG_fail
;
29442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29443 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
29445 wxPyEndAllowThreads(__tstate
);
29446 if (PyErr_Occurred()) SWIG_fail
;
29448 resultobj
= result
;
29455 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29456 PyObject
*resultobj
;
29457 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29458 wxTreeItemId
*arg2
= 0 ;
29459 wxTreeItemId result
;
29460 PyObject
* obj0
= 0 ;
29461 PyObject
* obj1
= 0 ;
29462 char *kwnames
[] = {
29463 (char *) "self",(char *) "item", NULL
29466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
29467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29468 if (SWIG_arg_fail(1)) SWIG_fail
;
29470 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29471 if (SWIG_arg_fail(2)) SWIG_fail
;
29472 if (arg2
== NULL
) {
29473 SWIG_null_ref("wxTreeItemId");
29475 if (SWIG_arg_fail(2)) SWIG_fail
;
29478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29479 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
29481 wxPyEndAllowThreads(__tstate
);
29482 if (PyErr_Occurred()) SWIG_fail
;
29485 wxTreeItemId
* resultptr
;
29486 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29487 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29495 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29496 PyObject
*resultobj
;
29497 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29498 wxTreeItemId
*arg2
= 0 ;
29500 PyObject
* obj0
= 0 ;
29501 PyObject
* obj1
= 0 ;
29502 char *kwnames
[] = {
29503 (char *) "self",(char *) "item", NULL
29506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29508 if (SWIG_arg_fail(1)) SWIG_fail
;
29510 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29511 if (SWIG_arg_fail(2)) SWIG_fail
;
29512 if (arg2
== NULL
) {
29513 SWIG_null_ref("wxTreeItemId");
29515 if (SWIG_arg_fail(2)) SWIG_fail
;
29518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29519 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
29521 wxPyEndAllowThreads(__tstate
);
29522 if (PyErr_Occurred()) SWIG_fail
;
29524 resultobj
= result
;
29531 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29532 PyObject
*resultobj
;
29533 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29534 wxTreeItemId
*arg2
= 0 ;
29535 void *arg3
= (void *) 0 ;
29537 PyObject
* obj0
= 0 ;
29538 PyObject
* obj1
= 0 ;
29539 PyObject
* obj2
= 0 ;
29540 char *kwnames
[] = {
29541 (char *) "self",(char *) "item",(char *) "cookie", NULL
29544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29546 if (SWIG_arg_fail(1)) SWIG_fail
;
29548 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29549 if (SWIG_arg_fail(2)) SWIG_fail
;
29550 if (arg2
== NULL
) {
29551 SWIG_null_ref("wxTreeItemId");
29553 if (SWIG_arg_fail(2)) SWIG_fail
;
29556 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),0,SWIG_POINTER_EXCEPTION
|0))== -1) {
29557 SWIG_arg_fail(3);SWIG_fail
;
29561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29562 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
29564 wxPyEndAllowThreads(__tstate
);
29565 if (PyErr_Occurred()) SWIG_fail
;
29567 resultobj
= result
;
29574 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29575 PyObject
*resultobj
;
29576 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29577 wxTreeItemId
*arg2
= 0 ;
29578 wxTreeItemId result
;
29579 PyObject
* obj0
= 0 ;
29580 PyObject
* obj1
= 0 ;
29581 char *kwnames
[] = {
29582 (char *) "self",(char *) "item", NULL
29585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29587 if (SWIG_arg_fail(1)) SWIG_fail
;
29589 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29590 if (SWIG_arg_fail(2)) SWIG_fail
;
29591 if (arg2
== NULL
) {
29592 SWIG_null_ref("wxTreeItemId");
29594 if (SWIG_arg_fail(2)) SWIG_fail
;
29597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29598 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
29600 wxPyEndAllowThreads(__tstate
);
29601 if (PyErr_Occurred()) SWIG_fail
;
29604 wxTreeItemId
* resultptr
;
29605 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29606 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29614 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29615 PyObject
*resultobj
;
29616 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29617 wxTreeItemId
*arg2
= 0 ;
29618 wxTreeItemId result
;
29619 PyObject
* obj0
= 0 ;
29620 PyObject
* obj1
= 0 ;
29621 char *kwnames
[] = {
29622 (char *) "self",(char *) "item", NULL
29625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
29626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29627 if (SWIG_arg_fail(1)) SWIG_fail
;
29629 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29630 if (SWIG_arg_fail(2)) SWIG_fail
;
29631 if (arg2
== NULL
) {
29632 SWIG_null_ref("wxTreeItemId");
29634 if (SWIG_arg_fail(2)) SWIG_fail
;
29637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29638 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
29640 wxPyEndAllowThreads(__tstate
);
29641 if (PyErr_Occurred()) SWIG_fail
;
29644 wxTreeItemId
* resultptr
;
29645 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29646 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29654 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29655 PyObject
*resultobj
;
29656 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29657 wxTreeItemId
*arg2
= 0 ;
29658 wxTreeItemId result
;
29659 PyObject
* obj0
= 0 ;
29660 PyObject
* obj1
= 0 ;
29661 char *kwnames
[] = {
29662 (char *) "self",(char *) "item", NULL
29665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
29666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29667 if (SWIG_arg_fail(1)) SWIG_fail
;
29669 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29670 if (SWIG_arg_fail(2)) SWIG_fail
;
29671 if (arg2
== NULL
) {
29672 SWIG_null_ref("wxTreeItemId");
29674 if (SWIG_arg_fail(2)) SWIG_fail
;
29677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29678 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
29680 wxPyEndAllowThreads(__tstate
);
29681 if (PyErr_Occurred()) SWIG_fail
;
29684 wxTreeItemId
* resultptr
;
29685 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29686 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29694 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29695 PyObject
*resultobj
;
29696 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29697 wxTreeItemId result
;
29698 PyObject
* obj0
= 0 ;
29699 char *kwnames
[] = {
29700 (char *) "self", NULL
29703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29708 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
29710 wxPyEndAllowThreads(__tstate
);
29711 if (PyErr_Occurred()) SWIG_fail
;
29714 wxTreeItemId
* resultptr
;
29715 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29716 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29724 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29725 PyObject
*resultobj
;
29726 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29727 wxTreeItemId
*arg2
= 0 ;
29728 wxTreeItemId result
;
29729 PyObject
* obj0
= 0 ;
29730 PyObject
* obj1
= 0 ;
29731 char *kwnames
[] = {
29732 (char *) "self",(char *) "item", NULL
29735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29737 if (SWIG_arg_fail(1)) SWIG_fail
;
29739 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29740 if (SWIG_arg_fail(2)) SWIG_fail
;
29741 if (arg2
== NULL
) {
29742 SWIG_null_ref("wxTreeItemId");
29744 if (SWIG_arg_fail(2)) SWIG_fail
;
29747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29748 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
29750 wxPyEndAllowThreads(__tstate
);
29751 if (PyErr_Occurred()) SWIG_fail
;
29754 wxTreeItemId
* resultptr
;
29755 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29756 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29764 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29765 PyObject
*resultobj
;
29766 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29767 wxTreeItemId
*arg2
= 0 ;
29768 wxTreeItemId result
;
29769 PyObject
* obj0
= 0 ;
29770 PyObject
* obj1
= 0 ;
29771 char *kwnames
[] = {
29772 (char *) "self",(char *) "item", NULL
29775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29777 if (SWIG_arg_fail(1)) SWIG_fail
;
29779 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29780 if (SWIG_arg_fail(2)) SWIG_fail
;
29781 if (arg2
== NULL
) {
29782 SWIG_null_ref("wxTreeItemId");
29784 if (SWIG_arg_fail(2)) SWIG_fail
;
29787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29788 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
29790 wxPyEndAllowThreads(__tstate
);
29791 if (PyErr_Occurred()) SWIG_fail
;
29794 wxTreeItemId
* resultptr
;
29795 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29796 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29804 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29805 PyObject
*resultobj
;
29806 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29807 wxString
*arg2
= 0 ;
29808 int arg3
= (int) -1 ;
29809 int arg4
= (int) -1 ;
29810 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
29811 wxTreeItemId result
;
29812 bool temp2
= false ;
29813 PyObject
* obj0
= 0 ;
29814 PyObject
* obj1
= 0 ;
29815 PyObject
* obj2
= 0 ;
29816 PyObject
* obj3
= 0 ;
29817 PyObject
* obj4
= 0 ;
29818 char *kwnames
[] = {
29819 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29824 if (SWIG_arg_fail(1)) SWIG_fail
;
29826 arg2
= wxString_in_helper(obj1
);
29827 if (arg2
== NULL
) SWIG_fail
;
29832 arg3
= (int)(SWIG_As_int(obj2
));
29833 if (SWIG_arg_fail(3)) SWIG_fail
;
29838 arg4
= (int)(SWIG_As_int(obj3
));
29839 if (SWIG_arg_fail(4)) SWIG_fail
;
29843 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
29844 if (SWIG_arg_fail(5)) SWIG_fail
;
29847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29848 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
29850 wxPyEndAllowThreads(__tstate
);
29851 if (PyErr_Occurred()) SWIG_fail
;
29854 wxTreeItemId
* resultptr
;
29855 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29856 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29872 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29873 PyObject
*resultobj
;
29874 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29875 wxTreeItemId
*arg2
= 0 ;
29876 wxString
*arg3
= 0 ;
29877 int arg4
= (int) -1 ;
29878 int arg5
= (int) -1 ;
29879 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
29880 wxTreeItemId result
;
29881 bool temp3
= false ;
29882 PyObject
* obj0
= 0 ;
29883 PyObject
* obj1
= 0 ;
29884 PyObject
* obj2
= 0 ;
29885 PyObject
* obj3
= 0 ;
29886 PyObject
* obj4
= 0 ;
29887 PyObject
* obj5
= 0 ;
29888 char *kwnames
[] = {
29889 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29894 if (SWIG_arg_fail(1)) SWIG_fail
;
29896 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29897 if (SWIG_arg_fail(2)) SWIG_fail
;
29898 if (arg2
== NULL
) {
29899 SWIG_null_ref("wxTreeItemId");
29901 if (SWIG_arg_fail(2)) SWIG_fail
;
29904 arg3
= wxString_in_helper(obj2
);
29905 if (arg3
== NULL
) SWIG_fail
;
29910 arg4
= (int)(SWIG_As_int(obj3
));
29911 if (SWIG_arg_fail(4)) SWIG_fail
;
29916 arg5
= (int)(SWIG_As_int(obj4
));
29917 if (SWIG_arg_fail(5)) SWIG_fail
;
29921 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
29922 if (SWIG_arg_fail(6)) SWIG_fail
;
29925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29926 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
29928 wxPyEndAllowThreads(__tstate
);
29929 if (PyErr_Occurred()) SWIG_fail
;
29932 wxTreeItemId
* resultptr
;
29933 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29934 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29950 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29951 PyObject
*resultobj
;
29952 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29953 wxTreeItemId
*arg2
= 0 ;
29954 wxTreeItemId
*arg3
= 0 ;
29955 wxString
*arg4
= 0 ;
29956 int arg5
= (int) -1 ;
29957 int arg6
= (int) -1 ;
29958 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
29959 wxTreeItemId result
;
29960 bool temp4
= false ;
29961 PyObject
* obj0
= 0 ;
29962 PyObject
* obj1
= 0 ;
29963 PyObject
* obj2
= 0 ;
29964 PyObject
* obj3
= 0 ;
29965 PyObject
* obj4
= 0 ;
29966 PyObject
* obj5
= 0 ;
29967 PyObject
* obj6
= 0 ;
29968 char *kwnames
[] = {
29969 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
29973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29974 if (SWIG_arg_fail(1)) SWIG_fail
;
29976 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29977 if (SWIG_arg_fail(2)) SWIG_fail
;
29978 if (arg2
== NULL
) {
29979 SWIG_null_ref("wxTreeItemId");
29981 if (SWIG_arg_fail(2)) SWIG_fail
;
29984 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29985 if (SWIG_arg_fail(3)) SWIG_fail
;
29986 if (arg3
== NULL
) {
29987 SWIG_null_ref("wxTreeItemId");
29989 if (SWIG_arg_fail(3)) SWIG_fail
;
29992 arg4
= wxString_in_helper(obj3
);
29993 if (arg4
== NULL
) SWIG_fail
;
29998 arg5
= (int)(SWIG_As_int(obj4
));
29999 if (SWIG_arg_fail(5)) SWIG_fail
;
30004 arg6
= (int)(SWIG_As_int(obj5
));
30005 if (SWIG_arg_fail(6)) SWIG_fail
;
30009 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30010 if (SWIG_arg_fail(7)) SWIG_fail
;
30013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30014 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
30016 wxPyEndAllowThreads(__tstate
);
30017 if (PyErr_Occurred()) SWIG_fail
;
30020 wxTreeItemId
* resultptr
;
30021 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30022 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30038 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30039 PyObject
*resultobj
;
30040 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30041 wxTreeItemId
*arg2
= 0 ;
30043 wxString
*arg4
= 0 ;
30044 int arg5
= (int) -1 ;
30045 int arg6
= (int) -1 ;
30046 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
30047 wxTreeItemId result
;
30048 bool temp4
= false ;
30049 PyObject
* obj0
= 0 ;
30050 PyObject
* obj1
= 0 ;
30051 PyObject
* obj2
= 0 ;
30052 PyObject
* obj3
= 0 ;
30053 PyObject
* obj4
= 0 ;
30054 PyObject
* obj5
= 0 ;
30055 PyObject
* obj6
= 0 ;
30056 char *kwnames
[] = {
30057 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30062 if (SWIG_arg_fail(1)) SWIG_fail
;
30064 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30065 if (SWIG_arg_fail(2)) SWIG_fail
;
30066 if (arg2
== NULL
) {
30067 SWIG_null_ref("wxTreeItemId");
30069 if (SWIG_arg_fail(2)) SWIG_fail
;
30072 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
30073 if (SWIG_arg_fail(3)) SWIG_fail
;
30076 arg4
= wxString_in_helper(obj3
);
30077 if (arg4
== NULL
) SWIG_fail
;
30082 arg5
= (int)(SWIG_As_int(obj4
));
30083 if (SWIG_arg_fail(5)) SWIG_fail
;
30088 arg6
= (int)(SWIG_As_int(obj5
));
30089 if (SWIG_arg_fail(6)) SWIG_fail
;
30093 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30094 if (SWIG_arg_fail(7)) SWIG_fail
;
30097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30098 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
30100 wxPyEndAllowThreads(__tstate
);
30101 if (PyErr_Occurred()) SWIG_fail
;
30104 wxTreeItemId
* resultptr
;
30105 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30106 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30122 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30123 PyObject
*resultobj
;
30124 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30125 wxTreeItemId
*arg2
= 0 ;
30126 wxString
*arg3
= 0 ;
30127 int arg4
= (int) -1 ;
30128 int arg5
= (int) -1 ;
30129 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
30130 wxTreeItemId result
;
30131 bool temp3
= false ;
30132 PyObject
* obj0
= 0 ;
30133 PyObject
* obj1
= 0 ;
30134 PyObject
* obj2
= 0 ;
30135 PyObject
* obj3
= 0 ;
30136 PyObject
* obj4
= 0 ;
30137 PyObject
* obj5
= 0 ;
30138 char *kwnames
[] = {
30139 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30144 if (SWIG_arg_fail(1)) SWIG_fail
;
30146 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30147 if (SWIG_arg_fail(2)) SWIG_fail
;
30148 if (arg2
== NULL
) {
30149 SWIG_null_ref("wxTreeItemId");
30151 if (SWIG_arg_fail(2)) SWIG_fail
;
30154 arg3
= wxString_in_helper(obj2
);
30155 if (arg3
== NULL
) SWIG_fail
;
30160 arg4
= (int)(SWIG_As_int(obj3
));
30161 if (SWIG_arg_fail(4)) SWIG_fail
;
30166 arg5
= (int)(SWIG_As_int(obj4
));
30167 if (SWIG_arg_fail(5)) SWIG_fail
;
30171 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30172 if (SWIG_arg_fail(6)) SWIG_fail
;
30175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30176 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
30178 wxPyEndAllowThreads(__tstate
);
30179 if (PyErr_Occurred()) SWIG_fail
;
30182 wxTreeItemId
* resultptr
;
30183 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30184 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30200 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30201 PyObject
*resultobj
;
30202 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30203 wxTreeItemId
*arg2
= 0 ;
30204 PyObject
* obj0
= 0 ;
30205 PyObject
* obj1
= 0 ;
30206 char *kwnames
[] = {
30207 (char *) "self",(char *) "item", NULL
30210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
30211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30212 if (SWIG_arg_fail(1)) SWIG_fail
;
30214 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30215 if (SWIG_arg_fail(2)) SWIG_fail
;
30216 if (arg2
== NULL
) {
30217 SWIG_null_ref("wxTreeItemId");
30219 if (SWIG_arg_fail(2)) SWIG_fail
;
30222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30223 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
30225 wxPyEndAllowThreads(__tstate
);
30226 if (PyErr_Occurred()) SWIG_fail
;
30228 Py_INCREF(Py_None
); resultobj
= Py_None
;
30235 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30236 PyObject
*resultobj
;
30237 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30238 wxTreeItemId
*arg2
= 0 ;
30239 PyObject
* obj0
= 0 ;
30240 PyObject
* obj1
= 0 ;
30241 char *kwnames
[] = {
30242 (char *) "self",(char *) "item", NULL
30245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
30246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30247 if (SWIG_arg_fail(1)) SWIG_fail
;
30249 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30250 if (SWIG_arg_fail(2)) SWIG_fail
;
30251 if (arg2
== NULL
) {
30252 SWIG_null_ref("wxTreeItemId");
30254 if (SWIG_arg_fail(2)) SWIG_fail
;
30257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30258 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
30260 wxPyEndAllowThreads(__tstate
);
30261 if (PyErr_Occurred()) SWIG_fail
;
30263 Py_INCREF(Py_None
); resultobj
= Py_None
;
30270 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30271 PyObject
*resultobj
;
30272 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30273 PyObject
* obj0
= 0 ;
30274 char *kwnames
[] = {
30275 (char *) "self", NULL
30278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
30279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30280 if (SWIG_arg_fail(1)) SWIG_fail
;
30282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30283 (arg1
)->DeleteAllItems();
30285 wxPyEndAllowThreads(__tstate
);
30286 if (PyErr_Occurred()) SWIG_fail
;
30288 Py_INCREF(Py_None
); resultobj
= Py_None
;
30295 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30296 PyObject
*resultobj
;
30297 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30298 wxTreeItemId
*arg2
= 0 ;
30299 PyObject
* obj0
= 0 ;
30300 PyObject
* obj1
= 0 ;
30301 char *kwnames
[] = {
30302 (char *) "self",(char *) "item", NULL
30305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
30306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30307 if (SWIG_arg_fail(1)) SWIG_fail
;
30309 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30310 if (SWIG_arg_fail(2)) SWIG_fail
;
30311 if (arg2
== NULL
) {
30312 SWIG_null_ref("wxTreeItemId");
30314 if (SWIG_arg_fail(2)) SWIG_fail
;
30317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30318 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
30320 wxPyEndAllowThreads(__tstate
);
30321 if (PyErr_Occurred()) SWIG_fail
;
30323 Py_INCREF(Py_None
); resultobj
= Py_None
;
30330 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30331 PyObject
*resultobj
;
30332 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30333 wxTreeItemId
*arg2
= 0 ;
30334 PyObject
* obj0
= 0 ;
30335 PyObject
* obj1
= 0 ;
30336 char *kwnames
[] = {
30337 (char *) "self",(char *) "item", NULL
30340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
30341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30342 if (SWIG_arg_fail(1)) SWIG_fail
;
30344 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30345 if (SWIG_arg_fail(2)) SWIG_fail
;
30346 if (arg2
== NULL
) {
30347 SWIG_null_ref("wxTreeItemId");
30349 if (SWIG_arg_fail(2)) SWIG_fail
;
30352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30353 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
30355 wxPyEndAllowThreads(__tstate
);
30356 if (PyErr_Occurred()) SWIG_fail
;
30358 Py_INCREF(Py_None
); resultobj
= Py_None
;
30365 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30366 PyObject
*resultobj
;
30367 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30368 wxTreeItemId
*arg2
= 0 ;
30369 PyObject
* obj0
= 0 ;
30370 PyObject
* obj1
= 0 ;
30371 char *kwnames
[] = {
30372 (char *) "self",(char *) "item", NULL
30375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
30376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30377 if (SWIG_arg_fail(1)) SWIG_fail
;
30379 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30380 if (SWIG_arg_fail(2)) SWIG_fail
;
30381 if (arg2
== NULL
) {
30382 SWIG_null_ref("wxTreeItemId");
30384 if (SWIG_arg_fail(2)) SWIG_fail
;
30387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30388 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
30390 wxPyEndAllowThreads(__tstate
);
30391 if (PyErr_Occurred()) SWIG_fail
;
30393 Py_INCREF(Py_None
); resultobj
= Py_None
;
30400 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30401 PyObject
*resultobj
;
30402 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30403 wxTreeItemId
*arg2
= 0 ;
30404 PyObject
* obj0
= 0 ;
30405 PyObject
* obj1
= 0 ;
30406 char *kwnames
[] = {
30407 (char *) "self",(char *) "item", NULL
30410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
30411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30412 if (SWIG_arg_fail(1)) SWIG_fail
;
30414 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30415 if (SWIG_arg_fail(2)) SWIG_fail
;
30416 if (arg2
== NULL
) {
30417 SWIG_null_ref("wxTreeItemId");
30419 if (SWIG_arg_fail(2)) SWIG_fail
;
30422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30423 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
30425 wxPyEndAllowThreads(__tstate
);
30426 if (PyErr_Occurred()) SWIG_fail
;
30428 Py_INCREF(Py_None
); resultobj
= Py_None
;
30435 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30436 PyObject
*resultobj
;
30437 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30438 PyObject
* obj0
= 0 ;
30439 char *kwnames
[] = {
30440 (char *) "self", NULL
30443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
30444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30445 if (SWIG_arg_fail(1)) SWIG_fail
;
30447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30448 (arg1
)->Unselect();
30450 wxPyEndAllowThreads(__tstate
);
30451 if (PyErr_Occurred()) SWIG_fail
;
30453 Py_INCREF(Py_None
); resultobj
= Py_None
;
30460 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30461 PyObject
*resultobj
;
30462 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30463 wxTreeItemId
*arg2
= 0 ;
30464 PyObject
* obj0
= 0 ;
30465 PyObject
* obj1
= 0 ;
30466 char *kwnames
[] = {
30467 (char *) "self",(char *) "item", NULL
30470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30472 if (SWIG_arg_fail(1)) SWIG_fail
;
30474 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30475 if (SWIG_arg_fail(2)) SWIG_fail
;
30476 if (arg2
== NULL
) {
30477 SWIG_null_ref("wxTreeItemId");
30479 if (SWIG_arg_fail(2)) SWIG_fail
;
30482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30483 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
30485 wxPyEndAllowThreads(__tstate
);
30486 if (PyErr_Occurred()) SWIG_fail
;
30488 Py_INCREF(Py_None
); resultobj
= Py_None
;
30495 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30496 PyObject
*resultobj
;
30497 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30498 PyObject
* obj0
= 0 ;
30499 char *kwnames
[] = {
30500 (char *) "self", NULL
30503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
30504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30505 if (SWIG_arg_fail(1)) SWIG_fail
;
30507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30508 (arg1
)->UnselectAll();
30510 wxPyEndAllowThreads(__tstate
);
30511 if (PyErr_Occurred()) SWIG_fail
;
30513 Py_INCREF(Py_None
); resultobj
= Py_None
;
30520 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30521 PyObject
*resultobj
;
30522 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30523 wxTreeItemId
*arg2
= 0 ;
30524 bool arg3
= (bool) true ;
30525 PyObject
* obj0
= 0 ;
30526 PyObject
* obj1
= 0 ;
30527 PyObject
* obj2
= 0 ;
30528 char *kwnames
[] = {
30529 (char *) "self",(char *) "item",(char *) "select", NULL
30532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30534 if (SWIG_arg_fail(1)) SWIG_fail
;
30536 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30537 if (SWIG_arg_fail(2)) SWIG_fail
;
30538 if (arg2
== NULL
) {
30539 SWIG_null_ref("wxTreeItemId");
30541 if (SWIG_arg_fail(2)) SWIG_fail
;
30545 arg3
= (bool)(SWIG_As_bool(obj2
));
30546 if (SWIG_arg_fail(3)) SWIG_fail
;
30550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30551 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
30553 wxPyEndAllowThreads(__tstate
);
30554 if (PyErr_Occurred()) SWIG_fail
;
30556 Py_INCREF(Py_None
); resultobj
= Py_None
;
30563 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30564 PyObject
*resultobj
;
30565 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30566 wxTreeItemId
*arg2
= 0 ;
30567 PyObject
* obj0
= 0 ;
30568 PyObject
* obj1
= 0 ;
30569 char *kwnames
[] = {
30570 (char *) "self",(char *) "item", NULL
30573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
30574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30575 if (SWIG_arg_fail(1)) SWIG_fail
;
30577 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30578 if (SWIG_arg_fail(2)) SWIG_fail
;
30579 if (arg2
== NULL
) {
30580 SWIG_null_ref("wxTreeItemId");
30582 if (SWIG_arg_fail(2)) SWIG_fail
;
30585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30586 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
30588 wxPyEndAllowThreads(__tstate
);
30589 if (PyErr_Occurred()) SWIG_fail
;
30591 Py_INCREF(Py_None
); resultobj
= Py_None
;
30598 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30599 PyObject
*resultobj
;
30600 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30601 wxTreeItemId
*arg2
= 0 ;
30602 PyObject
* obj0
= 0 ;
30603 PyObject
* obj1
= 0 ;
30604 char *kwnames
[] = {
30605 (char *) "self",(char *) "item", NULL
30608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
30609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30610 if (SWIG_arg_fail(1)) SWIG_fail
;
30612 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30613 if (SWIG_arg_fail(2)) SWIG_fail
;
30614 if (arg2
== NULL
) {
30615 SWIG_null_ref("wxTreeItemId");
30617 if (SWIG_arg_fail(2)) SWIG_fail
;
30620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30621 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
30623 wxPyEndAllowThreads(__tstate
);
30624 if (PyErr_Occurred()) SWIG_fail
;
30626 Py_INCREF(Py_None
); resultobj
= Py_None
;
30633 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30634 PyObject
*resultobj
;
30635 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30636 wxTreeItemId
*arg2
= 0 ;
30637 PyObject
* obj0
= 0 ;
30638 PyObject
* obj1
= 0 ;
30639 char *kwnames
[] = {
30640 (char *) "self",(char *) "item", NULL
30643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
30644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30645 if (SWIG_arg_fail(1)) SWIG_fail
;
30647 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30648 if (SWIG_arg_fail(2)) SWIG_fail
;
30649 if (arg2
== NULL
) {
30650 SWIG_null_ref("wxTreeItemId");
30652 if (SWIG_arg_fail(2)) SWIG_fail
;
30655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30656 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
30658 wxPyEndAllowThreads(__tstate
);
30659 if (PyErr_Occurred()) SWIG_fail
;
30661 Py_INCREF(Py_None
); resultobj
= Py_None
;
30668 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30669 PyObject
*resultobj
;
30670 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30671 wxTreeItemId
*arg2
= 0 ;
30672 PyObject
* obj0
= 0 ;
30673 PyObject
* obj1
= 0 ;
30674 char *kwnames
[] = {
30675 (char *) "self",(char *) "item", NULL
30678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
30679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30680 if (SWIG_arg_fail(1)) SWIG_fail
;
30682 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30683 if (SWIG_arg_fail(2)) SWIG_fail
;
30684 if (arg2
== NULL
) {
30685 SWIG_null_ref("wxTreeItemId");
30687 if (SWIG_arg_fail(2)) SWIG_fail
;
30690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30691 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
30693 wxPyEndAllowThreads(__tstate
);
30694 if (PyErr_Occurred()) SWIG_fail
;
30696 Py_INCREF(Py_None
); resultobj
= Py_None
;
30703 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30704 PyObject
*resultobj
;
30705 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30706 wxTextCtrl
*result
;
30707 PyObject
* obj0
= 0 ;
30708 char *kwnames
[] = {
30709 (char *) "self", NULL
30712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
30713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30714 if (SWIG_arg_fail(1)) SWIG_fail
;
30716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30717 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
30719 wxPyEndAllowThreads(__tstate
);
30720 if (PyErr_Occurred()) SWIG_fail
;
30723 resultobj
= wxPyMake_wxObject(result
, 0);
30731 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30732 PyObject
*resultobj
;
30733 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30734 wxTreeItemId
*arg2
= 0 ;
30735 PyObject
* obj0
= 0 ;
30736 PyObject
* obj1
= 0 ;
30737 char *kwnames
[] = {
30738 (char *) "self",(char *) "item", NULL
30741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
30742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30743 if (SWIG_arg_fail(1)) SWIG_fail
;
30745 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30746 if (SWIG_arg_fail(2)) SWIG_fail
;
30747 if (arg2
== NULL
) {
30748 SWIG_null_ref("wxTreeItemId");
30750 if (SWIG_arg_fail(2)) SWIG_fail
;
30753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30754 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
30756 wxPyEndAllowThreads(__tstate
);
30757 if (PyErr_Occurred()) SWIG_fail
;
30759 Py_INCREF(Py_None
); resultobj
= Py_None
;
30766 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30767 PyObject
*resultobj
;
30768 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30769 wxPoint
*arg2
= 0 ;
30771 wxTreeItemId result
;
30775 PyObject
* obj0
= 0 ;
30776 PyObject
* obj1
= 0 ;
30777 char *kwnames
[] = {
30778 (char *) "self",(char *) "point", NULL
30781 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
30783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30784 if (SWIG_arg_fail(1)) SWIG_fail
;
30787 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30791 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
30793 wxPyEndAllowThreads(__tstate
);
30794 if (PyErr_Occurred()) SWIG_fail
;
30797 wxTreeItemId
* resultptr
;
30798 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30799 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30801 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30802 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30809 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30810 PyObject
*resultobj
;
30811 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30812 wxTreeItemId
*arg2
= 0 ;
30813 bool arg3
= (bool) false ;
30815 PyObject
* obj0
= 0 ;
30816 PyObject
* obj1
= 0 ;
30817 PyObject
* obj2
= 0 ;
30818 char *kwnames
[] = {
30819 (char *) "self",(char *) "item",(char *) "textOnly", NULL
30822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30824 if (SWIG_arg_fail(1)) SWIG_fail
;
30826 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30827 if (SWIG_arg_fail(2)) SWIG_fail
;
30828 if (arg2
== NULL
) {
30829 SWIG_null_ref("wxTreeItemId");
30831 if (SWIG_arg_fail(2)) SWIG_fail
;
30835 arg3
= (bool)(SWIG_As_bool(obj2
));
30836 if (SWIG_arg_fail(3)) SWIG_fail
;
30840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30841 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
30843 wxPyEndAllowThreads(__tstate
);
30844 if (PyErr_Occurred()) SWIG_fail
;
30846 resultobj
= result
;
30853 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30854 PyObject
*resultobj
;
30855 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
30856 wxVisualAttributes result
;
30857 PyObject
* obj0
= 0 ;
30858 char *kwnames
[] = {
30859 (char *) "variant", NULL
30862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
30865 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
30866 if (SWIG_arg_fail(1)) SWIG_fail
;
30870 if (!wxPyCheckForApp()) SWIG_fail
;
30871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30872 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
30874 wxPyEndAllowThreads(__tstate
);
30875 if (PyErr_Occurred()) SWIG_fail
;
30878 wxVisualAttributes
* resultptr
;
30879 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
30880 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
30888 static PyObject
* TreeCtrl_swigregister(PyObject
*, PyObject
*args
) {
30890 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30891 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
30893 return Py_BuildValue((char *)"");
30895 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*) {
30896 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
30901 static PyObject
*_wrap_DirDialogDefaultFolderStr_get(void) {
30906 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
30908 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
30915 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30916 PyObject
*resultobj
;
30917 wxWindow
*arg1
= (wxWindow
*) 0 ;
30918 int arg2
= (int) (int)-1 ;
30919 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
30920 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
30921 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30922 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30923 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30924 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30925 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
30926 wxString
const &arg7_defvalue
= wxPyEmptyString
;
30927 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30928 int arg8
= (int) 0 ;
30929 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
30930 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
30931 wxGenericDirCtrl
*result
;
30932 bool temp3
= false ;
30935 bool temp7
= false ;
30936 bool temp9
= false ;
30937 PyObject
* obj0
= 0 ;
30938 PyObject
* obj1
= 0 ;
30939 PyObject
* obj2
= 0 ;
30940 PyObject
* obj3
= 0 ;
30941 PyObject
* obj4
= 0 ;
30942 PyObject
* obj5
= 0 ;
30943 PyObject
* obj6
= 0 ;
30944 PyObject
* obj7
= 0 ;
30945 PyObject
* obj8
= 0 ;
30946 char *kwnames
[] = {
30947 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
30950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
30951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30952 if (SWIG_arg_fail(1)) SWIG_fail
;
30955 arg2
= (int const)(SWIG_As_int(obj1
));
30956 if (SWIG_arg_fail(2)) SWIG_fail
;
30961 arg3
= wxString_in_helper(obj2
);
30962 if (arg3
== NULL
) SWIG_fail
;
30969 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30975 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30980 arg6
= (long)(SWIG_As_long(obj5
));
30981 if (SWIG_arg_fail(6)) SWIG_fail
;
30986 arg7
= wxString_in_helper(obj6
);
30987 if (arg7
== NULL
) SWIG_fail
;
30993 arg8
= (int)(SWIG_As_int(obj7
));
30994 if (SWIG_arg_fail(8)) SWIG_fail
;
30999 arg9
= wxString_in_helper(obj8
);
31000 if (arg9
== NULL
) SWIG_fail
;
31005 if (!wxPyCheckForApp()) SWIG_fail
;
31006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31007 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
31009 wxPyEndAllowThreads(__tstate
);
31010 if (PyErr_Occurred()) SWIG_fail
;
31012 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
31043 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31044 PyObject
*resultobj
;
31045 wxGenericDirCtrl
*result
;
31046 char *kwnames
[] = {
31050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
31052 if (!wxPyCheckForApp()) SWIG_fail
;
31053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31054 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
31056 wxPyEndAllowThreads(__tstate
);
31057 if (PyErr_Occurred()) SWIG_fail
;
31059 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
31066 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31067 PyObject
*resultobj
;
31068 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31069 wxWindow
*arg2
= (wxWindow
*) 0 ;
31070 int arg3
= (int) (int)-1 ;
31071 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
31072 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
31073 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
31074 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
31075 wxSize
const &arg6_defvalue
= wxDefaultSize
;
31076 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
31077 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
31078 wxString
const &arg8_defvalue
= wxPyEmptyString
;
31079 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
31080 int arg9
= (int) 0 ;
31081 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
31082 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
31084 bool temp4
= false ;
31087 bool temp8
= false ;
31088 bool temp10
= false ;
31089 PyObject
* obj0
= 0 ;
31090 PyObject
* obj1
= 0 ;
31091 PyObject
* obj2
= 0 ;
31092 PyObject
* obj3
= 0 ;
31093 PyObject
* obj4
= 0 ;
31094 PyObject
* obj5
= 0 ;
31095 PyObject
* obj6
= 0 ;
31096 PyObject
* obj7
= 0 ;
31097 PyObject
* obj8
= 0 ;
31098 PyObject
* obj9
= 0 ;
31099 char *kwnames
[] = {
31100 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
31104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31105 if (SWIG_arg_fail(1)) SWIG_fail
;
31106 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31107 if (SWIG_arg_fail(2)) SWIG_fail
;
31110 arg3
= (int const)(SWIG_As_int(obj2
));
31111 if (SWIG_arg_fail(3)) SWIG_fail
;
31116 arg4
= wxString_in_helper(obj3
);
31117 if (arg4
== NULL
) SWIG_fail
;
31124 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
31130 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
31135 arg7
= (long)(SWIG_As_long(obj6
));
31136 if (SWIG_arg_fail(7)) SWIG_fail
;
31141 arg8
= wxString_in_helper(obj7
);
31142 if (arg8
== NULL
) SWIG_fail
;
31148 arg9
= (int)(SWIG_As_int(obj8
));
31149 if (SWIG_arg_fail(9)) SWIG_fail
;
31154 arg10
= wxString_in_helper(obj9
);
31155 if (arg10
== NULL
) SWIG_fail
;
31160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31161 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
31163 wxPyEndAllowThreads(__tstate
);
31164 if (PyErr_Occurred()) SWIG_fail
;
31167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31199 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31200 PyObject
*resultobj
;
31201 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31202 wxString
*arg2
= 0 ;
31204 bool temp2
= false ;
31205 PyObject
* obj0
= 0 ;
31206 PyObject
* obj1
= 0 ;
31207 char *kwnames
[] = {
31208 (char *) "self",(char *) "path", NULL
31211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31213 if (SWIG_arg_fail(1)) SWIG_fail
;
31215 arg2
= wxString_in_helper(obj1
);
31216 if (arg2
== NULL
) SWIG_fail
;
31220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31221 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
31223 wxPyEndAllowThreads(__tstate
);
31224 if (PyErr_Occurred()) SWIG_fail
;
31227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31243 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31244 PyObject
*resultobj
;
31245 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31247 PyObject
* obj0
= 0 ;
31248 char *kwnames
[] = {
31249 (char *) "self", NULL
31252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
31253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31254 if (SWIG_arg_fail(1)) SWIG_fail
;
31256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31257 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
31259 wxPyEndAllowThreads(__tstate
);
31260 if (PyErr_Occurred()) SWIG_fail
;
31264 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31266 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31275 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31276 PyObject
*resultobj
;
31277 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31278 wxString
*arg2
= 0 ;
31279 bool temp2
= false ;
31280 PyObject
* obj0
= 0 ;
31281 PyObject
* obj1
= 0 ;
31282 char *kwnames
[] = {
31283 (char *) "self",(char *) "path", NULL
31286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31288 if (SWIG_arg_fail(1)) SWIG_fail
;
31290 arg2
= wxString_in_helper(obj1
);
31291 if (arg2
== NULL
) SWIG_fail
;
31295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31296 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
31298 wxPyEndAllowThreads(__tstate
);
31299 if (PyErr_Occurred()) SWIG_fail
;
31301 Py_INCREF(Py_None
); resultobj
= Py_None
;
31316 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31317 PyObject
*resultobj
;
31318 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31320 PyObject
* obj0
= 0 ;
31321 char *kwnames
[] = {
31322 (char *) "self", NULL
31325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
31326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31327 if (SWIG_arg_fail(1)) SWIG_fail
;
31329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31330 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
31332 wxPyEndAllowThreads(__tstate
);
31333 if (PyErr_Occurred()) SWIG_fail
;
31337 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31339 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31348 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31349 PyObject
*resultobj
;
31350 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31352 PyObject
* obj0
= 0 ;
31353 char *kwnames
[] = {
31354 (char *) "self", NULL
31357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
31358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31359 if (SWIG_arg_fail(1)) SWIG_fail
;
31361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31362 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
31364 wxPyEndAllowThreads(__tstate
);
31365 if (PyErr_Occurred()) SWIG_fail
;
31369 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31371 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31380 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31381 PyObject
*resultobj
;
31382 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31383 wxString
*arg2
= 0 ;
31384 bool temp2
= false ;
31385 PyObject
* obj0
= 0 ;
31386 PyObject
* obj1
= 0 ;
31387 char *kwnames
[] = {
31388 (char *) "self",(char *) "path", NULL
31391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31393 if (SWIG_arg_fail(1)) SWIG_fail
;
31395 arg2
= wxString_in_helper(obj1
);
31396 if (arg2
== NULL
) SWIG_fail
;
31400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31401 (arg1
)->SetPath((wxString
const &)*arg2
);
31403 wxPyEndAllowThreads(__tstate
);
31404 if (PyErr_Occurred()) SWIG_fail
;
31406 Py_INCREF(Py_None
); resultobj
= Py_None
;
31421 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31422 PyObject
*resultobj
;
31423 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31425 PyObject
* obj0
= 0 ;
31426 PyObject
* obj1
= 0 ;
31427 char *kwnames
[] = {
31428 (char *) "self",(char *) "show", NULL
31431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
31432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31433 if (SWIG_arg_fail(1)) SWIG_fail
;
31435 arg2
= (bool)(SWIG_As_bool(obj1
));
31436 if (SWIG_arg_fail(2)) SWIG_fail
;
31439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31440 (arg1
)->ShowHidden(arg2
);
31442 wxPyEndAllowThreads(__tstate
);
31443 if (PyErr_Occurred()) SWIG_fail
;
31445 Py_INCREF(Py_None
); resultobj
= Py_None
;
31452 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31453 PyObject
*resultobj
;
31454 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31456 PyObject
* obj0
= 0 ;
31457 char *kwnames
[] = {
31458 (char *) "self", NULL
31461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
31462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31463 if (SWIG_arg_fail(1)) SWIG_fail
;
31465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31466 result
= (bool)(arg1
)->GetShowHidden();
31468 wxPyEndAllowThreads(__tstate
);
31469 if (PyErr_Occurred()) SWIG_fail
;
31472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31480 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31481 PyObject
*resultobj
;
31482 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31484 PyObject
* obj0
= 0 ;
31485 char *kwnames
[] = {
31486 (char *) "self", NULL
31489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
31490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31491 if (SWIG_arg_fail(1)) SWIG_fail
;
31493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31494 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
31496 wxPyEndAllowThreads(__tstate
);
31497 if (PyErr_Occurred()) SWIG_fail
;
31501 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31503 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31512 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31513 PyObject
*resultobj
;
31514 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31515 wxString
*arg2
= 0 ;
31516 bool temp2
= false ;
31517 PyObject
* obj0
= 0 ;
31518 PyObject
* obj1
= 0 ;
31519 char *kwnames
[] = {
31520 (char *) "self",(char *) "filter", NULL
31523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
31524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31525 if (SWIG_arg_fail(1)) SWIG_fail
;
31527 arg2
= wxString_in_helper(obj1
);
31528 if (arg2
== NULL
) SWIG_fail
;
31532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31533 (arg1
)->SetFilter((wxString
const &)*arg2
);
31535 wxPyEndAllowThreads(__tstate
);
31536 if (PyErr_Occurred()) SWIG_fail
;
31538 Py_INCREF(Py_None
); resultobj
= Py_None
;
31553 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31554 PyObject
*resultobj
;
31555 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31557 PyObject
* obj0
= 0 ;
31558 char *kwnames
[] = {
31559 (char *) "self", NULL
31562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
31563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31564 if (SWIG_arg_fail(1)) SWIG_fail
;
31566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31567 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
31569 wxPyEndAllowThreads(__tstate
);
31570 if (PyErr_Occurred()) SWIG_fail
;
31573 resultobj
= SWIG_From_int((int)(result
));
31581 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31582 PyObject
*resultobj
;
31583 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31585 PyObject
* obj0
= 0 ;
31586 PyObject
* obj1
= 0 ;
31587 char *kwnames
[] = {
31588 (char *) "self",(char *) "n", NULL
31591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
31592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31593 if (SWIG_arg_fail(1)) SWIG_fail
;
31595 arg2
= (int)(SWIG_As_int(obj1
));
31596 if (SWIG_arg_fail(2)) SWIG_fail
;
31599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31600 (arg1
)->SetFilterIndex(arg2
);
31602 wxPyEndAllowThreads(__tstate
);
31603 if (PyErr_Occurred()) SWIG_fail
;
31605 Py_INCREF(Py_None
); resultobj
= Py_None
;
31612 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31613 PyObject
*resultobj
;
31614 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31615 wxTreeItemId result
;
31616 PyObject
* obj0
= 0 ;
31617 char *kwnames
[] = {
31618 (char *) "self", NULL
31621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
31622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31623 if (SWIG_arg_fail(1)) SWIG_fail
;
31625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31626 result
= (arg1
)->GetRootId();
31628 wxPyEndAllowThreads(__tstate
);
31629 if (PyErr_Occurred()) SWIG_fail
;
31632 wxTreeItemId
* resultptr
;
31633 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
31634 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31642 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31643 PyObject
*resultobj
;
31644 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31645 wxPyTreeCtrl
*result
;
31646 PyObject
* obj0
= 0 ;
31647 char *kwnames
[] = {
31648 (char *) "self", NULL
31651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
31652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31653 if (SWIG_arg_fail(1)) SWIG_fail
;
31655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31656 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
31658 wxPyEndAllowThreads(__tstate
);
31659 if (PyErr_Occurred()) SWIG_fail
;
31662 resultobj
= wxPyMake_wxObject(result
, 0);
31670 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31671 PyObject
*resultobj
;
31672 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31673 wxDirFilterListCtrl
*result
;
31674 PyObject
* obj0
= 0 ;
31675 char *kwnames
[] = {
31676 (char *) "self", NULL
31679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
31680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31681 if (SWIG_arg_fail(1)) SWIG_fail
;
31683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31684 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
31686 wxPyEndAllowThreads(__tstate
);
31687 if (PyErr_Occurred()) SWIG_fail
;
31689 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
31696 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31697 PyObject
*resultobj
;
31698 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31699 wxTreeItemId arg2
;
31700 wxString
*arg3
= 0 ;
31702 wxTreeItemId result
;
31703 bool temp3
= false ;
31706 PyObject
* obj0
= 0 ;
31707 PyObject
* obj1
= 0 ;
31708 PyObject
* obj2
= 0 ;
31709 char *kwnames
[] = {
31710 (char *) "self",(char *) "parentId",(char *) "path", NULL
31713 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
31714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31716 if (SWIG_arg_fail(1)) SWIG_fail
;
31718 wxTreeItemId
* argp
;
31719 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
);
31720 if (SWIG_arg_fail(2)) SWIG_fail
;
31721 if (argp
== NULL
) {
31722 SWIG_null_ref("wxTreeItemId");
31724 if (SWIG_arg_fail(2)) SWIG_fail
;
31728 arg3
= wxString_in_helper(obj2
);
31729 if (arg3
== NULL
) SWIG_fail
;
31733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31734 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
31736 wxPyEndAllowThreads(__tstate
);
31737 if (PyErr_Occurred()) SWIG_fail
;
31740 wxTreeItemId
* resultptr
;
31741 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
31742 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31744 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
31745 SWIG_From_bool((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, 0)));
31760 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31761 PyObject
*resultobj
;
31762 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31763 PyObject
* obj0
= 0 ;
31764 char *kwnames
[] = {
31765 (char *) "self", NULL
31768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
31769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31770 if (SWIG_arg_fail(1)) SWIG_fail
;
31772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31773 (arg1
)->DoResize();
31775 wxPyEndAllowThreads(__tstate
);
31776 if (PyErr_Occurred()) SWIG_fail
;
31778 Py_INCREF(Py_None
); resultobj
= Py_None
;
31785 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31786 PyObject
*resultobj
;
31787 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31788 PyObject
* obj0
= 0 ;
31789 char *kwnames
[] = {
31790 (char *) "self", NULL
31793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
31794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31795 if (SWIG_arg_fail(1)) SWIG_fail
;
31797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31798 (arg1
)->ReCreateTree();
31800 wxPyEndAllowThreads(__tstate
);
31801 if (PyErr_Occurred()) SWIG_fail
;
31803 Py_INCREF(Py_None
); resultobj
= Py_None
;
31810 static PyObject
* GenericDirCtrl_swigregister(PyObject
*, PyObject
*args
) {
31812 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31813 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
31815 return Py_BuildValue((char *)"");
31817 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31818 PyObject
*resultobj
;
31819 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31820 int arg2
= (int) (int)-1 ;
31821 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31822 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31823 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31824 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31825 long arg5
= (long) 0 ;
31826 wxDirFilterListCtrl
*result
;
31829 PyObject
* obj0
= 0 ;
31830 PyObject
* obj1
= 0 ;
31831 PyObject
* obj2
= 0 ;
31832 PyObject
* obj3
= 0 ;
31833 PyObject
* obj4
= 0 ;
31834 char *kwnames
[] = {
31835 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
31838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31840 if (SWIG_arg_fail(1)) SWIG_fail
;
31843 arg2
= (int const)(SWIG_As_int(obj1
));
31844 if (SWIG_arg_fail(2)) SWIG_fail
;
31850 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31856 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31861 arg5
= (long)(SWIG_As_long(obj4
));
31862 if (SWIG_arg_fail(5)) SWIG_fail
;
31866 if (!wxPyCheckForApp()) SWIG_fail
;
31867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31868 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
31870 wxPyEndAllowThreads(__tstate
);
31871 if (PyErr_Occurred()) SWIG_fail
;
31873 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
31880 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31881 PyObject
*resultobj
;
31882 wxDirFilterListCtrl
*result
;
31883 char *kwnames
[] = {
31887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
31889 if (!wxPyCheckForApp()) SWIG_fail
;
31890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31891 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
31893 wxPyEndAllowThreads(__tstate
);
31894 if (PyErr_Occurred()) SWIG_fail
;
31896 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
31903 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31904 PyObject
*resultobj
;
31905 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
31906 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
31907 int arg3
= (int) (int)-1 ;
31908 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31909 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31910 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31911 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31912 long arg6
= (long) 0 ;
31916 PyObject
* obj0
= 0 ;
31917 PyObject
* obj1
= 0 ;
31918 PyObject
* obj2
= 0 ;
31919 PyObject
* obj3
= 0 ;
31920 PyObject
* obj4
= 0 ;
31921 PyObject
* obj5
= 0 ;
31922 char *kwnames
[] = {
31923 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
31926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31928 if (SWIG_arg_fail(1)) SWIG_fail
;
31929 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31930 if (SWIG_arg_fail(2)) SWIG_fail
;
31933 arg3
= (int const)(SWIG_As_int(obj2
));
31934 if (SWIG_arg_fail(3)) SWIG_fail
;
31940 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31946 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31951 arg6
= (long)(SWIG_As_long(obj5
));
31952 if (SWIG_arg_fail(6)) SWIG_fail
;
31956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31957 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
31959 wxPyEndAllowThreads(__tstate
);
31960 if (PyErr_Occurred()) SWIG_fail
;
31963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31971 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31972 PyObject
*resultobj
;
31973 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
31974 wxString
*arg2
= 0 ;
31976 bool temp2
= false ;
31977 PyObject
* obj0
= 0 ;
31978 PyObject
* obj1
= 0 ;
31979 PyObject
* obj2
= 0 ;
31980 char *kwnames
[] = {
31981 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
31984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31986 if (SWIG_arg_fail(1)) SWIG_fail
;
31988 arg2
= wxString_in_helper(obj1
);
31989 if (arg2
== NULL
) SWIG_fail
;
31993 arg3
= (int)(SWIG_As_int(obj2
));
31994 if (SWIG_arg_fail(3)) SWIG_fail
;
31997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31998 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
32000 wxPyEndAllowThreads(__tstate
);
32001 if (PyErr_Occurred()) SWIG_fail
;
32003 Py_INCREF(Py_None
); resultobj
= Py_None
;
32018 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*, PyObject
*args
) {
32020 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32021 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
32023 return Py_BuildValue((char *)"");
32025 static PyObject
*_wrap_new_PyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32026 PyObject
*resultobj
;
32027 wxWindow
*arg1
= (wxWindow
*) 0 ;
32028 int arg2
= (int) (int)-1 ;
32029 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32030 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32031 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32032 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32033 long arg5
= (long) 0 ;
32034 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32035 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32036 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
32037 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32038 wxPyControl
*result
;
32041 bool temp7
= false ;
32042 PyObject
* obj0
= 0 ;
32043 PyObject
* obj1
= 0 ;
32044 PyObject
* obj2
= 0 ;
32045 PyObject
* obj3
= 0 ;
32046 PyObject
* obj4
= 0 ;
32047 PyObject
* obj5
= 0 ;
32048 PyObject
* obj6
= 0 ;
32049 char *kwnames
[] = {
32050 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
32054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32055 if (SWIG_arg_fail(1)) SWIG_fail
;
32058 arg2
= (int const)(SWIG_As_int(obj1
));
32059 if (SWIG_arg_fail(2)) SWIG_fail
;
32065 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32071 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32076 arg5
= (long)(SWIG_As_long(obj4
));
32077 if (SWIG_arg_fail(5)) SWIG_fail
;
32082 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32083 if (SWIG_arg_fail(6)) SWIG_fail
;
32084 if (arg6
== NULL
) {
32085 SWIG_null_ref("wxValidator");
32087 if (SWIG_arg_fail(6)) SWIG_fail
;
32092 arg7
= wxString_in_helper(obj6
);
32093 if (arg7
== NULL
) SWIG_fail
;
32098 if (!wxPyCheckForApp()) SWIG_fail
;
32099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32100 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32102 wxPyEndAllowThreads(__tstate
);
32103 if (PyErr_Occurred()) SWIG_fail
;
32105 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
32120 static PyObject
*_wrap_new_PrePyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32121 PyObject
*resultobj
;
32122 wxPyControl
*result
;
32123 char *kwnames
[] = {
32127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
32129 if (!wxPyCheckForApp()) SWIG_fail
;
32130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32131 result
= (wxPyControl
*)new wxPyControl();
32133 wxPyEndAllowThreads(__tstate
);
32134 if (PyErr_Occurred()) SWIG_fail
;
32136 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
32143 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32144 PyObject
*resultobj
;
32145 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32146 PyObject
*arg2
= (PyObject
*) 0 ;
32147 PyObject
*arg3
= (PyObject
*) 0 ;
32148 PyObject
* obj0
= 0 ;
32149 PyObject
* obj1
= 0 ;
32150 PyObject
* obj2
= 0 ;
32151 char *kwnames
[] = {
32152 (char *) "self",(char *) "self",(char *) "_class", NULL
32155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32157 if (SWIG_arg_fail(1)) SWIG_fail
;
32161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32162 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32164 wxPyEndAllowThreads(__tstate
);
32165 if (PyErr_Occurred()) SWIG_fail
;
32167 Py_INCREF(Py_None
); resultobj
= Py_None
;
32174 static PyObject
*_wrap_PyControl_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32175 PyObject
*resultobj
;
32176 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32179 PyObject
* obj0
= 0 ;
32180 PyObject
* obj1
= 0 ;
32181 char *kwnames
[] = {
32182 (char *) "self",(char *) "size", NULL
32185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
32186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32187 if (SWIG_arg_fail(1)) SWIG_fail
;
32190 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
32193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32194 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
32196 wxPyEndAllowThreads(__tstate
);
32197 if (PyErr_Occurred()) SWIG_fail
;
32199 Py_INCREF(Py_None
); resultobj
= Py_None
;
32206 static PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32207 PyObject
*resultobj
;
32208 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32209 wxDC
*arg2
= (wxDC
*) 0 ;
32211 PyObject
* obj0
= 0 ;
32212 PyObject
* obj1
= 0 ;
32213 char *kwnames
[] = {
32214 (char *) "self",(char *) "dc", NULL
32217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
32218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32219 if (SWIG_arg_fail(1)) SWIG_fail
;
32220 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
32221 if (SWIG_arg_fail(2)) SWIG_fail
;
32223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32224 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
32226 wxPyEndAllowThreads(__tstate
);
32227 if (PyErr_Occurred()) SWIG_fail
;
32230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32238 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32239 PyObject
*resultobj
;
32240 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32245 PyObject
* obj0
= 0 ;
32246 PyObject
* obj1
= 0 ;
32247 PyObject
* obj2
= 0 ;
32248 PyObject
* obj3
= 0 ;
32249 PyObject
* obj4
= 0 ;
32250 char *kwnames
[] = {
32251 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32256 if (SWIG_arg_fail(1)) SWIG_fail
;
32258 arg2
= (int)(SWIG_As_int(obj1
));
32259 if (SWIG_arg_fail(2)) SWIG_fail
;
32262 arg3
= (int)(SWIG_As_int(obj2
));
32263 if (SWIG_arg_fail(3)) SWIG_fail
;
32266 arg4
= (int)(SWIG_As_int(obj3
));
32267 if (SWIG_arg_fail(4)) SWIG_fail
;
32270 arg5
= (int)(SWIG_As_int(obj4
));
32271 if (SWIG_arg_fail(5)) SWIG_fail
;
32274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32275 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
32277 wxPyEndAllowThreads(__tstate
);
32278 if (PyErr_Occurred()) SWIG_fail
;
32280 Py_INCREF(Py_None
); resultobj
= Py_None
;
32287 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32288 PyObject
*resultobj
;
32289 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32294 int arg6
= (int) wxSIZE_AUTO
;
32295 PyObject
* obj0
= 0 ;
32296 PyObject
* obj1
= 0 ;
32297 PyObject
* obj2
= 0 ;
32298 PyObject
* obj3
= 0 ;
32299 PyObject
* obj4
= 0 ;
32300 PyObject
* obj5
= 0 ;
32301 char *kwnames
[] = {
32302 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
32305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32307 if (SWIG_arg_fail(1)) SWIG_fail
;
32309 arg2
= (int)(SWIG_As_int(obj1
));
32310 if (SWIG_arg_fail(2)) SWIG_fail
;
32313 arg3
= (int)(SWIG_As_int(obj2
));
32314 if (SWIG_arg_fail(3)) SWIG_fail
;
32317 arg4
= (int)(SWIG_As_int(obj3
));
32318 if (SWIG_arg_fail(4)) SWIG_fail
;
32321 arg5
= (int)(SWIG_As_int(obj4
));
32322 if (SWIG_arg_fail(5)) SWIG_fail
;
32326 arg6
= (int)(SWIG_As_int(obj5
));
32327 if (SWIG_arg_fail(6)) SWIG_fail
;
32331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32332 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
32334 wxPyEndAllowThreads(__tstate
);
32335 if (PyErr_Occurred()) SWIG_fail
;
32337 Py_INCREF(Py_None
); resultobj
= Py_None
;
32344 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32345 PyObject
*resultobj
;
32346 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32349 PyObject
* obj0
= 0 ;
32350 PyObject
* obj1
= 0 ;
32351 PyObject
* obj2
= 0 ;
32352 char *kwnames
[] = {
32353 (char *) "self",(char *) "width",(char *) "height", NULL
32356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32358 if (SWIG_arg_fail(1)) SWIG_fail
;
32360 arg2
= (int)(SWIG_As_int(obj1
));
32361 if (SWIG_arg_fail(2)) SWIG_fail
;
32364 arg3
= (int)(SWIG_As_int(obj2
));
32365 if (SWIG_arg_fail(3)) SWIG_fail
;
32368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32369 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
32371 wxPyEndAllowThreads(__tstate
);
32372 if (PyErr_Occurred()) SWIG_fail
;
32374 Py_INCREF(Py_None
); resultobj
= Py_None
;
32381 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32382 PyObject
*resultobj
;
32383 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32386 PyObject
* obj0
= 0 ;
32387 PyObject
* obj1
= 0 ;
32388 PyObject
* obj2
= 0 ;
32389 char *kwnames
[] = {
32390 (char *) "self",(char *) "x",(char *) "y", NULL
32393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32395 if (SWIG_arg_fail(1)) SWIG_fail
;
32397 arg2
= (int)(SWIG_As_int(obj1
));
32398 if (SWIG_arg_fail(2)) SWIG_fail
;
32401 arg3
= (int)(SWIG_As_int(obj2
));
32402 if (SWIG_arg_fail(3)) SWIG_fail
;
32405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32406 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
32408 wxPyEndAllowThreads(__tstate
);
32409 if (PyErr_Occurred()) SWIG_fail
;
32411 Py_INCREF(Py_None
); resultobj
= Py_None
;
32418 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32419 PyObject
*resultobj
;
32420 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32421 int *arg2
= (int *) 0 ;
32422 int *arg3
= (int *) 0 ;
32427 PyObject
* obj0
= 0 ;
32428 char *kwnames
[] = {
32429 (char *) "self", NULL
32432 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32433 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
32435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32436 if (SWIG_arg_fail(1)) SWIG_fail
;
32438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32439 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
32441 wxPyEndAllowThreads(__tstate
);
32442 if (PyErr_Occurred()) SWIG_fail
;
32444 Py_INCREF(Py_None
); resultobj
= Py_None
;
32445 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32446 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32447 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32448 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32455 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32456 PyObject
*resultobj
;
32457 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32458 int *arg2
= (int *) 0 ;
32459 int *arg3
= (int *) 0 ;
32464 PyObject
* obj0
= 0 ;
32465 char *kwnames
[] = {
32466 (char *) "self", NULL
32469 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32470 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
32472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32473 if (SWIG_arg_fail(1)) SWIG_fail
;
32475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32476 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
32478 wxPyEndAllowThreads(__tstate
);
32479 if (PyErr_Occurred()) SWIG_fail
;
32481 Py_INCREF(Py_None
); resultobj
= Py_None
;
32482 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32483 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32484 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32485 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32492 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32493 PyObject
*resultobj
;
32494 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32495 int *arg2
= (int *) 0 ;
32496 int *arg3
= (int *) 0 ;
32501 PyObject
* obj0
= 0 ;
32502 char *kwnames
[] = {
32503 (char *) "self", NULL
32506 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32507 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
32509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32510 if (SWIG_arg_fail(1)) SWIG_fail
;
32512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32513 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
32515 wxPyEndAllowThreads(__tstate
);
32516 if (PyErr_Occurred()) SWIG_fail
;
32518 Py_INCREF(Py_None
); resultobj
= Py_None
;
32519 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32520 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32521 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32522 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32529 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32530 PyObject
*resultobj
;
32531 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32533 PyObject
* obj0
= 0 ;
32534 char *kwnames
[] = {
32535 (char *) "self", NULL
32538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
32539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32540 if (SWIG_arg_fail(1)) SWIG_fail
;
32542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32543 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
32545 wxPyEndAllowThreads(__tstate
);
32546 if (PyErr_Occurred()) SWIG_fail
;
32549 wxSize
* resultptr
;
32550 resultptr
= new wxSize((wxSize
&)(result
));
32551 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32559 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32560 PyObject
*resultobj
;
32561 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32563 PyObject
* obj0
= 0 ;
32564 char *kwnames
[] = {
32565 (char *) "self", NULL
32568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
32569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32570 if (SWIG_arg_fail(1)) SWIG_fail
;
32572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32573 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
32575 wxPyEndAllowThreads(__tstate
);
32576 if (PyErr_Occurred()) SWIG_fail
;
32579 wxSize
* resultptr
;
32580 resultptr
= new wxSize((wxSize
&)(result
));
32581 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32589 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32590 PyObject
*resultobj
;
32591 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32592 PyObject
* obj0
= 0 ;
32593 char *kwnames
[] = {
32594 (char *) "self", NULL
32597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
32598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32599 if (SWIG_arg_fail(1)) SWIG_fail
;
32601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32602 (arg1
)->base_InitDialog();
32604 wxPyEndAllowThreads(__tstate
);
32605 if (PyErr_Occurred()) SWIG_fail
;
32607 Py_INCREF(Py_None
); resultobj
= Py_None
;
32614 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32615 PyObject
*resultobj
;
32616 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32618 PyObject
* obj0
= 0 ;
32619 char *kwnames
[] = {
32620 (char *) "self", NULL
32623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
32624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32625 if (SWIG_arg_fail(1)) SWIG_fail
;
32627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32628 result
= (bool)(arg1
)->base_TransferDataToWindow();
32630 wxPyEndAllowThreads(__tstate
);
32631 if (PyErr_Occurred()) SWIG_fail
;
32634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32642 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32643 PyObject
*resultobj
;
32644 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32646 PyObject
* obj0
= 0 ;
32647 char *kwnames
[] = {
32648 (char *) "self", NULL
32651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
32652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32653 if (SWIG_arg_fail(1)) SWIG_fail
;
32655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32656 result
= (bool)(arg1
)->base_TransferDataFromWindow();
32658 wxPyEndAllowThreads(__tstate
);
32659 if (PyErr_Occurred()) SWIG_fail
;
32662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32670 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32671 PyObject
*resultobj
;
32672 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32674 PyObject
* obj0
= 0 ;
32675 char *kwnames
[] = {
32676 (char *) "self", NULL
32679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
32680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32681 if (SWIG_arg_fail(1)) SWIG_fail
;
32683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32684 result
= (bool)(arg1
)->base_Validate();
32686 wxPyEndAllowThreads(__tstate
);
32687 if (PyErr_Occurred()) SWIG_fail
;
32690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32698 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32699 PyObject
*resultobj
;
32700 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32702 PyObject
* obj0
= 0 ;
32703 char *kwnames
[] = {
32704 (char *) "self", NULL
32707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
32708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32709 if (SWIG_arg_fail(1)) SWIG_fail
;
32711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32712 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
32714 wxPyEndAllowThreads(__tstate
);
32715 if (PyErr_Occurred()) SWIG_fail
;
32718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32726 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32727 PyObject
*resultobj
;
32728 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32730 PyObject
* obj0
= 0 ;
32731 char *kwnames
[] = {
32732 (char *) "self", NULL
32735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
32736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32737 if (SWIG_arg_fail(1)) SWIG_fail
;
32739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32740 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
32742 wxPyEndAllowThreads(__tstate
);
32743 if (PyErr_Occurred()) SWIG_fail
;
32746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32754 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32755 PyObject
*resultobj
;
32756 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32758 PyObject
* obj0
= 0 ;
32759 char *kwnames
[] = {
32760 (char *) "self", NULL
32763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
32764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32765 if (SWIG_arg_fail(1)) SWIG_fail
;
32767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32768 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
32770 wxPyEndAllowThreads(__tstate
);
32771 if (PyErr_Occurred()) SWIG_fail
;
32774 wxSize
* resultptr
;
32775 resultptr
= new wxSize((wxSize
&)(result
));
32776 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32784 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32785 PyObject
*resultobj
;
32786 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32787 wxWindow
*arg2
= (wxWindow
*) 0 ;
32788 PyObject
* obj0
= 0 ;
32789 PyObject
* obj1
= 0 ;
32790 char *kwnames
[] = {
32791 (char *) "self",(char *) "child", NULL
32794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
32795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32796 if (SWIG_arg_fail(1)) SWIG_fail
;
32797 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32798 if (SWIG_arg_fail(2)) SWIG_fail
;
32800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32801 (arg1
)->base_AddChild(arg2
);
32803 wxPyEndAllowThreads(__tstate
);
32804 if (PyErr_Occurred()) SWIG_fail
;
32806 Py_INCREF(Py_None
); resultobj
= Py_None
;
32813 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32814 PyObject
*resultobj
;
32815 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32816 wxWindow
*arg2
= (wxWindow
*) 0 ;
32817 PyObject
* obj0
= 0 ;
32818 PyObject
* obj1
= 0 ;
32819 char *kwnames
[] = {
32820 (char *) "self",(char *) "child", NULL
32823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
32824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32825 if (SWIG_arg_fail(1)) SWIG_fail
;
32826 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32827 if (SWIG_arg_fail(2)) SWIG_fail
;
32829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32830 (arg1
)->base_RemoveChild(arg2
);
32832 wxPyEndAllowThreads(__tstate
);
32833 if (PyErr_Occurred()) SWIG_fail
;
32835 Py_INCREF(Py_None
); resultobj
= Py_None
;
32842 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32843 PyObject
*resultobj
;
32844 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32846 PyObject
* obj0
= 0 ;
32847 char *kwnames
[] = {
32848 (char *) "self", NULL
32851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
32852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32853 if (SWIG_arg_fail(1)) SWIG_fail
;
32855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32856 result
= (bool)((wxPyControl
const *)arg1
)->base_ShouldInheritColours();
32858 wxPyEndAllowThreads(__tstate
);
32859 if (PyErr_Occurred()) SWIG_fail
;
32862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32870 static PyObject
*_wrap_PyControl_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32871 PyObject
*resultobj
;
32872 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32873 wxVisualAttributes result
;
32874 PyObject
* obj0
= 0 ;
32875 char *kwnames
[] = {
32876 (char *) "self", NULL
32879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
32880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32881 if (SWIG_arg_fail(1)) SWIG_fail
;
32883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32884 result
= (arg1
)->base_GetDefaultAttributes();
32886 wxPyEndAllowThreads(__tstate
);
32887 if (PyErr_Occurred()) SWIG_fail
;
32890 wxVisualAttributes
* resultptr
;
32891 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
32892 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
32900 static PyObject
*_wrap_PyControl_base_OnInternalIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32901 PyObject
*resultobj
;
32902 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32903 PyObject
* obj0
= 0 ;
32904 char *kwnames
[] = {
32905 (char *) "self", NULL
32908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_OnInternalIdle",kwnames
,&obj0
)) goto fail
;
32909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32910 if (SWIG_arg_fail(1)) SWIG_fail
;
32912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32913 (arg1
)->base_OnInternalIdle();
32915 wxPyEndAllowThreads(__tstate
);
32916 if (PyErr_Occurred()) SWIG_fail
;
32918 Py_INCREF(Py_None
); resultobj
= Py_None
;
32925 static PyObject
* PyControl_swigregister(PyObject
*, PyObject
*args
) {
32927 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32928 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
32930 return Py_BuildValue((char *)"");
32932 static PyObject
*_wrap_new_HelpEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32933 PyObject
*resultobj
;
32934 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
32935 int arg2
= (int) 0 ;
32936 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32937 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32938 wxHelpEvent
*result
;
32940 PyObject
* obj0
= 0 ;
32941 PyObject
* obj1
= 0 ;
32942 PyObject
* obj2
= 0 ;
32943 char *kwnames
[] = {
32944 (char *) "type",(char *) "winid",(char *) "pt", NULL
32947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32950 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
32951 if (SWIG_arg_fail(1)) SWIG_fail
;
32956 arg2
= (int)(SWIG_As_int(obj1
));
32957 if (SWIG_arg_fail(2)) SWIG_fail
;
32963 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32968 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
32970 wxPyEndAllowThreads(__tstate
);
32971 if (PyErr_Occurred()) SWIG_fail
;
32973 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
32980 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32981 PyObject
*resultobj
;
32982 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
32984 PyObject
* obj0
= 0 ;
32985 char *kwnames
[] = {
32986 (char *) "self", NULL
32989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
32990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
32991 if (SWIG_arg_fail(1)) SWIG_fail
;
32993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32994 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
32996 wxPyEndAllowThreads(__tstate
);
32997 if (PyErr_Occurred()) SWIG_fail
;
33000 wxPoint
* resultptr
;
33001 resultptr
= new wxPoint((wxPoint
const &)(result
));
33002 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
33010 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33011 PyObject
*resultobj
;
33012 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33013 wxPoint
*arg2
= 0 ;
33015 PyObject
* obj0
= 0 ;
33016 PyObject
* obj1
= 0 ;
33017 char *kwnames
[] = {
33018 (char *) "self",(char *) "pos", NULL
33021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
33022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33023 if (SWIG_arg_fail(1)) SWIG_fail
;
33026 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33030 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
33032 wxPyEndAllowThreads(__tstate
);
33033 if (PyErr_Occurred()) SWIG_fail
;
33035 Py_INCREF(Py_None
); resultobj
= Py_None
;
33042 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33043 PyObject
*resultobj
;
33044 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33046 PyObject
* obj0
= 0 ;
33047 char *kwnames
[] = {
33048 (char *) "self", NULL
33051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
33052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33053 if (SWIG_arg_fail(1)) SWIG_fail
;
33055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33057 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
33058 result
= (wxString
*) &_result_ref
;
33061 wxPyEndAllowThreads(__tstate
);
33062 if (PyErr_Occurred()) SWIG_fail
;
33066 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33068 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33077 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33078 PyObject
*resultobj
;
33079 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33080 wxString
*arg2
= 0 ;
33081 bool temp2
= false ;
33082 PyObject
* obj0
= 0 ;
33083 PyObject
* obj1
= 0 ;
33084 char *kwnames
[] = {
33085 (char *) "self",(char *) "link", NULL
33088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
33089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33090 if (SWIG_arg_fail(1)) SWIG_fail
;
33092 arg2
= wxString_in_helper(obj1
);
33093 if (arg2
== NULL
) SWIG_fail
;
33097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33098 (arg1
)->SetLink((wxString
const &)*arg2
);
33100 wxPyEndAllowThreads(__tstate
);
33101 if (PyErr_Occurred()) SWIG_fail
;
33103 Py_INCREF(Py_None
); resultobj
= Py_None
;
33118 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33119 PyObject
*resultobj
;
33120 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33122 PyObject
* obj0
= 0 ;
33123 char *kwnames
[] = {
33124 (char *) "self", NULL
33127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
33128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33129 if (SWIG_arg_fail(1)) SWIG_fail
;
33131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33133 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
33134 result
= (wxString
*) &_result_ref
;
33137 wxPyEndAllowThreads(__tstate
);
33138 if (PyErr_Occurred()) SWIG_fail
;
33142 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33144 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33153 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33154 PyObject
*resultobj
;
33155 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33156 wxString
*arg2
= 0 ;
33157 bool temp2
= false ;
33158 PyObject
* obj0
= 0 ;
33159 PyObject
* obj1
= 0 ;
33160 char *kwnames
[] = {
33161 (char *) "self",(char *) "target", NULL
33164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
33165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33166 if (SWIG_arg_fail(1)) SWIG_fail
;
33168 arg2
= wxString_in_helper(obj1
);
33169 if (arg2
== NULL
) SWIG_fail
;
33173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33174 (arg1
)->SetTarget((wxString
const &)*arg2
);
33176 wxPyEndAllowThreads(__tstate
);
33177 if (PyErr_Occurred()) SWIG_fail
;
33179 Py_INCREF(Py_None
); resultobj
= Py_None
;
33194 static PyObject
* HelpEvent_swigregister(PyObject
*, PyObject
*args
) {
33196 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33197 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
33199 return Py_BuildValue((char *)"");
33201 static PyObject
*_wrap_new_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33202 PyObject
*resultobj
;
33203 wxWindow
*arg1
= (wxWindow
*) NULL
;
33204 bool arg2
= (bool) true ;
33205 wxContextHelp
*result
;
33206 PyObject
* obj0
= 0 ;
33207 PyObject
* obj1
= 0 ;
33208 char *kwnames
[] = {
33209 (char *) "window",(char *) "doNow", NULL
33212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33215 if (SWIG_arg_fail(1)) SWIG_fail
;
33219 arg2
= (bool)(SWIG_As_bool(obj1
));
33220 if (SWIG_arg_fail(2)) SWIG_fail
;
33224 if (!wxPyCheckForApp()) SWIG_fail
;
33225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33226 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
33228 wxPyEndAllowThreads(__tstate
);
33229 if (PyErr_Occurred()) SWIG_fail
;
33231 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
33238 static PyObject
*_wrap_delete_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33239 PyObject
*resultobj
;
33240 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33241 PyObject
* obj0
= 0 ;
33242 char *kwnames
[] = {
33243 (char *) "self", NULL
33246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
33247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33248 if (SWIG_arg_fail(1)) SWIG_fail
;
33250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33253 wxPyEndAllowThreads(__tstate
);
33254 if (PyErr_Occurred()) SWIG_fail
;
33256 Py_INCREF(Py_None
); resultobj
= Py_None
;
33263 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33264 PyObject
*resultobj
;
33265 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33266 wxWindow
*arg2
= (wxWindow
*) NULL
;
33268 PyObject
* obj0
= 0 ;
33269 PyObject
* obj1
= 0 ;
33270 char *kwnames
[] = {
33271 (char *) "self",(char *) "window", NULL
33274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33276 if (SWIG_arg_fail(1)) SWIG_fail
;
33278 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33279 if (SWIG_arg_fail(2)) SWIG_fail
;
33282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33283 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
33285 wxPyEndAllowThreads(__tstate
);
33286 if (PyErr_Occurred()) SWIG_fail
;
33289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33297 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33298 PyObject
*resultobj
;
33299 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33301 PyObject
* obj0
= 0 ;
33302 char *kwnames
[] = {
33303 (char *) "self", NULL
33306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
33307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33308 if (SWIG_arg_fail(1)) SWIG_fail
;
33310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33311 result
= (bool)(arg1
)->EndContextHelp();
33313 wxPyEndAllowThreads(__tstate
);
33314 if (PyErr_Occurred()) SWIG_fail
;
33317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33325 static PyObject
* ContextHelp_swigregister(PyObject
*, PyObject
*args
) {
33327 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33328 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
33330 return Py_BuildValue((char *)"");
33332 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33333 PyObject
*resultobj
;
33334 wxWindow
*arg1
= (wxWindow
*) 0 ;
33335 int arg2
= (int) wxID_CONTEXT_HELP
;
33336 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33337 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33338 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33339 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33340 long arg5
= (long) wxBU_AUTODRAW
;
33341 wxContextHelpButton
*result
;
33344 PyObject
* obj0
= 0 ;
33345 PyObject
* obj1
= 0 ;
33346 PyObject
* obj2
= 0 ;
33347 PyObject
* obj3
= 0 ;
33348 PyObject
* obj4
= 0 ;
33349 char *kwnames
[] = {
33350 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33355 if (SWIG_arg_fail(1)) SWIG_fail
;
33358 arg2
= (int)(SWIG_As_int(obj1
));
33359 if (SWIG_arg_fail(2)) SWIG_fail
;
33365 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33371 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33376 arg5
= (long)(SWIG_As_long(obj4
));
33377 if (SWIG_arg_fail(5)) SWIG_fail
;
33381 if (!wxPyCheckForApp()) SWIG_fail
;
33382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33383 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
33385 wxPyEndAllowThreads(__tstate
);
33386 if (PyErr_Occurred()) SWIG_fail
;
33388 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
33395 static PyObject
* ContextHelpButton_swigregister(PyObject
*, PyObject
*args
) {
33397 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33398 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
33400 return Py_BuildValue((char *)"");
33402 static PyObject
*_wrap_HelpProvider_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33403 PyObject
*resultobj
;
33404 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33405 wxHelpProvider
*result
;
33406 PyObject
* obj0
= 0 ;
33407 char *kwnames
[] = {
33408 (char *) "helpProvider", NULL
33411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
33412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33413 if (SWIG_arg_fail(1)) SWIG_fail
;
33415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33416 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
33418 wxPyEndAllowThreads(__tstate
);
33419 if (PyErr_Occurred()) SWIG_fail
;
33421 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
33428 static PyObject
*_wrap_HelpProvider_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33429 PyObject
*resultobj
;
33430 wxHelpProvider
*result
;
33431 char *kwnames
[] = {
33435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
33437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33438 result
= (wxHelpProvider
*)wxHelpProvider::Get();
33440 wxPyEndAllowThreads(__tstate
);
33441 if (PyErr_Occurred()) SWIG_fail
;
33443 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
33450 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33451 PyObject
*resultobj
;
33452 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33453 wxWindow
*arg2
= (wxWindow
*) 0 ;
33455 PyObject
* obj0
= 0 ;
33456 PyObject
* obj1
= 0 ;
33457 char *kwnames
[] = {
33458 (char *) "self",(char *) "window", NULL
33461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33463 if (SWIG_arg_fail(1)) SWIG_fail
;
33464 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33465 if (SWIG_arg_fail(2)) SWIG_fail
;
33467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33468 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
33470 wxPyEndAllowThreads(__tstate
);
33471 if (PyErr_Occurred()) SWIG_fail
;
33475 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33477 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33486 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33487 PyObject
*resultobj
;
33488 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33489 wxWindow
*arg2
= (wxWindow
*) 0 ;
33491 PyObject
* obj0
= 0 ;
33492 PyObject
* obj1
= 0 ;
33493 char *kwnames
[] = {
33494 (char *) "self",(char *) "window", NULL
33497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33499 if (SWIG_arg_fail(1)) SWIG_fail
;
33500 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33501 if (SWIG_arg_fail(2)) SWIG_fail
;
33503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33504 result
= (bool)(arg1
)->ShowHelp(arg2
);
33506 wxPyEndAllowThreads(__tstate
);
33507 if (PyErr_Occurred()) SWIG_fail
;
33510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33518 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33519 PyObject
*resultobj
;
33520 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33521 wxWindow
*arg2
= (wxWindow
*) 0 ;
33522 wxString
*arg3
= 0 ;
33523 bool temp3
= false ;
33524 PyObject
* obj0
= 0 ;
33525 PyObject
* obj1
= 0 ;
33526 PyObject
* obj2
= 0 ;
33527 char *kwnames
[] = {
33528 (char *) "self",(char *) "window",(char *) "text", NULL
33531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33533 if (SWIG_arg_fail(1)) SWIG_fail
;
33534 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33535 if (SWIG_arg_fail(2)) SWIG_fail
;
33537 arg3
= wxString_in_helper(obj2
);
33538 if (arg3
== NULL
) SWIG_fail
;
33542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33543 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
33545 wxPyEndAllowThreads(__tstate
);
33546 if (PyErr_Occurred()) SWIG_fail
;
33548 Py_INCREF(Py_None
); resultobj
= Py_None
;
33563 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33564 PyObject
*resultobj
;
33565 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33567 wxString
*arg3
= 0 ;
33568 bool temp3
= false ;
33569 PyObject
* obj0
= 0 ;
33570 PyObject
* obj1
= 0 ;
33571 PyObject
* obj2
= 0 ;
33572 char *kwnames
[] = {
33573 (char *) "self",(char *) "id",(char *) "text", NULL
33576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33578 if (SWIG_arg_fail(1)) SWIG_fail
;
33580 arg2
= (int)(SWIG_As_int(obj1
));
33581 if (SWIG_arg_fail(2)) SWIG_fail
;
33584 arg3
= wxString_in_helper(obj2
);
33585 if (arg3
== NULL
) SWIG_fail
;
33589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33590 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
33592 wxPyEndAllowThreads(__tstate
);
33593 if (PyErr_Occurred()) SWIG_fail
;
33595 Py_INCREF(Py_None
); resultobj
= Py_None
;
33610 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33611 PyObject
*resultobj
;
33612 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33613 wxWindow
*arg2
= (wxWindow
*) 0 ;
33614 PyObject
* obj0
= 0 ;
33615 PyObject
* obj1
= 0 ;
33616 char *kwnames
[] = {
33617 (char *) "self",(char *) "window", NULL
33620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33622 if (SWIG_arg_fail(1)) SWIG_fail
;
33623 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33624 if (SWIG_arg_fail(2)) SWIG_fail
;
33626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33627 (arg1
)->RemoveHelp(arg2
);
33629 wxPyEndAllowThreads(__tstate
);
33630 if (PyErr_Occurred()) SWIG_fail
;
33632 Py_INCREF(Py_None
); resultobj
= Py_None
;
33639 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33640 PyObject
*resultobj
;
33641 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33642 PyObject
* obj0
= 0 ;
33643 char *kwnames
[] = {
33644 (char *) "self", NULL
33647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
33648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33649 if (SWIG_arg_fail(1)) SWIG_fail
;
33651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33652 wxHelpProvider_Destroy(arg1
);
33654 wxPyEndAllowThreads(__tstate
);
33655 if (PyErr_Occurred()) SWIG_fail
;
33657 Py_INCREF(Py_None
); resultobj
= Py_None
;
33664 static PyObject
* HelpProvider_swigregister(PyObject
*, PyObject
*args
) {
33666 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33667 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
33669 return Py_BuildValue((char *)"");
33671 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33672 PyObject
*resultobj
;
33673 wxSimpleHelpProvider
*result
;
33674 char *kwnames
[] = {
33678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
33680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33681 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
33683 wxPyEndAllowThreads(__tstate
);
33684 if (PyErr_Occurred()) SWIG_fail
;
33686 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
33693 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*, PyObject
*args
) {
33695 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33696 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
33698 return Py_BuildValue((char *)"");
33700 static PyObject
*_wrap_new_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33701 PyObject
*resultobj
;
33702 wxBitmap
*arg1
= 0 ;
33703 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33704 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
33705 wxGenericDragImage
*result
;
33706 PyObject
* obj0
= 0 ;
33707 PyObject
* obj1
= 0 ;
33708 char *kwnames
[] = {
33709 (char *) "image",(char *) "cursor", NULL
33712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
33714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
33715 if (SWIG_arg_fail(1)) SWIG_fail
;
33716 if (arg1
== NULL
) {
33717 SWIG_null_ref("wxBitmap");
33719 if (SWIG_arg_fail(1)) SWIG_fail
;
33723 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
33724 if (SWIG_arg_fail(2)) SWIG_fail
;
33725 if (arg2
== NULL
) {
33726 SWIG_null_ref("wxCursor");
33728 if (SWIG_arg_fail(2)) SWIG_fail
;
33732 if (!wxPyCheckForApp()) SWIG_fail
;
33733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33734 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
33736 wxPyEndAllowThreads(__tstate
);
33737 if (PyErr_Occurred()) SWIG_fail
;
33739 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33746 static PyObject
*_wrap_new_DragIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33747 PyObject
*resultobj
;
33749 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33750 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
33751 wxGenericDragImage
*result
;
33752 PyObject
* obj0
= 0 ;
33753 PyObject
* obj1
= 0 ;
33754 char *kwnames
[] = {
33755 (char *) "image",(char *) "cursor", NULL
33758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
33760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
33761 if (SWIG_arg_fail(1)) SWIG_fail
;
33762 if (arg1
== NULL
) {
33763 SWIG_null_ref("wxIcon");
33765 if (SWIG_arg_fail(1)) SWIG_fail
;
33769 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
33770 if (SWIG_arg_fail(2)) SWIG_fail
;
33771 if (arg2
== NULL
) {
33772 SWIG_null_ref("wxCursor");
33774 if (SWIG_arg_fail(2)) SWIG_fail
;
33778 if (!wxPyCheckForApp()) SWIG_fail
;
33779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33780 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
33782 wxPyEndAllowThreads(__tstate
);
33783 if (PyErr_Occurred()) SWIG_fail
;
33785 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33792 static PyObject
*_wrap_new_DragString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33793 PyObject
*resultobj
;
33794 wxString
*arg1
= 0 ;
33795 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33796 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
33797 wxGenericDragImage
*result
;
33798 bool temp1
= false ;
33799 PyObject
* obj0
= 0 ;
33800 PyObject
* obj1
= 0 ;
33801 char *kwnames
[] = {
33802 (char *) "str",(char *) "cursor", NULL
33805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
33807 arg1
= wxString_in_helper(obj0
);
33808 if (arg1
== NULL
) SWIG_fail
;
33813 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
33814 if (SWIG_arg_fail(2)) SWIG_fail
;
33815 if (arg2
== NULL
) {
33816 SWIG_null_ref("wxCursor");
33818 if (SWIG_arg_fail(2)) SWIG_fail
;
33822 if (!wxPyCheckForApp()) SWIG_fail
;
33823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33824 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
33826 wxPyEndAllowThreads(__tstate
);
33827 if (PyErr_Occurred()) SWIG_fail
;
33829 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33844 static PyObject
*_wrap_new_DragTreeItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33845 PyObject
*resultobj
;
33846 wxPyTreeCtrl
*arg1
= 0 ;
33847 wxTreeItemId
*arg2
= 0 ;
33848 wxGenericDragImage
*result
;
33849 PyObject
* obj0
= 0 ;
33850 PyObject
* obj1
= 0 ;
33851 char *kwnames
[] = {
33852 (char *) "treeCtrl",(char *) "id", NULL
33855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33858 if (SWIG_arg_fail(1)) SWIG_fail
;
33859 if (arg1
== NULL
) {
33860 SWIG_null_ref("wxPyTreeCtrl");
33862 if (SWIG_arg_fail(1)) SWIG_fail
;
33865 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
33866 if (SWIG_arg_fail(2)) SWIG_fail
;
33867 if (arg2
== NULL
) {
33868 SWIG_null_ref("wxTreeItemId");
33870 if (SWIG_arg_fail(2)) SWIG_fail
;
33873 if (!wxPyCheckForApp()) SWIG_fail
;
33874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33875 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
33877 wxPyEndAllowThreads(__tstate
);
33878 if (PyErr_Occurred()) SWIG_fail
;
33880 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33887 static PyObject
*_wrap_new_DragListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33888 PyObject
*resultobj
;
33889 wxPyListCtrl
*arg1
= 0 ;
33891 wxGenericDragImage
*result
;
33892 PyObject
* obj0
= 0 ;
33893 PyObject
* obj1
= 0 ;
33894 char *kwnames
[] = {
33895 (char *) "listCtrl",(char *) "id", NULL
33898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33901 if (SWIG_arg_fail(1)) SWIG_fail
;
33902 if (arg1
== NULL
) {
33903 SWIG_null_ref("wxPyListCtrl");
33905 if (SWIG_arg_fail(1)) SWIG_fail
;
33908 arg2
= (long)(SWIG_As_long(obj1
));
33909 if (SWIG_arg_fail(2)) SWIG_fail
;
33912 if (!wxPyCheckForApp()) SWIG_fail
;
33913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33914 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
33916 wxPyEndAllowThreads(__tstate
);
33917 if (PyErr_Occurred()) SWIG_fail
;
33919 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33926 static PyObject
*_wrap_delete_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33927 PyObject
*resultobj
;
33928 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
33929 PyObject
* obj0
= 0 ;
33930 char *kwnames
[] = {
33931 (char *) "self", NULL
33934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
33935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
33936 if (SWIG_arg_fail(1)) SWIG_fail
;
33938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33941 wxPyEndAllowThreads(__tstate
);
33942 if (PyErr_Occurred()) SWIG_fail
;
33944 Py_INCREF(Py_None
); resultobj
= Py_None
;
33951 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33952 PyObject
*resultobj
;
33953 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
33954 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
33955 PyObject
* obj0
= 0 ;
33956 PyObject
* obj1
= 0 ;
33957 char *kwnames
[] = {
33958 (char *) "self",(char *) "bitmap", NULL
33961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
33962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
33963 if (SWIG_arg_fail(1)) SWIG_fail
;
33964 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
33965 if (SWIG_arg_fail(2)) SWIG_fail
;
33967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33968 (arg1
)->SetBackingBitmap(arg2
);
33970 wxPyEndAllowThreads(__tstate
);
33971 if (PyErr_Occurred()) SWIG_fail
;
33973 Py_INCREF(Py_None
); resultobj
= Py_None
;
33980 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33981 PyObject
*resultobj
;
33982 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
33983 wxPoint
*arg2
= 0 ;
33984 wxWindow
*arg3
= (wxWindow
*) 0 ;
33985 bool arg4
= (bool) false ;
33986 wxRect
*arg5
= (wxRect
*) NULL
;
33989 PyObject
* obj0
= 0 ;
33990 PyObject
* obj1
= 0 ;
33991 PyObject
* obj2
= 0 ;
33992 PyObject
* obj3
= 0 ;
33993 PyObject
* obj4
= 0 ;
33994 char *kwnames
[] = {
33995 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
33998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34000 if (SWIG_arg_fail(1)) SWIG_fail
;
34003 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34005 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34006 if (SWIG_arg_fail(3)) SWIG_fail
;
34009 arg4
= (bool)(SWIG_As_bool(obj3
));
34010 if (SWIG_arg_fail(4)) SWIG_fail
;
34014 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
34015 if (SWIG_arg_fail(5)) SWIG_fail
;
34018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34019 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
34021 wxPyEndAllowThreads(__tstate
);
34022 if (PyErr_Occurred()) SWIG_fail
;
34025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34033 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34034 PyObject
*resultobj
;
34035 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34036 wxPoint
*arg2
= 0 ;
34037 wxWindow
*arg3
= (wxWindow
*) 0 ;
34038 wxWindow
*arg4
= (wxWindow
*) 0 ;
34041 PyObject
* obj0
= 0 ;
34042 PyObject
* obj1
= 0 ;
34043 PyObject
* obj2
= 0 ;
34044 PyObject
* obj3
= 0 ;
34045 char *kwnames
[] = {
34046 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
34049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34051 if (SWIG_arg_fail(1)) SWIG_fail
;
34054 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34056 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34057 if (SWIG_arg_fail(3)) SWIG_fail
;
34058 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34059 if (SWIG_arg_fail(4)) SWIG_fail
;
34061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34062 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
34064 wxPyEndAllowThreads(__tstate
);
34065 if (PyErr_Occurred()) SWIG_fail
;
34068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34076 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34077 PyObject
*resultobj
;
34078 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34080 PyObject
* obj0
= 0 ;
34081 char *kwnames
[] = {
34082 (char *) "self", NULL
34085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
34086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34087 if (SWIG_arg_fail(1)) SWIG_fail
;
34089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34090 result
= (bool)(arg1
)->EndDrag();
34092 wxPyEndAllowThreads(__tstate
);
34093 if (PyErr_Occurred()) SWIG_fail
;
34096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34104 static PyObject
*_wrap_DragImage_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34105 PyObject
*resultobj
;
34106 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34107 wxPoint
*arg2
= 0 ;
34110 PyObject
* obj0
= 0 ;
34111 PyObject
* obj1
= 0 ;
34112 char *kwnames
[] = {
34113 (char *) "self",(char *) "pt", NULL
34116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
34117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34118 if (SWIG_arg_fail(1)) SWIG_fail
;
34121 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34125 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
34127 wxPyEndAllowThreads(__tstate
);
34128 if (PyErr_Occurred()) SWIG_fail
;
34131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34139 static PyObject
*_wrap_DragImage_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34140 PyObject
*resultobj
;
34141 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34143 PyObject
* obj0
= 0 ;
34144 char *kwnames
[] = {
34145 (char *) "self", NULL
34148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
34149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34150 if (SWIG_arg_fail(1)) SWIG_fail
;
34152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34153 result
= (bool)(arg1
)->Show();
34155 wxPyEndAllowThreads(__tstate
);
34156 if (PyErr_Occurred()) SWIG_fail
;
34159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34167 static PyObject
*_wrap_DragImage_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34168 PyObject
*resultobj
;
34169 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34171 PyObject
* obj0
= 0 ;
34172 char *kwnames
[] = {
34173 (char *) "self", NULL
34176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
34177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34178 if (SWIG_arg_fail(1)) SWIG_fail
;
34180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34181 result
= (bool)(arg1
)->Hide();
34183 wxPyEndAllowThreads(__tstate
);
34184 if (PyErr_Occurred()) SWIG_fail
;
34187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34195 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34196 PyObject
*resultobj
;
34197 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34198 wxPoint
*arg2
= 0 ;
34201 PyObject
* obj0
= 0 ;
34202 PyObject
* obj1
= 0 ;
34203 char *kwnames
[] = {
34204 (char *) "self",(char *) "pos", NULL
34207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
34208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34209 if (SWIG_arg_fail(1)) SWIG_fail
;
34212 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34216 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
34218 wxPyEndAllowThreads(__tstate
);
34219 if (PyErr_Occurred()) SWIG_fail
;
34222 wxRect
* resultptr
;
34223 resultptr
= new wxRect((wxRect
&)(result
));
34224 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
34232 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34233 PyObject
*resultobj
;
34234 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34236 wxPoint
*arg3
= 0 ;
34239 PyObject
* obj0
= 0 ;
34240 PyObject
* obj1
= 0 ;
34241 PyObject
* obj2
= 0 ;
34242 char *kwnames
[] = {
34243 (char *) "self",(char *) "dc",(char *) "pos", NULL
34246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34248 if (SWIG_arg_fail(1)) SWIG_fail
;
34250 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
34251 if (SWIG_arg_fail(2)) SWIG_fail
;
34252 if (arg2
== NULL
) {
34253 SWIG_null_ref("wxDC");
34255 if (SWIG_arg_fail(2)) SWIG_fail
;
34259 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34263 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
34265 wxPyEndAllowThreads(__tstate
);
34266 if (PyErr_Occurred()) SWIG_fail
;
34269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34277 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34278 PyObject
*resultobj
;
34279 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34281 wxMemoryDC
*arg3
= 0 ;
34287 PyObject
* obj0
= 0 ;
34288 PyObject
* obj1
= 0 ;
34289 PyObject
* obj2
= 0 ;
34290 PyObject
* obj3
= 0 ;
34291 PyObject
* obj4
= 0 ;
34292 char *kwnames
[] = {
34293 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
34296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34298 if (SWIG_arg_fail(1)) SWIG_fail
;
34300 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
34301 if (SWIG_arg_fail(2)) SWIG_fail
;
34302 if (arg2
== NULL
) {
34303 SWIG_null_ref("wxDC");
34305 if (SWIG_arg_fail(2)) SWIG_fail
;
34308 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_EXCEPTION
| 0);
34309 if (SWIG_arg_fail(3)) SWIG_fail
;
34310 if (arg3
== NULL
) {
34311 SWIG_null_ref("wxMemoryDC");
34313 if (SWIG_arg_fail(3)) SWIG_fail
;
34317 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34321 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
34324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34325 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
34327 wxPyEndAllowThreads(__tstate
);
34328 if (PyErr_Occurred()) SWIG_fail
;
34331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34339 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34340 PyObject
*resultobj
;
34341 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34342 wxPoint
*arg2
= 0 ;
34343 wxPoint
*arg3
= 0 ;
34349 PyObject
* obj0
= 0 ;
34350 PyObject
* obj1
= 0 ;
34351 PyObject
* obj2
= 0 ;
34352 PyObject
* obj3
= 0 ;
34353 PyObject
* obj4
= 0 ;
34354 char *kwnames
[] = {
34355 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
34358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34360 if (SWIG_arg_fail(1)) SWIG_fail
;
34363 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34367 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34370 arg4
= (bool)(SWIG_As_bool(obj3
));
34371 if (SWIG_arg_fail(4)) SWIG_fail
;
34374 arg5
= (bool)(SWIG_As_bool(obj4
));
34375 if (SWIG_arg_fail(5)) SWIG_fail
;
34378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34379 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
34381 wxPyEndAllowThreads(__tstate
);
34382 if (PyErr_Occurred()) SWIG_fail
;
34385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34393 static PyObject
* DragImage_swigregister(PyObject
*, PyObject
*args
) {
34395 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34396 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
34398 return Py_BuildValue((char *)"");
34400 static int _wrap_DatePickerCtrlNameStr_set(PyObject
*) {
34401 PyErr_SetString(PyExc_TypeError
,"Variable DatePickerCtrlNameStr is read-only.");
34406 static PyObject
*_wrap_DatePickerCtrlNameStr_get(void) {
34411 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
34413 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
34420 static PyObject
*_wrap_new_DatePickerCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34421 PyObject
*resultobj
;
34422 wxWindow
*arg1
= (wxWindow
*) 0 ;
34423 int arg2
= (int) -1 ;
34424 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
34425 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
34426 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
34427 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
34428 wxSize
const &arg5_defvalue
= wxDefaultSize
;
34429 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
34430 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
34431 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
34432 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
34433 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
34434 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
34435 wxDatePickerCtrl
*result
;
34438 bool temp8
= false ;
34439 PyObject
* obj0
= 0 ;
34440 PyObject
* obj1
= 0 ;
34441 PyObject
* obj2
= 0 ;
34442 PyObject
* obj3
= 0 ;
34443 PyObject
* obj4
= 0 ;
34444 PyObject
* obj5
= 0 ;
34445 PyObject
* obj6
= 0 ;
34446 PyObject
* obj7
= 0 ;
34447 char *kwnames
[] = {
34448 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
34452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34453 if (SWIG_arg_fail(1)) SWIG_fail
;
34456 arg2
= (int)(SWIG_As_int(obj1
));
34457 if (SWIG_arg_fail(2)) SWIG_fail
;
34462 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34463 if (SWIG_arg_fail(3)) SWIG_fail
;
34464 if (arg3
== NULL
) {
34465 SWIG_null_ref("wxDateTime");
34467 if (SWIG_arg_fail(3)) SWIG_fail
;
34473 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
34479 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
34484 arg6
= (long)(SWIG_As_long(obj5
));
34485 if (SWIG_arg_fail(6)) SWIG_fail
;
34490 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
34491 if (SWIG_arg_fail(7)) SWIG_fail
;
34492 if (arg7
== NULL
) {
34493 SWIG_null_ref("wxValidator");
34495 if (SWIG_arg_fail(7)) SWIG_fail
;
34500 arg8
= wxString_in_helper(obj7
);
34501 if (arg8
== NULL
) SWIG_fail
;
34506 if (!wxPyCheckForApp()) SWIG_fail
;
34507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34508 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
34510 wxPyEndAllowThreads(__tstate
);
34511 if (PyErr_Occurred()) SWIG_fail
;
34513 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDatePickerCtrl
, 1);
34528 static PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34529 PyObject
*resultobj
;
34530 wxDatePickerCtrl
*result
;
34531 char *kwnames
[] = {
34535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDatePickerCtrl",kwnames
)) goto fail
;
34537 if (!wxPyCheckForApp()) SWIG_fail
;
34538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34539 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
34541 wxPyEndAllowThreads(__tstate
);
34542 if (PyErr_Occurred()) SWIG_fail
;
34544 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDatePickerCtrl
, 1);
34551 static PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34552 PyObject
*resultobj
;
34553 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34554 wxWindow
*arg2
= (wxWindow
*) 0 ;
34555 int arg3
= (int) -1 ;
34556 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
34557 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
34558 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
34559 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
34560 wxSize
const &arg6_defvalue
= wxDefaultSize
;
34561 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
34562 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
34563 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
34564 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
34565 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
34566 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
34570 bool temp9
= false ;
34571 PyObject
* obj0
= 0 ;
34572 PyObject
* obj1
= 0 ;
34573 PyObject
* obj2
= 0 ;
34574 PyObject
* obj3
= 0 ;
34575 PyObject
* obj4
= 0 ;
34576 PyObject
* obj5
= 0 ;
34577 PyObject
* obj6
= 0 ;
34578 PyObject
* obj7
= 0 ;
34579 PyObject
* obj8
= 0 ;
34580 char *kwnames
[] = {
34581 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
34585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34586 if (SWIG_arg_fail(1)) SWIG_fail
;
34587 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34588 if (SWIG_arg_fail(2)) SWIG_fail
;
34591 arg3
= (int)(SWIG_As_int(obj2
));
34592 if (SWIG_arg_fail(3)) SWIG_fail
;
34597 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34598 if (SWIG_arg_fail(4)) SWIG_fail
;
34599 if (arg4
== NULL
) {
34600 SWIG_null_ref("wxDateTime");
34602 if (SWIG_arg_fail(4)) SWIG_fail
;
34608 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
34614 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
34619 arg7
= (long)(SWIG_As_long(obj6
));
34620 if (SWIG_arg_fail(7)) SWIG_fail
;
34625 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
34626 if (SWIG_arg_fail(8)) SWIG_fail
;
34627 if (arg8
== NULL
) {
34628 SWIG_null_ref("wxValidator");
34630 if (SWIG_arg_fail(8)) SWIG_fail
;
34635 arg9
= wxString_in_helper(obj8
);
34636 if (arg9
== NULL
) SWIG_fail
;
34641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34642 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
34644 wxPyEndAllowThreads(__tstate
);
34645 if (PyErr_Occurred()) SWIG_fail
;
34648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34664 static PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34665 PyObject
*resultobj
;
34666 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34667 wxDateTime
*arg2
= 0 ;
34668 PyObject
* obj0
= 0 ;
34669 PyObject
* obj1
= 0 ;
34670 char *kwnames
[] = {
34671 (char *) "self",(char *) "dt", NULL
34674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
34675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34676 if (SWIG_arg_fail(1)) SWIG_fail
;
34678 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34679 if (SWIG_arg_fail(2)) SWIG_fail
;
34680 if (arg2
== NULL
) {
34681 SWIG_null_ref("wxDateTime");
34683 if (SWIG_arg_fail(2)) SWIG_fail
;
34686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34687 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
34689 wxPyEndAllowThreads(__tstate
);
34690 if (PyErr_Occurred()) SWIG_fail
;
34692 Py_INCREF(Py_None
); resultobj
= Py_None
;
34699 static PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34700 PyObject
*resultobj
;
34701 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34703 PyObject
* obj0
= 0 ;
34704 char *kwnames
[] = {
34705 (char *) "self", NULL
34708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
34709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34710 if (SWIG_arg_fail(1)) SWIG_fail
;
34712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34713 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
34715 wxPyEndAllowThreads(__tstate
);
34716 if (PyErr_Occurred()) SWIG_fail
;
34719 wxDateTime
* resultptr
;
34720 resultptr
= new wxDateTime((wxDateTime
&)(result
));
34721 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
34729 static PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34730 PyObject
*resultobj
;
34731 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34732 wxDateTime
*arg2
= 0 ;
34733 wxDateTime
*arg3
= 0 ;
34734 PyObject
* obj0
= 0 ;
34735 PyObject
* obj1
= 0 ;
34736 PyObject
* obj2
= 0 ;
34737 char *kwnames
[] = {
34738 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
34741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34743 if (SWIG_arg_fail(1)) SWIG_fail
;
34745 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34746 if (SWIG_arg_fail(2)) SWIG_fail
;
34747 if (arg2
== NULL
) {
34748 SWIG_null_ref("wxDateTime");
34750 if (SWIG_arg_fail(2)) SWIG_fail
;
34753 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34754 if (SWIG_arg_fail(3)) SWIG_fail
;
34755 if (arg3
== NULL
) {
34756 SWIG_null_ref("wxDateTime");
34758 if (SWIG_arg_fail(3)) SWIG_fail
;
34761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34762 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
34764 wxPyEndAllowThreads(__tstate
);
34765 if (PyErr_Occurred()) SWIG_fail
;
34767 Py_INCREF(Py_None
); resultobj
= Py_None
;
34774 static PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34775 PyObject
*resultobj
;
34776 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34778 PyObject
* obj0
= 0 ;
34779 char *kwnames
[] = {
34780 (char *) "self", NULL
34783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetLowerLimit",kwnames
,&obj0
)) goto fail
;
34784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34785 if (SWIG_arg_fail(1)) SWIG_fail
;
34787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34788 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
34790 wxPyEndAllowThreads(__tstate
);
34791 if (PyErr_Occurred()) SWIG_fail
;
34794 wxDateTime
* resultptr
;
34795 resultptr
= new wxDateTime((wxDateTime
&)(result
));
34796 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
34804 static PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34805 PyObject
*resultobj
;
34806 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34808 PyObject
* obj0
= 0 ;
34809 char *kwnames
[] = {
34810 (char *) "self", NULL
34813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetUpperLimit",kwnames
,&obj0
)) goto fail
;
34814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34815 if (SWIG_arg_fail(1)) SWIG_fail
;
34817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34818 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
34820 wxPyEndAllowThreads(__tstate
);
34821 if (PyErr_Occurred()) SWIG_fail
;
34824 wxDateTime
* resultptr
;
34825 resultptr
= new wxDateTime((wxDateTime
&)(result
));
34826 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
34834 static PyObject
* DatePickerCtrl_swigregister(PyObject
*, PyObject
*args
) {
34836 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34837 SWIG_TypeClientData(SWIGTYPE_p_wxDatePickerCtrl
, obj
);
34839 return Py_BuildValue((char *)"");
34841 static PyMethodDef SwigMethods
[] = {
34842 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34843 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34844 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34845 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34846 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34847 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34848 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
34849 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34850 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34851 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34852 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34853 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34854 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34855 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34856 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34857 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34858 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34859 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34860 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34861 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34862 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34863 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
34864 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34865 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34866 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34867 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34868 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34869 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34870 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34871 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34872 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34873 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34874 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34875 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
34876 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34877 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34878 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34879 { (char *)"Choice_GetCurrentSelection", (PyCFunction
) _wrap_Choice_GetCurrentSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34880 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34881 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
34882 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34883 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34884 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34885 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34886 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34887 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34888 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34889 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34890 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34891 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34892 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34893 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34894 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34895 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34896 { (char *)"ComboBox_GetMark", (PyCFunction
) _wrap_ComboBox_GetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34897 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
) _wrap_ComboBox_GetCurrentSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34898 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34899 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34900 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34901 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34902 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34903 { (char *)"ComboBox_IsEditable", (PyCFunction
) _wrap_ComboBox_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34904 { (char *)"ComboBox_Undo", (PyCFunction
) _wrap_ComboBox_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34905 { (char *)"ComboBox_Redo", (PyCFunction
) _wrap_ComboBox_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34906 { (char *)"ComboBox_SelectAll", (PyCFunction
) _wrap_ComboBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34907 { (char *)"ComboBox_CanCopy", (PyCFunction
) _wrap_ComboBox_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34908 { (char *)"ComboBox_CanCut", (PyCFunction
) _wrap_ComboBox_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34909 { (char *)"ComboBox_CanPaste", (PyCFunction
) _wrap_ComboBox_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34910 { (char *)"ComboBox_CanUndo", (PyCFunction
) _wrap_ComboBox_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34911 { (char *)"ComboBox_CanRedo", (PyCFunction
) _wrap_ComboBox_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34912 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34913 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
34914 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34915 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34916 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34917 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34918 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34919 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34920 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34921 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34922 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34923 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34924 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34925 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34926 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34927 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
34928 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34929 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34930 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34931 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34932 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
34933 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34934 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34935 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34936 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34937 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34938 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34939 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
34940 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34941 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34942 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34943 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34944 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34945 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
34946 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34947 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34948 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34949 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34950 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34951 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34952 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34953 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
34954 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34955 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34956 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34957 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34958 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34959 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34960 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34961 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34962 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34963 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34964 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34965 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34966 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34967 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34968 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34969 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34970 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34971 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34972 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34973 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34974 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34975 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34976 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
34977 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34978 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34979 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34980 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34981 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34982 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34983 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34984 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34985 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
34986 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34987 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34988 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34989 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34990 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34991 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34992 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34993 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34994 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34995 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34996 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34997 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34998 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34999 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35000 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35001 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35002 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35003 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35004 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35005 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35006 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35007 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35008 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35009 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35010 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35011 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
) _wrap_TextAttr_GetLeftSubIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35012 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35013 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35014 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35015 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35016 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
35017 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35018 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35019 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35020 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35021 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35022 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35023 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35024 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35025 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35026 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35027 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35028 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35029 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35030 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35031 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35032 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35033 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35034 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35035 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35036 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35037 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35038 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35039 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35040 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35041 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35042 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35043 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35044 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35045 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35046 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35047 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35048 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35049 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35050 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35051 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35052 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35053 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35054 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35055 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35056 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35057 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35058 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35059 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35060 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35061 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35062 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35063 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35064 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35065 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35066 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35067 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35068 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35069 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35070 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35071 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35072 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
35073 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35074 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35075 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35076 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35077 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
35078 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35079 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35080 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35081 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35082 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35083 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35084 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35085 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35086 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35087 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35088 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35089 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
35090 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35091 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35092 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35093 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35094 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35095 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35096 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35097 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35098 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35099 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35100 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35101 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35102 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
35103 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35104 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35105 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35106 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35107 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35108 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35109 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35110 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35111 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35112 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35113 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35114 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
35115 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35116 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35117 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35118 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
35119 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35120 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35121 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35122 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35123 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35124 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35125 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35126 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35127 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35128 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35129 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35130 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35131 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35132 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35133 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35134 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35135 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35136 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
35137 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35138 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35139 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35140 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35141 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35142 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35143 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
35144 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35145 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35146 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35147 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35148 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35149 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35150 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35151 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35152 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35153 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35154 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35155 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35156 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35157 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35158 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35159 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35160 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35161 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35162 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35163 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35164 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35165 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35166 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35167 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35168 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35169 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
35170 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35171 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35172 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35173 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35174 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35175 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35176 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35177 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
35178 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
) _wrap_BookCtrlBase_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35179 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35180 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35181 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
) _wrap_BookCtrlBase_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35182 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35183 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35184 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35185 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35186 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
) _wrap_BookCtrlBase_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35187 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35188 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35189 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35190 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35191 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35192 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35193 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
) _wrap_BookCtrlBase_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35194 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35195 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35196 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35197 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35198 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35199 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
35200 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35201 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35202 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35203 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35204 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35205 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
35206 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35207 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35208 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35209 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35210 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35211 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35212 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35213 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35214 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
) _wrap_Notebook_GetThemeBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35215 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35216 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
35217 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35218 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
35219 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35220 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35221 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35222 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35223 { (char *)"Listbook_GetListView", (PyCFunction
) _wrap_Listbook_GetListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35224 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
35225 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35226 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
35227 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35228 { (char *)"new_PreChoicebook", (PyCFunction
) _wrap_new_PreChoicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35229 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35230 { (char *)"Choicebook_IsVertical", (PyCFunction
) _wrap_Choicebook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35231 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
) _wrap_Choicebook_GetChoiceCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35232 { (char *)"Choicebook_DeleteAllPages", (PyCFunction
) _wrap_Choicebook_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35233 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
35234 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35235 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
35236 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35237 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35238 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35239 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35240 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35241 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35242 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35243 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35244 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35245 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35246 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35247 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35248 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35249 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35250 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35251 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35252 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35253 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35254 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35255 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35256 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35257 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35258 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35259 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35260 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35261 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35262 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35263 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35264 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35265 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
35266 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35267 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35268 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35269 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35270 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35271 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35272 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35273 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35274 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35275 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35276 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35277 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35278 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35279 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35280 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35281 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35282 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35283 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35284 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35285 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35286 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35287 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35288 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35289 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35290 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35291 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35292 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35293 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35294 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35295 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35296 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35297 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35298 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35299 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35300 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35301 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35302 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35303 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35304 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35305 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35306 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35307 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35308 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35309 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35310 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
35311 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35312 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35313 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35314 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35315 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35316 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
35317 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35318 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35319 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35320 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35321 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35322 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35323 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35324 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35325 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35326 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35327 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35328 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
35329 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35330 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35331 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35332 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35333 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35334 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35335 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35336 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35337 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35338 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35339 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35340 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35341 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35342 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35343 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35344 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35345 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35346 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35347 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35348 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35349 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35350 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35351 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35352 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35353 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35354 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35355 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35356 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35357 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35358 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35359 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35360 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35361 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35362 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35363 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35364 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35365 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35366 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35367 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35368 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35369 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35370 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35371 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35372 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35373 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35374 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35375 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35376 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35377 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35378 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35379 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35380 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
35381 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35382 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35383 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35384 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35385 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35386 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35387 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35388 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35389 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35390 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35391 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35392 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35393 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35394 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35395 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35396 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35397 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35398 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35399 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35400 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35401 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35402 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35403 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35404 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35405 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35406 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35407 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
35408 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35409 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35410 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35411 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35412 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35413 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35414 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35415 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35416 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35417 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35418 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35419 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35420 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35421 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35422 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35423 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35424 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35425 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35426 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35427 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35428 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35429 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35430 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35431 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35432 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35433 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35434 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35435 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35436 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35437 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35438 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35439 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35440 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35441 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35442 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35443 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35444 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35445 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35446 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35447 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35448 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35449 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35450 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35451 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35452 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35453 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35454 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35455 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35456 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35457 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35458 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35459 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35460 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35461 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35462 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35463 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35464 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35465 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35466 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35467 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35468 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35469 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35470 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35471 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35472 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35473 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35474 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35475 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35476 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35477 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35478 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35479 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35480 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
35481 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35482 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35483 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35484 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35485 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35486 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35487 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35488 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35489 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35490 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35491 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35492 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
35493 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35494 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35495 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35496 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35497 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35498 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35499 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35500 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
35501 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35502 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35503 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35504 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35505 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35506 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35507 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
35508 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35509 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35510 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35511 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35512 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35513 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35514 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35515 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35516 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35517 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35518 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35519 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35520 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35521 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35522 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35523 { (char *)"TreeEvent_GetToolTip", (PyCFunction
) _wrap_TreeEvent_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35524 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
35525 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35526 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35527 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35528 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35529 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35530 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35531 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35532 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35533 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35534 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35535 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35536 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35537 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35538 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35539 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35540 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35541 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35542 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35543 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35544 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35545 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35546 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35547 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35548 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35549 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35550 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35551 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35552 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35553 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35554 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35555 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35556 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35557 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35558 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35559 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35560 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35561 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35562 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35563 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35564 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35565 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35566 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35567 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35568 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35569 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35570 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35571 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35572 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35573 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35574 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35575 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35576 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35577 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35578 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35579 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35580 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35581 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35582 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35583 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35584 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35585 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35586 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35587 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35588 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35589 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35590 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35591 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35592 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35593 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35594 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35595 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35596 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35597 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35598 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35599 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35600 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
35601 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35602 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35603 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35604 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35605 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35606 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35607 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35608 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35609 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35610 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35611 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35612 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35613 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35614 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35615 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35616 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35617 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35618 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35619 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35620 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35621 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35622 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
35623 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35624 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35625 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35626 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35627 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
35628 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35629 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35630 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35631 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35632 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35633 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35634 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35635 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35636 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35637 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35638 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35639 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35640 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35641 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35642 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35643 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35644 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35645 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35646 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35647 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35648 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35649 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35650 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35651 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35652 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyControl_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35653 { (char *)"PyControl_base_OnInternalIdle", (PyCFunction
) _wrap_PyControl_base_OnInternalIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35654 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
35655 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35656 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35657 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35658 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35659 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35660 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35661 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35662 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
35663 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35664 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35665 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35666 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35667 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
35668 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35669 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
35670 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35671 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35672 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35673 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35674 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35675 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35676 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35677 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35678 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
35679 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35680 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
35681 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35682 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35683 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35684 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35685 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35686 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35687 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35688 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35689 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35690 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35691 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35692 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35693 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35694 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35695 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35696 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35697 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35698 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
35699 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35700 { (char *)"new_PreDatePickerCtrl", (PyCFunction
) _wrap_new_PreDatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35701 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35702 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35703 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
) _wrap_DatePickerCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35704 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35705 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
) _wrap_DatePickerCtrl_GetLowerLimit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35706 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
) _wrap_DatePickerCtrl_GetUpperLimit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35707 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
35708 { NULL
, NULL
, 0, NULL
}
35712 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
35714 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
35715 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
35717 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
35718 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
35720 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
35721 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
35723 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
35724 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
35726 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
35727 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
35729 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
35730 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
35732 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
35733 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
35735 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
35736 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
35738 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
35739 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
35741 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
35742 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
35744 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
35745 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
35747 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
35748 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
35750 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
35751 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
35753 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
35754 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
35756 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
35757 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
35759 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
35760 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
35762 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
35763 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
35765 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
35766 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
35768 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
35769 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
35771 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
35772 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
35774 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
35775 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
35777 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
35778 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
35780 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
35781 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
35783 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
35784 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
35786 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
35787 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
35789 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
35790 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
35792 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
35793 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
35795 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
35796 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
35798 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
35799 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
35801 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
35802 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
35804 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
35805 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
35807 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
35808 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
35810 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
35811 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
35813 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
35814 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
35816 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
35817 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
35819 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
35820 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
35822 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
35823 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
35825 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
35826 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
35828 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
35829 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
35831 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
35832 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
35834 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
35835 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
35837 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
35838 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
35840 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
35841 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
35843 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
35844 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
35846 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
35847 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
35849 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
35850 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
35852 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
35853 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
35855 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
35856 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
35858 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
35859 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
35861 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
35862 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
35864 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
35865 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
35867 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
35868 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
35870 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
35871 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
35873 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
35874 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
35876 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
35877 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
35879 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
35880 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
35882 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
35883 return (void *)((wxControl
*) ((wxPyControl
*) x
));
35885 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
35886 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
35888 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
35889 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
35891 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
35892 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
35894 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
35895 return (void *)((wxControl
*) ((wxComboBox
*) x
));
35897 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
35898 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
35900 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
35901 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
35903 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
35904 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
35906 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
35907 return (void *)((wxControl
*) ((wxGauge
*) x
));
35909 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
35910 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
35912 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
35913 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
35915 static void *_p_wxListbookTo_p_wxControl(void *x
) {
35916 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
35918 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
35919 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
35921 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
35922 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
35924 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
35925 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
35927 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
35928 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
35930 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
35931 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
35933 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
35934 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
35936 static void *_p_wxListViewTo_p_wxControl(void *x
) {
35937 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
35939 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
35940 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
35942 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
35943 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
35945 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
35946 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
35948 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
35949 return (void *)((wxControl
*) ((wxStaticText
*) x
));
35951 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
35952 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
35954 static void *_p_wxSliderTo_p_wxControl(void *x
) {
35955 return (void *)((wxControl
*) ((wxSlider
*) x
));
35957 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
35958 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
35960 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
35961 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
35963 static void *_p_wxButtonTo_p_wxControl(void *x
) {
35964 return (void *)((wxControl
*) ((wxButton
*) x
));
35966 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
35967 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
35969 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
35970 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
35972 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
35973 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
35975 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
35976 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
35978 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
35979 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
35981 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
35982 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
35984 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
35985 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
35987 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
35988 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
35990 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
35991 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
35993 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
35994 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
35996 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
35997 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
35999 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
36000 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36002 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
36003 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36005 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
36006 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
36008 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
36009 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
36011 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
36012 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
36014 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
36015 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
36017 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
36018 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
36020 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
36021 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
36023 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
36024 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36026 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
36027 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
36029 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
36030 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
36032 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
36033 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
36035 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
36036 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
36038 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
36039 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
36041 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
36042 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
36044 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
36045 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
36047 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
36048 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
36050 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
36051 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36053 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
36054 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
36056 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
36057 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
36059 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
36060 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
36062 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
36063 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
36065 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
36066 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
36068 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
36069 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
36071 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
36072 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
36074 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
36075 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36077 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
36078 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36080 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
36081 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
36083 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
36084 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
36086 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
36087 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
36089 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
36090 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36092 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
36093 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36095 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
36096 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36098 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
36099 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36101 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
36102 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
36104 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
36105 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36107 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
36108 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
36110 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
36111 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
36113 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
36114 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
36116 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
36117 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
36119 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
36120 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
36122 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
36123 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
36125 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
36126 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36128 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
36129 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36131 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
36132 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
36134 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
36135 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
36137 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
36138 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
36140 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
36141 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
36143 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
36144 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36146 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
36147 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36149 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
36150 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
36152 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
36153 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
36155 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
36156 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
36158 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
36159 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
36161 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
36162 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
36164 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
36165 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
36167 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
36168 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
36170 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
36171 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
36173 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
36174 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
36176 static void *_p_wxSizerTo_p_wxObject(void *x
) {
36177 return (void *)((wxObject
*) ((wxSizer
*) x
));
36179 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
36180 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
36182 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
36183 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
36185 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
36186 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
36188 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
36189 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36191 static void *_p_wxEventTo_p_wxObject(void *x
) {
36192 return (void *)((wxObject
*) ((wxEvent
*) x
));
36194 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
36195 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
36197 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
36198 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
36200 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
36201 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
36203 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
36204 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
36206 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
36207 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
36209 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
36210 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36212 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
36213 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
36215 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
36216 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
36218 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
36219 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
36221 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
36222 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
36224 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
36225 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
36227 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
36228 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
36230 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
36231 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
36233 static void *_p_wxControlTo_p_wxObject(void *x
) {
36234 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
36236 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
36237 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
36239 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
36240 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
36242 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
36243 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
36245 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
36246 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
36248 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
36249 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
36251 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
36252 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
36254 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
36255 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36257 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
36258 return (void *)((wxObject
*) ((wxFSFile
*) x
));
36260 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
36261 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
36263 static void *_p_wxListViewTo_p_wxObject(void *x
) {
36264 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36266 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
36267 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
36269 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
36270 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36272 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
36273 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
36275 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
36276 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36278 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
36279 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36281 static void *_p_wxListbookTo_p_wxObject(void *x
) {
36282 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36284 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
36285 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
36287 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
36288 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
36290 static void *_p_wxSliderTo_p_wxObject(void *x
) {
36291 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
36293 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
36294 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
36296 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
36297 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
36299 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
36300 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
36302 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
36303 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36305 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
36306 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
36308 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
36309 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
36311 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
36312 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
36314 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
36315 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
36317 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
36318 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
36320 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
36321 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
36323 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
36324 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
36326 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
36327 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
36329 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
36330 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
36332 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
36333 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
36335 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
36336 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
36338 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
36339 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
36341 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
36342 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
36344 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
36345 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
36347 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
36348 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
36350 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
36351 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
36353 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
36354 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
36356 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
36357 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
36359 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
36360 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
36362 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
36363 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
36365 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
36366 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
36368 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
36369 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
36371 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
36372 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
36374 static void *_p_wxListEventTo_p_wxObject(void *x
) {
36375 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
36377 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
36378 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36380 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
36381 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36383 static void *_p_wxButtonTo_p_wxObject(void *x
) {
36384 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
36386 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
36387 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36389 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
36390 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
36392 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
36393 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36395 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
36396 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
36398 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
36399 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
36401 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
36402 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
36404 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
36405 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
36407 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
36408 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
36410 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
36411 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
36413 static void *_p_wxListItemTo_p_wxObject(void *x
) {
36414 return (void *)((wxObject
*) ((wxListItem
*) x
));
36416 static void *_p_wxImageTo_p_wxObject(void *x
) {
36417 return (void *)((wxObject
*) ((wxImage
*) x
));
36419 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
36420 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
36422 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
36423 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36425 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
36426 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
36428 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
36429 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
36431 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
36432 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36434 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
36435 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36437 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
36438 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36440 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
36441 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36443 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
36444 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
36446 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
36447 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
36449 static void *_p_wxWindowTo_p_wxObject(void *x
) {
36450 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
36452 static void *_p_wxMenuTo_p_wxObject(void *x
) {
36453 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
36455 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
36456 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
36458 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
36459 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
36461 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
36462 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36464 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
36465 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
36467 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
36468 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
36470 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
36471 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
36473 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
36474 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
36476 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
36477 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
36479 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
36480 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36482 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
36483 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36485 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
36486 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36488 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
36489 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
36491 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
36492 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
36494 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
36495 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
36497 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
36498 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
36500 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
36501 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36503 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
36504 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
36506 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
36507 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
36509 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
36510 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
36512 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
36513 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36515 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
36516 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
36518 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
36519 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
36521 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
36522 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
36524 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
36525 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
36527 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
36528 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36530 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
36531 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
36533 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
36534 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
36536 static void *_p_wxControlTo_p_wxWindow(void *x
) {
36537 return (void *)((wxWindow
*) ((wxControl
*) x
));
36539 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
36540 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
36542 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
36543 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36545 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
36546 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
36548 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
36549 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
36551 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
36552 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
36554 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
36555 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
36557 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
36558 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
36560 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
36561 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
36563 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
36564 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
36566 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
36567 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
36569 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
36570 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36572 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
36573 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36575 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
36576 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
36578 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
36579 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
36581 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
36582 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
36584 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
36585 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36587 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
36588 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36590 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
36591 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36593 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
36594 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36596 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
36597 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36599 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
36600 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
36602 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
36603 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
36605 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
36606 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
36608 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
36609 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
36611 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
36612 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
36614 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
36615 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
36617 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
36618 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
36620 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
36621 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36623 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
36624 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36626 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
36627 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
36629 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
36630 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
36632 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36633 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36635 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36636 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36638 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36639 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36641 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
36642 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36644 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
36645 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
36647 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
36648 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
36650 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
36651 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36653 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
36654 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36656 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
36657 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36659 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
36660 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36662 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
36663 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36665 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
36666 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36668 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
36669 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
36671 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
36672 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36674 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
36675 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
36677 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
36678 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36680 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
36681 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36683 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
36684 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36686 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
36687 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
36689 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
36690 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36692 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
36693 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36695 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
36696 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36698 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
36699 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
36701 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
36702 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
36704 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
36705 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
36707 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
36708 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
36710 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}};
36711 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}};
36712 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}};
36713 static swig_type_info _swigt__p_wxEvent
[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36714 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}};
36715 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}};
36716 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}};
36717 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}};
36718 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}};
36719 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}};
36720 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}};
36721 static swig_type_info _swigt__p_wxControl
[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36722 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}};
36723 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}};
36724 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}};
36725 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}};
36726 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}};
36727 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}};
36728 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}};
36729 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}};
36730 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}};
36731 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}};
36732 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}};
36733 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}};
36734 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}};
36735 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}};
36736 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}};
36737 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}};
36738 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}};
36739 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}};
36740 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}};
36741 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}};
36742 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}};
36743 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}};
36744 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}};
36745 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}};
36746 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}};
36747 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}};
36748 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}};
36749 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}};
36750 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}};
36751 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}};
36752 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}};
36753 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}};
36754 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}};
36755 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36756 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}};
36757 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}};
36758 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}};
36759 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}};
36760 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}};
36761 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}};
36762 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}};
36763 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}};
36764 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}};
36765 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}};
36766 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}};
36767 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}};
36768 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}};
36769 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}};
36770 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}};
36771 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}};
36772 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}};
36773 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}};
36774 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}};
36775 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}};
36776 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}};
36777 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}};
36778 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}};
36779 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}};
36780 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}};
36781 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}};
36782 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}};
36783 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_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_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_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_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_wxDateEvent", _p_wxDateEventTo_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_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyImageHandler", _p_wxPyImageHandlerTo_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_wxEvtHandler", _p_wxEvtHandlerTo_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_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGenericDragImage", _p_wxGenericDragImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToolBarToolBase", _p_wxToolBarToolBaseTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_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}};
36784 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}};
36785 static swig_type_info _swigt__p_wxDateTime
[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0, 0, 0, 0},{"_p_wxDateTime", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36786 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}};
36787 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}};
36788 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36789 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}};
36790 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}};
36791 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}};
36792 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}};
36793 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}};
36794 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}};
36795 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}};
36796 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}};
36797 static swig_type_info _swigt__p_wxCommandEvent
[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36798 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}};
36799 static swig_type_info _swigt__p_wxDatePickerCtrl
[] = {{"_p_wxDatePickerCtrl", 0, "wxDatePickerCtrl *", 0, 0, 0, 0},{"_p_wxDatePickerCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36800 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}};
36801 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}};
36802 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}};
36803 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}};
36804 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}};
36806 static swig_type_info
*swig_types_initial
[] = {
36807 _swigt__p_wxTextUrlEvent
,
36808 _swigt__p_wxCheckBox
,
36809 _swigt__p_wxPyTreeCtrl
,
36811 _swigt__p_wxGenericDirCtrl
,
36813 _swigt__p_wxItemContainer
,
36814 _swigt__p_wxPyListCtrl
,
36815 _swigt__p_wxPyTreeItemData
,
36816 _swigt__p_wxDirFilterListCtrl
,
36817 _swigt__p_wxStaticLine
,
36818 _swigt__p_wxControl
,
36819 _swigt__p_wxPyControl
,
36821 _swigt__p_wxToolBarBase
,
36823 _swigt__p_wxToggleButton
,
36824 _swigt__p_wxRadioButton
,
36825 _swigt__p_wxChoice
,
36826 _swigt__p_wxMemoryDC
,
36828 _swigt__std__ptrdiff_t
,
36829 _swigt__p_wxListItemAttr
,
36834 _swigt__p_wxListView
,
36836 _swigt__p_wxVisualAttributes
,
36837 _swigt__p_wxTextCtrl
,
36838 _swigt__p_wxNotebook
,
36839 _swigt__p_wxChoicebook
,
36840 _swigt__p_wxNotifyEvent
,
36841 _swigt__p_wxArrayString
,
36842 _swigt__p_form_ops_t
,
36843 _swigt__p_wxListbook
,
36844 _swigt__p_wxStaticBitmap
,
36845 _swigt__p_wxSlider
,
36846 _swigt__p_wxStaticBox
,
36847 _swigt__p_wxArrayInt
,
36848 _swigt__p_wxContextHelp
,
36850 _swigt__p_wxDuplexMode
,
36851 _swigt__p_wxBookCtrlBase
,
36852 _swigt__p_wxEvtHandler
,
36853 _swigt__p_wxListEvent
,
36854 _swigt__p_wxCheckListBox
,
36855 _swigt__p_wxListBox
,
36856 _swigt__p_wxSpinButton
,
36857 _swigt__p_wxButton
,
36858 _swigt__p_wxBitmapButton
,
36860 _swigt__p_wxContextHelpButton
,
36861 _swigt__p_wxRadioBox
,
36862 _swigt__p_wxScrollBar
,
36864 _swigt__p_wxComboBox
,
36865 _swigt__p_wxTreeItemId
,
36866 _swigt__p_wxHelpEvent
,
36867 _swigt__p_wxListItem
,
36868 _swigt__p_wxSpinEvent
,
36869 _swigt__p_wxGenericDragImage
,
36870 _swigt__p_wxSpinCtrl
,
36871 _swigt__p_wxPaperSize
,
36872 _swigt__p_wxImageList
,
36873 _swigt__p_wxHelpProvider
,
36874 _swigt__p_wxTextAttr
,
36875 _swigt__p_wxSimpleHelpProvider
,
36876 _swigt__p_wxChoicebookEvent
,
36877 _swigt__p_wxListbookEvent
,
36878 _swigt__p_wxNotebookEvent
,
36880 _swigt__p_wxObject
,
36881 _swigt__p_wxCursor
,
36882 _swigt__p_wxDateTime
,
36883 _swigt__p_wxKeyEvent
,
36884 _swigt__p_unsigned_long
,
36885 _swigt__p_wxWindow
,
36886 _swigt__p_wxString
,
36887 _swigt__p_wxBitmap
,
36888 _swigt__unsigned_int
,
36889 _swigt__p_unsigned_int
,
36890 _swigt__p_unsigned_char
,
36891 _swigt__p_wxMouseEvent
,
36892 _swigt__p_wxBookCtrlBaseEvent
,
36893 _swigt__p_wxTreeEvent
,
36894 _swigt__p_wxCommandEvent
,
36895 _swigt__p_wxStaticText
,
36896 _swigt__p_wxDatePickerCtrl
,
36897 _swigt__p_wxControlWithItems
,
36898 _swigt__p_wxToolBarToolBase
,
36899 _swigt__p_wxColour
,
36900 _swigt__p_wxToolBar
,
36901 _swigt__p_wxValidator
,
36906 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
36908 static swig_const_info swig_const_table
[] = {
36909 {0, 0, 0, 0.0, 0, 0}};
36920 /* Python-specific SWIG API */
36921 #define SWIG_newvarlink() SWIG_Python_newvarlink()
36922 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
36923 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
36925 /* -----------------------------------------------------------------------------
36926 * global variable support code.
36927 * ----------------------------------------------------------------------------- */
36929 typedef struct swig_globalvar
{
36930 char *name
; /* Name of global variable */
36931 PyObject
*(*get_attr
)(); /* Return the current value */
36932 int (*set_attr
)(PyObject
*); /* Set the value */
36933 struct swig_globalvar
*next
;
36936 typedef struct swig_varlinkobject
{
36938 swig_globalvar
*vars
;
36939 } swig_varlinkobject
;
36942 swig_varlink_repr(swig_varlinkobject
*v
) {
36944 return PyString_FromString("<Swig global variables>");
36948 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
36949 swig_globalvar
*var
;
36951 fprintf(fp
,"Swig global variables { ");
36952 for (var
= v
->vars
; var
; var
=var
->next
) {
36953 fprintf(fp
,"%s", var
->name
);
36954 if (var
->next
) fprintf(fp
,", ");
36956 fprintf(fp
," }\n");
36961 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
36962 swig_globalvar
*var
= v
->vars
;
36964 if (strcmp(var
->name
,n
) == 0) {
36965 return (*var
->get_attr
)();
36969 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
36974 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
36975 swig_globalvar
*var
= v
->vars
;
36977 if (strcmp(var
->name
,n
) == 0) {
36978 return (*var
->set_attr
)(p
);
36982 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
36986 static PyTypeObject varlinktype
= {
36987 PyObject_HEAD_INIT(0)
36988 0, /* Number of items in variable part (ob_size) */
36989 (char *)"swigvarlink", /* Type name (tp_name) */
36990 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
36991 0, /* Itemsize (tp_itemsize) */
36992 0, /* Deallocator (tp_dealloc) */
36993 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
36994 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
36995 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
36996 0, /* tp_compare */
36997 (reprfunc
) swig_varlink_repr
, /* tp_repr */
36998 0, /* tp_as_number */
36999 0, /* tp_as_sequence */
37000 0, /* tp_as_mapping */
37004 0, /* tp_getattro */
37005 0, /* tp_setattro */
37006 0, /* tp_as_buffer */
37009 #if PY_VERSION_HEX >= 0x02000000
37010 0, /* tp_traverse */
37013 #if PY_VERSION_HEX >= 0x02010000
37014 0, /* tp_richcompare */
37015 0, /* tp_weaklistoffset */
37017 #if PY_VERSION_HEX >= 0x02020000
37018 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
37020 #if PY_VERSION_HEX >= 0x02030000
37023 #ifdef COUNT_ALLOCS
37024 0,0,0,0 /* tp_alloc -> tp_next */
37028 /* Create a variable linking object for use later */
37030 SWIG_Python_newvarlink(void) {
37031 swig_varlinkobject
*result
= 0;
37032 result
= PyMem_NEW(swig_varlinkobject
,1);
37033 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
37034 result
->ob_type
= &varlinktype
;
37036 result
->ob_refcnt
= 0;
37037 Py_XINCREF((PyObject
*) result
);
37038 return ((PyObject
*) result
);
37042 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
37043 swig_varlinkobject
*v
;
37044 swig_globalvar
*gv
;
37045 v
= (swig_varlinkobject
*) p
;
37046 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
37047 gv
->name
= (char *) malloc(strlen(name
)+1);
37048 strcpy(gv
->name
,name
);
37049 gv
->get_attr
= get_attr
;
37050 gv
->set_attr
= set_attr
;
37051 gv
->next
= v
->vars
;
37055 /* -----------------------------------------------------------------------------
37056 * constants/methods manipulation
37057 * ----------------------------------------------------------------------------- */
37059 /* Install Constants */
37061 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
37064 for (i
= 0; constants
[i
].type
; i
++) {
37065 switch(constants
[i
].type
) {
37067 obj
= PyInt_FromLong(constants
[i
].lvalue
);
37069 case SWIG_PY_FLOAT
:
37070 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
37072 case SWIG_PY_STRING
:
37073 if (constants
[i
].pvalue
) {
37074 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
37076 Py_INCREF(Py_None
);
37080 case SWIG_PY_POINTER
:
37081 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
37083 case SWIG_PY_BINARY
:
37084 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
37091 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
37097 /* -----------------------------------------------------------------------------*/
37098 /* Fix SwigMethods to carry the callback ptrs when needed */
37099 /* -----------------------------------------------------------------------------*/
37102 SWIG_Python_FixMethods(PyMethodDef
*methods
,
37103 swig_const_info
*const_table
,
37104 swig_type_info
**types
,
37105 swig_type_info
**types_initial
) {
37107 for (i
= 0; methods
[i
].ml_name
; ++i
) {
37108 char *c
= methods
[i
].ml_doc
;
37109 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
37111 swig_const_info
*ci
= 0;
37112 char *name
= c
+ 10;
37113 for (j
= 0; const_table
[j
].type
; j
++) {
37114 if (strncmp(const_table
[j
].name
, name
,
37115 strlen(const_table
[j
].name
)) == 0) {
37116 ci
= &(const_table
[j
]);
37121 size_t shift
= (ci
->ptype
) - types
;
37122 swig_type_info
*ty
= types_initial
[shift
];
37123 size_t ldoc
= (c
- methods
[i
].ml_doc
);
37124 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
37125 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
37127 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
37128 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
37130 strncpy(buff
, "swig_ptr: ", 10);
37132 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
37133 methods
[i
].ml_doc
= ndoc
;
37139 /* -----------------------------------------------------------------------------*
37140 * Initialize type list
37141 * -----------------------------------------------------------------------------*/
37143 #if PY_MAJOR_VERSION < 2
37144 /* PyModule_AddObject function was introduced in Python 2.0. The following function
37145 is copied out of Python/modsupport.c in python version 2.3.4 */
37147 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
37150 if (!PyModule_Check(m
)) {
37151 PyErr_SetString(PyExc_TypeError
,
37152 "PyModule_AddObject() needs module as first arg");
37156 PyErr_SetString(PyExc_TypeError
,
37157 "PyModule_AddObject() needs non-NULL value");
37161 dict
= PyModule_GetDict(m
);
37162 if (dict
== NULL
) {
37163 /* Internal error -- modules must have a dict! */
37164 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
37165 PyModule_GetName(m
));
37168 if (PyDict_SetItemString(dict
, name
, o
))
37175 static swig_type_info
**
37176 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
37177 static PyMethodDef swig_empty_runtime_method_table
[] = {
37179 NULL
, NULL
, 0, NULL
37183 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
37184 swig_empty_runtime_method_table
);
37185 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
37186 if (pointer
&& module) {
37187 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
37189 return type_list_handle
;
37192 static swig_type_info
**
37193 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
37194 swig_type_info
**type_pointer
;
37196 /* first check if module already created */
37197 type_pointer
= SWIG_Python_GetTypeListHandle();
37198 if (type_pointer
) {
37199 return type_pointer
;
37201 /* create a new module and variable */
37202 return SWIG_Python_SetTypeListHandle(type_list_handle
);
37210 /* -----------------------------------------------------------------------------*
37211 * Partial Init method
37212 * -----------------------------------------------------------------------------*/
37214 #ifdef SWIG_LINK_RUNTIME
37218 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
37224 SWIGEXPORT(void) SWIG_init(void) {
37225 static PyObject
*SWIG_globals
= 0;
37226 static int typeinit
= 0;
37229 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
37231 /* Fix SwigMethods to carry the callback ptrs when needed */
37232 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
37234 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
37235 d
= PyModule_GetDict(m
);
37238 #ifdef SWIG_LINK_RUNTIME
37239 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
37241 # ifndef SWIG_STATIC_RUNTIME
37242 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
37245 for (i
= 0; swig_types_initial
[i
]; i
++) {
37246 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
37250 SWIG_InstallConstants(d
,swig_const_table
);
37252 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
37253 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
37255 PyDict_SetItemString(d
,"BU_LEFT", SWIG_From_int((int)(wxBU_LEFT
)));
37258 PyDict_SetItemString(d
,"BU_TOP", SWIG_From_int((int)(wxBU_TOP
)));
37261 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_From_int((int)(wxBU_RIGHT
)));
37264 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_From_int((int)(wxBU_BOTTOM
)));
37267 PyDict_SetItemString(d
,"BU_ALIGN_MASK", SWIG_From_int((int)(wxBU_ALIGN_MASK
)));
37270 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_From_int((int)(wxBU_EXACTFIT
)));
37273 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_From_int((int)(wxBU_AUTODRAW
)));
37275 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
37277 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_From_int((int)(wxCHK_2STATE
)));
37280 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_From_int((int)(wxCHK_3STATE
)));
37283 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int((int)(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
37286 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_From_int((int)(wxCHK_UNCHECKED
)));
37289 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_From_int((int)(wxCHK_CHECKED
)));
37292 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_From_int((int)(wxCHK_UNDETERMINED
)));
37294 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
37295 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
37296 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
37298 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_From_int((int)(wxGA_HORIZONTAL
)));
37301 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_From_int((int)(wxGA_VERTICAL
)));
37304 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_From_int((int)(wxGA_SMOOTH
)));
37307 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_From_int((int)(wxGA_PROGRESSBAR
)));
37309 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
37310 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
37311 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
37312 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
37313 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
37315 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_From_int((int)(wxTE_NO_VSCROLL
)));
37318 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_From_int((int)(wxTE_AUTO_SCROLL
)));
37321 PyDict_SetItemString(d
,"TE_READONLY", SWIG_From_int((int)(wxTE_READONLY
)));
37324 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_From_int((int)(wxTE_MULTILINE
)));
37327 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_From_int((int)(wxTE_PROCESS_TAB
)));
37330 PyDict_SetItemString(d
,"TE_LEFT", SWIG_From_int((int)(wxTE_LEFT
)));
37333 PyDict_SetItemString(d
,"TE_CENTER", SWIG_From_int((int)(wxTE_CENTER
)));
37336 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_From_int((int)(wxTE_RIGHT
)));
37339 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_From_int((int)(wxTE_CENTRE
)));
37342 PyDict_SetItemString(d
,"TE_RICH", SWIG_From_int((int)(wxTE_RICH
)));
37345 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_From_int((int)(wxTE_PROCESS_ENTER
)));
37348 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_From_int((int)(wxTE_PASSWORD
)));
37351 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_From_int((int)(wxTE_AUTO_URL
)));
37354 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_From_int((int)(wxTE_NOHIDESEL
)));
37357 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_From_int((int)(wxTE_DONTWRAP
)));
37360 PyDict_SetItemString(d
,"TE_CHARWRAP", SWIG_From_int((int)(wxTE_CHARWRAP
)));
37363 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_From_int((int)(wxTE_WORDWRAP
)));
37366 PyDict_SetItemString(d
,"TE_BESTWRAP", SWIG_From_int((int)(wxTE_BESTWRAP
)));
37369 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_From_int((int)(wxTE_LINEWRAP
)));
37372 PyDict_SetItemString(d
,"TE_RICH2", SWIG_From_int((int)(wxTE_RICH2
)));
37375 PyDict_SetItemString(d
,"TE_CAPITALIZE", SWIG_From_int((int)(wxTE_CAPITALIZE
)));
37378 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_DEFAULT
)));
37381 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_LEFT
)));
37384 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTRE
)));
37387 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTER
)));
37390 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_RIGHT
)));
37393 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)(wxTEXT_ALIGNMENT_JUSTIFIED
)));
37396 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_TEXT_COLOUR
)));
37399 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
37402 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_FACE
)));
37405 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_SIZE
)));
37408 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)(wxTEXT_ATTR_FONT_WEIGHT
)));
37411 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)(wxTEXT_ATTR_FONT_ITALIC
)));
37414 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_UNDERLINE
)));
37417 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_From_int((int)(wxTEXT_ATTR_FONT
)));
37420 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)(wxTEXT_ATTR_ALIGNMENT
)));
37423 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_LEFT_INDENT
)));
37426 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_RIGHT_INDENT
)));
37429 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_From_int((int)(wxTEXT_ATTR_TABS
)));
37432 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_From_int((int)(wxTE_HT_UNKNOWN
)));
37435 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_From_int((int)(wxTE_HT_BEFORE
)));
37438 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_From_int((int)(wxTE_HT_ON_TEXT
)));
37441 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_From_int((int)(wxTE_HT_BELOW
)));
37444 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_From_int((int)(wxTE_HT_BEYOND
)));
37447 PyDict_SetItemString(d
,"OutOfRangeTextCoord", SWIG_From_int((int)(wxOutOfRangeTextCoord
)));
37450 PyDict_SetItemString(d
,"InvalidTextCoord", SWIG_From_int((int)(wxInvalidTextCoord
)));
37452 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
37453 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
37454 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
37455 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
37456 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
37457 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
37458 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
37460 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_From_int((int)(wxSP_HORIZONTAL
)));
37463 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_From_int((int)(wxSP_VERTICAL
)));
37466 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_From_int((int)(wxSP_ARROW_KEYS
)));
37469 PyDict_SetItemString(d
,"SP_WRAP", SWIG_From_int((int)(wxSP_WRAP
)));
37471 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
37472 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
37473 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
37474 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
37476 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_From_int((int)(wxSL_HORIZONTAL
)));
37479 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_From_int((int)(wxSL_VERTICAL
)));
37482 PyDict_SetItemString(d
,"SL_TICKS", SWIG_From_int((int)(wxSL_TICKS
)));
37485 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_From_int((int)(wxSL_AUTOTICKS
)));
37488 PyDict_SetItemString(d
,"SL_LABELS", SWIG_From_int((int)(wxSL_LABELS
)));
37491 PyDict_SetItemString(d
,"SL_LEFT", SWIG_From_int((int)(wxSL_LEFT
)));
37494 PyDict_SetItemString(d
,"SL_TOP", SWIG_From_int((int)(wxSL_TOP
)));
37497 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_From_int((int)(wxSL_RIGHT
)));
37500 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_From_int((int)(wxSL_BOTTOM
)));
37503 PyDict_SetItemString(d
,"SL_BOTH", SWIG_From_int((int)(wxSL_BOTH
)));
37506 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_From_int((int)(wxSL_SELRANGE
)));
37509 PyDict_SetItemString(d
,"SL_INVERSE", SWIG_From_int((int)(wxSL_INVERSE
)));
37511 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
37512 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
37513 SWIG_addvarlink(SWIG_globals
,(char*)"NotebookNameStr",_wrap_NotebookNameStr_get
, _wrap_NotebookNameStr_set
);
37515 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_From_int((int)(wxNB_FIXEDWIDTH
)));
37518 PyDict_SetItemString(d
,"NB_TOP", SWIG_From_int((int)(wxNB_TOP
)));
37521 PyDict_SetItemString(d
,"NB_LEFT", SWIG_From_int((int)(wxNB_LEFT
)));
37524 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_From_int((int)(wxNB_RIGHT
)));
37527 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_From_int((int)(wxNB_BOTTOM
)));
37530 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_From_int((int)(wxNB_MULTILINE
)));
37533 PyDict_SetItemString(d
,"NB_NOPAGETHEME", SWIG_From_int((int)(wxNB_NOPAGETHEME
)));
37536 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_From_int((int)(wxNB_HITTEST_NOWHERE
)));
37539 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_From_int((int)(wxNB_HITTEST_ONICON
)));
37542 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_From_int((int)(wxNB_HITTEST_ONLABEL
)));
37545 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_From_int((int)(wxNB_HITTEST_ONITEM
)));
37547 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
37548 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
37550 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_From_int((int)(wxLB_DEFAULT
)));
37553 PyDict_SetItemString(d
,"LB_TOP", SWIG_From_int((int)(wxLB_TOP
)));
37556 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_From_int((int)(wxLB_BOTTOM
)));
37559 PyDict_SetItemString(d
,"LB_LEFT", SWIG_From_int((int)(wxLB_LEFT
)));
37562 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_From_int((int)(wxLB_RIGHT
)));
37565 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_From_int((int)(wxLB_ALIGN_MASK
)));
37567 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
37568 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
37570 PyDict_SetItemString(d
,"CHB_DEFAULT", SWIG_From_int((int)(wxCHB_DEFAULT
)));
37573 PyDict_SetItemString(d
,"CHB_TOP", SWIG_From_int((int)(wxCHB_TOP
)));
37576 PyDict_SetItemString(d
,"CHB_BOTTOM", SWIG_From_int((int)(wxCHB_BOTTOM
)));
37579 PyDict_SetItemString(d
,"CHB_LEFT", SWIG_From_int((int)(wxCHB_LEFT
)));
37582 PyDict_SetItemString(d
,"CHB_RIGHT", SWIG_From_int((int)(wxCHB_RIGHT
)));
37585 PyDict_SetItemString(d
,"CHB_ALIGN_MASK", SWIG_From_int((int)(wxCHB_ALIGN_MASK
)));
37587 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
37588 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
37590 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_From_int((int)(wxTOOL_STYLE_BUTTON
)));
37593 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_From_int((int)(wxTOOL_STYLE_SEPARATOR
)));
37596 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_From_int((int)(wxTOOL_STYLE_CONTROL
)));
37599 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_From_int((int)(wxTB_HORIZONTAL
)));
37602 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_From_int((int)(wxTB_VERTICAL
)));
37605 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_From_int((int)(wxTB_3DBUTTONS
)));
37608 PyDict_SetItemString(d
,"TB_FLAT", SWIG_From_int((int)(wxTB_FLAT
)));
37611 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_From_int((int)(wxTB_DOCKABLE
)));
37614 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_From_int((int)(wxTB_NOICONS
)));
37617 PyDict_SetItemString(d
,"TB_TEXT", SWIG_From_int((int)(wxTB_TEXT
)));
37620 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_From_int((int)(wxTB_NODIVIDER
)));
37623 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_From_int((int)(wxTB_NOALIGN
)));
37626 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_From_int((int)(wxTB_HORZ_LAYOUT
)));
37629 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_From_int((int)(wxTB_HORZ_TEXT
)));
37631 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
37633 PyDict_SetItemString(d
,"LC_VRULES", SWIG_From_int((int)(wxLC_VRULES
)));
37636 PyDict_SetItemString(d
,"LC_HRULES", SWIG_From_int((int)(wxLC_HRULES
)));
37639 PyDict_SetItemString(d
,"LC_ICON", SWIG_From_int((int)(wxLC_ICON
)));
37642 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_From_int((int)(wxLC_SMALL_ICON
)));
37645 PyDict_SetItemString(d
,"LC_LIST", SWIG_From_int((int)(wxLC_LIST
)));
37648 PyDict_SetItemString(d
,"LC_REPORT", SWIG_From_int((int)(wxLC_REPORT
)));
37651 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_From_int((int)(wxLC_ALIGN_TOP
)));
37654 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_From_int((int)(wxLC_ALIGN_LEFT
)));
37657 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_From_int((int)(wxLC_AUTOARRANGE
)));
37660 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_From_int((int)(wxLC_VIRTUAL
)));
37663 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_From_int((int)(wxLC_EDIT_LABELS
)));
37666 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_From_int((int)(wxLC_NO_HEADER
)));
37669 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_From_int((int)(wxLC_NO_SORT_HEADER
)));
37672 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_From_int((int)(wxLC_SINGLE_SEL
)));
37675 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_From_int((int)(wxLC_SORT_ASCENDING
)));
37678 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_From_int((int)(wxLC_SORT_DESCENDING
)));
37681 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_From_int((int)(wxLC_MASK_TYPE
)));
37684 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_From_int((int)(wxLC_MASK_ALIGN
)));
37687 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_From_int((int)(wxLC_MASK_SORT
)));
37690 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_From_int((int)(wxLIST_MASK_STATE
)));
37693 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_From_int((int)(wxLIST_MASK_TEXT
)));
37696 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_From_int((int)(wxLIST_MASK_IMAGE
)));
37699 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_From_int((int)(wxLIST_MASK_DATA
)));
37702 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_From_int((int)(wxLIST_SET_ITEM
)));
37705 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_From_int((int)(wxLIST_MASK_WIDTH
)));
37708 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_From_int((int)(wxLIST_MASK_FORMAT
)));
37711 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_From_int((int)(wxLIST_STATE_DONTCARE
)));
37714 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_From_int((int)(wxLIST_STATE_DROPHILITED
)));
37717 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_From_int((int)(wxLIST_STATE_FOCUSED
)));
37720 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_From_int((int)(wxLIST_STATE_SELECTED
)));
37723 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_From_int((int)(wxLIST_STATE_CUT
)));
37726 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_From_int((int)(wxLIST_STATE_DISABLED
)));
37729 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_From_int((int)(wxLIST_STATE_FILTERED
)));
37732 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_From_int((int)(wxLIST_STATE_INUSE
)));
37735 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_From_int((int)(wxLIST_STATE_PICKED
)));
37738 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_From_int((int)(wxLIST_STATE_SOURCE
)));
37741 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_From_int((int)(wxLIST_HITTEST_ABOVE
)));
37744 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_From_int((int)(wxLIST_HITTEST_BELOW
)));
37747 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_From_int((int)(wxLIST_HITTEST_NOWHERE
)));
37750 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMICON
)));
37753 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMLABEL
)));
37756 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMRIGHT
)));
37759 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMSTATEICON
)));
37762 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_From_int((int)(wxLIST_HITTEST_TOLEFT
)));
37765 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_From_int((int)(wxLIST_HITTEST_TORIGHT
)));
37768 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_From_int((int)(wxLIST_HITTEST_ONITEM
)));
37771 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_From_int((int)(wxLIST_NEXT_ABOVE
)));
37774 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_From_int((int)(wxLIST_NEXT_ALL
)));
37777 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_From_int((int)(wxLIST_NEXT_BELOW
)));
37780 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_From_int((int)(wxLIST_NEXT_LEFT
)));
37783 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_From_int((int)(wxLIST_NEXT_RIGHT
)));
37786 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_From_int((int)(wxLIST_ALIGN_DEFAULT
)));
37789 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_From_int((int)(wxLIST_ALIGN_LEFT
)));
37792 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_From_int((int)(wxLIST_ALIGN_TOP
)));
37795 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int((int)(wxLIST_ALIGN_SNAP_TO_GRID
)));
37798 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_From_int((int)(wxLIST_FORMAT_LEFT
)));
37801 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_From_int((int)(wxLIST_FORMAT_RIGHT
)));
37804 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_From_int((int)(wxLIST_FORMAT_CENTRE
)));
37807 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_From_int((int)(wxLIST_FORMAT_CENTER
)));
37810 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_From_int((int)(wxLIST_AUTOSIZE
)));
37813 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int((int)(wxLIST_AUTOSIZE_USEHEADER
)));
37816 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_From_int((int)(wxLIST_RECT_BOUNDS
)));
37819 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_From_int((int)(wxLIST_RECT_ICON
)));
37822 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_From_int((int)(wxLIST_RECT_LABEL
)));
37825 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_From_int((int)(wxLIST_FIND_UP
)));
37828 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_From_int((int)(wxLIST_FIND_DOWN
)));
37831 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_From_int((int)(wxLIST_FIND_LEFT
)));
37834 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_From_int((int)(wxLIST_FIND_RIGHT
)));
37836 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
37837 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
37838 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
37839 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
37840 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
37841 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
37842 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
37843 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
37844 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
37845 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
37846 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
37847 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
37848 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
37849 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
37850 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
37851 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
37852 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
37853 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
37854 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
37855 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
37857 // Map renamed classes back to their common name for OOR
37858 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
37860 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
37862 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_From_int((int)(wxTR_NO_BUTTONS
)));
37865 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_From_int((int)(wxTR_HAS_BUTTONS
)));
37868 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_From_int((int)(wxTR_NO_LINES
)));
37871 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_From_int((int)(wxTR_LINES_AT_ROOT
)));
37874 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_From_int((int)(wxTR_SINGLE
)));
37877 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_From_int((int)(wxTR_MULTIPLE
)));
37880 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_From_int((int)(wxTR_EXTENDED
)));
37883 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int((int)(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
37886 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_From_int((int)(wxTR_EDIT_LABELS
)));
37889 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_From_int((int)(wxTR_HIDE_ROOT
)));
37892 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_From_int((int)(wxTR_ROW_LINES
)));
37895 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int((int)(wxTR_FULL_ROW_HIGHLIGHT
)));
37898 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_From_int((int)(wxTR_DEFAULT_STYLE
)));
37901 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_From_int((int)(wxTR_TWIST_BUTTONS
)));
37904 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_From_int((int)(wxTR_MAC_BUTTONS
)));
37907 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_From_int((int)(wxTR_AQUA_BUTTONS
)));
37910 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_From_int((int)(wxTreeItemIcon_Normal
)));
37913 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_From_int((int)(wxTreeItemIcon_Selected
)));
37916 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_From_int((int)(wxTreeItemIcon_Expanded
)));
37919 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)(wxTreeItemIcon_SelectedExpanded
)));
37922 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_From_int((int)(wxTreeItemIcon_Max
)));
37925 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_From_int((int)(wxTREE_HITTEST_ABOVE
)));
37928 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_From_int((int)(wxTREE_HITTEST_BELOW
)));
37931 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_From_int((int)(wxTREE_HITTEST_NOWHERE
)));
37934 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMBUTTON
)));
37937 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMICON
)));
37940 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMINDENT
)));
37943 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLABEL
)));
37946 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMRIGHT
)));
37949 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMSTATEICON
)));
37952 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_From_int((int)(wxTREE_HITTEST_TOLEFT
)));
37955 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_From_int((int)(wxTREE_HITTEST_TORIGHT
)));
37958 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMUPPERPART
)));
37961 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLOWERPART
)));
37964 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_From_int((int)(wxTREE_HITTEST_ONITEM
)));
37966 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
37967 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
37968 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
37969 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
37970 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
37971 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
37972 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
37973 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
37974 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
37975 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
37976 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
37977 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
37978 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
37979 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
37980 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
37981 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
37982 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
37983 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
37984 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
37985 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
37986 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
37988 // Map renamed classes back to their common name for OOR
37989 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
37990 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
37992 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
37994 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_From_int((int)(wxDIRCTRL_DIR_ONLY
)));
37997 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_From_int((int)(wxDIRCTRL_SELECT_FIRST
)));
38000 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_From_int((int)(wxDIRCTRL_SHOW_FILTERS
)));
38003 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_From_int((int)(wxDIRCTRL_3D_INTERNAL
)));
38006 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_From_int((int)(wxDIRCTRL_EDIT_LABELS
)));
38009 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_From_int((int)(wxFRAME_EX_CONTEXTHELP
)));
38012 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_From_int((int)(wxDIALOG_EX_CONTEXTHELP
)));
38014 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
38015 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
38017 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
38019 SWIG_addvarlink(SWIG_globals
,(char*)"DatePickerCtrlNameStr",_wrap_DatePickerCtrlNameStr_get
, _wrap_DatePickerCtrlNameStr_set
);
38021 PyDict_SetItemString(d
,"DP_DEFAULT", SWIG_From_int((int)(wxDP_DEFAULT
)));
38024 PyDict_SetItemString(d
,"DP_SPIN", SWIG_From_int((int)(wxDP_SPIN
)));
38027 PyDict_SetItemString(d
,"DP_DROPDOWN", SWIG_From_int((int)(wxDP_DROPDOWN
)));
38030 PyDict_SetItemString(d
,"DP_SHOWCENTURY", SWIG_From_int((int)(wxDP_SHOWCENTURY
)));
38033 PyDict_SetItemString(d
,"DP_ALLOWNONE", SWIG_From_int((int)(wxDP_ALLOWNONE
)));