1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1045 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1047 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1051 SWIGRUNTIMEINLINE
void
1052 SWIG_Python_NullRef(const char *type
)
1055 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1057 PyErr_Format(PyExc_TypeError
, "null reference was received");
1062 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1064 if (PyErr_Occurred()) {
1066 PyObject
*value
= 0;
1067 PyObject
*traceback
= 0;
1068 PyErr_Fetch(&type
, &value
, &traceback
);
1070 PyObject
*old_str
= PyObject_Str(value
);
1074 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1076 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1087 SWIG_Python_ArgFail(int argnum
)
1089 if (PyErr_Occurred()) {
1090 /* add information about failing argument */
1092 sprintf(mesg
, "argument number %d:", argnum
);
1093 return SWIG_Python_AddErrMesg(mesg
, 1);
1100 /* -----------------------------------------------------------------------------
1101 * pointers/data manipulation
1102 * ----------------------------------------------------------------------------- */
1104 /* Convert a pointer value */
1106 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1109 static PyObject
*SWIG_this
= 0;
1111 PyObject
*pyobj
= 0;
1115 if (obj
== Py_None
) {
1120 #ifdef SWIG_COBJECT_TYPES
1121 if (!(PySwigObject_Check(obj
))) {
1123 SWIG_this
= PyString_FromString("this");
1125 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1127 if (!obj
) goto type_error
;
1128 if (!PySwigObject_Check(obj
)) {
1133 vptr
= PySwigObject_AsVoidPtr(obj
);
1134 c
= (const char *) PySwigObject_GetDesc(obj
);
1135 if (newref
) { Py_DECREF(obj
); }
1138 if (!(PyString_Check(obj
))) {
1140 SWIG_this
= PyString_FromString("this");
1142 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1144 if (!obj
) goto type_error
;
1145 if (!PyString_Check(obj
)) {
1150 c
= PyString_AS_STRING(obj
);
1151 /* Pointer values must start with leading underscore */
1152 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1153 if (newref
) { Py_DECREF(obj
); }
1154 if (!c
) goto type_error
;
1160 tc
= SWIG_TypeCheck(c
,ty
);
1161 if (!tc
) goto type_error
;
1162 *ptr
= SWIG_TypeCast(tc
,vptr
);
1167 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1168 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1174 if (pyobj
&& !obj
) {
1176 if (PyCFunction_Check(obj
)) {
1177 /* here we get the method pointer for callbacks */
1178 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1179 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1181 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1182 if (!c
) goto type_error
;
1187 if (flags
& SWIG_POINTER_EXCEPTION
) {
1189 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1191 SWIG_Python_TypeError("C/C++ pointer", obj
);
1197 /* Convert a pointer value, signal an exception on a type mismatch */
1199 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1201 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1203 if (flags
& SWIG_POINTER_EXCEPTION
) {
1204 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1205 SWIG_Python_ArgFail(argnum
);
1211 /* Convert a packed value value */
1213 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1217 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1218 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1220 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1221 c
= PyString_AS_STRING(obj
);
1222 /* Pointer values must start with leading underscore */
1223 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1225 if (!c
) goto type_error
;
1227 tc
= SWIG_TypeCheck(c
,ty
);
1228 if (!tc
) goto type_error
;
1234 if (flags
& SWIG_POINTER_EXCEPTION
) {
1236 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1238 SWIG_Python_TypeError("C/C++ packed data", obj
);
1244 /* Create a new array object */
1245 SWIGRUNTIME PyObject
*
1246 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1252 #ifdef SWIG_COBJECT_TYPES
1253 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1256 char result
[SWIG_BUFFER_SIZE
];
1257 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1258 PyString_FromString(result
) : 0;
1261 if (!robj
|| (robj
== Py_None
)) return robj
;
1262 if (type
->clientdata
) {
1264 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1266 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1270 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1278 SWIGRUNTIME PyObject
*
1279 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1285 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1286 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1289 char result
[SWIG_BUFFER_SIZE
];
1290 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1291 PyString_FromString(result
) : 0;
1297 /* -----------------------------------------------------------------------------*
1299 * -----------------------------------------------------------------------------*/
1301 #ifdef SWIG_LINK_RUNTIME
1302 void *SWIG_ReturnGlobalTypeList(void *);
1305 SWIGRUNTIME swig_type_info
**
1306 SWIG_Python_GetTypeListHandle() {
1307 static void *type_pointer
= (void *)0;
1308 /* first check if module already created */
1309 if (!type_pointer
) {
1310 #ifdef SWIG_LINK_RUNTIME
1311 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1313 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1314 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1315 if (PyErr_Occurred()) {
1317 type_pointer
= (void *)0;
1321 return (swig_type_info
**) type_pointer
;
1325 Search for a swig_type_info structure
1327 SWIGRUNTIMEINLINE swig_type_info
*
1328 SWIG_Python_GetTypeList() {
1329 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1330 return tlh
? *tlh
: (swig_type_info
*)0;
1333 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1340 /* -------- TYPES TABLE (BEGIN) -------- */
1342 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
1343 #define SWIGTYPE_p_wxSizer swig_types[1]
1344 #define SWIGTYPE_p_wxCheckBox swig_types[2]
1345 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[3]
1346 #define SWIGTYPE_p_wxEvent swig_types[4]
1347 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[5]
1348 #define SWIGTYPE_p_bool swig_types[6]
1349 #define SWIGTYPE_p_wxItemContainer swig_types[7]
1350 #define SWIGTYPE_p_wxPyListCtrl swig_types[8]
1351 #define SWIGTYPE_p_wxPyTreeItemData swig_types[9]
1352 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[10]
1353 #define SWIGTYPE_p_wxStaticLine swig_types[11]
1354 #define SWIGTYPE_p_wxControl swig_types[12]
1355 #define SWIGTYPE_p_wxPyControl swig_types[13]
1356 #define SWIGTYPE_p_wxGauge swig_types[14]
1357 #define SWIGTYPE_p_wxToolBarBase swig_types[15]
1358 #define SWIGTYPE_p_wxFont swig_types[16]
1359 #define SWIGTYPE_p_wxToggleButton swig_types[17]
1360 #define SWIGTYPE_p_wxRadioButton swig_types[18]
1361 #define SWIGTYPE_p_wxChoice swig_types[19]
1362 #define SWIGTYPE_p_wxMemoryDC swig_types[20]
1363 #define SWIGTYPE_ptrdiff_t swig_types[21]
1364 #define SWIGTYPE_std__ptrdiff_t swig_types[22]
1365 #define SWIGTYPE_p_wxListItemAttr swig_types[23]
1366 #define SWIGTYPE_p_void swig_types[24]
1367 #define SWIGTYPE_p_int swig_types[25]
1368 #define SWIGTYPE_p_wxSize swig_types[26]
1369 #define SWIGTYPE_p_wxDC swig_types[27]
1370 #define SWIGTYPE_p_wxListView swig_types[28]
1371 #define SWIGTYPE_p_wxIcon swig_types[29]
1372 #define SWIGTYPE_p_wxVisualAttributes swig_types[30]
1373 #define SWIGTYPE_p_wxTextCtrl swig_types[31]
1374 #define SWIGTYPE_p_wxNotebook swig_types[32]
1375 #define SWIGTYPE_p_wxChoicebook swig_types[33]
1376 #define SWIGTYPE_p_wxNotifyEvent swig_types[34]
1377 #define SWIGTYPE_p_wxArrayString swig_types[35]
1378 #define SWIGTYPE_p_form_ops_t swig_types[36]
1379 #define SWIGTYPE_p_wxListbook swig_types[37]
1380 #define SWIGTYPE_p_wxStaticBitmap swig_types[38]
1381 #define SWIGTYPE_p_wxSlider swig_types[39]
1382 #define SWIGTYPE_p_wxStaticBox swig_types[40]
1383 #define SWIGTYPE_p_wxArrayInt swig_types[41]
1384 #define SWIGTYPE_p_wxContextHelp swig_types[42]
1385 #define SWIGTYPE_p_long swig_types[43]
1386 #define SWIGTYPE_p_wxDuplexMode swig_types[44]
1387 #define SWIGTYPE_p_wxBookCtrlBase swig_types[45]
1388 #define SWIGTYPE_p_wxEvtHandler swig_types[46]
1389 #define SWIGTYPE_p_wxListEvent swig_types[47]
1390 #define SWIGTYPE_p_wxCheckListBox swig_types[48]
1391 #define SWIGTYPE_p_wxListBox swig_types[49]
1392 #define SWIGTYPE_p_wxSpinButton swig_types[50]
1393 #define SWIGTYPE_p_wxButton swig_types[51]
1394 #define SWIGTYPE_p_wxBitmapButton swig_types[52]
1395 #define SWIGTYPE_p_wxRect swig_types[53]
1396 #define SWIGTYPE_p_wxContextHelpButton swig_types[54]
1397 #define SWIGTYPE_p_wxRadioBox swig_types[55]
1398 #define SWIGTYPE_p_wxScrollBar swig_types[56]
1399 #define SWIGTYPE_p_char swig_types[57]
1400 #define SWIGTYPE_p_wxComboBox swig_types[58]
1401 #define SWIGTYPE_p_wxTreeItemId swig_types[59]
1402 #define SWIGTYPE_p_wxHelpEvent swig_types[60]
1403 #define SWIGTYPE_p_wxListItem swig_types[61]
1404 #define SWIGTYPE_p_wxNotebookSizer swig_types[62]
1405 #define SWIGTYPE_p_wxSpinEvent swig_types[63]
1406 #define SWIGTYPE_p_wxGenericDragImage swig_types[64]
1407 #define SWIGTYPE_p_wxSpinCtrl swig_types[65]
1408 #define SWIGTYPE_p_wxPaperSize swig_types[66]
1409 #define SWIGTYPE_p_wxImageList swig_types[67]
1410 #define SWIGTYPE_p_wxHelpProvider swig_types[68]
1411 #define SWIGTYPE_p_wxTextAttr swig_types[69]
1412 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[70]
1413 #define SWIGTYPE_p_wxChoicebookEvent swig_types[71]
1414 #define SWIGTYPE_p_wxListbookEvent swig_types[72]
1415 #define SWIGTYPE_p_wxNotebookEvent swig_types[73]
1416 #define SWIGTYPE_p_wxPoint swig_types[74]
1417 #define SWIGTYPE_p_wxObject swig_types[75]
1418 #define SWIGTYPE_p_wxCursor swig_types[76]
1419 #define SWIGTYPE_p_wxDateTime swig_types[77]
1420 #define SWIGTYPE_p_wxKeyEvent swig_types[78]
1421 #define SWIGTYPE_p_unsigned_long swig_types[79]
1422 #define SWIGTYPE_p_wxWindow swig_types[80]
1423 #define SWIGTYPE_p_wxString swig_types[81]
1424 #define SWIGTYPE_p_wxBitmap swig_types[82]
1425 #define SWIGTYPE_unsigned_int swig_types[83]
1426 #define SWIGTYPE_p_unsigned_int swig_types[84]
1427 #define SWIGTYPE_p_unsigned_char swig_types[85]
1428 #define SWIGTYPE_p_wxMouseEvent swig_types[86]
1429 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[87]
1430 #define SWIGTYPE_p_wxTreeEvent swig_types[88]
1431 #define SWIGTYPE_p_wxCommandEvent swig_types[89]
1432 #define SWIGTYPE_p_wxStaticText swig_types[90]
1433 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[91]
1434 #define SWIGTYPE_p_wxControlWithItems swig_types[92]
1435 #define SWIGTYPE_p_wxToolBarToolBase swig_types[93]
1436 #define SWIGTYPE_p_wxColour swig_types[94]
1437 #define SWIGTYPE_p_wxToolBar swig_types[95]
1438 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[96]
1439 #define SWIGTYPE_p_wxValidator swig_types[97]
1440 static swig_type_info
*swig_types
[99];
1442 /* -------- TYPES TABLE (END) -------- */
1445 /*-----------------------------------------------
1446 @(target):= _controls_.so
1447 ------------------------------------------------*/
1448 #define SWIG_init init_controls_
1450 #define SWIG_name "_controls_"
1452 #include "wx/wxPython/wxPython.h"
1453 #include "wx/wxPython/pyclasses.h"
1455 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1456 static const wxString
wxPyEmptyString(wxEmptyString
);
1457 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1459 const wxArrayString wxPyEmptyStringArray
;
1461 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
1463 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1464 #define SWIG_From_int PyInt_FromLong
1472 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1475 if (value
< min_value
) {
1477 PyErr_Format(PyExc_OverflowError
,
1478 "value %ld is less than '%s' minimum %ld",
1479 value
, errmsg
, min_value
);
1482 } else if (value
> max_value
) {
1484 PyErr_Format(PyExc_OverflowError
,
1485 "value %ld is greater than '%s' maximum %ld",
1486 value
, errmsg
, max_value
);
1495 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1497 if (PyNumber_Check(obj
)) {
1498 if (val
) *val
= PyInt_AsLong(obj
);
1502 SWIG_type_error("number", obj
);
1508 #if INT_MAX != LONG_MAX
1510 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1512 const char* errmsg
= val
? "int" : (char*)0;
1514 if (SWIG_AsVal_long(obj
, &v
)) {
1515 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1516 if (val
) *val
= (int)(v
);
1525 SWIG_type_error(errmsg
, obj
);
1531 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1533 return SWIG_AsVal_long(obj
,(long*)val
);
1539 SWIG_As_int(PyObject
* obj
)
1542 if (!SWIG_AsVal_int(obj
, &v
)) {
1544 this is needed to make valgrind/purify happier.
1546 memset((void*)&v
, 0, sizeof(int));
1552 SWIGINTERNSHORT
long
1553 SWIG_As_long(PyObject
* obj
)
1556 if (!SWIG_AsVal_long(obj
, &v
)) {
1558 this is needed to make valgrind/purify happier.
1560 memset((void*)&v
, 0, sizeof(long));
1567 SWIG_Check_int(PyObject
* obj
)
1569 return SWIG_AsVal_int(obj
, (int*)0);
1574 SWIG_Check_long(PyObject
* obj
)
1576 return SWIG_AsVal_long(obj
, (long*)0);
1579 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
1582 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1584 if (obj
== Py_True
) {
1585 if (val
) *val
= true;
1588 if (obj
== Py_False
) {
1589 if (val
) *val
= false;
1593 if (SWIG_AsVal_int(obj
, &res
)) {
1594 if (val
) *val
= res
? true : false;
1600 SWIG_type_error("bool", obj
);
1606 SWIGINTERNSHORT
bool
1607 SWIG_As_bool(PyObject
* obj
)
1610 if (!SWIG_AsVal_bool(obj
, &v
)) {
1612 this is needed to make valgrind/purify happier.
1614 memset((void*)&v
, 0, sizeof(bool));
1621 SWIG_Check_bool(PyObject
* obj
)
1623 return SWIG_AsVal_bool(obj
, (bool*)0);
1626 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
1627 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
1629 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1630 #define SWIG_From_long PyInt_FromLong
1634 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1640 } else if (target
== Py_None
) {
1644 if (!PyTuple_Check(target
)) {
1646 target
= PyTuple_New(1);
1647 PyTuple_SetItem(target
, 0, o2
);
1649 o3
= PyTuple_New(1);
1650 PyTuple_SetItem(o3
, 0, o
);
1653 target
= PySequence_Concat(o2
, o3
);
1661 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
1662 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
1663 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
1664 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
1666 #include <wx/checklst.h>
1669 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
1670 static void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
1672 wxPyClientData
* data
= new wxPyClientData(clientData
);
1673 self
->Insert(item
, pos
, data
);
1675 self
->Insert(item
, pos
);
1677 static PyObject
*wxListBox_GetSelections(wxListBox
*self
){
1679 self
->GetSelections(lst
);
1680 PyObject
*tup
= PyTuple_New(lst
.GetCount());
1681 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
1682 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
1686 static void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
1688 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1689 self
->GetItem(item
)->SetTextColour(c
);
1692 static void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
1694 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1695 self
->GetItem(item
)->SetBackgroundColour(c
);
1698 static void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
1700 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1701 self
->GetItem(item
)->SetFont(f
);
1704 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
1707 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1710 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1711 SWIG_type_error("unsigned number", obj
);
1714 *val
= (unsigned long)v
;
1719 SWIGINTERNSHORT
unsigned long
1720 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1723 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1725 this is needed to make valgrind/purify happier.
1727 memset((void*)&v
, 0, sizeof(unsigned long));
1734 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1736 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1739 static void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
1740 self
->AppendText(text
);
1742 static wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
1743 return self
->GetValue().Mid(from
, to
- from
);
1745 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
1746 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
1747 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
1748 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
1749 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
1750 static int wxRadioBox_GetColumnCount(wxRadioBox
const *self
){ return -1; }
1751 static int wxRadioBox_GetRowCount(wxRadioBox
const *self
){ return -1; }
1752 static int wxRadioBox_GetNextItem(wxRadioBox
const *self
,int item
,wxDirection dir
,long style
){ return -1; }
1754 #include <wx/slider.h>
1757 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
1758 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
1760 #if !wxUSE_TOGGLEBTN
1761 // implement dummy items for platforms that don't have this class
1763 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
1765 class wxToggleButton
: public wxControl
1768 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
1769 const wxPoint
&, const wxSize
&, long,
1770 const wxValidator
&, const wxString
&)
1771 { wxPyRaiseNotImplemented(); }
1774 { wxPyRaiseNotImplemented(); }
1778 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
1780 SWIGINTERNSHORT PyObject
*
1781 SWIG_From_unsigned_SS_long(unsigned long value
)
1783 return (value
> LONG_MAX
) ?
1784 PyLong_FromUnsignedLong(value
)
1785 : PyInt_FromLong((long)(value
));
1788 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
1789 static PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
1790 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
1792 Py_INCREF(udata
->m_obj
);
1793 return udata
->m_obj
;
1799 static void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
1800 self
->SetClientData(new wxPyUserData(clientData
));
1802 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
){
1803 wxPyUserData
* udata
= NULL
;
1804 if (clientData
&& clientData
!= Py_None
)
1805 udata
= new wxPyUserData(clientData
);
1806 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
1807 shortHelp
, longHelp
, udata
);
1809 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
){
1810 wxPyUserData
* udata
= NULL
;
1811 if (clientData
&& clientData
!= Py_None
)
1812 udata
= new wxPyUserData(clientData
);
1813 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
1814 shortHelp
, longHelp
, udata
);
1816 static PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
1817 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
1819 Py_INCREF(udata
->m_obj
);
1820 return udata
->m_obj
;
1826 static void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
1827 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
1830 #include <wx/listctrl.h>
1832 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
1833 static void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
1834 // Python aware sorting function for wxPyListCtrl
1835 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
1837 PyObject
* func
= (PyObject
*)funcPtr
;
1838 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1840 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
1841 PyObject
* result
= PyEval_CallObject(func
, args
);
1844 retval
= PyInt_AsLong(result
);
1848 wxPyEndBlockThreads(blocked
);
1852 // C++ Version of a Python aware class
1853 class wxPyListCtrl
: public wxListCtrl
{
1854 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
1856 wxPyListCtrl() : wxListCtrl() {}
1857 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
1861 const wxValidator
& validator
,
1862 const wxString
& name
) :
1863 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
1865 bool Create(wxWindow
* parent
, wxWindowID id
,
1869 const wxValidator
& validator
,
1870 const wxString
& name
) {
1871 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
1874 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
1875 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
1877 // use the virtual version to avoid a confusing assert in the base class
1878 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
1883 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
1885 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
1886 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
1887 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
1890 static wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
1892 item
.SetMask( wxLIST_MASK_STATE
|
1900 if (self
->GetColumn(col
, item
))
1901 return new wxListItem(item
);
1905 static wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
1906 wxListItem
* info
= new wxListItem
;
1907 info
->m_itemId
= itemId
;
1909 info
->m_mask
= 0xFFFF;
1910 self
->GetItem(*info
);
1913 static wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
1915 self
->GetItemPosition(item
, pos
);
1918 static wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
1920 self
->GetItemRect(item
, rect
, code
);
1924 static bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
1925 if (!PyCallable_Check(func
))
1927 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
1929 static wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
1933 return (wxWindow
*)self
->m_mainWin
;
1937 #include <wx/treectrl.h>
1938 #include "wx/wxPython/pytree.h"
1940 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
1941 static bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
1942 static bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
1943 static void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
1944 // C++ version of Python aware wxTreeCtrl
1945 class wxPyTreeCtrl
: public wxTreeCtrl
{
1946 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
1948 wxPyTreeCtrl() : wxTreeCtrl() {}
1949 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
1953 const wxValidator
& validator
,
1954 const wxString
& name
) :
1955 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
1957 bool Create(wxWindow
*parent
, wxWindowID id
,
1961 const wxValidator
& validator
,
1962 const wxString
& name
) {
1963 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
1967 int OnCompareItems(const wxTreeItemId
& item1
,
1968 const wxTreeItemId
& item2
) {
1971 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1972 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
1973 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
1974 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
1975 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
1979 wxPyEndBlockThreads(blocked
);
1981 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
1987 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
1991 #if UINT_MAX < LONG_MAX
1992 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1993 #define SWIG_From_unsigned_SS_int SWIG_From_long
1996 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1997 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2003 SWIG_CheckUnsignedLongInRange(unsigned long value
,
2004 unsigned long max_value
,
2007 if (value
> max_value
) {
2009 PyErr_Format(PyExc_OverflowError
,
2010 "value %lu is greater than '%s' minimum %lu",
2011 value
, errmsg
, max_value
);
2019 #if UINT_MAX != ULONG_MAX
2021 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2023 const char* errmsg
= val
? "unsigned int" : (char*)0;
2025 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2026 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
2027 if (val
) *val
= (unsigned int)(v
);
2034 SWIG_type_error(errmsg
, obj
);
2039 SWIGINTERNSHORT
unsigned int
2040 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2042 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
2047 SWIGINTERNSHORT
unsigned int
2048 SWIG_As_unsigned_SS_int(PyObject
* obj
)
2051 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
2053 this is needed to make valgrind/purify happier.
2055 memset((void*)&v
, 0, sizeof(unsigned int));
2062 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
2064 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
2067 static wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2068 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2070 data
= new wxPyTreeItemData();
2071 data
->SetId(item
); // set the id
2072 self
->SetItemData(item
, data
);
2076 static PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2077 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2079 data
= new wxPyTreeItemData();
2080 data
->SetId(item
); // set the id
2081 self
->SetItemData(item
, data
);
2083 return data
->GetData();
2085 static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
2086 data
->SetId(item
); // set the id
2087 self
->SetItemData(item
, data
);
2089 static void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
2090 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2092 data
= new wxPyTreeItemData(obj
);
2093 data
->SetId(item
); // set the id
2094 self
->SetItemData(item
, data
);
2098 static PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
2099 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2100 PyObject
* rval
= PyList_New(0);
2101 wxArrayTreeItemIds array
;
2103 num
= self
->GetSelections(array
);
2104 for (x
=0; x
< num
; x
++) {
2105 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
2106 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
2107 PyList_Append(rval
, item
);
2110 wxPyEndBlockThreads(blocked
);
2113 static PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2115 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
2116 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2117 PyObject
* tup
= PyTuple_New(2);
2118 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
2119 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
2120 wxPyEndBlockThreads(blocked
);
2123 static PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
2124 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
2125 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2126 PyObject
* tup
= PyTuple_New(2);
2127 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
2128 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
2129 wxPyEndBlockThreads(blocked
);
2132 static PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
2134 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
2135 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2136 wxRect
* r
= new wxRect(rect
);
2137 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
2138 wxPyEndBlockThreads(blocked
);
2144 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
2146 SWIGINTERNSHORT PyObject
*
2147 SWIG_From_bool(bool value
)
2149 PyObject
*obj
= value
? Py_True
: Py_False
;
2155 // C++ version of Python aware wxControl
2156 class wxPyControl
: public wxControl
2158 DECLARE_DYNAMIC_CLASS(wxPyControl
)
2160 wxPyControl() : wxControl() {}
2161 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
2162 const wxPoint
& pos
= wxDefaultPosition
,
2163 const wxSize
& size
= wxDefaultSize
,
2165 const wxValidator
& validator
=wxDefaultValidator
,
2166 const wxString
& name
= wxPyControlNameStr
)
2167 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
2169 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
2171 bool DoEraseBackground(wxDC
* dc
) {
2173 return wxWindow::DoEraseBackground(dc
->GetHDC());
2175 dc
->SetBackground(wxBrush(GetBackgroundColour()));
2181 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2182 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2183 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2184 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2186 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2187 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2188 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2190 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2191 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2193 DEC_PYCALLBACK__(InitDialog
);
2194 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2195 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2196 DEC_PYCALLBACK_BOOL_(Validate
);
2198 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2199 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2200 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2202 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2203 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2205 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2206 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2208 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2213 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
2215 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
2216 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
2217 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
2218 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
2220 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
2221 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
2222 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
2224 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
2225 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
2227 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
2228 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
2229 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
2230 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
2232 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
2233 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
2234 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
2236 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
2237 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
2239 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
2240 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
2242 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
2246 static void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
2248 #include <wx/generic/dragimgg.h>
2250 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
2251 static wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
2253 self
->GetRange(&rv
, NULL
);
2256 static wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
2258 self
->GetRange(NULL
, &rv
);
2264 static int _wrap_ButtonNameStr_set(PyObject
*) {
2265 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
2270 static PyObject
*_wrap_ButtonNameStr_get(void) {
2275 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
2277 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
2284 static PyObject
*_wrap_new_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2285 PyObject
*resultobj
;
2286 wxWindow
*arg1
= (wxWindow
*) 0 ;
2287 int arg2
= (int) -1 ;
2288 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2289 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2290 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2291 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2292 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2293 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2294 long arg6
= (long) 0 ;
2295 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2296 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2297 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
2298 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2300 bool temp3
= false ;
2303 bool temp8
= false ;
2304 PyObject
* obj0
= 0 ;
2305 PyObject
* obj1
= 0 ;
2306 PyObject
* obj2
= 0 ;
2307 PyObject
* obj3
= 0 ;
2308 PyObject
* obj4
= 0 ;
2309 PyObject
* obj5
= 0 ;
2310 PyObject
* obj6
= 0 ;
2311 PyObject
* obj7
= 0 ;
2313 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2318 if (SWIG_arg_fail(1)) SWIG_fail
;
2321 arg2
= (int)(SWIG_As_int(obj1
));
2322 if (SWIG_arg_fail(2)) SWIG_fail
;
2327 arg3
= wxString_in_helper(obj2
);
2328 if (arg3
== NULL
) SWIG_fail
;
2335 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2341 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2346 arg6
= (long)(SWIG_As_long(obj5
));
2347 if (SWIG_arg_fail(6)) SWIG_fail
;
2352 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2353 if (SWIG_arg_fail(7)) SWIG_fail
;
2355 SWIG_null_ref("wxValidator");
2357 if (SWIG_arg_fail(7)) SWIG_fail
;
2362 arg8
= wxString_in_helper(obj7
);
2363 if (arg8
== NULL
) SWIG_fail
;
2368 if (!wxPyCheckForApp()) SWIG_fail
;
2369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2370 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2372 wxPyEndAllowThreads(__tstate
);
2373 if (PyErr_Occurred()) SWIG_fail
;
2375 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
2398 static PyObject
*_wrap_new_PreButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2399 PyObject
*resultobj
;
2405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
2407 if (!wxPyCheckForApp()) SWIG_fail
;
2408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2409 result
= (wxButton
*)new wxButton();
2411 wxPyEndAllowThreads(__tstate
);
2412 if (PyErr_Occurred()) SWIG_fail
;
2414 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
2421 static PyObject
*_wrap_Button_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2422 PyObject
*resultobj
;
2423 wxButton
*arg1
= (wxButton
*) 0 ;
2424 wxWindow
*arg2
= (wxWindow
*) 0 ;
2425 int arg3
= (int) -1 ;
2426 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2427 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2428 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2429 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2430 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2431 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2432 long arg7
= (long) 0 ;
2433 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2434 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2435 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
2436 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2438 bool temp4
= false ;
2441 bool temp9
= false ;
2442 PyObject
* obj0
= 0 ;
2443 PyObject
* obj1
= 0 ;
2444 PyObject
* obj2
= 0 ;
2445 PyObject
* obj3
= 0 ;
2446 PyObject
* obj4
= 0 ;
2447 PyObject
* obj5
= 0 ;
2448 PyObject
* obj6
= 0 ;
2449 PyObject
* obj7
= 0 ;
2450 PyObject
* obj8
= 0 ;
2452 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
2457 if (SWIG_arg_fail(1)) SWIG_fail
;
2458 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2459 if (SWIG_arg_fail(2)) SWIG_fail
;
2462 arg3
= (int)(SWIG_As_int(obj2
));
2463 if (SWIG_arg_fail(3)) SWIG_fail
;
2468 arg4
= wxString_in_helper(obj3
);
2469 if (arg4
== NULL
) SWIG_fail
;
2476 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2482 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2487 arg7
= (long)(SWIG_As_long(obj6
));
2488 if (SWIG_arg_fail(7)) SWIG_fail
;
2493 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2494 if (SWIG_arg_fail(8)) SWIG_fail
;
2496 SWIG_null_ref("wxValidator");
2498 if (SWIG_arg_fail(8)) SWIG_fail
;
2503 arg9
= wxString_in_helper(obj8
);
2504 if (arg9
== NULL
) SWIG_fail
;
2509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2510 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2512 wxPyEndAllowThreads(__tstate
);
2513 if (PyErr_Occurred()) SWIG_fail
;
2516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2540 static PyObject
*_wrap_Button_SetDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2541 PyObject
*resultobj
;
2542 wxButton
*arg1
= (wxButton
*) 0 ;
2543 PyObject
* obj0
= 0 ;
2545 (char *) "self", NULL
2548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
2549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
2550 if (SWIG_arg_fail(1)) SWIG_fail
;
2552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2553 (arg1
)->SetDefault();
2555 wxPyEndAllowThreads(__tstate
);
2556 if (PyErr_Occurred()) SWIG_fail
;
2558 Py_INCREF(Py_None
); resultobj
= Py_None
;
2565 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2566 PyObject
*resultobj
;
2572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
2574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2575 result
= wxButton::GetDefaultSize();
2577 wxPyEndAllowThreads(__tstate
);
2578 if (PyErr_Occurred()) SWIG_fail
;
2582 resultptr
= new wxSize((wxSize
&)(result
));
2583 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2591 static PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2592 PyObject
*resultobj
;
2593 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
2594 wxVisualAttributes result
;
2595 PyObject
* obj0
= 0 ;
2597 (char *) "variant", NULL
2600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2603 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
2604 if (SWIG_arg_fail(1)) SWIG_fail
;
2608 if (!wxPyCheckForApp()) SWIG_fail
;
2609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2610 result
= wxButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2612 wxPyEndAllowThreads(__tstate
);
2613 if (PyErr_Occurred()) SWIG_fail
;
2616 wxVisualAttributes
* resultptr
;
2617 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
2618 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2626 static PyObject
* Button_swigregister(PyObject
*, PyObject
*args
) {
2628 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2629 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
2631 return Py_BuildValue((char *)"");
2633 static PyObject
*_wrap_new_BitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2634 PyObject
*resultobj
;
2635 wxWindow
*arg1
= (wxWindow
*) 0 ;
2636 int arg2
= (int) -1 ;
2637 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
2638 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
2639 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2640 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2641 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2642 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2643 long arg6
= (long) wxBU_AUTODRAW
;
2644 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2645 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2646 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
2647 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2648 wxBitmapButton
*result
;
2651 bool temp8
= false ;
2652 PyObject
* obj0
= 0 ;
2653 PyObject
* obj1
= 0 ;
2654 PyObject
* obj2
= 0 ;
2655 PyObject
* obj3
= 0 ;
2656 PyObject
* obj4
= 0 ;
2657 PyObject
* obj5
= 0 ;
2658 PyObject
* obj6
= 0 ;
2659 PyObject
* obj7
= 0 ;
2661 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2666 if (SWIG_arg_fail(1)) SWIG_fail
;
2669 arg2
= (int)(SWIG_As_int(obj1
));
2670 if (SWIG_arg_fail(2)) SWIG_fail
;
2675 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
2676 if (SWIG_arg_fail(3)) SWIG_fail
;
2678 SWIG_null_ref("wxBitmap");
2680 if (SWIG_arg_fail(3)) SWIG_fail
;
2686 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2692 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2697 arg6
= (long)(SWIG_As_long(obj5
));
2698 if (SWIG_arg_fail(6)) SWIG_fail
;
2703 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2704 if (SWIG_arg_fail(7)) SWIG_fail
;
2706 SWIG_null_ref("wxValidator");
2708 if (SWIG_arg_fail(7)) SWIG_fail
;
2713 arg8
= wxString_in_helper(obj7
);
2714 if (arg8
== NULL
) SWIG_fail
;
2719 if (!wxPyCheckForApp()) SWIG_fail
;
2720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2721 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2723 wxPyEndAllowThreads(__tstate
);
2724 if (PyErr_Occurred()) SWIG_fail
;
2726 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
2741 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2742 PyObject
*resultobj
;
2743 wxBitmapButton
*result
;
2748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
2750 if (!wxPyCheckForApp()) SWIG_fail
;
2751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2752 result
= (wxBitmapButton
*)new wxBitmapButton();
2754 wxPyEndAllowThreads(__tstate
);
2755 if (PyErr_Occurred()) SWIG_fail
;
2757 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
2764 static PyObject
*_wrap_BitmapButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2765 PyObject
*resultobj
;
2766 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2767 wxWindow
*arg2
= (wxWindow
*) 0 ;
2768 int arg3
= (int) -1 ;
2769 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
2770 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
2771 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2772 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2773 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2774 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2775 long arg7
= (long) wxBU_AUTODRAW
;
2776 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2777 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2778 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
2779 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2783 bool temp9
= false ;
2784 PyObject
* obj0
= 0 ;
2785 PyObject
* obj1
= 0 ;
2786 PyObject
* obj2
= 0 ;
2787 PyObject
* obj3
= 0 ;
2788 PyObject
* obj4
= 0 ;
2789 PyObject
* obj5
= 0 ;
2790 PyObject
* obj6
= 0 ;
2791 PyObject
* obj7
= 0 ;
2792 PyObject
* obj8
= 0 ;
2794 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2799 if (SWIG_arg_fail(1)) SWIG_fail
;
2800 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2801 if (SWIG_arg_fail(2)) SWIG_fail
;
2804 arg3
= (int)(SWIG_As_int(obj2
));
2805 if (SWIG_arg_fail(3)) SWIG_fail
;
2810 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
2811 if (SWIG_arg_fail(4)) SWIG_fail
;
2813 SWIG_null_ref("wxBitmap");
2815 if (SWIG_arg_fail(4)) SWIG_fail
;
2821 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2827 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2832 arg7
= (long)(SWIG_As_long(obj6
));
2833 if (SWIG_arg_fail(7)) SWIG_fail
;
2838 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2839 if (SWIG_arg_fail(8)) SWIG_fail
;
2841 SWIG_null_ref("wxValidator");
2843 if (SWIG_arg_fail(8)) SWIG_fail
;
2848 arg9
= wxString_in_helper(obj8
);
2849 if (arg9
== NULL
) SWIG_fail
;
2854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2855 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2857 wxPyEndAllowThreads(__tstate
);
2858 if (PyErr_Occurred()) SWIG_fail
;
2861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2877 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2878 PyObject
*resultobj
;
2879 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2881 PyObject
* obj0
= 0 ;
2883 (char *) "self", NULL
2886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
2887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2888 if (SWIG_arg_fail(1)) SWIG_fail
;
2890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2891 result
= (arg1
)->GetBitmapLabel();
2893 wxPyEndAllowThreads(__tstate
);
2894 if (PyErr_Occurred()) SWIG_fail
;
2897 wxBitmap
* resultptr
;
2898 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2899 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2907 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2908 PyObject
*resultobj
;
2909 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2911 PyObject
* obj0
= 0 ;
2913 (char *) "self", NULL
2916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
2917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2918 if (SWIG_arg_fail(1)) SWIG_fail
;
2920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2921 result
= (arg1
)->GetBitmapDisabled();
2923 wxPyEndAllowThreads(__tstate
);
2924 if (PyErr_Occurred()) SWIG_fail
;
2927 wxBitmap
* resultptr
;
2928 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2929 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2937 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2938 PyObject
*resultobj
;
2939 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2941 PyObject
* obj0
= 0 ;
2943 (char *) "self", NULL
2946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
2947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2948 if (SWIG_arg_fail(1)) SWIG_fail
;
2950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2951 result
= (arg1
)->GetBitmapFocus();
2953 wxPyEndAllowThreads(__tstate
);
2954 if (PyErr_Occurred()) SWIG_fail
;
2957 wxBitmap
* resultptr
;
2958 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2959 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2967 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2968 PyObject
*resultobj
;
2969 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2971 PyObject
* obj0
= 0 ;
2973 (char *) "self", NULL
2976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
2977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2978 if (SWIG_arg_fail(1)) SWIG_fail
;
2980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2981 result
= (arg1
)->GetBitmapSelected();
2983 wxPyEndAllowThreads(__tstate
);
2984 if (PyErr_Occurred()) SWIG_fail
;
2987 wxBitmap
* resultptr
;
2988 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2989 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2997 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2998 PyObject
*resultobj
;
2999 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3000 wxBitmap
*arg2
= 0 ;
3001 PyObject
* obj0
= 0 ;
3002 PyObject
* obj1
= 0 ;
3004 (char *) "self",(char *) "bitmap", NULL
3007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
3008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3009 if (SWIG_arg_fail(1)) SWIG_fail
;
3011 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3012 if (SWIG_arg_fail(2)) SWIG_fail
;
3014 SWIG_null_ref("wxBitmap");
3016 if (SWIG_arg_fail(2)) SWIG_fail
;
3019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3020 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
3022 wxPyEndAllowThreads(__tstate
);
3023 if (PyErr_Occurred()) SWIG_fail
;
3025 Py_INCREF(Py_None
); resultobj
= Py_None
;
3032 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3033 PyObject
*resultobj
;
3034 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3035 wxBitmap
*arg2
= 0 ;
3036 PyObject
* obj0
= 0 ;
3037 PyObject
* obj1
= 0 ;
3039 (char *) "self",(char *) "bitmap", NULL
3042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
3043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3044 if (SWIG_arg_fail(1)) SWIG_fail
;
3046 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3047 if (SWIG_arg_fail(2)) SWIG_fail
;
3049 SWIG_null_ref("wxBitmap");
3051 if (SWIG_arg_fail(2)) SWIG_fail
;
3054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3055 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
3057 wxPyEndAllowThreads(__tstate
);
3058 if (PyErr_Occurred()) SWIG_fail
;
3060 Py_INCREF(Py_None
); resultobj
= Py_None
;
3067 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3068 PyObject
*resultobj
;
3069 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3070 wxBitmap
*arg2
= 0 ;
3071 PyObject
* obj0
= 0 ;
3072 PyObject
* obj1
= 0 ;
3074 (char *) "self",(char *) "bitmap", NULL
3077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
3078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3079 if (SWIG_arg_fail(1)) SWIG_fail
;
3081 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3082 if (SWIG_arg_fail(2)) SWIG_fail
;
3084 SWIG_null_ref("wxBitmap");
3086 if (SWIG_arg_fail(2)) SWIG_fail
;
3089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3090 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
3092 wxPyEndAllowThreads(__tstate
);
3093 if (PyErr_Occurred()) SWIG_fail
;
3095 Py_INCREF(Py_None
); resultobj
= Py_None
;
3102 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3103 PyObject
*resultobj
;
3104 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3105 wxBitmap
*arg2
= 0 ;
3106 PyObject
* obj0
= 0 ;
3107 PyObject
* obj1
= 0 ;
3109 (char *) "self",(char *) "bitmap", NULL
3112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
3113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3114 if (SWIG_arg_fail(1)) SWIG_fail
;
3116 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3117 if (SWIG_arg_fail(2)) SWIG_fail
;
3119 SWIG_null_ref("wxBitmap");
3121 if (SWIG_arg_fail(2)) SWIG_fail
;
3124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3125 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
3127 wxPyEndAllowThreads(__tstate
);
3128 if (PyErr_Occurred()) SWIG_fail
;
3130 Py_INCREF(Py_None
); resultobj
= Py_None
;
3137 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3138 PyObject
*resultobj
;
3139 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3142 PyObject
* obj0
= 0 ;
3143 PyObject
* obj1
= 0 ;
3144 PyObject
* obj2
= 0 ;
3146 (char *) "self",(char *) "x",(char *) "y", NULL
3149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3151 if (SWIG_arg_fail(1)) SWIG_fail
;
3153 arg2
= (int)(SWIG_As_int(obj1
));
3154 if (SWIG_arg_fail(2)) SWIG_fail
;
3157 arg3
= (int)(SWIG_As_int(obj2
));
3158 if (SWIG_arg_fail(3)) SWIG_fail
;
3161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3162 (arg1
)->SetMargins(arg2
,arg3
);
3164 wxPyEndAllowThreads(__tstate
);
3165 if (PyErr_Occurred()) SWIG_fail
;
3167 Py_INCREF(Py_None
); resultobj
= Py_None
;
3174 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3175 PyObject
*resultobj
;
3176 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3178 PyObject
* obj0
= 0 ;
3180 (char *) "self", NULL
3183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
3184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3185 if (SWIG_arg_fail(1)) SWIG_fail
;
3187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3188 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
3190 wxPyEndAllowThreads(__tstate
);
3191 if (PyErr_Occurred()) SWIG_fail
;
3194 resultobj
= SWIG_From_int((int)(result
));
3202 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3203 PyObject
*resultobj
;
3204 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3206 PyObject
* obj0
= 0 ;
3208 (char *) "self", NULL
3211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
3212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3213 if (SWIG_arg_fail(1)) SWIG_fail
;
3215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3216 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
3218 wxPyEndAllowThreads(__tstate
);
3219 if (PyErr_Occurred()) SWIG_fail
;
3222 resultobj
= SWIG_From_int((int)(result
));
3230 static PyObject
* BitmapButton_swigregister(PyObject
*, PyObject
*args
) {
3232 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3233 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
3235 return Py_BuildValue((char *)"");
3237 static int _wrap_CheckBoxNameStr_set(PyObject
*) {
3238 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
3243 static PyObject
*_wrap_CheckBoxNameStr_get(void) {
3248 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
3250 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
3257 static PyObject
*_wrap_new_CheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3258 PyObject
*resultobj
;
3259 wxWindow
*arg1
= (wxWindow
*) 0 ;
3260 int arg2
= (int) -1 ;
3261 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3262 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3263 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3264 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3265 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3266 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3267 long arg6
= (long) 0 ;
3268 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3269 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3270 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
3271 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3273 bool temp3
= false ;
3276 bool temp8
= false ;
3277 PyObject
* obj0
= 0 ;
3278 PyObject
* obj1
= 0 ;
3279 PyObject
* obj2
= 0 ;
3280 PyObject
* obj3
= 0 ;
3281 PyObject
* obj4
= 0 ;
3282 PyObject
* obj5
= 0 ;
3283 PyObject
* obj6
= 0 ;
3284 PyObject
* obj7
= 0 ;
3286 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3291 if (SWIG_arg_fail(1)) SWIG_fail
;
3294 arg2
= (int)(SWIG_As_int(obj1
));
3295 if (SWIG_arg_fail(2)) SWIG_fail
;
3300 arg3
= wxString_in_helper(obj2
);
3301 if (arg3
== NULL
) SWIG_fail
;
3308 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3314 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3319 arg6
= (long)(SWIG_As_long(obj5
));
3320 if (SWIG_arg_fail(6)) SWIG_fail
;
3325 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3326 if (SWIG_arg_fail(7)) SWIG_fail
;
3328 SWIG_null_ref("wxValidator");
3330 if (SWIG_arg_fail(7)) SWIG_fail
;
3335 arg8
= wxString_in_helper(obj7
);
3336 if (arg8
== NULL
) SWIG_fail
;
3341 if (!wxPyCheckForApp()) SWIG_fail
;
3342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3343 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3345 wxPyEndAllowThreads(__tstate
);
3346 if (PyErr_Occurred()) SWIG_fail
;
3348 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
3371 static PyObject
*_wrap_new_PreCheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3372 PyObject
*resultobj
;
3378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
3380 if (!wxPyCheckForApp()) SWIG_fail
;
3381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3382 result
= (wxCheckBox
*)new wxCheckBox();
3384 wxPyEndAllowThreads(__tstate
);
3385 if (PyErr_Occurred()) SWIG_fail
;
3387 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
3394 static PyObject
*_wrap_CheckBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3395 PyObject
*resultobj
;
3396 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3397 wxWindow
*arg2
= (wxWindow
*) 0 ;
3398 int arg3
= (int) -1 ;
3399 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3400 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3401 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3402 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3403 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3404 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3405 long arg7
= (long) 0 ;
3406 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3407 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3408 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
3409 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3411 bool temp4
= false ;
3414 bool temp9
= false ;
3415 PyObject
* obj0
= 0 ;
3416 PyObject
* obj1
= 0 ;
3417 PyObject
* obj2
= 0 ;
3418 PyObject
* obj3
= 0 ;
3419 PyObject
* obj4
= 0 ;
3420 PyObject
* obj5
= 0 ;
3421 PyObject
* obj6
= 0 ;
3422 PyObject
* obj7
= 0 ;
3423 PyObject
* obj8
= 0 ;
3425 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3430 if (SWIG_arg_fail(1)) SWIG_fail
;
3431 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3432 if (SWIG_arg_fail(2)) SWIG_fail
;
3435 arg3
= (int)(SWIG_As_int(obj2
));
3436 if (SWIG_arg_fail(3)) SWIG_fail
;
3441 arg4
= wxString_in_helper(obj3
);
3442 if (arg4
== NULL
) SWIG_fail
;
3449 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3455 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3460 arg7
= (long)(SWIG_As_long(obj6
));
3461 if (SWIG_arg_fail(7)) SWIG_fail
;
3466 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3467 if (SWIG_arg_fail(8)) SWIG_fail
;
3469 SWIG_null_ref("wxValidator");
3471 if (SWIG_arg_fail(8)) SWIG_fail
;
3476 arg9
= wxString_in_helper(obj8
);
3477 if (arg9
== NULL
) SWIG_fail
;
3482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3483 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3485 wxPyEndAllowThreads(__tstate
);
3486 if (PyErr_Occurred()) SWIG_fail
;
3489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3513 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3514 PyObject
*resultobj
;
3515 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3517 PyObject
* obj0
= 0 ;
3519 (char *) "self", NULL
3522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
3523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3524 if (SWIG_arg_fail(1)) SWIG_fail
;
3526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3527 result
= (bool)(arg1
)->GetValue();
3529 wxPyEndAllowThreads(__tstate
);
3530 if (PyErr_Occurred()) SWIG_fail
;
3533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3541 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3542 PyObject
*resultobj
;
3543 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3545 PyObject
* obj0
= 0 ;
3547 (char *) "self", NULL
3550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
3551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3552 if (SWIG_arg_fail(1)) SWIG_fail
;
3554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3555 result
= (bool)(arg1
)->IsChecked();
3557 wxPyEndAllowThreads(__tstate
);
3558 if (PyErr_Occurred()) SWIG_fail
;
3561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3569 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3570 PyObject
*resultobj
;
3571 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3573 PyObject
* obj0
= 0 ;
3574 PyObject
* obj1
= 0 ;
3576 (char *) "self",(char *) "state", NULL
3579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3581 if (SWIG_arg_fail(1)) SWIG_fail
;
3583 arg2
= (bool const)(SWIG_As_bool(obj1
));
3584 if (SWIG_arg_fail(2)) SWIG_fail
;
3587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3588 (arg1
)->SetValue(arg2
);
3590 wxPyEndAllowThreads(__tstate
);
3591 if (PyErr_Occurred()) SWIG_fail
;
3593 Py_INCREF(Py_None
); resultobj
= Py_None
;
3600 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3601 PyObject
*resultobj
;
3602 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3603 wxCheckBoxState result
;
3604 PyObject
* obj0
= 0 ;
3606 (char *) "self", NULL
3609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
3610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3611 if (SWIG_arg_fail(1)) SWIG_fail
;
3613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3614 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
3616 wxPyEndAllowThreads(__tstate
);
3617 if (PyErr_Occurred()) SWIG_fail
;
3619 resultobj
= SWIG_From_int((result
));
3626 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3627 PyObject
*resultobj
;
3628 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3629 wxCheckBoxState arg2
;
3630 PyObject
* obj0
= 0 ;
3631 PyObject
* obj1
= 0 ;
3633 (char *) "self",(char *) "state", NULL
3636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3638 if (SWIG_arg_fail(1)) SWIG_fail
;
3640 arg2
= (wxCheckBoxState
)(SWIG_As_int(obj1
));
3641 if (SWIG_arg_fail(2)) SWIG_fail
;
3644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3645 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
3647 wxPyEndAllowThreads(__tstate
);
3648 if (PyErr_Occurred()) SWIG_fail
;
3650 Py_INCREF(Py_None
); resultobj
= Py_None
;
3657 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3658 PyObject
*resultobj
;
3659 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3661 PyObject
* obj0
= 0 ;
3663 (char *) "self", NULL
3666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
3667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3668 if (SWIG_arg_fail(1)) SWIG_fail
;
3670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3671 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
3673 wxPyEndAllowThreads(__tstate
);
3674 if (PyErr_Occurred()) SWIG_fail
;
3677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3685 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3686 PyObject
*resultobj
;
3687 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3689 PyObject
* obj0
= 0 ;
3691 (char *) "self", NULL
3694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
3695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3696 if (SWIG_arg_fail(1)) SWIG_fail
;
3698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3699 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
3701 wxPyEndAllowThreads(__tstate
);
3702 if (PyErr_Occurred()) SWIG_fail
;
3705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3713 static PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3714 PyObject
*resultobj
;
3715 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3716 wxVisualAttributes result
;
3717 PyObject
* obj0
= 0 ;
3719 (char *) "variant", NULL
3722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3725 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
3726 if (SWIG_arg_fail(1)) SWIG_fail
;
3730 if (!wxPyCheckForApp()) SWIG_fail
;
3731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3732 result
= wxCheckBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3734 wxPyEndAllowThreads(__tstate
);
3735 if (PyErr_Occurred()) SWIG_fail
;
3738 wxVisualAttributes
* resultptr
;
3739 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
3740 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3748 static PyObject
* CheckBox_swigregister(PyObject
*, PyObject
*args
) {
3750 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3751 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
3753 return Py_BuildValue((char *)"");
3755 static int _wrap_ChoiceNameStr_set(PyObject
*) {
3756 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
3761 static PyObject
*_wrap_ChoiceNameStr_get(void) {
3766 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
3768 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
3775 static PyObject
*_wrap_new_Choice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3776 PyObject
*resultobj
;
3777 wxWindow
*arg1
= (wxWindow
*) 0 ;
3778 int arg2
= (int) -1 ;
3779 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3780 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3781 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3782 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3783 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
3784 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
3785 long arg6
= (long) 0 ;
3786 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3787 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3788 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
3789 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3793 bool temp5
= false ;
3794 bool temp8
= false ;
3795 PyObject
* obj0
= 0 ;
3796 PyObject
* obj1
= 0 ;
3797 PyObject
* obj2
= 0 ;
3798 PyObject
* obj3
= 0 ;
3799 PyObject
* obj4
= 0 ;
3800 PyObject
* obj5
= 0 ;
3801 PyObject
* obj6
= 0 ;
3802 PyObject
* obj7
= 0 ;
3804 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3809 if (SWIG_arg_fail(1)) SWIG_fail
;
3812 arg2
= (int)(SWIG_As_int(obj1
));
3813 if (SWIG_arg_fail(2)) SWIG_fail
;
3819 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3825 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3830 if (! PySequence_Check(obj4
)) {
3831 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3834 arg5
= new wxArrayString
;
3836 int i
, len
=PySequence_Length(obj4
);
3837 for (i
=0; i
<len
; i
++) {
3838 PyObject
* item
= PySequence_GetItem(obj4
, i
);
3839 wxString
* s
= wxString_in_helper(item
);
3840 if (PyErr_Occurred()) SWIG_fail
;
3849 arg6
= (long)(SWIG_As_long(obj5
));
3850 if (SWIG_arg_fail(6)) SWIG_fail
;
3855 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3856 if (SWIG_arg_fail(7)) SWIG_fail
;
3858 SWIG_null_ref("wxValidator");
3860 if (SWIG_arg_fail(7)) SWIG_fail
;
3865 arg8
= wxString_in_helper(obj7
);
3866 if (arg8
== NULL
) SWIG_fail
;
3871 if (!wxPyCheckForApp()) SWIG_fail
;
3872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3873 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3875 wxPyEndAllowThreads(__tstate
);
3876 if (PyErr_Occurred()) SWIG_fail
;
3878 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
3880 if (temp5
) delete arg5
;
3889 if (temp5
) delete arg5
;
3899 static PyObject
*_wrap_new_PreChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3900 PyObject
*resultobj
;
3906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
3908 if (!wxPyCheckForApp()) SWIG_fail
;
3909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3910 result
= (wxChoice
*)new wxChoice();
3912 wxPyEndAllowThreads(__tstate
);
3913 if (PyErr_Occurred()) SWIG_fail
;
3915 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
3922 static PyObject
*_wrap_Choice_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3923 PyObject
*resultobj
;
3924 wxChoice
*arg1
= (wxChoice
*) 0 ;
3925 wxWindow
*arg2
= (wxWindow
*) 0 ;
3926 int arg3
= (int) -1 ;
3927 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3928 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3929 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3930 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3931 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
3932 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
3933 long arg7
= (long) 0 ;
3934 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3935 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3936 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
3937 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3941 bool temp6
= false ;
3942 bool temp9
= false ;
3943 PyObject
* obj0
= 0 ;
3944 PyObject
* obj1
= 0 ;
3945 PyObject
* obj2
= 0 ;
3946 PyObject
* obj3
= 0 ;
3947 PyObject
* obj4
= 0 ;
3948 PyObject
* obj5
= 0 ;
3949 PyObject
* obj6
= 0 ;
3950 PyObject
* obj7
= 0 ;
3951 PyObject
* obj8
= 0 ;
3953 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoice
, SWIG_POINTER_EXCEPTION
| 0);
3958 if (SWIG_arg_fail(1)) SWIG_fail
;
3959 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3960 if (SWIG_arg_fail(2)) SWIG_fail
;
3963 arg3
= (int)(SWIG_As_int(obj2
));
3964 if (SWIG_arg_fail(3)) SWIG_fail
;
3970 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3976 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3981 if (! PySequence_Check(obj5
)) {
3982 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3985 arg6
= new wxArrayString
;
3987 int i
, len
=PySequence_Length(obj5
);
3988 for (i
=0; i
<len
; i
++) {
3989 PyObject
* item
= PySequence_GetItem(obj5
, i
);
3990 wxString
* s
= wxString_in_helper(item
);
3991 if (PyErr_Occurred()) SWIG_fail
;
4000 arg7
= (long)(SWIG_As_long(obj6
));
4001 if (SWIG_arg_fail(7)) SWIG_fail
;
4006 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4007 if (SWIG_arg_fail(8)) SWIG_fail
;
4009 SWIG_null_ref("wxValidator");
4011 if (SWIG_arg_fail(8)) SWIG_fail
;
4016 arg9
= wxString_in_helper(obj8
);
4017 if (arg9
== NULL
) SWIG_fail
;
4022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4023 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4025 wxPyEndAllowThreads(__tstate
);
4026 if (PyErr_Occurred()) SWIG_fail
;
4029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4032 if (temp6
) delete arg6
;
4041 if (temp6
) delete arg6
;
4051 static PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4052 PyObject
*resultobj
;
4053 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
4054 wxVisualAttributes result
;
4055 PyObject
* obj0
= 0 ;
4057 (char *) "variant", NULL
4060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4063 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
4064 if (SWIG_arg_fail(1)) SWIG_fail
;
4068 if (!wxPyCheckForApp()) SWIG_fail
;
4069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4070 result
= wxChoice::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4072 wxPyEndAllowThreads(__tstate
);
4073 if (PyErr_Occurred()) SWIG_fail
;
4076 wxVisualAttributes
* resultptr
;
4077 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
4078 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4086 static PyObject
* Choice_swigregister(PyObject
*, PyObject
*args
) {
4088 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4089 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
4091 return Py_BuildValue((char *)"");
4093 static int _wrap_ComboBoxNameStr_set(PyObject
*) {
4094 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
4099 static PyObject
*_wrap_ComboBoxNameStr_get(void) {
4104 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
4106 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
4113 static PyObject
*_wrap_new_ComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4114 PyObject
*resultobj
;
4115 wxWindow
*arg1
= (wxWindow
*) 0 ;
4116 int arg2
= (int) -1 ;
4117 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4118 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4119 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4120 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4121 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4122 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4123 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
4124 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
4125 long arg7
= (long) 0 ;
4126 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4127 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4128 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
4129 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4131 bool temp3
= false ;
4134 bool temp6
= false ;
4135 bool temp9
= false ;
4136 PyObject
* obj0
= 0 ;
4137 PyObject
* obj1
= 0 ;
4138 PyObject
* obj2
= 0 ;
4139 PyObject
* obj3
= 0 ;
4140 PyObject
* obj4
= 0 ;
4141 PyObject
* obj5
= 0 ;
4142 PyObject
* obj6
= 0 ;
4143 PyObject
* obj7
= 0 ;
4144 PyObject
* obj8
= 0 ;
4146 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4151 if (SWIG_arg_fail(1)) SWIG_fail
;
4154 arg2
= (int)(SWIG_As_int(obj1
));
4155 if (SWIG_arg_fail(2)) SWIG_fail
;
4160 arg3
= wxString_in_helper(obj2
);
4161 if (arg3
== NULL
) SWIG_fail
;
4168 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4174 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4179 if (! PySequence_Check(obj5
)) {
4180 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4183 arg6
= new wxArrayString
;
4185 int i
, len
=PySequence_Length(obj5
);
4186 for (i
=0; i
<len
; i
++) {
4187 PyObject
* item
= PySequence_GetItem(obj5
, i
);
4188 wxString
* s
= wxString_in_helper(item
);
4189 if (PyErr_Occurred()) SWIG_fail
;
4198 arg7
= (long)(SWIG_As_long(obj6
));
4199 if (SWIG_arg_fail(7)) SWIG_fail
;
4204 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4205 if (SWIG_arg_fail(8)) SWIG_fail
;
4207 SWIG_null_ref("wxValidator");
4209 if (SWIG_arg_fail(8)) SWIG_fail
;
4214 arg9
= wxString_in_helper(obj8
);
4215 if (arg9
== NULL
) SWIG_fail
;
4220 if (!wxPyCheckForApp()) SWIG_fail
;
4221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4222 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
);
4224 wxPyEndAllowThreads(__tstate
);
4225 if (PyErr_Occurred()) SWIG_fail
;
4227 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
4233 if (temp6
) delete arg6
;
4246 if (temp6
) delete arg6
;
4256 static PyObject
*_wrap_new_PreComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4257 PyObject
*resultobj
;
4263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
4265 if (!wxPyCheckForApp()) SWIG_fail
;
4266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4267 result
= (wxComboBox
*)new wxComboBox();
4269 wxPyEndAllowThreads(__tstate
);
4270 if (PyErr_Occurred()) SWIG_fail
;
4272 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
4279 static PyObject
*_wrap_ComboBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4280 PyObject
*resultobj
;
4281 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4282 wxWindow
*arg2
= (wxWindow
*) 0 ;
4283 int arg3
= (int) -1 ;
4284 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4285 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4286 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4287 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4288 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4289 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4290 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
4291 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
4292 long arg8
= (long) 0 ;
4293 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
4294 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
4295 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
4296 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
4298 bool temp4
= false ;
4301 bool temp7
= false ;
4302 bool temp10
= false ;
4303 PyObject
* obj0
= 0 ;
4304 PyObject
* obj1
= 0 ;
4305 PyObject
* obj2
= 0 ;
4306 PyObject
* obj3
= 0 ;
4307 PyObject
* obj4
= 0 ;
4308 PyObject
* obj5
= 0 ;
4309 PyObject
* obj6
= 0 ;
4310 PyObject
* obj7
= 0 ;
4311 PyObject
* obj8
= 0 ;
4312 PyObject
* obj9
= 0 ;
4314 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
4318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4319 if (SWIG_arg_fail(1)) SWIG_fail
;
4320 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4321 if (SWIG_arg_fail(2)) SWIG_fail
;
4324 arg3
= (int)(SWIG_As_int(obj2
));
4325 if (SWIG_arg_fail(3)) SWIG_fail
;
4330 arg4
= wxString_in_helper(obj3
);
4331 if (arg4
== NULL
) SWIG_fail
;
4338 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4344 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4349 if (! PySequence_Check(obj6
)) {
4350 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4353 arg7
= new wxArrayString
;
4355 int i
, len
=PySequence_Length(obj6
);
4356 for (i
=0; i
<len
; i
++) {
4357 PyObject
* item
= PySequence_GetItem(obj6
, i
);
4358 wxString
* s
= wxString_in_helper(item
);
4359 if (PyErr_Occurred()) SWIG_fail
;
4368 arg8
= (long)(SWIG_As_long(obj7
));
4369 if (SWIG_arg_fail(8)) SWIG_fail
;
4374 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4375 if (SWIG_arg_fail(9)) SWIG_fail
;
4377 SWIG_null_ref("wxValidator");
4379 if (SWIG_arg_fail(9)) SWIG_fail
;
4384 arg10
= wxString_in_helper(obj9
);
4385 if (arg10
== NULL
) SWIG_fail
;
4390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4391 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
);
4393 wxPyEndAllowThreads(__tstate
);
4394 if (PyErr_Occurred()) SWIG_fail
;
4397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4404 if (temp7
) delete arg7
;
4417 if (temp7
) delete arg7
;
4427 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4428 PyObject
*resultobj
;
4429 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4431 PyObject
* obj0
= 0 ;
4433 (char *) "self", NULL
4436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
4437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4438 if (SWIG_arg_fail(1)) SWIG_fail
;
4440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4441 result
= ((wxComboBox
const *)arg1
)->GetValue();
4443 wxPyEndAllowThreads(__tstate
);
4444 if (PyErr_Occurred()) SWIG_fail
;
4448 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4450 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4459 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4460 PyObject
*resultobj
;
4461 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4462 wxString
*arg2
= 0 ;
4463 bool temp2
= false ;
4464 PyObject
* obj0
= 0 ;
4465 PyObject
* obj1
= 0 ;
4467 (char *) "self",(char *) "value", NULL
4470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
4471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4472 if (SWIG_arg_fail(1)) SWIG_fail
;
4474 arg2
= wxString_in_helper(obj1
);
4475 if (arg2
== NULL
) SWIG_fail
;
4479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4480 (arg1
)->SetValue((wxString
const &)*arg2
);
4482 wxPyEndAllowThreads(__tstate
);
4483 if (PyErr_Occurred()) SWIG_fail
;
4485 Py_INCREF(Py_None
); resultobj
= Py_None
;
4500 static PyObject
*_wrap_ComboBox_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4501 PyObject
*resultobj
;
4502 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4503 PyObject
* obj0
= 0 ;
4505 (char *) "self", NULL
4508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
4509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4510 if (SWIG_arg_fail(1)) SWIG_fail
;
4512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4515 wxPyEndAllowThreads(__tstate
);
4516 if (PyErr_Occurred()) SWIG_fail
;
4518 Py_INCREF(Py_None
); resultobj
= Py_None
;
4525 static PyObject
*_wrap_ComboBox_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4526 PyObject
*resultobj
;
4527 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4528 PyObject
* obj0
= 0 ;
4530 (char *) "self", NULL
4533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
4534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4535 if (SWIG_arg_fail(1)) SWIG_fail
;
4537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4540 wxPyEndAllowThreads(__tstate
);
4541 if (PyErr_Occurred()) SWIG_fail
;
4543 Py_INCREF(Py_None
); resultobj
= Py_None
;
4550 static PyObject
*_wrap_ComboBox_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4551 PyObject
*resultobj
;
4552 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4553 PyObject
* obj0
= 0 ;
4555 (char *) "self", NULL
4558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
4559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4560 if (SWIG_arg_fail(1)) SWIG_fail
;
4562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4565 wxPyEndAllowThreads(__tstate
);
4566 if (PyErr_Occurred()) SWIG_fail
;
4568 Py_INCREF(Py_None
); resultobj
= Py_None
;
4575 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4576 PyObject
*resultobj
;
4577 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4579 PyObject
* obj0
= 0 ;
4580 PyObject
* obj1
= 0 ;
4582 (char *) "self",(char *) "pos", NULL
4585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4587 if (SWIG_arg_fail(1)) SWIG_fail
;
4589 arg2
= (long)(SWIG_As_long(obj1
));
4590 if (SWIG_arg_fail(2)) SWIG_fail
;
4593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4594 (arg1
)->SetInsertionPoint(arg2
);
4596 wxPyEndAllowThreads(__tstate
);
4597 if (PyErr_Occurred()) SWIG_fail
;
4599 Py_INCREF(Py_None
); resultobj
= Py_None
;
4606 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4607 PyObject
*resultobj
;
4608 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4610 PyObject
* obj0
= 0 ;
4612 (char *) "self", NULL
4615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
4616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4617 if (SWIG_arg_fail(1)) SWIG_fail
;
4619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4620 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
4622 wxPyEndAllowThreads(__tstate
);
4623 if (PyErr_Occurred()) SWIG_fail
;
4626 resultobj
= SWIG_From_long((long)(result
));
4634 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4635 PyObject
*resultobj
;
4636 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4638 PyObject
* obj0
= 0 ;
4640 (char *) "self", NULL
4643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
4644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4645 if (SWIG_arg_fail(1)) SWIG_fail
;
4647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4648 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
4650 wxPyEndAllowThreads(__tstate
);
4651 if (PyErr_Occurred()) SWIG_fail
;
4654 resultobj
= SWIG_From_long((long)(result
));
4662 static PyObject
*_wrap_ComboBox_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4663 PyObject
*resultobj
;
4664 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4667 wxString
*arg4
= 0 ;
4668 bool temp4
= false ;
4669 PyObject
* obj0
= 0 ;
4670 PyObject
* obj1
= 0 ;
4671 PyObject
* obj2
= 0 ;
4672 PyObject
* obj3
= 0 ;
4674 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
4677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4679 if (SWIG_arg_fail(1)) SWIG_fail
;
4681 arg2
= (long)(SWIG_As_long(obj1
));
4682 if (SWIG_arg_fail(2)) SWIG_fail
;
4685 arg3
= (long)(SWIG_As_long(obj2
));
4686 if (SWIG_arg_fail(3)) SWIG_fail
;
4689 arg4
= wxString_in_helper(obj3
);
4690 if (arg4
== NULL
) SWIG_fail
;
4694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4695 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
4697 wxPyEndAllowThreads(__tstate
);
4698 if (PyErr_Occurred()) SWIG_fail
;
4700 Py_INCREF(Py_None
); resultobj
= Py_None
;
4715 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4716 PyObject
*resultobj
;
4717 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4719 PyObject
* obj0
= 0 ;
4720 PyObject
* obj1
= 0 ;
4722 (char *) "self",(char *) "n", NULL
4725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
4726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4727 if (SWIG_arg_fail(1)) SWIG_fail
;
4729 arg2
= (int)(SWIG_As_int(obj1
));
4730 if (SWIG_arg_fail(2)) SWIG_fail
;
4733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4734 (arg1
)->SetSelection(arg2
);
4736 wxPyEndAllowThreads(__tstate
);
4737 if (PyErr_Occurred()) SWIG_fail
;
4739 Py_INCREF(Py_None
); resultobj
= Py_None
;
4746 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4747 PyObject
*resultobj
;
4748 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4751 PyObject
* obj0
= 0 ;
4752 PyObject
* obj1
= 0 ;
4753 PyObject
* obj2
= 0 ;
4755 (char *) "self",(char *) "from",(char *) "to", NULL
4758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4760 if (SWIG_arg_fail(1)) SWIG_fail
;
4762 arg2
= (long)(SWIG_As_long(obj1
));
4763 if (SWIG_arg_fail(2)) SWIG_fail
;
4766 arg3
= (long)(SWIG_As_long(obj2
));
4767 if (SWIG_arg_fail(3)) SWIG_fail
;
4770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4771 (arg1
)->SetSelection(arg2
,arg3
);
4773 wxPyEndAllowThreads(__tstate
);
4774 if (PyErr_Occurred()) SWIG_fail
;
4776 Py_INCREF(Py_None
); resultobj
= Py_None
;
4783 static PyObject
*_wrap_ComboBox_GetMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4784 PyObject
*resultobj
;
4785 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4786 long *arg2
= (long *) 0 ;
4787 long *arg3
= (long *) 0 ;
4792 PyObject
* obj0
= 0 ;
4794 (char *) "self", NULL
4797 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4798 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
4799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetMark",kwnames
,&obj0
)) goto fail
;
4800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4801 if (SWIG_arg_fail(1)) SWIG_fail
;
4803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4804 (arg1
)->GetSelection(arg2
,arg3
);
4806 wxPyEndAllowThreads(__tstate
);
4807 if (PyErr_Occurred()) SWIG_fail
;
4809 Py_INCREF(Py_None
); resultobj
= Py_None
;
4810 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4811 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
4812 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
4813 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
4820 static PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4821 PyObject
*resultobj
;
4822 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4823 wxString
*arg2
= 0 ;
4825 bool temp2
= false ;
4826 PyObject
* obj0
= 0 ;
4827 PyObject
* obj1
= 0 ;
4829 (char *) "self",(char *) "string", NULL
4832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
4833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4834 if (SWIG_arg_fail(1)) SWIG_fail
;
4836 arg2
= wxString_in_helper(obj1
);
4837 if (arg2
== NULL
) SWIG_fail
;
4841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4842 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
4844 wxPyEndAllowThreads(__tstate
);
4845 if (PyErr_Occurred()) SWIG_fail
;
4848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4864 static PyObject
*_wrap_ComboBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4865 PyObject
*resultobj
;
4866 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4868 wxString
*arg3
= 0 ;
4869 bool temp3
= false ;
4870 PyObject
* obj0
= 0 ;
4871 PyObject
* obj1
= 0 ;
4872 PyObject
* obj2
= 0 ;
4874 (char *) "self",(char *) "n",(char *) "string", NULL
4877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4879 if (SWIG_arg_fail(1)) SWIG_fail
;
4881 arg2
= (int)(SWIG_As_int(obj1
));
4882 if (SWIG_arg_fail(2)) SWIG_fail
;
4885 arg3
= wxString_in_helper(obj2
);
4886 if (arg3
== NULL
) SWIG_fail
;
4890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4891 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
4893 wxPyEndAllowThreads(__tstate
);
4894 if (PyErr_Occurred()) SWIG_fail
;
4896 Py_INCREF(Py_None
); resultobj
= Py_None
;
4911 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4912 PyObject
*resultobj
;
4913 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4915 PyObject
* obj0
= 0 ;
4916 PyObject
* obj1
= 0 ;
4918 (char *) "self",(char *) "editable", NULL
4921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
4922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4923 if (SWIG_arg_fail(1)) SWIG_fail
;
4925 arg2
= (bool)(SWIG_As_bool(obj1
));
4926 if (SWIG_arg_fail(2)) SWIG_fail
;
4929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4930 (arg1
)->SetEditable(arg2
);
4932 wxPyEndAllowThreads(__tstate
);
4933 if (PyErr_Occurred()) SWIG_fail
;
4935 Py_INCREF(Py_None
); resultobj
= Py_None
;
4942 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4943 PyObject
*resultobj
;
4944 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4945 PyObject
* obj0
= 0 ;
4947 (char *) "self", NULL
4950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
4951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4952 if (SWIG_arg_fail(1)) SWIG_fail
;
4954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4955 (arg1
)->SetInsertionPointEnd();
4957 wxPyEndAllowThreads(__tstate
);
4958 if (PyErr_Occurred()) SWIG_fail
;
4960 Py_INCREF(Py_None
); resultobj
= Py_None
;
4967 static PyObject
*_wrap_ComboBox_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4968 PyObject
*resultobj
;
4969 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4972 PyObject
* obj0
= 0 ;
4973 PyObject
* obj1
= 0 ;
4974 PyObject
* obj2
= 0 ;
4976 (char *) "self",(char *) "from",(char *) "to", NULL
4979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4981 if (SWIG_arg_fail(1)) SWIG_fail
;
4983 arg2
= (long)(SWIG_As_long(obj1
));
4984 if (SWIG_arg_fail(2)) SWIG_fail
;
4987 arg3
= (long)(SWIG_As_long(obj2
));
4988 if (SWIG_arg_fail(3)) SWIG_fail
;
4991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4992 (arg1
)->Remove(arg2
,arg3
);
4994 wxPyEndAllowThreads(__tstate
);
4995 if (PyErr_Occurred()) SWIG_fail
;
4997 Py_INCREF(Py_None
); resultobj
= Py_None
;
5004 static PyObject
*_wrap_ComboBox_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5005 PyObject
*resultobj
;
5006 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5008 PyObject
* obj0
= 0 ;
5010 (char *) "self", NULL
5013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_IsEditable",kwnames
,&obj0
)) goto fail
;
5014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5015 if (SWIG_arg_fail(1)) SWIG_fail
;
5017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5018 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
5020 wxPyEndAllowThreads(__tstate
);
5021 if (PyErr_Occurred()) SWIG_fail
;
5024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5032 static PyObject
*_wrap_ComboBox_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5033 PyObject
*resultobj
;
5034 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5035 PyObject
* obj0
= 0 ;
5037 (char *) "self", NULL
5040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Undo",kwnames
,&obj0
)) goto fail
;
5041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5042 if (SWIG_arg_fail(1)) SWIG_fail
;
5044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5047 wxPyEndAllowThreads(__tstate
);
5048 if (PyErr_Occurred()) SWIG_fail
;
5050 Py_INCREF(Py_None
); resultobj
= Py_None
;
5057 static PyObject
*_wrap_ComboBox_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5058 PyObject
*resultobj
;
5059 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5060 PyObject
* obj0
= 0 ;
5062 (char *) "self", NULL
5065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Redo",kwnames
,&obj0
)) goto fail
;
5066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5067 if (SWIG_arg_fail(1)) SWIG_fail
;
5069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5072 wxPyEndAllowThreads(__tstate
);
5073 if (PyErr_Occurred()) SWIG_fail
;
5075 Py_INCREF(Py_None
); resultobj
= Py_None
;
5082 static PyObject
*_wrap_ComboBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5083 PyObject
*resultobj
;
5084 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5085 PyObject
* obj0
= 0 ;
5087 (char *) "self", NULL
5090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SelectAll",kwnames
,&obj0
)) goto fail
;
5091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5092 if (SWIG_arg_fail(1)) SWIG_fail
;
5094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5095 (arg1
)->SelectAll();
5097 wxPyEndAllowThreads(__tstate
);
5098 if (PyErr_Occurred()) SWIG_fail
;
5100 Py_INCREF(Py_None
); resultobj
= Py_None
;
5107 static PyObject
*_wrap_ComboBox_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5108 PyObject
*resultobj
;
5109 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5111 PyObject
* obj0
= 0 ;
5113 (char *) "self", NULL
5116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanCopy",kwnames
,&obj0
)) goto fail
;
5117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5118 if (SWIG_arg_fail(1)) SWIG_fail
;
5120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5121 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
5123 wxPyEndAllowThreads(__tstate
);
5124 if (PyErr_Occurred()) SWIG_fail
;
5127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5135 static PyObject
*_wrap_ComboBox_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5136 PyObject
*resultobj
;
5137 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5139 PyObject
* obj0
= 0 ;
5141 (char *) "self", NULL
5144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanCut",kwnames
,&obj0
)) goto fail
;
5145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5146 if (SWIG_arg_fail(1)) SWIG_fail
;
5148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5149 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
5151 wxPyEndAllowThreads(__tstate
);
5152 if (PyErr_Occurred()) SWIG_fail
;
5155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5163 static PyObject
*_wrap_ComboBox_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5164 PyObject
*resultobj
;
5165 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5167 PyObject
* obj0
= 0 ;
5169 (char *) "self", NULL
5172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanPaste",kwnames
,&obj0
)) goto fail
;
5173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5174 if (SWIG_arg_fail(1)) SWIG_fail
;
5176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5177 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
5179 wxPyEndAllowThreads(__tstate
);
5180 if (PyErr_Occurred()) SWIG_fail
;
5183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5191 static PyObject
*_wrap_ComboBox_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5192 PyObject
*resultobj
;
5193 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5195 PyObject
* obj0
= 0 ;
5197 (char *) "self", NULL
5200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanUndo",kwnames
,&obj0
)) goto fail
;
5201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5202 if (SWIG_arg_fail(1)) SWIG_fail
;
5204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5205 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
5207 wxPyEndAllowThreads(__tstate
);
5208 if (PyErr_Occurred()) SWIG_fail
;
5211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5219 static PyObject
*_wrap_ComboBox_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5220 PyObject
*resultobj
;
5221 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5223 PyObject
* obj0
= 0 ;
5225 (char *) "self", NULL
5228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanRedo",kwnames
,&obj0
)) goto fail
;
5229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5230 if (SWIG_arg_fail(1)) SWIG_fail
;
5232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5233 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
5235 wxPyEndAllowThreads(__tstate
);
5236 if (PyErr_Occurred()) SWIG_fail
;
5239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5247 static PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5248 PyObject
*resultobj
;
5249 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5250 wxVisualAttributes result
;
5251 PyObject
* obj0
= 0 ;
5253 (char *) "variant", NULL
5256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5259 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
5260 if (SWIG_arg_fail(1)) SWIG_fail
;
5264 if (!wxPyCheckForApp()) SWIG_fail
;
5265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5266 result
= wxComboBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5268 wxPyEndAllowThreads(__tstate
);
5269 if (PyErr_Occurred()) SWIG_fail
;
5272 wxVisualAttributes
* resultptr
;
5273 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
5274 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5282 static PyObject
* ComboBox_swigregister(PyObject
*, PyObject
*args
) {
5284 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5285 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
5287 return Py_BuildValue((char *)"");
5289 static int _wrap_GaugeNameStr_set(PyObject
*) {
5290 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
5295 static PyObject
*_wrap_GaugeNameStr_get(void) {
5300 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
5302 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
5309 static PyObject
*_wrap_new_Gauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5310 PyObject
*resultobj
;
5311 wxWindow
*arg1
= (wxWindow
*) 0 ;
5312 int arg2
= (int) -1 ;
5313 int arg3
= (int) 100 ;
5314 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5315 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5316 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5317 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5318 long arg6
= (long) wxGA_HORIZONTAL
;
5319 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5320 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5321 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
5322 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5326 bool temp8
= false ;
5327 PyObject
* obj0
= 0 ;
5328 PyObject
* obj1
= 0 ;
5329 PyObject
* obj2
= 0 ;
5330 PyObject
* obj3
= 0 ;
5331 PyObject
* obj4
= 0 ;
5332 PyObject
* obj5
= 0 ;
5333 PyObject
* obj6
= 0 ;
5334 PyObject
* obj7
= 0 ;
5336 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5341 if (SWIG_arg_fail(1)) SWIG_fail
;
5344 arg2
= (int)(SWIG_As_int(obj1
));
5345 if (SWIG_arg_fail(2)) SWIG_fail
;
5350 arg3
= (int)(SWIG_As_int(obj2
));
5351 if (SWIG_arg_fail(3)) SWIG_fail
;
5357 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5363 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5368 arg6
= (long)(SWIG_As_long(obj5
));
5369 if (SWIG_arg_fail(6)) SWIG_fail
;
5374 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
5375 if (SWIG_arg_fail(7)) SWIG_fail
;
5377 SWIG_null_ref("wxValidator");
5379 if (SWIG_arg_fail(7)) SWIG_fail
;
5384 arg8
= wxString_in_helper(obj7
);
5385 if (arg8
== NULL
) SWIG_fail
;
5390 if (!wxPyCheckForApp()) SWIG_fail
;
5391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5392 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5394 wxPyEndAllowThreads(__tstate
);
5395 if (PyErr_Occurred()) SWIG_fail
;
5397 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
5412 static PyObject
*_wrap_new_PreGauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5413 PyObject
*resultobj
;
5419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
5421 if (!wxPyCheckForApp()) SWIG_fail
;
5422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5423 result
= (wxGauge
*)new wxGauge();
5425 wxPyEndAllowThreads(__tstate
);
5426 if (PyErr_Occurred()) SWIG_fail
;
5428 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
5435 static PyObject
*_wrap_Gauge_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5436 PyObject
*resultobj
;
5437 wxGauge
*arg1
= (wxGauge
*) 0 ;
5438 wxWindow
*arg2
= (wxWindow
*) 0 ;
5439 int arg3
= (int) -1 ;
5440 int arg4
= (int) 100 ;
5441 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5442 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5443 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5444 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5445 long arg7
= (long) wxGA_HORIZONTAL
;
5446 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5447 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5448 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
5449 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5453 bool temp9
= false ;
5454 PyObject
* obj0
= 0 ;
5455 PyObject
* obj1
= 0 ;
5456 PyObject
* obj2
= 0 ;
5457 PyObject
* obj3
= 0 ;
5458 PyObject
* obj4
= 0 ;
5459 PyObject
* obj5
= 0 ;
5460 PyObject
* obj6
= 0 ;
5461 PyObject
* obj7
= 0 ;
5462 PyObject
* obj8
= 0 ;
5464 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5469 if (SWIG_arg_fail(1)) SWIG_fail
;
5470 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5471 if (SWIG_arg_fail(2)) SWIG_fail
;
5474 arg3
= (int)(SWIG_As_int(obj2
));
5475 if (SWIG_arg_fail(3)) SWIG_fail
;
5480 arg4
= (int)(SWIG_As_int(obj3
));
5481 if (SWIG_arg_fail(4)) SWIG_fail
;
5487 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5493 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5498 arg7
= (long)(SWIG_As_long(obj6
));
5499 if (SWIG_arg_fail(7)) SWIG_fail
;
5504 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
5505 if (SWIG_arg_fail(8)) SWIG_fail
;
5507 SWIG_null_ref("wxValidator");
5509 if (SWIG_arg_fail(8)) SWIG_fail
;
5514 arg9
= wxString_in_helper(obj8
);
5515 if (arg9
== NULL
) SWIG_fail
;
5520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5521 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5523 wxPyEndAllowThreads(__tstate
);
5524 if (PyErr_Occurred()) SWIG_fail
;
5527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5543 static PyObject
*_wrap_Gauge_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5544 PyObject
*resultobj
;
5545 wxGauge
*arg1
= (wxGauge
*) 0 ;
5547 PyObject
* obj0
= 0 ;
5548 PyObject
* obj1
= 0 ;
5550 (char *) "self",(char *) "range", NULL
5553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
5554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5555 if (SWIG_arg_fail(1)) SWIG_fail
;
5557 arg2
= (int)(SWIG_As_int(obj1
));
5558 if (SWIG_arg_fail(2)) SWIG_fail
;
5561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5562 (arg1
)->SetRange(arg2
);
5564 wxPyEndAllowThreads(__tstate
);
5565 if (PyErr_Occurred()) SWIG_fail
;
5567 Py_INCREF(Py_None
); resultobj
= Py_None
;
5574 static PyObject
*_wrap_Gauge_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5575 PyObject
*resultobj
;
5576 wxGauge
*arg1
= (wxGauge
*) 0 ;
5578 PyObject
* obj0
= 0 ;
5580 (char *) "self", NULL
5583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
5584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5585 if (SWIG_arg_fail(1)) SWIG_fail
;
5587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5588 result
= (int)((wxGauge
const *)arg1
)->GetRange();
5590 wxPyEndAllowThreads(__tstate
);
5591 if (PyErr_Occurred()) SWIG_fail
;
5594 resultobj
= SWIG_From_int((int)(result
));
5602 static PyObject
*_wrap_Gauge_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5603 PyObject
*resultobj
;
5604 wxGauge
*arg1
= (wxGauge
*) 0 ;
5606 PyObject
* obj0
= 0 ;
5607 PyObject
* obj1
= 0 ;
5609 (char *) "self",(char *) "pos", NULL
5612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
5613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5614 if (SWIG_arg_fail(1)) SWIG_fail
;
5616 arg2
= (int)(SWIG_As_int(obj1
));
5617 if (SWIG_arg_fail(2)) SWIG_fail
;
5620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5621 (arg1
)->SetValue(arg2
);
5623 wxPyEndAllowThreads(__tstate
);
5624 if (PyErr_Occurred()) SWIG_fail
;
5626 Py_INCREF(Py_None
); resultobj
= Py_None
;
5633 static PyObject
*_wrap_Gauge_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5634 PyObject
*resultobj
;
5635 wxGauge
*arg1
= (wxGauge
*) 0 ;
5637 PyObject
* obj0
= 0 ;
5639 (char *) "self", NULL
5642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
5643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5644 if (SWIG_arg_fail(1)) SWIG_fail
;
5646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5647 result
= (int)((wxGauge
const *)arg1
)->GetValue();
5649 wxPyEndAllowThreads(__tstate
);
5650 if (PyErr_Occurred()) SWIG_fail
;
5653 resultobj
= SWIG_From_int((int)(result
));
5661 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5662 PyObject
*resultobj
;
5663 wxGauge
*arg1
= (wxGauge
*) 0 ;
5665 PyObject
* obj0
= 0 ;
5667 (char *) "self", NULL
5670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
5671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5672 if (SWIG_arg_fail(1)) SWIG_fail
;
5674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5675 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
5677 wxPyEndAllowThreads(__tstate
);
5678 if (PyErr_Occurred()) SWIG_fail
;
5681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5689 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5690 PyObject
*resultobj
;
5691 wxGauge
*arg1
= (wxGauge
*) 0 ;
5693 PyObject
* obj0
= 0 ;
5694 PyObject
* obj1
= 0 ;
5696 (char *) "self",(char *) "w", NULL
5699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) 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 arg2
= (int)(SWIG_As_int(obj1
));
5704 if (SWIG_arg_fail(2)) SWIG_fail
;
5707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5708 (arg1
)->SetShadowWidth(arg2
);
5710 wxPyEndAllowThreads(__tstate
);
5711 if (PyErr_Occurred()) SWIG_fail
;
5713 Py_INCREF(Py_None
); resultobj
= Py_None
;
5720 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5721 PyObject
*resultobj
;
5722 wxGauge
*arg1
= (wxGauge
*) 0 ;
5724 PyObject
* obj0
= 0 ;
5726 (char *) "self", NULL
5729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
5730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5731 if (SWIG_arg_fail(1)) SWIG_fail
;
5733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5734 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
5736 wxPyEndAllowThreads(__tstate
);
5737 if (PyErr_Occurred()) SWIG_fail
;
5740 resultobj
= SWIG_From_int((int)(result
));
5748 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5749 PyObject
*resultobj
;
5750 wxGauge
*arg1
= (wxGauge
*) 0 ;
5752 PyObject
* obj0
= 0 ;
5753 PyObject
* obj1
= 0 ;
5755 (char *) "self",(char *) "w", NULL
5758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
5759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5760 if (SWIG_arg_fail(1)) SWIG_fail
;
5762 arg2
= (int)(SWIG_As_int(obj1
));
5763 if (SWIG_arg_fail(2)) SWIG_fail
;
5766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5767 (arg1
)->SetBezelFace(arg2
);
5769 wxPyEndAllowThreads(__tstate
);
5770 if (PyErr_Occurred()) SWIG_fail
;
5772 Py_INCREF(Py_None
); resultobj
= Py_None
;
5779 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5780 PyObject
*resultobj
;
5781 wxGauge
*arg1
= (wxGauge
*) 0 ;
5783 PyObject
* obj0
= 0 ;
5785 (char *) "self", NULL
5788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
5789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5790 if (SWIG_arg_fail(1)) SWIG_fail
;
5792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5793 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
5795 wxPyEndAllowThreads(__tstate
);
5796 if (PyErr_Occurred()) SWIG_fail
;
5799 resultobj
= SWIG_From_int((int)(result
));
5807 static PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5808 PyObject
*resultobj
;
5809 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5810 wxVisualAttributes result
;
5811 PyObject
* obj0
= 0 ;
5813 (char *) "variant", NULL
5816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5819 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
5820 if (SWIG_arg_fail(1)) SWIG_fail
;
5824 if (!wxPyCheckForApp()) SWIG_fail
;
5825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5826 result
= wxGauge::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5828 wxPyEndAllowThreads(__tstate
);
5829 if (PyErr_Occurred()) SWIG_fail
;
5832 wxVisualAttributes
* resultptr
;
5833 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
5834 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5842 static PyObject
* Gauge_swigregister(PyObject
*, PyObject
*args
) {
5844 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5845 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
5847 return Py_BuildValue((char *)"");
5849 static int _wrap_StaticBitmapNameStr_set(PyObject
*) {
5850 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
5855 static PyObject
*_wrap_StaticBitmapNameStr_get(void) {
5860 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
5862 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
5869 static int _wrap_StaticBoxNameStr_set(PyObject
*) {
5870 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
5875 static PyObject
*_wrap_StaticBoxNameStr_get(void) {
5880 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
5882 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
5889 static int _wrap_StaticTextNameStr_set(PyObject
*) {
5890 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
5895 static PyObject
*_wrap_StaticTextNameStr_get(void) {
5900 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
5902 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
5909 static PyObject
*_wrap_new_StaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5910 PyObject
*resultobj
;
5911 wxWindow
*arg1
= (wxWindow
*) 0 ;
5912 int arg2
= (int) -1 ;
5913 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5914 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5915 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5916 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5917 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5918 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5919 long arg6
= (long) 0 ;
5920 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
5921 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5922 wxStaticBox
*result
;
5923 bool temp3
= false ;
5926 bool temp7
= false ;
5927 PyObject
* obj0
= 0 ;
5928 PyObject
* obj1
= 0 ;
5929 PyObject
* obj2
= 0 ;
5930 PyObject
* obj3
= 0 ;
5931 PyObject
* obj4
= 0 ;
5932 PyObject
* obj5
= 0 ;
5933 PyObject
* obj6
= 0 ;
5935 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5940 if (SWIG_arg_fail(1)) SWIG_fail
;
5943 arg2
= (int)(SWIG_As_int(obj1
));
5944 if (SWIG_arg_fail(2)) SWIG_fail
;
5949 arg3
= wxString_in_helper(obj2
);
5950 if (arg3
== NULL
) SWIG_fail
;
5957 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5963 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5968 arg6
= (long)(SWIG_As_long(obj5
));
5969 if (SWIG_arg_fail(6)) SWIG_fail
;
5974 arg7
= wxString_in_helper(obj6
);
5975 if (arg7
== NULL
) SWIG_fail
;
5980 if (!wxPyCheckForApp()) SWIG_fail
;
5981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5982 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5984 wxPyEndAllowThreads(__tstate
);
5985 if (PyErr_Occurred()) SWIG_fail
;
5987 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
6010 static PyObject
*_wrap_new_PreStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6011 PyObject
*resultobj
;
6012 wxStaticBox
*result
;
6017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
6019 if (!wxPyCheckForApp()) SWIG_fail
;
6020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6021 result
= (wxStaticBox
*)new wxStaticBox();
6023 wxPyEndAllowThreads(__tstate
);
6024 if (PyErr_Occurred()) SWIG_fail
;
6026 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
6033 static PyObject
*_wrap_StaticBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6034 PyObject
*resultobj
;
6035 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
6036 wxWindow
*arg2
= (wxWindow
*) 0 ;
6037 int arg3
= (int) -1 ;
6038 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6039 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6040 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6041 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6042 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6043 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6044 long arg7
= (long) 0 ;
6045 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
6046 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6048 bool temp4
= false ;
6051 bool temp8
= false ;
6052 PyObject
* obj0
= 0 ;
6053 PyObject
* obj1
= 0 ;
6054 PyObject
* obj2
= 0 ;
6055 PyObject
* obj3
= 0 ;
6056 PyObject
* obj4
= 0 ;
6057 PyObject
* obj5
= 0 ;
6058 PyObject
* obj6
= 0 ;
6059 PyObject
* obj7
= 0 ;
6061 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
6066 if (SWIG_arg_fail(1)) SWIG_fail
;
6067 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6068 if (SWIG_arg_fail(2)) SWIG_fail
;
6071 arg3
= (int)(SWIG_As_int(obj2
));
6072 if (SWIG_arg_fail(3)) SWIG_fail
;
6077 arg4
= wxString_in_helper(obj3
);
6078 if (arg4
== NULL
) SWIG_fail
;
6085 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6091 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6096 arg7
= (long)(SWIG_As_long(obj6
));
6097 if (SWIG_arg_fail(7)) SWIG_fail
;
6102 arg8
= wxString_in_helper(obj7
);
6103 if (arg8
== NULL
) SWIG_fail
;
6108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6109 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6111 wxPyEndAllowThreads(__tstate
);
6112 if (PyErr_Occurred()) SWIG_fail
;
6115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6139 static PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6140 PyObject
*resultobj
;
6141 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6142 wxVisualAttributes result
;
6143 PyObject
* obj0
= 0 ;
6145 (char *) "variant", NULL
6148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6151 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6152 if (SWIG_arg_fail(1)) SWIG_fail
;
6156 if (!wxPyCheckForApp()) SWIG_fail
;
6157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6158 result
= wxStaticBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6160 wxPyEndAllowThreads(__tstate
);
6161 if (PyErr_Occurred()) SWIG_fail
;
6164 wxVisualAttributes
* resultptr
;
6165 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6166 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6174 static PyObject
* StaticBox_swigregister(PyObject
*, PyObject
*args
) {
6176 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6177 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
6179 return Py_BuildValue((char *)"");
6181 static PyObject
*_wrap_new_StaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6182 PyObject
*resultobj
;
6183 wxWindow
*arg1
= (wxWindow
*) 0 ;
6184 int arg2
= (int) -1 ;
6185 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6186 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6187 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6188 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6189 long arg5
= (long) wxLI_HORIZONTAL
;
6190 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
6191 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6192 wxStaticLine
*result
;
6195 bool temp6
= false ;
6196 PyObject
* obj0
= 0 ;
6197 PyObject
* obj1
= 0 ;
6198 PyObject
* obj2
= 0 ;
6199 PyObject
* obj3
= 0 ;
6200 PyObject
* obj4
= 0 ;
6201 PyObject
* obj5
= 0 ;
6203 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6208 if (SWIG_arg_fail(1)) SWIG_fail
;
6211 arg2
= (int)(SWIG_As_int(obj1
));
6212 if (SWIG_arg_fail(2)) SWIG_fail
;
6218 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6224 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6229 arg5
= (long)(SWIG_As_long(obj4
));
6230 if (SWIG_arg_fail(5)) SWIG_fail
;
6235 arg6
= wxString_in_helper(obj5
);
6236 if (arg6
== NULL
) SWIG_fail
;
6241 if (!wxPyCheckForApp()) SWIG_fail
;
6242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6243 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6245 wxPyEndAllowThreads(__tstate
);
6246 if (PyErr_Occurred()) SWIG_fail
;
6248 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
6263 static PyObject
*_wrap_new_PreStaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6264 PyObject
*resultobj
;
6265 wxStaticLine
*result
;
6270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
6272 if (!wxPyCheckForApp()) SWIG_fail
;
6273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6274 result
= (wxStaticLine
*)new wxStaticLine();
6276 wxPyEndAllowThreads(__tstate
);
6277 if (PyErr_Occurred()) SWIG_fail
;
6279 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
6286 static PyObject
*_wrap_StaticLine_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6287 PyObject
*resultobj
;
6288 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
6289 wxWindow
*arg2
= (wxWindow
*) 0 ;
6290 int arg3
= (int) -1 ;
6291 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6292 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6293 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6294 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6295 long arg6
= (long) wxLI_HORIZONTAL
;
6296 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
6297 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6301 bool temp7
= false ;
6302 PyObject
* obj0
= 0 ;
6303 PyObject
* obj1
= 0 ;
6304 PyObject
* obj2
= 0 ;
6305 PyObject
* obj3
= 0 ;
6306 PyObject
* obj4
= 0 ;
6307 PyObject
* obj5
= 0 ;
6308 PyObject
* obj6
= 0 ;
6310 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_EXCEPTION
| 0);
6315 if (SWIG_arg_fail(1)) SWIG_fail
;
6316 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6317 if (SWIG_arg_fail(2)) SWIG_fail
;
6320 arg3
= (int)(SWIG_As_int(obj2
));
6321 if (SWIG_arg_fail(3)) SWIG_fail
;
6327 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6333 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6338 arg6
= (long)(SWIG_As_long(obj5
));
6339 if (SWIG_arg_fail(6)) SWIG_fail
;
6344 arg7
= wxString_in_helper(obj6
);
6345 if (arg7
== NULL
) SWIG_fail
;
6350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6351 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6353 wxPyEndAllowThreads(__tstate
);
6354 if (PyErr_Occurred()) SWIG_fail
;
6357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6373 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6374 PyObject
*resultobj
;
6375 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
6377 PyObject
* obj0
= 0 ;
6379 (char *) "self", NULL
6382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
6383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_EXCEPTION
| 0);
6384 if (SWIG_arg_fail(1)) SWIG_fail
;
6386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6387 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
6389 wxPyEndAllowThreads(__tstate
);
6390 if (PyErr_Occurred()) SWIG_fail
;
6393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6401 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6402 PyObject
*resultobj
;
6408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
6410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6411 result
= (int)wxStaticLine::GetDefaultSize();
6413 wxPyEndAllowThreads(__tstate
);
6414 if (PyErr_Occurred()) SWIG_fail
;
6417 resultobj
= SWIG_From_int((int)(result
));
6425 static PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6426 PyObject
*resultobj
;
6427 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6428 wxVisualAttributes result
;
6429 PyObject
* obj0
= 0 ;
6431 (char *) "variant", NULL
6434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6437 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6438 if (SWIG_arg_fail(1)) SWIG_fail
;
6442 if (!wxPyCheckForApp()) SWIG_fail
;
6443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6444 result
= wxStaticLine::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6446 wxPyEndAllowThreads(__tstate
);
6447 if (PyErr_Occurred()) SWIG_fail
;
6450 wxVisualAttributes
* resultptr
;
6451 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6452 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6460 static PyObject
* StaticLine_swigregister(PyObject
*, PyObject
*args
) {
6462 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6463 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
6465 return Py_BuildValue((char *)"");
6467 static PyObject
*_wrap_new_StaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6468 PyObject
*resultobj
;
6469 wxWindow
*arg1
= (wxWindow
*) 0 ;
6470 int arg2
= (int) -1 ;
6471 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6472 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6473 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6474 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6475 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6476 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6477 long arg6
= (long) 0 ;
6478 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
6479 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6480 wxStaticText
*result
;
6481 bool temp3
= false ;
6484 bool temp7
= false ;
6485 PyObject
* obj0
= 0 ;
6486 PyObject
* obj1
= 0 ;
6487 PyObject
* obj2
= 0 ;
6488 PyObject
* obj3
= 0 ;
6489 PyObject
* obj4
= 0 ;
6490 PyObject
* obj5
= 0 ;
6491 PyObject
* obj6
= 0 ;
6493 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6498 if (SWIG_arg_fail(1)) SWIG_fail
;
6501 arg2
= (int)(SWIG_As_int(obj1
));
6502 if (SWIG_arg_fail(2)) SWIG_fail
;
6507 arg3
= wxString_in_helper(obj2
);
6508 if (arg3
== NULL
) SWIG_fail
;
6515 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6521 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6526 arg6
= (long)(SWIG_As_long(obj5
));
6527 if (SWIG_arg_fail(6)) SWIG_fail
;
6532 arg7
= wxString_in_helper(obj6
);
6533 if (arg7
== NULL
) SWIG_fail
;
6538 if (!wxPyCheckForApp()) SWIG_fail
;
6539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6540 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6542 wxPyEndAllowThreads(__tstate
);
6543 if (PyErr_Occurred()) SWIG_fail
;
6545 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
6568 static PyObject
*_wrap_new_PreStaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6569 PyObject
*resultobj
;
6570 wxStaticText
*result
;
6575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
6577 if (!wxPyCheckForApp()) SWIG_fail
;
6578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6579 result
= (wxStaticText
*)new wxStaticText();
6581 wxPyEndAllowThreads(__tstate
);
6582 if (PyErr_Occurred()) SWIG_fail
;
6584 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
6591 static PyObject
*_wrap_StaticText_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6592 PyObject
*resultobj
;
6593 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
6594 wxWindow
*arg2
= (wxWindow
*) 0 ;
6595 int arg3
= (int) -1 ;
6596 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6597 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6598 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6599 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6600 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6601 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6602 long arg7
= (long) 0 ;
6603 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
6604 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6606 bool temp4
= false ;
6609 bool temp8
= false ;
6610 PyObject
* obj0
= 0 ;
6611 PyObject
* obj1
= 0 ;
6612 PyObject
* obj2
= 0 ;
6613 PyObject
* obj3
= 0 ;
6614 PyObject
* obj4
= 0 ;
6615 PyObject
* obj5
= 0 ;
6616 PyObject
* obj6
= 0 ;
6617 PyObject
* obj7
= 0 ;
6619 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticText
, SWIG_POINTER_EXCEPTION
| 0);
6624 if (SWIG_arg_fail(1)) SWIG_fail
;
6625 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6626 if (SWIG_arg_fail(2)) SWIG_fail
;
6629 arg3
= (int)(SWIG_As_int(obj2
));
6630 if (SWIG_arg_fail(3)) SWIG_fail
;
6635 arg4
= wxString_in_helper(obj3
);
6636 if (arg4
== NULL
) SWIG_fail
;
6643 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6649 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6654 arg7
= (long)(SWIG_As_long(obj6
));
6655 if (SWIG_arg_fail(7)) SWIG_fail
;
6660 arg8
= wxString_in_helper(obj7
);
6661 if (arg8
== NULL
) SWIG_fail
;
6666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6667 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6669 wxPyEndAllowThreads(__tstate
);
6670 if (PyErr_Occurred()) SWIG_fail
;
6673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6697 static PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6698 PyObject
*resultobj
;
6699 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6700 wxVisualAttributes result
;
6701 PyObject
* obj0
= 0 ;
6703 (char *) "variant", NULL
6706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6709 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6710 if (SWIG_arg_fail(1)) SWIG_fail
;
6714 if (!wxPyCheckForApp()) SWIG_fail
;
6715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6716 result
= wxStaticText::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6718 wxPyEndAllowThreads(__tstate
);
6719 if (PyErr_Occurred()) SWIG_fail
;
6722 wxVisualAttributes
* resultptr
;
6723 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6724 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6732 static PyObject
* StaticText_swigregister(PyObject
*, PyObject
*args
) {
6734 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6735 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
6737 return Py_BuildValue((char *)"");
6739 static PyObject
*_wrap_new_StaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6740 PyObject
*resultobj
;
6741 wxWindow
*arg1
= (wxWindow
*) 0 ;
6742 int arg2
= (int) -1 ;
6743 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
6744 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
6745 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6746 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6747 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6748 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6749 long arg6
= (long) 0 ;
6750 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
6751 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6752 wxStaticBitmap
*result
;
6755 bool temp7
= false ;
6756 PyObject
* obj0
= 0 ;
6757 PyObject
* obj1
= 0 ;
6758 PyObject
* obj2
= 0 ;
6759 PyObject
* obj3
= 0 ;
6760 PyObject
* obj4
= 0 ;
6761 PyObject
* obj5
= 0 ;
6762 PyObject
* obj6
= 0 ;
6764 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6769 if (SWIG_arg_fail(1)) SWIG_fail
;
6772 arg2
= (int)(SWIG_As_int(obj1
));
6773 if (SWIG_arg_fail(2)) SWIG_fail
;
6778 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6779 if (SWIG_arg_fail(3)) SWIG_fail
;
6781 SWIG_null_ref("wxBitmap");
6783 if (SWIG_arg_fail(3)) SWIG_fail
;
6789 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6795 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6800 arg6
= (long)(SWIG_As_long(obj5
));
6801 if (SWIG_arg_fail(6)) SWIG_fail
;
6806 arg7
= wxString_in_helper(obj6
);
6807 if (arg7
== NULL
) SWIG_fail
;
6812 if (!wxPyCheckForApp()) SWIG_fail
;
6813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6814 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6816 wxPyEndAllowThreads(__tstate
);
6817 if (PyErr_Occurred()) SWIG_fail
;
6819 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
6834 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6835 PyObject
*resultobj
;
6836 wxStaticBitmap
*result
;
6841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
6843 if (!wxPyCheckForApp()) SWIG_fail
;
6844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6845 result
= (wxStaticBitmap
*)new wxStaticBitmap();
6847 wxPyEndAllowThreads(__tstate
);
6848 if (PyErr_Occurred()) SWIG_fail
;
6850 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
6857 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6858 PyObject
*resultobj
;
6859 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
6860 wxWindow
*arg2
= (wxWindow
*) 0 ;
6861 int arg3
= (int) -1 ;
6862 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
6863 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
6864 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6865 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6866 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6867 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6868 long arg7
= (long) 0 ;
6869 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
6870 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6874 bool temp8
= false ;
6875 PyObject
* obj0
= 0 ;
6876 PyObject
* obj1
= 0 ;
6877 PyObject
* obj2
= 0 ;
6878 PyObject
* obj3
= 0 ;
6879 PyObject
* obj4
= 0 ;
6880 PyObject
* obj5
= 0 ;
6881 PyObject
* obj6
= 0 ;
6882 PyObject
* obj7
= 0 ;
6884 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6889 if (SWIG_arg_fail(1)) SWIG_fail
;
6890 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6891 if (SWIG_arg_fail(2)) SWIG_fail
;
6894 arg3
= (int)(SWIG_As_int(obj2
));
6895 if (SWIG_arg_fail(3)) SWIG_fail
;
6900 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6901 if (SWIG_arg_fail(4)) SWIG_fail
;
6903 SWIG_null_ref("wxBitmap");
6905 if (SWIG_arg_fail(4)) SWIG_fail
;
6911 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6917 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6922 arg7
= (long)(SWIG_As_long(obj6
));
6923 if (SWIG_arg_fail(7)) SWIG_fail
;
6928 arg8
= wxString_in_helper(obj7
);
6929 if (arg8
== NULL
) SWIG_fail
;
6934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6935 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6937 wxPyEndAllowThreads(__tstate
);
6938 if (PyErr_Occurred()) SWIG_fail
;
6941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6957 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6958 PyObject
*resultobj
;
6959 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
6961 PyObject
* obj0
= 0 ;
6963 (char *) "self", NULL
6966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
6967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6968 if (SWIG_arg_fail(1)) SWIG_fail
;
6970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6971 result
= (arg1
)->GetBitmap();
6973 wxPyEndAllowThreads(__tstate
);
6974 if (PyErr_Occurred()) SWIG_fail
;
6977 wxBitmap
* resultptr
;
6978 resultptr
= new wxBitmap((wxBitmap
&)(result
));
6979 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
6987 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6988 PyObject
*resultobj
;
6989 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
6990 wxBitmap
*arg2
= 0 ;
6991 PyObject
* obj0
= 0 ;
6992 PyObject
* obj1
= 0 ;
6994 (char *) "self",(char *) "bitmap", NULL
6997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
6998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6999 if (SWIG_arg_fail(1)) SWIG_fail
;
7001 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7002 if (SWIG_arg_fail(2)) SWIG_fail
;
7004 SWIG_null_ref("wxBitmap");
7006 if (SWIG_arg_fail(2)) SWIG_fail
;
7009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7010 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
7012 wxPyEndAllowThreads(__tstate
);
7013 if (PyErr_Occurred()) SWIG_fail
;
7015 Py_INCREF(Py_None
); resultobj
= Py_None
;
7022 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7023 PyObject
*resultobj
;
7024 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
7026 PyObject
* obj0
= 0 ;
7027 PyObject
* obj1
= 0 ;
7029 (char *) "self",(char *) "icon", NULL
7032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
7033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7034 if (SWIG_arg_fail(1)) SWIG_fail
;
7036 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
7037 if (SWIG_arg_fail(2)) SWIG_fail
;
7039 SWIG_null_ref("wxIcon");
7041 if (SWIG_arg_fail(2)) SWIG_fail
;
7044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7045 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
7047 wxPyEndAllowThreads(__tstate
);
7048 if (PyErr_Occurred()) SWIG_fail
;
7050 Py_INCREF(Py_None
); resultobj
= Py_None
;
7057 static PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7058 PyObject
*resultobj
;
7059 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7060 wxVisualAttributes result
;
7061 PyObject
* obj0
= 0 ;
7063 (char *) "variant", NULL
7066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
7069 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
7070 if (SWIG_arg_fail(1)) SWIG_fail
;
7074 if (!wxPyCheckForApp()) SWIG_fail
;
7075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7076 result
= wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
7078 wxPyEndAllowThreads(__tstate
);
7079 if (PyErr_Occurred()) SWIG_fail
;
7082 wxVisualAttributes
* resultptr
;
7083 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
7084 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
7092 static PyObject
* StaticBitmap_swigregister(PyObject
*, PyObject
*args
) {
7094 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7095 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
7097 return Py_BuildValue((char *)"");
7099 static int _wrap_ListBoxNameStr_set(PyObject
*) {
7100 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
7105 static PyObject
*_wrap_ListBoxNameStr_get(void) {
7110 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
7112 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
7119 static PyObject
*_wrap_new_ListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7120 PyObject
*resultobj
;
7121 wxWindow
*arg1
= (wxWindow
*) 0 ;
7122 int arg2
= (int) -1 ;
7123 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7124 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7125 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7126 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7127 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
7128 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
7129 long arg6
= (long) 0 ;
7130 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7131 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7132 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
7133 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7137 bool temp5
= false ;
7138 bool temp8
= false ;
7139 PyObject
* obj0
= 0 ;
7140 PyObject
* obj1
= 0 ;
7141 PyObject
* obj2
= 0 ;
7142 PyObject
* obj3
= 0 ;
7143 PyObject
* obj4
= 0 ;
7144 PyObject
* obj5
= 0 ;
7145 PyObject
* obj6
= 0 ;
7146 PyObject
* obj7
= 0 ;
7148 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7153 if (SWIG_arg_fail(1)) SWIG_fail
;
7156 arg2
= (int)(SWIG_As_int(obj1
));
7157 if (SWIG_arg_fail(2)) SWIG_fail
;
7163 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7169 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7174 if (! PySequence_Check(obj4
)) {
7175 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7178 arg5
= new wxArrayString
;
7180 int i
, len
=PySequence_Length(obj4
);
7181 for (i
=0; i
<len
; i
++) {
7182 PyObject
* item
= PySequence_GetItem(obj4
, i
);
7183 wxString
* s
= wxString_in_helper(item
);
7184 if (PyErr_Occurred()) SWIG_fail
;
7193 arg6
= (long)(SWIG_As_long(obj5
));
7194 if (SWIG_arg_fail(6)) SWIG_fail
;
7199 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
7200 if (SWIG_arg_fail(7)) SWIG_fail
;
7202 SWIG_null_ref("wxValidator");
7204 if (SWIG_arg_fail(7)) SWIG_fail
;
7209 arg8
= wxString_in_helper(obj7
);
7210 if (arg8
== NULL
) SWIG_fail
;
7215 if (!wxPyCheckForApp()) SWIG_fail
;
7216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7217 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7219 wxPyEndAllowThreads(__tstate
);
7220 if (PyErr_Occurred()) SWIG_fail
;
7222 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
7224 if (temp5
) delete arg5
;
7233 if (temp5
) delete arg5
;
7243 static PyObject
*_wrap_new_PreListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7244 PyObject
*resultobj
;
7250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
7252 if (!wxPyCheckForApp()) SWIG_fail
;
7253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7254 result
= (wxListBox
*)new wxListBox();
7256 wxPyEndAllowThreads(__tstate
);
7257 if (PyErr_Occurred()) SWIG_fail
;
7259 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
7266 static PyObject
*_wrap_ListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7267 PyObject
*resultobj
;
7268 wxListBox
*arg1
= (wxListBox
*) 0 ;
7269 wxWindow
*arg2
= (wxWindow
*) 0 ;
7270 int arg3
= (int) -1 ;
7271 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7272 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7273 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7274 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7275 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
7276 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
7277 long arg7
= (long) 0 ;
7278 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
7279 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
7280 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
7281 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
7285 bool temp6
= false ;
7286 bool temp9
= false ;
7287 PyObject
* obj0
= 0 ;
7288 PyObject
* obj1
= 0 ;
7289 PyObject
* obj2
= 0 ;
7290 PyObject
* obj3
= 0 ;
7291 PyObject
* obj4
= 0 ;
7292 PyObject
* obj5
= 0 ;
7293 PyObject
* obj6
= 0 ;
7294 PyObject
* obj7
= 0 ;
7295 PyObject
* obj8
= 0 ;
7297 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
7301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7302 if (SWIG_arg_fail(1)) SWIG_fail
;
7303 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7304 if (SWIG_arg_fail(2)) SWIG_fail
;
7307 arg3
= (int)(SWIG_As_int(obj2
));
7308 if (SWIG_arg_fail(3)) SWIG_fail
;
7314 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7320 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7325 if (! PySequence_Check(obj5
)) {
7326 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7329 arg6
= new wxArrayString
;
7331 int i
, len
=PySequence_Length(obj5
);
7332 for (i
=0; i
<len
; i
++) {
7333 PyObject
* item
= PySequence_GetItem(obj5
, i
);
7334 wxString
* s
= wxString_in_helper(item
);
7335 if (PyErr_Occurred()) SWIG_fail
;
7344 arg7
= (long)(SWIG_As_long(obj6
));
7345 if (SWIG_arg_fail(7)) SWIG_fail
;
7350 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
7351 if (SWIG_arg_fail(8)) SWIG_fail
;
7353 SWIG_null_ref("wxValidator");
7355 if (SWIG_arg_fail(8)) SWIG_fail
;
7360 arg9
= wxString_in_helper(obj8
);
7361 if (arg9
== NULL
) SWIG_fail
;
7366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7367 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7369 wxPyEndAllowThreads(__tstate
);
7370 if (PyErr_Occurred()) SWIG_fail
;
7373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7376 if (temp6
) delete arg6
;
7385 if (temp6
) delete arg6
;
7395 static PyObject
*_wrap_ListBox_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7396 PyObject
*resultobj
;
7397 wxListBox
*arg1
= (wxListBox
*) 0 ;
7398 wxString
*arg2
= 0 ;
7400 PyObject
*arg4
= (PyObject
*) NULL
;
7401 bool temp2
= false ;
7402 PyObject
* obj0
= 0 ;
7403 PyObject
* obj1
= 0 ;
7404 PyObject
* obj2
= 0 ;
7405 PyObject
* obj3
= 0 ;
7407 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
7410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7412 if (SWIG_arg_fail(1)) SWIG_fail
;
7414 arg2
= wxString_in_helper(obj1
);
7415 if (arg2
== NULL
) SWIG_fail
;
7419 arg3
= (int)(SWIG_As_int(obj2
));
7420 if (SWIG_arg_fail(3)) SWIG_fail
;
7426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7427 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7429 wxPyEndAllowThreads(__tstate
);
7430 if (PyErr_Occurred()) SWIG_fail
;
7432 Py_INCREF(Py_None
); resultobj
= Py_None
;
7447 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7448 PyObject
*resultobj
;
7449 wxListBox
*arg1
= (wxListBox
*) 0 ;
7450 wxArrayString
*arg2
= 0 ;
7452 bool temp2
= false ;
7453 PyObject
* obj0
= 0 ;
7454 PyObject
* obj1
= 0 ;
7455 PyObject
* obj2
= 0 ;
7457 (char *) "self",(char *) "items",(char *) "pos", NULL
7460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7462 if (SWIG_arg_fail(1)) SWIG_fail
;
7464 if (! PySequence_Check(obj1
)) {
7465 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7468 arg2
= new wxArrayString
;
7470 int i
, len
=PySequence_Length(obj1
);
7471 for (i
=0; i
<len
; i
++) {
7472 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7473 wxString
* s
= wxString_in_helper(item
);
7474 if (PyErr_Occurred()) SWIG_fail
;
7481 arg3
= (int)(SWIG_As_int(obj2
));
7482 if (SWIG_arg_fail(3)) SWIG_fail
;
7485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7486 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
7488 wxPyEndAllowThreads(__tstate
);
7489 if (PyErr_Occurred()) SWIG_fail
;
7491 Py_INCREF(Py_None
); resultobj
= Py_None
;
7493 if (temp2
) delete arg2
;
7498 if (temp2
) delete arg2
;
7504 static PyObject
*_wrap_ListBox_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7505 PyObject
*resultobj
;
7506 wxListBox
*arg1
= (wxListBox
*) 0 ;
7507 wxArrayString
*arg2
= 0 ;
7508 bool temp2
= false ;
7509 PyObject
* obj0
= 0 ;
7510 PyObject
* obj1
= 0 ;
7512 (char *) "self",(char *) "items", NULL
7515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
7516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7517 if (SWIG_arg_fail(1)) SWIG_fail
;
7519 if (! PySequence_Check(obj1
)) {
7520 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7523 arg2
= new wxArrayString
;
7525 int i
, len
=PySequence_Length(obj1
);
7526 for (i
=0; i
<len
; i
++) {
7527 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7528 wxString
* s
= wxString_in_helper(item
);
7529 if (PyErr_Occurred()) SWIG_fail
;
7536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7537 (arg1
)->Set((wxArrayString
const &)*arg2
);
7539 wxPyEndAllowThreads(__tstate
);
7540 if (PyErr_Occurred()) SWIG_fail
;
7542 Py_INCREF(Py_None
); resultobj
= Py_None
;
7544 if (temp2
) delete arg2
;
7549 if (temp2
) delete arg2
;
7555 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7556 PyObject
*resultobj
;
7557 wxListBox
*arg1
= (wxListBox
*) 0 ;
7560 PyObject
* obj0
= 0 ;
7561 PyObject
* obj1
= 0 ;
7563 (char *) "self",(char *) "n", NULL
7566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
7567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7568 if (SWIG_arg_fail(1)) SWIG_fail
;
7570 arg2
= (int)(SWIG_As_int(obj1
));
7571 if (SWIG_arg_fail(2)) SWIG_fail
;
7574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7575 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
7577 wxPyEndAllowThreads(__tstate
);
7578 if (PyErr_Occurred()) SWIG_fail
;
7581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7589 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7590 PyObject
*resultobj
;
7591 wxListBox
*arg1
= (wxListBox
*) 0 ;
7593 bool arg3
= (bool) true ;
7594 PyObject
* obj0
= 0 ;
7595 PyObject
* obj1
= 0 ;
7596 PyObject
* obj2
= 0 ;
7598 (char *) "self",(char *) "n",(char *) "select", NULL
7601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7603 if (SWIG_arg_fail(1)) SWIG_fail
;
7605 arg2
= (int)(SWIG_As_int(obj1
));
7606 if (SWIG_arg_fail(2)) SWIG_fail
;
7610 arg3
= (bool)(SWIG_As_bool(obj2
));
7611 if (SWIG_arg_fail(3)) SWIG_fail
;
7615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7616 (arg1
)->SetSelection(arg2
,arg3
);
7618 wxPyEndAllowThreads(__tstate
);
7619 if (PyErr_Occurred()) SWIG_fail
;
7621 Py_INCREF(Py_None
); resultobj
= Py_None
;
7628 static PyObject
*_wrap_ListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7629 PyObject
*resultobj
;
7630 wxListBox
*arg1
= (wxListBox
*) 0 ;
7632 PyObject
* obj0
= 0 ;
7633 PyObject
* obj1
= 0 ;
7635 (char *) "self",(char *) "n", NULL
7638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
7639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7640 if (SWIG_arg_fail(1)) SWIG_fail
;
7642 arg2
= (int)(SWIG_As_int(obj1
));
7643 if (SWIG_arg_fail(2)) SWIG_fail
;
7646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7647 (arg1
)->Select(arg2
);
7649 wxPyEndAllowThreads(__tstate
);
7650 if (PyErr_Occurred()) SWIG_fail
;
7652 Py_INCREF(Py_None
); resultobj
= Py_None
;
7659 static PyObject
*_wrap_ListBox_Deselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7660 PyObject
*resultobj
;
7661 wxListBox
*arg1
= (wxListBox
*) 0 ;
7663 PyObject
* obj0
= 0 ;
7664 PyObject
* obj1
= 0 ;
7666 (char *) "self",(char *) "n", NULL
7669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
7670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7671 if (SWIG_arg_fail(1)) SWIG_fail
;
7673 arg2
= (int)(SWIG_As_int(obj1
));
7674 if (SWIG_arg_fail(2)) SWIG_fail
;
7677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7678 (arg1
)->Deselect(arg2
);
7680 wxPyEndAllowThreads(__tstate
);
7681 if (PyErr_Occurred()) SWIG_fail
;
7683 Py_INCREF(Py_None
); resultobj
= Py_None
;
7690 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7691 PyObject
*resultobj
;
7692 wxListBox
*arg1
= (wxListBox
*) 0 ;
7693 int arg2
= (int) -1 ;
7694 PyObject
* obj0
= 0 ;
7695 PyObject
* obj1
= 0 ;
7697 (char *) "self",(char *) "itemToLeaveSelected", NULL
7700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
7701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7702 if (SWIG_arg_fail(1)) SWIG_fail
;
7705 arg2
= (int)(SWIG_As_int(obj1
));
7706 if (SWIG_arg_fail(2)) SWIG_fail
;
7710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7711 (arg1
)->DeselectAll(arg2
);
7713 wxPyEndAllowThreads(__tstate
);
7714 if (PyErr_Occurred()) SWIG_fail
;
7716 Py_INCREF(Py_None
); resultobj
= Py_None
;
7723 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7724 PyObject
*resultobj
;
7725 wxListBox
*arg1
= (wxListBox
*) 0 ;
7726 wxString
*arg2
= 0 ;
7727 bool arg3
= (bool) true ;
7729 bool temp2
= false ;
7730 PyObject
* obj0
= 0 ;
7731 PyObject
* obj1
= 0 ;
7732 PyObject
* obj2
= 0 ;
7734 (char *) "self",(char *) "s",(char *) "select", NULL
7737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7739 if (SWIG_arg_fail(1)) SWIG_fail
;
7741 arg2
= wxString_in_helper(obj1
);
7742 if (arg2
== NULL
) SWIG_fail
;
7747 arg3
= (bool)(SWIG_As_bool(obj2
));
7748 if (SWIG_arg_fail(3)) SWIG_fail
;
7752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7753 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
7755 wxPyEndAllowThreads(__tstate
);
7756 if (PyErr_Occurred()) SWIG_fail
;
7759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7775 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7776 PyObject
*resultobj
;
7777 wxListBox
*arg1
= (wxListBox
*) 0 ;
7779 PyObject
* obj0
= 0 ;
7781 (char *) "self", NULL
7784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
7785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7786 if (SWIG_arg_fail(1)) SWIG_fail
;
7788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7789 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
7791 wxPyEndAllowThreads(__tstate
);
7792 if (PyErr_Occurred()) SWIG_fail
;
7801 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7802 PyObject
*resultobj
;
7803 wxListBox
*arg1
= (wxListBox
*) 0 ;
7805 PyObject
* obj0
= 0 ;
7806 PyObject
* obj1
= 0 ;
7808 (char *) "self",(char *) "n", NULL
7811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
7812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7813 if (SWIG_arg_fail(1)) SWIG_fail
;
7815 arg2
= (int)(SWIG_As_int(obj1
));
7816 if (SWIG_arg_fail(2)) SWIG_fail
;
7819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7820 (arg1
)->SetFirstItem(arg2
);
7822 wxPyEndAllowThreads(__tstate
);
7823 if (PyErr_Occurred()) SWIG_fail
;
7825 Py_INCREF(Py_None
); resultobj
= Py_None
;
7832 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7833 PyObject
*resultobj
;
7834 wxListBox
*arg1
= (wxListBox
*) 0 ;
7835 wxString
*arg2
= 0 ;
7836 bool temp2
= false ;
7837 PyObject
* obj0
= 0 ;
7838 PyObject
* obj1
= 0 ;
7840 (char *) "self",(char *) "s", NULL
7843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
7844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7845 if (SWIG_arg_fail(1)) SWIG_fail
;
7847 arg2
= wxString_in_helper(obj1
);
7848 if (arg2
== NULL
) SWIG_fail
;
7852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7853 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
7855 wxPyEndAllowThreads(__tstate
);
7856 if (PyErr_Occurred()) SWIG_fail
;
7858 Py_INCREF(Py_None
); resultobj
= Py_None
;
7873 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7874 PyObject
*resultobj
;
7875 wxListBox
*arg1
= (wxListBox
*) 0 ;
7877 PyObject
* obj0
= 0 ;
7878 PyObject
* obj1
= 0 ;
7880 (char *) "self",(char *) "n", NULL
7883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
7884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7885 if (SWIG_arg_fail(1)) SWIG_fail
;
7887 arg2
= (int)(SWIG_As_int(obj1
));
7888 if (SWIG_arg_fail(2)) SWIG_fail
;
7891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7892 (arg1
)->EnsureVisible(arg2
);
7894 wxPyEndAllowThreads(__tstate
);
7895 if (PyErr_Occurred()) SWIG_fail
;
7897 Py_INCREF(Py_None
); resultobj
= Py_None
;
7904 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7905 PyObject
*resultobj
;
7906 wxListBox
*arg1
= (wxListBox
*) 0 ;
7907 wxString
*arg2
= 0 ;
7908 bool temp2
= false ;
7909 PyObject
* obj0
= 0 ;
7910 PyObject
* obj1
= 0 ;
7912 (char *) "self",(char *) "s", NULL
7915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
7916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7917 if (SWIG_arg_fail(1)) SWIG_fail
;
7919 arg2
= wxString_in_helper(obj1
);
7920 if (arg2
== NULL
) SWIG_fail
;
7924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7925 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
7927 wxPyEndAllowThreads(__tstate
);
7928 if (PyErr_Occurred()) SWIG_fail
;
7930 Py_INCREF(Py_None
); resultobj
= Py_None
;
7945 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7946 PyObject
*resultobj
;
7947 wxListBox
*arg1
= (wxListBox
*) 0 ;
7949 PyObject
* obj0
= 0 ;
7951 (char *) "self", NULL
7954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
7955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7956 if (SWIG_arg_fail(1)) SWIG_fail
;
7958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7959 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
7961 wxPyEndAllowThreads(__tstate
);
7962 if (PyErr_Occurred()) SWIG_fail
;
7965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7973 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7974 PyObject
*resultobj
;
7975 wxListBox
*arg1
= (wxListBox
*) 0 ;
7977 wxColour
*arg3
= 0 ;
7979 PyObject
* obj0
= 0 ;
7980 PyObject
* obj1
= 0 ;
7981 PyObject
* obj2
= 0 ;
7983 (char *) "self",(char *) "item",(char *) "c", NULL
7986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7988 if (SWIG_arg_fail(1)) SWIG_fail
;
7990 arg2
= (int)(SWIG_As_int(obj1
));
7991 if (SWIG_arg_fail(2)) SWIG_fail
;
7995 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
7998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7999 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
8001 wxPyEndAllowThreads(__tstate
);
8002 if (PyErr_Occurred()) SWIG_fail
;
8004 Py_INCREF(Py_None
); resultobj
= Py_None
;
8011 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8012 PyObject
*resultobj
;
8013 wxListBox
*arg1
= (wxListBox
*) 0 ;
8015 wxColour
*arg3
= 0 ;
8017 PyObject
* obj0
= 0 ;
8018 PyObject
* obj1
= 0 ;
8019 PyObject
* obj2
= 0 ;
8021 (char *) "self",(char *) "item",(char *) "c", NULL
8024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8026 if (SWIG_arg_fail(1)) SWIG_fail
;
8028 arg2
= (int)(SWIG_As_int(obj1
));
8029 if (SWIG_arg_fail(2)) SWIG_fail
;
8033 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8037 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
8039 wxPyEndAllowThreads(__tstate
);
8040 if (PyErr_Occurred()) SWIG_fail
;
8042 Py_INCREF(Py_None
); resultobj
= Py_None
;
8049 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8050 PyObject
*resultobj
;
8051 wxListBox
*arg1
= (wxListBox
*) 0 ;
8054 PyObject
* obj0
= 0 ;
8055 PyObject
* obj1
= 0 ;
8056 PyObject
* obj2
= 0 ;
8058 (char *) "self",(char *) "item",(char *) "f", NULL
8061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8063 if (SWIG_arg_fail(1)) SWIG_fail
;
8065 arg2
= (int)(SWIG_As_int(obj1
));
8066 if (SWIG_arg_fail(2)) SWIG_fail
;
8069 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8070 if (SWIG_arg_fail(3)) SWIG_fail
;
8072 SWIG_null_ref("wxFont");
8074 if (SWIG_arg_fail(3)) SWIG_fail
;
8077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8078 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
8080 wxPyEndAllowThreads(__tstate
);
8081 if (PyErr_Occurred()) SWIG_fail
;
8083 Py_INCREF(Py_None
); resultobj
= Py_None
;
8090 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8091 PyObject
*resultobj
;
8092 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8093 wxVisualAttributes result
;
8094 PyObject
* obj0
= 0 ;
8096 (char *) "variant", NULL
8099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
8102 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
8103 if (SWIG_arg_fail(1)) SWIG_fail
;
8107 if (!wxPyCheckForApp()) SWIG_fail
;
8108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8109 result
= wxListBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
8111 wxPyEndAllowThreads(__tstate
);
8112 if (PyErr_Occurred()) SWIG_fail
;
8115 wxVisualAttributes
* resultptr
;
8116 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
8117 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
8125 static PyObject
* ListBox_swigregister(PyObject
*, PyObject
*args
) {
8127 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8128 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
8130 return Py_BuildValue((char *)"");
8132 static PyObject
*_wrap_new_CheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8133 PyObject
*resultobj
;
8134 wxWindow
*arg1
= (wxWindow
*) 0 ;
8135 int arg2
= (int) -1 ;
8136 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8137 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8138 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8139 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8140 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8141 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8142 long arg6
= (long) 0 ;
8143 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8144 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8145 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8146 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8147 wxCheckListBox
*result
;
8150 bool temp5
= false ;
8151 bool temp8
= false ;
8152 PyObject
* obj0
= 0 ;
8153 PyObject
* obj1
= 0 ;
8154 PyObject
* obj2
= 0 ;
8155 PyObject
* obj3
= 0 ;
8156 PyObject
* obj4
= 0 ;
8157 PyObject
* obj5
= 0 ;
8158 PyObject
* obj6
= 0 ;
8159 PyObject
* obj7
= 0 ;
8161 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
8165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8166 if (SWIG_arg_fail(1)) SWIG_fail
;
8169 arg2
= (int)(SWIG_As_int(obj1
));
8170 if (SWIG_arg_fail(2)) SWIG_fail
;
8176 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8182 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8187 if (! PySequence_Check(obj4
)) {
8188 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8191 arg5
= new wxArrayString
;
8193 int i
, len
=PySequence_Length(obj4
);
8194 for (i
=0; i
<len
; i
++) {
8195 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8196 wxString
* s
= wxString_in_helper(item
);
8197 if (PyErr_Occurred()) SWIG_fail
;
8206 arg6
= (long)(SWIG_As_long(obj5
));
8207 if (SWIG_arg_fail(6)) SWIG_fail
;
8212 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
8213 if (SWIG_arg_fail(7)) SWIG_fail
;
8215 SWIG_null_ref("wxValidator");
8217 if (SWIG_arg_fail(7)) SWIG_fail
;
8222 arg8
= wxString_in_helper(obj7
);
8223 if (arg8
== NULL
) SWIG_fail
;
8228 if (!wxPyCheckForApp()) SWIG_fail
;
8229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8230 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8232 wxPyEndAllowThreads(__tstate
);
8233 if (PyErr_Occurred()) SWIG_fail
;
8235 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
8237 if (temp5
) delete arg5
;
8246 if (temp5
) delete arg5
;
8256 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8257 PyObject
*resultobj
;
8258 wxCheckListBox
*result
;
8263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
8265 if (!wxPyCheckForApp()) SWIG_fail
;
8266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8267 result
= (wxCheckListBox
*)new wxCheckListBox();
8269 wxPyEndAllowThreads(__tstate
);
8270 if (PyErr_Occurred()) SWIG_fail
;
8272 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
8279 static PyObject
*_wrap_CheckListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8280 PyObject
*resultobj
;
8281 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8282 wxWindow
*arg2
= (wxWindow
*) 0 ;
8283 int arg3
= (int) -1 ;
8284 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8285 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8286 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8287 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8288 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8289 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8290 long arg7
= (long) 0 ;
8291 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8292 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8293 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8294 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8298 bool temp6
= false ;
8299 bool temp9
= false ;
8300 PyObject
* obj0
= 0 ;
8301 PyObject
* obj1
= 0 ;
8302 PyObject
* obj2
= 0 ;
8303 PyObject
* obj3
= 0 ;
8304 PyObject
* obj4
= 0 ;
8305 PyObject
* obj5
= 0 ;
8306 PyObject
* obj6
= 0 ;
8307 PyObject
* obj7
= 0 ;
8308 PyObject
* obj8
= 0 ;
8310 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
8314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8315 if (SWIG_arg_fail(1)) SWIG_fail
;
8316 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8317 if (SWIG_arg_fail(2)) SWIG_fail
;
8320 arg3
= (int)(SWIG_As_int(obj2
));
8321 if (SWIG_arg_fail(3)) SWIG_fail
;
8327 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8333 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8338 if (! PySequence_Check(obj5
)) {
8339 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8342 arg6
= new wxArrayString
;
8344 int i
, len
=PySequence_Length(obj5
);
8345 for (i
=0; i
<len
; i
++) {
8346 PyObject
* item
= PySequence_GetItem(obj5
, i
);
8347 wxString
* s
= wxString_in_helper(item
);
8348 if (PyErr_Occurred()) SWIG_fail
;
8357 arg7
= (long)(SWIG_As_long(obj6
));
8358 if (SWIG_arg_fail(7)) SWIG_fail
;
8363 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
8364 if (SWIG_arg_fail(8)) SWIG_fail
;
8366 SWIG_null_ref("wxValidator");
8368 if (SWIG_arg_fail(8)) SWIG_fail
;
8373 arg9
= wxString_in_helper(obj8
);
8374 if (arg9
== NULL
) SWIG_fail
;
8379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8380 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
8382 wxPyEndAllowThreads(__tstate
);
8383 if (PyErr_Occurred()) SWIG_fail
;
8386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8389 if (temp6
) delete arg6
;
8398 if (temp6
) delete arg6
;
8408 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8409 PyObject
*resultobj
;
8410 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8413 PyObject
* obj0
= 0 ;
8414 PyObject
* obj1
= 0 ;
8416 (char *) "self",(char *) "index", NULL
8419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
8420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8421 if (SWIG_arg_fail(1)) SWIG_fail
;
8423 arg2
= (int)(SWIG_As_int(obj1
));
8424 if (SWIG_arg_fail(2)) SWIG_fail
;
8427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8428 result
= (bool)(arg1
)->IsChecked(arg2
);
8430 wxPyEndAllowThreads(__tstate
);
8431 if (PyErr_Occurred()) SWIG_fail
;
8434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8442 static PyObject
*_wrap_CheckListBox_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8443 PyObject
*resultobj
;
8444 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8446 int arg3
= (int) true ;
8447 PyObject
* obj0
= 0 ;
8448 PyObject
* obj1
= 0 ;
8449 PyObject
* obj2
= 0 ;
8451 (char *) "self",(char *) "index",(char *) "check", NULL
8454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8456 if (SWIG_arg_fail(1)) SWIG_fail
;
8458 arg2
= (int)(SWIG_As_int(obj1
));
8459 if (SWIG_arg_fail(2)) SWIG_fail
;
8463 arg3
= (int)(SWIG_As_int(obj2
));
8464 if (SWIG_arg_fail(3)) SWIG_fail
;
8468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8469 (arg1
)->Check(arg2
,arg3
);
8471 wxPyEndAllowThreads(__tstate
);
8472 if (PyErr_Occurred()) SWIG_fail
;
8474 Py_INCREF(Py_None
); resultobj
= Py_None
;
8481 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8482 PyObject
*resultobj
;
8483 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8485 PyObject
* obj0
= 0 ;
8487 (char *) "self", NULL
8490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
8491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8492 if (SWIG_arg_fail(1)) SWIG_fail
;
8494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8495 result
= (int)(arg1
)->GetItemHeight();
8497 wxPyEndAllowThreads(__tstate
);
8498 if (PyErr_Occurred()) SWIG_fail
;
8501 resultobj
= SWIG_From_int((int)(result
));
8509 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8510 PyObject
*resultobj
;
8511 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8515 PyObject
* obj0
= 0 ;
8516 PyObject
* obj1
= 0 ;
8518 (char *) "self",(char *) "pt", NULL
8521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8523 if (SWIG_arg_fail(1)) SWIG_fail
;
8526 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8530 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
8532 wxPyEndAllowThreads(__tstate
);
8533 if (PyErr_Occurred()) SWIG_fail
;
8536 resultobj
= SWIG_From_int((int)(result
));
8544 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8545 PyObject
*resultobj
;
8546 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8550 PyObject
* obj0
= 0 ;
8551 PyObject
* obj1
= 0 ;
8552 PyObject
* obj2
= 0 ;
8554 (char *) "self",(char *) "x",(char *) "y", NULL
8557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8559 if (SWIG_arg_fail(1)) SWIG_fail
;
8561 arg2
= (int)(SWIG_As_int(obj1
));
8562 if (SWIG_arg_fail(2)) SWIG_fail
;
8565 arg3
= (int)(SWIG_As_int(obj2
));
8566 if (SWIG_arg_fail(3)) SWIG_fail
;
8569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8570 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
8572 wxPyEndAllowThreads(__tstate
);
8573 if (PyErr_Occurred()) SWIG_fail
;
8576 resultobj
= SWIG_From_int((int)(result
));
8584 static PyObject
* CheckListBox_swigregister(PyObject
*, PyObject
*args
) {
8586 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8587 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
8589 return Py_BuildValue((char *)"");
8591 static int _wrap_TextCtrlNameStr_set(PyObject
*) {
8592 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
8597 static PyObject
*_wrap_TextCtrlNameStr_get(void) {
8602 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
8604 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
8611 static PyObject
*_wrap_new_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8612 PyObject
*resultobj
;
8613 wxColour
const &arg1_defvalue
= wxNullColour
;
8614 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
8615 wxColour
const &arg2_defvalue
= wxNullColour
;
8616 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8617 wxFont
const &arg3_defvalue
= wxNullFont
;
8618 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
8619 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
8623 PyObject
* obj0
= 0 ;
8624 PyObject
* obj1
= 0 ;
8625 PyObject
* obj2
= 0 ;
8626 PyObject
* obj3
= 0 ;
8628 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
8631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8635 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
8641 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8646 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8647 if (SWIG_arg_fail(3)) SWIG_fail
;
8649 SWIG_null_ref("wxFont");
8651 if (SWIG_arg_fail(3)) SWIG_fail
;
8656 arg4
= (wxTextAttrAlignment
)(SWIG_As_int(obj3
));
8657 if (SWIG_arg_fail(4)) SWIG_fail
;
8661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8662 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
8664 wxPyEndAllowThreads(__tstate
);
8665 if (PyErr_Occurred()) SWIG_fail
;
8667 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
8674 static PyObject
*_wrap_delete_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8675 PyObject
*resultobj
;
8676 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8677 PyObject
* obj0
= 0 ;
8679 (char *) "self", NULL
8682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
8683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8684 if (SWIG_arg_fail(1)) SWIG_fail
;
8686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8689 wxPyEndAllowThreads(__tstate
);
8690 if (PyErr_Occurred()) SWIG_fail
;
8692 Py_INCREF(Py_None
); resultobj
= Py_None
;
8699 static PyObject
*_wrap_TextAttr_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8700 PyObject
*resultobj
;
8701 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8702 PyObject
* obj0
= 0 ;
8704 (char *) "self", NULL
8707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
8708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8709 if (SWIG_arg_fail(1)) SWIG_fail
;
8711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8714 wxPyEndAllowThreads(__tstate
);
8715 if (PyErr_Occurred()) SWIG_fail
;
8717 Py_INCREF(Py_None
); resultobj
= Py_None
;
8724 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8725 PyObject
*resultobj
;
8726 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8727 wxColour
*arg2
= 0 ;
8729 PyObject
* obj0
= 0 ;
8730 PyObject
* obj1
= 0 ;
8732 (char *) "self",(char *) "colText", NULL
8735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
8736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8737 if (SWIG_arg_fail(1)) SWIG_fail
;
8740 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8744 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
8746 wxPyEndAllowThreads(__tstate
);
8747 if (PyErr_Occurred()) SWIG_fail
;
8749 Py_INCREF(Py_None
); resultobj
= Py_None
;
8756 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8757 PyObject
*resultobj
;
8758 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8759 wxColour
*arg2
= 0 ;
8761 PyObject
* obj0
= 0 ;
8762 PyObject
* obj1
= 0 ;
8764 (char *) "self",(char *) "colBack", NULL
8767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
8768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8769 if (SWIG_arg_fail(1)) SWIG_fail
;
8772 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8776 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
8778 wxPyEndAllowThreads(__tstate
);
8779 if (PyErr_Occurred()) SWIG_fail
;
8781 Py_INCREF(Py_None
); resultobj
= Py_None
;
8788 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8789 PyObject
*resultobj
;
8790 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8792 long arg3
= (long) wxTEXT_ATTR_FONT
;
8793 PyObject
* obj0
= 0 ;
8794 PyObject
* obj1
= 0 ;
8795 PyObject
* obj2
= 0 ;
8797 (char *) "self",(char *) "font",(char *) "flags", NULL
8800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8802 if (SWIG_arg_fail(1)) SWIG_fail
;
8804 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8805 if (SWIG_arg_fail(2)) SWIG_fail
;
8807 SWIG_null_ref("wxFont");
8809 if (SWIG_arg_fail(2)) SWIG_fail
;
8813 arg3
= (long)(SWIG_As_long(obj2
));
8814 if (SWIG_arg_fail(3)) SWIG_fail
;
8818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8819 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
8821 wxPyEndAllowThreads(__tstate
);
8822 if (PyErr_Occurred()) SWIG_fail
;
8824 Py_INCREF(Py_None
); resultobj
= Py_None
;
8831 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8832 PyObject
*resultobj
;
8833 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8834 wxTextAttrAlignment arg2
;
8835 PyObject
* obj0
= 0 ;
8836 PyObject
* obj1
= 0 ;
8838 (char *) "self",(char *) "alignment", NULL
8841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8843 if (SWIG_arg_fail(1)) SWIG_fail
;
8845 arg2
= (wxTextAttrAlignment
)(SWIG_As_int(obj1
));
8846 if (SWIG_arg_fail(2)) SWIG_fail
;
8849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8850 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
8852 wxPyEndAllowThreads(__tstate
);
8853 if (PyErr_Occurred()) SWIG_fail
;
8855 Py_INCREF(Py_None
); resultobj
= Py_None
;
8862 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8863 PyObject
*resultobj
;
8864 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8865 wxArrayInt
*arg2
= 0 ;
8866 bool temp2
= false ;
8867 PyObject
* obj0
= 0 ;
8868 PyObject
* obj1
= 0 ;
8870 (char *) "self",(char *) "tabs", NULL
8873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
8874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8875 if (SWIG_arg_fail(1)) SWIG_fail
;
8877 if (! PySequence_Check(obj1
)) {
8878 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
8881 arg2
= new wxArrayInt
;
8883 int i
, len
=PySequence_Length(obj1
);
8884 for (i
=0; i
<len
; i
++) {
8885 PyObject
* item
= PySequence_GetItem(obj1
, i
);
8886 PyObject
* number
= PyNumber_Int(item
);
8887 arg2
->Add(PyInt_AS_LONG(number
));
8893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8894 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
8896 wxPyEndAllowThreads(__tstate
);
8897 if (PyErr_Occurred()) SWIG_fail
;
8899 Py_INCREF(Py_None
); resultobj
= Py_None
;
8901 if (temp2
) delete arg2
;
8906 if (temp2
) delete arg2
;
8912 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8913 PyObject
*resultobj
;
8914 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8916 int arg3
= (int) 0 ;
8917 PyObject
* obj0
= 0 ;
8918 PyObject
* obj1
= 0 ;
8919 PyObject
* obj2
= 0 ;
8921 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
8924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8926 if (SWIG_arg_fail(1)) SWIG_fail
;
8928 arg2
= (int)(SWIG_As_int(obj1
));
8929 if (SWIG_arg_fail(2)) SWIG_fail
;
8933 arg3
= (int)(SWIG_As_int(obj2
));
8934 if (SWIG_arg_fail(3)) SWIG_fail
;
8938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8939 (arg1
)->SetLeftIndent(arg2
,arg3
);
8941 wxPyEndAllowThreads(__tstate
);
8942 if (PyErr_Occurred()) SWIG_fail
;
8944 Py_INCREF(Py_None
); resultobj
= Py_None
;
8951 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8952 PyObject
*resultobj
;
8953 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8955 PyObject
* obj0
= 0 ;
8956 PyObject
* obj1
= 0 ;
8958 (char *) "self",(char *) "indent", NULL
8961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",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 arg2
= (int)(SWIG_As_int(obj1
));
8966 if (SWIG_arg_fail(2)) SWIG_fail
;
8969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8970 (arg1
)->SetRightIndent(arg2
);
8972 wxPyEndAllowThreads(__tstate
);
8973 if (PyErr_Occurred()) SWIG_fail
;
8975 Py_INCREF(Py_None
); resultobj
= Py_None
;
8982 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8983 PyObject
*resultobj
;
8984 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8986 PyObject
* obj0
= 0 ;
8987 PyObject
* obj1
= 0 ;
8989 (char *) "self",(char *) "flags", NULL
8992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
8993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8994 if (SWIG_arg_fail(1)) SWIG_fail
;
8996 arg2
= (long)(SWIG_As_long(obj1
));
8997 if (SWIG_arg_fail(2)) SWIG_fail
;
9000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9001 (arg1
)->SetFlags(arg2
);
9003 wxPyEndAllowThreads(__tstate
);
9004 if (PyErr_Occurred()) SWIG_fail
;
9006 Py_INCREF(Py_None
); resultobj
= Py_None
;
9013 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9014 PyObject
*resultobj
;
9015 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9017 PyObject
* obj0
= 0 ;
9019 (char *) "self", NULL
9022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
9023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9024 if (SWIG_arg_fail(1)) SWIG_fail
;
9026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9027 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
9029 wxPyEndAllowThreads(__tstate
);
9030 if (PyErr_Occurred()) SWIG_fail
;
9033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9041 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9042 PyObject
*resultobj
;
9043 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9045 PyObject
* obj0
= 0 ;
9047 (char *) "self", NULL
9050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
9051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9052 if (SWIG_arg_fail(1)) SWIG_fail
;
9054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9055 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
9057 wxPyEndAllowThreads(__tstate
);
9058 if (PyErr_Occurred()) SWIG_fail
;
9061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9069 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9070 PyObject
*resultobj
;
9071 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9073 PyObject
* obj0
= 0 ;
9075 (char *) "self", NULL
9078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
9079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9080 if (SWIG_arg_fail(1)) SWIG_fail
;
9082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9083 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
9085 wxPyEndAllowThreads(__tstate
);
9086 if (PyErr_Occurred()) SWIG_fail
;
9089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9097 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9098 PyObject
*resultobj
;
9099 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9101 PyObject
* obj0
= 0 ;
9103 (char *) "self", NULL
9106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
9107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9108 if (SWIG_arg_fail(1)) SWIG_fail
;
9110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9111 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
9113 wxPyEndAllowThreads(__tstate
);
9114 if (PyErr_Occurred()) SWIG_fail
;
9117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9125 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9126 PyObject
*resultobj
;
9127 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9129 PyObject
* obj0
= 0 ;
9131 (char *) "self", NULL
9134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
9135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9136 if (SWIG_arg_fail(1)) SWIG_fail
;
9138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9139 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
9141 wxPyEndAllowThreads(__tstate
);
9142 if (PyErr_Occurred()) SWIG_fail
;
9145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9153 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9154 PyObject
*resultobj
;
9155 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9157 PyObject
* obj0
= 0 ;
9159 (char *) "self", NULL
9162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
9163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9164 if (SWIG_arg_fail(1)) SWIG_fail
;
9166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9167 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
9169 wxPyEndAllowThreads(__tstate
);
9170 if (PyErr_Occurred()) SWIG_fail
;
9173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9181 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9182 PyObject
*resultobj
;
9183 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9185 PyObject
* obj0
= 0 ;
9187 (char *) "self", NULL
9190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
9191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9192 if (SWIG_arg_fail(1)) SWIG_fail
;
9194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9195 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
9197 wxPyEndAllowThreads(__tstate
);
9198 if (PyErr_Occurred()) SWIG_fail
;
9201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9209 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9210 PyObject
*resultobj
;
9211 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9214 PyObject
* obj0
= 0 ;
9215 PyObject
* obj1
= 0 ;
9217 (char *) "self",(char *) "flag", NULL
9220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
9221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9222 if (SWIG_arg_fail(1)) SWIG_fail
;
9224 arg2
= (long)(SWIG_As_long(obj1
));
9225 if (SWIG_arg_fail(2)) SWIG_fail
;
9228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9229 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
9231 wxPyEndAllowThreads(__tstate
);
9232 if (PyErr_Occurred()) SWIG_fail
;
9235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9243 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9244 PyObject
*resultobj
;
9245 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9247 PyObject
* obj0
= 0 ;
9249 (char *) "self", NULL
9252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
9253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9254 if (SWIG_arg_fail(1)) SWIG_fail
;
9256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9258 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
9259 result
= (wxColour
*) &_result_ref
;
9262 wxPyEndAllowThreads(__tstate
);
9263 if (PyErr_Occurred()) SWIG_fail
;
9265 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9272 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9273 PyObject
*resultobj
;
9274 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9276 PyObject
* obj0
= 0 ;
9278 (char *) "self", NULL
9281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
9282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9283 if (SWIG_arg_fail(1)) SWIG_fail
;
9285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9287 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
9288 result
= (wxColour
*) &_result_ref
;
9291 wxPyEndAllowThreads(__tstate
);
9292 if (PyErr_Occurred()) SWIG_fail
;
9294 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9301 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9302 PyObject
*resultobj
;
9303 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9305 PyObject
* obj0
= 0 ;
9307 (char *) "self", NULL
9310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
9311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9312 if (SWIG_arg_fail(1)) SWIG_fail
;
9314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9316 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
9317 result
= (wxFont
*) &_result_ref
;
9320 wxPyEndAllowThreads(__tstate
);
9321 if (PyErr_Occurred()) SWIG_fail
;
9324 wxFont
* resultptr
= new wxFont(*result
);
9325 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
9333 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9334 PyObject
*resultobj
;
9335 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9336 wxTextAttrAlignment result
;
9337 PyObject
* obj0
= 0 ;
9339 (char *) "self", NULL
9342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
9343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9344 if (SWIG_arg_fail(1)) SWIG_fail
;
9346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9347 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
9349 wxPyEndAllowThreads(__tstate
);
9350 if (PyErr_Occurred()) SWIG_fail
;
9352 resultobj
= SWIG_From_int((result
));
9359 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9360 PyObject
*resultobj
;
9361 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9363 PyObject
* obj0
= 0 ;
9365 (char *) "self", NULL
9368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
9369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9370 if (SWIG_arg_fail(1)) SWIG_fail
;
9372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9374 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
9375 result
= (wxArrayInt
*) &_result_ref
;
9378 wxPyEndAllowThreads(__tstate
);
9379 if (PyErr_Occurred()) SWIG_fail
;
9382 resultobj
= PyList_New(0);
9384 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
9385 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
9386 PyList_Append(resultobj
, val
);
9396 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9397 PyObject
*resultobj
;
9398 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9400 PyObject
* obj0
= 0 ;
9402 (char *) "self", NULL
9405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
9406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9407 if (SWIG_arg_fail(1)) SWIG_fail
;
9409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9410 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
9412 wxPyEndAllowThreads(__tstate
);
9413 if (PyErr_Occurred()) SWIG_fail
;
9416 resultobj
= SWIG_From_long((long)(result
));
9424 static PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9425 PyObject
*resultobj
;
9426 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9428 PyObject
* obj0
= 0 ;
9430 (char *) "self", NULL
9433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftSubIndent",kwnames
,&obj0
)) goto fail
;
9434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9435 if (SWIG_arg_fail(1)) SWIG_fail
;
9437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9438 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
9440 wxPyEndAllowThreads(__tstate
);
9441 if (PyErr_Occurred()) SWIG_fail
;
9444 resultobj
= SWIG_From_long((long)(result
));
9452 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9453 PyObject
*resultobj
;
9454 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9456 PyObject
* obj0
= 0 ;
9458 (char *) "self", NULL
9461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
9462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9463 if (SWIG_arg_fail(1)) SWIG_fail
;
9465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9466 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
9468 wxPyEndAllowThreads(__tstate
);
9469 if (PyErr_Occurred()) SWIG_fail
;
9472 resultobj
= SWIG_From_long((long)(result
));
9480 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9481 PyObject
*resultobj
;
9482 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9484 PyObject
* obj0
= 0 ;
9486 (char *) "self", NULL
9489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
9490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9491 if (SWIG_arg_fail(1)) SWIG_fail
;
9493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9494 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
9496 wxPyEndAllowThreads(__tstate
);
9497 if (PyErr_Occurred()) SWIG_fail
;
9500 resultobj
= SWIG_From_long((long)(result
));
9508 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9509 PyObject
*resultobj
;
9510 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9512 PyObject
* obj0
= 0 ;
9514 (char *) "self", NULL
9517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
9518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9519 if (SWIG_arg_fail(1)) SWIG_fail
;
9521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9522 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
9524 wxPyEndAllowThreads(__tstate
);
9525 if (PyErr_Occurred()) SWIG_fail
;
9528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9536 static PyObject
*_wrap_TextAttr_Combine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9537 PyObject
*resultobj
;
9538 wxTextAttr
*arg1
= 0 ;
9539 wxTextAttr
*arg2
= 0 ;
9540 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
9542 PyObject
* obj0
= 0 ;
9543 PyObject
* obj1
= 0 ;
9544 PyObject
* obj2
= 0 ;
9546 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
9549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9552 if (SWIG_arg_fail(1)) SWIG_fail
;
9554 SWIG_null_ref("wxTextAttr");
9556 if (SWIG_arg_fail(1)) SWIG_fail
;
9559 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9560 if (SWIG_arg_fail(2)) SWIG_fail
;
9562 SWIG_null_ref("wxTextAttr");
9564 if (SWIG_arg_fail(2)) SWIG_fail
;
9566 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9567 if (SWIG_arg_fail(3)) SWIG_fail
;
9569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9570 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
9572 wxPyEndAllowThreads(__tstate
);
9573 if (PyErr_Occurred()) SWIG_fail
;
9576 wxTextAttr
* resultptr
;
9577 resultptr
= new wxTextAttr((wxTextAttr
&)(result
));
9578 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
9586 static PyObject
* TextAttr_swigregister(PyObject
*, PyObject
*args
) {
9588 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9589 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
9591 return Py_BuildValue((char *)"");
9593 static PyObject
*_wrap_new_TextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9594 PyObject
*resultobj
;
9595 wxWindow
*arg1
= (wxWindow
*) 0 ;
9596 int arg2
= (int) -1 ;
9597 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9598 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9599 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9600 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9601 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9602 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9603 long arg6
= (long) 0 ;
9604 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9605 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9606 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
9607 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9609 bool temp3
= false ;
9612 bool temp8
= false ;
9613 PyObject
* obj0
= 0 ;
9614 PyObject
* obj1
= 0 ;
9615 PyObject
* obj2
= 0 ;
9616 PyObject
* obj3
= 0 ;
9617 PyObject
* obj4
= 0 ;
9618 PyObject
* obj5
= 0 ;
9619 PyObject
* obj6
= 0 ;
9620 PyObject
* obj7
= 0 ;
9622 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9627 if (SWIG_arg_fail(1)) SWIG_fail
;
9630 arg2
= (int)(SWIG_As_int(obj1
));
9631 if (SWIG_arg_fail(2)) SWIG_fail
;
9636 arg3
= wxString_in_helper(obj2
);
9637 if (arg3
== NULL
) SWIG_fail
;
9644 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9650 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9655 arg6
= (long)(SWIG_As_long(obj5
));
9656 if (SWIG_arg_fail(6)) SWIG_fail
;
9661 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
9662 if (SWIG_arg_fail(7)) SWIG_fail
;
9664 SWIG_null_ref("wxValidator");
9666 if (SWIG_arg_fail(7)) SWIG_fail
;
9671 arg8
= wxString_in_helper(obj7
);
9672 if (arg8
== NULL
) SWIG_fail
;
9677 if (!wxPyCheckForApp()) SWIG_fail
;
9678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9679 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9681 wxPyEndAllowThreads(__tstate
);
9682 if (PyErr_Occurred()) SWIG_fail
;
9684 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
9707 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9708 PyObject
*resultobj
;
9714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
9716 if (!wxPyCheckForApp()) SWIG_fail
;
9717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9718 result
= (wxTextCtrl
*)new wxTextCtrl();
9720 wxPyEndAllowThreads(__tstate
);
9721 if (PyErr_Occurred()) SWIG_fail
;
9723 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
9730 static PyObject
*_wrap_TextCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9731 PyObject
*resultobj
;
9732 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9733 wxWindow
*arg2
= (wxWindow
*) 0 ;
9734 int arg3
= (int) -1 ;
9735 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9736 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9737 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
9738 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
9739 wxSize
const &arg6_defvalue
= wxDefaultSize
;
9740 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
9741 long arg7
= (long) 0 ;
9742 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
9743 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
9744 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
9745 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
9747 bool temp4
= false ;
9750 bool temp9
= false ;
9751 PyObject
* obj0
= 0 ;
9752 PyObject
* obj1
= 0 ;
9753 PyObject
* obj2
= 0 ;
9754 PyObject
* obj3
= 0 ;
9755 PyObject
* obj4
= 0 ;
9756 PyObject
* obj5
= 0 ;
9757 PyObject
* obj6
= 0 ;
9758 PyObject
* obj7
= 0 ;
9759 PyObject
* obj8
= 0 ;
9761 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
9765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9766 if (SWIG_arg_fail(1)) SWIG_fail
;
9767 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9768 if (SWIG_arg_fail(2)) SWIG_fail
;
9771 arg3
= (int)(SWIG_As_int(obj2
));
9772 if (SWIG_arg_fail(3)) SWIG_fail
;
9777 arg4
= wxString_in_helper(obj3
);
9778 if (arg4
== NULL
) SWIG_fail
;
9785 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
9791 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
9796 arg7
= (long)(SWIG_As_long(obj6
));
9797 if (SWIG_arg_fail(7)) SWIG_fail
;
9802 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
9803 if (SWIG_arg_fail(8)) SWIG_fail
;
9805 SWIG_null_ref("wxValidator");
9807 if (SWIG_arg_fail(8)) SWIG_fail
;
9812 arg9
= wxString_in_helper(obj8
);
9813 if (arg9
== NULL
) SWIG_fail
;
9818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9819 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9821 wxPyEndAllowThreads(__tstate
);
9822 if (PyErr_Occurred()) SWIG_fail
;
9825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9849 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9850 PyObject
*resultobj
;
9851 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9853 PyObject
* obj0
= 0 ;
9855 (char *) "self", NULL
9858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
9859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9860 if (SWIG_arg_fail(1)) SWIG_fail
;
9862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9863 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
9865 wxPyEndAllowThreads(__tstate
);
9866 if (PyErr_Occurred()) SWIG_fail
;
9870 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9872 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9881 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9882 PyObject
*resultobj
;
9883 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9884 wxString
*arg2
= 0 ;
9885 bool temp2
= false ;
9886 PyObject
* obj0
= 0 ;
9887 PyObject
* obj1
= 0 ;
9889 (char *) "self",(char *) "value", NULL
9892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
9893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9894 if (SWIG_arg_fail(1)) SWIG_fail
;
9896 arg2
= wxString_in_helper(obj1
);
9897 if (arg2
== NULL
) SWIG_fail
;
9901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9902 (arg1
)->SetValue((wxString
const &)*arg2
);
9904 wxPyEndAllowThreads(__tstate
);
9905 if (PyErr_Occurred()) SWIG_fail
;
9907 Py_INCREF(Py_None
); resultobj
= Py_None
;
9922 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9923 PyObject
*resultobj
;
9924 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9928 PyObject
* obj0
= 0 ;
9929 PyObject
* obj1
= 0 ;
9930 PyObject
* obj2
= 0 ;
9932 (char *) "self",(char *) "from",(char *) "to", NULL
9935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9937 if (SWIG_arg_fail(1)) SWIG_fail
;
9939 arg2
= (long)(SWIG_As_long(obj1
));
9940 if (SWIG_arg_fail(2)) SWIG_fail
;
9943 arg3
= (long)(SWIG_As_long(obj2
));
9944 if (SWIG_arg_fail(3)) SWIG_fail
;
9947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9948 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
9950 wxPyEndAllowThreads(__tstate
);
9951 if (PyErr_Occurred()) SWIG_fail
;
9955 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9957 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9966 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9967 PyObject
*resultobj
;
9968 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9971 PyObject
* obj0
= 0 ;
9972 PyObject
* obj1
= 0 ;
9974 (char *) "self",(char *) "lineNo", NULL
9977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
9978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9979 if (SWIG_arg_fail(1)) SWIG_fail
;
9981 arg2
= (long)(SWIG_As_long(obj1
));
9982 if (SWIG_arg_fail(2)) SWIG_fail
;
9985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9986 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
9988 wxPyEndAllowThreads(__tstate
);
9989 if (PyErr_Occurred()) SWIG_fail
;
9992 resultobj
= SWIG_From_int((int)(result
));
10000 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10001 PyObject
*resultobj
;
10002 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10005 PyObject
* obj0
= 0 ;
10006 PyObject
* obj1
= 0 ;
10007 char *kwnames
[] = {
10008 (char *) "self",(char *) "lineNo", NULL
10011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
10012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10013 if (SWIG_arg_fail(1)) SWIG_fail
;
10015 arg2
= (long)(SWIG_As_long(obj1
));
10016 if (SWIG_arg_fail(2)) SWIG_fail
;
10019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10020 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
10022 wxPyEndAllowThreads(__tstate
);
10023 if (PyErr_Occurred()) SWIG_fail
;
10027 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10029 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10038 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10039 PyObject
*resultobj
;
10040 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10042 PyObject
* obj0
= 0 ;
10043 char *kwnames
[] = {
10044 (char *) "self", NULL
10047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
10048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10049 if (SWIG_arg_fail(1)) SWIG_fail
;
10051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10052 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
10054 wxPyEndAllowThreads(__tstate
);
10055 if (PyErr_Occurred()) SWIG_fail
;
10058 resultobj
= SWIG_From_int((int)(result
));
10066 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10067 PyObject
*resultobj
;
10068 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10070 PyObject
* obj0
= 0 ;
10071 char *kwnames
[] = {
10072 (char *) "self", NULL
10075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
10076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10077 if (SWIG_arg_fail(1)) SWIG_fail
;
10079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10080 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
10082 wxPyEndAllowThreads(__tstate
);
10083 if (PyErr_Occurred()) SWIG_fail
;
10086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10094 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10095 PyObject
*resultobj
;
10096 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10098 PyObject
* obj0
= 0 ;
10099 char *kwnames
[] = {
10100 (char *) "self", NULL
10103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
10104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10105 if (SWIG_arg_fail(1)) SWIG_fail
;
10107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10108 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
10110 wxPyEndAllowThreads(__tstate
);
10111 if (PyErr_Occurred()) SWIG_fail
;
10114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10122 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10123 PyObject
*resultobj
;
10124 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10126 PyObject
* obj0
= 0 ;
10127 char *kwnames
[] = {
10128 (char *) "self", NULL
10131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
10132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10133 if (SWIG_arg_fail(1)) SWIG_fail
;
10135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10136 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
10138 wxPyEndAllowThreads(__tstate
);
10139 if (PyErr_Occurred()) SWIG_fail
;
10142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10150 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10151 PyObject
*resultobj
;
10152 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10154 PyObject
* obj0
= 0 ;
10155 char *kwnames
[] = {
10156 (char *) "self", NULL
10159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
10160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10161 if (SWIG_arg_fail(1)) SWIG_fail
;
10163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10164 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
10166 wxPyEndAllowThreads(__tstate
);
10167 if (PyErr_Occurred()) SWIG_fail
;
10170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10178 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10179 PyObject
*resultobj
;
10180 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10181 long *arg2
= (long *) 0 ;
10182 long *arg3
= (long *) 0 ;
10187 PyObject
* obj0
= 0 ;
10188 char *kwnames
[] = {
10189 (char *) "self", NULL
10192 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10193 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
10195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10196 if (SWIG_arg_fail(1)) SWIG_fail
;
10198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10199 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
10201 wxPyEndAllowThreads(__tstate
);
10202 if (PyErr_Occurred()) SWIG_fail
;
10204 Py_INCREF(Py_None
); resultobj
= Py_None
;
10205 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10206 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
10207 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10208 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10215 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10216 PyObject
*resultobj
;
10217 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10219 PyObject
* obj0
= 0 ;
10220 char *kwnames
[] = {
10221 (char *) "self", NULL
10224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
10225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10226 if (SWIG_arg_fail(1)) SWIG_fail
;
10228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10229 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
10231 wxPyEndAllowThreads(__tstate
);
10232 if (PyErr_Occurred()) SWIG_fail
;
10236 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10238 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10247 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10248 PyObject
*resultobj
;
10249 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10250 PyObject
* obj0
= 0 ;
10251 char *kwnames
[] = {
10252 (char *) "self", NULL
10255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
10256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10257 if (SWIG_arg_fail(1)) SWIG_fail
;
10259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10262 wxPyEndAllowThreads(__tstate
);
10263 if (PyErr_Occurred()) SWIG_fail
;
10265 Py_INCREF(Py_None
); resultobj
= Py_None
;
10272 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10273 PyObject
*resultobj
;
10274 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10277 wxString
*arg4
= 0 ;
10278 bool temp4
= false ;
10279 PyObject
* obj0
= 0 ;
10280 PyObject
* obj1
= 0 ;
10281 PyObject
* obj2
= 0 ;
10282 PyObject
* obj3
= 0 ;
10283 char *kwnames
[] = {
10284 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
10287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10289 if (SWIG_arg_fail(1)) SWIG_fail
;
10291 arg2
= (long)(SWIG_As_long(obj1
));
10292 if (SWIG_arg_fail(2)) SWIG_fail
;
10295 arg3
= (long)(SWIG_As_long(obj2
));
10296 if (SWIG_arg_fail(3)) SWIG_fail
;
10299 arg4
= wxString_in_helper(obj3
);
10300 if (arg4
== NULL
) SWIG_fail
;
10304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10305 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
10307 wxPyEndAllowThreads(__tstate
);
10308 if (PyErr_Occurred()) SWIG_fail
;
10310 Py_INCREF(Py_None
); resultobj
= Py_None
;
10325 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10326 PyObject
*resultobj
;
10327 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10330 PyObject
* obj0
= 0 ;
10331 PyObject
* obj1
= 0 ;
10332 PyObject
* obj2
= 0 ;
10333 char *kwnames
[] = {
10334 (char *) "self",(char *) "from",(char *) "to", NULL
10337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10339 if (SWIG_arg_fail(1)) SWIG_fail
;
10341 arg2
= (long)(SWIG_As_long(obj1
));
10342 if (SWIG_arg_fail(2)) SWIG_fail
;
10345 arg3
= (long)(SWIG_As_long(obj2
));
10346 if (SWIG_arg_fail(3)) SWIG_fail
;
10349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10350 (arg1
)->Remove(arg2
,arg3
);
10352 wxPyEndAllowThreads(__tstate
);
10353 if (PyErr_Occurred()) SWIG_fail
;
10355 Py_INCREF(Py_None
); resultobj
= Py_None
;
10362 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10363 PyObject
*resultobj
;
10364 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10365 wxString
*arg2
= 0 ;
10367 bool temp2
= false ;
10368 PyObject
* obj0
= 0 ;
10369 PyObject
* obj1
= 0 ;
10370 char *kwnames
[] = {
10371 (char *) "self",(char *) "file", NULL
10374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
10375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10376 if (SWIG_arg_fail(1)) SWIG_fail
;
10378 arg2
= wxString_in_helper(obj1
);
10379 if (arg2
== NULL
) SWIG_fail
;
10383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10384 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
10386 wxPyEndAllowThreads(__tstate
);
10387 if (PyErr_Occurred()) SWIG_fail
;
10390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10406 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10407 PyObject
*resultobj
;
10408 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10409 wxString
const &arg2_defvalue
= wxPyEmptyString
;
10410 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
10412 bool temp2
= false ;
10413 PyObject
* obj0
= 0 ;
10414 PyObject
* obj1
= 0 ;
10415 char *kwnames
[] = {
10416 (char *) "self",(char *) "file", NULL
10419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
10420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10421 if (SWIG_arg_fail(1)) SWIG_fail
;
10424 arg2
= wxString_in_helper(obj1
);
10425 if (arg2
== NULL
) SWIG_fail
;
10430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10431 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
10433 wxPyEndAllowThreads(__tstate
);
10434 if (PyErr_Occurred()) SWIG_fail
;
10437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10453 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10454 PyObject
*resultobj
;
10455 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10456 PyObject
* obj0
= 0 ;
10457 char *kwnames
[] = {
10458 (char *) "self", NULL
10461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
10462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10463 if (SWIG_arg_fail(1)) SWIG_fail
;
10465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10466 (arg1
)->MarkDirty();
10468 wxPyEndAllowThreads(__tstate
);
10469 if (PyErr_Occurred()) SWIG_fail
;
10471 Py_INCREF(Py_None
); resultobj
= Py_None
;
10478 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10479 PyObject
*resultobj
;
10480 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10481 PyObject
* obj0
= 0 ;
10482 char *kwnames
[] = {
10483 (char *) "self", NULL
10486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
10487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10488 if (SWIG_arg_fail(1)) SWIG_fail
;
10490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10491 (arg1
)->DiscardEdits();
10493 wxPyEndAllowThreads(__tstate
);
10494 if (PyErr_Occurred()) SWIG_fail
;
10496 Py_INCREF(Py_None
); resultobj
= Py_None
;
10503 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10504 PyObject
*resultobj
;
10505 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10506 unsigned long arg2
;
10507 PyObject
* obj0
= 0 ;
10508 PyObject
* obj1
= 0 ;
10509 char *kwnames
[] = {
10510 (char *) "self",(char *) "len", NULL
10513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
10514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10515 if (SWIG_arg_fail(1)) SWIG_fail
;
10517 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
10518 if (SWIG_arg_fail(2)) SWIG_fail
;
10521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10522 (arg1
)->SetMaxLength(arg2
);
10524 wxPyEndAllowThreads(__tstate
);
10525 if (PyErr_Occurred()) SWIG_fail
;
10527 Py_INCREF(Py_None
); resultobj
= Py_None
;
10534 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10535 PyObject
*resultobj
;
10536 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10537 wxString
*arg2
= 0 ;
10538 bool temp2
= false ;
10539 PyObject
* obj0
= 0 ;
10540 PyObject
* obj1
= 0 ;
10541 char *kwnames
[] = {
10542 (char *) "self",(char *) "text", NULL
10545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
10546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10547 if (SWIG_arg_fail(1)) SWIG_fail
;
10549 arg2
= wxString_in_helper(obj1
);
10550 if (arg2
== NULL
) SWIG_fail
;
10554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10555 (arg1
)->WriteText((wxString
const &)*arg2
);
10557 wxPyEndAllowThreads(__tstate
);
10558 if (PyErr_Occurred()) SWIG_fail
;
10560 Py_INCREF(Py_None
); resultobj
= Py_None
;
10575 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10576 PyObject
*resultobj
;
10577 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10578 wxString
*arg2
= 0 ;
10579 bool temp2
= false ;
10580 PyObject
* obj0
= 0 ;
10581 PyObject
* obj1
= 0 ;
10582 char *kwnames
[] = {
10583 (char *) "self",(char *) "text", NULL
10586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
10587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10588 if (SWIG_arg_fail(1)) SWIG_fail
;
10590 arg2
= wxString_in_helper(obj1
);
10591 if (arg2
== NULL
) SWIG_fail
;
10595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10596 (arg1
)->AppendText((wxString
const &)*arg2
);
10598 wxPyEndAllowThreads(__tstate
);
10599 if (PyErr_Occurred()) SWIG_fail
;
10601 Py_INCREF(Py_None
); resultobj
= Py_None
;
10616 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10617 PyObject
*resultobj
;
10618 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10619 wxKeyEvent
*arg2
= 0 ;
10621 PyObject
* obj0
= 0 ;
10622 PyObject
* obj1
= 0 ;
10623 char *kwnames
[] = {
10624 (char *) "self",(char *) "event", NULL
10627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
10628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10629 if (SWIG_arg_fail(1)) SWIG_fail
;
10631 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
10632 if (SWIG_arg_fail(2)) SWIG_fail
;
10633 if (arg2
== NULL
) {
10634 SWIG_null_ref("wxKeyEvent");
10636 if (SWIG_arg_fail(2)) SWIG_fail
;
10639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10640 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
10642 wxPyEndAllowThreads(__tstate
);
10643 if (PyErr_Occurred()) SWIG_fail
;
10646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10654 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10655 PyObject
*resultobj
;
10656 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10659 wxTextAttr
*arg4
= 0 ;
10661 PyObject
* obj0
= 0 ;
10662 PyObject
* obj1
= 0 ;
10663 PyObject
* obj2
= 0 ;
10664 PyObject
* obj3
= 0 ;
10665 char *kwnames
[] = {
10666 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
10669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10671 if (SWIG_arg_fail(1)) SWIG_fail
;
10673 arg2
= (long)(SWIG_As_long(obj1
));
10674 if (SWIG_arg_fail(2)) SWIG_fail
;
10677 arg3
= (long)(SWIG_As_long(obj2
));
10678 if (SWIG_arg_fail(3)) SWIG_fail
;
10681 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10682 if (SWIG_arg_fail(4)) SWIG_fail
;
10683 if (arg4
== NULL
) {
10684 SWIG_null_ref("wxTextAttr");
10686 if (SWIG_arg_fail(4)) SWIG_fail
;
10689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10690 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
10692 wxPyEndAllowThreads(__tstate
);
10693 if (PyErr_Occurred()) SWIG_fail
;
10696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10704 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10705 PyObject
*resultobj
;
10706 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10708 wxTextAttr
*arg3
= 0 ;
10710 PyObject
* obj0
= 0 ;
10711 PyObject
* obj1
= 0 ;
10712 PyObject
* obj2
= 0 ;
10713 char *kwnames
[] = {
10714 (char *) "self",(char *) "position",(char *) "style", NULL
10717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10719 if (SWIG_arg_fail(1)) SWIG_fail
;
10721 arg2
= (long)(SWIG_As_long(obj1
));
10722 if (SWIG_arg_fail(2)) SWIG_fail
;
10725 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10726 if (SWIG_arg_fail(3)) SWIG_fail
;
10727 if (arg3
== NULL
) {
10728 SWIG_null_ref("wxTextAttr");
10730 if (SWIG_arg_fail(3)) SWIG_fail
;
10733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10734 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
10736 wxPyEndAllowThreads(__tstate
);
10737 if (PyErr_Occurred()) SWIG_fail
;
10740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10748 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10749 PyObject
*resultobj
;
10750 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10751 wxTextAttr
*arg2
= 0 ;
10753 PyObject
* obj0
= 0 ;
10754 PyObject
* obj1
= 0 ;
10755 char *kwnames
[] = {
10756 (char *) "self",(char *) "style", NULL
10759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
10760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10761 if (SWIG_arg_fail(1)) SWIG_fail
;
10763 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10764 if (SWIG_arg_fail(2)) SWIG_fail
;
10765 if (arg2
== NULL
) {
10766 SWIG_null_ref("wxTextAttr");
10768 if (SWIG_arg_fail(2)) SWIG_fail
;
10771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10772 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
10774 wxPyEndAllowThreads(__tstate
);
10775 if (PyErr_Occurred()) SWIG_fail
;
10778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10786 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10787 PyObject
*resultobj
;
10788 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10789 wxTextAttr
*result
;
10790 PyObject
* obj0
= 0 ;
10791 char *kwnames
[] = {
10792 (char *) "self", NULL
10795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
10796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10797 if (SWIG_arg_fail(1)) SWIG_fail
;
10799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10801 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
10802 result
= (wxTextAttr
*) &_result_ref
;
10805 wxPyEndAllowThreads(__tstate
);
10806 if (PyErr_Occurred()) SWIG_fail
;
10808 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
10815 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10816 PyObject
*resultobj
;
10817 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10821 PyObject
* obj0
= 0 ;
10822 PyObject
* obj1
= 0 ;
10823 PyObject
* obj2
= 0 ;
10824 char *kwnames
[] = {
10825 (char *) "self",(char *) "x",(char *) "y", NULL
10828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10830 if (SWIG_arg_fail(1)) SWIG_fail
;
10832 arg2
= (long)(SWIG_As_long(obj1
));
10833 if (SWIG_arg_fail(2)) SWIG_fail
;
10836 arg3
= (long)(SWIG_As_long(obj2
));
10837 if (SWIG_arg_fail(3)) SWIG_fail
;
10840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10841 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
10843 wxPyEndAllowThreads(__tstate
);
10844 if (PyErr_Occurred()) SWIG_fail
;
10847 resultobj
= SWIG_From_long((long)(result
));
10855 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10856 PyObject
*resultobj
;
10857 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10859 long *arg3
= (long *) 0 ;
10860 long *arg4
= (long *) 0 ;
10865 PyObject
* obj0
= 0 ;
10866 PyObject
* obj1
= 0 ;
10867 char *kwnames
[] = {
10868 (char *) "self",(char *) "pos", NULL
10871 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10872 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
10874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10875 if (SWIG_arg_fail(1)) SWIG_fail
;
10877 arg2
= (long)(SWIG_As_long(obj1
));
10878 if (SWIG_arg_fail(2)) SWIG_fail
;
10881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10882 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
10884 wxPyEndAllowThreads(__tstate
);
10885 if (PyErr_Occurred()) SWIG_fail
;
10887 Py_INCREF(Py_None
); resultobj
= Py_None
;
10888 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10889 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10890 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10891 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
10898 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10899 PyObject
*resultobj
;
10900 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10902 PyObject
* obj0
= 0 ;
10903 PyObject
* obj1
= 0 ;
10904 char *kwnames
[] = {
10905 (char *) "self",(char *) "pos", NULL
10908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10910 if (SWIG_arg_fail(1)) SWIG_fail
;
10912 arg2
= (long)(SWIG_As_long(obj1
));
10913 if (SWIG_arg_fail(2)) SWIG_fail
;
10916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10917 (arg1
)->ShowPosition(arg2
);
10919 wxPyEndAllowThreads(__tstate
);
10920 if (PyErr_Occurred()) SWIG_fail
;
10922 Py_INCREF(Py_None
); resultobj
= Py_None
;
10929 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10930 PyObject
*resultobj
;
10931 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10932 wxPoint
*arg2
= 0 ;
10933 long *arg3
= (long *) 0 ;
10934 long *arg4
= (long *) 0 ;
10935 wxTextCtrlHitTestResult result
;
10941 PyObject
* obj0
= 0 ;
10942 PyObject
* obj1
= 0 ;
10943 char *kwnames
[] = {
10944 (char *) "self",(char *) "pt", NULL
10947 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10948 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
10950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10951 if (SWIG_arg_fail(1)) SWIG_fail
;
10954 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10958 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
10960 wxPyEndAllowThreads(__tstate
);
10961 if (PyErr_Occurred()) SWIG_fail
;
10963 resultobj
= SWIG_From_int((result
));
10964 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10965 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10966 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10967 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
10974 static PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10975 PyObject
*resultobj
;
10976 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10977 wxPoint
*arg2
= 0 ;
10978 long *arg3
= (long *) 0 ;
10979 wxTextCtrlHitTestResult result
;
10983 PyObject
* obj0
= 0 ;
10984 PyObject
* obj1
= 0 ;
10985 char *kwnames
[] = {
10986 (char *) "self",(char *) "pt", NULL
10989 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) goto fail
;
10991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10992 if (SWIG_arg_fail(1)) SWIG_fail
;
10995 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10999 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
11001 wxPyEndAllowThreads(__tstate
);
11002 if (PyErr_Occurred()) SWIG_fail
;
11004 resultobj
= SWIG_From_int((result
));
11005 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11006 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
11013 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11014 PyObject
*resultobj
;
11015 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11016 PyObject
* obj0
= 0 ;
11017 char *kwnames
[] = {
11018 (char *) "self", NULL
11021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
11022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11023 if (SWIG_arg_fail(1)) SWIG_fail
;
11025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11028 wxPyEndAllowThreads(__tstate
);
11029 if (PyErr_Occurred()) SWIG_fail
;
11031 Py_INCREF(Py_None
); resultobj
= Py_None
;
11038 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11039 PyObject
*resultobj
;
11040 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11041 PyObject
* obj0
= 0 ;
11042 char *kwnames
[] = {
11043 (char *) "self", NULL
11046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
11047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11048 if (SWIG_arg_fail(1)) SWIG_fail
;
11050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11053 wxPyEndAllowThreads(__tstate
);
11054 if (PyErr_Occurred()) SWIG_fail
;
11056 Py_INCREF(Py_None
); resultobj
= Py_None
;
11063 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11064 PyObject
*resultobj
;
11065 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11066 PyObject
* obj0
= 0 ;
11067 char *kwnames
[] = {
11068 (char *) "self", NULL
11071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
11072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11073 if (SWIG_arg_fail(1)) SWIG_fail
;
11075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11078 wxPyEndAllowThreads(__tstate
);
11079 if (PyErr_Occurred()) SWIG_fail
;
11081 Py_INCREF(Py_None
); resultobj
= Py_None
;
11088 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11089 PyObject
*resultobj
;
11090 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11092 PyObject
* obj0
= 0 ;
11093 char *kwnames
[] = {
11094 (char *) "self", NULL
11097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
11098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11099 if (SWIG_arg_fail(1)) SWIG_fail
;
11101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11102 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
11104 wxPyEndAllowThreads(__tstate
);
11105 if (PyErr_Occurred()) SWIG_fail
;
11108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11116 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11117 PyObject
*resultobj
;
11118 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11120 PyObject
* obj0
= 0 ;
11121 char *kwnames
[] = {
11122 (char *) "self", NULL
11125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
11126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11127 if (SWIG_arg_fail(1)) SWIG_fail
;
11129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11130 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
11132 wxPyEndAllowThreads(__tstate
);
11133 if (PyErr_Occurred()) SWIG_fail
;
11136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11144 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11145 PyObject
*resultobj
;
11146 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11148 PyObject
* obj0
= 0 ;
11149 char *kwnames
[] = {
11150 (char *) "self", NULL
11153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
11154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11155 if (SWIG_arg_fail(1)) SWIG_fail
;
11157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11158 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
11160 wxPyEndAllowThreads(__tstate
);
11161 if (PyErr_Occurred()) SWIG_fail
;
11164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11172 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11173 PyObject
*resultobj
;
11174 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11175 PyObject
* obj0
= 0 ;
11176 char *kwnames
[] = {
11177 (char *) "self", NULL
11180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
11181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11182 if (SWIG_arg_fail(1)) SWIG_fail
;
11184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11187 wxPyEndAllowThreads(__tstate
);
11188 if (PyErr_Occurred()) SWIG_fail
;
11190 Py_INCREF(Py_None
); resultobj
= Py_None
;
11197 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11198 PyObject
*resultobj
;
11199 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11200 PyObject
* obj0
= 0 ;
11201 char *kwnames
[] = {
11202 (char *) "self", NULL
11205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
11206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11207 if (SWIG_arg_fail(1)) SWIG_fail
;
11209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11212 wxPyEndAllowThreads(__tstate
);
11213 if (PyErr_Occurred()) SWIG_fail
;
11215 Py_INCREF(Py_None
); resultobj
= Py_None
;
11222 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11223 PyObject
*resultobj
;
11224 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11226 PyObject
* obj0
= 0 ;
11227 char *kwnames
[] = {
11228 (char *) "self", NULL
11231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
11232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11233 if (SWIG_arg_fail(1)) SWIG_fail
;
11235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11236 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
11238 wxPyEndAllowThreads(__tstate
);
11239 if (PyErr_Occurred()) SWIG_fail
;
11242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11250 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11251 PyObject
*resultobj
;
11252 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11254 PyObject
* obj0
= 0 ;
11255 char *kwnames
[] = {
11256 (char *) "self", NULL
11259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
11260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11261 if (SWIG_arg_fail(1)) SWIG_fail
;
11263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11264 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
11266 wxPyEndAllowThreads(__tstate
);
11267 if (PyErr_Occurred()) SWIG_fail
;
11270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11278 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11279 PyObject
*resultobj
;
11280 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11282 PyObject
* obj0
= 0 ;
11283 PyObject
* obj1
= 0 ;
11284 char *kwnames
[] = {
11285 (char *) "self",(char *) "pos", NULL
11288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11290 if (SWIG_arg_fail(1)) SWIG_fail
;
11292 arg2
= (long)(SWIG_As_long(obj1
));
11293 if (SWIG_arg_fail(2)) SWIG_fail
;
11296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11297 (arg1
)->SetInsertionPoint(arg2
);
11299 wxPyEndAllowThreads(__tstate
);
11300 if (PyErr_Occurred()) SWIG_fail
;
11302 Py_INCREF(Py_None
); resultobj
= Py_None
;
11309 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11310 PyObject
*resultobj
;
11311 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11312 PyObject
* obj0
= 0 ;
11313 char *kwnames
[] = {
11314 (char *) "self", NULL
11317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
11318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11319 if (SWIG_arg_fail(1)) SWIG_fail
;
11321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11322 (arg1
)->SetInsertionPointEnd();
11324 wxPyEndAllowThreads(__tstate
);
11325 if (PyErr_Occurred()) SWIG_fail
;
11327 Py_INCREF(Py_None
); resultobj
= Py_None
;
11334 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11335 PyObject
*resultobj
;
11336 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11338 PyObject
* obj0
= 0 ;
11339 char *kwnames
[] = {
11340 (char *) "self", NULL
11343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
11344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11345 if (SWIG_arg_fail(1)) SWIG_fail
;
11347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11348 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
11350 wxPyEndAllowThreads(__tstate
);
11351 if (PyErr_Occurred()) SWIG_fail
;
11354 resultobj
= SWIG_From_long((long)(result
));
11362 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11363 PyObject
*resultobj
;
11364 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11366 PyObject
* obj0
= 0 ;
11367 char *kwnames
[] = {
11368 (char *) "self", NULL
11371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
11372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11373 if (SWIG_arg_fail(1)) SWIG_fail
;
11375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11376 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
11378 wxPyEndAllowThreads(__tstate
);
11379 if (PyErr_Occurred()) SWIG_fail
;
11382 resultobj
= SWIG_From_long((long)(result
));
11390 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11391 PyObject
*resultobj
;
11392 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11395 PyObject
* obj0
= 0 ;
11396 PyObject
* obj1
= 0 ;
11397 PyObject
* obj2
= 0 ;
11398 char *kwnames
[] = {
11399 (char *) "self",(char *) "from",(char *) "to", NULL
11402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11404 if (SWIG_arg_fail(1)) SWIG_fail
;
11406 arg2
= (long)(SWIG_As_long(obj1
));
11407 if (SWIG_arg_fail(2)) SWIG_fail
;
11410 arg3
= (long)(SWIG_As_long(obj2
));
11411 if (SWIG_arg_fail(3)) SWIG_fail
;
11414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11415 (arg1
)->SetSelection(arg2
,arg3
);
11417 wxPyEndAllowThreads(__tstate
);
11418 if (PyErr_Occurred()) SWIG_fail
;
11420 Py_INCREF(Py_None
); resultobj
= Py_None
;
11427 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11428 PyObject
*resultobj
;
11429 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11430 PyObject
* obj0
= 0 ;
11431 char *kwnames
[] = {
11432 (char *) "self", NULL
11435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
11436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11437 if (SWIG_arg_fail(1)) SWIG_fail
;
11439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11440 (arg1
)->SelectAll();
11442 wxPyEndAllowThreads(__tstate
);
11443 if (PyErr_Occurred()) SWIG_fail
;
11445 Py_INCREF(Py_None
); resultobj
= Py_None
;
11452 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11453 PyObject
*resultobj
;
11454 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11456 PyObject
* obj0
= 0 ;
11457 PyObject
* obj1
= 0 ;
11458 char *kwnames
[] = {
11459 (char *) "self",(char *) "editable", NULL
11462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
11463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11464 if (SWIG_arg_fail(1)) SWIG_fail
;
11466 arg2
= (bool)(SWIG_As_bool(obj1
));
11467 if (SWIG_arg_fail(2)) SWIG_fail
;
11470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11471 (arg1
)->SetEditable(arg2
);
11473 wxPyEndAllowThreads(__tstate
);
11474 if (PyErr_Occurred()) SWIG_fail
;
11476 Py_INCREF(Py_None
); resultobj
= Py_None
;
11483 static PyObject
*_wrap_TextCtrl_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11484 PyObject
*resultobj
;
11485 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11486 wxString
*arg2
= 0 ;
11487 bool temp2
= false ;
11488 PyObject
* obj0
= 0 ;
11489 PyObject
* obj1
= 0 ;
11490 char *kwnames
[] = {
11491 (char *) "self",(char *) "text", NULL
11494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
11495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11496 if (SWIG_arg_fail(1)) SWIG_fail
;
11498 arg2
= wxString_in_helper(obj1
);
11499 if (arg2
== NULL
) SWIG_fail
;
11503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11504 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
11506 wxPyEndAllowThreads(__tstate
);
11507 if (PyErr_Occurred()) SWIG_fail
;
11509 Py_INCREF(Py_None
); resultobj
= Py_None
;
11524 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11525 PyObject
*resultobj
;
11526 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11530 PyObject
* obj0
= 0 ;
11531 PyObject
* obj1
= 0 ;
11532 PyObject
* obj2
= 0 ;
11533 char *kwnames
[] = {
11534 (char *) "self",(char *) "from",(char *) "to", NULL
11537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11539 if (SWIG_arg_fail(1)) SWIG_fail
;
11541 arg2
= (long)(SWIG_As_long(obj1
));
11542 if (SWIG_arg_fail(2)) SWIG_fail
;
11545 arg3
= (long)(SWIG_As_long(obj2
));
11546 if (SWIG_arg_fail(3)) SWIG_fail
;
11549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11550 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
11552 wxPyEndAllowThreads(__tstate
);
11553 if (PyErr_Occurred()) SWIG_fail
;
11557 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11559 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11568 static PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11569 PyObject
*resultobj
;
11570 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
11571 wxVisualAttributes result
;
11572 PyObject
* obj0
= 0 ;
11573 char *kwnames
[] = {
11574 (char *) "variant", NULL
11577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11580 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
11581 if (SWIG_arg_fail(1)) SWIG_fail
;
11585 if (!wxPyCheckForApp()) SWIG_fail
;
11586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11587 result
= wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11589 wxPyEndAllowThreads(__tstate
);
11590 if (PyErr_Occurred()) SWIG_fail
;
11593 wxVisualAttributes
* resultptr
;
11594 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
11595 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11603 static PyObject
* TextCtrl_swigregister(PyObject
*, PyObject
*args
) {
11605 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11606 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
11608 return Py_BuildValue((char *)"");
11610 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11611 PyObject
*resultobj
;
11613 wxMouseEvent
*arg2
= 0 ;
11616 wxTextUrlEvent
*result
;
11617 PyObject
* obj0
= 0 ;
11618 PyObject
* obj1
= 0 ;
11619 PyObject
* obj2
= 0 ;
11620 PyObject
* obj3
= 0 ;
11621 char *kwnames
[] = {
11622 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
11625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11627 arg1
= (int)(SWIG_As_int(obj0
));
11628 if (SWIG_arg_fail(1)) SWIG_fail
;
11631 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
11632 if (SWIG_arg_fail(2)) SWIG_fail
;
11633 if (arg2
== NULL
) {
11634 SWIG_null_ref("wxMouseEvent");
11636 if (SWIG_arg_fail(2)) SWIG_fail
;
11639 arg3
= (long)(SWIG_As_long(obj2
));
11640 if (SWIG_arg_fail(3)) SWIG_fail
;
11643 arg4
= (long)(SWIG_As_long(obj3
));
11644 if (SWIG_arg_fail(4)) SWIG_fail
;
11647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11648 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
11650 wxPyEndAllowThreads(__tstate
);
11651 if (PyErr_Occurred()) SWIG_fail
;
11653 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
11660 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11661 PyObject
*resultobj
;
11662 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11663 wxMouseEvent
*result
;
11664 PyObject
* obj0
= 0 ;
11665 char *kwnames
[] = {
11666 (char *) "self", NULL
11669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
11670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11671 if (SWIG_arg_fail(1)) SWIG_fail
;
11673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11675 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
11676 result
= (wxMouseEvent
*) &_result_ref
;
11679 wxPyEndAllowThreads(__tstate
);
11680 if (PyErr_Occurred()) SWIG_fail
;
11682 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
11689 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11690 PyObject
*resultobj
;
11691 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11693 PyObject
* obj0
= 0 ;
11694 char *kwnames
[] = {
11695 (char *) "self", NULL
11698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
11699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11700 if (SWIG_arg_fail(1)) SWIG_fail
;
11702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11703 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
11705 wxPyEndAllowThreads(__tstate
);
11706 if (PyErr_Occurred()) SWIG_fail
;
11709 resultobj
= SWIG_From_long((long)(result
));
11717 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11718 PyObject
*resultobj
;
11719 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11721 PyObject
* obj0
= 0 ;
11722 char *kwnames
[] = {
11723 (char *) "self", NULL
11726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
11727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11728 if (SWIG_arg_fail(1)) SWIG_fail
;
11730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11731 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
11733 wxPyEndAllowThreads(__tstate
);
11734 if (PyErr_Occurred()) SWIG_fail
;
11737 resultobj
= SWIG_From_long((long)(result
));
11745 static PyObject
* TextUrlEvent_swigregister(PyObject
*, PyObject
*args
) {
11747 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11748 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
11750 return Py_BuildValue((char *)"");
11752 static int _wrap_ScrollBarNameStr_set(PyObject
*) {
11753 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
11758 static PyObject
*_wrap_ScrollBarNameStr_get(void) {
11763 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
11765 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
11772 static PyObject
*_wrap_new_ScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11773 PyObject
*resultobj
;
11774 wxWindow
*arg1
= (wxWindow
*) 0 ;
11775 int arg2
= (int) -1 ;
11776 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11777 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11778 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11779 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11780 long arg5
= (long) wxSB_HORIZONTAL
;
11781 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
11782 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
11783 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
11784 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11785 wxScrollBar
*result
;
11788 bool temp7
= false ;
11789 PyObject
* obj0
= 0 ;
11790 PyObject
* obj1
= 0 ;
11791 PyObject
* obj2
= 0 ;
11792 PyObject
* obj3
= 0 ;
11793 PyObject
* obj4
= 0 ;
11794 PyObject
* obj5
= 0 ;
11795 PyObject
* obj6
= 0 ;
11796 char *kwnames
[] = {
11797 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11802 if (SWIG_arg_fail(1)) SWIG_fail
;
11805 arg2
= (int)(SWIG_As_int(obj1
));
11806 if (SWIG_arg_fail(2)) SWIG_fail
;
11812 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11818 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11823 arg5
= (long)(SWIG_As_long(obj4
));
11824 if (SWIG_arg_fail(5)) SWIG_fail
;
11829 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
11830 if (SWIG_arg_fail(6)) SWIG_fail
;
11831 if (arg6
== NULL
) {
11832 SWIG_null_ref("wxValidator");
11834 if (SWIG_arg_fail(6)) SWIG_fail
;
11839 arg7
= wxString_in_helper(obj6
);
11840 if (arg7
== NULL
) SWIG_fail
;
11845 if (!wxPyCheckForApp()) SWIG_fail
;
11846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11847 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
11849 wxPyEndAllowThreads(__tstate
);
11850 if (PyErr_Occurred()) SWIG_fail
;
11852 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
11867 static PyObject
*_wrap_new_PreScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11868 PyObject
*resultobj
;
11869 wxScrollBar
*result
;
11870 char *kwnames
[] = {
11874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
11876 if (!wxPyCheckForApp()) SWIG_fail
;
11877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11878 result
= (wxScrollBar
*)new wxScrollBar();
11880 wxPyEndAllowThreads(__tstate
);
11881 if (PyErr_Occurred()) SWIG_fail
;
11883 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
11890 static PyObject
*_wrap_ScrollBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11891 PyObject
*resultobj
;
11892 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
11893 wxWindow
*arg2
= (wxWindow
*) 0 ;
11894 int arg3
= (int) -1 ;
11895 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11896 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11897 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11898 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11899 long arg6
= (long) wxSB_HORIZONTAL
;
11900 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11901 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11902 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
11903 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11907 bool temp8
= false ;
11908 PyObject
* obj0
= 0 ;
11909 PyObject
* obj1
= 0 ;
11910 PyObject
* obj2
= 0 ;
11911 PyObject
* obj3
= 0 ;
11912 PyObject
* obj4
= 0 ;
11913 PyObject
* obj5
= 0 ;
11914 PyObject
* obj6
= 0 ;
11915 PyObject
* obj7
= 0 ;
11916 char *kwnames
[] = {
11917 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
11922 if (SWIG_arg_fail(1)) SWIG_fail
;
11923 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11924 if (SWIG_arg_fail(2)) SWIG_fail
;
11927 arg3
= (int)(SWIG_As_int(obj2
));
11928 if (SWIG_arg_fail(3)) SWIG_fail
;
11934 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11940 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11945 arg6
= (long)(SWIG_As_long(obj5
));
11946 if (SWIG_arg_fail(6)) SWIG_fail
;
11951 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
11952 if (SWIG_arg_fail(7)) SWIG_fail
;
11953 if (arg7
== NULL
) {
11954 SWIG_null_ref("wxValidator");
11956 if (SWIG_arg_fail(7)) SWIG_fail
;
11961 arg8
= wxString_in_helper(obj7
);
11962 if (arg8
== NULL
) SWIG_fail
;
11967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11968 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11970 wxPyEndAllowThreads(__tstate
);
11971 if (PyErr_Occurred()) SWIG_fail
;
11974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11990 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11991 PyObject
*resultobj
;
11992 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
11994 PyObject
* obj0
= 0 ;
11995 char *kwnames
[] = {
11996 (char *) "self", NULL
11999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
12000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12001 if (SWIG_arg_fail(1)) SWIG_fail
;
12003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12004 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
12006 wxPyEndAllowThreads(__tstate
);
12007 if (PyErr_Occurred()) SWIG_fail
;
12010 resultobj
= SWIG_From_int((int)(result
));
12018 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12019 PyObject
*resultobj
;
12020 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12022 PyObject
* obj0
= 0 ;
12023 char *kwnames
[] = {
12024 (char *) "self", NULL
12027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
12028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12029 if (SWIG_arg_fail(1)) SWIG_fail
;
12031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12032 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
12034 wxPyEndAllowThreads(__tstate
);
12035 if (PyErr_Occurred()) SWIG_fail
;
12038 resultobj
= SWIG_From_int((int)(result
));
12046 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12047 PyObject
*resultobj
;
12048 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12050 PyObject
* obj0
= 0 ;
12051 char *kwnames
[] = {
12052 (char *) "self", NULL
12055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
12056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12057 if (SWIG_arg_fail(1)) SWIG_fail
;
12059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12060 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
12062 wxPyEndAllowThreads(__tstate
);
12063 if (PyErr_Occurred()) SWIG_fail
;
12066 resultobj
= SWIG_From_int((int)(result
));
12074 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12075 PyObject
*resultobj
;
12076 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12078 PyObject
* obj0
= 0 ;
12079 char *kwnames
[] = {
12080 (char *) "self", NULL
12083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
12084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12085 if (SWIG_arg_fail(1)) SWIG_fail
;
12087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12088 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
12090 wxPyEndAllowThreads(__tstate
);
12091 if (PyErr_Occurred()) SWIG_fail
;
12094 resultobj
= SWIG_From_int((int)(result
));
12102 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12103 PyObject
*resultobj
;
12104 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12106 PyObject
* obj0
= 0 ;
12107 char *kwnames
[] = {
12108 (char *) "self", NULL
12111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
12112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12113 if (SWIG_arg_fail(1)) SWIG_fail
;
12115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12116 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
12118 wxPyEndAllowThreads(__tstate
);
12119 if (PyErr_Occurred()) SWIG_fail
;
12122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12130 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12131 PyObject
*resultobj
;
12132 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12134 PyObject
* obj0
= 0 ;
12135 PyObject
* obj1
= 0 ;
12136 char *kwnames
[] = {
12137 (char *) "self",(char *) "viewStart", NULL
12140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
12141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12142 if (SWIG_arg_fail(1)) SWIG_fail
;
12144 arg2
= (int)(SWIG_As_int(obj1
));
12145 if (SWIG_arg_fail(2)) SWIG_fail
;
12148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12149 (arg1
)->SetThumbPosition(arg2
);
12151 wxPyEndAllowThreads(__tstate
);
12152 if (PyErr_Occurred()) SWIG_fail
;
12154 Py_INCREF(Py_None
); resultobj
= Py_None
;
12161 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12162 PyObject
*resultobj
;
12163 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12168 bool arg6
= (bool) true ;
12169 PyObject
* obj0
= 0 ;
12170 PyObject
* obj1
= 0 ;
12171 PyObject
* obj2
= 0 ;
12172 PyObject
* obj3
= 0 ;
12173 PyObject
* obj4
= 0 ;
12174 PyObject
* obj5
= 0 ;
12175 char *kwnames
[] = {
12176 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
12179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12181 if (SWIG_arg_fail(1)) SWIG_fail
;
12183 arg2
= (int)(SWIG_As_int(obj1
));
12184 if (SWIG_arg_fail(2)) SWIG_fail
;
12187 arg3
= (int)(SWIG_As_int(obj2
));
12188 if (SWIG_arg_fail(3)) SWIG_fail
;
12191 arg4
= (int)(SWIG_As_int(obj3
));
12192 if (SWIG_arg_fail(4)) SWIG_fail
;
12195 arg5
= (int)(SWIG_As_int(obj4
));
12196 if (SWIG_arg_fail(5)) SWIG_fail
;
12200 arg6
= (bool)(SWIG_As_bool(obj5
));
12201 if (SWIG_arg_fail(6)) SWIG_fail
;
12205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12206 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
12208 wxPyEndAllowThreads(__tstate
);
12209 if (PyErr_Occurred()) SWIG_fail
;
12211 Py_INCREF(Py_None
); resultobj
= Py_None
;
12218 static PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12219 PyObject
*resultobj
;
12220 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
12221 wxVisualAttributes result
;
12222 PyObject
* obj0
= 0 ;
12223 char *kwnames
[] = {
12224 (char *) "variant", NULL
12227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12230 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
12231 if (SWIG_arg_fail(1)) SWIG_fail
;
12235 if (!wxPyCheckForApp()) SWIG_fail
;
12236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12237 result
= wxScrollBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12239 wxPyEndAllowThreads(__tstate
);
12240 if (PyErr_Occurred()) SWIG_fail
;
12243 wxVisualAttributes
* resultptr
;
12244 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
12245 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12253 static PyObject
* ScrollBar_swigregister(PyObject
*, PyObject
*args
) {
12255 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12256 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
12258 return Py_BuildValue((char *)"");
12260 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*) {
12261 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
12266 static PyObject
*_wrap_SPIN_BUTTON_NAME_get(void) {
12271 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
12273 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
12280 static int _wrap_SpinCtrlNameStr_set(PyObject
*) {
12281 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
12286 static PyObject
*_wrap_SpinCtrlNameStr_get(void) {
12291 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
12293 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
12300 static PyObject
*_wrap_new_SpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12301 PyObject
*resultobj
;
12302 wxWindow
*arg1
= (wxWindow
*) 0 ;
12303 int arg2
= (int) -1 ;
12304 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12305 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12306 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12307 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12308 long arg5
= (long) wxSP_HORIZONTAL
;
12309 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
12310 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12311 wxSpinButton
*result
;
12314 bool temp6
= false ;
12315 PyObject
* obj0
= 0 ;
12316 PyObject
* obj1
= 0 ;
12317 PyObject
* obj2
= 0 ;
12318 PyObject
* obj3
= 0 ;
12319 PyObject
* obj4
= 0 ;
12320 PyObject
* obj5
= 0 ;
12321 char *kwnames
[] = {
12322 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12327 if (SWIG_arg_fail(1)) SWIG_fail
;
12330 arg2
= (int)(SWIG_As_int(obj1
));
12331 if (SWIG_arg_fail(2)) SWIG_fail
;
12337 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12343 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12348 arg5
= (long)(SWIG_As_long(obj4
));
12349 if (SWIG_arg_fail(5)) SWIG_fail
;
12354 arg6
= wxString_in_helper(obj5
);
12355 if (arg6
== NULL
) SWIG_fail
;
12360 if (!wxPyCheckForApp()) SWIG_fail
;
12361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12362 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12364 wxPyEndAllowThreads(__tstate
);
12365 if (PyErr_Occurred()) SWIG_fail
;
12367 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
12382 static PyObject
*_wrap_new_PreSpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12383 PyObject
*resultobj
;
12384 wxSpinButton
*result
;
12385 char *kwnames
[] = {
12389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
12391 if (!wxPyCheckForApp()) SWIG_fail
;
12392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12393 result
= (wxSpinButton
*)new wxSpinButton();
12395 wxPyEndAllowThreads(__tstate
);
12396 if (PyErr_Occurred()) SWIG_fail
;
12398 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
12405 static PyObject
*_wrap_SpinButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12406 PyObject
*resultobj
;
12407 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12408 wxWindow
*arg2
= (wxWindow
*) 0 ;
12409 int arg3
= (int) -1 ;
12410 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12411 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12412 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12413 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12414 long arg6
= (long) wxSP_HORIZONTAL
;
12415 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
12416 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12420 bool temp7
= false ;
12421 PyObject
* obj0
= 0 ;
12422 PyObject
* obj1
= 0 ;
12423 PyObject
* obj2
= 0 ;
12424 PyObject
* obj3
= 0 ;
12425 PyObject
* obj4
= 0 ;
12426 PyObject
* obj5
= 0 ;
12427 PyObject
* obj6
= 0 ;
12428 char *kwnames
[] = {
12429 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12434 if (SWIG_arg_fail(1)) SWIG_fail
;
12435 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12436 if (SWIG_arg_fail(2)) SWIG_fail
;
12439 arg3
= (int)(SWIG_As_int(obj2
));
12440 if (SWIG_arg_fail(3)) SWIG_fail
;
12446 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12452 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12457 arg6
= (long)(SWIG_As_long(obj5
));
12458 if (SWIG_arg_fail(6)) SWIG_fail
;
12463 arg7
= wxString_in_helper(obj6
);
12464 if (arg7
== NULL
) SWIG_fail
;
12469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12470 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12472 wxPyEndAllowThreads(__tstate
);
12473 if (PyErr_Occurred()) SWIG_fail
;
12476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12492 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12493 PyObject
*resultobj
;
12494 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12496 PyObject
* obj0
= 0 ;
12497 char *kwnames
[] = {
12498 (char *) "self", NULL
12501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
12502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12503 if (SWIG_arg_fail(1)) SWIG_fail
;
12505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12506 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
12508 wxPyEndAllowThreads(__tstate
);
12509 if (PyErr_Occurred()) SWIG_fail
;
12512 resultobj
= SWIG_From_int((int)(result
));
12520 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12521 PyObject
*resultobj
;
12522 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12524 PyObject
* obj0
= 0 ;
12525 char *kwnames
[] = {
12526 (char *) "self", NULL
12529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
12530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12531 if (SWIG_arg_fail(1)) SWIG_fail
;
12533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12534 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
12536 wxPyEndAllowThreads(__tstate
);
12537 if (PyErr_Occurred()) SWIG_fail
;
12540 resultobj
= SWIG_From_int((int)(result
));
12548 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12549 PyObject
*resultobj
;
12550 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12552 PyObject
* obj0
= 0 ;
12553 char *kwnames
[] = {
12554 (char *) "self", NULL
12557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
12558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12559 if (SWIG_arg_fail(1)) SWIG_fail
;
12561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12562 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
12564 wxPyEndAllowThreads(__tstate
);
12565 if (PyErr_Occurred()) SWIG_fail
;
12568 resultobj
= SWIG_From_int((int)(result
));
12576 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12577 PyObject
*resultobj
;
12578 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12580 PyObject
* obj0
= 0 ;
12581 PyObject
* obj1
= 0 ;
12582 char *kwnames
[] = {
12583 (char *) "self",(char *) "val", NULL
12586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12588 if (SWIG_arg_fail(1)) SWIG_fail
;
12590 arg2
= (int)(SWIG_As_int(obj1
));
12591 if (SWIG_arg_fail(2)) SWIG_fail
;
12594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12595 (arg1
)->SetValue(arg2
);
12597 wxPyEndAllowThreads(__tstate
);
12598 if (PyErr_Occurred()) SWIG_fail
;
12600 Py_INCREF(Py_None
); resultobj
= Py_None
;
12607 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12608 PyObject
*resultobj
;
12609 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12611 PyObject
* obj0
= 0 ;
12612 PyObject
* obj1
= 0 ;
12613 char *kwnames
[] = {
12614 (char *) "self",(char *) "minVal", NULL
12617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
12618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12619 if (SWIG_arg_fail(1)) SWIG_fail
;
12621 arg2
= (int)(SWIG_As_int(obj1
));
12622 if (SWIG_arg_fail(2)) SWIG_fail
;
12625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12626 (arg1
)->SetMin(arg2
);
12628 wxPyEndAllowThreads(__tstate
);
12629 if (PyErr_Occurred()) SWIG_fail
;
12631 Py_INCREF(Py_None
); resultobj
= Py_None
;
12638 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12639 PyObject
*resultobj
;
12640 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12642 PyObject
* obj0
= 0 ;
12643 PyObject
* obj1
= 0 ;
12644 char *kwnames
[] = {
12645 (char *) "self",(char *) "maxVal", NULL
12648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
12649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12650 if (SWIG_arg_fail(1)) SWIG_fail
;
12652 arg2
= (int)(SWIG_As_int(obj1
));
12653 if (SWIG_arg_fail(2)) SWIG_fail
;
12656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12657 (arg1
)->SetMax(arg2
);
12659 wxPyEndAllowThreads(__tstate
);
12660 if (PyErr_Occurred()) SWIG_fail
;
12662 Py_INCREF(Py_None
); resultobj
= Py_None
;
12669 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12670 PyObject
*resultobj
;
12671 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12674 PyObject
* obj0
= 0 ;
12675 PyObject
* obj1
= 0 ;
12676 PyObject
* obj2
= 0 ;
12677 char *kwnames
[] = {
12678 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
12681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12683 if (SWIG_arg_fail(1)) SWIG_fail
;
12685 arg2
= (int)(SWIG_As_int(obj1
));
12686 if (SWIG_arg_fail(2)) SWIG_fail
;
12689 arg3
= (int)(SWIG_As_int(obj2
));
12690 if (SWIG_arg_fail(3)) SWIG_fail
;
12693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12694 (arg1
)->SetRange(arg2
,arg3
);
12696 wxPyEndAllowThreads(__tstate
);
12697 if (PyErr_Occurred()) SWIG_fail
;
12699 Py_INCREF(Py_None
); resultobj
= Py_None
;
12706 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12707 PyObject
*resultobj
;
12708 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12710 PyObject
* obj0
= 0 ;
12711 char *kwnames
[] = {
12712 (char *) "self", NULL
12715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
12716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12717 if (SWIG_arg_fail(1)) SWIG_fail
;
12719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12720 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
12722 wxPyEndAllowThreads(__tstate
);
12723 if (PyErr_Occurred()) SWIG_fail
;
12726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12734 static PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12735 PyObject
*resultobj
;
12736 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
12737 wxVisualAttributes result
;
12738 PyObject
* obj0
= 0 ;
12739 char *kwnames
[] = {
12740 (char *) "variant", NULL
12743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12746 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
12747 if (SWIG_arg_fail(1)) SWIG_fail
;
12751 if (!wxPyCheckForApp()) SWIG_fail
;
12752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12753 result
= wxSpinButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12755 wxPyEndAllowThreads(__tstate
);
12756 if (PyErr_Occurred()) SWIG_fail
;
12759 wxVisualAttributes
* resultptr
;
12760 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
12761 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12769 static PyObject
* SpinButton_swigregister(PyObject
*, PyObject
*args
) {
12771 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12772 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
12774 return Py_BuildValue((char *)"");
12776 static PyObject
*_wrap_new_SpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12777 PyObject
*resultobj
;
12778 wxWindow
*arg1
= (wxWindow
*) 0 ;
12779 int arg2
= (int) -1 ;
12780 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12781 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12782 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12783 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12784 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12785 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12786 long arg6
= (long) wxSP_ARROW_KEYS
;
12787 int arg7
= (int) 0 ;
12788 int arg8
= (int) 100 ;
12789 int arg9
= (int) 0 ;
12790 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
12791 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12792 wxSpinCtrl
*result
;
12793 bool temp3
= false ;
12796 bool temp10
= false ;
12797 PyObject
* obj0
= 0 ;
12798 PyObject
* obj1
= 0 ;
12799 PyObject
* obj2
= 0 ;
12800 PyObject
* obj3
= 0 ;
12801 PyObject
* obj4
= 0 ;
12802 PyObject
* obj5
= 0 ;
12803 PyObject
* obj6
= 0 ;
12804 PyObject
* obj7
= 0 ;
12805 PyObject
* obj8
= 0 ;
12806 PyObject
* obj9
= 0 ;
12807 char *kwnames
[] = {
12808 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
12811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12813 if (SWIG_arg_fail(1)) SWIG_fail
;
12816 arg2
= (int)(SWIG_As_int(obj1
));
12817 if (SWIG_arg_fail(2)) SWIG_fail
;
12822 arg3
= wxString_in_helper(obj2
);
12823 if (arg3
== NULL
) SWIG_fail
;
12830 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12836 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12841 arg6
= (long)(SWIG_As_long(obj5
));
12842 if (SWIG_arg_fail(6)) SWIG_fail
;
12847 arg7
= (int)(SWIG_As_int(obj6
));
12848 if (SWIG_arg_fail(7)) SWIG_fail
;
12853 arg8
= (int)(SWIG_As_int(obj7
));
12854 if (SWIG_arg_fail(8)) SWIG_fail
;
12859 arg9
= (int)(SWIG_As_int(obj8
));
12860 if (SWIG_arg_fail(9)) SWIG_fail
;
12865 arg10
= wxString_in_helper(obj9
);
12866 if (arg10
== NULL
) SWIG_fail
;
12871 if (!wxPyCheckForApp()) SWIG_fail
;
12872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12873 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
12875 wxPyEndAllowThreads(__tstate
);
12876 if (PyErr_Occurred()) SWIG_fail
;
12878 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
12901 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12902 PyObject
*resultobj
;
12903 wxSpinCtrl
*result
;
12904 char *kwnames
[] = {
12908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
12910 if (!wxPyCheckForApp()) SWIG_fail
;
12911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12912 result
= (wxSpinCtrl
*)new wxSpinCtrl();
12914 wxPyEndAllowThreads(__tstate
);
12915 if (PyErr_Occurred()) SWIG_fail
;
12917 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
12924 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12925 PyObject
*resultobj
;
12926 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
12927 wxWindow
*arg2
= (wxWindow
*) 0 ;
12928 int arg3
= (int) -1 ;
12929 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12930 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12931 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12932 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12933 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12934 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12935 long arg7
= (long) wxSP_ARROW_KEYS
;
12936 int arg8
= (int) 0 ;
12937 int arg9
= (int) 100 ;
12938 int arg10
= (int) 0 ;
12939 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
12940 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
12942 bool temp4
= false ;
12945 bool temp11
= false ;
12946 PyObject
* obj0
= 0 ;
12947 PyObject
* obj1
= 0 ;
12948 PyObject
* obj2
= 0 ;
12949 PyObject
* obj3
= 0 ;
12950 PyObject
* obj4
= 0 ;
12951 PyObject
* obj5
= 0 ;
12952 PyObject
* obj6
= 0 ;
12953 PyObject
* obj7
= 0 ;
12954 PyObject
* obj8
= 0 ;
12955 PyObject
* obj9
= 0 ;
12956 PyObject
* obj10
= 0 ;
12957 char *kwnames
[] = {
12958 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
12961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
12962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
12963 if (SWIG_arg_fail(1)) SWIG_fail
;
12964 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12965 if (SWIG_arg_fail(2)) SWIG_fail
;
12968 arg3
= (int)(SWIG_As_int(obj2
));
12969 if (SWIG_arg_fail(3)) SWIG_fail
;
12974 arg4
= wxString_in_helper(obj3
);
12975 if (arg4
== NULL
) SWIG_fail
;
12982 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12988 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12993 arg7
= (long)(SWIG_As_long(obj6
));
12994 if (SWIG_arg_fail(7)) SWIG_fail
;
12999 arg8
= (int)(SWIG_As_int(obj7
));
13000 if (SWIG_arg_fail(8)) SWIG_fail
;
13005 arg9
= (int)(SWIG_As_int(obj8
));
13006 if (SWIG_arg_fail(9)) SWIG_fail
;
13011 arg10
= (int)(SWIG_As_int(obj9
));
13012 if (SWIG_arg_fail(10)) SWIG_fail
;
13017 arg11
= wxString_in_helper(obj10
);
13018 if (arg11
== NULL
) SWIG_fail
;
13023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13024 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
13026 wxPyEndAllowThreads(__tstate
);
13027 if (PyErr_Occurred()) SWIG_fail
;
13030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13054 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13055 PyObject
*resultobj
;
13056 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13058 PyObject
* obj0
= 0 ;
13059 char *kwnames
[] = {
13060 (char *) "self", NULL
13063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
13064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13065 if (SWIG_arg_fail(1)) SWIG_fail
;
13067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13068 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
13070 wxPyEndAllowThreads(__tstate
);
13071 if (PyErr_Occurred()) SWIG_fail
;
13074 resultobj
= SWIG_From_int((int)(result
));
13082 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13083 PyObject
*resultobj
;
13084 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13086 PyObject
* obj0
= 0 ;
13087 PyObject
* obj1
= 0 ;
13088 char *kwnames
[] = {
13089 (char *) "self",(char *) "value", NULL
13092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13094 if (SWIG_arg_fail(1)) SWIG_fail
;
13096 arg2
= (int)(SWIG_As_int(obj1
));
13097 if (SWIG_arg_fail(2)) SWIG_fail
;
13100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13101 (arg1
)->SetValue(arg2
);
13103 wxPyEndAllowThreads(__tstate
);
13104 if (PyErr_Occurred()) SWIG_fail
;
13106 Py_INCREF(Py_None
); resultobj
= Py_None
;
13113 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13114 PyObject
*resultobj
;
13115 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13116 wxString
*arg2
= 0 ;
13117 bool temp2
= false ;
13118 PyObject
* obj0
= 0 ;
13119 PyObject
* obj1
= 0 ;
13120 char *kwnames
[] = {
13121 (char *) "self",(char *) "text", NULL
13124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
13125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13126 if (SWIG_arg_fail(1)) SWIG_fail
;
13128 arg2
= wxString_in_helper(obj1
);
13129 if (arg2
== NULL
) SWIG_fail
;
13133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13134 (arg1
)->SetValue((wxString
const &)*arg2
);
13136 wxPyEndAllowThreads(__tstate
);
13137 if (PyErr_Occurred()) SWIG_fail
;
13139 Py_INCREF(Py_None
); resultobj
= Py_None
;
13154 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13155 PyObject
*resultobj
;
13156 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13159 PyObject
* obj0
= 0 ;
13160 PyObject
* obj1
= 0 ;
13161 PyObject
* obj2
= 0 ;
13162 char *kwnames
[] = {
13163 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
13166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13168 if (SWIG_arg_fail(1)) SWIG_fail
;
13170 arg2
= (int)(SWIG_As_int(obj1
));
13171 if (SWIG_arg_fail(2)) SWIG_fail
;
13174 arg3
= (int)(SWIG_As_int(obj2
));
13175 if (SWIG_arg_fail(3)) SWIG_fail
;
13178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13179 (arg1
)->SetRange(arg2
,arg3
);
13181 wxPyEndAllowThreads(__tstate
);
13182 if (PyErr_Occurred()) SWIG_fail
;
13184 Py_INCREF(Py_None
); resultobj
= Py_None
;
13191 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13192 PyObject
*resultobj
;
13193 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13195 PyObject
* obj0
= 0 ;
13196 char *kwnames
[] = {
13197 (char *) "self", NULL
13200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
13201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13202 if (SWIG_arg_fail(1)) SWIG_fail
;
13204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13205 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
13207 wxPyEndAllowThreads(__tstate
);
13208 if (PyErr_Occurred()) SWIG_fail
;
13211 resultobj
= SWIG_From_int((int)(result
));
13219 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13220 PyObject
*resultobj
;
13221 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13223 PyObject
* obj0
= 0 ;
13224 char *kwnames
[] = {
13225 (char *) "self", NULL
13228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
13229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13230 if (SWIG_arg_fail(1)) SWIG_fail
;
13232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13233 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
13235 wxPyEndAllowThreads(__tstate
);
13236 if (PyErr_Occurred()) SWIG_fail
;
13239 resultobj
= SWIG_From_int((int)(result
));
13247 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13248 PyObject
*resultobj
;
13249 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13252 PyObject
* obj0
= 0 ;
13253 PyObject
* obj1
= 0 ;
13254 PyObject
* obj2
= 0 ;
13255 char *kwnames
[] = {
13256 (char *) "self",(char *) "from",(char *) "to", NULL
13259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13261 if (SWIG_arg_fail(1)) SWIG_fail
;
13263 arg2
= (long)(SWIG_As_long(obj1
));
13264 if (SWIG_arg_fail(2)) SWIG_fail
;
13267 arg3
= (long)(SWIG_As_long(obj2
));
13268 if (SWIG_arg_fail(3)) SWIG_fail
;
13271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13272 (arg1
)->SetSelection(arg2
,arg3
);
13274 wxPyEndAllowThreads(__tstate
);
13275 if (PyErr_Occurred()) SWIG_fail
;
13277 Py_INCREF(Py_None
); resultobj
= Py_None
;
13284 static PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13285 PyObject
*resultobj
;
13286 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13287 wxVisualAttributes result
;
13288 PyObject
* obj0
= 0 ;
13289 char *kwnames
[] = {
13290 (char *) "variant", NULL
13293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13296 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
13297 if (SWIG_arg_fail(1)) SWIG_fail
;
13301 if (!wxPyCheckForApp()) SWIG_fail
;
13302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13303 result
= wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13305 wxPyEndAllowThreads(__tstate
);
13306 if (PyErr_Occurred()) SWIG_fail
;
13309 wxVisualAttributes
* resultptr
;
13310 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
13311 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13319 static PyObject
* SpinCtrl_swigregister(PyObject
*, PyObject
*args
) {
13321 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13322 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
13324 return Py_BuildValue((char *)"");
13326 static PyObject
*_wrap_new_SpinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13327 PyObject
*resultobj
;
13328 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13329 int arg2
= (int) 0 ;
13330 wxSpinEvent
*result
;
13331 PyObject
* obj0
= 0 ;
13332 PyObject
* obj1
= 0 ;
13333 char *kwnames
[] = {
13334 (char *) "commandType",(char *) "winid", NULL
13337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13340 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
13341 if (SWIG_arg_fail(1)) SWIG_fail
;
13346 arg2
= (int)(SWIG_As_int(obj1
));
13347 if (SWIG_arg_fail(2)) SWIG_fail
;
13351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13352 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
13354 wxPyEndAllowThreads(__tstate
);
13355 if (PyErr_Occurred()) SWIG_fail
;
13357 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
13364 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13365 PyObject
*resultobj
;
13366 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
13368 PyObject
* obj0
= 0 ;
13369 char *kwnames
[] = {
13370 (char *) "self", NULL
13373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_EXCEPTION
| 0);
13375 if (SWIG_arg_fail(1)) SWIG_fail
;
13377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13378 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
13380 wxPyEndAllowThreads(__tstate
);
13381 if (PyErr_Occurred()) SWIG_fail
;
13384 resultobj
= SWIG_From_int((int)(result
));
13392 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13393 PyObject
*resultobj
;
13394 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
13396 PyObject
* obj0
= 0 ;
13397 PyObject
* obj1
= 0 ;
13398 char *kwnames
[] = {
13399 (char *) "self",(char *) "pos", NULL
13402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_EXCEPTION
| 0);
13404 if (SWIG_arg_fail(1)) SWIG_fail
;
13406 arg2
= (int)(SWIG_As_int(obj1
));
13407 if (SWIG_arg_fail(2)) SWIG_fail
;
13410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13411 (arg1
)->SetPosition(arg2
);
13413 wxPyEndAllowThreads(__tstate
);
13414 if (PyErr_Occurred()) SWIG_fail
;
13416 Py_INCREF(Py_None
); resultobj
= Py_None
;
13423 static PyObject
* SpinEvent_swigregister(PyObject
*, PyObject
*args
) {
13425 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13426 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
13428 return Py_BuildValue((char *)"");
13430 static int _wrap_RadioBoxNameStr_set(PyObject
*) {
13431 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
13436 static PyObject
*_wrap_RadioBoxNameStr_get(void) {
13441 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
13443 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
13450 static int _wrap_RadioButtonNameStr_set(PyObject
*) {
13451 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
13456 static PyObject
*_wrap_RadioButtonNameStr_get(void) {
13461 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
13463 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
13470 static PyObject
*_wrap_new_RadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13471 PyObject
*resultobj
;
13472 wxWindow
*arg1
= (wxWindow
*) 0 ;
13473 int arg2
= (int) -1 ;
13474 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13475 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13476 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13477 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13478 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13479 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13480 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
13481 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
13482 int arg7
= (int) 0 ;
13483 long arg8
= (long) wxRA_HORIZONTAL
;
13484 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
13485 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
13486 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
13487 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
13488 wxRadioBox
*result
;
13489 bool temp3
= false ;
13492 bool temp6
= false ;
13493 bool temp10
= false ;
13494 PyObject
* obj0
= 0 ;
13495 PyObject
* obj1
= 0 ;
13496 PyObject
* obj2
= 0 ;
13497 PyObject
* obj3
= 0 ;
13498 PyObject
* obj4
= 0 ;
13499 PyObject
* obj5
= 0 ;
13500 PyObject
* obj6
= 0 ;
13501 PyObject
* obj7
= 0 ;
13502 PyObject
* obj8
= 0 ;
13503 PyObject
* obj9
= 0 ;
13504 char *kwnames
[] = {
13505 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
13509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13510 if (SWIG_arg_fail(1)) SWIG_fail
;
13513 arg2
= (int)(SWIG_As_int(obj1
));
13514 if (SWIG_arg_fail(2)) SWIG_fail
;
13519 arg3
= wxString_in_helper(obj2
);
13520 if (arg3
== NULL
) SWIG_fail
;
13527 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13533 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13538 if (! PySequence_Check(obj5
)) {
13539 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13542 arg6
= new wxArrayString
;
13544 int i
, len
=PySequence_Length(obj5
);
13545 for (i
=0; i
<len
; i
++) {
13546 PyObject
* item
= PySequence_GetItem(obj5
, i
);
13547 wxString
* s
= wxString_in_helper(item
);
13548 if (PyErr_Occurred()) SWIG_fail
;
13557 arg7
= (int)(SWIG_As_int(obj6
));
13558 if (SWIG_arg_fail(7)) SWIG_fail
;
13563 arg8
= (long)(SWIG_As_long(obj7
));
13564 if (SWIG_arg_fail(8)) SWIG_fail
;
13569 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
13570 if (SWIG_arg_fail(9)) SWIG_fail
;
13571 if (arg9
== NULL
) {
13572 SWIG_null_ref("wxValidator");
13574 if (SWIG_arg_fail(9)) SWIG_fail
;
13579 arg10
= wxString_in_helper(obj9
);
13580 if (arg10
== NULL
) SWIG_fail
;
13585 if (!wxPyCheckForApp()) SWIG_fail
;
13586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13587 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
);
13589 wxPyEndAllowThreads(__tstate
);
13590 if (PyErr_Occurred()) SWIG_fail
;
13592 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
13598 if (temp6
) delete arg6
;
13611 if (temp6
) delete arg6
;
13621 static PyObject
*_wrap_new_PreRadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13622 PyObject
*resultobj
;
13623 wxRadioBox
*result
;
13624 char *kwnames
[] = {
13628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
13630 if (!wxPyCheckForApp()) SWIG_fail
;
13631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13632 result
= (wxRadioBox
*)new wxRadioBox();
13634 wxPyEndAllowThreads(__tstate
);
13635 if (PyErr_Occurred()) SWIG_fail
;
13637 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
13644 static PyObject
*_wrap_RadioBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13645 PyObject
*resultobj
;
13646 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13647 wxWindow
*arg2
= (wxWindow
*) 0 ;
13648 int arg3
= (int) -1 ;
13649 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13650 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13651 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13652 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13653 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13654 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13655 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
13656 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
13657 int arg8
= (int) 0 ;
13658 long arg9
= (long) wxRA_HORIZONTAL
;
13659 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
13660 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
13661 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
13662 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
13664 bool temp4
= false ;
13667 bool temp7
= false ;
13668 bool temp11
= false ;
13669 PyObject
* obj0
= 0 ;
13670 PyObject
* obj1
= 0 ;
13671 PyObject
* obj2
= 0 ;
13672 PyObject
* obj3
= 0 ;
13673 PyObject
* obj4
= 0 ;
13674 PyObject
* obj5
= 0 ;
13675 PyObject
* obj6
= 0 ;
13676 PyObject
* obj7
= 0 ;
13677 PyObject
* obj8
= 0 ;
13678 PyObject
* obj9
= 0 ;
13679 PyObject
* obj10
= 0 ;
13680 char *kwnames
[] = {
13681 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
13685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13686 if (SWIG_arg_fail(1)) SWIG_fail
;
13687 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13688 if (SWIG_arg_fail(2)) SWIG_fail
;
13691 arg3
= (int)(SWIG_As_int(obj2
));
13692 if (SWIG_arg_fail(3)) SWIG_fail
;
13697 arg4
= wxString_in_helper(obj3
);
13698 if (arg4
== NULL
) SWIG_fail
;
13705 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13711 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13716 if (! PySequence_Check(obj6
)) {
13717 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13720 arg7
= new wxArrayString
;
13722 int i
, len
=PySequence_Length(obj6
);
13723 for (i
=0; i
<len
; i
++) {
13724 PyObject
* item
= PySequence_GetItem(obj6
, i
);
13725 wxString
* s
= wxString_in_helper(item
);
13726 if (PyErr_Occurred()) SWIG_fail
;
13735 arg8
= (int)(SWIG_As_int(obj7
));
13736 if (SWIG_arg_fail(8)) SWIG_fail
;
13741 arg9
= (long)(SWIG_As_long(obj8
));
13742 if (SWIG_arg_fail(9)) SWIG_fail
;
13747 SWIG_Python_ConvertPtr(obj9
, (void **)&arg10
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
13748 if (SWIG_arg_fail(10)) SWIG_fail
;
13749 if (arg10
== NULL
) {
13750 SWIG_null_ref("wxValidator");
13752 if (SWIG_arg_fail(10)) SWIG_fail
;
13757 arg11
= wxString_in_helper(obj10
);
13758 if (arg11
== NULL
) SWIG_fail
;
13763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13764 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
);
13766 wxPyEndAllowThreads(__tstate
);
13767 if (PyErr_Occurred()) SWIG_fail
;
13770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13777 if (temp7
) delete arg7
;
13790 if (temp7
) delete arg7
;
13800 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13801 PyObject
*resultobj
;
13802 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13804 PyObject
* obj0
= 0 ;
13805 PyObject
* obj1
= 0 ;
13806 char *kwnames
[] = {
13807 (char *) "self",(char *) "n", NULL
13810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13812 if (SWIG_arg_fail(1)) SWIG_fail
;
13814 arg2
= (int)(SWIG_As_int(obj1
));
13815 if (SWIG_arg_fail(2)) SWIG_fail
;
13818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13819 (arg1
)->SetSelection(arg2
);
13821 wxPyEndAllowThreads(__tstate
);
13822 if (PyErr_Occurred()) SWIG_fail
;
13824 Py_INCREF(Py_None
); resultobj
= Py_None
;
13831 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13832 PyObject
*resultobj
;
13833 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13835 PyObject
* obj0
= 0 ;
13836 char *kwnames
[] = {
13837 (char *) "self", NULL
13840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
13841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13842 if (SWIG_arg_fail(1)) SWIG_fail
;
13844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13845 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
13847 wxPyEndAllowThreads(__tstate
);
13848 if (PyErr_Occurred()) SWIG_fail
;
13851 resultobj
= SWIG_From_int((int)(result
));
13859 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13860 PyObject
*resultobj
;
13861 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13863 PyObject
* obj0
= 0 ;
13864 char *kwnames
[] = {
13865 (char *) "self", NULL
13868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
13869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13870 if (SWIG_arg_fail(1)) SWIG_fail
;
13872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13873 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
13875 wxPyEndAllowThreads(__tstate
);
13876 if (PyErr_Occurred()) SWIG_fail
;
13880 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13882 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13891 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13892 PyObject
*resultobj
;
13893 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13894 wxString
*arg2
= 0 ;
13896 bool temp2
= false ;
13897 PyObject
* obj0
= 0 ;
13898 PyObject
* obj1
= 0 ;
13899 char *kwnames
[] = {
13900 (char *) "self",(char *) "s", NULL
13903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13905 if (SWIG_arg_fail(1)) SWIG_fail
;
13907 arg2
= wxString_in_helper(obj1
);
13908 if (arg2
== NULL
) SWIG_fail
;
13912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13913 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
13915 wxPyEndAllowThreads(__tstate
);
13916 if (PyErr_Occurred()) SWIG_fail
;
13919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13935 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13936 PyObject
*resultobj
;
13937 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13939 PyObject
* obj0
= 0 ;
13940 char *kwnames
[] = {
13941 (char *) "self", NULL
13944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
13945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13946 if (SWIG_arg_fail(1)) SWIG_fail
;
13948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13949 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
13951 wxPyEndAllowThreads(__tstate
);
13952 if (PyErr_Occurred()) SWIG_fail
;
13955 resultobj
= SWIG_From_int((int)(result
));
13963 static PyObject
*_wrap_RadioBox_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13964 PyObject
*resultobj
;
13965 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13966 wxString
*arg2
= 0 ;
13968 bool temp2
= false ;
13969 PyObject
* obj0
= 0 ;
13970 PyObject
* obj1
= 0 ;
13971 char *kwnames
[] = {
13972 (char *) "self",(char *) "s", NULL
13975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13977 if (SWIG_arg_fail(1)) SWIG_fail
;
13979 arg2
= wxString_in_helper(obj1
);
13980 if (arg2
== NULL
) SWIG_fail
;
13984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13985 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
13987 wxPyEndAllowThreads(__tstate
);
13988 if (PyErr_Occurred()) SWIG_fail
;
13991 resultobj
= SWIG_From_int((int)(result
));
14007 static PyObject
*_wrap_RadioBox_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14008 PyObject
*resultobj
;
14009 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14012 PyObject
* obj0
= 0 ;
14013 PyObject
* obj1
= 0 ;
14014 char *kwnames
[] = {
14015 (char *) "self",(char *) "n", NULL
14018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
14019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14020 if (SWIG_arg_fail(1)) SWIG_fail
;
14022 arg2
= (int)(SWIG_As_int(obj1
));
14023 if (SWIG_arg_fail(2)) SWIG_fail
;
14026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14027 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
14029 wxPyEndAllowThreads(__tstate
);
14030 if (PyErr_Occurred()) SWIG_fail
;
14034 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14036 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14045 static PyObject
*_wrap_RadioBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14046 PyObject
*resultobj
;
14047 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14049 wxString
*arg3
= 0 ;
14050 bool temp3
= false ;
14051 PyObject
* obj0
= 0 ;
14052 PyObject
* obj1
= 0 ;
14053 PyObject
* obj2
= 0 ;
14054 char *kwnames
[] = {
14055 (char *) "self",(char *) "n",(char *) "label", NULL
14058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14060 if (SWIG_arg_fail(1)) SWIG_fail
;
14062 arg2
= (int)(SWIG_As_int(obj1
));
14063 if (SWIG_arg_fail(2)) SWIG_fail
;
14066 arg3
= wxString_in_helper(obj2
);
14067 if (arg3
== NULL
) SWIG_fail
;
14071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14072 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
14074 wxPyEndAllowThreads(__tstate
);
14075 if (PyErr_Occurred()) SWIG_fail
;
14077 Py_INCREF(Py_None
); resultobj
= Py_None
;
14092 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14093 PyObject
*resultobj
;
14094 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14096 bool arg3
= (bool) true ;
14097 PyObject
* obj0
= 0 ;
14098 PyObject
* obj1
= 0 ;
14099 PyObject
* obj2
= 0 ;
14100 char *kwnames
[] = {
14101 (char *) "self",(char *) "n",(char *) "enable", NULL
14104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14106 if (SWIG_arg_fail(1)) SWIG_fail
;
14108 arg2
= (int)(SWIG_As_int(obj1
));
14109 if (SWIG_arg_fail(2)) SWIG_fail
;
14113 arg3
= (bool)(SWIG_As_bool(obj2
));
14114 if (SWIG_arg_fail(3)) SWIG_fail
;
14118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14119 (arg1
)->Enable(arg2
,arg3
);
14121 wxPyEndAllowThreads(__tstate
);
14122 if (PyErr_Occurred()) SWIG_fail
;
14124 Py_INCREF(Py_None
); resultobj
= Py_None
;
14131 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14132 PyObject
*resultobj
;
14133 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14135 bool arg3
= (bool) true ;
14136 PyObject
* obj0
= 0 ;
14137 PyObject
* obj1
= 0 ;
14138 PyObject
* obj2
= 0 ;
14139 char *kwnames
[] = {
14140 (char *) "self",(char *) "n",(char *) "show", NULL
14143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14145 if (SWIG_arg_fail(1)) SWIG_fail
;
14147 arg2
= (int)(SWIG_As_int(obj1
));
14148 if (SWIG_arg_fail(2)) SWIG_fail
;
14152 arg3
= (bool)(SWIG_As_bool(obj2
));
14153 if (SWIG_arg_fail(3)) SWIG_fail
;
14157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14158 (arg1
)->Show(arg2
,arg3
);
14160 wxPyEndAllowThreads(__tstate
);
14161 if (PyErr_Occurred()) SWIG_fail
;
14163 Py_INCREF(Py_None
); resultobj
= Py_None
;
14170 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14171 PyObject
*resultobj
;
14172 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14174 PyObject
* obj0
= 0 ;
14175 char *kwnames
[] = {
14176 (char *) "self", NULL
14179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
14180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14181 if (SWIG_arg_fail(1)) SWIG_fail
;
14183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14184 result
= (int)wxRadioBox_GetColumnCount((wxRadioBox
const *)arg1
);
14186 wxPyEndAllowThreads(__tstate
);
14187 if (PyErr_Occurred()) SWIG_fail
;
14190 resultobj
= SWIG_From_int((int)(result
));
14198 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14199 PyObject
*resultobj
;
14200 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14202 PyObject
* obj0
= 0 ;
14203 char *kwnames
[] = {
14204 (char *) "self", NULL
14207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
14208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14209 if (SWIG_arg_fail(1)) SWIG_fail
;
14211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14212 result
= (int)wxRadioBox_GetRowCount((wxRadioBox
const *)arg1
);
14214 wxPyEndAllowThreads(__tstate
);
14215 if (PyErr_Occurred()) SWIG_fail
;
14218 resultobj
= SWIG_From_int((int)(result
));
14226 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14227 PyObject
*resultobj
;
14228 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14233 PyObject
* obj0
= 0 ;
14234 PyObject
* obj1
= 0 ;
14235 PyObject
* obj2
= 0 ;
14236 PyObject
* obj3
= 0 ;
14237 char *kwnames
[] = {
14238 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
14241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14243 if (SWIG_arg_fail(1)) SWIG_fail
;
14245 arg2
= (int)(SWIG_As_int(obj1
));
14246 if (SWIG_arg_fail(2)) SWIG_fail
;
14249 arg3
= (wxDirection
)(SWIG_As_int(obj2
));
14250 if (SWIG_arg_fail(3)) SWIG_fail
;
14253 arg4
= (long)(SWIG_As_long(obj3
));
14254 if (SWIG_arg_fail(4)) SWIG_fail
;
14257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14258 result
= (int)wxRadioBox_GetNextItem((wxRadioBox
const *)arg1
,arg2
,(wxDirection
)arg3
,arg4
);
14260 wxPyEndAllowThreads(__tstate
);
14261 if (PyErr_Occurred()) SWIG_fail
;
14264 resultobj
= SWIG_From_int((int)(result
));
14272 static PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14273 PyObject
*resultobj
;
14274 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14275 wxVisualAttributes result
;
14276 PyObject
* obj0
= 0 ;
14277 char *kwnames
[] = {
14278 (char *) "variant", NULL
14281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14284 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
14285 if (SWIG_arg_fail(1)) SWIG_fail
;
14289 if (!wxPyCheckForApp()) SWIG_fail
;
14290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14291 result
= wxRadioBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14293 wxPyEndAllowThreads(__tstate
);
14294 if (PyErr_Occurred()) SWIG_fail
;
14297 wxVisualAttributes
* resultptr
;
14298 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
14299 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14307 static PyObject
* RadioBox_swigregister(PyObject
*, PyObject
*args
) {
14309 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14310 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
14312 return Py_BuildValue((char *)"");
14314 static PyObject
*_wrap_new_RadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14315 PyObject
*resultobj
;
14316 wxWindow
*arg1
= (wxWindow
*) 0 ;
14317 int arg2
= (int) -1 ;
14318 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14319 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14320 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14321 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14322 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14323 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14324 long arg6
= (long) 0 ;
14325 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14326 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14327 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
14328 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14329 wxRadioButton
*result
;
14330 bool temp3
= false ;
14333 bool temp8
= false ;
14334 PyObject
* obj0
= 0 ;
14335 PyObject
* obj1
= 0 ;
14336 PyObject
* obj2
= 0 ;
14337 PyObject
* obj3
= 0 ;
14338 PyObject
* obj4
= 0 ;
14339 PyObject
* obj5
= 0 ;
14340 PyObject
* obj6
= 0 ;
14341 PyObject
* obj7
= 0 ;
14342 char *kwnames
[] = {
14343 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14348 if (SWIG_arg_fail(1)) SWIG_fail
;
14351 arg2
= (int)(SWIG_As_int(obj1
));
14352 if (SWIG_arg_fail(2)) SWIG_fail
;
14357 arg3
= wxString_in_helper(obj2
);
14358 if (arg3
== NULL
) SWIG_fail
;
14365 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14371 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14376 arg6
= (long)(SWIG_As_long(obj5
));
14377 if (SWIG_arg_fail(6)) SWIG_fail
;
14382 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14383 if (SWIG_arg_fail(7)) SWIG_fail
;
14384 if (arg7
== NULL
) {
14385 SWIG_null_ref("wxValidator");
14387 if (SWIG_arg_fail(7)) SWIG_fail
;
14392 arg8
= wxString_in_helper(obj7
);
14393 if (arg8
== NULL
) SWIG_fail
;
14398 if (!wxPyCheckForApp()) SWIG_fail
;
14399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14400 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14402 wxPyEndAllowThreads(__tstate
);
14403 if (PyErr_Occurred()) SWIG_fail
;
14405 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
14428 static PyObject
*_wrap_new_PreRadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14429 PyObject
*resultobj
;
14430 wxRadioButton
*result
;
14431 char *kwnames
[] = {
14435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
14437 if (!wxPyCheckForApp()) SWIG_fail
;
14438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14439 result
= (wxRadioButton
*)new wxRadioButton();
14441 wxPyEndAllowThreads(__tstate
);
14442 if (PyErr_Occurred()) SWIG_fail
;
14444 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
14451 static PyObject
*_wrap_RadioButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14452 PyObject
*resultobj
;
14453 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14454 wxWindow
*arg2
= (wxWindow
*) 0 ;
14455 int arg3
= (int) -1 ;
14456 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14457 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14458 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14459 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14460 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14461 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14462 long arg7
= (long) 0 ;
14463 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
14464 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
14465 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
14466 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
14468 bool temp4
= false ;
14471 bool temp9
= false ;
14472 PyObject
* obj0
= 0 ;
14473 PyObject
* obj1
= 0 ;
14474 PyObject
* obj2
= 0 ;
14475 PyObject
* obj3
= 0 ;
14476 PyObject
* obj4
= 0 ;
14477 PyObject
* obj5
= 0 ;
14478 PyObject
* obj6
= 0 ;
14479 PyObject
* obj7
= 0 ;
14480 PyObject
* obj8
= 0 ;
14481 char *kwnames
[] = {
14482 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
14486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14487 if (SWIG_arg_fail(1)) SWIG_fail
;
14488 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14489 if (SWIG_arg_fail(2)) SWIG_fail
;
14492 arg3
= (int)(SWIG_As_int(obj2
));
14493 if (SWIG_arg_fail(3)) SWIG_fail
;
14498 arg4
= wxString_in_helper(obj3
);
14499 if (arg4
== NULL
) SWIG_fail
;
14506 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14512 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14517 arg7
= (long)(SWIG_As_long(obj6
));
14518 if (SWIG_arg_fail(7)) SWIG_fail
;
14523 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14524 if (SWIG_arg_fail(8)) SWIG_fail
;
14525 if (arg8
== NULL
) {
14526 SWIG_null_ref("wxValidator");
14528 if (SWIG_arg_fail(8)) SWIG_fail
;
14533 arg9
= wxString_in_helper(obj8
);
14534 if (arg9
== NULL
) SWIG_fail
;
14539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14540 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
14542 wxPyEndAllowThreads(__tstate
);
14543 if (PyErr_Occurred()) SWIG_fail
;
14546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14570 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14571 PyObject
*resultobj
;
14572 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14574 PyObject
* obj0
= 0 ;
14575 char *kwnames
[] = {
14576 (char *) "self", NULL
14579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
14580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14581 if (SWIG_arg_fail(1)) SWIG_fail
;
14583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14584 result
= (bool)(arg1
)->GetValue();
14586 wxPyEndAllowThreads(__tstate
);
14587 if (PyErr_Occurred()) SWIG_fail
;
14590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14598 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14599 PyObject
*resultobj
;
14600 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14602 PyObject
* obj0
= 0 ;
14603 PyObject
* obj1
= 0 ;
14604 char *kwnames
[] = {
14605 (char *) "self",(char *) "value", NULL
14608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
14609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14610 if (SWIG_arg_fail(1)) SWIG_fail
;
14612 arg2
= (bool)(SWIG_As_bool(obj1
));
14613 if (SWIG_arg_fail(2)) SWIG_fail
;
14616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14617 (arg1
)->SetValue(arg2
);
14619 wxPyEndAllowThreads(__tstate
);
14620 if (PyErr_Occurred()) SWIG_fail
;
14622 Py_INCREF(Py_None
); resultobj
= Py_None
;
14629 static PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14630 PyObject
*resultobj
;
14631 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14632 wxVisualAttributes result
;
14633 PyObject
* obj0
= 0 ;
14634 char *kwnames
[] = {
14635 (char *) "variant", NULL
14638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14641 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
14642 if (SWIG_arg_fail(1)) SWIG_fail
;
14646 if (!wxPyCheckForApp()) SWIG_fail
;
14647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14648 result
= wxRadioButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14650 wxPyEndAllowThreads(__tstate
);
14651 if (PyErr_Occurred()) SWIG_fail
;
14654 wxVisualAttributes
* resultptr
;
14655 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
14656 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14664 static PyObject
* RadioButton_swigregister(PyObject
*, PyObject
*args
) {
14666 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14667 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
14669 return Py_BuildValue((char *)"");
14671 static int _wrap_SliderNameStr_set(PyObject
*) {
14672 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
14677 static PyObject
*_wrap_SliderNameStr_get(void) {
14682 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
14684 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
14691 static PyObject
*_wrap_new_Slider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14692 PyObject
*resultobj
;
14693 wxWindow
*arg1
= (wxWindow
*) 0 ;
14694 int arg2
= (int) -1 ;
14695 int arg3
= (int) 0 ;
14696 int arg4
= (int) 0 ;
14697 int arg5
= (int) 100 ;
14698 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
14699 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
14700 wxSize
const &arg7_defvalue
= wxDefaultSize
;
14701 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
14702 long arg8
= (long) wxSL_HORIZONTAL
;
14703 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
14704 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
14705 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
14706 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
14710 bool temp10
= false ;
14711 PyObject
* obj0
= 0 ;
14712 PyObject
* obj1
= 0 ;
14713 PyObject
* obj2
= 0 ;
14714 PyObject
* obj3
= 0 ;
14715 PyObject
* obj4
= 0 ;
14716 PyObject
* obj5
= 0 ;
14717 PyObject
* obj6
= 0 ;
14718 PyObject
* obj7
= 0 ;
14719 PyObject
* obj8
= 0 ;
14720 PyObject
* obj9
= 0 ;
14721 char *kwnames
[] = {
14722 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
14726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14727 if (SWIG_arg_fail(1)) SWIG_fail
;
14730 arg2
= (int)(SWIG_As_int(obj1
));
14731 if (SWIG_arg_fail(2)) SWIG_fail
;
14736 arg3
= (int)(SWIG_As_int(obj2
));
14737 if (SWIG_arg_fail(3)) SWIG_fail
;
14742 arg4
= (int)(SWIG_As_int(obj3
));
14743 if (SWIG_arg_fail(4)) SWIG_fail
;
14748 arg5
= (int)(SWIG_As_int(obj4
));
14749 if (SWIG_arg_fail(5)) SWIG_fail
;
14755 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
14761 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
14766 arg8
= (long)(SWIG_As_long(obj7
));
14767 if (SWIG_arg_fail(8)) SWIG_fail
;
14772 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14773 if (SWIG_arg_fail(9)) SWIG_fail
;
14774 if (arg9
== NULL
) {
14775 SWIG_null_ref("wxValidator");
14777 if (SWIG_arg_fail(9)) SWIG_fail
;
14782 arg10
= wxString_in_helper(obj9
);
14783 if (arg10
== NULL
) SWIG_fail
;
14788 if (!wxPyCheckForApp()) SWIG_fail
;
14789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14790 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
14792 wxPyEndAllowThreads(__tstate
);
14793 if (PyErr_Occurred()) SWIG_fail
;
14795 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
14810 static PyObject
*_wrap_new_PreSlider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14811 PyObject
*resultobj
;
14813 char *kwnames
[] = {
14817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
14819 if (!wxPyCheckForApp()) SWIG_fail
;
14820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14821 result
= (wxSlider
*)new wxSlider();
14823 wxPyEndAllowThreads(__tstate
);
14824 if (PyErr_Occurred()) SWIG_fail
;
14826 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
14833 static PyObject
*_wrap_Slider_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14834 PyObject
*resultobj
;
14835 wxSlider
*arg1
= (wxSlider
*) 0 ;
14836 wxWindow
*arg2
= (wxWindow
*) 0 ;
14837 int arg3
= (int) -1 ;
14838 int arg4
= (int) 0 ;
14839 int arg5
= (int) 0 ;
14840 int arg6
= (int) 100 ;
14841 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14842 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14843 wxSize
const &arg8_defvalue
= wxDefaultSize
;
14844 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
14845 long arg9
= (long) wxSL_HORIZONTAL
;
14846 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
14847 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
14848 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
14849 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
14853 bool temp11
= false ;
14854 PyObject
* obj0
= 0 ;
14855 PyObject
* obj1
= 0 ;
14856 PyObject
* obj2
= 0 ;
14857 PyObject
* obj3
= 0 ;
14858 PyObject
* obj4
= 0 ;
14859 PyObject
* obj5
= 0 ;
14860 PyObject
* obj6
= 0 ;
14861 PyObject
* obj7
= 0 ;
14862 PyObject
* obj8
= 0 ;
14863 PyObject
* obj9
= 0 ;
14864 PyObject
* obj10
= 0 ;
14865 char *kwnames
[] = {
14866 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
14870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
14871 if (SWIG_arg_fail(1)) SWIG_fail
;
14872 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14873 if (SWIG_arg_fail(2)) SWIG_fail
;
14876 arg3
= (int)(SWIG_As_int(obj2
));
14877 if (SWIG_arg_fail(3)) SWIG_fail
;
14882 arg4
= (int)(SWIG_As_int(obj3
));
14883 if (SWIG_arg_fail(4)) SWIG_fail
;
14888 arg5
= (int)(SWIG_As_int(obj4
));
14889 if (SWIG_arg_fail(5)) SWIG_fail
;
14894 arg6
= (int)(SWIG_As_int(obj5
));
14895 if (SWIG_arg_fail(6)) SWIG_fail
;
14901 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
14907 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
14912 arg9
= (long)(SWIG_As_long(obj8
));
14913 if (SWIG_arg_fail(9)) SWIG_fail
;
14918 SWIG_Python_ConvertPtr(obj9
, (void **)&arg10
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14919 if (SWIG_arg_fail(10)) SWIG_fail
;
14920 if (arg10
== NULL
) {
14921 SWIG_null_ref("wxValidator");
14923 if (SWIG_arg_fail(10)) SWIG_fail
;
14928 arg11
= wxString_in_helper(obj10
);
14929 if (arg11
== NULL
) SWIG_fail
;
14934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14935 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
14937 wxPyEndAllowThreads(__tstate
);
14938 if (PyErr_Occurred()) SWIG_fail
;
14941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14957 static PyObject
*_wrap_Slider_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14958 PyObject
*resultobj
;
14959 wxSlider
*arg1
= (wxSlider
*) 0 ;
14961 PyObject
* obj0
= 0 ;
14962 char *kwnames
[] = {
14963 (char *) "self", NULL
14966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
14967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
14968 if (SWIG_arg_fail(1)) SWIG_fail
;
14970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14971 result
= (int)((wxSlider
const *)arg1
)->GetValue();
14973 wxPyEndAllowThreads(__tstate
);
14974 if (PyErr_Occurred()) SWIG_fail
;
14977 resultobj
= SWIG_From_int((int)(result
));
14985 static PyObject
*_wrap_Slider_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14986 PyObject
*resultobj
;
14987 wxSlider
*arg1
= (wxSlider
*) 0 ;
14989 PyObject
* obj0
= 0 ;
14990 PyObject
* obj1
= 0 ;
14991 char *kwnames
[] = {
14992 (char *) "self",(char *) "value", NULL
14995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
14996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
14997 if (SWIG_arg_fail(1)) SWIG_fail
;
14999 arg2
= (int)(SWIG_As_int(obj1
));
15000 if (SWIG_arg_fail(2)) SWIG_fail
;
15003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15004 (arg1
)->SetValue(arg2
);
15006 wxPyEndAllowThreads(__tstate
);
15007 if (PyErr_Occurred()) SWIG_fail
;
15009 Py_INCREF(Py_None
); resultobj
= Py_None
;
15016 static PyObject
*_wrap_Slider_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15017 PyObject
*resultobj
;
15018 wxSlider
*arg1
= (wxSlider
*) 0 ;
15021 PyObject
* obj0
= 0 ;
15022 PyObject
* obj1
= 0 ;
15023 PyObject
* obj2
= 0 ;
15024 char *kwnames
[] = {
15025 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
15028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15030 if (SWIG_arg_fail(1)) SWIG_fail
;
15032 arg2
= (int)(SWIG_As_int(obj1
));
15033 if (SWIG_arg_fail(2)) SWIG_fail
;
15036 arg3
= (int)(SWIG_As_int(obj2
));
15037 if (SWIG_arg_fail(3)) SWIG_fail
;
15040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15041 (arg1
)->SetRange(arg2
,arg3
);
15043 wxPyEndAllowThreads(__tstate
);
15044 if (PyErr_Occurred()) SWIG_fail
;
15046 Py_INCREF(Py_None
); resultobj
= Py_None
;
15053 static PyObject
*_wrap_Slider_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15054 PyObject
*resultobj
;
15055 wxSlider
*arg1
= (wxSlider
*) 0 ;
15057 PyObject
* obj0
= 0 ;
15058 char *kwnames
[] = {
15059 (char *) "self", NULL
15062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
15063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15064 if (SWIG_arg_fail(1)) SWIG_fail
;
15066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15067 result
= (int)((wxSlider
const *)arg1
)->GetMin();
15069 wxPyEndAllowThreads(__tstate
);
15070 if (PyErr_Occurred()) SWIG_fail
;
15073 resultobj
= SWIG_From_int((int)(result
));
15081 static PyObject
*_wrap_Slider_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15082 PyObject
*resultobj
;
15083 wxSlider
*arg1
= (wxSlider
*) 0 ;
15085 PyObject
* obj0
= 0 ;
15086 char *kwnames
[] = {
15087 (char *) "self", NULL
15090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
15091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15092 if (SWIG_arg_fail(1)) SWIG_fail
;
15094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15095 result
= (int)((wxSlider
const *)arg1
)->GetMax();
15097 wxPyEndAllowThreads(__tstate
);
15098 if (PyErr_Occurred()) SWIG_fail
;
15101 resultobj
= SWIG_From_int((int)(result
));
15109 static PyObject
*_wrap_Slider_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15110 PyObject
*resultobj
;
15111 wxSlider
*arg1
= (wxSlider
*) 0 ;
15113 PyObject
* obj0
= 0 ;
15114 PyObject
* obj1
= 0 ;
15115 char *kwnames
[] = {
15116 (char *) "self",(char *) "minValue", NULL
15119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
15120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15121 if (SWIG_arg_fail(1)) SWIG_fail
;
15123 arg2
= (int)(SWIG_As_int(obj1
));
15124 if (SWIG_arg_fail(2)) SWIG_fail
;
15127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15128 (arg1
)->SetMin(arg2
);
15130 wxPyEndAllowThreads(__tstate
);
15131 if (PyErr_Occurred()) SWIG_fail
;
15133 Py_INCREF(Py_None
); resultobj
= Py_None
;
15140 static PyObject
*_wrap_Slider_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15141 PyObject
*resultobj
;
15142 wxSlider
*arg1
= (wxSlider
*) 0 ;
15144 PyObject
* obj0
= 0 ;
15145 PyObject
* obj1
= 0 ;
15146 char *kwnames
[] = {
15147 (char *) "self",(char *) "maxValue", NULL
15150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) 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 arg2
= (int)(SWIG_As_int(obj1
));
15155 if (SWIG_arg_fail(2)) SWIG_fail
;
15158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15159 (arg1
)->SetMax(arg2
);
15161 wxPyEndAllowThreads(__tstate
);
15162 if (PyErr_Occurred()) SWIG_fail
;
15164 Py_INCREF(Py_None
); resultobj
= Py_None
;
15171 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15172 PyObject
*resultobj
;
15173 wxSlider
*arg1
= (wxSlider
*) 0 ;
15175 PyObject
* obj0
= 0 ;
15176 PyObject
* obj1
= 0 ;
15177 char *kwnames
[] = {
15178 (char *) "self",(char *) "lineSize", NULL
15181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15183 if (SWIG_arg_fail(1)) SWIG_fail
;
15185 arg2
= (int)(SWIG_As_int(obj1
));
15186 if (SWIG_arg_fail(2)) SWIG_fail
;
15189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15190 (arg1
)->SetLineSize(arg2
);
15192 wxPyEndAllowThreads(__tstate
);
15193 if (PyErr_Occurred()) SWIG_fail
;
15195 Py_INCREF(Py_None
); resultobj
= Py_None
;
15202 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15203 PyObject
*resultobj
;
15204 wxSlider
*arg1
= (wxSlider
*) 0 ;
15206 PyObject
* obj0
= 0 ;
15207 PyObject
* obj1
= 0 ;
15208 char *kwnames
[] = {
15209 (char *) "self",(char *) "pageSize", NULL
15212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15214 if (SWIG_arg_fail(1)) SWIG_fail
;
15216 arg2
= (int)(SWIG_As_int(obj1
));
15217 if (SWIG_arg_fail(2)) SWIG_fail
;
15220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15221 (arg1
)->SetPageSize(arg2
);
15223 wxPyEndAllowThreads(__tstate
);
15224 if (PyErr_Occurred()) SWIG_fail
;
15226 Py_INCREF(Py_None
); resultobj
= Py_None
;
15233 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15234 PyObject
*resultobj
;
15235 wxSlider
*arg1
= (wxSlider
*) 0 ;
15237 PyObject
* obj0
= 0 ;
15238 char *kwnames
[] = {
15239 (char *) "self", NULL
15242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
15243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15244 if (SWIG_arg_fail(1)) SWIG_fail
;
15246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15247 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
15249 wxPyEndAllowThreads(__tstate
);
15250 if (PyErr_Occurred()) SWIG_fail
;
15253 resultobj
= SWIG_From_int((int)(result
));
15261 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15262 PyObject
*resultobj
;
15263 wxSlider
*arg1
= (wxSlider
*) 0 ;
15265 PyObject
* obj0
= 0 ;
15266 char *kwnames
[] = {
15267 (char *) "self", NULL
15270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
15271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15272 if (SWIG_arg_fail(1)) SWIG_fail
;
15274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15275 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
15277 wxPyEndAllowThreads(__tstate
);
15278 if (PyErr_Occurred()) SWIG_fail
;
15281 resultobj
= SWIG_From_int((int)(result
));
15289 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15290 PyObject
*resultobj
;
15291 wxSlider
*arg1
= (wxSlider
*) 0 ;
15293 PyObject
* obj0
= 0 ;
15294 PyObject
* obj1
= 0 ;
15295 char *kwnames
[] = {
15296 (char *) "self",(char *) "lenPixels", NULL
15299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
15300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15301 if (SWIG_arg_fail(1)) SWIG_fail
;
15303 arg2
= (int)(SWIG_As_int(obj1
));
15304 if (SWIG_arg_fail(2)) SWIG_fail
;
15307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15308 (arg1
)->SetThumbLength(arg2
);
15310 wxPyEndAllowThreads(__tstate
);
15311 if (PyErr_Occurred()) SWIG_fail
;
15313 Py_INCREF(Py_None
); resultobj
= Py_None
;
15320 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15321 PyObject
*resultobj
;
15322 wxSlider
*arg1
= (wxSlider
*) 0 ;
15324 PyObject
* obj0
= 0 ;
15325 char *kwnames
[] = {
15326 (char *) "self", NULL
15329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
15330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15331 if (SWIG_arg_fail(1)) SWIG_fail
;
15333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15334 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
15336 wxPyEndAllowThreads(__tstate
);
15337 if (PyErr_Occurred()) SWIG_fail
;
15340 resultobj
= SWIG_From_int((int)(result
));
15348 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15349 PyObject
*resultobj
;
15350 wxSlider
*arg1
= (wxSlider
*) 0 ;
15352 int arg3
= (int) 1 ;
15353 PyObject
* obj0
= 0 ;
15354 PyObject
* obj1
= 0 ;
15355 PyObject
* obj2
= 0 ;
15356 char *kwnames
[] = {
15357 (char *) "self",(char *) "n",(char *) "pos", NULL
15360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15362 if (SWIG_arg_fail(1)) SWIG_fail
;
15364 arg2
= (int)(SWIG_As_int(obj1
));
15365 if (SWIG_arg_fail(2)) SWIG_fail
;
15369 arg3
= (int)(SWIG_As_int(obj2
));
15370 if (SWIG_arg_fail(3)) SWIG_fail
;
15374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15375 (arg1
)->SetTickFreq(arg2
,arg3
);
15377 wxPyEndAllowThreads(__tstate
);
15378 if (PyErr_Occurred()) SWIG_fail
;
15380 Py_INCREF(Py_None
); resultobj
= Py_None
;
15387 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15388 PyObject
*resultobj
;
15389 wxSlider
*arg1
= (wxSlider
*) 0 ;
15391 PyObject
* obj0
= 0 ;
15392 char *kwnames
[] = {
15393 (char *) "self", NULL
15396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
15397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15398 if (SWIG_arg_fail(1)) SWIG_fail
;
15400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15401 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
15403 wxPyEndAllowThreads(__tstate
);
15404 if (PyErr_Occurred()) SWIG_fail
;
15407 resultobj
= SWIG_From_int((int)(result
));
15415 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15416 PyObject
*resultobj
;
15417 wxSlider
*arg1
= (wxSlider
*) 0 ;
15418 PyObject
* obj0
= 0 ;
15419 char *kwnames
[] = {
15420 (char *) "self", NULL
15423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
15424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15425 if (SWIG_arg_fail(1)) SWIG_fail
;
15427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15428 (arg1
)->ClearTicks();
15430 wxPyEndAllowThreads(__tstate
);
15431 if (PyErr_Occurred()) SWIG_fail
;
15433 Py_INCREF(Py_None
); resultobj
= Py_None
;
15440 static PyObject
*_wrap_Slider_SetTick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15441 PyObject
*resultobj
;
15442 wxSlider
*arg1
= (wxSlider
*) 0 ;
15444 PyObject
* obj0
= 0 ;
15445 PyObject
* obj1
= 0 ;
15446 char *kwnames
[] = {
15447 (char *) "self",(char *) "tickPos", NULL
15450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
15451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15452 if (SWIG_arg_fail(1)) SWIG_fail
;
15454 arg2
= (int)(SWIG_As_int(obj1
));
15455 if (SWIG_arg_fail(2)) SWIG_fail
;
15458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15459 (arg1
)->SetTick(arg2
);
15461 wxPyEndAllowThreads(__tstate
);
15462 if (PyErr_Occurred()) SWIG_fail
;
15464 Py_INCREF(Py_None
); resultobj
= Py_None
;
15471 static PyObject
*_wrap_Slider_ClearSel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15472 PyObject
*resultobj
;
15473 wxSlider
*arg1
= (wxSlider
*) 0 ;
15474 PyObject
* obj0
= 0 ;
15475 char *kwnames
[] = {
15476 (char *) "self", NULL
15479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
15480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15481 if (SWIG_arg_fail(1)) SWIG_fail
;
15483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15484 (arg1
)->ClearSel();
15486 wxPyEndAllowThreads(__tstate
);
15487 if (PyErr_Occurred()) SWIG_fail
;
15489 Py_INCREF(Py_None
); resultobj
= Py_None
;
15496 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15497 PyObject
*resultobj
;
15498 wxSlider
*arg1
= (wxSlider
*) 0 ;
15500 PyObject
* obj0
= 0 ;
15501 char *kwnames
[] = {
15502 (char *) "self", NULL
15505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
15506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15507 if (SWIG_arg_fail(1)) SWIG_fail
;
15509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15510 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
15512 wxPyEndAllowThreads(__tstate
);
15513 if (PyErr_Occurred()) SWIG_fail
;
15516 resultobj
= SWIG_From_int((int)(result
));
15524 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15525 PyObject
*resultobj
;
15526 wxSlider
*arg1
= (wxSlider
*) 0 ;
15528 PyObject
* obj0
= 0 ;
15529 char *kwnames
[] = {
15530 (char *) "self", NULL
15533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
15534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15535 if (SWIG_arg_fail(1)) SWIG_fail
;
15537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15538 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
15540 wxPyEndAllowThreads(__tstate
);
15541 if (PyErr_Occurred()) SWIG_fail
;
15544 resultobj
= SWIG_From_int((int)(result
));
15552 static PyObject
*_wrap_Slider_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15553 PyObject
*resultobj
;
15554 wxSlider
*arg1
= (wxSlider
*) 0 ;
15557 PyObject
* obj0
= 0 ;
15558 PyObject
* obj1
= 0 ;
15559 PyObject
* obj2
= 0 ;
15560 char *kwnames
[] = {
15561 (char *) "self",(char *) "min",(char *) "max", NULL
15564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15566 if (SWIG_arg_fail(1)) SWIG_fail
;
15568 arg2
= (int)(SWIG_As_int(obj1
));
15569 if (SWIG_arg_fail(2)) SWIG_fail
;
15572 arg3
= (int)(SWIG_As_int(obj2
));
15573 if (SWIG_arg_fail(3)) SWIG_fail
;
15576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15577 (arg1
)->SetSelection(arg2
,arg3
);
15579 wxPyEndAllowThreads(__tstate
);
15580 if (PyErr_Occurred()) SWIG_fail
;
15582 Py_INCREF(Py_None
); resultobj
= Py_None
;
15589 static PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15590 PyObject
*resultobj
;
15591 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15592 wxVisualAttributes result
;
15593 PyObject
* obj0
= 0 ;
15594 char *kwnames
[] = {
15595 (char *) "variant", NULL
15598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15601 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
15602 if (SWIG_arg_fail(1)) SWIG_fail
;
15606 if (!wxPyCheckForApp()) SWIG_fail
;
15607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15608 result
= wxSlider::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15610 wxPyEndAllowThreads(__tstate
);
15611 if (PyErr_Occurred()) SWIG_fail
;
15614 wxVisualAttributes
* resultptr
;
15615 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
15616 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15624 static PyObject
* Slider_swigregister(PyObject
*, PyObject
*args
) {
15626 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15627 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
15629 return Py_BuildValue((char *)"");
15631 static int _wrap_ToggleButtonNameStr_set(PyObject
*) {
15632 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
15637 static PyObject
*_wrap_ToggleButtonNameStr_get(void) {
15642 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
15644 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
15651 static PyObject
*_wrap_new_ToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15652 PyObject
*resultobj
;
15653 wxWindow
*arg1
= (wxWindow
*) 0 ;
15654 int arg2
= (int) -1 ;
15655 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15656 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15657 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15658 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15659 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15660 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15661 long arg6
= (long) 0 ;
15662 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
15663 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
15664 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
15665 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15666 wxToggleButton
*result
;
15667 bool temp3
= false ;
15670 bool temp8
= false ;
15671 PyObject
* obj0
= 0 ;
15672 PyObject
* obj1
= 0 ;
15673 PyObject
* obj2
= 0 ;
15674 PyObject
* obj3
= 0 ;
15675 PyObject
* obj4
= 0 ;
15676 PyObject
* obj5
= 0 ;
15677 PyObject
* obj6
= 0 ;
15678 PyObject
* obj7
= 0 ;
15679 char *kwnames
[] = {
15680 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
15684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15685 if (SWIG_arg_fail(1)) SWIG_fail
;
15688 arg2
= (int)(SWIG_As_int(obj1
));
15689 if (SWIG_arg_fail(2)) SWIG_fail
;
15694 arg3
= wxString_in_helper(obj2
);
15695 if (arg3
== NULL
) SWIG_fail
;
15702 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15708 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15713 arg6
= (long)(SWIG_As_long(obj5
));
15714 if (SWIG_arg_fail(6)) SWIG_fail
;
15719 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
15720 if (SWIG_arg_fail(7)) SWIG_fail
;
15721 if (arg7
== NULL
) {
15722 SWIG_null_ref("wxValidator");
15724 if (SWIG_arg_fail(7)) SWIG_fail
;
15729 arg8
= wxString_in_helper(obj7
);
15730 if (arg8
== NULL
) SWIG_fail
;
15735 if (!wxPyCheckForApp()) SWIG_fail
;
15736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15737 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
15739 wxPyEndAllowThreads(__tstate
);
15740 if (PyErr_Occurred()) SWIG_fail
;
15742 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
15765 static PyObject
*_wrap_new_PreToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15766 PyObject
*resultobj
;
15767 wxToggleButton
*result
;
15768 char *kwnames
[] = {
15772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
15774 if (!wxPyCheckForApp()) SWIG_fail
;
15775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15776 result
= (wxToggleButton
*)new wxToggleButton();
15778 wxPyEndAllowThreads(__tstate
);
15779 if (PyErr_Occurred()) SWIG_fail
;
15781 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
15788 static PyObject
*_wrap_ToggleButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15789 PyObject
*resultobj
;
15790 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
15791 wxWindow
*arg2
= (wxWindow
*) 0 ;
15792 int arg3
= (int) -1 ;
15793 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15794 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15795 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15796 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15797 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15798 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15799 long arg7
= (long) 0 ;
15800 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
15801 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
15802 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
15803 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
15805 bool temp4
= false ;
15808 bool temp9
= false ;
15809 PyObject
* obj0
= 0 ;
15810 PyObject
* obj1
= 0 ;
15811 PyObject
* obj2
= 0 ;
15812 PyObject
* obj3
= 0 ;
15813 PyObject
* obj4
= 0 ;
15814 PyObject
* obj5
= 0 ;
15815 PyObject
* obj6
= 0 ;
15816 PyObject
* obj7
= 0 ;
15817 PyObject
* obj8
= 0 ;
15818 char *kwnames
[] = {
15819 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
15823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
15824 if (SWIG_arg_fail(1)) SWIG_fail
;
15825 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15826 if (SWIG_arg_fail(2)) SWIG_fail
;
15829 arg3
= (int)(SWIG_As_int(obj2
));
15830 if (SWIG_arg_fail(3)) SWIG_fail
;
15835 arg4
= wxString_in_helper(obj3
);
15836 if (arg4
== NULL
) SWIG_fail
;
15843 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15849 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15854 arg7
= (long)(SWIG_As_long(obj6
));
15855 if (SWIG_arg_fail(7)) SWIG_fail
;
15860 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
15861 if (SWIG_arg_fail(8)) SWIG_fail
;
15862 if (arg8
== NULL
) {
15863 SWIG_null_ref("wxValidator");
15865 if (SWIG_arg_fail(8)) SWIG_fail
;
15870 arg9
= wxString_in_helper(obj8
);
15871 if (arg9
== NULL
) SWIG_fail
;
15876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15877 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
15879 wxPyEndAllowThreads(__tstate
);
15880 if (PyErr_Occurred()) SWIG_fail
;
15883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15907 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15908 PyObject
*resultobj
;
15909 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
15911 PyObject
* obj0
= 0 ;
15912 PyObject
* obj1
= 0 ;
15913 char *kwnames
[] = {
15914 (char *) "self",(char *) "value", NULL
15917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
15918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
15919 if (SWIG_arg_fail(1)) SWIG_fail
;
15921 arg2
= (bool)(SWIG_As_bool(obj1
));
15922 if (SWIG_arg_fail(2)) SWIG_fail
;
15925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15926 (arg1
)->SetValue(arg2
);
15928 wxPyEndAllowThreads(__tstate
);
15929 if (PyErr_Occurred()) SWIG_fail
;
15931 Py_INCREF(Py_None
); resultobj
= Py_None
;
15938 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15939 PyObject
*resultobj
;
15940 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
15942 PyObject
* obj0
= 0 ;
15943 char *kwnames
[] = {
15944 (char *) "self", NULL
15947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
15948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
15949 if (SWIG_arg_fail(1)) SWIG_fail
;
15951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15952 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
15954 wxPyEndAllowThreads(__tstate
);
15955 if (PyErr_Occurred()) SWIG_fail
;
15958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15966 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15967 PyObject
*resultobj
;
15968 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
15969 wxString
*arg2
= 0 ;
15970 bool temp2
= false ;
15971 PyObject
* obj0
= 0 ;
15972 PyObject
* obj1
= 0 ;
15973 char *kwnames
[] = {
15974 (char *) "self",(char *) "label", NULL
15977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
15978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
15979 if (SWIG_arg_fail(1)) SWIG_fail
;
15981 arg2
= wxString_in_helper(obj1
);
15982 if (arg2
== NULL
) SWIG_fail
;
15986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15987 (arg1
)->SetLabel((wxString
const &)*arg2
);
15989 wxPyEndAllowThreads(__tstate
);
15990 if (PyErr_Occurred()) SWIG_fail
;
15992 Py_INCREF(Py_None
); resultobj
= Py_None
;
16007 static PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16008 PyObject
*resultobj
;
16009 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16010 wxVisualAttributes result
;
16011 PyObject
* obj0
= 0 ;
16012 char *kwnames
[] = {
16013 (char *) "variant", NULL
16016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16019 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
16020 if (SWIG_arg_fail(1)) SWIG_fail
;
16024 if (!wxPyCheckForApp()) SWIG_fail
;
16025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16026 result
= wxToggleButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
16028 wxPyEndAllowThreads(__tstate
);
16029 if (PyErr_Occurred()) SWIG_fail
;
16032 wxVisualAttributes
* resultptr
;
16033 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
16034 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16042 static PyObject
* ToggleButton_swigregister(PyObject
*, PyObject
*args
) {
16044 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16045 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
16047 return Py_BuildValue((char *)"");
16049 static int _wrap_NotebookNameStr_set(PyObject
*) {
16050 PyErr_SetString(PyExc_TypeError
,"Variable NotebookNameStr is read-only.");
16055 static PyObject
*_wrap_NotebookNameStr_get(void) {
16060 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
16062 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
16069 static PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16070 PyObject
*resultobj
;
16071 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16073 PyObject
* obj0
= 0 ;
16074 char *kwnames
[] = {
16075 (char *) "self", NULL
16078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetPageCount",kwnames
,&obj0
)) goto fail
;
16079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16080 if (SWIG_arg_fail(1)) SWIG_fail
;
16082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16083 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
16085 wxPyEndAllowThreads(__tstate
);
16086 if (PyErr_Occurred()) SWIG_fail
;
16089 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
16097 static PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16098 PyObject
*resultobj
;
16099 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16102 PyObject
* obj0
= 0 ;
16103 PyObject
* obj1
= 0 ;
16104 char *kwnames
[] = {
16105 (char *) "self",(char *) "n", NULL
16108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
16109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16110 if (SWIG_arg_fail(1)) SWIG_fail
;
16112 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16113 if (SWIG_arg_fail(2)) SWIG_fail
;
16116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16117 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
16119 wxPyEndAllowThreads(__tstate
);
16120 if (PyErr_Occurred()) SWIG_fail
;
16123 resultobj
= wxPyMake_wxObject(result
, 0);
16131 static PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16132 PyObject
*resultobj
;
16133 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16135 PyObject
* obj0
= 0 ;
16136 char *kwnames
[] = {
16137 (char *) "self", NULL
16140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
16141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16142 if (SWIG_arg_fail(1)) SWIG_fail
;
16144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16145 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
16147 wxPyEndAllowThreads(__tstate
);
16148 if (PyErr_Occurred()) SWIG_fail
;
16151 resultobj
= wxPyMake_wxObject(result
, 0);
16159 static PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16160 PyObject
*resultobj
;
16161 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16163 PyObject
* obj0
= 0 ;
16164 char *kwnames
[] = {
16165 (char *) "self", NULL
16168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetSelection",kwnames
,&obj0
)) goto fail
;
16169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16170 if (SWIG_arg_fail(1)) SWIG_fail
;
16172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16173 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
16175 wxPyEndAllowThreads(__tstate
);
16176 if (PyErr_Occurred()) SWIG_fail
;
16179 resultobj
= SWIG_From_int((int)(result
));
16187 static PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16188 PyObject
*resultobj
;
16189 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16191 wxString
*arg3
= 0 ;
16193 bool temp3
= false ;
16194 PyObject
* obj0
= 0 ;
16195 PyObject
* obj1
= 0 ;
16196 PyObject
* obj2
= 0 ;
16197 char *kwnames
[] = {
16198 (char *) "self",(char *) "n",(char *) "strText", NULL
16201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16203 if (SWIG_arg_fail(1)) SWIG_fail
;
16205 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16206 if (SWIG_arg_fail(2)) SWIG_fail
;
16209 arg3
= wxString_in_helper(obj2
);
16210 if (arg3
== NULL
) SWIG_fail
;
16214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16215 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
16217 wxPyEndAllowThreads(__tstate
);
16218 if (PyErr_Occurred()) SWIG_fail
;
16221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16237 static PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16238 PyObject
*resultobj
;
16239 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16242 PyObject
* obj0
= 0 ;
16243 PyObject
* obj1
= 0 ;
16244 char *kwnames
[] = {
16245 (char *) "self",(char *) "n", NULL
16248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
16249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16250 if (SWIG_arg_fail(1)) SWIG_fail
;
16252 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16253 if (SWIG_arg_fail(2)) SWIG_fail
;
16256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16257 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
16259 wxPyEndAllowThreads(__tstate
);
16260 if (PyErr_Occurred()) SWIG_fail
;
16264 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16266 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16275 static PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16276 PyObject
*resultobj
;
16277 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16278 wxImageList
*arg2
= (wxImageList
*) 0 ;
16279 PyObject
* obj0
= 0 ;
16280 PyObject
* obj1
= 0 ;
16281 char *kwnames
[] = {
16282 (char *) "self",(char *) "imageList", NULL
16285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
16286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16287 if (SWIG_arg_fail(1)) SWIG_fail
;
16288 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
16289 if (SWIG_arg_fail(2)) SWIG_fail
;
16291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16292 (arg1
)->SetImageList(arg2
);
16294 wxPyEndAllowThreads(__tstate
);
16295 if (PyErr_Occurred()) SWIG_fail
;
16297 Py_INCREF(Py_None
); resultobj
= Py_None
;
16304 static PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16305 PyObject
*resultobj
;
16306 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16307 wxImageList
*arg2
= (wxImageList
*) 0 ;
16308 PyObject
* obj0
= 0 ;
16309 PyObject
* obj1
= 0 ;
16310 char *kwnames
[] = {
16311 (char *) "self",(char *) "imageList", NULL
16314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
16315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16316 if (SWIG_arg_fail(1)) SWIG_fail
;
16317 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
16318 if (SWIG_arg_fail(2)) SWIG_fail
;
16320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16321 (arg1
)->AssignImageList(arg2
);
16323 wxPyEndAllowThreads(__tstate
);
16324 if (PyErr_Occurred()) SWIG_fail
;
16326 Py_INCREF(Py_None
); resultobj
= Py_None
;
16333 static PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16334 PyObject
*resultobj
;
16335 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16336 wxImageList
*result
;
16337 PyObject
* obj0
= 0 ;
16338 char *kwnames
[] = {
16339 (char *) "self", NULL
16342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetImageList",kwnames
,&obj0
)) goto fail
;
16343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16344 if (SWIG_arg_fail(1)) SWIG_fail
;
16346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16347 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
16349 wxPyEndAllowThreads(__tstate
);
16350 if (PyErr_Occurred()) SWIG_fail
;
16353 resultobj
= wxPyMake_wxObject(result
, 0);
16361 static PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16362 PyObject
*resultobj
;
16363 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16366 PyObject
* obj0
= 0 ;
16367 PyObject
* obj1
= 0 ;
16368 char *kwnames
[] = {
16369 (char *) "self",(char *) "n", NULL
16372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
16373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16374 if (SWIG_arg_fail(1)) SWIG_fail
;
16376 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16377 if (SWIG_arg_fail(2)) SWIG_fail
;
16380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16381 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
16383 wxPyEndAllowThreads(__tstate
);
16384 if (PyErr_Occurred()) SWIG_fail
;
16387 resultobj
= SWIG_From_int((int)(result
));
16395 static PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16396 PyObject
*resultobj
;
16397 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16401 PyObject
* obj0
= 0 ;
16402 PyObject
* obj1
= 0 ;
16403 PyObject
* obj2
= 0 ;
16404 char *kwnames
[] = {
16405 (char *) "self",(char *) "n",(char *) "imageId", NULL
16408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16410 if (SWIG_arg_fail(1)) SWIG_fail
;
16412 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16413 if (SWIG_arg_fail(2)) SWIG_fail
;
16416 arg3
= (int)(SWIG_As_int(obj2
));
16417 if (SWIG_arg_fail(3)) SWIG_fail
;
16420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16421 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
16423 wxPyEndAllowThreads(__tstate
);
16424 if (PyErr_Occurred()) SWIG_fail
;
16427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16435 static PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16436 PyObject
*resultobj
;
16437 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16440 PyObject
* obj0
= 0 ;
16441 PyObject
* obj1
= 0 ;
16442 char *kwnames
[] = {
16443 (char *) "self",(char *) "size", NULL
16446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16448 if (SWIG_arg_fail(1)) SWIG_fail
;
16451 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16455 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
16457 wxPyEndAllowThreads(__tstate
);
16458 if (PyErr_Occurred()) SWIG_fail
;
16460 Py_INCREF(Py_None
); resultobj
= Py_None
;
16467 static PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16468 PyObject
*resultobj
;
16469 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16473 PyObject
* obj0
= 0 ;
16474 PyObject
* obj1
= 0 ;
16475 char *kwnames
[] = {
16476 (char *) "self",(char *) "sizePage", NULL
16479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
16480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16481 if (SWIG_arg_fail(1)) SWIG_fail
;
16484 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16488 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
16490 wxPyEndAllowThreads(__tstate
);
16491 if (PyErr_Occurred()) SWIG_fail
;
16494 wxSize
* resultptr
;
16495 resultptr
= new wxSize((wxSize
&)(result
));
16496 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16504 static PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16505 PyObject
*resultobj
;
16506 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16509 PyObject
* obj0
= 0 ;
16510 PyObject
* obj1
= 0 ;
16511 char *kwnames
[] = {
16512 (char *) "self",(char *) "n", NULL
16515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
16516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16517 if (SWIG_arg_fail(1)) SWIG_fail
;
16519 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16520 if (SWIG_arg_fail(2)) SWIG_fail
;
16523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16524 result
= (bool)(arg1
)->DeletePage(arg2
);
16526 wxPyEndAllowThreads(__tstate
);
16527 if (PyErr_Occurred()) SWIG_fail
;
16530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16538 static PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16539 PyObject
*resultobj
;
16540 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16543 PyObject
* obj0
= 0 ;
16544 PyObject
* obj1
= 0 ;
16545 char *kwnames
[] = {
16546 (char *) "self",(char *) "n", NULL
16549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
16550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16551 if (SWIG_arg_fail(1)) SWIG_fail
;
16553 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16554 if (SWIG_arg_fail(2)) SWIG_fail
;
16557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16558 result
= (bool)(arg1
)->RemovePage(arg2
);
16560 wxPyEndAllowThreads(__tstate
);
16561 if (PyErr_Occurred()) SWIG_fail
;
16564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16572 static PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16573 PyObject
*resultobj
;
16574 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16576 PyObject
* obj0
= 0 ;
16577 char *kwnames
[] = {
16578 (char *) "self", NULL
16581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
16582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16583 if (SWIG_arg_fail(1)) SWIG_fail
;
16585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16586 result
= (bool)(arg1
)->DeleteAllPages();
16588 wxPyEndAllowThreads(__tstate
);
16589 if (PyErr_Occurred()) SWIG_fail
;
16592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16600 static PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16601 PyObject
*resultobj
;
16602 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16603 wxWindow
*arg2
= (wxWindow
*) 0 ;
16604 wxString
*arg3
= 0 ;
16605 bool arg4
= (bool) false ;
16606 int arg5
= (int) -1 ;
16608 bool temp3
= false ;
16609 PyObject
* obj0
= 0 ;
16610 PyObject
* obj1
= 0 ;
16611 PyObject
* obj2
= 0 ;
16612 PyObject
* obj3
= 0 ;
16613 PyObject
* obj4
= 0 ;
16614 char *kwnames
[] = {
16615 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16620 if (SWIG_arg_fail(1)) SWIG_fail
;
16621 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16622 if (SWIG_arg_fail(2)) SWIG_fail
;
16624 arg3
= wxString_in_helper(obj2
);
16625 if (arg3
== NULL
) SWIG_fail
;
16630 arg4
= (bool)(SWIG_As_bool(obj3
));
16631 if (SWIG_arg_fail(4)) SWIG_fail
;
16636 arg5
= (int)(SWIG_As_int(obj4
));
16637 if (SWIG_arg_fail(5)) SWIG_fail
;
16641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16642 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
16644 wxPyEndAllowThreads(__tstate
);
16645 if (PyErr_Occurred()) SWIG_fail
;
16648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16664 static PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16665 PyObject
*resultobj
;
16666 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16668 wxWindow
*arg3
= (wxWindow
*) 0 ;
16669 wxString
*arg4
= 0 ;
16670 bool arg5
= (bool) false ;
16671 int arg6
= (int) -1 ;
16673 bool temp4
= false ;
16674 PyObject
* obj0
= 0 ;
16675 PyObject
* obj1
= 0 ;
16676 PyObject
* obj2
= 0 ;
16677 PyObject
* obj3
= 0 ;
16678 PyObject
* obj4
= 0 ;
16679 PyObject
* obj5
= 0 ;
16680 char *kwnames
[] = {
16681 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16686 if (SWIG_arg_fail(1)) SWIG_fail
;
16688 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16689 if (SWIG_arg_fail(2)) SWIG_fail
;
16691 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16692 if (SWIG_arg_fail(3)) SWIG_fail
;
16694 arg4
= wxString_in_helper(obj3
);
16695 if (arg4
== NULL
) SWIG_fail
;
16700 arg5
= (bool)(SWIG_As_bool(obj4
));
16701 if (SWIG_arg_fail(5)) SWIG_fail
;
16706 arg6
= (int)(SWIG_As_int(obj5
));
16707 if (SWIG_arg_fail(6)) SWIG_fail
;
16711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16712 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16714 wxPyEndAllowThreads(__tstate
);
16715 if (PyErr_Occurred()) SWIG_fail
;
16718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16734 static PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16735 PyObject
*resultobj
;
16736 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16739 PyObject
* obj0
= 0 ;
16740 PyObject
* obj1
= 0 ;
16741 char *kwnames
[] = {
16742 (char *) "self",(char *) "n", NULL
16745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16747 if (SWIG_arg_fail(1)) SWIG_fail
;
16749 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16750 if (SWIG_arg_fail(2)) SWIG_fail
;
16753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16754 result
= (int)(arg1
)->SetSelection(arg2
);
16756 wxPyEndAllowThreads(__tstate
);
16757 if (PyErr_Occurred()) SWIG_fail
;
16760 resultobj
= SWIG_From_int((int)(result
));
16768 static PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16769 PyObject
*resultobj
;
16770 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16771 bool arg2
= (bool) true ;
16772 PyObject
* obj0
= 0 ;
16773 PyObject
* obj1
= 0 ;
16774 char *kwnames
[] = {
16775 (char *) "self",(char *) "forward", NULL
16778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16780 if (SWIG_arg_fail(1)) SWIG_fail
;
16783 arg2
= (bool)(SWIG_As_bool(obj1
));
16784 if (SWIG_arg_fail(2)) SWIG_fail
;
16788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16789 (arg1
)->AdvanceSelection(arg2
);
16791 wxPyEndAllowThreads(__tstate
);
16792 if (PyErr_Occurred()) SWIG_fail
;
16794 Py_INCREF(Py_None
); resultobj
= Py_None
;
16801 static PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16802 PyObject
*resultobj
;
16803 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16804 wxVisualAttributes result
;
16805 PyObject
* obj0
= 0 ;
16806 char *kwnames
[] = {
16807 (char *) "variant", NULL
16810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16813 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
16814 if (SWIG_arg_fail(1)) SWIG_fail
;
16818 if (!wxPyCheckForApp()) SWIG_fail
;
16819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16820 result
= wxBookCtrlBase::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
16822 wxPyEndAllowThreads(__tstate
);
16823 if (PyErr_Occurred()) SWIG_fail
;
16826 wxVisualAttributes
* resultptr
;
16827 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
16828 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16836 static PyObject
* BookCtrlBase_swigregister(PyObject
*, PyObject
*args
) {
16838 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16839 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBase
, obj
);
16841 return Py_BuildValue((char *)"");
16843 static PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16844 PyObject
*resultobj
;
16845 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16846 int arg2
= (int) 0 ;
16847 int arg3
= (int) -1 ;
16848 int arg4
= (int) -1 ;
16849 wxBookCtrlBaseEvent
*result
;
16850 PyObject
* obj0
= 0 ;
16851 PyObject
* obj1
= 0 ;
16852 PyObject
* obj2
= 0 ;
16853 PyObject
* obj3
= 0 ;
16854 char *kwnames
[] = {
16855 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
16858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16861 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16862 if (SWIG_arg_fail(1)) SWIG_fail
;
16867 arg2
= (int)(SWIG_As_int(obj1
));
16868 if (SWIG_arg_fail(2)) SWIG_fail
;
16873 arg3
= (int)(SWIG_As_int(obj2
));
16874 if (SWIG_arg_fail(3)) SWIG_fail
;
16879 arg4
= (int)(SWIG_As_int(obj3
));
16880 if (SWIG_arg_fail(4)) SWIG_fail
;
16884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16885 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
16887 wxPyEndAllowThreads(__tstate
);
16888 if (PyErr_Occurred()) SWIG_fail
;
16890 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, 1);
16897 static PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16898 PyObject
*resultobj
;
16899 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
16901 PyObject
* obj0
= 0 ;
16902 char *kwnames
[] = {
16903 (char *) "self", NULL
16906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
16907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16908 if (SWIG_arg_fail(1)) SWIG_fail
;
16910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16911 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
16913 wxPyEndAllowThreads(__tstate
);
16914 if (PyErr_Occurred()) SWIG_fail
;
16917 resultobj
= SWIG_From_int((int)(result
));
16925 static PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16926 PyObject
*resultobj
;
16927 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
16929 PyObject
* obj0
= 0 ;
16930 PyObject
* obj1
= 0 ;
16931 char *kwnames
[] = {
16932 (char *) "self",(char *) "nSel", NULL
16935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16937 if (SWIG_arg_fail(1)) SWIG_fail
;
16939 arg2
= (int)(SWIG_As_int(obj1
));
16940 if (SWIG_arg_fail(2)) SWIG_fail
;
16943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16944 (arg1
)->SetSelection(arg2
);
16946 wxPyEndAllowThreads(__tstate
);
16947 if (PyErr_Occurred()) SWIG_fail
;
16949 Py_INCREF(Py_None
); resultobj
= Py_None
;
16956 static PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16957 PyObject
*resultobj
;
16958 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
16960 PyObject
* obj0
= 0 ;
16961 char *kwnames
[] = {
16962 (char *) "self", NULL
16965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
16966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16967 if (SWIG_arg_fail(1)) SWIG_fail
;
16969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16970 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
16972 wxPyEndAllowThreads(__tstate
);
16973 if (PyErr_Occurred()) SWIG_fail
;
16976 resultobj
= SWIG_From_int((int)(result
));
16984 static PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16985 PyObject
*resultobj
;
16986 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
16988 PyObject
* obj0
= 0 ;
16989 PyObject
* obj1
= 0 ;
16990 char *kwnames
[] = {
16991 (char *) "self",(char *) "nOldSel", NULL
16994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) 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 arg2
= (int)(SWIG_As_int(obj1
));
16999 if (SWIG_arg_fail(2)) SWIG_fail
;
17002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17003 (arg1
)->SetOldSelection(arg2
);
17005 wxPyEndAllowThreads(__tstate
);
17006 if (PyErr_Occurred()) SWIG_fail
;
17008 Py_INCREF(Py_None
); resultobj
= Py_None
;
17015 static PyObject
* BookCtrlBaseEvent_swigregister(PyObject
*, PyObject
*args
) {
17017 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17018 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, obj
);
17020 return Py_BuildValue((char *)"");
17022 static PyObject
*_wrap_new_Notebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17023 PyObject
*resultobj
;
17024 wxWindow
*arg1
= (wxWindow
*) 0 ;
17025 int arg2
= (int) -1 ;
17026 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17027 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17028 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17029 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17030 long arg5
= (long) 0 ;
17031 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
17032 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17033 wxNotebook
*result
;
17036 bool temp6
= false ;
17037 PyObject
* obj0
= 0 ;
17038 PyObject
* obj1
= 0 ;
17039 PyObject
* obj2
= 0 ;
17040 PyObject
* obj3
= 0 ;
17041 PyObject
* obj4
= 0 ;
17042 PyObject
* obj5
= 0 ;
17043 char *kwnames
[] = {
17044 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17049 if (SWIG_arg_fail(1)) SWIG_fail
;
17052 arg2
= (int)(SWIG_As_int(obj1
));
17053 if (SWIG_arg_fail(2)) SWIG_fail
;
17059 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17065 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17070 arg5
= (long)(SWIG_As_long(obj4
));
17071 if (SWIG_arg_fail(5)) SWIG_fail
;
17076 arg6
= wxString_in_helper(obj5
);
17077 if (arg6
== NULL
) SWIG_fail
;
17082 if (!wxPyCheckForApp()) SWIG_fail
;
17083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17084 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17086 wxPyEndAllowThreads(__tstate
);
17087 if (PyErr_Occurred()) SWIG_fail
;
17089 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
17104 static PyObject
*_wrap_new_PreNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17105 PyObject
*resultobj
;
17106 wxNotebook
*result
;
17107 char *kwnames
[] = {
17111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
17113 if (!wxPyCheckForApp()) SWIG_fail
;
17114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17115 result
= (wxNotebook
*)new wxNotebook();
17117 wxPyEndAllowThreads(__tstate
);
17118 if (PyErr_Occurred()) SWIG_fail
;
17120 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
17127 static PyObject
*_wrap_Notebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17128 PyObject
*resultobj
;
17129 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17130 wxWindow
*arg2
= (wxWindow
*) 0 ;
17131 int arg3
= (int) -1 ;
17132 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17133 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17134 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17135 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17136 long arg6
= (long) 0 ;
17137 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
17138 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17142 bool temp7
= false ;
17143 PyObject
* obj0
= 0 ;
17144 PyObject
* obj1
= 0 ;
17145 PyObject
* obj2
= 0 ;
17146 PyObject
* obj3
= 0 ;
17147 PyObject
* obj4
= 0 ;
17148 PyObject
* obj5
= 0 ;
17149 PyObject
* obj6
= 0 ;
17150 char *kwnames
[] = {
17151 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17156 if (SWIG_arg_fail(1)) SWIG_fail
;
17157 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17158 if (SWIG_arg_fail(2)) SWIG_fail
;
17161 arg3
= (int)(SWIG_As_int(obj2
));
17162 if (SWIG_arg_fail(3)) SWIG_fail
;
17168 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17174 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17179 arg6
= (long)(SWIG_As_long(obj5
));
17180 if (SWIG_arg_fail(6)) SWIG_fail
;
17185 arg7
= wxString_in_helper(obj6
);
17186 if (arg7
== NULL
) SWIG_fail
;
17191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17192 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17194 wxPyEndAllowThreads(__tstate
);
17195 if (PyErr_Occurred()) SWIG_fail
;
17198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17214 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17215 PyObject
*resultobj
;
17216 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17218 PyObject
* obj0
= 0 ;
17219 char *kwnames
[] = {
17220 (char *) "self", NULL
17223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
17224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17225 if (SWIG_arg_fail(1)) SWIG_fail
;
17227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17228 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
17230 wxPyEndAllowThreads(__tstate
);
17231 if (PyErr_Occurred()) SWIG_fail
;
17234 resultobj
= SWIG_From_int((int)(result
));
17242 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17243 PyObject
*resultobj
;
17244 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17247 PyObject
* obj0
= 0 ;
17248 PyObject
* obj1
= 0 ;
17249 char *kwnames
[] = {
17250 (char *) "self",(char *) "padding", NULL
17253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
17254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17255 if (SWIG_arg_fail(1)) SWIG_fail
;
17258 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17262 (arg1
)->SetPadding((wxSize
const &)*arg2
);
17264 wxPyEndAllowThreads(__tstate
);
17265 if (PyErr_Occurred()) SWIG_fail
;
17267 Py_INCREF(Py_None
); resultobj
= Py_None
;
17274 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17275 PyObject
*resultobj
;
17276 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17279 PyObject
* obj0
= 0 ;
17280 PyObject
* obj1
= 0 ;
17281 char *kwnames
[] = {
17282 (char *) "self",(char *) "sz", NULL
17285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17287 if (SWIG_arg_fail(1)) SWIG_fail
;
17290 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17294 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
17296 wxPyEndAllowThreads(__tstate
);
17297 if (PyErr_Occurred()) SWIG_fail
;
17299 Py_INCREF(Py_None
); resultobj
= Py_None
;
17306 static PyObject
*_wrap_Notebook_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17307 PyObject
*resultobj
;
17308 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17309 wxPoint
*arg2
= 0 ;
17310 long *arg3
= (long *) 0 ;
17315 PyObject
* obj0
= 0 ;
17316 PyObject
* obj1
= 0 ;
17317 char *kwnames
[] = {
17318 (char *) "self",(char *) "pt", NULL
17321 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
17323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17324 if (SWIG_arg_fail(1)) SWIG_fail
;
17327 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17331 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
17333 wxPyEndAllowThreads(__tstate
);
17334 if (PyErr_Occurred()) SWIG_fail
;
17337 resultobj
= SWIG_From_int((int)(result
));
17339 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17340 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
17347 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17348 PyObject
*resultobj
;
17349 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17353 PyObject
* obj0
= 0 ;
17354 PyObject
* obj1
= 0 ;
17355 char *kwnames
[] = {
17356 (char *) "self",(char *) "sizePage", NULL
17359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
17360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17361 if (SWIG_arg_fail(1)) SWIG_fail
;
17364 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17368 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
17370 wxPyEndAllowThreads(__tstate
);
17371 if (PyErr_Occurred()) SWIG_fail
;
17374 wxSize
* resultptr
;
17375 resultptr
= new wxSize((wxSize
&)(result
));
17376 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17384 static PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17385 PyObject
*resultobj
;
17386 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17388 PyObject
* obj0
= 0 ;
17389 char *kwnames
[] = {
17390 (char *) "self", NULL
17393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetThemeBackgroundColour",kwnames
,&obj0
)) goto fail
;
17394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17395 if (SWIG_arg_fail(1)) SWIG_fail
;
17397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17398 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
17400 wxPyEndAllowThreads(__tstate
);
17401 if (PyErr_Occurred()) SWIG_fail
;
17404 wxColour
* resultptr
;
17405 resultptr
= new wxColour((wxColour
&)(result
));
17406 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17414 static PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17415 PyObject
*resultobj
;
17416 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17417 wxVisualAttributes result
;
17418 PyObject
* obj0
= 0 ;
17419 char *kwnames
[] = {
17420 (char *) "variant", NULL
17423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17426 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
17427 if (SWIG_arg_fail(1)) SWIG_fail
;
17431 if (!wxPyCheckForApp()) SWIG_fail
;
17432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17433 result
= wxNotebook::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
17435 wxPyEndAllowThreads(__tstate
);
17436 if (PyErr_Occurred()) SWIG_fail
;
17439 wxVisualAttributes
* resultptr
;
17440 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
17441 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17449 static PyObject
* Notebook_swigregister(PyObject
*, PyObject
*args
) {
17451 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17452 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
17454 return Py_BuildValue((char *)"");
17456 static PyObject
*_wrap_new_NotebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17457 PyObject
*resultobj
;
17458 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17459 int arg2
= (int) 0 ;
17460 int arg3
= (int) -1 ;
17461 int arg4
= (int) -1 ;
17462 wxNotebookEvent
*result
;
17463 PyObject
* obj0
= 0 ;
17464 PyObject
* obj1
= 0 ;
17465 PyObject
* obj2
= 0 ;
17466 PyObject
* obj3
= 0 ;
17467 char *kwnames
[] = {
17468 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17474 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17475 if (SWIG_arg_fail(1)) SWIG_fail
;
17480 arg2
= (int)(SWIG_As_int(obj1
));
17481 if (SWIG_arg_fail(2)) SWIG_fail
;
17486 arg3
= (int)(SWIG_As_int(obj2
));
17487 if (SWIG_arg_fail(3)) SWIG_fail
;
17492 arg4
= (int)(SWIG_As_int(obj3
));
17493 if (SWIG_arg_fail(4)) SWIG_fail
;
17497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17498 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
17500 wxPyEndAllowThreads(__tstate
);
17501 if (PyErr_Occurred()) SWIG_fail
;
17503 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
17510 static PyObject
* NotebookEvent_swigregister(PyObject
*, PyObject
*args
) {
17512 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17513 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
17515 return Py_BuildValue((char *)"");
17517 static PyObject
*_wrap_new_Listbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17518 PyObject
*resultobj
;
17519 wxWindow
*arg1
= (wxWindow
*) 0 ;
17520 int arg2
= (int) -1 ;
17521 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17522 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17523 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17524 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17525 long arg5
= (long) 0 ;
17526 wxString
const &arg6_defvalue
= wxPyEmptyString
;
17527 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17528 wxListbook
*result
;
17531 bool temp6
= false ;
17532 PyObject
* obj0
= 0 ;
17533 PyObject
* obj1
= 0 ;
17534 PyObject
* obj2
= 0 ;
17535 PyObject
* obj3
= 0 ;
17536 PyObject
* obj4
= 0 ;
17537 PyObject
* obj5
= 0 ;
17538 char *kwnames
[] = {
17539 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17544 if (SWIG_arg_fail(1)) SWIG_fail
;
17547 arg2
= (int)(SWIG_As_int(obj1
));
17548 if (SWIG_arg_fail(2)) SWIG_fail
;
17554 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17560 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17565 arg5
= (long)(SWIG_As_long(obj4
));
17566 if (SWIG_arg_fail(5)) SWIG_fail
;
17571 arg6
= wxString_in_helper(obj5
);
17572 if (arg6
== NULL
) SWIG_fail
;
17577 if (!wxPyCheckForApp()) SWIG_fail
;
17578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17579 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17581 wxPyEndAllowThreads(__tstate
);
17582 if (PyErr_Occurred()) SWIG_fail
;
17584 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
17599 static PyObject
*_wrap_new_PreListbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17600 PyObject
*resultobj
;
17601 wxListbook
*result
;
17602 char *kwnames
[] = {
17606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
17608 if (!wxPyCheckForApp()) SWIG_fail
;
17609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17610 result
= (wxListbook
*)new wxListbook();
17612 wxPyEndAllowThreads(__tstate
);
17613 if (PyErr_Occurred()) SWIG_fail
;
17615 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
17622 static PyObject
*_wrap_Listbook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17623 PyObject
*resultobj
;
17624 wxListbook
*arg1
= (wxListbook
*) 0 ;
17625 wxWindow
*arg2
= (wxWindow
*) 0 ;
17626 int arg3
= (int) -1 ;
17627 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17628 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17629 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17630 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17631 long arg6
= (long) 0 ;
17632 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17633 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17637 bool temp7
= false ;
17638 PyObject
* obj0
= 0 ;
17639 PyObject
* obj1
= 0 ;
17640 PyObject
* obj2
= 0 ;
17641 PyObject
* obj3
= 0 ;
17642 PyObject
* obj4
= 0 ;
17643 PyObject
* obj5
= 0 ;
17644 PyObject
* obj6
= 0 ;
17645 char *kwnames
[] = {
17646 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17651 if (SWIG_arg_fail(1)) SWIG_fail
;
17652 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17653 if (SWIG_arg_fail(2)) SWIG_fail
;
17656 arg3
= (int)(SWIG_As_int(obj2
));
17657 if (SWIG_arg_fail(3)) SWIG_fail
;
17663 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17669 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17674 arg6
= (long)(SWIG_As_long(obj5
));
17675 if (SWIG_arg_fail(6)) SWIG_fail
;
17680 arg7
= wxString_in_helper(obj6
);
17681 if (arg7
== NULL
) SWIG_fail
;
17686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17687 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17689 wxPyEndAllowThreads(__tstate
);
17690 if (PyErr_Occurred()) SWIG_fail
;
17693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17709 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17710 PyObject
*resultobj
;
17711 wxListbook
*arg1
= (wxListbook
*) 0 ;
17713 PyObject
* obj0
= 0 ;
17714 char *kwnames
[] = {
17715 (char *) "self", NULL
17718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
17719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17720 if (SWIG_arg_fail(1)) SWIG_fail
;
17722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17723 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
17725 wxPyEndAllowThreads(__tstate
);
17726 if (PyErr_Occurred()) SWIG_fail
;
17729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17737 static PyObject
*_wrap_Listbook_GetListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17738 PyObject
*resultobj
;
17739 wxListbook
*arg1
= (wxListbook
*) 0 ;
17740 wxListView
*result
;
17741 PyObject
* obj0
= 0 ;
17742 char *kwnames
[] = {
17743 (char *) "self", NULL
17746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_GetListView",kwnames
,&obj0
)) goto fail
;
17747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17748 if (SWIG_arg_fail(1)) SWIG_fail
;
17750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17751 result
= (wxListView
*)(arg1
)->GetListView();
17753 wxPyEndAllowThreads(__tstate
);
17754 if (PyErr_Occurred()) SWIG_fail
;
17756 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 0);
17763 static PyObject
* Listbook_swigregister(PyObject
*, PyObject
*args
) {
17765 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17766 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
17768 return Py_BuildValue((char *)"");
17770 static PyObject
*_wrap_new_ListbookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17771 PyObject
*resultobj
;
17772 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17773 int arg2
= (int) 0 ;
17774 int arg3
= (int) -1 ;
17775 int arg4
= (int) -1 ;
17776 wxListbookEvent
*result
;
17777 PyObject
* obj0
= 0 ;
17778 PyObject
* obj1
= 0 ;
17779 PyObject
* obj2
= 0 ;
17780 PyObject
* obj3
= 0 ;
17781 char *kwnames
[] = {
17782 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17788 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17789 if (SWIG_arg_fail(1)) SWIG_fail
;
17794 arg2
= (int)(SWIG_As_int(obj1
));
17795 if (SWIG_arg_fail(2)) SWIG_fail
;
17800 arg3
= (int)(SWIG_As_int(obj2
));
17801 if (SWIG_arg_fail(3)) SWIG_fail
;
17806 arg4
= (int)(SWIG_As_int(obj3
));
17807 if (SWIG_arg_fail(4)) SWIG_fail
;
17811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17812 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
17814 wxPyEndAllowThreads(__tstate
);
17815 if (PyErr_Occurred()) SWIG_fail
;
17817 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
17824 static PyObject
* ListbookEvent_swigregister(PyObject
*, PyObject
*args
) {
17826 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17827 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
17829 return Py_BuildValue((char *)"");
17831 static PyObject
*_wrap_new_Choicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17832 PyObject
*resultobj
;
17833 wxWindow
*arg1
= (wxWindow
*) 0 ;
17835 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17836 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17837 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17838 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17839 long arg5
= (long) 0 ;
17840 wxString
const &arg6_defvalue
= wxPyEmptyString
;
17841 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17842 wxChoicebook
*result
;
17845 bool temp6
= false ;
17846 PyObject
* obj0
= 0 ;
17847 PyObject
* obj1
= 0 ;
17848 PyObject
* obj2
= 0 ;
17849 PyObject
* obj3
= 0 ;
17850 PyObject
* obj4
= 0 ;
17851 PyObject
* obj5
= 0 ;
17852 char *kwnames
[] = {
17853 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17858 if (SWIG_arg_fail(1)) SWIG_fail
;
17860 arg2
= (int)(SWIG_As_int(obj1
));
17861 if (SWIG_arg_fail(2)) SWIG_fail
;
17866 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17872 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17877 arg5
= (long)(SWIG_As_long(obj4
));
17878 if (SWIG_arg_fail(5)) SWIG_fail
;
17883 arg6
= wxString_in_helper(obj5
);
17884 if (arg6
== NULL
) SWIG_fail
;
17889 if (!wxPyCheckForApp()) SWIG_fail
;
17890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17891 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17893 wxPyEndAllowThreads(__tstate
);
17894 if (PyErr_Occurred()) SWIG_fail
;
17896 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
17911 static PyObject
*_wrap_new_PreChoicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17912 PyObject
*resultobj
;
17913 wxChoicebook
*result
;
17914 char *kwnames
[] = {
17918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoicebook",kwnames
)) goto fail
;
17920 if (!wxPyCheckForApp()) SWIG_fail
;
17921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17922 result
= (wxChoicebook
*)new wxChoicebook();
17924 wxPyEndAllowThreads(__tstate
);
17925 if (PyErr_Occurred()) SWIG_fail
;
17927 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
17934 static PyObject
*_wrap_Choicebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17935 PyObject
*resultobj
;
17936 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
17937 wxWindow
*arg2
= (wxWindow
*) 0 ;
17939 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17940 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17941 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17942 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17943 long arg6
= (long) 0 ;
17944 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17945 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17949 bool temp7
= false ;
17950 PyObject
* obj0
= 0 ;
17951 PyObject
* obj1
= 0 ;
17952 PyObject
* obj2
= 0 ;
17953 PyObject
* obj3
= 0 ;
17954 PyObject
* obj4
= 0 ;
17955 PyObject
* obj5
= 0 ;
17956 PyObject
* obj6
= 0 ;
17957 char *kwnames
[] = {
17958 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
17963 if (SWIG_arg_fail(1)) SWIG_fail
;
17964 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17965 if (SWIG_arg_fail(2)) SWIG_fail
;
17967 arg3
= (int)(SWIG_As_int(obj2
));
17968 if (SWIG_arg_fail(3)) SWIG_fail
;
17973 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17979 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17984 arg6
= (long)(SWIG_As_long(obj5
));
17985 if (SWIG_arg_fail(6)) SWIG_fail
;
17990 arg7
= wxString_in_helper(obj6
);
17991 if (arg7
== NULL
) SWIG_fail
;
17996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17997 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17999 wxPyEndAllowThreads(__tstate
);
18000 if (PyErr_Occurred()) SWIG_fail
;
18003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18019 static PyObject
*_wrap_Choicebook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18020 PyObject
*resultobj
;
18021 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18023 PyObject
* obj0
= 0 ;
18024 char *kwnames
[] = {
18025 (char *) "self", NULL
18028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_IsVertical",kwnames
,&obj0
)) goto fail
;
18029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18030 if (SWIG_arg_fail(1)) SWIG_fail
;
18032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18033 result
= (bool)((wxChoicebook
const *)arg1
)->IsVertical();
18035 wxPyEndAllowThreads(__tstate
);
18036 if (PyErr_Occurred()) SWIG_fail
;
18039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18047 static PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18048 PyObject
*resultobj
;
18049 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18051 PyObject
* obj0
= 0 ;
18052 char *kwnames
[] = {
18053 (char *) "self", NULL
18056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_GetChoiceCtrl",kwnames
,&obj0
)) goto fail
;
18057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18058 if (SWIG_arg_fail(1)) SWIG_fail
;
18060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18061 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
18063 wxPyEndAllowThreads(__tstate
);
18064 if (PyErr_Occurred()) SWIG_fail
;
18066 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 0);
18073 static PyObject
*_wrap_Choicebook_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18074 PyObject
*resultobj
;
18075 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18077 PyObject
* obj0
= 0 ;
18078 char *kwnames
[] = {
18079 (char *) "self", NULL
18082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
18083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18084 if (SWIG_arg_fail(1)) SWIG_fail
;
18086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18087 result
= (bool)(arg1
)->DeleteAllPages();
18089 wxPyEndAllowThreads(__tstate
);
18090 if (PyErr_Occurred()) SWIG_fail
;
18093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18101 static PyObject
* Choicebook_swigregister(PyObject
*, PyObject
*args
) {
18103 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18104 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook
, obj
);
18106 return Py_BuildValue((char *)"");
18108 static PyObject
*_wrap_new_ChoicebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18109 PyObject
*resultobj
;
18110 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18111 int arg2
= (int) 0 ;
18112 int arg3
= (int) -1 ;
18113 int arg4
= (int) -1 ;
18114 wxChoicebookEvent
*result
;
18115 PyObject
* obj0
= 0 ;
18116 PyObject
* obj1
= 0 ;
18117 PyObject
* obj2
= 0 ;
18118 PyObject
* obj3
= 0 ;
18119 char *kwnames
[] = {
18120 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18126 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
18127 if (SWIG_arg_fail(1)) SWIG_fail
;
18132 arg2
= (int)(SWIG_As_int(obj1
));
18133 if (SWIG_arg_fail(2)) SWIG_fail
;
18138 arg3
= (int)(SWIG_As_int(obj2
));
18139 if (SWIG_arg_fail(3)) SWIG_fail
;
18144 arg4
= (int)(SWIG_As_int(obj3
));
18145 if (SWIG_arg_fail(4)) SWIG_fail
;
18149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18150 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
18152 wxPyEndAllowThreads(__tstate
);
18153 if (PyErr_Occurred()) SWIG_fail
;
18155 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebookEvent
, 1);
18162 static PyObject
* ChoicebookEvent_swigregister(PyObject
*, PyObject
*args
) {
18164 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18165 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent
, obj
);
18167 return Py_BuildValue((char *)"");
18169 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18170 PyObject
*resultobj
;
18171 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18172 wxBookCtrlSizer
*result
;
18173 PyObject
* obj0
= 0 ;
18174 char *kwnames
[] = {
18175 (char *) "nb", NULL
18178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
18179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
18180 if (SWIG_arg_fail(1)) SWIG_fail
;
18182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18183 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
18185 wxPyEndAllowThreads(__tstate
);
18186 if (PyErr_Occurred()) SWIG_fail
;
18188 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
18195 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18196 PyObject
*resultobj
;
18197 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
18198 PyObject
* obj0
= 0 ;
18199 char *kwnames
[] = {
18200 (char *) "self", NULL
18203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
18204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION
| 0);
18205 if (SWIG_arg_fail(1)) SWIG_fail
;
18207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18208 (arg1
)->RecalcSizes();
18210 wxPyEndAllowThreads(__tstate
);
18211 if (PyErr_Occurred()) SWIG_fail
;
18213 Py_INCREF(Py_None
); resultobj
= Py_None
;
18220 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18221 PyObject
*resultobj
;
18222 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
18224 PyObject
* obj0
= 0 ;
18225 char *kwnames
[] = {
18226 (char *) "self", NULL
18229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
18230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION
| 0);
18231 if (SWIG_arg_fail(1)) SWIG_fail
;
18233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18234 result
= (arg1
)->CalcMin();
18236 wxPyEndAllowThreads(__tstate
);
18237 if (PyErr_Occurred()) SWIG_fail
;
18240 wxSize
* resultptr
;
18241 resultptr
= new wxSize((wxSize
&)(result
));
18242 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18250 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18251 PyObject
*resultobj
;
18252 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
18253 wxBookCtrlBase
*result
;
18254 PyObject
* obj0
= 0 ;
18255 char *kwnames
[] = {
18256 (char *) "self", NULL
18259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
18260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION
| 0);
18261 if (SWIG_arg_fail(1)) SWIG_fail
;
18263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18264 result
= (wxBookCtrlBase
*)(arg1
)->GetControl();
18266 wxPyEndAllowThreads(__tstate
);
18267 if (PyErr_Occurred()) SWIG_fail
;
18269 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlBase
, 0);
18276 static PyObject
* BookCtrlSizer_swigregister(PyObject
*, PyObject
*args
) {
18278 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18279 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
18281 return Py_BuildValue((char *)"");
18283 static PyObject
*_wrap_new_NotebookSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18284 PyObject
*resultobj
;
18285 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
18286 wxNotebookSizer
*result
;
18287 PyObject
* obj0
= 0 ;
18288 char *kwnames
[] = {
18289 (char *) "nb", NULL
18292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
18293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
18294 if (SWIG_arg_fail(1)) SWIG_fail
;
18296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18297 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
18299 wxPyEndAllowThreads(__tstate
);
18300 if (PyErr_Occurred()) SWIG_fail
;
18302 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
18309 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18310 PyObject
*resultobj
;
18311 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
18312 PyObject
* obj0
= 0 ;
18313 char *kwnames
[] = {
18314 (char *) "self", NULL
18317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
18318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION
| 0);
18319 if (SWIG_arg_fail(1)) SWIG_fail
;
18321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18322 (arg1
)->RecalcSizes();
18324 wxPyEndAllowThreads(__tstate
);
18325 if (PyErr_Occurred()) SWIG_fail
;
18327 Py_INCREF(Py_None
); resultobj
= Py_None
;
18334 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18335 PyObject
*resultobj
;
18336 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
18338 PyObject
* obj0
= 0 ;
18339 char *kwnames
[] = {
18340 (char *) "self", NULL
18343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
18344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION
| 0);
18345 if (SWIG_arg_fail(1)) SWIG_fail
;
18347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18348 result
= (arg1
)->CalcMin();
18350 wxPyEndAllowThreads(__tstate
);
18351 if (PyErr_Occurred()) SWIG_fail
;
18354 wxSize
* resultptr
;
18355 resultptr
= new wxSize((wxSize
&)(result
));
18356 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18364 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18365 PyObject
*resultobj
;
18366 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
18367 wxNotebook
*result
;
18368 PyObject
* obj0
= 0 ;
18369 char *kwnames
[] = {
18370 (char *) "self", NULL
18373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
18374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION
| 0);
18375 if (SWIG_arg_fail(1)) SWIG_fail
;
18377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18378 result
= (wxNotebook
*)(arg1
)->GetNotebook();
18380 wxPyEndAllowThreads(__tstate
);
18381 if (PyErr_Occurred()) SWIG_fail
;
18384 resultobj
= wxPyMake_wxObject(result
, 0);
18392 static PyObject
* NotebookSizer_swigregister(PyObject
*, PyObject
*args
) {
18394 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18395 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
18397 return Py_BuildValue((char *)"");
18399 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18400 PyObject
*resultobj
;
18401 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18403 PyObject
* obj0
= 0 ;
18404 char *kwnames
[] = {
18405 (char *) "self", NULL
18408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
18409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18410 if (SWIG_arg_fail(1)) SWIG_fail
;
18412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18413 result
= (int)(arg1
)->GetId();
18415 wxPyEndAllowThreads(__tstate
);
18416 if (PyErr_Occurred()) SWIG_fail
;
18419 resultobj
= SWIG_From_int((int)(result
));
18427 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18428 PyObject
*resultobj
;
18429 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18431 PyObject
* obj0
= 0 ;
18432 char *kwnames
[] = {
18433 (char *) "self", NULL
18436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
18437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18438 if (SWIG_arg_fail(1)) SWIG_fail
;
18440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18441 result
= (wxControl
*)(arg1
)->GetControl();
18443 wxPyEndAllowThreads(__tstate
);
18444 if (PyErr_Occurred()) SWIG_fail
;
18447 resultobj
= wxPyMake_wxObject(result
, 0);
18455 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18456 PyObject
*resultobj
;
18457 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18458 wxToolBarBase
*result
;
18459 PyObject
* obj0
= 0 ;
18460 char *kwnames
[] = {
18461 (char *) "self", NULL
18464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
18465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18466 if (SWIG_arg_fail(1)) SWIG_fail
;
18468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18469 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
18471 wxPyEndAllowThreads(__tstate
);
18472 if (PyErr_Occurred()) SWIG_fail
;
18475 resultobj
= wxPyMake_wxObject(result
, 0);
18483 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18484 PyObject
*resultobj
;
18485 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18487 PyObject
* obj0
= 0 ;
18488 char *kwnames
[] = {
18489 (char *) "self", NULL
18492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
18493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18494 if (SWIG_arg_fail(1)) SWIG_fail
;
18496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18497 result
= (int)(arg1
)->IsButton();
18499 wxPyEndAllowThreads(__tstate
);
18500 if (PyErr_Occurred()) SWIG_fail
;
18503 resultobj
= SWIG_From_int((int)(result
));
18511 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18512 PyObject
*resultobj
;
18513 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18515 PyObject
* obj0
= 0 ;
18516 char *kwnames
[] = {
18517 (char *) "self", NULL
18520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
18521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18522 if (SWIG_arg_fail(1)) SWIG_fail
;
18524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18525 result
= (int)(arg1
)->IsControl();
18527 wxPyEndAllowThreads(__tstate
);
18528 if (PyErr_Occurred()) SWIG_fail
;
18531 resultobj
= SWIG_From_int((int)(result
));
18539 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18540 PyObject
*resultobj
;
18541 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18543 PyObject
* obj0
= 0 ;
18544 char *kwnames
[] = {
18545 (char *) "self", NULL
18548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
18549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18550 if (SWIG_arg_fail(1)) SWIG_fail
;
18552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18553 result
= (int)(arg1
)->IsSeparator();
18555 wxPyEndAllowThreads(__tstate
);
18556 if (PyErr_Occurred()) SWIG_fail
;
18559 resultobj
= SWIG_From_int((int)(result
));
18567 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18568 PyObject
*resultobj
;
18569 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18571 PyObject
* obj0
= 0 ;
18572 char *kwnames
[] = {
18573 (char *) "self", NULL
18576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
18577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18578 if (SWIG_arg_fail(1)) SWIG_fail
;
18580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18581 result
= (int)(arg1
)->GetStyle();
18583 wxPyEndAllowThreads(__tstate
);
18584 if (PyErr_Occurred()) SWIG_fail
;
18587 resultobj
= SWIG_From_int((int)(result
));
18595 static PyObject
*_wrap_ToolBarToolBase_GetKind(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_GetKind",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();
18609 result
= (wxItemKind
)(arg1
)->GetKind();
18611 wxPyEndAllowThreads(__tstate
);
18612 if (PyErr_Occurred()) SWIG_fail
;
18614 resultobj
= SWIG_From_int((result
));
18621 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18622 PyObject
*resultobj
;
18623 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18625 PyObject
* obj0
= 0 ;
18626 char *kwnames
[] = {
18627 (char *) "self", NULL
18630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
18631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18632 if (SWIG_arg_fail(1)) SWIG_fail
;
18634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18635 result
= (bool)(arg1
)->IsEnabled();
18637 wxPyEndAllowThreads(__tstate
);
18638 if (PyErr_Occurred()) SWIG_fail
;
18641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18649 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18650 PyObject
*resultobj
;
18651 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18653 PyObject
* obj0
= 0 ;
18654 char *kwnames
[] = {
18655 (char *) "self", NULL
18658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
18659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18660 if (SWIG_arg_fail(1)) SWIG_fail
;
18662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18663 result
= (bool)(arg1
)->IsToggled();
18665 wxPyEndAllowThreads(__tstate
);
18666 if (PyErr_Occurred()) SWIG_fail
;
18669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18677 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18678 PyObject
*resultobj
;
18679 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18681 PyObject
* obj0
= 0 ;
18682 char *kwnames
[] = {
18683 (char *) "self", NULL
18686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
18687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18688 if (SWIG_arg_fail(1)) SWIG_fail
;
18690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18691 result
= (bool)(arg1
)->CanBeToggled();
18693 wxPyEndAllowThreads(__tstate
);
18694 if (PyErr_Occurred()) SWIG_fail
;
18697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18705 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18706 PyObject
*resultobj
;
18707 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18709 PyObject
* obj0
= 0 ;
18710 char *kwnames
[] = {
18711 (char *) "self", NULL
18714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
18715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18716 if (SWIG_arg_fail(1)) SWIG_fail
;
18718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18720 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
18721 result
= (wxBitmap
*) &_result_ref
;
18724 wxPyEndAllowThreads(__tstate
);
18725 if (PyErr_Occurred()) SWIG_fail
;
18728 wxBitmap
* resultptr
= new wxBitmap(*result
);
18729 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18737 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18738 PyObject
*resultobj
;
18739 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18741 PyObject
* obj0
= 0 ;
18742 char *kwnames
[] = {
18743 (char *) "self", NULL
18746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
18747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18748 if (SWIG_arg_fail(1)) SWIG_fail
;
18750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18752 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
18753 result
= (wxBitmap
*) &_result_ref
;
18756 wxPyEndAllowThreads(__tstate
);
18757 if (PyErr_Occurred()) SWIG_fail
;
18760 wxBitmap
* resultptr
= new wxBitmap(*result
);
18761 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18769 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18770 PyObject
*resultobj
;
18771 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18773 PyObject
* obj0
= 0 ;
18774 char *kwnames
[] = {
18775 (char *) "self", NULL
18778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
18779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18780 if (SWIG_arg_fail(1)) SWIG_fail
;
18782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18783 result
= (arg1
)->GetBitmap();
18785 wxPyEndAllowThreads(__tstate
);
18786 if (PyErr_Occurred()) SWIG_fail
;
18789 wxBitmap
* resultptr
;
18790 resultptr
= new wxBitmap((wxBitmap
&)(result
));
18791 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18799 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18800 PyObject
*resultobj
;
18801 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18803 PyObject
* obj0
= 0 ;
18804 char *kwnames
[] = {
18805 (char *) "self", NULL
18808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
18809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18810 if (SWIG_arg_fail(1)) SWIG_fail
;
18812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18813 result
= (arg1
)->GetLabel();
18815 wxPyEndAllowThreads(__tstate
);
18816 if (PyErr_Occurred()) SWIG_fail
;
18820 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18822 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18831 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18832 PyObject
*resultobj
;
18833 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18835 PyObject
* obj0
= 0 ;
18836 char *kwnames
[] = {
18837 (char *) "self", NULL
18840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
18841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18842 if (SWIG_arg_fail(1)) SWIG_fail
;
18844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18845 result
= (arg1
)->GetShortHelp();
18847 wxPyEndAllowThreads(__tstate
);
18848 if (PyErr_Occurred()) SWIG_fail
;
18852 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18854 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18863 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18864 PyObject
*resultobj
;
18865 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18867 PyObject
* obj0
= 0 ;
18868 char *kwnames
[] = {
18869 (char *) "self", NULL
18872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
18873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18874 if (SWIG_arg_fail(1)) SWIG_fail
;
18876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18877 result
= (arg1
)->GetLongHelp();
18879 wxPyEndAllowThreads(__tstate
);
18880 if (PyErr_Occurred()) SWIG_fail
;
18884 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18886 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18895 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18896 PyObject
*resultobj
;
18897 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18900 PyObject
* obj0
= 0 ;
18901 PyObject
* obj1
= 0 ;
18902 char *kwnames
[] = {
18903 (char *) "self",(char *) "enable", NULL
18906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
18907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18908 if (SWIG_arg_fail(1)) SWIG_fail
;
18910 arg2
= (bool)(SWIG_As_bool(obj1
));
18911 if (SWIG_arg_fail(2)) SWIG_fail
;
18914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18915 result
= (bool)(arg1
)->Enable(arg2
);
18917 wxPyEndAllowThreads(__tstate
);
18918 if (PyErr_Occurred()) SWIG_fail
;
18921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18929 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18930 PyObject
*resultobj
;
18931 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18932 PyObject
* obj0
= 0 ;
18933 char *kwnames
[] = {
18934 (char *) "self", NULL
18937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
18938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18939 if (SWIG_arg_fail(1)) SWIG_fail
;
18941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18944 wxPyEndAllowThreads(__tstate
);
18945 if (PyErr_Occurred()) SWIG_fail
;
18947 Py_INCREF(Py_None
); resultobj
= Py_None
;
18954 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18955 PyObject
*resultobj
;
18956 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18959 PyObject
* obj0
= 0 ;
18960 PyObject
* obj1
= 0 ;
18961 char *kwnames
[] = {
18962 (char *) "self",(char *) "toggle", NULL
18965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
18966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18967 if (SWIG_arg_fail(1)) SWIG_fail
;
18969 arg2
= (bool)(SWIG_As_bool(obj1
));
18970 if (SWIG_arg_fail(2)) SWIG_fail
;
18973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18974 result
= (bool)(arg1
)->SetToggle(arg2
);
18976 wxPyEndAllowThreads(__tstate
);
18977 if (PyErr_Occurred()) SWIG_fail
;
18980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18988 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18989 PyObject
*resultobj
;
18990 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18991 wxString
*arg2
= 0 ;
18993 bool temp2
= false ;
18994 PyObject
* obj0
= 0 ;
18995 PyObject
* obj1
= 0 ;
18996 char *kwnames
[] = {
18997 (char *) "self",(char *) "help", NULL
19000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19002 if (SWIG_arg_fail(1)) SWIG_fail
;
19004 arg2
= wxString_in_helper(obj1
);
19005 if (arg2
== NULL
) SWIG_fail
;
19009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19010 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
19012 wxPyEndAllowThreads(__tstate
);
19013 if (PyErr_Occurred()) SWIG_fail
;
19016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19032 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19033 PyObject
*resultobj
;
19034 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19035 wxString
*arg2
= 0 ;
19037 bool temp2
= false ;
19038 PyObject
* obj0
= 0 ;
19039 PyObject
* obj1
= 0 ;
19040 char *kwnames
[] = {
19041 (char *) "self",(char *) "help", NULL
19044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19046 if (SWIG_arg_fail(1)) SWIG_fail
;
19048 arg2
= wxString_in_helper(obj1
);
19049 if (arg2
== NULL
) SWIG_fail
;
19053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19054 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
19056 wxPyEndAllowThreads(__tstate
);
19057 if (PyErr_Occurred()) SWIG_fail
;
19060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19076 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19077 PyObject
*resultobj
;
19078 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19079 wxBitmap
*arg2
= 0 ;
19080 PyObject
* obj0
= 0 ;
19081 PyObject
* obj1
= 0 ;
19082 char *kwnames
[] = {
19083 (char *) "self",(char *) "bmp", NULL
19086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
19087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19088 if (SWIG_arg_fail(1)) SWIG_fail
;
19090 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19091 if (SWIG_arg_fail(2)) SWIG_fail
;
19092 if (arg2
== NULL
) {
19093 SWIG_null_ref("wxBitmap");
19095 if (SWIG_arg_fail(2)) SWIG_fail
;
19098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19099 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
19101 wxPyEndAllowThreads(__tstate
);
19102 if (PyErr_Occurred()) SWIG_fail
;
19104 Py_INCREF(Py_None
); resultobj
= Py_None
;
19111 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19112 PyObject
*resultobj
;
19113 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19114 wxBitmap
*arg2
= 0 ;
19115 PyObject
* obj0
= 0 ;
19116 PyObject
* obj1
= 0 ;
19117 char *kwnames
[] = {
19118 (char *) "self",(char *) "bmp", NULL
19121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
19122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19123 if (SWIG_arg_fail(1)) SWIG_fail
;
19125 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19126 if (SWIG_arg_fail(2)) SWIG_fail
;
19127 if (arg2
== NULL
) {
19128 SWIG_null_ref("wxBitmap");
19130 if (SWIG_arg_fail(2)) SWIG_fail
;
19133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19134 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
19136 wxPyEndAllowThreads(__tstate
);
19137 if (PyErr_Occurred()) SWIG_fail
;
19139 Py_INCREF(Py_None
); resultobj
= Py_None
;
19146 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19147 PyObject
*resultobj
;
19148 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19149 wxString
*arg2
= 0 ;
19150 bool temp2
= false ;
19151 PyObject
* obj0
= 0 ;
19152 PyObject
* obj1
= 0 ;
19153 char *kwnames
[] = {
19154 (char *) "self",(char *) "label", NULL
19157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
19158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19159 if (SWIG_arg_fail(1)) SWIG_fail
;
19161 arg2
= wxString_in_helper(obj1
);
19162 if (arg2
== NULL
) SWIG_fail
;
19166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19167 (arg1
)->SetLabel((wxString
const &)*arg2
);
19169 wxPyEndAllowThreads(__tstate
);
19170 if (PyErr_Occurred()) SWIG_fail
;
19172 Py_INCREF(Py_None
); resultobj
= Py_None
;
19187 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19188 PyObject
*resultobj
;
19189 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19190 PyObject
* obj0
= 0 ;
19191 char *kwnames
[] = {
19192 (char *) "self", NULL
19195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
19196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19197 if (SWIG_arg_fail(1)) SWIG_fail
;
19199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19202 wxPyEndAllowThreads(__tstate
);
19203 if (PyErr_Occurred()) SWIG_fail
;
19205 Py_INCREF(Py_None
); resultobj
= Py_None
;
19212 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19213 PyObject
*resultobj
;
19214 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19215 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
19216 PyObject
* obj0
= 0 ;
19217 PyObject
* obj1
= 0 ;
19218 char *kwnames
[] = {
19219 (char *) "self",(char *) "tbar", NULL
19222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
19223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19224 if (SWIG_arg_fail(1)) SWIG_fail
;
19225 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19226 if (SWIG_arg_fail(2)) SWIG_fail
;
19228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19229 (arg1
)->Attach(arg2
);
19231 wxPyEndAllowThreads(__tstate
);
19232 if (PyErr_Occurred()) SWIG_fail
;
19234 Py_INCREF(Py_None
); resultobj
= Py_None
;
19241 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19242 PyObject
*resultobj
;
19243 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19245 PyObject
* obj0
= 0 ;
19246 char *kwnames
[] = {
19247 (char *) "self", NULL
19250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
19251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19252 if (SWIG_arg_fail(1)) SWIG_fail
;
19254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19255 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
19257 wxPyEndAllowThreads(__tstate
);
19258 if (PyErr_Occurred()) SWIG_fail
;
19260 resultobj
= result
;
19267 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19268 PyObject
*resultobj
;
19269 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19270 PyObject
*arg2
= (PyObject
*) 0 ;
19271 PyObject
* obj0
= 0 ;
19272 PyObject
* obj1
= 0 ;
19273 char *kwnames
[] = {
19274 (char *) "self",(char *) "clientData", NULL
19277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
19278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19279 if (SWIG_arg_fail(1)) SWIG_fail
;
19282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19283 wxToolBarToolBase_SetClientData(arg1
,arg2
);
19285 wxPyEndAllowThreads(__tstate
);
19286 if (PyErr_Occurred()) SWIG_fail
;
19288 Py_INCREF(Py_None
); resultobj
= Py_None
;
19295 static PyObject
* ToolBarToolBase_swigregister(PyObject
*, PyObject
*args
) {
19297 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19298 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
19300 return Py_BuildValue((char *)"");
19302 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19303 PyObject
*resultobj
;
19304 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19306 wxString
*arg3
= 0 ;
19307 wxBitmap
*arg4
= 0 ;
19308 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
19309 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
19310 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
19311 wxString
const &arg7_defvalue
= wxPyEmptyString
;
19312 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19313 wxString
const &arg8_defvalue
= wxPyEmptyString
;
19314 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19315 PyObject
*arg9
= (PyObject
*) NULL
;
19316 wxToolBarToolBase
*result
;
19317 bool temp3
= false ;
19318 bool temp7
= false ;
19319 bool temp8
= false ;
19320 PyObject
* obj0
= 0 ;
19321 PyObject
* obj1
= 0 ;
19322 PyObject
* obj2
= 0 ;
19323 PyObject
* obj3
= 0 ;
19324 PyObject
* obj4
= 0 ;
19325 PyObject
* obj5
= 0 ;
19326 PyObject
* obj6
= 0 ;
19327 PyObject
* obj7
= 0 ;
19328 PyObject
* obj8
= 0 ;
19329 char *kwnames
[] = {
19330 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
19334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19335 if (SWIG_arg_fail(1)) SWIG_fail
;
19337 arg2
= (int)(SWIG_As_int(obj1
));
19338 if (SWIG_arg_fail(2)) SWIG_fail
;
19341 arg3
= wxString_in_helper(obj2
);
19342 if (arg3
== NULL
) SWIG_fail
;
19346 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19347 if (SWIG_arg_fail(4)) SWIG_fail
;
19348 if (arg4
== NULL
) {
19349 SWIG_null_ref("wxBitmap");
19351 if (SWIG_arg_fail(4)) SWIG_fail
;
19355 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19356 if (SWIG_arg_fail(5)) SWIG_fail
;
19357 if (arg5
== NULL
) {
19358 SWIG_null_ref("wxBitmap");
19360 if (SWIG_arg_fail(5)) SWIG_fail
;
19365 arg6
= (wxItemKind
)(SWIG_As_int(obj5
));
19366 if (SWIG_arg_fail(6)) SWIG_fail
;
19371 arg7
= wxString_in_helper(obj6
);
19372 if (arg7
== NULL
) SWIG_fail
;
19378 arg8
= wxString_in_helper(obj7
);
19379 if (arg8
== NULL
) SWIG_fail
;
19387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19388 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
19390 wxPyEndAllowThreads(__tstate
);
19391 if (PyErr_Occurred()) SWIG_fail
;
19394 resultobj
= wxPyMake_wxObject(result
, 0);
19426 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19427 PyObject
*resultobj
;
19428 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19431 wxString
*arg4
= 0 ;
19432 wxBitmap
*arg5
= 0 ;
19433 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
19434 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
19435 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
19436 wxString
const &arg8_defvalue
= wxPyEmptyString
;
19437 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19438 wxString
const &arg9_defvalue
= wxPyEmptyString
;
19439 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
19440 PyObject
*arg10
= (PyObject
*) NULL
;
19441 wxToolBarToolBase
*result
;
19442 bool temp4
= false ;
19443 bool temp8
= false ;
19444 bool temp9
= false ;
19445 PyObject
* obj0
= 0 ;
19446 PyObject
* obj1
= 0 ;
19447 PyObject
* obj2
= 0 ;
19448 PyObject
* obj3
= 0 ;
19449 PyObject
* obj4
= 0 ;
19450 PyObject
* obj5
= 0 ;
19451 PyObject
* obj6
= 0 ;
19452 PyObject
* obj7
= 0 ;
19453 PyObject
* obj8
= 0 ;
19454 PyObject
* obj9
= 0 ;
19455 char *kwnames
[] = {
19456 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) 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
;
19467 arg3
= (int)(SWIG_As_int(obj2
));
19468 if (SWIG_arg_fail(3)) SWIG_fail
;
19471 arg4
= wxString_in_helper(obj3
);
19472 if (arg4
== NULL
) SWIG_fail
;
19476 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19477 if (SWIG_arg_fail(5)) SWIG_fail
;
19478 if (arg5
== NULL
) {
19479 SWIG_null_ref("wxBitmap");
19481 if (SWIG_arg_fail(5)) SWIG_fail
;
19485 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19486 if (SWIG_arg_fail(6)) SWIG_fail
;
19487 if (arg6
== NULL
) {
19488 SWIG_null_ref("wxBitmap");
19490 if (SWIG_arg_fail(6)) SWIG_fail
;
19495 arg7
= (wxItemKind
)(SWIG_As_int(obj6
));
19496 if (SWIG_arg_fail(7)) SWIG_fail
;
19501 arg8
= wxString_in_helper(obj7
);
19502 if (arg8
== NULL
) SWIG_fail
;
19508 arg9
= wxString_in_helper(obj8
);
19509 if (arg9
== NULL
) SWIG_fail
;
19517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19518 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
);
19520 wxPyEndAllowThreads(__tstate
);
19521 if (PyErr_Occurred()) SWIG_fail
;
19524 resultobj
= wxPyMake_wxObject(result
, 0);
19556 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19557 PyObject
*resultobj
;
19558 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19559 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
19560 wxToolBarToolBase
*result
;
19561 PyObject
* obj0
= 0 ;
19562 PyObject
* obj1
= 0 ;
19563 char *kwnames
[] = {
19564 (char *) "self",(char *) "tool", NULL
19567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
19568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19569 if (SWIG_arg_fail(1)) SWIG_fail
;
19570 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19571 if (SWIG_arg_fail(2)) SWIG_fail
;
19573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19574 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
19576 wxPyEndAllowThreads(__tstate
);
19577 if (PyErr_Occurred()) SWIG_fail
;
19580 resultobj
= wxPyMake_wxObject(result
, 0);
19588 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19589 PyObject
*resultobj
;
19590 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19592 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
19593 wxToolBarToolBase
*result
;
19594 PyObject
* obj0
= 0 ;
19595 PyObject
* obj1
= 0 ;
19596 PyObject
* obj2
= 0 ;
19597 char *kwnames
[] = {
19598 (char *) "self",(char *) "pos",(char *) "tool", NULL
19601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19603 if (SWIG_arg_fail(1)) SWIG_fail
;
19605 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19606 if (SWIG_arg_fail(2)) SWIG_fail
;
19608 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19609 if (SWIG_arg_fail(3)) SWIG_fail
;
19611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19612 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
19614 wxPyEndAllowThreads(__tstate
);
19615 if (PyErr_Occurred()) SWIG_fail
;
19618 resultobj
= wxPyMake_wxObject(result
, 0);
19626 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19627 PyObject
*resultobj
;
19628 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19629 wxControl
*arg2
= (wxControl
*) 0 ;
19630 wxToolBarToolBase
*result
;
19631 PyObject
* obj0
= 0 ;
19632 PyObject
* obj1
= 0 ;
19633 char *kwnames
[] = {
19634 (char *) "self",(char *) "control", NULL
19637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
19638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19639 if (SWIG_arg_fail(1)) SWIG_fail
;
19640 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
19641 if (SWIG_arg_fail(2)) SWIG_fail
;
19643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19644 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
19646 wxPyEndAllowThreads(__tstate
);
19647 if (PyErr_Occurred()) SWIG_fail
;
19650 resultobj
= wxPyMake_wxObject(result
, 0);
19658 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19659 PyObject
*resultobj
;
19660 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19662 wxControl
*arg3
= (wxControl
*) 0 ;
19663 wxToolBarToolBase
*result
;
19664 PyObject
* obj0
= 0 ;
19665 PyObject
* obj1
= 0 ;
19666 PyObject
* obj2
= 0 ;
19667 char *kwnames
[] = {
19668 (char *) "self",(char *) "pos",(char *) "control", NULL
19671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19673 if (SWIG_arg_fail(1)) SWIG_fail
;
19675 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19676 if (SWIG_arg_fail(2)) SWIG_fail
;
19678 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
19679 if (SWIG_arg_fail(3)) SWIG_fail
;
19681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19682 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
19684 wxPyEndAllowThreads(__tstate
);
19685 if (PyErr_Occurred()) SWIG_fail
;
19688 resultobj
= wxPyMake_wxObject(result
, 0);
19696 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19697 PyObject
*resultobj
;
19698 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19701 PyObject
* obj0
= 0 ;
19702 PyObject
* obj1
= 0 ;
19703 char *kwnames
[] = {
19704 (char *) "self",(char *) "id", NULL
19707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
19708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19709 if (SWIG_arg_fail(1)) SWIG_fail
;
19711 arg2
= (int)(SWIG_As_int(obj1
));
19712 if (SWIG_arg_fail(2)) SWIG_fail
;
19715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19716 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
19718 wxPyEndAllowThreads(__tstate
);
19719 if (PyErr_Occurred()) SWIG_fail
;
19722 resultobj
= wxPyMake_wxObject(result
, 0);
19730 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19731 PyObject
*resultobj
;
19732 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19733 wxToolBarToolBase
*result
;
19734 PyObject
* obj0
= 0 ;
19735 char *kwnames
[] = {
19736 (char *) "self", NULL
19739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
19740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19741 if (SWIG_arg_fail(1)) SWIG_fail
;
19743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19744 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
19746 wxPyEndAllowThreads(__tstate
);
19747 if (PyErr_Occurred()) SWIG_fail
;
19750 resultobj
= wxPyMake_wxObject(result
, 0);
19758 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19759 PyObject
*resultobj
;
19760 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19762 wxToolBarToolBase
*result
;
19763 PyObject
* obj0
= 0 ;
19764 PyObject
* obj1
= 0 ;
19765 char *kwnames
[] = {
19766 (char *) "self",(char *) "pos", NULL
19769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
19770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19771 if (SWIG_arg_fail(1)) SWIG_fail
;
19773 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19774 if (SWIG_arg_fail(2)) SWIG_fail
;
19777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19778 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
19780 wxPyEndAllowThreads(__tstate
);
19781 if (PyErr_Occurred()) SWIG_fail
;
19784 resultobj
= wxPyMake_wxObject(result
, 0);
19792 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19793 PyObject
*resultobj
;
19794 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19796 wxToolBarToolBase
*result
;
19797 PyObject
* obj0
= 0 ;
19798 PyObject
* obj1
= 0 ;
19799 char *kwnames
[] = {
19800 (char *) "self",(char *) "id", NULL
19803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
19804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19805 if (SWIG_arg_fail(1)) SWIG_fail
;
19807 arg2
= (int)(SWIG_As_int(obj1
));
19808 if (SWIG_arg_fail(2)) SWIG_fail
;
19811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19812 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
19814 wxPyEndAllowThreads(__tstate
);
19815 if (PyErr_Occurred()) SWIG_fail
;
19818 resultobj
= wxPyMake_wxObject(result
, 0);
19826 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19827 PyObject
*resultobj
;
19828 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19831 PyObject
* obj0
= 0 ;
19832 PyObject
* obj1
= 0 ;
19833 char *kwnames
[] = {
19834 (char *) "self",(char *) "pos", NULL
19837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
19838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19839 if (SWIG_arg_fail(1)) SWIG_fail
;
19841 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19842 if (SWIG_arg_fail(2)) SWIG_fail
;
19845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19846 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
19848 wxPyEndAllowThreads(__tstate
);
19849 if (PyErr_Occurred()) SWIG_fail
;
19852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19860 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19861 PyObject
*resultobj
;
19862 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19865 PyObject
* obj0
= 0 ;
19866 PyObject
* obj1
= 0 ;
19867 char *kwnames
[] = {
19868 (char *) "self",(char *) "id", NULL
19871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
19872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19873 if (SWIG_arg_fail(1)) SWIG_fail
;
19875 arg2
= (int)(SWIG_As_int(obj1
));
19876 if (SWIG_arg_fail(2)) SWIG_fail
;
19879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19880 result
= (bool)(arg1
)->DeleteTool(arg2
);
19882 wxPyEndAllowThreads(__tstate
);
19883 if (PyErr_Occurred()) SWIG_fail
;
19886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19894 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19895 PyObject
*resultobj
;
19896 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19897 PyObject
* obj0
= 0 ;
19898 char *kwnames
[] = {
19899 (char *) "self", NULL
19902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
19903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19904 if (SWIG_arg_fail(1)) SWIG_fail
;
19906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19907 (arg1
)->ClearTools();
19909 wxPyEndAllowThreads(__tstate
);
19910 if (PyErr_Occurred()) SWIG_fail
;
19912 Py_INCREF(Py_None
); resultobj
= Py_None
;
19919 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19920 PyObject
*resultobj
;
19921 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19923 PyObject
* obj0
= 0 ;
19924 char *kwnames
[] = {
19925 (char *) "self", NULL
19928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
19929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19930 if (SWIG_arg_fail(1)) SWIG_fail
;
19932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19933 result
= (bool)(arg1
)->Realize();
19935 wxPyEndAllowThreads(__tstate
);
19936 if (PyErr_Occurred()) SWIG_fail
;
19939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19947 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19948 PyObject
*resultobj
;
19949 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19952 PyObject
* obj0
= 0 ;
19953 PyObject
* obj1
= 0 ;
19954 PyObject
* obj2
= 0 ;
19955 char *kwnames
[] = {
19956 (char *) "self",(char *) "id",(char *) "enable", NULL
19959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19961 if (SWIG_arg_fail(1)) SWIG_fail
;
19963 arg2
= (int)(SWIG_As_int(obj1
));
19964 if (SWIG_arg_fail(2)) SWIG_fail
;
19967 arg3
= (bool)(SWIG_As_bool(obj2
));
19968 if (SWIG_arg_fail(3)) SWIG_fail
;
19971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19972 (arg1
)->EnableTool(arg2
,arg3
);
19974 wxPyEndAllowThreads(__tstate
);
19975 if (PyErr_Occurred()) SWIG_fail
;
19977 Py_INCREF(Py_None
); resultobj
= Py_None
;
19984 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19985 PyObject
*resultobj
;
19986 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19989 PyObject
* obj0
= 0 ;
19990 PyObject
* obj1
= 0 ;
19991 PyObject
* obj2
= 0 ;
19992 char *kwnames
[] = {
19993 (char *) "self",(char *) "id",(char *) "toggle", NULL
19996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19998 if (SWIG_arg_fail(1)) SWIG_fail
;
20000 arg2
= (int)(SWIG_As_int(obj1
));
20001 if (SWIG_arg_fail(2)) SWIG_fail
;
20004 arg3
= (bool)(SWIG_As_bool(obj2
));
20005 if (SWIG_arg_fail(3)) SWIG_fail
;
20008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20009 (arg1
)->ToggleTool(arg2
,arg3
);
20011 wxPyEndAllowThreads(__tstate
);
20012 if (PyErr_Occurred()) SWIG_fail
;
20014 Py_INCREF(Py_None
); resultobj
= Py_None
;
20021 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20022 PyObject
*resultobj
;
20023 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20026 PyObject
* obj0
= 0 ;
20027 PyObject
* obj1
= 0 ;
20028 PyObject
* obj2
= 0 ;
20029 char *kwnames
[] = {
20030 (char *) "self",(char *) "id",(char *) "toggle", NULL
20033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20035 if (SWIG_arg_fail(1)) SWIG_fail
;
20037 arg2
= (int)(SWIG_As_int(obj1
));
20038 if (SWIG_arg_fail(2)) SWIG_fail
;
20041 arg3
= (bool)(SWIG_As_bool(obj2
));
20042 if (SWIG_arg_fail(3)) SWIG_fail
;
20045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20046 (arg1
)->SetToggle(arg2
,arg3
);
20048 wxPyEndAllowThreads(__tstate
);
20049 if (PyErr_Occurred()) SWIG_fail
;
20051 Py_INCREF(Py_None
); resultobj
= Py_None
;
20058 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20059 PyObject
*resultobj
;
20060 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20063 PyObject
* obj0
= 0 ;
20064 PyObject
* obj1
= 0 ;
20065 char *kwnames
[] = {
20066 (char *) "self",(char *) "id", NULL
20069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
20070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20071 if (SWIG_arg_fail(1)) SWIG_fail
;
20073 arg2
= (int)(SWIG_As_int(obj1
));
20074 if (SWIG_arg_fail(2)) SWIG_fail
;
20077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20078 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
20080 wxPyEndAllowThreads(__tstate
);
20081 if (PyErr_Occurred()) SWIG_fail
;
20083 resultobj
= result
;
20090 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20091 PyObject
*resultobj
;
20092 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20094 PyObject
*arg3
= (PyObject
*) 0 ;
20095 PyObject
* obj0
= 0 ;
20096 PyObject
* obj1
= 0 ;
20097 PyObject
* obj2
= 0 ;
20098 char *kwnames
[] = {
20099 (char *) "self",(char *) "id",(char *) "clientData", NULL
20102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20104 if (SWIG_arg_fail(1)) SWIG_fail
;
20106 arg2
= (int)(SWIG_As_int(obj1
));
20107 if (SWIG_arg_fail(2)) SWIG_fail
;
20111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20112 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
20114 wxPyEndAllowThreads(__tstate
);
20115 if (PyErr_Occurred()) SWIG_fail
;
20117 Py_INCREF(Py_None
); resultobj
= Py_None
;
20124 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20125 PyObject
*resultobj
;
20126 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20129 PyObject
* obj0
= 0 ;
20130 PyObject
* obj1
= 0 ;
20131 char *kwnames
[] = {
20132 (char *) "self",(char *) "id", NULL
20135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
20136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20137 if (SWIG_arg_fail(1)) SWIG_fail
;
20139 arg2
= (int)(SWIG_As_int(obj1
));
20140 if (SWIG_arg_fail(2)) SWIG_fail
;
20143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20144 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
20146 wxPyEndAllowThreads(__tstate
);
20147 if (PyErr_Occurred()) SWIG_fail
;
20150 resultobj
= SWIG_From_int((int)(result
));
20158 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20159 PyObject
*resultobj
;
20160 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20163 PyObject
* obj0
= 0 ;
20164 PyObject
* obj1
= 0 ;
20165 char *kwnames
[] = {
20166 (char *) "self",(char *) "id", NULL
20169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
20170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20171 if (SWIG_arg_fail(1)) SWIG_fail
;
20173 arg2
= (int)(SWIG_As_int(obj1
));
20174 if (SWIG_arg_fail(2)) SWIG_fail
;
20177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20178 result
= (bool)(arg1
)->GetToolState(arg2
);
20180 wxPyEndAllowThreads(__tstate
);
20181 if (PyErr_Occurred()) SWIG_fail
;
20184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20192 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20193 PyObject
*resultobj
;
20194 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20197 PyObject
* obj0
= 0 ;
20198 PyObject
* obj1
= 0 ;
20199 char *kwnames
[] = {
20200 (char *) "self",(char *) "id", NULL
20203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
20204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20205 if (SWIG_arg_fail(1)) SWIG_fail
;
20207 arg2
= (int)(SWIG_As_int(obj1
));
20208 if (SWIG_arg_fail(2)) SWIG_fail
;
20211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20212 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
20214 wxPyEndAllowThreads(__tstate
);
20215 if (PyErr_Occurred()) SWIG_fail
;
20218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20226 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20227 PyObject
*resultobj
;
20228 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20230 wxString
*arg3
= 0 ;
20231 bool temp3
= false ;
20232 PyObject
* obj0
= 0 ;
20233 PyObject
* obj1
= 0 ;
20234 PyObject
* obj2
= 0 ;
20235 char *kwnames
[] = {
20236 (char *) "self",(char *) "id",(char *) "helpString", NULL
20239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20241 if (SWIG_arg_fail(1)) SWIG_fail
;
20243 arg2
= (int)(SWIG_As_int(obj1
));
20244 if (SWIG_arg_fail(2)) SWIG_fail
;
20247 arg3
= wxString_in_helper(obj2
);
20248 if (arg3
== NULL
) SWIG_fail
;
20252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20253 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
20255 wxPyEndAllowThreads(__tstate
);
20256 if (PyErr_Occurred()) SWIG_fail
;
20258 Py_INCREF(Py_None
); resultobj
= Py_None
;
20273 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20274 PyObject
*resultobj
;
20275 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20278 PyObject
* obj0
= 0 ;
20279 PyObject
* obj1
= 0 ;
20280 char *kwnames
[] = {
20281 (char *) "self",(char *) "id", NULL
20284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20286 if (SWIG_arg_fail(1)) SWIG_fail
;
20288 arg2
= (int)(SWIG_As_int(obj1
));
20289 if (SWIG_arg_fail(2)) SWIG_fail
;
20292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20293 result
= (arg1
)->GetToolShortHelp(arg2
);
20295 wxPyEndAllowThreads(__tstate
);
20296 if (PyErr_Occurred()) SWIG_fail
;
20300 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20302 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20311 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20312 PyObject
*resultobj
;
20313 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20315 wxString
*arg3
= 0 ;
20316 bool temp3
= false ;
20317 PyObject
* obj0
= 0 ;
20318 PyObject
* obj1
= 0 ;
20319 PyObject
* obj2
= 0 ;
20320 char *kwnames
[] = {
20321 (char *) "self",(char *) "id",(char *) "helpString", NULL
20324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20326 if (SWIG_arg_fail(1)) SWIG_fail
;
20328 arg2
= (int)(SWIG_As_int(obj1
));
20329 if (SWIG_arg_fail(2)) SWIG_fail
;
20332 arg3
= wxString_in_helper(obj2
);
20333 if (arg3
== NULL
) SWIG_fail
;
20337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20338 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
20340 wxPyEndAllowThreads(__tstate
);
20341 if (PyErr_Occurred()) SWIG_fail
;
20343 Py_INCREF(Py_None
); resultobj
= Py_None
;
20358 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20359 PyObject
*resultobj
;
20360 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20363 PyObject
* obj0
= 0 ;
20364 PyObject
* obj1
= 0 ;
20365 char *kwnames
[] = {
20366 (char *) "self",(char *) "id", NULL
20369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20371 if (SWIG_arg_fail(1)) SWIG_fail
;
20373 arg2
= (int)(SWIG_As_int(obj1
));
20374 if (SWIG_arg_fail(2)) SWIG_fail
;
20377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20378 result
= (arg1
)->GetToolLongHelp(arg2
);
20380 wxPyEndAllowThreads(__tstate
);
20381 if (PyErr_Occurred()) SWIG_fail
;
20385 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20387 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20396 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20397 PyObject
*resultobj
;
20398 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20401 PyObject
* obj0
= 0 ;
20402 PyObject
* obj1
= 0 ;
20403 PyObject
* obj2
= 0 ;
20404 char *kwnames
[] = {
20405 (char *) "self",(char *) "x",(char *) "y", NULL
20408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20410 if (SWIG_arg_fail(1)) SWIG_fail
;
20412 arg2
= (int)(SWIG_As_int(obj1
));
20413 if (SWIG_arg_fail(2)) SWIG_fail
;
20416 arg3
= (int)(SWIG_As_int(obj2
));
20417 if (SWIG_arg_fail(3)) SWIG_fail
;
20420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20421 (arg1
)->SetMargins(arg2
,arg3
);
20423 wxPyEndAllowThreads(__tstate
);
20424 if (PyErr_Occurred()) SWIG_fail
;
20426 Py_INCREF(Py_None
); resultobj
= Py_None
;
20433 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20434 PyObject
*resultobj
;
20435 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20438 PyObject
* obj0
= 0 ;
20439 PyObject
* obj1
= 0 ;
20440 char *kwnames
[] = {
20441 (char *) "self",(char *) "size", NULL
20444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
20445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20446 if (SWIG_arg_fail(1)) SWIG_fail
;
20449 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20453 (arg1
)->SetMargins((wxSize
const &)*arg2
);
20455 wxPyEndAllowThreads(__tstate
);
20456 if (PyErr_Occurred()) SWIG_fail
;
20458 Py_INCREF(Py_None
); resultobj
= Py_None
;
20465 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20466 PyObject
*resultobj
;
20467 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20469 PyObject
* obj0
= 0 ;
20470 PyObject
* obj1
= 0 ;
20471 char *kwnames
[] = {
20472 (char *) "self",(char *) "packing", NULL
20475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
20476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20477 if (SWIG_arg_fail(1)) SWIG_fail
;
20479 arg2
= (int)(SWIG_As_int(obj1
));
20480 if (SWIG_arg_fail(2)) SWIG_fail
;
20483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20484 (arg1
)->SetToolPacking(arg2
);
20486 wxPyEndAllowThreads(__tstate
);
20487 if (PyErr_Occurred()) SWIG_fail
;
20489 Py_INCREF(Py_None
); resultobj
= Py_None
;
20496 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20497 PyObject
*resultobj
;
20498 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20500 PyObject
* obj0
= 0 ;
20501 PyObject
* obj1
= 0 ;
20502 char *kwnames
[] = {
20503 (char *) "self",(char *) "separation", NULL
20506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
20507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20508 if (SWIG_arg_fail(1)) SWIG_fail
;
20510 arg2
= (int)(SWIG_As_int(obj1
));
20511 if (SWIG_arg_fail(2)) SWIG_fail
;
20514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20515 (arg1
)->SetToolSeparation(arg2
);
20517 wxPyEndAllowThreads(__tstate
);
20518 if (PyErr_Occurred()) SWIG_fail
;
20520 Py_INCREF(Py_None
); resultobj
= Py_None
;
20527 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20528 PyObject
*resultobj
;
20529 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20531 PyObject
* obj0
= 0 ;
20532 char *kwnames
[] = {
20533 (char *) "self", NULL
20536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
20537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20538 if (SWIG_arg_fail(1)) SWIG_fail
;
20540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20541 result
= (arg1
)->GetToolMargins();
20543 wxPyEndAllowThreads(__tstate
);
20544 if (PyErr_Occurred()) SWIG_fail
;
20547 wxSize
* resultptr
;
20548 resultptr
= new wxSize((wxSize
&)(result
));
20549 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20557 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20558 PyObject
*resultobj
;
20559 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20561 PyObject
* obj0
= 0 ;
20562 char *kwnames
[] = {
20563 (char *) "self", NULL
20566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
20567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20568 if (SWIG_arg_fail(1)) SWIG_fail
;
20570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20571 result
= (arg1
)->GetMargins();
20573 wxPyEndAllowThreads(__tstate
);
20574 if (PyErr_Occurred()) SWIG_fail
;
20577 wxSize
* resultptr
;
20578 resultptr
= new wxSize((wxSize
&)(result
));
20579 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20587 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20588 PyObject
*resultobj
;
20589 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20591 PyObject
* obj0
= 0 ;
20592 char *kwnames
[] = {
20593 (char *) "self", NULL
20596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
20597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20598 if (SWIG_arg_fail(1)) SWIG_fail
;
20600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20601 result
= (int)(arg1
)->GetToolPacking();
20603 wxPyEndAllowThreads(__tstate
);
20604 if (PyErr_Occurred()) SWIG_fail
;
20607 resultobj
= SWIG_From_int((int)(result
));
20615 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20616 PyObject
*resultobj
;
20617 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20619 PyObject
* obj0
= 0 ;
20620 char *kwnames
[] = {
20621 (char *) "self", NULL
20624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
20625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20626 if (SWIG_arg_fail(1)) SWIG_fail
;
20628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20629 result
= (int)(arg1
)->GetToolSeparation();
20631 wxPyEndAllowThreads(__tstate
);
20632 if (PyErr_Occurred()) SWIG_fail
;
20635 resultobj
= SWIG_From_int((int)(result
));
20643 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20644 PyObject
*resultobj
;
20645 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20647 PyObject
* obj0
= 0 ;
20648 PyObject
* obj1
= 0 ;
20649 char *kwnames
[] = {
20650 (char *) "self",(char *) "nRows", NULL
20653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
20654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20655 if (SWIG_arg_fail(1)) SWIG_fail
;
20657 arg2
= (int)(SWIG_As_int(obj1
));
20658 if (SWIG_arg_fail(2)) SWIG_fail
;
20661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20662 (arg1
)->SetRows(arg2
);
20664 wxPyEndAllowThreads(__tstate
);
20665 if (PyErr_Occurred()) SWIG_fail
;
20667 Py_INCREF(Py_None
); resultobj
= Py_None
;
20674 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20675 PyObject
*resultobj
;
20676 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20679 PyObject
* obj0
= 0 ;
20680 PyObject
* obj1
= 0 ;
20681 PyObject
* obj2
= 0 ;
20682 char *kwnames
[] = {
20683 (char *) "self",(char *) "rows",(char *) "cols", NULL
20686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20688 if (SWIG_arg_fail(1)) SWIG_fail
;
20690 arg2
= (int)(SWIG_As_int(obj1
));
20691 if (SWIG_arg_fail(2)) SWIG_fail
;
20694 arg3
= (int)(SWIG_As_int(obj2
));
20695 if (SWIG_arg_fail(3)) SWIG_fail
;
20698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20699 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
20701 wxPyEndAllowThreads(__tstate
);
20702 if (PyErr_Occurred()) SWIG_fail
;
20704 Py_INCREF(Py_None
); resultobj
= Py_None
;
20711 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20712 PyObject
*resultobj
;
20713 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20715 PyObject
* obj0
= 0 ;
20716 char *kwnames
[] = {
20717 (char *) "self", NULL
20720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
20721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20722 if (SWIG_arg_fail(1)) SWIG_fail
;
20724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20725 result
= (int)(arg1
)->GetMaxRows();
20727 wxPyEndAllowThreads(__tstate
);
20728 if (PyErr_Occurred()) SWIG_fail
;
20731 resultobj
= SWIG_From_int((int)(result
));
20739 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20740 PyObject
*resultobj
;
20741 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20743 PyObject
* obj0
= 0 ;
20744 char *kwnames
[] = {
20745 (char *) "self", NULL
20748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
20749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20750 if (SWIG_arg_fail(1)) SWIG_fail
;
20752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20753 result
= (int)(arg1
)->GetMaxCols();
20755 wxPyEndAllowThreads(__tstate
);
20756 if (PyErr_Occurred()) SWIG_fail
;
20759 resultobj
= SWIG_From_int((int)(result
));
20767 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20768 PyObject
*resultobj
;
20769 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20772 PyObject
* obj0
= 0 ;
20773 PyObject
* obj1
= 0 ;
20774 char *kwnames
[] = {
20775 (char *) "self",(char *) "size", NULL
20778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20780 if (SWIG_arg_fail(1)) SWIG_fail
;
20783 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20787 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
20789 wxPyEndAllowThreads(__tstate
);
20790 if (PyErr_Occurred()) SWIG_fail
;
20792 Py_INCREF(Py_None
); resultobj
= Py_None
;
20799 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20800 PyObject
*resultobj
;
20801 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20803 PyObject
* obj0
= 0 ;
20804 char *kwnames
[] = {
20805 (char *) "self", NULL
20808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
20809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20810 if (SWIG_arg_fail(1)) SWIG_fail
;
20812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20813 result
= (arg1
)->GetToolBitmapSize();
20815 wxPyEndAllowThreads(__tstate
);
20816 if (PyErr_Occurred()) SWIG_fail
;
20819 wxSize
* resultptr
;
20820 resultptr
= new wxSize((wxSize
&)(result
));
20821 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20829 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20830 PyObject
*resultobj
;
20831 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20833 PyObject
* obj0
= 0 ;
20834 char *kwnames
[] = {
20835 (char *) "self", NULL
20838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
20839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20840 if (SWIG_arg_fail(1)) SWIG_fail
;
20842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20843 result
= (arg1
)->GetToolSize();
20845 wxPyEndAllowThreads(__tstate
);
20846 if (PyErr_Occurred()) SWIG_fail
;
20849 wxSize
* resultptr
;
20850 resultptr
= new wxSize((wxSize
&)(result
));
20851 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20859 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20860 PyObject
*resultobj
;
20861 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20864 wxToolBarToolBase
*result
;
20865 PyObject
* obj0
= 0 ;
20866 PyObject
* obj1
= 0 ;
20867 PyObject
* obj2
= 0 ;
20868 char *kwnames
[] = {
20869 (char *) "self",(char *) "x",(char *) "y", NULL
20872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20874 if (SWIG_arg_fail(1)) SWIG_fail
;
20876 arg2
= (int)(SWIG_As_int(obj1
));
20877 if (SWIG_arg_fail(2)) SWIG_fail
;
20880 arg3
= (int)(SWIG_As_int(obj2
));
20881 if (SWIG_arg_fail(3)) SWIG_fail
;
20884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20885 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
20887 wxPyEndAllowThreads(__tstate
);
20888 if (PyErr_Occurred()) SWIG_fail
;
20891 resultobj
= wxPyMake_wxObject(result
, 0);
20899 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20900 PyObject
*resultobj
;
20901 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20903 wxToolBarToolBase
*result
;
20904 PyObject
* obj0
= 0 ;
20905 PyObject
* obj1
= 0 ;
20906 char *kwnames
[] = {
20907 (char *) "self",(char *) "toolid", NULL
20910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
20911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20912 if (SWIG_arg_fail(1)) SWIG_fail
;
20914 arg2
= (int)(SWIG_As_int(obj1
));
20915 if (SWIG_arg_fail(2)) SWIG_fail
;
20918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20919 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
20921 wxPyEndAllowThreads(__tstate
);
20922 if (PyErr_Occurred()) SWIG_fail
;
20925 resultobj
= wxPyMake_wxObject(result
, 0);
20933 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20934 PyObject
*resultobj
;
20935 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20937 PyObject
* obj0
= 0 ;
20938 char *kwnames
[] = {
20939 (char *) "self", NULL
20942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
20943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20944 if (SWIG_arg_fail(1)) SWIG_fail
;
20946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20947 result
= (bool)(arg1
)->IsVertical();
20949 wxPyEndAllowThreads(__tstate
);
20950 if (PyErr_Occurred()) SWIG_fail
;
20953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20961 static PyObject
* ToolBarBase_swigregister(PyObject
*, PyObject
*args
) {
20963 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20964 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
20966 return Py_BuildValue((char *)"");
20968 static PyObject
*_wrap_new_ToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20969 PyObject
*resultobj
;
20970 wxWindow
*arg1
= (wxWindow
*) 0 ;
20971 int arg2
= (int) -1 ;
20972 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20973 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20974 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20975 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20976 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
20977 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
20978 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20982 bool temp6
= false ;
20983 PyObject
* obj0
= 0 ;
20984 PyObject
* obj1
= 0 ;
20985 PyObject
* obj2
= 0 ;
20986 PyObject
* obj3
= 0 ;
20987 PyObject
* obj4
= 0 ;
20988 PyObject
* obj5
= 0 ;
20989 char *kwnames
[] = {
20990 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20995 if (SWIG_arg_fail(1)) SWIG_fail
;
20998 arg2
= (int)(SWIG_As_int(obj1
));
20999 if (SWIG_arg_fail(2)) SWIG_fail
;
21005 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21011 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21016 arg5
= (long)(SWIG_As_long(obj4
));
21017 if (SWIG_arg_fail(5)) SWIG_fail
;
21022 arg6
= wxString_in_helper(obj5
);
21023 if (arg6
== NULL
) SWIG_fail
;
21028 if (!wxPyCheckForApp()) SWIG_fail
;
21029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21030 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21032 wxPyEndAllowThreads(__tstate
);
21033 if (PyErr_Occurred()) SWIG_fail
;
21035 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
21050 static PyObject
*_wrap_new_PreToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21051 PyObject
*resultobj
;
21053 char *kwnames
[] = {
21057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
21059 if (!wxPyCheckForApp()) SWIG_fail
;
21060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21061 result
= (wxToolBar
*)new wxToolBar();
21063 wxPyEndAllowThreads(__tstate
);
21064 if (PyErr_Occurred()) SWIG_fail
;
21066 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
21073 static PyObject
*_wrap_ToolBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21074 PyObject
*resultobj
;
21075 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
21076 wxWindow
*arg2
= (wxWindow
*) 0 ;
21077 int arg3
= (int) -1 ;
21078 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21079 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21080 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21081 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21082 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
21083 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
21084 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21088 bool temp7
= false ;
21089 PyObject
* obj0
= 0 ;
21090 PyObject
* obj1
= 0 ;
21091 PyObject
* obj2
= 0 ;
21092 PyObject
* obj3
= 0 ;
21093 PyObject
* obj4
= 0 ;
21094 PyObject
* obj5
= 0 ;
21095 PyObject
* obj6
= 0 ;
21096 char *kwnames
[] = {
21097 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
21102 if (SWIG_arg_fail(1)) SWIG_fail
;
21103 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21104 if (SWIG_arg_fail(2)) SWIG_fail
;
21107 arg3
= (int)(SWIG_As_int(obj2
));
21108 if (SWIG_arg_fail(3)) SWIG_fail
;
21114 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21120 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21125 arg6
= (long)(SWIG_As_long(obj5
));
21126 if (SWIG_arg_fail(6)) SWIG_fail
;
21131 arg7
= wxString_in_helper(obj6
);
21132 if (arg7
== NULL
) SWIG_fail
;
21137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21138 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21140 wxPyEndAllowThreads(__tstate
);
21141 if (PyErr_Occurred()) SWIG_fail
;
21144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21160 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21161 PyObject
*resultobj
;
21162 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
21165 wxToolBarToolBase
*result
;
21166 PyObject
* obj0
= 0 ;
21167 PyObject
* obj1
= 0 ;
21168 PyObject
* obj2
= 0 ;
21169 char *kwnames
[] = {
21170 (char *) "self",(char *) "x",(char *) "y", NULL
21173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
21175 if (SWIG_arg_fail(1)) SWIG_fail
;
21177 arg2
= (int)(SWIG_As_int(obj1
));
21178 if (SWIG_arg_fail(2)) SWIG_fail
;
21181 arg3
= (int)(SWIG_As_int(obj2
));
21182 if (SWIG_arg_fail(3)) SWIG_fail
;
21185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21186 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
21188 wxPyEndAllowThreads(__tstate
);
21189 if (PyErr_Occurred()) SWIG_fail
;
21192 resultobj
= wxPyMake_wxObject(result
, 0);
21200 static PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21201 PyObject
*resultobj
;
21202 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
21203 wxVisualAttributes result
;
21204 PyObject
* obj0
= 0 ;
21205 char *kwnames
[] = {
21206 (char *) "variant", NULL
21209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
21212 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
21213 if (SWIG_arg_fail(1)) SWIG_fail
;
21217 if (!wxPyCheckForApp()) SWIG_fail
;
21218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21219 result
= wxToolBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
21221 wxPyEndAllowThreads(__tstate
);
21222 if (PyErr_Occurred()) SWIG_fail
;
21225 wxVisualAttributes
* resultptr
;
21226 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
21227 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
21235 static PyObject
* ToolBar_swigregister(PyObject
*, PyObject
*args
) {
21237 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21238 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
21240 return Py_BuildValue((char *)"");
21242 static int _wrap_ListCtrlNameStr_set(PyObject
*) {
21243 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
21248 static PyObject
*_wrap_ListCtrlNameStr_get(void) {
21253 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
21255 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
21262 static PyObject
*_wrap_new_ListItemAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21263 PyObject
*resultobj
;
21264 wxColour
const &arg1_defvalue
= wxNullColour
;
21265 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
21266 wxColour
const &arg2_defvalue
= wxNullColour
;
21267 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
21268 wxFont
const &arg3_defvalue
= wxNullFont
;
21269 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
21270 wxListItemAttr
*result
;
21273 PyObject
* obj0
= 0 ;
21274 PyObject
* obj1
= 0 ;
21275 PyObject
* obj2
= 0 ;
21276 char *kwnames
[] = {
21277 (char *) "colText",(char *) "colBack",(char *) "font", NULL
21280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21284 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
21290 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21295 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
21296 if (SWIG_arg_fail(3)) SWIG_fail
;
21297 if (arg3
== NULL
) {
21298 SWIG_null_ref("wxFont");
21300 if (SWIG_arg_fail(3)) SWIG_fail
;
21304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21305 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
21307 wxPyEndAllowThreads(__tstate
);
21308 if (PyErr_Occurred()) SWIG_fail
;
21310 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
21317 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21318 PyObject
*resultobj
;
21319 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21320 wxColour
*arg2
= 0 ;
21322 PyObject
* obj0
= 0 ;
21323 PyObject
* obj1
= 0 ;
21324 char *kwnames
[] = {
21325 (char *) "self",(char *) "colText", NULL
21328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21330 if (SWIG_arg_fail(1)) SWIG_fail
;
21333 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21337 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
21339 wxPyEndAllowThreads(__tstate
);
21340 if (PyErr_Occurred()) SWIG_fail
;
21342 Py_INCREF(Py_None
); resultobj
= Py_None
;
21349 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21350 PyObject
*resultobj
;
21351 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21352 wxColour
*arg2
= 0 ;
21354 PyObject
* obj0
= 0 ;
21355 PyObject
* obj1
= 0 ;
21356 char *kwnames
[] = {
21357 (char *) "self",(char *) "colBack", NULL
21360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21362 if (SWIG_arg_fail(1)) SWIG_fail
;
21365 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21369 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
21371 wxPyEndAllowThreads(__tstate
);
21372 if (PyErr_Occurred()) SWIG_fail
;
21374 Py_INCREF(Py_None
); resultobj
= Py_None
;
21381 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21382 PyObject
*resultobj
;
21383 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21385 PyObject
* obj0
= 0 ;
21386 PyObject
* obj1
= 0 ;
21387 char *kwnames
[] = {
21388 (char *) "self",(char *) "font", NULL
21391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
21392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21393 if (SWIG_arg_fail(1)) SWIG_fail
;
21395 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
21396 if (SWIG_arg_fail(2)) SWIG_fail
;
21397 if (arg2
== NULL
) {
21398 SWIG_null_ref("wxFont");
21400 if (SWIG_arg_fail(2)) SWIG_fail
;
21403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21404 (arg1
)->SetFont((wxFont
const &)*arg2
);
21406 wxPyEndAllowThreads(__tstate
);
21407 if (PyErr_Occurred()) SWIG_fail
;
21409 Py_INCREF(Py_None
); resultobj
= Py_None
;
21416 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21417 PyObject
*resultobj
;
21418 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21420 PyObject
* obj0
= 0 ;
21421 char *kwnames
[] = {
21422 (char *) "self", NULL
21425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
21426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21427 if (SWIG_arg_fail(1)) SWIG_fail
;
21429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21430 result
= (bool)(arg1
)->HasTextColour();
21432 wxPyEndAllowThreads(__tstate
);
21433 if (PyErr_Occurred()) SWIG_fail
;
21436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21444 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21445 PyObject
*resultobj
;
21446 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21448 PyObject
* obj0
= 0 ;
21449 char *kwnames
[] = {
21450 (char *) "self", NULL
21453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
21454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21455 if (SWIG_arg_fail(1)) SWIG_fail
;
21457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21458 result
= (bool)(arg1
)->HasBackgroundColour();
21460 wxPyEndAllowThreads(__tstate
);
21461 if (PyErr_Occurred()) SWIG_fail
;
21464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21472 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21473 PyObject
*resultobj
;
21474 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21476 PyObject
* obj0
= 0 ;
21477 char *kwnames
[] = {
21478 (char *) "self", NULL
21481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
21482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21483 if (SWIG_arg_fail(1)) SWIG_fail
;
21485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21486 result
= (bool)(arg1
)->HasFont();
21488 wxPyEndAllowThreads(__tstate
);
21489 if (PyErr_Occurred()) SWIG_fail
;
21492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21500 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21501 PyObject
*resultobj
;
21502 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21504 PyObject
* obj0
= 0 ;
21505 char *kwnames
[] = {
21506 (char *) "self", NULL
21509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
21510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21511 if (SWIG_arg_fail(1)) SWIG_fail
;
21513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21514 result
= (arg1
)->GetTextColour();
21516 wxPyEndAllowThreads(__tstate
);
21517 if (PyErr_Occurred()) SWIG_fail
;
21520 wxColour
* resultptr
;
21521 resultptr
= new wxColour((wxColour
&)(result
));
21522 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21530 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21531 PyObject
*resultobj
;
21532 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21534 PyObject
* obj0
= 0 ;
21535 char *kwnames
[] = {
21536 (char *) "self", NULL
21539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
21540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21541 if (SWIG_arg_fail(1)) SWIG_fail
;
21543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21544 result
= (arg1
)->GetBackgroundColour();
21546 wxPyEndAllowThreads(__tstate
);
21547 if (PyErr_Occurred()) SWIG_fail
;
21550 wxColour
* resultptr
;
21551 resultptr
= new wxColour((wxColour
&)(result
));
21552 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21560 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21561 PyObject
*resultobj
;
21562 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21564 PyObject
* obj0
= 0 ;
21565 char *kwnames
[] = {
21566 (char *) "self", NULL
21569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
21570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21571 if (SWIG_arg_fail(1)) SWIG_fail
;
21573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21574 result
= (arg1
)->GetFont();
21576 wxPyEndAllowThreads(__tstate
);
21577 if (PyErr_Occurred()) SWIG_fail
;
21580 wxFont
* resultptr
;
21581 resultptr
= new wxFont((wxFont
&)(result
));
21582 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
21590 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21591 PyObject
*resultobj
;
21592 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21593 PyObject
* obj0
= 0 ;
21594 char *kwnames
[] = {
21595 (char *) "self", NULL
21598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
21599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21600 if (SWIG_arg_fail(1)) SWIG_fail
;
21602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21603 wxListItemAttr_Destroy(arg1
);
21605 wxPyEndAllowThreads(__tstate
);
21606 if (PyErr_Occurred()) SWIG_fail
;
21608 Py_INCREF(Py_None
); resultobj
= Py_None
;
21615 static PyObject
* ListItemAttr_swigregister(PyObject
*, PyObject
*args
) {
21617 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21618 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
21620 return Py_BuildValue((char *)"");
21622 static PyObject
*_wrap_new_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21623 PyObject
*resultobj
;
21624 wxListItem
*result
;
21625 char *kwnames
[] = {
21629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
21631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21632 result
= (wxListItem
*)new wxListItem();
21634 wxPyEndAllowThreads(__tstate
);
21635 if (PyErr_Occurred()) SWIG_fail
;
21638 resultobj
= wxPyMake_wxObject(result
, 1);
21646 static PyObject
*_wrap_delete_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21647 PyObject
*resultobj
;
21648 wxListItem
*arg1
= (wxListItem
*) 0 ;
21649 PyObject
* obj0
= 0 ;
21650 char *kwnames
[] = {
21651 (char *) "self", NULL
21654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
21655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21656 if (SWIG_arg_fail(1)) SWIG_fail
;
21658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21661 wxPyEndAllowThreads(__tstate
);
21662 if (PyErr_Occurred()) SWIG_fail
;
21664 Py_INCREF(Py_None
); resultobj
= Py_None
;
21671 static PyObject
*_wrap_ListItem_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21672 PyObject
*resultobj
;
21673 wxListItem
*arg1
= (wxListItem
*) 0 ;
21674 PyObject
* obj0
= 0 ;
21675 char *kwnames
[] = {
21676 (char *) "self", NULL
21679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
21680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21681 if (SWIG_arg_fail(1)) SWIG_fail
;
21683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21686 wxPyEndAllowThreads(__tstate
);
21687 if (PyErr_Occurred()) SWIG_fail
;
21689 Py_INCREF(Py_None
); resultobj
= Py_None
;
21696 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21697 PyObject
*resultobj
;
21698 wxListItem
*arg1
= (wxListItem
*) 0 ;
21699 PyObject
* obj0
= 0 ;
21700 char *kwnames
[] = {
21701 (char *) "self", NULL
21704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
21705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21706 if (SWIG_arg_fail(1)) SWIG_fail
;
21708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21709 (arg1
)->ClearAttributes();
21711 wxPyEndAllowThreads(__tstate
);
21712 if (PyErr_Occurred()) SWIG_fail
;
21714 Py_INCREF(Py_None
); resultobj
= Py_None
;
21721 static PyObject
*_wrap_ListItem_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21722 PyObject
*resultobj
;
21723 wxListItem
*arg1
= (wxListItem
*) 0 ;
21725 PyObject
* obj0
= 0 ;
21726 PyObject
* obj1
= 0 ;
21727 char *kwnames
[] = {
21728 (char *) "self",(char *) "mask", NULL
21731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
21732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21733 if (SWIG_arg_fail(1)) SWIG_fail
;
21735 arg2
= (long)(SWIG_As_long(obj1
));
21736 if (SWIG_arg_fail(2)) SWIG_fail
;
21739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21740 (arg1
)->SetMask(arg2
);
21742 wxPyEndAllowThreads(__tstate
);
21743 if (PyErr_Occurred()) SWIG_fail
;
21745 Py_INCREF(Py_None
); resultobj
= Py_None
;
21752 static PyObject
*_wrap_ListItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21753 PyObject
*resultobj
;
21754 wxListItem
*arg1
= (wxListItem
*) 0 ;
21756 PyObject
* obj0
= 0 ;
21757 PyObject
* obj1
= 0 ;
21758 char *kwnames
[] = {
21759 (char *) "self",(char *) "id", NULL
21762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
21763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21764 if (SWIG_arg_fail(1)) SWIG_fail
;
21766 arg2
= (long)(SWIG_As_long(obj1
));
21767 if (SWIG_arg_fail(2)) SWIG_fail
;
21770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21771 (arg1
)->SetId(arg2
);
21773 wxPyEndAllowThreads(__tstate
);
21774 if (PyErr_Occurred()) SWIG_fail
;
21776 Py_INCREF(Py_None
); resultobj
= Py_None
;
21783 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21784 PyObject
*resultobj
;
21785 wxListItem
*arg1
= (wxListItem
*) 0 ;
21787 PyObject
* obj0
= 0 ;
21788 PyObject
* obj1
= 0 ;
21789 char *kwnames
[] = {
21790 (char *) "self",(char *) "col", NULL
21793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21795 if (SWIG_arg_fail(1)) SWIG_fail
;
21797 arg2
= (int)(SWIG_As_int(obj1
));
21798 if (SWIG_arg_fail(2)) SWIG_fail
;
21801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21802 (arg1
)->SetColumn(arg2
);
21804 wxPyEndAllowThreads(__tstate
);
21805 if (PyErr_Occurred()) SWIG_fail
;
21807 Py_INCREF(Py_None
); resultobj
= Py_None
;
21814 static PyObject
*_wrap_ListItem_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21815 PyObject
*resultobj
;
21816 wxListItem
*arg1
= (wxListItem
*) 0 ;
21818 PyObject
* obj0
= 0 ;
21819 PyObject
* obj1
= 0 ;
21820 char *kwnames
[] = {
21821 (char *) "self",(char *) "state", NULL
21824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
21825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21826 if (SWIG_arg_fail(1)) SWIG_fail
;
21828 arg2
= (long)(SWIG_As_long(obj1
));
21829 if (SWIG_arg_fail(2)) SWIG_fail
;
21832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21833 (arg1
)->SetState(arg2
);
21835 wxPyEndAllowThreads(__tstate
);
21836 if (PyErr_Occurred()) SWIG_fail
;
21838 Py_INCREF(Py_None
); resultobj
= Py_None
;
21845 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21846 PyObject
*resultobj
;
21847 wxListItem
*arg1
= (wxListItem
*) 0 ;
21849 PyObject
* obj0
= 0 ;
21850 PyObject
* obj1
= 0 ;
21851 char *kwnames
[] = {
21852 (char *) "self",(char *) "stateMask", NULL
21855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
21856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21857 if (SWIG_arg_fail(1)) SWIG_fail
;
21859 arg2
= (long)(SWIG_As_long(obj1
));
21860 if (SWIG_arg_fail(2)) SWIG_fail
;
21863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21864 (arg1
)->SetStateMask(arg2
);
21866 wxPyEndAllowThreads(__tstate
);
21867 if (PyErr_Occurred()) SWIG_fail
;
21869 Py_INCREF(Py_None
); resultobj
= Py_None
;
21876 static PyObject
*_wrap_ListItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21877 PyObject
*resultobj
;
21878 wxListItem
*arg1
= (wxListItem
*) 0 ;
21879 wxString
*arg2
= 0 ;
21880 bool temp2
= false ;
21881 PyObject
* obj0
= 0 ;
21882 PyObject
* obj1
= 0 ;
21883 char *kwnames
[] = {
21884 (char *) "self",(char *) "text", NULL
21887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
21888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21889 if (SWIG_arg_fail(1)) SWIG_fail
;
21891 arg2
= wxString_in_helper(obj1
);
21892 if (arg2
== NULL
) SWIG_fail
;
21896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21897 (arg1
)->SetText((wxString
const &)*arg2
);
21899 wxPyEndAllowThreads(__tstate
);
21900 if (PyErr_Occurred()) SWIG_fail
;
21902 Py_INCREF(Py_None
); resultobj
= Py_None
;
21917 static PyObject
*_wrap_ListItem_SetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21918 PyObject
*resultobj
;
21919 wxListItem
*arg1
= (wxListItem
*) 0 ;
21921 PyObject
* obj0
= 0 ;
21922 PyObject
* obj1
= 0 ;
21923 char *kwnames
[] = {
21924 (char *) "self",(char *) "image", NULL
21927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
21928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21929 if (SWIG_arg_fail(1)) SWIG_fail
;
21931 arg2
= (int)(SWIG_As_int(obj1
));
21932 if (SWIG_arg_fail(2)) SWIG_fail
;
21935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21936 (arg1
)->SetImage(arg2
);
21938 wxPyEndAllowThreads(__tstate
);
21939 if (PyErr_Occurred()) SWIG_fail
;
21941 Py_INCREF(Py_None
); resultobj
= Py_None
;
21948 static PyObject
*_wrap_ListItem_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21949 PyObject
*resultobj
;
21950 wxListItem
*arg1
= (wxListItem
*) 0 ;
21952 PyObject
* obj0
= 0 ;
21953 PyObject
* obj1
= 0 ;
21954 char *kwnames
[] = {
21955 (char *) "self",(char *) "data", NULL
21958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
21959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21960 if (SWIG_arg_fail(1)) SWIG_fail
;
21962 arg2
= (long)(SWIG_As_long(obj1
));
21963 if (SWIG_arg_fail(2)) SWIG_fail
;
21966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21967 (arg1
)->SetData(arg2
);
21969 wxPyEndAllowThreads(__tstate
);
21970 if (PyErr_Occurred()) SWIG_fail
;
21972 Py_INCREF(Py_None
); resultobj
= Py_None
;
21979 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21980 PyObject
*resultobj
;
21981 wxListItem
*arg1
= (wxListItem
*) 0 ;
21983 PyObject
* obj0
= 0 ;
21984 PyObject
* obj1
= 0 ;
21985 char *kwnames
[] = {
21986 (char *) "self",(char *) "width", NULL
21989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
21990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21991 if (SWIG_arg_fail(1)) SWIG_fail
;
21993 arg2
= (int)(SWIG_As_int(obj1
));
21994 if (SWIG_arg_fail(2)) SWIG_fail
;
21997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21998 (arg1
)->SetWidth(arg2
);
22000 wxPyEndAllowThreads(__tstate
);
22001 if (PyErr_Occurred()) SWIG_fail
;
22003 Py_INCREF(Py_None
); resultobj
= Py_None
;
22010 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22011 PyObject
*resultobj
;
22012 wxListItem
*arg1
= (wxListItem
*) 0 ;
22013 wxListColumnFormat arg2
;
22014 PyObject
* obj0
= 0 ;
22015 PyObject
* obj1
= 0 ;
22016 char *kwnames
[] = {
22017 (char *) "self",(char *) "align", NULL
22020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
22021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22022 if (SWIG_arg_fail(1)) SWIG_fail
;
22024 arg2
= (wxListColumnFormat
)(SWIG_As_int(obj1
));
22025 if (SWIG_arg_fail(2)) SWIG_fail
;
22028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22029 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
22031 wxPyEndAllowThreads(__tstate
);
22032 if (PyErr_Occurred()) SWIG_fail
;
22034 Py_INCREF(Py_None
); resultobj
= Py_None
;
22041 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22042 PyObject
*resultobj
;
22043 wxListItem
*arg1
= (wxListItem
*) 0 ;
22044 wxColour
*arg2
= 0 ;
22046 PyObject
* obj0
= 0 ;
22047 PyObject
* obj1
= 0 ;
22048 char *kwnames
[] = {
22049 (char *) "self",(char *) "colText", NULL
22052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22054 if (SWIG_arg_fail(1)) SWIG_fail
;
22057 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22061 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
22063 wxPyEndAllowThreads(__tstate
);
22064 if (PyErr_Occurred()) SWIG_fail
;
22066 Py_INCREF(Py_None
); resultobj
= Py_None
;
22073 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22074 PyObject
*resultobj
;
22075 wxListItem
*arg1
= (wxListItem
*) 0 ;
22076 wxColour
*arg2
= 0 ;
22078 PyObject
* obj0
= 0 ;
22079 PyObject
* obj1
= 0 ;
22080 char *kwnames
[] = {
22081 (char *) "self",(char *) "colBack", NULL
22084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22086 if (SWIG_arg_fail(1)) SWIG_fail
;
22089 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22093 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
22095 wxPyEndAllowThreads(__tstate
);
22096 if (PyErr_Occurred()) SWIG_fail
;
22098 Py_INCREF(Py_None
); resultobj
= Py_None
;
22105 static PyObject
*_wrap_ListItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22106 PyObject
*resultobj
;
22107 wxListItem
*arg1
= (wxListItem
*) 0 ;
22109 PyObject
* obj0
= 0 ;
22110 PyObject
* obj1
= 0 ;
22111 char *kwnames
[] = {
22112 (char *) "self",(char *) "font", NULL
22115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
22116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22117 if (SWIG_arg_fail(1)) SWIG_fail
;
22119 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
22120 if (SWIG_arg_fail(2)) SWIG_fail
;
22121 if (arg2
== NULL
) {
22122 SWIG_null_ref("wxFont");
22124 if (SWIG_arg_fail(2)) SWIG_fail
;
22127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22128 (arg1
)->SetFont((wxFont
const &)*arg2
);
22130 wxPyEndAllowThreads(__tstate
);
22131 if (PyErr_Occurred()) SWIG_fail
;
22133 Py_INCREF(Py_None
); resultobj
= Py_None
;
22140 static PyObject
*_wrap_ListItem_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22141 PyObject
*resultobj
;
22142 wxListItem
*arg1
= (wxListItem
*) 0 ;
22144 PyObject
* obj0
= 0 ;
22145 char *kwnames
[] = {
22146 (char *) "self", NULL
22149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
22150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22151 if (SWIG_arg_fail(1)) SWIG_fail
;
22153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22154 result
= (long)(arg1
)->GetMask();
22156 wxPyEndAllowThreads(__tstate
);
22157 if (PyErr_Occurred()) SWIG_fail
;
22160 resultobj
= SWIG_From_long((long)(result
));
22168 static PyObject
*_wrap_ListItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22169 PyObject
*resultobj
;
22170 wxListItem
*arg1
= (wxListItem
*) 0 ;
22172 PyObject
* obj0
= 0 ;
22173 char *kwnames
[] = {
22174 (char *) "self", NULL
22177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
22178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22179 if (SWIG_arg_fail(1)) SWIG_fail
;
22181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22182 result
= (long)(arg1
)->GetId();
22184 wxPyEndAllowThreads(__tstate
);
22185 if (PyErr_Occurred()) SWIG_fail
;
22188 resultobj
= SWIG_From_long((long)(result
));
22196 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22197 PyObject
*resultobj
;
22198 wxListItem
*arg1
= (wxListItem
*) 0 ;
22200 PyObject
* obj0
= 0 ;
22201 char *kwnames
[] = {
22202 (char *) "self", NULL
22205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
22206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22207 if (SWIG_arg_fail(1)) SWIG_fail
;
22209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22210 result
= (int)(arg1
)->GetColumn();
22212 wxPyEndAllowThreads(__tstate
);
22213 if (PyErr_Occurred()) SWIG_fail
;
22216 resultobj
= SWIG_From_int((int)(result
));
22224 static PyObject
*_wrap_ListItem_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22225 PyObject
*resultobj
;
22226 wxListItem
*arg1
= (wxListItem
*) 0 ;
22228 PyObject
* obj0
= 0 ;
22229 char *kwnames
[] = {
22230 (char *) "self", NULL
22233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
22234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22235 if (SWIG_arg_fail(1)) SWIG_fail
;
22237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22238 result
= (long)(arg1
)->GetState();
22240 wxPyEndAllowThreads(__tstate
);
22241 if (PyErr_Occurred()) SWIG_fail
;
22244 resultobj
= SWIG_From_long((long)(result
));
22252 static PyObject
*_wrap_ListItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22253 PyObject
*resultobj
;
22254 wxListItem
*arg1
= (wxListItem
*) 0 ;
22256 PyObject
* obj0
= 0 ;
22257 char *kwnames
[] = {
22258 (char *) "self", NULL
22261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
22262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22263 if (SWIG_arg_fail(1)) SWIG_fail
;
22265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22267 wxString
const &_result_ref
= (arg1
)->GetText();
22268 result
= (wxString
*) &_result_ref
;
22271 wxPyEndAllowThreads(__tstate
);
22272 if (PyErr_Occurred()) SWIG_fail
;
22276 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22278 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22287 static PyObject
*_wrap_ListItem_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22288 PyObject
*resultobj
;
22289 wxListItem
*arg1
= (wxListItem
*) 0 ;
22291 PyObject
* obj0
= 0 ;
22292 char *kwnames
[] = {
22293 (char *) "self", NULL
22296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
22297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22298 if (SWIG_arg_fail(1)) SWIG_fail
;
22300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22301 result
= (int)(arg1
)->GetImage();
22303 wxPyEndAllowThreads(__tstate
);
22304 if (PyErr_Occurred()) SWIG_fail
;
22307 resultobj
= SWIG_From_int((int)(result
));
22315 static PyObject
*_wrap_ListItem_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22316 PyObject
*resultobj
;
22317 wxListItem
*arg1
= (wxListItem
*) 0 ;
22319 PyObject
* obj0
= 0 ;
22320 char *kwnames
[] = {
22321 (char *) "self", NULL
22324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
22325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22326 if (SWIG_arg_fail(1)) SWIG_fail
;
22328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22329 result
= (long)(arg1
)->GetData();
22331 wxPyEndAllowThreads(__tstate
);
22332 if (PyErr_Occurred()) SWIG_fail
;
22335 resultobj
= SWIG_From_long((long)(result
));
22343 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22344 PyObject
*resultobj
;
22345 wxListItem
*arg1
= (wxListItem
*) 0 ;
22347 PyObject
* obj0
= 0 ;
22348 char *kwnames
[] = {
22349 (char *) "self", NULL
22352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
22353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22354 if (SWIG_arg_fail(1)) SWIG_fail
;
22356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22357 result
= (int)(arg1
)->GetWidth();
22359 wxPyEndAllowThreads(__tstate
);
22360 if (PyErr_Occurred()) SWIG_fail
;
22363 resultobj
= SWIG_From_int((int)(result
));
22371 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22372 PyObject
*resultobj
;
22373 wxListItem
*arg1
= (wxListItem
*) 0 ;
22374 wxListColumnFormat result
;
22375 PyObject
* obj0
= 0 ;
22376 char *kwnames
[] = {
22377 (char *) "self", NULL
22380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
22381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22382 if (SWIG_arg_fail(1)) SWIG_fail
;
22384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22385 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
22387 wxPyEndAllowThreads(__tstate
);
22388 if (PyErr_Occurred()) SWIG_fail
;
22390 resultobj
= SWIG_From_int((result
));
22397 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22398 PyObject
*resultobj
;
22399 wxListItem
*arg1
= (wxListItem
*) 0 ;
22400 wxListItemAttr
*result
;
22401 PyObject
* obj0
= 0 ;
22402 char *kwnames
[] = {
22403 (char *) "self", NULL
22406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
22407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22408 if (SWIG_arg_fail(1)) SWIG_fail
;
22410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22411 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
22413 wxPyEndAllowThreads(__tstate
);
22414 if (PyErr_Occurred()) SWIG_fail
;
22416 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
22423 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22424 PyObject
*resultobj
;
22425 wxListItem
*arg1
= (wxListItem
*) 0 ;
22427 PyObject
* obj0
= 0 ;
22428 char *kwnames
[] = {
22429 (char *) "self", NULL
22432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
22433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22434 if (SWIG_arg_fail(1)) SWIG_fail
;
22436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22437 result
= (bool)(arg1
)->HasAttributes();
22439 wxPyEndAllowThreads(__tstate
);
22440 if (PyErr_Occurred()) SWIG_fail
;
22443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22451 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22452 PyObject
*resultobj
;
22453 wxListItem
*arg1
= (wxListItem
*) 0 ;
22455 PyObject
* obj0
= 0 ;
22456 char *kwnames
[] = {
22457 (char *) "self", NULL
22460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
22461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22462 if (SWIG_arg_fail(1)) SWIG_fail
;
22464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22465 result
= ((wxListItem
const *)arg1
)->GetTextColour();
22467 wxPyEndAllowThreads(__tstate
);
22468 if (PyErr_Occurred()) SWIG_fail
;
22471 wxColour
* resultptr
;
22472 resultptr
= new wxColour((wxColour
&)(result
));
22473 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22481 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22482 PyObject
*resultobj
;
22483 wxListItem
*arg1
= (wxListItem
*) 0 ;
22485 PyObject
* obj0
= 0 ;
22486 char *kwnames
[] = {
22487 (char *) "self", NULL
22490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
22491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22492 if (SWIG_arg_fail(1)) SWIG_fail
;
22494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22495 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
22497 wxPyEndAllowThreads(__tstate
);
22498 if (PyErr_Occurred()) SWIG_fail
;
22501 wxColour
* resultptr
;
22502 resultptr
= new wxColour((wxColour
&)(result
));
22503 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22511 static PyObject
*_wrap_ListItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22512 PyObject
*resultobj
;
22513 wxListItem
*arg1
= (wxListItem
*) 0 ;
22515 PyObject
* obj0
= 0 ;
22516 char *kwnames
[] = {
22517 (char *) "self", NULL
22520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
22521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22522 if (SWIG_arg_fail(1)) SWIG_fail
;
22524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22525 result
= ((wxListItem
const *)arg1
)->GetFont();
22527 wxPyEndAllowThreads(__tstate
);
22528 if (PyErr_Occurred()) SWIG_fail
;
22531 wxFont
* resultptr
;
22532 resultptr
= new wxFont((wxFont
&)(result
));
22533 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22541 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22542 PyObject
*resultobj
;
22543 wxListItem
*arg1
= (wxListItem
*) 0 ;
22545 PyObject
* obj0
= 0 ;
22546 PyObject
* obj1
= 0 ;
22547 char *kwnames
[] = {
22548 (char *) "self",(char *) "m_mask", NULL
22551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22553 if (SWIG_arg_fail(1)) SWIG_fail
;
22555 arg2
= (long)(SWIG_As_long(obj1
));
22556 if (SWIG_arg_fail(2)) SWIG_fail
;
22558 if (arg1
) (arg1
)->m_mask
= arg2
;
22560 Py_INCREF(Py_None
); resultobj
= Py_None
;
22567 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22568 PyObject
*resultobj
;
22569 wxListItem
*arg1
= (wxListItem
*) 0 ;
22571 PyObject
* obj0
= 0 ;
22572 char *kwnames
[] = {
22573 (char *) "self", NULL
22576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
22577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22578 if (SWIG_arg_fail(1)) SWIG_fail
;
22579 result
= (long) ((arg1
)->m_mask
);
22582 resultobj
= SWIG_From_long((long)(result
));
22590 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22591 PyObject
*resultobj
;
22592 wxListItem
*arg1
= (wxListItem
*) 0 ;
22594 PyObject
* obj0
= 0 ;
22595 PyObject
* obj1
= 0 ;
22596 char *kwnames
[] = {
22597 (char *) "self",(char *) "m_itemId", NULL
22600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22602 if (SWIG_arg_fail(1)) SWIG_fail
;
22604 arg2
= (long)(SWIG_As_long(obj1
));
22605 if (SWIG_arg_fail(2)) SWIG_fail
;
22607 if (arg1
) (arg1
)->m_itemId
= arg2
;
22609 Py_INCREF(Py_None
); resultobj
= Py_None
;
22616 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22617 PyObject
*resultobj
;
22618 wxListItem
*arg1
= (wxListItem
*) 0 ;
22620 PyObject
* obj0
= 0 ;
22621 char *kwnames
[] = {
22622 (char *) "self", NULL
22625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
22626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22627 if (SWIG_arg_fail(1)) SWIG_fail
;
22628 result
= (long) ((arg1
)->m_itemId
);
22631 resultobj
= SWIG_From_long((long)(result
));
22639 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22640 PyObject
*resultobj
;
22641 wxListItem
*arg1
= (wxListItem
*) 0 ;
22643 PyObject
* obj0
= 0 ;
22644 PyObject
* obj1
= 0 ;
22645 char *kwnames
[] = {
22646 (char *) "self",(char *) "m_col", NULL
22649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22651 if (SWIG_arg_fail(1)) SWIG_fail
;
22653 arg2
= (int)(SWIG_As_int(obj1
));
22654 if (SWIG_arg_fail(2)) SWIG_fail
;
22656 if (arg1
) (arg1
)->m_col
= arg2
;
22658 Py_INCREF(Py_None
); resultobj
= Py_None
;
22665 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22666 PyObject
*resultobj
;
22667 wxListItem
*arg1
= (wxListItem
*) 0 ;
22669 PyObject
* obj0
= 0 ;
22670 char *kwnames
[] = {
22671 (char *) "self", NULL
22674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
22675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22676 if (SWIG_arg_fail(1)) SWIG_fail
;
22677 result
= (int) ((arg1
)->m_col
);
22680 resultobj
= SWIG_From_int((int)(result
));
22688 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22689 PyObject
*resultobj
;
22690 wxListItem
*arg1
= (wxListItem
*) 0 ;
22692 PyObject
* obj0
= 0 ;
22693 PyObject
* obj1
= 0 ;
22694 char *kwnames
[] = {
22695 (char *) "self",(char *) "m_state", NULL
22698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22700 if (SWIG_arg_fail(1)) SWIG_fail
;
22702 arg2
= (long)(SWIG_As_long(obj1
));
22703 if (SWIG_arg_fail(2)) SWIG_fail
;
22705 if (arg1
) (arg1
)->m_state
= arg2
;
22707 Py_INCREF(Py_None
); resultobj
= Py_None
;
22714 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22715 PyObject
*resultobj
;
22716 wxListItem
*arg1
= (wxListItem
*) 0 ;
22718 PyObject
* obj0
= 0 ;
22719 char *kwnames
[] = {
22720 (char *) "self", NULL
22723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
22724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22725 if (SWIG_arg_fail(1)) SWIG_fail
;
22726 result
= (long) ((arg1
)->m_state
);
22729 resultobj
= SWIG_From_long((long)(result
));
22737 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22738 PyObject
*resultobj
;
22739 wxListItem
*arg1
= (wxListItem
*) 0 ;
22741 PyObject
* obj0
= 0 ;
22742 PyObject
* obj1
= 0 ;
22743 char *kwnames
[] = {
22744 (char *) "self",(char *) "m_stateMask", NULL
22747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22749 if (SWIG_arg_fail(1)) SWIG_fail
;
22751 arg2
= (long)(SWIG_As_long(obj1
));
22752 if (SWIG_arg_fail(2)) SWIG_fail
;
22754 if (arg1
) (arg1
)->m_stateMask
= arg2
;
22756 Py_INCREF(Py_None
); resultobj
= Py_None
;
22763 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22764 PyObject
*resultobj
;
22765 wxListItem
*arg1
= (wxListItem
*) 0 ;
22767 PyObject
* obj0
= 0 ;
22768 char *kwnames
[] = {
22769 (char *) "self", NULL
22772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
22773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22774 if (SWIG_arg_fail(1)) SWIG_fail
;
22775 result
= (long) ((arg1
)->m_stateMask
);
22778 resultobj
= SWIG_From_long((long)(result
));
22786 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22787 PyObject
*resultobj
;
22788 wxListItem
*arg1
= (wxListItem
*) 0 ;
22789 wxString
*arg2
= (wxString
*) 0 ;
22790 bool temp2
= false ;
22791 PyObject
* obj0
= 0 ;
22792 PyObject
* obj1
= 0 ;
22793 char *kwnames
[] = {
22794 (char *) "self",(char *) "m_text", NULL
22797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22799 if (SWIG_arg_fail(1)) SWIG_fail
;
22801 arg2
= wxString_in_helper(obj1
);
22802 if (arg2
== NULL
) SWIG_fail
;
22805 if (arg1
) (arg1
)->m_text
= *arg2
;
22807 Py_INCREF(Py_None
); resultobj
= Py_None
;
22822 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22823 PyObject
*resultobj
;
22824 wxListItem
*arg1
= (wxListItem
*) 0 ;
22826 PyObject
* obj0
= 0 ;
22827 char *kwnames
[] = {
22828 (char *) "self", NULL
22831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
22832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22833 if (SWIG_arg_fail(1)) SWIG_fail
;
22834 result
= (wxString
*)& ((arg1
)->m_text
);
22838 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22840 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22849 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22850 PyObject
*resultobj
;
22851 wxListItem
*arg1
= (wxListItem
*) 0 ;
22853 PyObject
* obj0
= 0 ;
22854 PyObject
* obj1
= 0 ;
22855 char *kwnames
[] = {
22856 (char *) "self",(char *) "m_image", NULL
22859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22861 if (SWIG_arg_fail(1)) SWIG_fail
;
22863 arg2
= (int)(SWIG_As_int(obj1
));
22864 if (SWIG_arg_fail(2)) SWIG_fail
;
22866 if (arg1
) (arg1
)->m_image
= arg2
;
22868 Py_INCREF(Py_None
); resultobj
= Py_None
;
22875 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22876 PyObject
*resultobj
;
22877 wxListItem
*arg1
= (wxListItem
*) 0 ;
22879 PyObject
* obj0
= 0 ;
22880 char *kwnames
[] = {
22881 (char *) "self", NULL
22884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
22885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22886 if (SWIG_arg_fail(1)) SWIG_fail
;
22887 result
= (int) ((arg1
)->m_image
);
22890 resultobj
= SWIG_From_int((int)(result
));
22898 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22899 PyObject
*resultobj
;
22900 wxListItem
*arg1
= (wxListItem
*) 0 ;
22902 PyObject
* obj0
= 0 ;
22903 PyObject
* obj1
= 0 ;
22904 char *kwnames
[] = {
22905 (char *) "self",(char *) "m_data", NULL
22908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22910 if (SWIG_arg_fail(1)) SWIG_fail
;
22912 arg2
= (long)(SWIG_As_long(obj1
));
22913 if (SWIG_arg_fail(2)) SWIG_fail
;
22915 if (arg1
) (arg1
)->m_data
= arg2
;
22917 Py_INCREF(Py_None
); resultobj
= Py_None
;
22924 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22925 PyObject
*resultobj
;
22926 wxListItem
*arg1
= (wxListItem
*) 0 ;
22928 PyObject
* obj0
= 0 ;
22929 char *kwnames
[] = {
22930 (char *) "self", NULL
22933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
22934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22935 if (SWIG_arg_fail(1)) SWIG_fail
;
22936 result
= (long) ((arg1
)->m_data
);
22939 resultobj
= SWIG_From_long((long)(result
));
22947 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22948 PyObject
*resultobj
;
22949 wxListItem
*arg1
= (wxListItem
*) 0 ;
22951 PyObject
* obj0
= 0 ;
22952 PyObject
* obj1
= 0 ;
22953 char *kwnames
[] = {
22954 (char *) "self",(char *) "m_format", NULL
22957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22959 if (SWIG_arg_fail(1)) SWIG_fail
;
22961 arg2
= (int)(SWIG_As_int(obj1
));
22962 if (SWIG_arg_fail(2)) SWIG_fail
;
22964 if (arg1
) (arg1
)->m_format
= arg2
;
22966 Py_INCREF(Py_None
); resultobj
= Py_None
;
22973 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22974 PyObject
*resultobj
;
22975 wxListItem
*arg1
= (wxListItem
*) 0 ;
22977 PyObject
* obj0
= 0 ;
22978 char *kwnames
[] = {
22979 (char *) "self", NULL
22982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
22983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22984 if (SWIG_arg_fail(1)) SWIG_fail
;
22985 result
= (int) ((arg1
)->m_format
);
22988 resultobj
= SWIG_From_int((int)(result
));
22996 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22997 PyObject
*resultobj
;
22998 wxListItem
*arg1
= (wxListItem
*) 0 ;
23000 PyObject
* obj0
= 0 ;
23001 PyObject
* obj1
= 0 ;
23002 char *kwnames
[] = {
23003 (char *) "self",(char *) "m_width", NULL
23006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23008 if (SWIG_arg_fail(1)) SWIG_fail
;
23010 arg2
= (int)(SWIG_As_int(obj1
));
23011 if (SWIG_arg_fail(2)) SWIG_fail
;
23013 if (arg1
) (arg1
)->m_width
= arg2
;
23015 Py_INCREF(Py_None
); resultobj
= Py_None
;
23022 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23023 PyObject
*resultobj
;
23024 wxListItem
*arg1
= (wxListItem
*) 0 ;
23026 PyObject
* obj0
= 0 ;
23027 char *kwnames
[] = {
23028 (char *) "self", NULL
23031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
23032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23033 if (SWIG_arg_fail(1)) SWIG_fail
;
23034 result
= (int) ((arg1
)->m_width
);
23037 resultobj
= SWIG_From_int((int)(result
));
23045 static PyObject
* ListItem_swigregister(PyObject
*, PyObject
*args
) {
23047 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23048 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
23050 return Py_BuildValue((char *)"");
23052 static PyObject
*_wrap_new_ListEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23053 PyObject
*resultobj
;
23054 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23055 int arg2
= (int) 0 ;
23056 wxListEvent
*result
;
23057 PyObject
* obj0
= 0 ;
23058 PyObject
* obj1
= 0 ;
23059 char *kwnames
[] = {
23060 (char *) "commandType",(char *) "id", NULL
23063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23066 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
23067 if (SWIG_arg_fail(1)) SWIG_fail
;
23072 arg2
= (int)(SWIG_As_int(obj1
));
23073 if (SWIG_arg_fail(2)) SWIG_fail
;
23077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23078 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
23080 wxPyEndAllowThreads(__tstate
);
23081 if (PyErr_Occurred()) SWIG_fail
;
23083 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
23090 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23091 PyObject
*resultobj
;
23092 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23094 PyObject
* obj0
= 0 ;
23095 PyObject
* obj1
= 0 ;
23096 char *kwnames
[] = {
23097 (char *) "self",(char *) "m_code", NULL
23100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23102 if (SWIG_arg_fail(1)) SWIG_fail
;
23104 arg2
= (int)(SWIG_As_int(obj1
));
23105 if (SWIG_arg_fail(2)) SWIG_fail
;
23107 if (arg1
) (arg1
)->m_code
= arg2
;
23109 Py_INCREF(Py_None
); resultobj
= Py_None
;
23116 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23117 PyObject
*resultobj
;
23118 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23120 PyObject
* obj0
= 0 ;
23121 char *kwnames
[] = {
23122 (char *) "self", NULL
23125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
23126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23127 if (SWIG_arg_fail(1)) SWIG_fail
;
23128 result
= (int) ((arg1
)->m_code
);
23131 resultobj
= SWIG_From_int((int)(result
));
23139 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23140 PyObject
*resultobj
;
23141 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23143 PyObject
* obj0
= 0 ;
23144 PyObject
* obj1
= 0 ;
23145 char *kwnames
[] = {
23146 (char *) "self",(char *) "m_oldItemIndex", NULL
23149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23151 if (SWIG_arg_fail(1)) SWIG_fail
;
23153 arg2
= (long)(SWIG_As_long(obj1
));
23154 if (SWIG_arg_fail(2)) SWIG_fail
;
23156 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
23158 Py_INCREF(Py_None
); resultobj
= Py_None
;
23165 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23166 PyObject
*resultobj
;
23167 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23169 PyObject
* obj0
= 0 ;
23170 char *kwnames
[] = {
23171 (char *) "self", NULL
23174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
23175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23176 if (SWIG_arg_fail(1)) SWIG_fail
;
23177 result
= (long) ((arg1
)->m_oldItemIndex
);
23180 resultobj
= SWIG_From_long((long)(result
));
23188 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23189 PyObject
*resultobj
;
23190 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23192 PyObject
* obj0
= 0 ;
23193 PyObject
* obj1
= 0 ;
23194 char *kwnames
[] = {
23195 (char *) "self",(char *) "m_itemIndex", NULL
23198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23200 if (SWIG_arg_fail(1)) SWIG_fail
;
23202 arg2
= (long)(SWIG_As_long(obj1
));
23203 if (SWIG_arg_fail(2)) SWIG_fail
;
23205 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
23207 Py_INCREF(Py_None
); resultobj
= Py_None
;
23214 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23215 PyObject
*resultobj
;
23216 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23218 PyObject
* obj0
= 0 ;
23219 char *kwnames
[] = {
23220 (char *) "self", NULL
23223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
23224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23225 if (SWIG_arg_fail(1)) SWIG_fail
;
23226 result
= (long) ((arg1
)->m_itemIndex
);
23229 resultobj
= SWIG_From_long((long)(result
));
23237 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23238 PyObject
*resultobj
;
23239 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23241 PyObject
* obj0
= 0 ;
23242 PyObject
* obj1
= 0 ;
23243 char *kwnames
[] = {
23244 (char *) "self",(char *) "m_col", NULL
23247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23249 if (SWIG_arg_fail(1)) SWIG_fail
;
23251 arg2
= (int)(SWIG_As_int(obj1
));
23252 if (SWIG_arg_fail(2)) SWIG_fail
;
23254 if (arg1
) (arg1
)->m_col
= arg2
;
23256 Py_INCREF(Py_None
); resultobj
= Py_None
;
23263 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23264 PyObject
*resultobj
;
23265 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23267 PyObject
* obj0
= 0 ;
23268 char *kwnames
[] = {
23269 (char *) "self", NULL
23272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
23273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23274 if (SWIG_arg_fail(1)) SWIG_fail
;
23275 result
= (int) ((arg1
)->m_col
);
23278 resultobj
= SWIG_From_int((int)(result
));
23286 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23287 PyObject
*resultobj
;
23288 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23289 wxPoint
*arg2
= (wxPoint
*) 0 ;
23290 PyObject
* obj0
= 0 ;
23291 PyObject
* obj1
= 0 ;
23292 char *kwnames
[] = {
23293 (char *) "self",(char *) "m_pointDrag", NULL
23296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23298 if (SWIG_arg_fail(1)) SWIG_fail
;
23299 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
23300 if (SWIG_arg_fail(2)) SWIG_fail
;
23301 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
23303 Py_INCREF(Py_None
); resultobj
= Py_None
;
23310 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23311 PyObject
*resultobj
;
23312 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23314 PyObject
* obj0
= 0 ;
23315 char *kwnames
[] = {
23316 (char *) "self", NULL
23319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
23320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23321 if (SWIG_arg_fail(1)) SWIG_fail
;
23322 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
23324 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
23331 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23332 PyObject
*resultobj
;
23333 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23334 wxListItem
*result
;
23335 PyObject
* obj0
= 0 ;
23336 char *kwnames
[] = {
23337 (char *) "self", NULL
23340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
23341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23342 if (SWIG_arg_fail(1)) SWIG_fail
;
23343 result
= (wxListItem
*)& ((arg1
)->m_item
);
23346 resultobj
= wxPyMake_wxObject(result
, 0);
23354 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23355 PyObject
*resultobj
;
23356 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23358 PyObject
* obj0
= 0 ;
23359 char *kwnames
[] = {
23360 (char *) "self", NULL
23363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
23364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23365 if (SWIG_arg_fail(1)) SWIG_fail
;
23367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23368 result
= (int)(arg1
)->GetKeyCode();
23370 wxPyEndAllowThreads(__tstate
);
23371 if (PyErr_Occurred()) SWIG_fail
;
23374 resultobj
= SWIG_From_int((int)(result
));
23382 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23383 PyObject
*resultobj
;
23384 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23386 PyObject
* obj0
= 0 ;
23387 char *kwnames
[] = {
23388 (char *) "self", NULL
23391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
23392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23393 if (SWIG_arg_fail(1)) SWIG_fail
;
23395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23396 result
= (long)(arg1
)->GetIndex();
23398 wxPyEndAllowThreads(__tstate
);
23399 if (PyErr_Occurred()) SWIG_fail
;
23402 resultobj
= SWIG_From_long((long)(result
));
23410 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23411 PyObject
*resultobj
;
23412 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23414 PyObject
* obj0
= 0 ;
23415 char *kwnames
[] = {
23416 (char *) "self", NULL
23419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
23420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23421 if (SWIG_arg_fail(1)) SWIG_fail
;
23423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23424 result
= (int)(arg1
)->GetColumn();
23426 wxPyEndAllowThreads(__tstate
);
23427 if (PyErr_Occurred()) SWIG_fail
;
23430 resultobj
= SWIG_From_int((int)(result
));
23438 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23439 PyObject
*resultobj
;
23440 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23442 PyObject
* obj0
= 0 ;
23443 char *kwnames
[] = {
23444 (char *) "self", NULL
23447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
23448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23449 if (SWIG_arg_fail(1)) SWIG_fail
;
23451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23452 result
= (arg1
)->GetPoint();
23454 wxPyEndAllowThreads(__tstate
);
23455 if (PyErr_Occurred()) SWIG_fail
;
23458 wxPoint
* resultptr
;
23459 resultptr
= new wxPoint((wxPoint
&)(result
));
23460 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23468 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23469 PyObject
*resultobj
;
23470 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23472 PyObject
* obj0
= 0 ;
23473 char *kwnames
[] = {
23474 (char *) "self", NULL
23477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
23478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23479 if (SWIG_arg_fail(1)) SWIG_fail
;
23481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23483 wxString
const &_result_ref
= (arg1
)->GetLabel();
23484 result
= (wxString
*) &_result_ref
;
23487 wxPyEndAllowThreads(__tstate
);
23488 if (PyErr_Occurred()) SWIG_fail
;
23492 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23494 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23503 static PyObject
*_wrap_ListEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23504 PyObject
*resultobj
;
23505 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23507 PyObject
* obj0
= 0 ;
23508 char *kwnames
[] = {
23509 (char *) "self", NULL
23512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
23513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23514 if (SWIG_arg_fail(1)) SWIG_fail
;
23516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23518 wxString
const &_result_ref
= (arg1
)->GetText();
23519 result
= (wxString
*) &_result_ref
;
23522 wxPyEndAllowThreads(__tstate
);
23523 if (PyErr_Occurred()) SWIG_fail
;
23527 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23529 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23538 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23539 PyObject
*resultobj
;
23540 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23542 PyObject
* obj0
= 0 ;
23543 char *kwnames
[] = {
23544 (char *) "self", NULL
23547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
23548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23549 if (SWIG_arg_fail(1)) SWIG_fail
;
23551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23552 result
= (int)(arg1
)->GetImage();
23554 wxPyEndAllowThreads(__tstate
);
23555 if (PyErr_Occurred()) SWIG_fail
;
23558 resultobj
= SWIG_From_int((int)(result
));
23566 static PyObject
*_wrap_ListEvent_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23567 PyObject
*resultobj
;
23568 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23570 PyObject
* obj0
= 0 ;
23571 char *kwnames
[] = {
23572 (char *) "self", NULL
23575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
23576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23577 if (SWIG_arg_fail(1)) SWIG_fail
;
23579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23580 result
= (long)(arg1
)->GetData();
23582 wxPyEndAllowThreads(__tstate
);
23583 if (PyErr_Occurred()) SWIG_fail
;
23586 resultobj
= SWIG_From_long((long)(result
));
23594 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23595 PyObject
*resultobj
;
23596 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23598 PyObject
* obj0
= 0 ;
23599 char *kwnames
[] = {
23600 (char *) "self", NULL
23603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23608 result
= (long)(arg1
)->GetMask();
23610 wxPyEndAllowThreads(__tstate
);
23611 if (PyErr_Occurred()) SWIG_fail
;
23614 resultobj
= SWIG_From_long((long)(result
));
23622 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23623 PyObject
*resultobj
;
23624 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23625 wxListItem
*result
;
23626 PyObject
* obj0
= 0 ;
23627 char *kwnames
[] = {
23628 (char *) "self", NULL
23631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
23632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23633 if (SWIG_arg_fail(1)) SWIG_fail
;
23635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23637 wxListItem
const &_result_ref
= (arg1
)->GetItem();
23638 result
= (wxListItem
*) &_result_ref
;
23641 wxPyEndAllowThreads(__tstate
);
23642 if (PyErr_Occurred()) SWIG_fail
;
23644 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
23651 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23652 PyObject
*resultobj
;
23653 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23655 PyObject
* obj0
= 0 ;
23656 char *kwnames
[] = {
23657 (char *) "self", NULL
23660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
23661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23662 if (SWIG_arg_fail(1)) SWIG_fail
;
23664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23665 result
= (long)(arg1
)->GetCacheFrom();
23667 wxPyEndAllowThreads(__tstate
);
23668 if (PyErr_Occurred()) SWIG_fail
;
23671 resultobj
= SWIG_From_long((long)(result
));
23679 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23680 PyObject
*resultobj
;
23681 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23683 PyObject
* obj0
= 0 ;
23684 char *kwnames
[] = {
23685 (char *) "self", NULL
23688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
23689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23690 if (SWIG_arg_fail(1)) SWIG_fail
;
23692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23693 result
= (long)(arg1
)->GetCacheTo();
23695 wxPyEndAllowThreads(__tstate
);
23696 if (PyErr_Occurred()) SWIG_fail
;
23699 resultobj
= SWIG_From_long((long)(result
));
23707 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23708 PyObject
*resultobj
;
23709 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23711 PyObject
* obj0
= 0 ;
23712 char *kwnames
[] = {
23713 (char *) "self", NULL
23716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
23717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23718 if (SWIG_arg_fail(1)) SWIG_fail
;
23720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23721 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
23723 wxPyEndAllowThreads(__tstate
);
23724 if (PyErr_Occurred()) SWIG_fail
;
23727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23735 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23736 PyObject
*resultobj
;
23737 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23739 PyObject
* obj0
= 0 ;
23740 PyObject
* obj1
= 0 ;
23741 char *kwnames
[] = {
23742 (char *) "self",(char *) "editCancelled", NULL
23745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
23746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23747 if (SWIG_arg_fail(1)) SWIG_fail
;
23749 arg2
= (bool)(SWIG_As_bool(obj1
));
23750 if (SWIG_arg_fail(2)) SWIG_fail
;
23753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23754 (arg1
)->SetEditCanceled(arg2
);
23756 wxPyEndAllowThreads(__tstate
);
23757 if (PyErr_Occurred()) SWIG_fail
;
23759 Py_INCREF(Py_None
); resultobj
= Py_None
;
23766 static PyObject
* ListEvent_swigregister(PyObject
*, PyObject
*args
) {
23768 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23769 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
23771 return Py_BuildValue((char *)"");
23773 static PyObject
*_wrap_new_ListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23774 PyObject
*resultobj
;
23775 wxWindow
*arg1
= (wxWindow
*) 0 ;
23776 int arg2
= (int) -1 ;
23777 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23778 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23779 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23780 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23781 long arg5
= (long) wxLC_ICON
;
23782 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23783 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23784 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
23785 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23786 wxPyListCtrl
*result
;
23789 bool temp7
= false ;
23790 PyObject
* obj0
= 0 ;
23791 PyObject
* obj1
= 0 ;
23792 PyObject
* obj2
= 0 ;
23793 PyObject
* obj3
= 0 ;
23794 PyObject
* obj4
= 0 ;
23795 PyObject
* obj5
= 0 ;
23796 PyObject
* obj6
= 0 ;
23797 char *kwnames
[] = {
23798 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23803 if (SWIG_arg_fail(1)) SWIG_fail
;
23806 arg2
= (int)(SWIG_As_int(obj1
));
23807 if (SWIG_arg_fail(2)) SWIG_fail
;
23813 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23819 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23824 arg5
= (long)(SWIG_As_long(obj4
));
23825 if (SWIG_arg_fail(5)) SWIG_fail
;
23830 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
23831 if (SWIG_arg_fail(6)) SWIG_fail
;
23832 if (arg6
== NULL
) {
23833 SWIG_null_ref("wxValidator");
23835 if (SWIG_arg_fail(6)) SWIG_fail
;
23840 arg7
= wxString_in_helper(obj6
);
23841 if (arg7
== NULL
) SWIG_fail
;
23846 if (!wxPyCheckForApp()) SWIG_fail
;
23847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23848 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23850 wxPyEndAllowThreads(__tstate
);
23851 if (PyErr_Occurred()) SWIG_fail
;
23853 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
23868 static PyObject
*_wrap_new_PreListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23869 PyObject
*resultobj
;
23870 wxPyListCtrl
*result
;
23871 char *kwnames
[] = {
23875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
23877 if (!wxPyCheckForApp()) SWIG_fail
;
23878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23879 result
= (wxPyListCtrl
*)new wxPyListCtrl();
23881 wxPyEndAllowThreads(__tstate
);
23882 if (PyErr_Occurred()) SWIG_fail
;
23884 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
23891 static PyObject
*_wrap_ListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23892 PyObject
*resultobj
;
23893 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23894 wxWindow
*arg2
= (wxWindow
*) 0 ;
23895 int arg3
= (int) -1 ;
23896 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23897 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23898 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23899 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23900 long arg6
= (long) wxLC_ICON
;
23901 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23902 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23903 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
23904 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23908 bool temp8
= false ;
23909 PyObject
* obj0
= 0 ;
23910 PyObject
* obj1
= 0 ;
23911 PyObject
* obj2
= 0 ;
23912 PyObject
* obj3
= 0 ;
23913 PyObject
* obj4
= 0 ;
23914 PyObject
* obj5
= 0 ;
23915 PyObject
* obj6
= 0 ;
23916 PyObject
* obj7
= 0 ;
23917 char *kwnames
[] = {
23918 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
23923 if (SWIG_arg_fail(1)) SWIG_fail
;
23924 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23925 if (SWIG_arg_fail(2)) SWIG_fail
;
23928 arg3
= (int)(SWIG_As_int(obj2
));
23929 if (SWIG_arg_fail(3)) SWIG_fail
;
23935 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23941 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23946 arg6
= (long)(SWIG_As_long(obj5
));
23947 if (SWIG_arg_fail(6)) SWIG_fail
;
23952 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
23953 if (SWIG_arg_fail(7)) SWIG_fail
;
23954 if (arg7
== NULL
) {
23955 SWIG_null_ref("wxValidator");
23957 if (SWIG_arg_fail(7)) SWIG_fail
;
23962 arg8
= wxString_in_helper(obj7
);
23963 if (arg8
== NULL
) SWIG_fail
;
23968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23969 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
23971 wxPyEndAllowThreads(__tstate
);
23972 if (PyErr_Occurred()) SWIG_fail
;
23975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23991 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23992 PyObject
*resultobj
;
23993 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23994 PyObject
*arg2
= (PyObject
*) 0 ;
23995 PyObject
*arg3
= (PyObject
*) 0 ;
23996 PyObject
* obj0
= 0 ;
23997 PyObject
* obj1
= 0 ;
23998 PyObject
* obj2
= 0 ;
23999 char *kwnames
[] = {
24000 (char *) "self",(char *) "self",(char *) "_class", NULL
24003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24005 if (SWIG_arg_fail(1)) SWIG_fail
;
24009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24010 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24012 wxPyEndAllowThreads(__tstate
);
24013 if (PyErr_Occurred()) SWIG_fail
;
24015 Py_INCREF(Py_None
); resultobj
= Py_None
;
24022 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24023 PyObject
*resultobj
;
24024 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24025 wxColour
*arg2
= 0 ;
24028 PyObject
* obj0
= 0 ;
24029 PyObject
* obj1
= 0 ;
24030 char *kwnames
[] = {
24031 (char *) "self",(char *) "col", NULL
24034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24036 if (SWIG_arg_fail(1)) SWIG_fail
;
24039 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24043 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
24045 wxPyEndAllowThreads(__tstate
);
24046 if (PyErr_Occurred()) SWIG_fail
;
24049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24057 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24058 PyObject
*resultobj
;
24059 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24060 wxColour
*arg2
= 0 ;
24063 PyObject
* obj0
= 0 ;
24064 PyObject
* obj1
= 0 ;
24065 char *kwnames
[] = {
24066 (char *) "self",(char *) "col", NULL
24069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24071 if (SWIG_arg_fail(1)) SWIG_fail
;
24074 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24078 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
24080 wxPyEndAllowThreads(__tstate
);
24081 if (PyErr_Occurred()) SWIG_fail
;
24084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24092 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24093 PyObject
*resultobj
;
24094 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24096 wxListItem
*result
;
24097 PyObject
* obj0
= 0 ;
24098 PyObject
* obj1
= 0 ;
24099 char *kwnames
[] = {
24100 (char *) "self",(char *) "col", NULL
24103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
24104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24105 if (SWIG_arg_fail(1)) SWIG_fail
;
24107 arg2
= (int)(SWIG_As_int(obj1
));
24108 if (SWIG_arg_fail(2)) SWIG_fail
;
24111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24112 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
24114 wxPyEndAllowThreads(__tstate
);
24115 if (PyErr_Occurred()) SWIG_fail
;
24118 resultobj
= wxPyMake_wxObject(result
, 0);
24126 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24127 PyObject
*resultobj
;
24128 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24130 wxListItem
*arg3
= 0 ;
24132 PyObject
* obj0
= 0 ;
24133 PyObject
* obj1
= 0 ;
24134 PyObject
* obj2
= 0 ;
24135 char *kwnames
[] = {
24136 (char *) "self",(char *) "col",(char *) "item", NULL
24139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) 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 arg2
= (int)(SWIG_As_int(obj1
));
24144 if (SWIG_arg_fail(2)) SWIG_fail
;
24147 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24148 if (SWIG_arg_fail(3)) SWIG_fail
;
24149 if (arg3
== NULL
) {
24150 SWIG_null_ref("wxListItem");
24152 if (SWIG_arg_fail(3)) SWIG_fail
;
24155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24156 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
24158 wxPyEndAllowThreads(__tstate
);
24159 if (PyErr_Occurred()) SWIG_fail
;
24162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24170 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24171 PyObject
*resultobj
;
24172 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24175 PyObject
* obj0
= 0 ;
24176 PyObject
* obj1
= 0 ;
24177 char *kwnames
[] = {
24178 (char *) "self",(char *) "col", NULL
24181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
24182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24183 if (SWIG_arg_fail(1)) SWIG_fail
;
24185 arg2
= (int)(SWIG_As_int(obj1
));
24186 if (SWIG_arg_fail(2)) SWIG_fail
;
24189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24190 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
24192 wxPyEndAllowThreads(__tstate
);
24193 if (PyErr_Occurred()) SWIG_fail
;
24196 resultobj
= SWIG_From_int((int)(result
));
24204 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24205 PyObject
*resultobj
;
24206 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24210 PyObject
* obj0
= 0 ;
24211 PyObject
* obj1
= 0 ;
24212 PyObject
* obj2
= 0 ;
24213 char *kwnames
[] = {
24214 (char *) "self",(char *) "col",(char *) "width", NULL
24217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24219 if (SWIG_arg_fail(1)) SWIG_fail
;
24221 arg2
= (int)(SWIG_As_int(obj1
));
24222 if (SWIG_arg_fail(2)) SWIG_fail
;
24225 arg3
= (int)(SWIG_As_int(obj2
));
24226 if (SWIG_arg_fail(3)) SWIG_fail
;
24229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24230 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
24232 wxPyEndAllowThreads(__tstate
);
24233 if (PyErr_Occurred()) SWIG_fail
;
24236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24244 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24245 PyObject
*resultobj
;
24246 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24248 PyObject
* obj0
= 0 ;
24249 char *kwnames
[] = {
24250 (char *) "self", NULL
24253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
24254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24255 if (SWIG_arg_fail(1)) SWIG_fail
;
24257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24258 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
24260 wxPyEndAllowThreads(__tstate
);
24261 if (PyErr_Occurred()) SWIG_fail
;
24264 resultobj
= SWIG_From_int((int)(result
));
24272 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24273 PyObject
*resultobj
;
24274 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24276 PyObject
* obj0
= 0 ;
24277 char *kwnames
[] = {
24278 (char *) "self", NULL
24281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
24282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24283 if (SWIG_arg_fail(1)) SWIG_fail
;
24285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24286 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
24288 wxPyEndAllowThreads(__tstate
);
24289 if (PyErr_Occurred()) SWIG_fail
;
24292 wxRect
* resultptr
;
24293 resultptr
= new wxRect((wxRect
&)(result
));
24294 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
24302 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24303 PyObject
*resultobj
;
24304 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24306 int arg3
= (int) 0 ;
24307 wxListItem
*result
;
24308 PyObject
* obj0
= 0 ;
24309 PyObject
* obj1
= 0 ;
24310 PyObject
* obj2
= 0 ;
24311 char *kwnames
[] = {
24312 (char *) "self",(char *) "itemId",(char *) "col", NULL
24315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24317 if (SWIG_arg_fail(1)) SWIG_fail
;
24319 arg2
= (long)(SWIG_As_long(obj1
));
24320 if (SWIG_arg_fail(2)) SWIG_fail
;
24324 arg3
= (int)(SWIG_As_int(obj2
));
24325 if (SWIG_arg_fail(3)) SWIG_fail
;
24329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24330 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
24332 wxPyEndAllowThreads(__tstate
);
24333 if (PyErr_Occurred()) SWIG_fail
;
24336 resultobj
= wxPyMake_wxObject(result
, 0);
24344 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24345 PyObject
*resultobj
;
24346 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24347 wxListItem
*arg2
= 0 ;
24349 PyObject
* obj0
= 0 ;
24350 PyObject
* obj1
= 0 ;
24351 char *kwnames
[] = {
24352 (char *) "self",(char *) "info", NULL
24355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24357 if (SWIG_arg_fail(1)) SWIG_fail
;
24359 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24360 if (SWIG_arg_fail(2)) SWIG_fail
;
24361 if (arg2
== NULL
) {
24362 SWIG_null_ref("wxListItem");
24364 if (SWIG_arg_fail(2)) SWIG_fail
;
24367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24368 result
= (bool)(arg1
)->SetItem(*arg2
);
24370 wxPyEndAllowThreads(__tstate
);
24371 if (PyErr_Occurred()) SWIG_fail
;
24374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24382 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24383 PyObject
*resultobj
;
24384 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24387 wxString
*arg4
= 0 ;
24388 int arg5
= (int) -1 ;
24390 bool temp4
= false ;
24391 PyObject
* obj0
= 0 ;
24392 PyObject
* obj1
= 0 ;
24393 PyObject
* obj2
= 0 ;
24394 PyObject
* obj3
= 0 ;
24395 PyObject
* obj4
= 0 ;
24396 char *kwnames
[] = {
24397 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
24400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24402 if (SWIG_arg_fail(1)) SWIG_fail
;
24404 arg2
= (long)(SWIG_As_long(obj1
));
24405 if (SWIG_arg_fail(2)) SWIG_fail
;
24408 arg3
= (int)(SWIG_As_int(obj2
));
24409 if (SWIG_arg_fail(3)) SWIG_fail
;
24412 arg4
= wxString_in_helper(obj3
);
24413 if (arg4
== NULL
) SWIG_fail
;
24418 arg5
= (int)(SWIG_As_int(obj4
));
24419 if (SWIG_arg_fail(5)) SWIG_fail
;
24423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24424 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
24426 wxPyEndAllowThreads(__tstate
);
24427 if (PyErr_Occurred()) SWIG_fail
;
24430 resultobj
= SWIG_From_long((long)(result
));
24446 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24447 PyObject
*resultobj
;
24448 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24452 PyObject
* obj0
= 0 ;
24453 PyObject
* obj1
= 0 ;
24454 PyObject
* obj2
= 0 ;
24455 char *kwnames
[] = {
24456 (char *) "self",(char *) "item",(char *) "stateMask", NULL
24459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24461 if (SWIG_arg_fail(1)) SWIG_fail
;
24463 arg2
= (long)(SWIG_As_long(obj1
));
24464 if (SWIG_arg_fail(2)) SWIG_fail
;
24467 arg3
= (long)(SWIG_As_long(obj2
));
24468 if (SWIG_arg_fail(3)) SWIG_fail
;
24471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24472 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
24474 wxPyEndAllowThreads(__tstate
);
24475 if (PyErr_Occurred()) SWIG_fail
;
24478 resultobj
= SWIG_From_int((int)(result
));
24486 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24487 PyObject
*resultobj
;
24488 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24493 PyObject
* obj0
= 0 ;
24494 PyObject
* obj1
= 0 ;
24495 PyObject
* obj2
= 0 ;
24496 PyObject
* obj3
= 0 ;
24497 char *kwnames
[] = {
24498 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
24501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24503 if (SWIG_arg_fail(1)) SWIG_fail
;
24505 arg2
= (long)(SWIG_As_long(obj1
));
24506 if (SWIG_arg_fail(2)) SWIG_fail
;
24509 arg3
= (long)(SWIG_As_long(obj2
));
24510 if (SWIG_arg_fail(3)) SWIG_fail
;
24513 arg4
= (long)(SWIG_As_long(obj3
));
24514 if (SWIG_arg_fail(4)) SWIG_fail
;
24517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24518 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
24520 wxPyEndAllowThreads(__tstate
);
24521 if (PyErr_Occurred()) SWIG_fail
;
24524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24532 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24533 PyObject
*resultobj
;
24534 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24537 int arg4
= (int) -1 ;
24539 PyObject
* obj0
= 0 ;
24540 PyObject
* obj1
= 0 ;
24541 PyObject
* obj2
= 0 ;
24542 PyObject
* obj3
= 0 ;
24543 char *kwnames
[] = {
24544 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
24547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24549 if (SWIG_arg_fail(1)) SWIG_fail
;
24551 arg2
= (long)(SWIG_As_long(obj1
));
24552 if (SWIG_arg_fail(2)) SWIG_fail
;
24555 arg3
= (int)(SWIG_As_int(obj2
));
24556 if (SWIG_arg_fail(3)) SWIG_fail
;
24560 arg4
= (int)(SWIG_As_int(obj3
));
24561 if (SWIG_arg_fail(4)) SWIG_fail
;
24565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24566 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
24568 wxPyEndAllowThreads(__tstate
);
24569 if (PyErr_Occurred()) SWIG_fail
;
24572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24580 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24581 PyObject
*resultobj
;
24582 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24585 PyObject
* obj0
= 0 ;
24586 PyObject
* obj1
= 0 ;
24587 char *kwnames
[] = {
24588 (char *) "self",(char *) "item", NULL
24591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
24592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24593 if (SWIG_arg_fail(1)) SWIG_fail
;
24595 arg2
= (long)(SWIG_As_long(obj1
));
24596 if (SWIG_arg_fail(2)) SWIG_fail
;
24599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24600 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
24602 wxPyEndAllowThreads(__tstate
);
24603 if (PyErr_Occurred()) SWIG_fail
;
24607 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24609 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24618 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24619 PyObject
*resultobj
;
24620 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24622 wxString
*arg3
= 0 ;
24623 bool temp3
= false ;
24624 PyObject
* obj0
= 0 ;
24625 PyObject
* obj1
= 0 ;
24626 PyObject
* obj2
= 0 ;
24627 char *kwnames
[] = {
24628 (char *) "self",(char *) "item",(char *) "str", NULL
24631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24633 if (SWIG_arg_fail(1)) SWIG_fail
;
24635 arg2
= (long)(SWIG_As_long(obj1
));
24636 if (SWIG_arg_fail(2)) SWIG_fail
;
24639 arg3
= wxString_in_helper(obj2
);
24640 if (arg3
== NULL
) SWIG_fail
;
24644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24645 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
24647 wxPyEndAllowThreads(__tstate
);
24648 if (PyErr_Occurred()) SWIG_fail
;
24650 Py_INCREF(Py_None
); resultobj
= Py_None
;
24665 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24666 PyObject
*resultobj
;
24667 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24670 PyObject
* obj0
= 0 ;
24671 PyObject
* obj1
= 0 ;
24672 char *kwnames
[] = {
24673 (char *) "self",(char *) "item", NULL
24676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
24677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24678 if (SWIG_arg_fail(1)) SWIG_fail
;
24680 arg2
= (long)(SWIG_As_long(obj1
));
24681 if (SWIG_arg_fail(2)) SWIG_fail
;
24684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24685 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
24687 wxPyEndAllowThreads(__tstate
);
24688 if (PyErr_Occurred()) SWIG_fail
;
24691 resultobj
= SWIG_From_long((long)(result
));
24699 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24700 PyObject
*resultobj
;
24701 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24705 PyObject
* obj0
= 0 ;
24706 PyObject
* obj1
= 0 ;
24707 PyObject
* obj2
= 0 ;
24708 char *kwnames
[] = {
24709 (char *) "self",(char *) "item",(char *) "data", NULL
24712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24714 if (SWIG_arg_fail(1)) SWIG_fail
;
24716 arg2
= (long)(SWIG_As_long(obj1
));
24717 if (SWIG_arg_fail(2)) SWIG_fail
;
24720 arg3
= (long)(SWIG_As_long(obj2
));
24721 if (SWIG_arg_fail(3)) SWIG_fail
;
24724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24725 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
24727 wxPyEndAllowThreads(__tstate
);
24728 if (PyErr_Occurred()) SWIG_fail
;
24731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24739 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24740 PyObject
*resultobj
;
24741 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24744 PyObject
* obj0
= 0 ;
24745 PyObject
* obj1
= 0 ;
24746 char *kwnames
[] = {
24747 (char *) "self",(char *) "item", NULL
24750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
24751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24752 if (SWIG_arg_fail(1)) SWIG_fail
;
24754 arg2
= (long)(SWIG_As_long(obj1
));
24755 if (SWIG_arg_fail(2)) SWIG_fail
;
24758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24759 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
24761 wxPyEndAllowThreads(__tstate
);
24762 if (PyErr_Occurred()) SWIG_fail
;
24765 wxPoint
* resultptr
;
24766 resultptr
= new wxPoint((wxPoint
&)(result
));
24767 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24775 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24776 PyObject
*resultobj
;
24777 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24779 int arg3
= (int) wxLIST_RECT_BOUNDS
;
24781 PyObject
* obj0
= 0 ;
24782 PyObject
* obj1
= 0 ;
24783 PyObject
* obj2
= 0 ;
24784 char *kwnames
[] = {
24785 (char *) "self",(char *) "item",(char *) "code", NULL
24788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24790 if (SWIG_arg_fail(1)) SWIG_fail
;
24792 arg2
= (long)(SWIG_As_long(obj1
));
24793 if (SWIG_arg_fail(2)) SWIG_fail
;
24797 arg3
= (int)(SWIG_As_int(obj2
));
24798 if (SWIG_arg_fail(3)) SWIG_fail
;
24802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24803 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
24805 wxPyEndAllowThreads(__tstate
);
24806 if (PyErr_Occurred()) SWIG_fail
;
24809 wxRect
* resultptr
;
24810 resultptr
= new wxRect((wxRect
&)(result
));
24811 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
24819 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24820 PyObject
*resultobj
;
24821 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24823 wxPoint
*arg3
= 0 ;
24826 PyObject
* obj0
= 0 ;
24827 PyObject
* obj1
= 0 ;
24828 PyObject
* obj2
= 0 ;
24829 char *kwnames
[] = {
24830 (char *) "self",(char *) "item",(char *) "pos", NULL
24833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24835 if (SWIG_arg_fail(1)) SWIG_fail
;
24837 arg2
= (long)(SWIG_As_long(obj1
));
24838 if (SWIG_arg_fail(2)) SWIG_fail
;
24842 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24846 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
24848 wxPyEndAllowThreads(__tstate
);
24849 if (PyErr_Occurred()) SWIG_fail
;
24852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24860 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24861 PyObject
*resultobj
;
24862 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24864 PyObject
* obj0
= 0 ;
24865 char *kwnames
[] = {
24866 (char *) "self", NULL
24869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
24870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24871 if (SWIG_arg_fail(1)) SWIG_fail
;
24873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24874 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
24876 wxPyEndAllowThreads(__tstate
);
24877 if (PyErr_Occurred()) SWIG_fail
;
24880 resultobj
= SWIG_From_int((int)(result
));
24888 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24889 PyObject
*resultobj
;
24890 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24892 PyObject
* obj0
= 0 ;
24893 char *kwnames
[] = {
24894 (char *) "self", NULL
24897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
24898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24899 if (SWIG_arg_fail(1)) SWIG_fail
;
24901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24902 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
24904 wxPyEndAllowThreads(__tstate
);
24905 if (PyErr_Occurred()) SWIG_fail
;
24908 resultobj
= SWIG_From_int((int)(result
));
24916 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24917 PyObject
*resultobj
;
24918 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24920 PyObject
* obj0
= 0 ;
24921 char *kwnames
[] = {
24922 (char *) "self", NULL
24925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
24926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24927 if (SWIG_arg_fail(1)) SWIG_fail
;
24929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24930 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
24932 wxPyEndAllowThreads(__tstate
);
24933 if (PyErr_Occurred()) SWIG_fail
;
24936 wxSize
* resultptr
;
24937 resultptr
= new wxSize((wxSize
&)(result
));
24938 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24946 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24947 PyObject
*resultobj
;
24948 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24950 bool arg3
= (bool) false ;
24951 PyObject
* obj0
= 0 ;
24952 PyObject
* obj1
= 0 ;
24953 PyObject
* obj2
= 0 ;
24954 char *kwnames
[] = {
24955 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
24958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24960 if (SWIG_arg_fail(1)) SWIG_fail
;
24962 arg2
= (int)(SWIG_As_int(obj1
));
24963 if (SWIG_arg_fail(2)) SWIG_fail
;
24967 arg3
= (bool)(SWIG_As_bool(obj2
));
24968 if (SWIG_arg_fail(3)) SWIG_fail
;
24972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24973 (arg1
)->SetItemSpacing(arg2
,arg3
);
24975 wxPyEndAllowThreads(__tstate
);
24976 if (PyErr_Occurred()) SWIG_fail
;
24978 Py_INCREF(Py_None
); resultobj
= Py_None
;
24985 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24986 PyObject
*resultobj
;
24987 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24989 PyObject
* obj0
= 0 ;
24990 char *kwnames
[] = {
24991 (char *) "self", NULL
24994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
24995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24996 if (SWIG_arg_fail(1)) SWIG_fail
;
24998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24999 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
25001 wxPyEndAllowThreads(__tstate
);
25002 if (PyErr_Occurred()) SWIG_fail
;
25005 resultobj
= SWIG_From_int((int)(result
));
25013 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25014 PyObject
*resultobj
;
25015 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25017 PyObject
* obj0
= 0 ;
25018 char *kwnames
[] = {
25019 (char *) "self", NULL
25022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
25023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25024 if (SWIG_arg_fail(1)) SWIG_fail
;
25026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25027 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
25029 wxPyEndAllowThreads(__tstate
);
25030 if (PyErr_Occurred()) SWIG_fail
;
25033 wxColour
* resultptr
;
25034 resultptr
= new wxColour((wxColour
&)(result
));
25035 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25043 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25044 PyObject
*resultobj
;
25045 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25046 wxColour
*arg2
= 0 ;
25048 PyObject
* obj0
= 0 ;
25049 PyObject
* obj1
= 0 ;
25050 char *kwnames
[] = {
25051 (char *) "self",(char *) "col", NULL
25054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25056 if (SWIG_arg_fail(1)) SWIG_fail
;
25059 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25063 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
25065 wxPyEndAllowThreads(__tstate
);
25066 if (PyErr_Occurred()) SWIG_fail
;
25068 Py_INCREF(Py_None
); resultobj
= Py_None
;
25075 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25076 PyObject
*resultobj
;
25077 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25079 PyObject
* obj0
= 0 ;
25080 char *kwnames
[] = {
25081 (char *) "self", NULL
25084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
25085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25086 if (SWIG_arg_fail(1)) SWIG_fail
;
25088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25089 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
25091 wxPyEndAllowThreads(__tstate
);
25092 if (PyErr_Occurred()) SWIG_fail
;
25095 resultobj
= SWIG_From_long((long)(result
));
25103 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25104 PyObject
*resultobj
;
25105 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25107 bool arg3
= (bool) true ;
25108 PyObject
* obj0
= 0 ;
25109 PyObject
* obj1
= 0 ;
25110 PyObject
* obj2
= 0 ;
25111 char *kwnames
[] = {
25112 (char *) "self",(char *) "style",(char *) "add", NULL
25115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25117 if (SWIG_arg_fail(1)) SWIG_fail
;
25119 arg2
= (long)(SWIG_As_long(obj1
));
25120 if (SWIG_arg_fail(2)) SWIG_fail
;
25124 arg3
= (bool)(SWIG_As_bool(obj2
));
25125 if (SWIG_arg_fail(3)) SWIG_fail
;
25129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25130 (arg1
)->SetSingleStyle(arg2
,arg3
);
25132 wxPyEndAllowThreads(__tstate
);
25133 if (PyErr_Occurred()) SWIG_fail
;
25135 Py_INCREF(Py_None
); resultobj
= Py_None
;
25142 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25143 PyObject
*resultobj
;
25144 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25146 PyObject
* obj0
= 0 ;
25147 PyObject
* obj1
= 0 ;
25148 char *kwnames
[] = {
25149 (char *) "self",(char *) "style", NULL
25152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
25153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25154 if (SWIG_arg_fail(1)) SWIG_fail
;
25156 arg2
= (long)(SWIG_As_long(obj1
));
25157 if (SWIG_arg_fail(2)) SWIG_fail
;
25160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25161 (arg1
)->SetWindowStyleFlag(arg2
);
25163 wxPyEndAllowThreads(__tstate
);
25164 if (PyErr_Occurred()) SWIG_fail
;
25166 Py_INCREF(Py_None
); resultobj
= Py_None
;
25173 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25174 PyObject
*resultobj
;
25175 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25177 int arg3
= (int) wxLIST_NEXT_ALL
;
25178 int arg4
= (int) wxLIST_STATE_DONTCARE
;
25180 PyObject
* obj0
= 0 ;
25181 PyObject
* obj1
= 0 ;
25182 PyObject
* obj2
= 0 ;
25183 PyObject
* obj3
= 0 ;
25184 char *kwnames
[] = {
25185 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
25188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25190 if (SWIG_arg_fail(1)) SWIG_fail
;
25192 arg2
= (long)(SWIG_As_long(obj1
));
25193 if (SWIG_arg_fail(2)) SWIG_fail
;
25197 arg3
= (int)(SWIG_As_int(obj2
));
25198 if (SWIG_arg_fail(3)) SWIG_fail
;
25203 arg4
= (int)(SWIG_As_int(obj3
));
25204 if (SWIG_arg_fail(4)) SWIG_fail
;
25208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25209 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
25211 wxPyEndAllowThreads(__tstate
);
25212 if (PyErr_Occurred()) SWIG_fail
;
25215 resultobj
= SWIG_From_long((long)(result
));
25223 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25224 PyObject
*resultobj
;
25225 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25227 wxImageList
*result
;
25228 PyObject
* obj0
= 0 ;
25229 PyObject
* obj1
= 0 ;
25230 char *kwnames
[] = {
25231 (char *) "self",(char *) "which", NULL
25234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25236 if (SWIG_arg_fail(1)) SWIG_fail
;
25238 arg2
= (int)(SWIG_As_int(obj1
));
25239 if (SWIG_arg_fail(2)) SWIG_fail
;
25242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25243 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
25245 wxPyEndAllowThreads(__tstate
);
25246 if (PyErr_Occurred()) SWIG_fail
;
25249 resultobj
= wxPyMake_wxObject(result
, 0);
25257 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25258 PyObject
*resultobj
;
25259 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25260 wxImageList
*arg2
= (wxImageList
*) 0 ;
25262 PyObject
* obj0
= 0 ;
25263 PyObject
* obj1
= 0 ;
25264 PyObject
* obj2
= 0 ;
25265 char *kwnames
[] = {
25266 (char *) "self",(char *) "imageList",(char *) "which", NULL
25269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25271 if (SWIG_arg_fail(1)) SWIG_fail
;
25272 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
25273 if (SWIG_arg_fail(2)) SWIG_fail
;
25275 arg3
= (int)(SWIG_As_int(obj2
));
25276 if (SWIG_arg_fail(3)) SWIG_fail
;
25279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25280 (arg1
)->SetImageList(arg2
,arg3
);
25282 wxPyEndAllowThreads(__tstate
);
25283 if (PyErr_Occurred()) SWIG_fail
;
25285 Py_INCREF(Py_None
); resultobj
= Py_None
;
25292 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25293 PyObject
*resultobj
;
25294 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25295 wxImageList
*arg2
= (wxImageList
*) 0 ;
25297 PyObject
* obj0
= 0 ;
25298 PyObject
* obj1
= 0 ;
25299 PyObject
* obj2
= 0 ;
25300 char *kwnames
[] = {
25301 (char *) "self",(char *) "imageList",(char *) "which", NULL
25304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25306 if (SWIG_arg_fail(1)) SWIG_fail
;
25307 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25308 if (SWIG_arg_fail(2)) SWIG_fail
;
25310 arg3
= (int)(SWIG_As_int(obj2
));
25311 if (SWIG_arg_fail(3)) SWIG_fail
;
25314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25315 (arg1
)->AssignImageList(arg2
,arg3
);
25317 wxPyEndAllowThreads(__tstate
);
25318 if (PyErr_Occurred()) SWIG_fail
;
25320 Py_INCREF(Py_None
); resultobj
= Py_None
;
25327 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25328 PyObject
*resultobj
;
25329 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25331 PyObject
* obj0
= 0 ;
25332 char *kwnames
[] = {
25333 (char *) "self", NULL
25336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
25337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25338 if (SWIG_arg_fail(1)) SWIG_fail
;
25340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25341 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
25343 wxPyEndAllowThreads(__tstate
);
25344 if (PyErr_Occurred()) SWIG_fail
;
25347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25355 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25356 PyObject
*resultobj
;
25357 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25359 PyObject
* obj0
= 0 ;
25360 char *kwnames
[] = {
25361 (char *) "self", NULL
25364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
25365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25366 if (SWIG_arg_fail(1)) SWIG_fail
;
25368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25369 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
25371 wxPyEndAllowThreads(__tstate
);
25372 if (PyErr_Occurred()) SWIG_fail
;
25375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25383 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25384 PyObject
*resultobj
;
25385 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25387 PyObject
* obj0
= 0 ;
25388 PyObject
* obj1
= 0 ;
25389 char *kwnames
[] = {
25390 (char *) "self",(char *) "item", NULL
25393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25395 if (SWIG_arg_fail(1)) SWIG_fail
;
25397 arg2
= (long)(SWIG_As_long(obj1
));
25398 if (SWIG_arg_fail(2)) SWIG_fail
;
25401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25402 (arg1
)->RefreshItem(arg2
);
25404 wxPyEndAllowThreads(__tstate
);
25405 if (PyErr_Occurred()) SWIG_fail
;
25407 Py_INCREF(Py_None
); resultobj
= Py_None
;
25414 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25415 PyObject
*resultobj
;
25416 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25419 PyObject
* obj0
= 0 ;
25420 PyObject
* obj1
= 0 ;
25421 PyObject
* obj2
= 0 ;
25422 char *kwnames
[] = {
25423 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
25426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25428 if (SWIG_arg_fail(1)) SWIG_fail
;
25430 arg2
= (long)(SWIG_As_long(obj1
));
25431 if (SWIG_arg_fail(2)) SWIG_fail
;
25434 arg3
= (long)(SWIG_As_long(obj2
));
25435 if (SWIG_arg_fail(3)) SWIG_fail
;
25438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25439 (arg1
)->RefreshItems(arg2
,arg3
);
25441 wxPyEndAllowThreads(__tstate
);
25442 if (PyErr_Occurred()) SWIG_fail
;
25444 Py_INCREF(Py_None
); resultobj
= Py_None
;
25451 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25452 PyObject
*resultobj
;
25453 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25454 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
25456 PyObject
* obj0
= 0 ;
25457 PyObject
* obj1
= 0 ;
25458 char *kwnames
[] = {
25459 (char *) "self",(char *) "flag", NULL
25462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
25463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25464 if (SWIG_arg_fail(1)) SWIG_fail
;
25467 arg2
= (int)(SWIG_As_int(obj1
));
25468 if (SWIG_arg_fail(2)) SWIG_fail
;
25472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25473 result
= (bool)(arg1
)->Arrange(arg2
);
25475 wxPyEndAllowThreads(__tstate
);
25476 if (PyErr_Occurred()) SWIG_fail
;
25479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25487 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25488 PyObject
*resultobj
;
25489 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25492 PyObject
* obj0
= 0 ;
25493 PyObject
* obj1
= 0 ;
25494 char *kwnames
[] = {
25495 (char *) "self",(char *) "item", NULL
25498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25500 if (SWIG_arg_fail(1)) SWIG_fail
;
25502 arg2
= (long)(SWIG_As_long(obj1
));
25503 if (SWIG_arg_fail(2)) SWIG_fail
;
25506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25507 result
= (bool)(arg1
)->DeleteItem(arg2
);
25509 wxPyEndAllowThreads(__tstate
);
25510 if (PyErr_Occurred()) SWIG_fail
;
25513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25521 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25522 PyObject
*resultobj
;
25523 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25525 PyObject
* obj0
= 0 ;
25526 char *kwnames
[] = {
25527 (char *) "self", NULL
25530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
25531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25532 if (SWIG_arg_fail(1)) SWIG_fail
;
25534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25535 result
= (bool)(arg1
)->DeleteAllItems();
25537 wxPyEndAllowThreads(__tstate
);
25538 if (PyErr_Occurred()) SWIG_fail
;
25541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25549 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25550 PyObject
*resultobj
;
25551 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25554 PyObject
* obj0
= 0 ;
25555 PyObject
* obj1
= 0 ;
25556 char *kwnames
[] = {
25557 (char *) "self",(char *) "col", NULL
25560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
25561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25562 if (SWIG_arg_fail(1)) SWIG_fail
;
25564 arg2
= (int)(SWIG_As_int(obj1
));
25565 if (SWIG_arg_fail(2)) SWIG_fail
;
25568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25569 result
= (bool)(arg1
)->DeleteColumn(arg2
);
25571 wxPyEndAllowThreads(__tstate
);
25572 if (PyErr_Occurred()) SWIG_fail
;
25575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25583 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25584 PyObject
*resultobj
;
25585 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25587 PyObject
* obj0
= 0 ;
25588 char *kwnames
[] = {
25589 (char *) "self", NULL
25592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
25593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25594 if (SWIG_arg_fail(1)) SWIG_fail
;
25596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25597 result
= (bool)(arg1
)->DeleteAllColumns();
25599 wxPyEndAllowThreads(__tstate
);
25600 if (PyErr_Occurred()) SWIG_fail
;
25603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25611 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25612 PyObject
*resultobj
;
25613 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25614 PyObject
* obj0
= 0 ;
25615 char *kwnames
[] = {
25616 (char *) "self", NULL
25619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
25620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25621 if (SWIG_arg_fail(1)) SWIG_fail
;
25623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25624 (arg1
)->ClearAll();
25626 wxPyEndAllowThreads(__tstate
);
25627 if (PyErr_Occurred()) SWIG_fail
;
25629 Py_INCREF(Py_None
); resultobj
= Py_None
;
25636 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25637 PyObject
*resultobj
;
25638 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25640 PyObject
* obj0
= 0 ;
25641 PyObject
* obj1
= 0 ;
25642 char *kwnames
[] = {
25643 (char *) "self",(char *) "item", NULL
25646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25648 if (SWIG_arg_fail(1)) SWIG_fail
;
25650 arg2
= (long)(SWIG_As_long(obj1
));
25651 if (SWIG_arg_fail(2)) SWIG_fail
;
25654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25655 (arg1
)->EditLabel(arg2
);
25657 wxPyEndAllowThreads(__tstate
);
25658 if (PyErr_Occurred()) SWIG_fail
;
25660 Py_INCREF(Py_None
); resultobj
= Py_None
;
25667 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25668 PyObject
*resultobj
;
25669 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25672 PyObject
* obj0
= 0 ;
25673 PyObject
* obj1
= 0 ;
25674 char *kwnames
[] = {
25675 (char *) "self",(char *) "item", NULL
25678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25680 if (SWIG_arg_fail(1)) SWIG_fail
;
25682 arg2
= (long)(SWIG_As_long(obj1
));
25683 if (SWIG_arg_fail(2)) SWIG_fail
;
25686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25687 result
= (bool)(arg1
)->EnsureVisible(arg2
);
25689 wxPyEndAllowThreads(__tstate
);
25690 if (PyErr_Occurred()) SWIG_fail
;
25693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25701 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25702 PyObject
*resultobj
;
25703 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25705 wxString
*arg3
= 0 ;
25706 bool arg4
= (bool) false ;
25708 bool temp3
= false ;
25709 PyObject
* obj0
= 0 ;
25710 PyObject
* obj1
= 0 ;
25711 PyObject
* obj2
= 0 ;
25712 PyObject
* obj3
= 0 ;
25713 char *kwnames
[] = {
25714 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
25717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25719 if (SWIG_arg_fail(1)) SWIG_fail
;
25721 arg2
= (long)(SWIG_As_long(obj1
));
25722 if (SWIG_arg_fail(2)) SWIG_fail
;
25725 arg3
= wxString_in_helper(obj2
);
25726 if (arg3
== NULL
) SWIG_fail
;
25731 arg4
= (bool)(SWIG_As_bool(obj3
));
25732 if (SWIG_arg_fail(4)) SWIG_fail
;
25736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25737 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
25739 wxPyEndAllowThreads(__tstate
);
25740 if (PyErr_Occurred()) SWIG_fail
;
25743 resultobj
= SWIG_From_long((long)(result
));
25759 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25760 PyObject
*resultobj
;
25761 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25765 PyObject
* obj0
= 0 ;
25766 PyObject
* obj1
= 0 ;
25767 PyObject
* obj2
= 0 ;
25768 char *kwnames
[] = {
25769 (char *) "self",(char *) "start",(char *) "data", NULL
25772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25774 if (SWIG_arg_fail(1)) SWIG_fail
;
25776 arg2
= (long)(SWIG_As_long(obj1
));
25777 if (SWIG_arg_fail(2)) SWIG_fail
;
25780 arg3
= (long)(SWIG_As_long(obj2
));
25781 if (SWIG_arg_fail(3)) SWIG_fail
;
25784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25785 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
25787 wxPyEndAllowThreads(__tstate
);
25788 if (PyErr_Occurred()) SWIG_fail
;
25791 resultobj
= SWIG_From_long((long)(result
));
25799 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25800 PyObject
*resultobj
;
25801 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25803 wxPoint
*arg3
= 0 ;
25807 PyObject
* obj0
= 0 ;
25808 PyObject
* obj1
= 0 ;
25809 PyObject
* obj2
= 0 ;
25810 PyObject
* obj3
= 0 ;
25811 char *kwnames
[] = {
25812 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
25815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25817 if (SWIG_arg_fail(1)) SWIG_fail
;
25819 arg2
= (long)(SWIG_As_long(obj1
));
25820 if (SWIG_arg_fail(2)) SWIG_fail
;
25824 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25827 arg4
= (int)(SWIG_As_int(obj3
));
25828 if (SWIG_arg_fail(4)) SWIG_fail
;
25831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25832 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
25834 wxPyEndAllowThreads(__tstate
);
25835 if (PyErr_Occurred()) SWIG_fail
;
25838 resultobj
= SWIG_From_long((long)(result
));
25846 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25847 PyObject
*resultobj
;
25848 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25849 wxPoint
*arg2
= 0 ;
25855 PyObject
* obj0
= 0 ;
25856 PyObject
* obj1
= 0 ;
25857 char *kwnames
[] = {
25858 (char *) "self",(char *) "point", NULL
25861 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
25863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25864 if (SWIG_arg_fail(1)) SWIG_fail
;
25867 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25871 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
25873 wxPyEndAllowThreads(__tstate
);
25874 if (PyErr_Occurred()) SWIG_fail
;
25877 resultobj
= SWIG_From_long((long)(result
));
25879 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25880 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25887 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25888 PyObject
*resultobj
;
25889 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25890 wxListItem
*arg2
= 0 ;
25892 PyObject
* obj0
= 0 ;
25893 PyObject
* obj1
= 0 ;
25894 char *kwnames
[] = {
25895 (char *) "self",(char *) "info", NULL
25898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25900 if (SWIG_arg_fail(1)) SWIG_fail
;
25902 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
25903 if (SWIG_arg_fail(2)) SWIG_fail
;
25904 if (arg2
== NULL
) {
25905 SWIG_null_ref("wxListItem");
25907 if (SWIG_arg_fail(2)) SWIG_fail
;
25910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25911 result
= (long)(arg1
)->InsertItem(*arg2
);
25913 wxPyEndAllowThreads(__tstate
);
25914 if (PyErr_Occurred()) SWIG_fail
;
25917 resultobj
= SWIG_From_long((long)(result
));
25925 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25926 PyObject
*resultobj
;
25927 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25929 wxString
*arg3
= 0 ;
25931 bool temp3
= false ;
25932 PyObject
* obj0
= 0 ;
25933 PyObject
* obj1
= 0 ;
25934 PyObject
* obj2
= 0 ;
25935 char *kwnames
[] = {
25936 (char *) "self",(char *) "index",(char *) "label", NULL
25939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25941 if (SWIG_arg_fail(1)) SWIG_fail
;
25943 arg2
= (long)(SWIG_As_long(obj1
));
25944 if (SWIG_arg_fail(2)) SWIG_fail
;
25947 arg3
= wxString_in_helper(obj2
);
25948 if (arg3
== NULL
) SWIG_fail
;
25952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25953 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
25955 wxPyEndAllowThreads(__tstate
);
25956 if (PyErr_Occurred()) SWIG_fail
;
25959 resultobj
= SWIG_From_long((long)(result
));
25975 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25976 PyObject
*resultobj
;
25977 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25981 PyObject
* obj0
= 0 ;
25982 PyObject
* obj1
= 0 ;
25983 PyObject
* obj2
= 0 ;
25984 char *kwnames
[] = {
25985 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
25988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25990 if (SWIG_arg_fail(1)) SWIG_fail
;
25992 arg2
= (long)(SWIG_As_long(obj1
));
25993 if (SWIG_arg_fail(2)) SWIG_fail
;
25996 arg3
= (int)(SWIG_As_int(obj2
));
25997 if (SWIG_arg_fail(3)) SWIG_fail
;
26000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26001 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
26003 wxPyEndAllowThreads(__tstate
);
26004 if (PyErr_Occurred()) SWIG_fail
;
26007 resultobj
= SWIG_From_long((long)(result
));
26015 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26016 PyObject
*resultobj
;
26017 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26019 wxString
*arg3
= 0 ;
26022 bool temp3
= false ;
26023 PyObject
* obj0
= 0 ;
26024 PyObject
* obj1
= 0 ;
26025 PyObject
* obj2
= 0 ;
26026 PyObject
* obj3
= 0 ;
26027 char *kwnames
[] = {
26028 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
26031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26033 if (SWIG_arg_fail(1)) SWIG_fail
;
26035 arg2
= (long)(SWIG_As_long(obj1
));
26036 if (SWIG_arg_fail(2)) SWIG_fail
;
26039 arg3
= wxString_in_helper(obj2
);
26040 if (arg3
== NULL
) SWIG_fail
;
26044 arg4
= (int)(SWIG_As_int(obj3
));
26045 if (SWIG_arg_fail(4)) SWIG_fail
;
26048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26049 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
26051 wxPyEndAllowThreads(__tstate
);
26052 if (PyErr_Occurred()) SWIG_fail
;
26055 resultobj
= SWIG_From_long((long)(result
));
26071 static PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26072 PyObject
*resultobj
;
26073 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26075 wxListItem
*arg3
= 0 ;
26077 PyObject
* obj0
= 0 ;
26078 PyObject
* obj1
= 0 ;
26079 PyObject
* obj2
= 0 ;
26080 char *kwnames
[] = {
26081 (char *) "self",(char *) "col",(char *) "info", NULL
26084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26086 if (SWIG_arg_fail(1)) SWIG_fail
;
26088 arg2
= (long)(SWIG_As_long(obj1
));
26089 if (SWIG_arg_fail(2)) SWIG_fail
;
26092 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
26093 if (SWIG_arg_fail(3)) SWIG_fail
;
26094 if (arg3
== NULL
) {
26095 SWIG_null_ref("wxListItem");
26097 if (SWIG_arg_fail(3)) SWIG_fail
;
26100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26101 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
26103 wxPyEndAllowThreads(__tstate
);
26104 if (PyErr_Occurred()) SWIG_fail
;
26107 resultobj
= SWIG_From_long((long)(result
));
26115 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26116 PyObject
*resultobj
;
26117 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26119 wxString
*arg3
= 0 ;
26120 int arg4
= (int) wxLIST_FORMAT_LEFT
;
26121 int arg5
= (int) -1 ;
26123 bool temp3
= false ;
26124 PyObject
* obj0
= 0 ;
26125 PyObject
* obj1
= 0 ;
26126 PyObject
* obj2
= 0 ;
26127 PyObject
* obj3
= 0 ;
26128 PyObject
* obj4
= 0 ;
26129 char *kwnames
[] = {
26130 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
26133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26135 if (SWIG_arg_fail(1)) SWIG_fail
;
26137 arg2
= (long)(SWIG_As_long(obj1
));
26138 if (SWIG_arg_fail(2)) SWIG_fail
;
26141 arg3
= wxString_in_helper(obj2
);
26142 if (arg3
== NULL
) SWIG_fail
;
26147 arg4
= (int)(SWIG_As_int(obj3
));
26148 if (SWIG_arg_fail(4)) SWIG_fail
;
26153 arg5
= (int)(SWIG_As_int(obj4
));
26154 if (SWIG_arg_fail(5)) SWIG_fail
;
26158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26159 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
26161 wxPyEndAllowThreads(__tstate
);
26162 if (PyErr_Occurred()) SWIG_fail
;
26165 resultobj
= SWIG_From_long((long)(result
));
26181 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26182 PyObject
*resultobj
;
26183 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26185 PyObject
* obj0
= 0 ;
26186 PyObject
* obj1
= 0 ;
26187 char *kwnames
[] = {
26188 (char *) "self",(char *) "count", NULL
26191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
26192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26193 if (SWIG_arg_fail(1)) SWIG_fail
;
26195 arg2
= (long)(SWIG_As_long(obj1
));
26196 if (SWIG_arg_fail(2)) SWIG_fail
;
26199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26200 (arg1
)->SetItemCount(arg2
);
26202 wxPyEndAllowThreads(__tstate
);
26203 if (PyErr_Occurred()) SWIG_fail
;
26205 Py_INCREF(Py_None
); resultobj
= Py_None
;
26212 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26213 PyObject
*resultobj
;
26214 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26218 PyObject
* obj0
= 0 ;
26219 PyObject
* obj1
= 0 ;
26220 PyObject
* obj2
= 0 ;
26221 char *kwnames
[] = {
26222 (char *) "self",(char *) "dx",(char *) "dy", NULL
26225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26227 if (SWIG_arg_fail(1)) SWIG_fail
;
26229 arg2
= (int)(SWIG_As_int(obj1
));
26230 if (SWIG_arg_fail(2)) SWIG_fail
;
26233 arg3
= (int)(SWIG_As_int(obj2
));
26234 if (SWIG_arg_fail(3)) SWIG_fail
;
26237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26238 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
26240 wxPyEndAllowThreads(__tstate
);
26241 if (PyErr_Occurred()) SWIG_fail
;
26244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26252 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26253 PyObject
*resultobj
;
26254 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26256 wxColour
*arg3
= 0 ;
26258 PyObject
* obj0
= 0 ;
26259 PyObject
* obj1
= 0 ;
26260 PyObject
* obj2
= 0 ;
26261 char *kwnames
[] = {
26262 (char *) "self",(char *) "item",(char *) "col", NULL
26265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26267 if (SWIG_arg_fail(1)) SWIG_fail
;
26269 arg2
= (long)(SWIG_As_long(obj1
));
26270 if (SWIG_arg_fail(2)) SWIG_fail
;
26274 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26278 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
26280 wxPyEndAllowThreads(__tstate
);
26281 if (PyErr_Occurred()) SWIG_fail
;
26283 Py_INCREF(Py_None
); resultobj
= Py_None
;
26290 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26291 PyObject
*resultobj
;
26292 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26295 PyObject
* obj0
= 0 ;
26296 PyObject
* obj1
= 0 ;
26297 char *kwnames
[] = {
26298 (char *) "self",(char *) "item", NULL
26301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26303 if (SWIG_arg_fail(1)) SWIG_fail
;
26305 arg2
= (long)(SWIG_As_long(obj1
));
26306 if (SWIG_arg_fail(2)) SWIG_fail
;
26309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26310 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
26312 wxPyEndAllowThreads(__tstate
);
26313 if (PyErr_Occurred()) SWIG_fail
;
26316 wxColour
* resultptr
;
26317 resultptr
= new wxColour((wxColour
&)(result
));
26318 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26326 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26327 PyObject
*resultobj
;
26328 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26330 wxColour
*arg3
= 0 ;
26332 PyObject
* obj0
= 0 ;
26333 PyObject
* obj1
= 0 ;
26334 PyObject
* obj2
= 0 ;
26335 char *kwnames
[] = {
26336 (char *) "self",(char *) "item",(char *) "col", NULL
26339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26341 if (SWIG_arg_fail(1)) SWIG_fail
;
26343 arg2
= (long)(SWIG_As_long(obj1
));
26344 if (SWIG_arg_fail(2)) SWIG_fail
;
26348 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26352 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
26354 wxPyEndAllowThreads(__tstate
);
26355 if (PyErr_Occurred()) SWIG_fail
;
26357 Py_INCREF(Py_None
); resultobj
= Py_None
;
26364 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26365 PyObject
*resultobj
;
26366 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26369 PyObject
* obj0
= 0 ;
26370 PyObject
* obj1
= 0 ;
26371 char *kwnames
[] = {
26372 (char *) "self",(char *) "item", NULL
26375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) 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 arg2
= (long)(SWIG_As_long(obj1
));
26380 if (SWIG_arg_fail(2)) SWIG_fail
;
26383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26384 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
26386 wxPyEndAllowThreads(__tstate
);
26387 if (PyErr_Occurred()) SWIG_fail
;
26390 wxColour
* resultptr
;
26391 resultptr
= new wxColour((wxColour
&)(result
));
26392 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26400 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26401 PyObject
*resultobj
;
26402 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26403 PyObject
*arg2
= (PyObject
*) 0 ;
26405 PyObject
* obj0
= 0 ;
26406 PyObject
* obj1
= 0 ;
26407 char *kwnames
[] = {
26408 (char *) "self",(char *) "func", NULL
26411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
26412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26413 if (SWIG_arg_fail(1)) SWIG_fail
;
26416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26417 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
26419 wxPyEndAllowThreads(__tstate
);
26420 if (PyErr_Occurred()) SWIG_fail
;
26423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26431 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26432 PyObject
*resultobj
;
26433 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26435 PyObject
* obj0
= 0 ;
26436 char *kwnames
[] = {
26437 (char *) "self", NULL
26440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
26441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26442 if (SWIG_arg_fail(1)) SWIG_fail
;
26444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26445 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
26447 wxPyEndAllowThreads(__tstate
);
26448 if (PyErr_Occurred()) SWIG_fail
;
26451 resultobj
= wxPyMake_wxObject(result
, 0);
26459 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26460 PyObject
*resultobj
;
26461 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
26462 wxVisualAttributes result
;
26463 PyObject
* obj0
= 0 ;
26464 char *kwnames
[] = {
26465 (char *) "variant", NULL
26468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26471 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
26472 if (SWIG_arg_fail(1)) SWIG_fail
;
26476 if (!wxPyCheckForApp()) SWIG_fail
;
26477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26478 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
26480 wxPyEndAllowThreads(__tstate
);
26481 if (PyErr_Occurred()) SWIG_fail
;
26484 wxVisualAttributes
* resultptr
;
26485 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
26486 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26494 static PyObject
* ListCtrl_swigregister(PyObject
*, PyObject
*args
) {
26496 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26497 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
26499 return Py_BuildValue((char *)"");
26501 static PyObject
*_wrap_new_ListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26502 PyObject
*resultobj
;
26503 wxWindow
*arg1
= (wxWindow
*) 0 ;
26504 int arg2
= (int) -1 ;
26505 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
26506 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
26507 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26508 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26509 long arg5
= (long) wxLC_REPORT
;
26510 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
26511 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
26512 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
26513 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26514 wxListView
*result
;
26517 bool temp7
= false ;
26518 PyObject
* obj0
= 0 ;
26519 PyObject
* obj1
= 0 ;
26520 PyObject
* obj2
= 0 ;
26521 PyObject
* obj3
= 0 ;
26522 PyObject
* obj4
= 0 ;
26523 PyObject
* obj5
= 0 ;
26524 PyObject
* obj6
= 0 ;
26525 char *kwnames
[] = {
26526 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26531 if (SWIG_arg_fail(1)) SWIG_fail
;
26534 arg2
= (int)(SWIG_As_int(obj1
));
26535 if (SWIG_arg_fail(2)) SWIG_fail
;
26541 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26547 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26552 arg5
= (long)(SWIG_As_long(obj4
));
26553 if (SWIG_arg_fail(5)) SWIG_fail
;
26558 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
26559 if (SWIG_arg_fail(6)) SWIG_fail
;
26560 if (arg6
== NULL
) {
26561 SWIG_null_ref("wxValidator");
26563 if (SWIG_arg_fail(6)) SWIG_fail
;
26568 arg7
= wxString_in_helper(obj6
);
26569 if (arg7
== NULL
) SWIG_fail
;
26574 if (!wxPyCheckForApp()) SWIG_fail
;
26575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26576 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
26578 wxPyEndAllowThreads(__tstate
);
26579 if (PyErr_Occurred()) SWIG_fail
;
26581 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
26596 static PyObject
*_wrap_new_PreListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26597 PyObject
*resultobj
;
26598 wxListView
*result
;
26599 char *kwnames
[] = {
26603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
26605 if (!wxPyCheckForApp()) SWIG_fail
;
26606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26607 result
= (wxListView
*)new wxListView();
26609 wxPyEndAllowThreads(__tstate
);
26610 if (PyErr_Occurred()) SWIG_fail
;
26612 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
26619 static PyObject
*_wrap_ListView_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26620 PyObject
*resultobj
;
26621 wxListView
*arg1
= (wxListView
*) 0 ;
26622 wxWindow
*arg2
= (wxWindow
*) 0 ;
26623 int arg3
= (int) -1 ;
26624 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26625 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26626 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26627 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26628 long arg6
= (long) wxLC_REPORT
;
26629 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
26630 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
26631 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
26632 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
26636 bool temp8
= false ;
26637 PyObject
* obj0
= 0 ;
26638 PyObject
* obj1
= 0 ;
26639 PyObject
* obj2
= 0 ;
26640 PyObject
* obj3
= 0 ;
26641 PyObject
* obj4
= 0 ;
26642 PyObject
* obj5
= 0 ;
26643 PyObject
* obj6
= 0 ;
26644 PyObject
* obj7
= 0 ;
26645 char *kwnames
[] = {
26646 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
26650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26651 if (SWIG_arg_fail(1)) SWIG_fail
;
26652 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26653 if (SWIG_arg_fail(2)) SWIG_fail
;
26656 arg3
= (int)(SWIG_As_int(obj2
));
26657 if (SWIG_arg_fail(3)) SWIG_fail
;
26663 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26669 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26674 arg6
= (long)(SWIG_As_long(obj5
));
26675 if (SWIG_arg_fail(6)) SWIG_fail
;
26680 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
26681 if (SWIG_arg_fail(7)) SWIG_fail
;
26682 if (arg7
== NULL
) {
26683 SWIG_null_ref("wxValidator");
26685 if (SWIG_arg_fail(7)) SWIG_fail
;
26690 arg8
= wxString_in_helper(obj7
);
26691 if (arg8
== NULL
) SWIG_fail
;
26696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26697 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
26699 wxPyEndAllowThreads(__tstate
);
26700 if (PyErr_Occurred()) SWIG_fail
;
26703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26719 static PyObject
*_wrap_ListView_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26720 PyObject
*resultobj
;
26721 wxListView
*arg1
= (wxListView
*) 0 ;
26723 bool arg3
= (bool) true ;
26724 PyObject
* obj0
= 0 ;
26725 PyObject
* obj1
= 0 ;
26726 PyObject
* obj2
= 0 ;
26727 char *kwnames
[] = {
26728 (char *) "self",(char *) "n",(char *) "on", NULL
26731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26733 if (SWIG_arg_fail(1)) SWIG_fail
;
26735 arg2
= (long)(SWIG_As_long(obj1
));
26736 if (SWIG_arg_fail(2)) SWIG_fail
;
26740 arg3
= (bool)(SWIG_As_bool(obj2
));
26741 if (SWIG_arg_fail(3)) SWIG_fail
;
26745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26746 (arg1
)->Select(arg2
,arg3
);
26748 wxPyEndAllowThreads(__tstate
);
26749 if (PyErr_Occurred()) SWIG_fail
;
26751 Py_INCREF(Py_None
); resultobj
= Py_None
;
26758 static PyObject
*_wrap_ListView_Focus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26759 PyObject
*resultobj
;
26760 wxListView
*arg1
= (wxListView
*) 0 ;
26762 PyObject
* obj0
= 0 ;
26763 PyObject
* obj1
= 0 ;
26764 char *kwnames
[] = {
26765 (char *) "self",(char *) "index", NULL
26768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
26769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26770 if (SWIG_arg_fail(1)) SWIG_fail
;
26772 arg2
= (long)(SWIG_As_long(obj1
));
26773 if (SWIG_arg_fail(2)) SWIG_fail
;
26776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26777 (arg1
)->Focus(arg2
);
26779 wxPyEndAllowThreads(__tstate
);
26780 if (PyErr_Occurred()) SWIG_fail
;
26782 Py_INCREF(Py_None
); resultobj
= Py_None
;
26789 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26790 PyObject
*resultobj
;
26791 wxListView
*arg1
= (wxListView
*) 0 ;
26793 PyObject
* obj0
= 0 ;
26794 char *kwnames
[] = {
26795 (char *) "self", NULL
26798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
26799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26800 if (SWIG_arg_fail(1)) SWIG_fail
;
26802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26803 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
26805 wxPyEndAllowThreads(__tstate
);
26806 if (PyErr_Occurred()) SWIG_fail
;
26809 resultobj
= SWIG_From_long((long)(result
));
26817 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26818 PyObject
*resultobj
;
26819 wxListView
*arg1
= (wxListView
*) 0 ;
26822 PyObject
* obj0
= 0 ;
26823 PyObject
* obj1
= 0 ;
26824 char *kwnames
[] = {
26825 (char *) "self",(char *) "item", NULL
26828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26830 if (SWIG_arg_fail(1)) SWIG_fail
;
26832 arg2
= (long)(SWIG_As_long(obj1
));
26833 if (SWIG_arg_fail(2)) SWIG_fail
;
26836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26837 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
26839 wxPyEndAllowThreads(__tstate
);
26840 if (PyErr_Occurred()) SWIG_fail
;
26843 resultobj
= SWIG_From_long((long)(result
));
26851 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26852 PyObject
*resultobj
;
26853 wxListView
*arg1
= (wxListView
*) 0 ;
26855 PyObject
* obj0
= 0 ;
26856 char *kwnames
[] = {
26857 (char *) "self", NULL
26860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26865 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
26867 wxPyEndAllowThreads(__tstate
);
26868 if (PyErr_Occurred()) SWIG_fail
;
26871 resultobj
= SWIG_From_long((long)(result
));
26879 static PyObject
*_wrap_ListView_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26880 PyObject
*resultobj
;
26881 wxListView
*arg1
= (wxListView
*) 0 ;
26884 PyObject
* obj0
= 0 ;
26885 PyObject
* obj1
= 0 ;
26886 char *kwnames
[] = {
26887 (char *) "self",(char *) "index", NULL
26890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26892 if (SWIG_arg_fail(1)) SWIG_fail
;
26894 arg2
= (long)(SWIG_As_long(obj1
));
26895 if (SWIG_arg_fail(2)) SWIG_fail
;
26898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26899 result
= (bool)(arg1
)->IsSelected(arg2
);
26901 wxPyEndAllowThreads(__tstate
);
26902 if (PyErr_Occurred()) SWIG_fail
;
26905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26913 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26914 PyObject
*resultobj
;
26915 wxListView
*arg1
= (wxListView
*) 0 ;
26918 PyObject
* obj0
= 0 ;
26919 PyObject
* obj1
= 0 ;
26920 PyObject
* obj2
= 0 ;
26921 char *kwnames
[] = {
26922 (char *) "self",(char *) "col",(char *) "image", NULL
26925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26927 if (SWIG_arg_fail(1)) SWIG_fail
;
26929 arg2
= (int)(SWIG_As_int(obj1
));
26930 if (SWIG_arg_fail(2)) SWIG_fail
;
26933 arg3
= (int)(SWIG_As_int(obj2
));
26934 if (SWIG_arg_fail(3)) SWIG_fail
;
26937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26938 (arg1
)->SetColumnImage(arg2
,arg3
);
26940 wxPyEndAllowThreads(__tstate
);
26941 if (PyErr_Occurred()) SWIG_fail
;
26943 Py_INCREF(Py_None
); resultobj
= Py_None
;
26950 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26951 PyObject
*resultobj
;
26952 wxListView
*arg1
= (wxListView
*) 0 ;
26954 PyObject
* obj0
= 0 ;
26955 PyObject
* obj1
= 0 ;
26956 char *kwnames
[] = {
26957 (char *) "self",(char *) "col", NULL
26960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
26961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26962 if (SWIG_arg_fail(1)) SWIG_fail
;
26964 arg2
= (int)(SWIG_As_int(obj1
));
26965 if (SWIG_arg_fail(2)) SWIG_fail
;
26968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26969 (arg1
)->ClearColumnImage(arg2
);
26971 wxPyEndAllowThreads(__tstate
);
26972 if (PyErr_Occurred()) SWIG_fail
;
26974 Py_INCREF(Py_None
); resultobj
= Py_None
;
26981 static PyObject
* ListView_swigregister(PyObject
*, PyObject
*args
) {
26983 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26984 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
26986 return Py_BuildValue((char *)"");
26988 static int _wrap_TreeCtrlNameStr_set(PyObject
*) {
26989 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
26994 static PyObject
*_wrap_TreeCtrlNameStr_get(void) {
26999 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
27001 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
27008 static PyObject
*_wrap_new_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27009 PyObject
*resultobj
;
27010 wxTreeItemId
*result
;
27011 char *kwnames
[] = {
27015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
27017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27018 result
= (wxTreeItemId
*)new wxTreeItemId();
27020 wxPyEndAllowThreads(__tstate
);
27021 if (PyErr_Occurred()) SWIG_fail
;
27023 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
27030 static PyObject
*_wrap_delete_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27031 PyObject
*resultobj
;
27032 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27033 PyObject
* obj0
= 0 ;
27034 char *kwnames
[] = {
27035 (char *) "self", NULL
27038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
27039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27040 if (SWIG_arg_fail(1)) SWIG_fail
;
27042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27045 wxPyEndAllowThreads(__tstate
);
27046 if (PyErr_Occurred()) SWIG_fail
;
27048 Py_INCREF(Py_None
); resultobj
= Py_None
;
27055 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27056 PyObject
*resultobj
;
27057 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27059 PyObject
* obj0
= 0 ;
27060 char *kwnames
[] = {
27061 (char *) "self", NULL
27064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
27065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27066 if (SWIG_arg_fail(1)) SWIG_fail
;
27068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27069 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
27071 wxPyEndAllowThreads(__tstate
);
27072 if (PyErr_Occurred()) SWIG_fail
;
27075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27083 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27084 PyObject
*resultobj
;
27085 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27086 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
27088 PyObject
* obj0
= 0 ;
27089 PyObject
* obj1
= 0 ;
27090 char *kwnames
[] = {
27091 (char *) "self",(char *) "other", NULL
27094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27096 if (SWIG_arg_fail(1)) SWIG_fail
;
27097 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27098 if (SWIG_arg_fail(2)) SWIG_fail
;
27100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27101 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
27103 wxPyEndAllowThreads(__tstate
);
27104 if (PyErr_Occurred()) SWIG_fail
;
27107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27115 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27116 PyObject
*resultobj
;
27117 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27118 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
27120 PyObject
* obj0
= 0 ;
27121 PyObject
* obj1
= 0 ;
27122 char *kwnames
[] = {
27123 (char *) "self",(char *) "other", NULL
27126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27128 if (SWIG_arg_fail(1)) SWIG_fail
;
27129 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27130 if (SWIG_arg_fail(2)) SWIG_fail
;
27132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27133 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
27135 wxPyEndAllowThreads(__tstate
);
27136 if (PyErr_Occurred()) SWIG_fail
;
27139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27147 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27148 PyObject
*resultobj
;
27149 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27150 void *arg2
= (void *) 0 ;
27151 PyObject
* obj0
= 0 ;
27152 PyObject
* obj1
= 0 ;
27153 char *kwnames
[] = {
27154 (char *) "self",(char *) "m_pItem", NULL
27157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27159 if (SWIG_arg_fail(1)) SWIG_fail
;
27161 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),0,SWIG_POINTER_EXCEPTION
|SWIG_POINTER_DISOWN
))== -1) {
27162 SWIG_arg_fail(2);SWIG_fail
;
27165 if (arg1
) (arg1
)->m_pItem
= arg2
;
27167 Py_INCREF(Py_None
); resultobj
= Py_None
;
27174 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27175 PyObject
*resultobj
;
27176 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27178 PyObject
* obj0
= 0 ;
27179 char *kwnames
[] = {
27180 (char *) "self", NULL
27183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
27184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27185 if (SWIG_arg_fail(1)) SWIG_fail
;
27186 result
= (void *) ((arg1
)->m_pItem
);
27188 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
27195 static PyObject
* TreeItemId_swigregister(PyObject
*, PyObject
*args
) {
27197 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27198 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
27200 return Py_BuildValue((char *)"");
27202 static PyObject
*_wrap_new_TreeItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27203 PyObject
*resultobj
;
27204 PyObject
*arg1
= (PyObject
*) NULL
;
27205 wxPyTreeItemData
*result
;
27206 PyObject
* obj0
= 0 ;
27207 char *kwnames
[] = {
27208 (char *) "obj", NULL
27211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
27216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27217 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
27219 wxPyEndAllowThreads(__tstate
);
27220 if (PyErr_Occurred()) SWIG_fail
;
27222 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
27229 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27230 PyObject
*resultobj
;
27231 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27233 PyObject
* obj0
= 0 ;
27234 char *kwnames
[] = {
27235 (char *) "self", NULL
27238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
27239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27240 if (SWIG_arg_fail(1)) SWIG_fail
;
27242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27243 result
= (PyObject
*)(arg1
)->GetData();
27245 wxPyEndAllowThreads(__tstate
);
27246 if (PyErr_Occurred()) SWIG_fail
;
27248 resultobj
= result
;
27255 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27256 PyObject
*resultobj
;
27257 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27258 PyObject
*arg2
= (PyObject
*) 0 ;
27259 PyObject
* obj0
= 0 ;
27260 PyObject
* obj1
= 0 ;
27261 char *kwnames
[] = {
27262 (char *) "self",(char *) "obj", NULL
27265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27267 if (SWIG_arg_fail(1)) SWIG_fail
;
27270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27271 (arg1
)->SetData(arg2
);
27273 wxPyEndAllowThreads(__tstate
);
27274 if (PyErr_Occurred()) SWIG_fail
;
27276 Py_INCREF(Py_None
); resultobj
= Py_None
;
27283 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27284 PyObject
*resultobj
;
27285 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27286 wxTreeItemId
*result
;
27287 PyObject
* obj0
= 0 ;
27288 char *kwnames
[] = {
27289 (char *) "self", NULL
27292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
27293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27294 if (SWIG_arg_fail(1)) SWIG_fail
;
27296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27298 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
27299 result
= (wxTreeItemId
*) &_result_ref
;
27302 wxPyEndAllowThreads(__tstate
);
27303 if (PyErr_Occurred()) SWIG_fail
;
27305 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
27312 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27313 PyObject
*resultobj
;
27314 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27315 wxTreeItemId
*arg2
= 0 ;
27316 PyObject
* obj0
= 0 ;
27317 PyObject
* obj1
= 0 ;
27318 char *kwnames
[] = {
27319 (char *) "self",(char *) "id", NULL
27322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
27323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27324 if (SWIG_arg_fail(1)) SWIG_fail
;
27326 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27327 if (SWIG_arg_fail(2)) SWIG_fail
;
27328 if (arg2
== NULL
) {
27329 SWIG_null_ref("wxTreeItemId");
27331 if (SWIG_arg_fail(2)) SWIG_fail
;
27334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27335 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
27337 wxPyEndAllowThreads(__tstate
);
27338 if (PyErr_Occurred()) SWIG_fail
;
27340 Py_INCREF(Py_None
); resultobj
= Py_None
;
27347 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27348 PyObject
*resultobj
;
27349 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27350 PyObject
* obj0
= 0 ;
27351 char *kwnames
[] = {
27352 (char *) "self", NULL
27355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
27356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27357 if (SWIG_arg_fail(1)) SWIG_fail
;
27359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27360 wxPyTreeItemData_Destroy(arg1
);
27362 wxPyEndAllowThreads(__tstate
);
27363 if (PyErr_Occurred()) SWIG_fail
;
27365 Py_INCREF(Py_None
); resultobj
= Py_None
;
27372 static PyObject
* TreeItemData_swigregister(PyObject
*, PyObject
*args
) {
27374 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27375 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
27377 return Py_BuildValue((char *)"");
27379 static PyObject
*_wrap_new_TreeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27380 PyObject
*resultobj
;
27381 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27382 int arg2
= (int) 0 ;
27383 wxTreeEvent
*result
;
27384 PyObject
* obj0
= 0 ;
27385 PyObject
* obj1
= 0 ;
27386 char *kwnames
[] = {
27387 (char *) "commandType",(char *) "id", NULL
27390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
27393 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
27394 if (SWIG_arg_fail(1)) SWIG_fail
;
27399 arg2
= (int)(SWIG_As_int(obj1
));
27400 if (SWIG_arg_fail(2)) SWIG_fail
;
27404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27405 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
27407 wxPyEndAllowThreads(__tstate
);
27408 if (PyErr_Occurred()) SWIG_fail
;
27410 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
27417 static PyObject
*_wrap_TreeEvent_GetItem(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_GetItem",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
)->GetItem();
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_SetItem(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_SetItem",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
)->SetItem((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_GetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27483 PyObject
*resultobj
;
27484 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27485 wxTreeItemId result
;
27486 PyObject
* obj0
= 0 ;
27487 char *kwnames
[] = {
27488 (char *) "self", NULL
27491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",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
)->GetOldItem();
27498 wxPyEndAllowThreads(__tstate
);
27499 if (PyErr_Occurred()) SWIG_fail
;
27502 wxTreeItemId
* resultptr
;
27503 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
27504 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27512 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27513 PyObject
*resultobj
;
27514 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27515 wxTreeItemId
*arg2
= 0 ;
27516 PyObject
* obj0
= 0 ;
27517 PyObject
* obj1
= 0 ;
27518 char *kwnames
[] = {
27519 (char *) "self",(char *) "item", NULL
27522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27524 if (SWIG_arg_fail(1)) SWIG_fail
;
27526 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27527 if (SWIG_arg_fail(2)) SWIG_fail
;
27528 if (arg2
== NULL
) {
27529 SWIG_null_ref("wxTreeItemId");
27531 if (SWIG_arg_fail(2)) SWIG_fail
;
27534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27535 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
27537 wxPyEndAllowThreads(__tstate
);
27538 if (PyErr_Occurred()) SWIG_fail
;
27540 Py_INCREF(Py_None
); resultobj
= Py_None
;
27547 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27548 PyObject
*resultobj
;
27549 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27551 PyObject
* obj0
= 0 ;
27552 char *kwnames
[] = {
27553 (char *) "self", NULL
27556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
27557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27558 if (SWIG_arg_fail(1)) SWIG_fail
;
27560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27561 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
27563 wxPyEndAllowThreads(__tstate
);
27564 if (PyErr_Occurred()) SWIG_fail
;
27567 wxPoint
* resultptr
;
27568 resultptr
= new wxPoint((wxPoint
&)(result
));
27569 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
27577 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27578 PyObject
*resultobj
;
27579 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27580 wxPoint
*arg2
= 0 ;
27582 PyObject
* obj0
= 0 ;
27583 PyObject
* obj1
= 0 ;
27584 char *kwnames
[] = {
27585 (char *) "self",(char *) "pt", NULL
27588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
27589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27590 if (SWIG_arg_fail(1)) SWIG_fail
;
27593 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27597 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
27599 wxPyEndAllowThreads(__tstate
);
27600 if (PyErr_Occurred()) SWIG_fail
;
27602 Py_INCREF(Py_None
); resultobj
= Py_None
;
27609 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27610 PyObject
*resultobj
;
27611 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27612 wxKeyEvent
*result
;
27613 PyObject
* obj0
= 0 ;
27614 char *kwnames
[] = {
27615 (char *) "self", NULL
27618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
27619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27620 if (SWIG_arg_fail(1)) SWIG_fail
;
27622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27624 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
27625 result
= (wxKeyEvent
*) &_result_ref
;
27628 wxPyEndAllowThreads(__tstate
);
27629 if (PyErr_Occurred()) SWIG_fail
;
27631 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
27638 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27639 PyObject
*resultobj
;
27640 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27642 PyObject
* obj0
= 0 ;
27643 char *kwnames
[] = {
27644 (char *) "self", NULL
27647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
27648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27649 if (SWIG_arg_fail(1)) SWIG_fail
;
27651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27652 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
27654 wxPyEndAllowThreads(__tstate
);
27655 if (PyErr_Occurred()) SWIG_fail
;
27658 resultobj
= SWIG_From_int((int)(result
));
27666 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27667 PyObject
*resultobj
;
27668 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27669 wxKeyEvent
*arg2
= 0 ;
27670 PyObject
* obj0
= 0 ;
27671 PyObject
* obj1
= 0 ;
27672 char *kwnames
[] = {
27673 (char *) "self",(char *) "evt", NULL
27676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
27677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27678 if (SWIG_arg_fail(1)) SWIG_fail
;
27680 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
27681 if (SWIG_arg_fail(2)) SWIG_fail
;
27682 if (arg2
== NULL
) {
27683 SWIG_null_ref("wxKeyEvent");
27685 if (SWIG_arg_fail(2)) SWIG_fail
;
27688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27689 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
27691 wxPyEndAllowThreads(__tstate
);
27692 if (PyErr_Occurred()) SWIG_fail
;
27694 Py_INCREF(Py_None
); resultobj
= Py_None
;
27701 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27702 PyObject
*resultobj
;
27703 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27705 PyObject
* obj0
= 0 ;
27706 char *kwnames
[] = {
27707 (char *) "self", NULL
27710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
27711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27712 if (SWIG_arg_fail(1)) SWIG_fail
;
27714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27716 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
27717 result
= (wxString
*) &_result_ref
;
27720 wxPyEndAllowThreads(__tstate
);
27721 if (PyErr_Occurred()) SWIG_fail
;
27725 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27727 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27736 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27737 PyObject
*resultobj
;
27738 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27739 wxString
*arg2
= 0 ;
27740 bool temp2
= false ;
27741 PyObject
* obj0
= 0 ;
27742 PyObject
* obj1
= 0 ;
27743 char *kwnames
[] = {
27744 (char *) "self",(char *) "label", NULL
27747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
27748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27749 if (SWIG_arg_fail(1)) SWIG_fail
;
27751 arg2
= wxString_in_helper(obj1
);
27752 if (arg2
== NULL
) SWIG_fail
;
27756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27757 (arg1
)->SetLabel((wxString
const &)*arg2
);
27759 wxPyEndAllowThreads(__tstate
);
27760 if (PyErr_Occurred()) SWIG_fail
;
27762 Py_INCREF(Py_None
); resultobj
= Py_None
;
27777 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27778 PyObject
*resultobj
;
27779 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27781 PyObject
* obj0
= 0 ;
27782 char *kwnames
[] = {
27783 (char *) "self", NULL
27786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
27787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27788 if (SWIG_arg_fail(1)) SWIG_fail
;
27790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27791 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
27793 wxPyEndAllowThreads(__tstate
);
27794 if (PyErr_Occurred()) SWIG_fail
;
27797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27805 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27806 PyObject
*resultobj
;
27807 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27809 PyObject
* obj0
= 0 ;
27810 PyObject
* obj1
= 0 ;
27811 char *kwnames
[] = {
27812 (char *) "self",(char *) "editCancelled", NULL
27815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
27816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27817 if (SWIG_arg_fail(1)) SWIG_fail
;
27819 arg2
= (bool)(SWIG_As_bool(obj1
));
27820 if (SWIG_arg_fail(2)) SWIG_fail
;
27823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27824 (arg1
)->SetEditCanceled(arg2
);
27826 wxPyEndAllowThreads(__tstate
);
27827 if (PyErr_Occurred()) SWIG_fail
;
27829 Py_INCREF(Py_None
); resultobj
= Py_None
;
27836 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27837 PyObject
*resultobj
;
27838 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27839 wxString
*arg2
= 0 ;
27840 bool temp2
= false ;
27841 PyObject
* obj0
= 0 ;
27842 PyObject
* obj1
= 0 ;
27843 char *kwnames
[] = {
27844 (char *) "self",(char *) "toolTip", NULL
27847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
27848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27849 if (SWIG_arg_fail(1)) SWIG_fail
;
27851 arg2
= wxString_in_helper(obj1
);
27852 if (arg2
== NULL
) SWIG_fail
;
27856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27857 (arg1
)->SetToolTip((wxString
const &)*arg2
);
27859 wxPyEndAllowThreads(__tstate
);
27860 if (PyErr_Occurred()) SWIG_fail
;
27862 Py_INCREF(Py_None
); resultobj
= Py_None
;
27877 static PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27878 PyObject
*resultobj
;
27879 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27881 PyObject
* obj0
= 0 ;
27882 char *kwnames
[] = {
27883 (char *) "self", NULL
27886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetToolTip",kwnames
,&obj0
)) goto fail
;
27887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27888 if (SWIG_arg_fail(1)) SWIG_fail
;
27890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27891 result
= (arg1
)->GetToolTip();
27893 wxPyEndAllowThreads(__tstate
);
27894 if (PyErr_Occurred()) SWIG_fail
;
27898 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27900 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27909 static PyObject
* TreeEvent_swigregister(PyObject
*, PyObject
*args
) {
27911 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27912 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
27914 return Py_BuildValue((char *)"");
27916 static PyObject
*_wrap_new_TreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27917 PyObject
*resultobj
;
27918 wxWindow
*arg1
= (wxWindow
*) 0 ;
27919 int arg2
= (int) -1 ;
27920 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27921 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27922 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27923 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27924 long arg5
= (long) wxTR_DEFAULT_STYLE
;
27925 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
27926 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
27927 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
27928 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27929 wxPyTreeCtrl
*result
;
27932 bool temp7
= false ;
27933 PyObject
* obj0
= 0 ;
27934 PyObject
* obj1
= 0 ;
27935 PyObject
* obj2
= 0 ;
27936 PyObject
* obj3
= 0 ;
27937 PyObject
* obj4
= 0 ;
27938 PyObject
* obj5
= 0 ;
27939 PyObject
* obj6
= 0 ;
27940 char *kwnames
[] = {
27941 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27946 if (SWIG_arg_fail(1)) SWIG_fail
;
27949 arg2
= (int)(SWIG_As_int(obj1
));
27950 if (SWIG_arg_fail(2)) SWIG_fail
;
27956 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27962 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27967 arg5
= (long)(SWIG_As_long(obj4
));
27968 if (SWIG_arg_fail(5)) SWIG_fail
;
27973 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
27974 if (SWIG_arg_fail(6)) SWIG_fail
;
27975 if (arg6
== NULL
) {
27976 SWIG_null_ref("wxValidator");
27978 if (SWIG_arg_fail(6)) SWIG_fail
;
27983 arg7
= wxString_in_helper(obj6
);
27984 if (arg7
== NULL
) SWIG_fail
;
27989 if (!wxPyCheckForApp()) SWIG_fail
;
27990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27991 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
27993 wxPyEndAllowThreads(__tstate
);
27994 if (PyErr_Occurred()) SWIG_fail
;
27996 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
28011 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28012 PyObject
*resultobj
;
28013 wxPyTreeCtrl
*result
;
28014 char *kwnames
[] = {
28018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
28020 if (!wxPyCheckForApp()) SWIG_fail
;
28021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28022 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
28024 wxPyEndAllowThreads(__tstate
);
28025 if (PyErr_Occurred()) SWIG_fail
;
28027 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
28034 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28035 PyObject
*resultobj
;
28036 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28037 wxWindow
*arg2
= (wxWindow
*) 0 ;
28038 int arg3
= (int) -1 ;
28039 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28040 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28041 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28042 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28043 long arg6
= (long) wxTR_DEFAULT_STYLE
;
28044 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28045 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28046 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
28047 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28051 bool temp8
= false ;
28052 PyObject
* obj0
= 0 ;
28053 PyObject
* obj1
= 0 ;
28054 PyObject
* obj2
= 0 ;
28055 PyObject
* obj3
= 0 ;
28056 PyObject
* obj4
= 0 ;
28057 PyObject
* obj5
= 0 ;
28058 PyObject
* obj6
= 0 ;
28059 PyObject
* obj7
= 0 ;
28060 char *kwnames
[] = {
28061 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
28065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28066 if (SWIG_arg_fail(1)) SWIG_fail
;
28067 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28068 if (SWIG_arg_fail(2)) SWIG_fail
;
28071 arg3
= (int)(SWIG_As_int(obj2
));
28072 if (SWIG_arg_fail(3)) SWIG_fail
;
28078 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28084 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28089 arg6
= (long)(SWIG_As_long(obj5
));
28090 if (SWIG_arg_fail(6)) SWIG_fail
;
28095 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
28096 if (SWIG_arg_fail(7)) SWIG_fail
;
28097 if (arg7
== NULL
) {
28098 SWIG_null_ref("wxValidator");
28100 if (SWIG_arg_fail(7)) SWIG_fail
;
28105 arg8
= wxString_in_helper(obj7
);
28106 if (arg8
== NULL
) SWIG_fail
;
28111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28112 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28114 wxPyEndAllowThreads(__tstate
);
28115 if (PyErr_Occurred()) SWIG_fail
;
28118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28134 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28135 PyObject
*resultobj
;
28136 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28137 PyObject
*arg2
= (PyObject
*) 0 ;
28138 PyObject
*arg3
= (PyObject
*) 0 ;
28139 PyObject
* obj0
= 0 ;
28140 PyObject
* obj1
= 0 ;
28141 PyObject
* obj2
= 0 ;
28142 char *kwnames
[] = {
28143 (char *) "self",(char *) "self",(char *) "_class", NULL
28146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28148 if (SWIG_arg_fail(1)) SWIG_fail
;
28152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28153 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28155 wxPyEndAllowThreads(__tstate
);
28156 if (PyErr_Occurred()) SWIG_fail
;
28158 Py_INCREF(Py_None
); resultobj
= Py_None
;
28165 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28166 PyObject
*resultobj
;
28167 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28169 PyObject
* obj0
= 0 ;
28170 char *kwnames
[] = {
28171 (char *) "self", NULL
28174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
28175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28176 if (SWIG_arg_fail(1)) SWIG_fail
;
28178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28179 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
28181 wxPyEndAllowThreads(__tstate
);
28182 if (PyErr_Occurred()) SWIG_fail
;
28185 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
28193 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28194 PyObject
*resultobj
;
28195 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28196 unsigned int result
;
28197 PyObject
* obj0
= 0 ;
28198 char *kwnames
[] = {
28199 (char *) "self", NULL
28202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
28203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28204 if (SWIG_arg_fail(1)) SWIG_fail
;
28206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28207 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
28209 wxPyEndAllowThreads(__tstate
);
28210 if (PyErr_Occurred()) SWIG_fail
;
28213 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
28221 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28222 PyObject
*resultobj
;
28223 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28224 unsigned int arg2
;
28225 PyObject
* obj0
= 0 ;
28226 PyObject
* obj1
= 0 ;
28227 char *kwnames
[] = {
28228 (char *) "self",(char *) "indent", NULL
28231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
28232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28233 if (SWIG_arg_fail(1)) SWIG_fail
;
28235 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
28236 if (SWIG_arg_fail(2)) SWIG_fail
;
28239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28240 (arg1
)->SetIndent(arg2
);
28242 wxPyEndAllowThreads(__tstate
);
28243 if (PyErr_Occurred()) SWIG_fail
;
28245 Py_INCREF(Py_None
); resultobj
= Py_None
;
28252 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28253 PyObject
*resultobj
;
28254 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28255 unsigned int result
;
28256 PyObject
* obj0
= 0 ;
28257 char *kwnames
[] = {
28258 (char *) "self", NULL
28261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
28262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28263 if (SWIG_arg_fail(1)) SWIG_fail
;
28265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28266 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
28268 wxPyEndAllowThreads(__tstate
);
28269 if (PyErr_Occurred()) SWIG_fail
;
28272 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
28280 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28281 PyObject
*resultobj
;
28282 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28283 unsigned int arg2
;
28284 PyObject
* obj0
= 0 ;
28285 PyObject
* obj1
= 0 ;
28286 char *kwnames
[] = {
28287 (char *) "self",(char *) "spacing", NULL
28290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
28291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28292 if (SWIG_arg_fail(1)) SWIG_fail
;
28294 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
28295 if (SWIG_arg_fail(2)) SWIG_fail
;
28298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28299 (arg1
)->SetSpacing(arg2
);
28301 wxPyEndAllowThreads(__tstate
);
28302 if (PyErr_Occurred()) SWIG_fail
;
28304 Py_INCREF(Py_None
); resultobj
= Py_None
;
28311 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28312 PyObject
*resultobj
;
28313 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28314 wxImageList
*result
;
28315 PyObject
* obj0
= 0 ;
28316 char *kwnames
[] = {
28317 (char *) "self", NULL
28320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
28321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28322 if (SWIG_arg_fail(1)) SWIG_fail
;
28324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28325 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
28327 wxPyEndAllowThreads(__tstate
);
28328 if (PyErr_Occurred()) SWIG_fail
;
28331 resultobj
= wxPyMake_wxObject(result
, 0);
28339 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28340 PyObject
*resultobj
;
28341 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28342 wxImageList
*result
;
28343 PyObject
* obj0
= 0 ;
28344 char *kwnames
[] = {
28345 (char *) "self", NULL
28348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
28349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28350 if (SWIG_arg_fail(1)) SWIG_fail
;
28352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28353 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
28355 wxPyEndAllowThreads(__tstate
);
28356 if (PyErr_Occurred()) SWIG_fail
;
28359 resultobj
= wxPyMake_wxObject(result
, 0);
28367 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28368 PyObject
*resultobj
;
28369 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28370 wxImageList
*arg2
= (wxImageList
*) 0 ;
28371 PyObject
* obj0
= 0 ;
28372 PyObject
* obj1
= 0 ;
28373 char *kwnames
[] = {
28374 (char *) "self",(char *) "imageList", NULL
28377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28379 if (SWIG_arg_fail(1)) SWIG_fail
;
28380 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
28381 if (SWIG_arg_fail(2)) SWIG_fail
;
28383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28384 (arg1
)->SetImageList(arg2
);
28386 wxPyEndAllowThreads(__tstate
);
28387 if (PyErr_Occurred()) SWIG_fail
;
28389 Py_INCREF(Py_None
); resultobj
= Py_None
;
28396 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28397 PyObject
*resultobj
;
28398 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28399 wxImageList
*arg2
= (wxImageList
*) 0 ;
28400 PyObject
* obj0
= 0 ;
28401 PyObject
* obj1
= 0 ;
28402 char *kwnames
[] = {
28403 (char *) "self",(char *) "imageList", NULL
28406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28408 if (SWIG_arg_fail(1)) SWIG_fail
;
28409 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
28410 if (SWIG_arg_fail(2)) SWIG_fail
;
28412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28413 (arg1
)->SetStateImageList(arg2
);
28415 wxPyEndAllowThreads(__tstate
);
28416 if (PyErr_Occurred()) SWIG_fail
;
28418 Py_INCREF(Py_None
); resultobj
= Py_None
;
28425 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28426 PyObject
*resultobj
;
28427 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28428 wxImageList
*arg2
= (wxImageList
*) 0 ;
28429 PyObject
* obj0
= 0 ;
28430 PyObject
* obj1
= 0 ;
28431 char *kwnames
[] = {
28432 (char *) "self",(char *) "imageList", NULL
28435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28437 if (SWIG_arg_fail(1)) SWIG_fail
;
28438 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28439 if (SWIG_arg_fail(2)) SWIG_fail
;
28441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28442 (arg1
)->AssignImageList(arg2
);
28444 wxPyEndAllowThreads(__tstate
);
28445 if (PyErr_Occurred()) SWIG_fail
;
28447 Py_INCREF(Py_None
); resultobj
= Py_None
;
28454 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28455 PyObject
*resultobj
;
28456 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28457 wxImageList
*arg2
= (wxImageList
*) 0 ;
28458 PyObject
* obj0
= 0 ;
28459 PyObject
* obj1
= 0 ;
28460 char *kwnames
[] = {
28461 (char *) "self",(char *) "imageList", NULL
28464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28466 if (SWIG_arg_fail(1)) SWIG_fail
;
28467 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28468 if (SWIG_arg_fail(2)) SWIG_fail
;
28470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28471 (arg1
)->AssignStateImageList(arg2
);
28473 wxPyEndAllowThreads(__tstate
);
28474 if (PyErr_Occurred()) SWIG_fail
;
28476 Py_INCREF(Py_None
); resultobj
= Py_None
;
28483 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28484 PyObject
*resultobj
;
28485 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28486 wxTreeItemId
*arg2
= 0 ;
28488 PyObject
* obj0
= 0 ;
28489 PyObject
* obj1
= 0 ;
28490 char *kwnames
[] = {
28491 (char *) "self",(char *) "item", NULL
28494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
28495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28496 if (SWIG_arg_fail(1)) SWIG_fail
;
28498 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28499 if (SWIG_arg_fail(2)) SWIG_fail
;
28500 if (arg2
== NULL
) {
28501 SWIG_null_ref("wxTreeItemId");
28503 if (SWIG_arg_fail(2)) SWIG_fail
;
28506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28507 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
28509 wxPyEndAllowThreads(__tstate
);
28510 if (PyErr_Occurred()) SWIG_fail
;
28514 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28516 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28525 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28526 PyObject
*resultobj
;
28527 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28528 wxTreeItemId
*arg2
= 0 ;
28529 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
28531 PyObject
* obj0
= 0 ;
28532 PyObject
* obj1
= 0 ;
28533 PyObject
* obj2
= 0 ;
28534 char *kwnames
[] = {
28535 (char *) "self",(char *) "item",(char *) "which", NULL
28538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28540 if (SWIG_arg_fail(1)) SWIG_fail
;
28542 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28543 if (SWIG_arg_fail(2)) SWIG_fail
;
28544 if (arg2
== NULL
) {
28545 SWIG_null_ref("wxTreeItemId");
28547 if (SWIG_arg_fail(2)) SWIG_fail
;
28551 arg3
= (wxTreeItemIcon
)(SWIG_As_int(obj2
));
28552 if (SWIG_arg_fail(3)) SWIG_fail
;
28556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28557 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
28559 wxPyEndAllowThreads(__tstate
);
28560 if (PyErr_Occurred()) SWIG_fail
;
28563 resultobj
= SWIG_From_int((int)(result
));
28571 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28572 PyObject
*resultobj
;
28573 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28574 wxTreeItemId
*arg2
= 0 ;
28575 wxPyTreeItemData
*result
;
28576 PyObject
* obj0
= 0 ;
28577 PyObject
* obj1
= 0 ;
28578 char *kwnames
[] = {
28579 (char *) "self",(char *) "item", NULL
28582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
28583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28584 if (SWIG_arg_fail(1)) SWIG_fail
;
28586 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28587 if (SWIG_arg_fail(2)) SWIG_fail
;
28588 if (arg2
== NULL
) {
28589 SWIG_null_ref("wxTreeItemId");
28591 if (SWIG_arg_fail(2)) SWIG_fail
;
28594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28595 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
28597 wxPyEndAllowThreads(__tstate
);
28598 if (PyErr_Occurred()) SWIG_fail
;
28600 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
28607 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28608 PyObject
*resultobj
;
28609 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28610 wxTreeItemId
*arg2
= 0 ;
28612 PyObject
* obj0
= 0 ;
28613 PyObject
* obj1
= 0 ;
28614 char *kwnames
[] = {
28615 (char *) "self",(char *) "item", NULL
28618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
28619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28620 if (SWIG_arg_fail(1)) SWIG_fail
;
28622 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28623 if (SWIG_arg_fail(2)) SWIG_fail
;
28624 if (arg2
== NULL
) {
28625 SWIG_null_ref("wxTreeItemId");
28627 if (SWIG_arg_fail(2)) SWIG_fail
;
28630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28631 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
28633 wxPyEndAllowThreads(__tstate
);
28634 if (PyErr_Occurred()) SWIG_fail
;
28636 resultobj
= result
;
28643 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28644 PyObject
*resultobj
;
28645 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28646 wxTreeItemId
*arg2
= 0 ;
28648 PyObject
* obj0
= 0 ;
28649 PyObject
* obj1
= 0 ;
28650 char *kwnames
[] = {
28651 (char *) "self",(char *) "item", NULL
28654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28656 if (SWIG_arg_fail(1)) SWIG_fail
;
28658 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28659 if (SWIG_arg_fail(2)) SWIG_fail
;
28660 if (arg2
== NULL
) {
28661 SWIG_null_ref("wxTreeItemId");
28663 if (SWIG_arg_fail(2)) SWIG_fail
;
28666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28667 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
28669 wxPyEndAllowThreads(__tstate
);
28670 if (PyErr_Occurred()) SWIG_fail
;
28673 wxColour
* resultptr
;
28674 resultptr
= new wxColour((wxColour
&)(result
));
28675 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
28683 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28684 PyObject
*resultobj
;
28685 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28686 wxTreeItemId
*arg2
= 0 ;
28688 PyObject
* obj0
= 0 ;
28689 PyObject
* obj1
= 0 ;
28690 char *kwnames
[] = {
28691 (char *) "self",(char *) "item", NULL
28694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28696 if (SWIG_arg_fail(1)) SWIG_fail
;
28698 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28699 if (SWIG_arg_fail(2)) SWIG_fail
;
28700 if (arg2
== NULL
) {
28701 SWIG_null_ref("wxTreeItemId");
28703 if (SWIG_arg_fail(2)) SWIG_fail
;
28706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28707 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
28709 wxPyEndAllowThreads(__tstate
);
28710 if (PyErr_Occurred()) SWIG_fail
;
28713 wxColour
* resultptr
;
28714 resultptr
= new wxColour((wxColour
&)(result
));
28715 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
28723 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28724 PyObject
*resultobj
;
28725 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28726 wxTreeItemId
*arg2
= 0 ;
28728 PyObject
* obj0
= 0 ;
28729 PyObject
* obj1
= 0 ;
28730 char *kwnames
[] = {
28731 (char *) "self",(char *) "item", NULL
28734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
28735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28736 if (SWIG_arg_fail(1)) SWIG_fail
;
28738 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28739 if (SWIG_arg_fail(2)) SWIG_fail
;
28740 if (arg2
== NULL
) {
28741 SWIG_null_ref("wxTreeItemId");
28743 if (SWIG_arg_fail(2)) SWIG_fail
;
28746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28747 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
28749 wxPyEndAllowThreads(__tstate
);
28750 if (PyErr_Occurred()) SWIG_fail
;
28753 wxFont
* resultptr
;
28754 resultptr
= new wxFont((wxFont
&)(result
));
28755 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
28763 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28764 PyObject
*resultobj
;
28765 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28766 wxTreeItemId
*arg2
= 0 ;
28767 wxString
*arg3
= 0 ;
28768 bool temp3
= false ;
28769 PyObject
* obj0
= 0 ;
28770 PyObject
* obj1
= 0 ;
28771 PyObject
* obj2
= 0 ;
28772 char *kwnames
[] = {
28773 (char *) "self",(char *) "item",(char *) "text", NULL
28776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28778 if (SWIG_arg_fail(1)) SWIG_fail
;
28780 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28781 if (SWIG_arg_fail(2)) SWIG_fail
;
28782 if (arg2
== NULL
) {
28783 SWIG_null_ref("wxTreeItemId");
28785 if (SWIG_arg_fail(2)) SWIG_fail
;
28788 arg3
= wxString_in_helper(obj2
);
28789 if (arg3
== NULL
) SWIG_fail
;
28793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28794 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
28796 wxPyEndAllowThreads(__tstate
);
28797 if (PyErr_Occurred()) SWIG_fail
;
28799 Py_INCREF(Py_None
); resultobj
= Py_None
;
28814 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28815 PyObject
*resultobj
;
28816 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28817 wxTreeItemId
*arg2
= 0 ;
28819 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
28820 PyObject
* obj0
= 0 ;
28821 PyObject
* obj1
= 0 ;
28822 PyObject
* obj2
= 0 ;
28823 PyObject
* obj3
= 0 ;
28824 char *kwnames
[] = {
28825 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
28828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28830 if (SWIG_arg_fail(1)) SWIG_fail
;
28832 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28833 if (SWIG_arg_fail(2)) SWIG_fail
;
28834 if (arg2
== NULL
) {
28835 SWIG_null_ref("wxTreeItemId");
28837 if (SWIG_arg_fail(2)) SWIG_fail
;
28840 arg3
= (int)(SWIG_As_int(obj2
));
28841 if (SWIG_arg_fail(3)) SWIG_fail
;
28845 arg4
= (wxTreeItemIcon
)(SWIG_As_int(obj3
));
28846 if (SWIG_arg_fail(4)) SWIG_fail
;
28850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28851 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
28853 wxPyEndAllowThreads(__tstate
);
28854 if (PyErr_Occurred()) SWIG_fail
;
28856 Py_INCREF(Py_None
); resultobj
= Py_None
;
28863 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28864 PyObject
*resultobj
;
28865 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28866 wxTreeItemId
*arg2
= 0 ;
28867 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
28868 PyObject
* obj0
= 0 ;
28869 PyObject
* obj1
= 0 ;
28870 PyObject
* obj2
= 0 ;
28871 char *kwnames
[] = {
28872 (char *) "self",(char *) "item",(char *) "data", NULL
28875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28877 if (SWIG_arg_fail(1)) SWIG_fail
;
28879 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28880 if (SWIG_arg_fail(2)) SWIG_fail
;
28881 if (arg2
== NULL
) {
28882 SWIG_null_ref("wxTreeItemId");
28884 if (SWIG_arg_fail(2)) SWIG_fail
;
28886 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
28887 if (SWIG_arg_fail(3)) SWIG_fail
;
28889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28890 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
28892 wxPyEndAllowThreads(__tstate
);
28893 if (PyErr_Occurred()) SWIG_fail
;
28895 Py_INCREF(Py_None
); resultobj
= Py_None
;
28902 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28903 PyObject
*resultobj
;
28904 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28905 wxTreeItemId
*arg2
= 0 ;
28906 PyObject
*arg3
= (PyObject
*) 0 ;
28907 PyObject
* obj0
= 0 ;
28908 PyObject
* obj1
= 0 ;
28909 PyObject
* obj2
= 0 ;
28910 char *kwnames
[] = {
28911 (char *) "self",(char *) "item",(char *) "obj", NULL
28914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28916 if (SWIG_arg_fail(1)) SWIG_fail
;
28918 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28919 if (SWIG_arg_fail(2)) SWIG_fail
;
28920 if (arg2
== NULL
) {
28921 SWIG_null_ref("wxTreeItemId");
28923 if (SWIG_arg_fail(2)) SWIG_fail
;
28927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28928 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
28930 wxPyEndAllowThreads(__tstate
);
28931 if (PyErr_Occurred()) SWIG_fail
;
28933 Py_INCREF(Py_None
); resultobj
= Py_None
;
28940 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28941 PyObject
*resultobj
;
28942 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28943 wxTreeItemId
*arg2
= 0 ;
28944 bool arg3
= (bool) true ;
28945 PyObject
* obj0
= 0 ;
28946 PyObject
* obj1
= 0 ;
28947 PyObject
* obj2
= 0 ;
28948 char *kwnames
[] = {
28949 (char *) "self",(char *) "item",(char *) "has", NULL
28952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28954 if (SWIG_arg_fail(1)) SWIG_fail
;
28956 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28957 if (SWIG_arg_fail(2)) SWIG_fail
;
28958 if (arg2
== NULL
) {
28959 SWIG_null_ref("wxTreeItemId");
28961 if (SWIG_arg_fail(2)) SWIG_fail
;
28965 arg3
= (bool)(SWIG_As_bool(obj2
));
28966 if (SWIG_arg_fail(3)) SWIG_fail
;
28970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28971 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
28973 wxPyEndAllowThreads(__tstate
);
28974 if (PyErr_Occurred()) SWIG_fail
;
28976 Py_INCREF(Py_None
); resultobj
= Py_None
;
28983 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28984 PyObject
*resultobj
;
28985 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28986 wxTreeItemId
*arg2
= 0 ;
28987 bool arg3
= (bool) true ;
28988 PyObject
* obj0
= 0 ;
28989 PyObject
* obj1
= 0 ;
28990 PyObject
* obj2
= 0 ;
28991 char *kwnames
[] = {
28992 (char *) "self",(char *) "item",(char *) "bold", NULL
28995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28997 if (SWIG_arg_fail(1)) SWIG_fail
;
28999 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29000 if (SWIG_arg_fail(2)) SWIG_fail
;
29001 if (arg2
== NULL
) {
29002 SWIG_null_ref("wxTreeItemId");
29004 if (SWIG_arg_fail(2)) SWIG_fail
;
29008 arg3
= (bool)(SWIG_As_bool(obj2
));
29009 if (SWIG_arg_fail(3)) SWIG_fail
;
29013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29014 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
29016 wxPyEndAllowThreads(__tstate
);
29017 if (PyErr_Occurred()) SWIG_fail
;
29019 Py_INCREF(Py_None
); resultobj
= Py_None
;
29026 static PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29027 PyObject
*resultobj
;
29028 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29029 wxTreeItemId
*arg2
= 0 ;
29030 bool arg3
= (bool) true ;
29031 PyObject
* obj0
= 0 ;
29032 PyObject
* obj1
= 0 ;
29033 PyObject
* obj2
= 0 ;
29034 char *kwnames
[] = {
29035 (char *) "self",(char *) "item",(char *) "highlight", NULL
29038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29040 if (SWIG_arg_fail(1)) SWIG_fail
;
29042 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29043 if (SWIG_arg_fail(2)) SWIG_fail
;
29044 if (arg2
== NULL
) {
29045 SWIG_null_ref("wxTreeItemId");
29047 if (SWIG_arg_fail(2)) SWIG_fail
;
29051 arg3
= (bool)(SWIG_As_bool(obj2
));
29052 if (SWIG_arg_fail(3)) SWIG_fail
;
29056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29057 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
29059 wxPyEndAllowThreads(__tstate
);
29060 if (PyErr_Occurred()) SWIG_fail
;
29062 Py_INCREF(Py_None
); resultobj
= Py_None
;
29069 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29070 PyObject
*resultobj
;
29071 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29072 wxTreeItemId
*arg2
= 0 ;
29073 wxColour
*arg3
= 0 ;
29075 PyObject
* obj0
= 0 ;
29076 PyObject
* obj1
= 0 ;
29077 PyObject
* obj2
= 0 ;
29078 char *kwnames
[] = {
29079 (char *) "self",(char *) "item",(char *) "col", NULL
29082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29084 if (SWIG_arg_fail(1)) SWIG_fail
;
29086 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29087 if (SWIG_arg_fail(2)) SWIG_fail
;
29088 if (arg2
== NULL
) {
29089 SWIG_null_ref("wxTreeItemId");
29091 if (SWIG_arg_fail(2)) SWIG_fail
;
29095 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29099 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
29101 wxPyEndAllowThreads(__tstate
);
29102 if (PyErr_Occurred()) SWIG_fail
;
29104 Py_INCREF(Py_None
); resultobj
= Py_None
;
29111 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29112 PyObject
*resultobj
;
29113 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29114 wxTreeItemId
*arg2
= 0 ;
29115 wxColour
*arg3
= 0 ;
29117 PyObject
* obj0
= 0 ;
29118 PyObject
* obj1
= 0 ;
29119 PyObject
* obj2
= 0 ;
29120 char *kwnames
[] = {
29121 (char *) "self",(char *) "item",(char *) "col", NULL
29124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29126 if (SWIG_arg_fail(1)) SWIG_fail
;
29128 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29129 if (SWIG_arg_fail(2)) SWIG_fail
;
29130 if (arg2
== NULL
) {
29131 SWIG_null_ref("wxTreeItemId");
29133 if (SWIG_arg_fail(2)) SWIG_fail
;
29137 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29141 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
29143 wxPyEndAllowThreads(__tstate
);
29144 if (PyErr_Occurred()) SWIG_fail
;
29146 Py_INCREF(Py_None
); resultobj
= Py_None
;
29153 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29154 PyObject
*resultobj
;
29155 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29156 wxTreeItemId
*arg2
= 0 ;
29158 PyObject
* obj0
= 0 ;
29159 PyObject
* obj1
= 0 ;
29160 PyObject
* obj2
= 0 ;
29161 char *kwnames
[] = {
29162 (char *) "self",(char *) "item",(char *) "font", NULL
29165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29167 if (SWIG_arg_fail(1)) SWIG_fail
;
29169 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29170 if (SWIG_arg_fail(2)) SWIG_fail
;
29171 if (arg2
== NULL
) {
29172 SWIG_null_ref("wxTreeItemId");
29174 if (SWIG_arg_fail(2)) SWIG_fail
;
29177 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29178 if (SWIG_arg_fail(3)) SWIG_fail
;
29179 if (arg3
== NULL
) {
29180 SWIG_null_ref("wxFont");
29182 if (SWIG_arg_fail(3)) SWIG_fail
;
29185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29186 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
29188 wxPyEndAllowThreads(__tstate
);
29189 if (PyErr_Occurred()) SWIG_fail
;
29191 Py_INCREF(Py_None
); resultobj
= Py_None
;
29198 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29199 PyObject
*resultobj
;
29200 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29201 wxTreeItemId
*arg2
= 0 ;
29203 PyObject
* obj0
= 0 ;
29204 PyObject
* obj1
= 0 ;
29205 char *kwnames
[] = {
29206 (char *) "self",(char *) "item", NULL
29209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29211 if (SWIG_arg_fail(1)) SWIG_fail
;
29213 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29214 if (SWIG_arg_fail(2)) SWIG_fail
;
29215 if (arg2
== NULL
) {
29216 SWIG_null_ref("wxTreeItemId");
29218 if (SWIG_arg_fail(2)) SWIG_fail
;
29221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29222 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
29224 wxPyEndAllowThreads(__tstate
);
29225 if (PyErr_Occurred()) SWIG_fail
;
29228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29236 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29237 PyObject
*resultobj
;
29238 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29239 wxTreeItemId
*arg2
= 0 ;
29241 PyObject
* obj0
= 0 ;
29242 PyObject
* obj1
= 0 ;
29243 char *kwnames
[] = {
29244 (char *) "self",(char *) "item", NULL
29247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
29248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29249 if (SWIG_arg_fail(1)) SWIG_fail
;
29251 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29252 if (SWIG_arg_fail(2)) SWIG_fail
;
29253 if (arg2
== NULL
) {
29254 SWIG_null_ref("wxTreeItemId");
29256 if (SWIG_arg_fail(2)) SWIG_fail
;
29259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29260 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
29262 wxPyEndAllowThreads(__tstate
);
29263 if (PyErr_Occurred()) SWIG_fail
;
29266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29274 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29275 PyObject
*resultobj
;
29276 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29277 wxTreeItemId
*arg2
= 0 ;
29279 PyObject
* obj0
= 0 ;
29280 PyObject
* obj1
= 0 ;
29281 char *kwnames
[] = {
29282 (char *) "self",(char *) "item", NULL
29285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
29286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29287 if (SWIG_arg_fail(1)) SWIG_fail
;
29289 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29290 if (SWIG_arg_fail(2)) SWIG_fail
;
29291 if (arg2
== NULL
) {
29292 SWIG_null_ref("wxTreeItemId");
29294 if (SWIG_arg_fail(2)) SWIG_fail
;
29297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29298 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
29300 wxPyEndAllowThreads(__tstate
);
29301 if (PyErr_Occurred()) SWIG_fail
;
29304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29312 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29313 PyObject
*resultobj
;
29314 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29315 wxTreeItemId
*arg2
= 0 ;
29317 PyObject
* obj0
= 0 ;
29318 PyObject
* obj1
= 0 ;
29319 char *kwnames
[] = {
29320 (char *) "self",(char *) "item", NULL
29323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
29324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29325 if (SWIG_arg_fail(1)) SWIG_fail
;
29327 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29328 if (SWIG_arg_fail(2)) SWIG_fail
;
29329 if (arg2
== NULL
) {
29330 SWIG_null_ref("wxTreeItemId");
29332 if (SWIG_arg_fail(2)) SWIG_fail
;
29335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29336 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
29338 wxPyEndAllowThreads(__tstate
);
29339 if (PyErr_Occurred()) SWIG_fail
;
29342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29350 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29351 PyObject
*resultobj
;
29352 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29353 wxTreeItemId
*arg2
= 0 ;
29355 PyObject
* obj0
= 0 ;
29356 PyObject
* obj1
= 0 ;
29357 char *kwnames
[] = {
29358 (char *) "self",(char *) "item", NULL
29361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
29362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29363 if (SWIG_arg_fail(1)) SWIG_fail
;
29365 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29366 if (SWIG_arg_fail(2)) SWIG_fail
;
29367 if (arg2
== NULL
) {
29368 SWIG_null_ref("wxTreeItemId");
29370 if (SWIG_arg_fail(2)) SWIG_fail
;
29373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29374 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
29376 wxPyEndAllowThreads(__tstate
);
29377 if (PyErr_Occurred()) SWIG_fail
;
29380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29388 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29389 PyObject
*resultobj
;
29390 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29391 wxTreeItemId
*arg2
= 0 ;
29392 bool arg3
= (bool) true ;
29394 PyObject
* obj0
= 0 ;
29395 PyObject
* obj1
= 0 ;
29396 PyObject
* obj2
= 0 ;
29397 char *kwnames
[] = {
29398 (char *) "self",(char *) "item",(char *) "recursively", NULL
29401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29403 if (SWIG_arg_fail(1)) SWIG_fail
;
29405 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29406 if (SWIG_arg_fail(2)) SWIG_fail
;
29407 if (arg2
== NULL
) {
29408 SWIG_null_ref("wxTreeItemId");
29410 if (SWIG_arg_fail(2)) SWIG_fail
;
29414 arg3
= (bool)(SWIG_As_bool(obj2
));
29415 if (SWIG_arg_fail(3)) SWIG_fail
;
29419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29420 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
29422 wxPyEndAllowThreads(__tstate
);
29423 if (PyErr_Occurred()) SWIG_fail
;
29426 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
29434 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29435 PyObject
*resultobj
;
29436 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29437 wxTreeItemId result
;
29438 PyObject
* obj0
= 0 ;
29439 char *kwnames
[] = {
29440 (char *) "self", NULL
29443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
29444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29445 if (SWIG_arg_fail(1)) SWIG_fail
;
29447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29448 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
29450 wxPyEndAllowThreads(__tstate
);
29451 if (PyErr_Occurred()) SWIG_fail
;
29454 wxTreeItemId
* resultptr
;
29455 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29456 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29464 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29465 PyObject
*resultobj
;
29466 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29467 wxTreeItemId result
;
29468 PyObject
* obj0
= 0 ;
29469 char *kwnames
[] = {
29470 (char *) "self", NULL
29473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
29474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29475 if (SWIG_arg_fail(1)) SWIG_fail
;
29477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29478 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
29480 wxPyEndAllowThreads(__tstate
);
29481 if (PyErr_Occurred()) SWIG_fail
;
29484 wxTreeItemId
* resultptr
;
29485 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29486 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29494 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29495 PyObject
*resultobj
;
29496 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29498 PyObject
* obj0
= 0 ;
29499 char *kwnames
[] = {
29500 (char *) "self", NULL
29503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
29504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29505 if (SWIG_arg_fail(1)) SWIG_fail
;
29507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29508 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
29510 wxPyEndAllowThreads(__tstate
);
29511 if (PyErr_Occurred()) SWIG_fail
;
29513 resultobj
= result
;
29520 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29521 PyObject
*resultobj
;
29522 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29523 wxTreeItemId
*arg2
= 0 ;
29524 wxTreeItemId result
;
29525 PyObject
* obj0
= 0 ;
29526 PyObject
* obj1
= 0 ;
29527 char *kwnames
[] = {
29528 (char *) "self",(char *) "item", NULL
29531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
29532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29533 if (SWIG_arg_fail(1)) SWIG_fail
;
29535 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29536 if (SWIG_arg_fail(2)) SWIG_fail
;
29537 if (arg2
== NULL
) {
29538 SWIG_null_ref("wxTreeItemId");
29540 if (SWIG_arg_fail(2)) SWIG_fail
;
29543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29544 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
29546 wxPyEndAllowThreads(__tstate
);
29547 if (PyErr_Occurred()) SWIG_fail
;
29550 wxTreeItemId
* resultptr
;
29551 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29552 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29560 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29561 PyObject
*resultobj
;
29562 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29563 wxTreeItemId
*arg2
= 0 ;
29565 PyObject
* obj0
= 0 ;
29566 PyObject
* obj1
= 0 ;
29567 char *kwnames
[] = {
29568 (char *) "self",(char *) "item", NULL
29571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29573 if (SWIG_arg_fail(1)) SWIG_fail
;
29575 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29576 if (SWIG_arg_fail(2)) SWIG_fail
;
29577 if (arg2
== NULL
) {
29578 SWIG_null_ref("wxTreeItemId");
29580 if (SWIG_arg_fail(2)) SWIG_fail
;
29583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29584 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
29586 wxPyEndAllowThreads(__tstate
);
29587 if (PyErr_Occurred()) SWIG_fail
;
29589 resultobj
= result
;
29596 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29597 PyObject
*resultobj
;
29598 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29599 wxTreeItemId
*arg2
= 0 ;
29600 void *arg3
= (void *) 0 ;
29602 PyObject
* obj0
= 0 ;
29603 PyObject
* obj1
= 0 ;
29604 PyObject
* obj2
= 0 ;
29605 char *kwnames
[] = {
29606 (char *) "self",(char *) "item",(char *) "cookie", NULL
29609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29611 if (SWIG_arg_fail(1)) SWIG_fail
;
29613 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29614 if (SWIG_arg_fail(2)) SWIG_fail
;
29615 if (arg2
== NULL
) {
29616 SWIG_null_ref("wxTreeItemId");
29618 if (SWIG_arg_fail(2)) SWIG_fail
;
29621 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),0,SWIG_POINTER_EXCEPTION
|0))== -1) {
29622 SWIG_arg_fail(3);SWIG_fail
;
29626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29627 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
29629 wxPyEndAllowThreads(__tstate
);
29630 if (PyErr_Occurred()) SWIG_fail
;
29632 resultobj
= result
;
29639 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29640 PyObject
*resultobj
;
29641 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29642 wxTreeItemId
*arg2
= 0 ;
29643 wxTreeItemId result
;
29644 PyObject
* obj0
= 0 ;
29645 PyObject
* obj1
= 0 ;
29646 char *kwnames
[] = {
29647 (char *) "self",(char *) "item", NULL
29650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29652 if (SWIG_arg_fail(1)) SWIG_fail
;
29654 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29655 if (SWIG_arg_fail(2)) SWIG_fail
;
29656 if (arg2
== NULL
) {
29657 SWIG_null_ref("wxTreeItemId");
29659 if (SWIG_arg_fail(2)) SWIG_fail
;
29662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29663 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
29665 wxPyEndAllowThreads(__tstate
);
29666 if (PyErr_Occurred()) SWIG_fail
;
29669 wxTreeItemId
* resultptr
;
29670 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29671 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29679 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29680 PyObject
*resultobj
;
29681 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29682 wxTreeItemId
*arg2
= 0 ;
29683 wxTreeItemId result
;
29684 PyObject
* obj0
= 0 ;
29685 PyObject
* obj1
= 0 ;
29686 char *kwnames
[] = {
29687 (char *) "self",(char *) "item", NULL
29690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
29691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29692 if (SWIG_arg_fail(1)) SWIG_fail
;
29694 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29695 if (SWIG_arg_fail(2)) SWIG_fail
;
29696 if (arg2
== NULL
) {
29697 SWIG_null_ref("wxTreeItemId");
29699 if (SWIG_arg_fail(2)) SWIG_fail
;
29702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29703 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
29705 wxPyEndAllowThreads(__tstate
);
29706 if (PyErr_Occurred()) SWIG_fail
;
29709 wxTreeItemId
* resultptr
;
29710 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29711 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29719 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29720 PyObject
*resultobj
;
29721 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29722 wxTreeItemId
*arg2
= 0 ;
29723 wxTreeItemId result
;
29724 PyObject
* obj0
= 0 ;
29725 PyObject
* obj1
= 0 ;
29726 char *kwnames
[] = {
29727 (char *) "self",(char *) "item", NULL
29730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
29731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29732 if (SWIG_arg_fail(1)) SWIG_fail
;
29734 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29735 if (SWIG_arg_fail(2)) SWIG_fail
;
29736 if (arg2
== NULL
) {
29737 SWIG_null_ref("wxTreeItemId");
29739 if (SWIG_arg_fail(2)) SWIG_fail
;
29742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29743 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
29745 wxPyEndAllowThreads(__tstate
);
29746 if (PyErr_Occurred()) SWIG_fail
;
29749 wxTreeItemId
* resultptr
;
29750 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29751 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29759 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29760 PyObject
*resultobj
;
29761 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29762 wxTreeItemId result
;
29763 PyObject
* obj0
= 0 ;
29764 char *kwnames
[] = {
29765 (char *) "self", NULL
29768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
29769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29770 if (SWIG_arg_fail(1)) SWIG_fail
;
29772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29773 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
29775 wxPyEndAllowThreads(__tstate
);
29776 if (PyErr_Occurred()) SWIG_fail
;
29779 wxTreeItemId
* resultptr
;
29780 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29781 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29789 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29790 PyObject
*resultobj
;
29791 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29792 wxTreeItemId
*arg2
= 0 ;
29793 wxTreeItemId result
;
29794 PyObject
* obj0
= 0 ;
29795 PyObject
* obj1
= 0 ;
29796 char *kwnames
[] = {
29797 (char *) "self",(char *) "item", NULL
29800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29802 if (SWIG_arg_fail(1)) SWIG_fail
;
29804 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29805 if (SWIG_arg_fail(2)) SWIG_fail
;
29806 if (arg2
== NULL
) {
29807 SWIG_null_ref("wxTreeItemId");
29809 if (SWIG_arg_fail(2)) SWIG_fail
;
29812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29813 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
29815 wxPyEndAllowThreads(__tstate
);
29816 if (PyErr_Occurred()) SWIG_fail
;
29819 wxTreeItemId
* resultptr
;
29820 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29821 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29829 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29830 PyObject
*resultobj
;
29831 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29832 wxTreeItemId
*arg2
= 0 ;
29833 wxTreeItemId result
;
29834 PyObject
* obj0
= 0 ;
29835 PyObject
* obj1
= 0 ;
29836 char *kwnames
[] = {
29837 (char *) "self",(char *) "item", NULL
29840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29842 if (SWIG_arg_fail(1)) SWIG_fail
;
29844 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29845 if (SWIG_arg_fail(2)) SWIG_fail
;
29846 if (arg2
== NULL
) {
29847 SWIG_null_ref("wxTreeItemId");
29849 if (SWIG_arg_fail(2)) SWIG_fail
;
29852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29853 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
29855 wxPyEndAllowThreads(__tstate
);
29856 if (PyErr_Occurred()) SWIG_fail
;
29859 wxTreeItemId
* resultptr
;
29860 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29861 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29869 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29870 PyObject
*resultobj
;
29871 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29872 wxString
*arg2
= 0 ;
29873 int arg3
= (int) -1 ;
29874 int arg4
= (int) -1 ;
29875 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
29876 wxTreeItemId result
;
29877 bool temp2
= false ;
29878 PyObject
* obj0
= 0 ;
29879 PyObject
* obj1
= 0 ;
29880 PyObject
* obj2
= 0 ;
29881 PyObject
* obj3
= 0 ;
29882 PyObject
* obj4
= 0 ;
29883 char *kwnames
[] = {
29884 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29889 if (SWIG_arg_fail(1)) SWIG_fail
;
29891 arg2
= wxString_in_helper(obj1
);
29892 if (arg2
== NULL
) SWIG_fail
;
29897 arg3
= (int)(SWIG_As_int(obj2
));
29898 if (SWIG_arg_fail(3)) SWIG_fail
;
29903 arg4
= (int)(SWIG_As_int(obj3
));
29904 if (SWIG_arg_fail(4)) SWIG_fail
;
29908 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
29909 if (SWIG_arg_fail(5)) SWIG_fail
;
29912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29913 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
29915 wxPyEndAllowThreads(__tstate
);
29916 if (PyErr_Occurred()) SWIG_fail
;
29919 wxTreeItemId
* resultptr
;
29920 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29921 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29937 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29938 PyObject
*resultobj
;
29939 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29940 wxTreeItemId
*arg2
= 0 ;
29941 wxString
*arg3
= 0 ;
29942 int arg4
= (int) -1 ;
29943 int arg5
= (int) -1 ;
29944 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
29945 wxTreeItemId result
;
29946 bool temp3
= false ;
29947 PyObject
* obj0
= 0 ;
29948 PyObject
* obj1
= 0 ;
29949 PyObject
* obj2
= 0 ;
29950 PyObject
* obj3
= 0 ;
29951 PyObject
* obj4
= 0 ;
29952 PyObject
* obj5
= 0 ;
29953 char *kwnames
[] = {
29954 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29959 if (SWIG_arg_fail(1)) SWIG_fail
;
29961 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29962 if (SWIG_arg_fail(2)) SWIG_fail
;
29963 if (arg2
== NULL
) {
29964 SWIG_null_ref("wxTreeItemId");
29966 if (SWIG_arg_fail(2)) SWIG_fail
;
29969 arg3
= wxString_in_helper(obj2
);
29970 if (arg3
== NULL
) SWIG_fail
;
29975 arg4
= (int)(SWIG_As_int(obj3
));
29976 if (SWIG_arg_fail(4)) SWIG_fail
;
29981 arg5
= (int)(SWIG_As_int(obj4
));
29982 if (SWIG_arg_fail(5)) SWIG_fail
;
29986 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
29987 if (SWIG_arg_fail(6)) SWIG_fail
;
29990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29991 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
29993 wxPyEndAllowThreads(__tstate
);
29994 if (PyErr_Occurred()) SWIG_fail
;
29997 wxTreeItemId
* resultptr
;
29998 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29999 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30015 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30016 PyObject
*resultobj
;
30017 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30018 wxTreeItemId
*arg2
= 0 ;
30019 wxTreeItemId
*arg3
= 0 ;
30020 wxString
*arg4
= 0 ;
30021 int arg5
= (int) -1 ;
30022 int arg6
= (int) -1 ;
30023 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
30024 wxTreeItemId result
;
30025 bool temp4
= false ;
30026 PyObject
* obj0
= 0 ;
30027 PyObject
* obj1
= 0 ;
30028 PyObject
* obj2
= 0 ;
30029 PyObject
* obj3
= 0 ;
30030 PyObject
* obj4
= 0 ;
30031 PyObject
* obj5
= 0 ;
30032 PyObject
* obj6
= 0 ;
30033 char *kwnames
[] = {
30034 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30039 if (SWIG_arg_fail(1)) SWIG_fail
;
30041 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30042 if (SWIG_arg_fail(2)) SWIG_fail
;
30043 if (arg2
== NULL
) {
30044 SWIG_null_ref("wxTreeItemId");
30046 if (SWIG_arg_fail(2)) SWIG_fail
;
30049 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30050 if (SWIG_arg_fail(3)) SWIG_fail
;
30051 if (arg3
== NULL
) {
30052 SWIG_null_ref("wxTreeItemId");
30054 if (SWIG_arg_fail(3)) SWIG_fail
;
30057 arg4
= wxString_in_helper(obj3
);
30058 if (arg4
== NULL
) SWIG_fail
;
30063 arg5
= (int)(SWIG_As_int(obj4
));
30064 if (SWIG_arg_fail(5)) SWIG_fail
;
30069 arg6
= (int)(SWIG_As_int(obj5
));
30070 if (SWIG_arg_fail(6)) SWIG_fail
;
30074 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30075 if (SWIG_arg_fail(7)) SWIG_fail
;
30078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30079 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
30081 wxPyEndAllowThreads(__tstate
);
30082 if (PyErr_Occurred()) SWIG_fail
;
30085 wxTreeItemId
* resultptr
;
30086 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30087 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30103 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30104 PyObject
*resultobj
;
30105 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30106 wxTreeItemId
*arg2
= 0 ;
30108 wxString
*arg4
= 0 ;
30109 int arg5
= (int) -1 ;
30110 int arg6
= (int) -1 ;
30111 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
30112 wxTreeItemId result
;
30113 bool temp4
= false ;
30114 PyObject
* obj0
= 0 ;
30115 PyObject
* obj1
= 0 ;
30116 PyObject
* obj2
= 0 ;
30117 PyObject
* obj3
= 0 ;
30118 PyObject
* obj4
= 0 ;
30119 PyObject
* obj5
= 0 ;
30120 PyObject
* obj6
= 0 ;
30121 char *kwnames
[] = {
30122 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30127 if (SWIG_arg_fail(1)) SWIG_fail
;
30129 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30130 if (SWIG_arg_fail(2)) SWIG_fail
;
30131 if (arg2
== NULL
) {
30132 SWIG_null_ref("wxTreeItemId");
30134 if (SWIG_arg_fail(2)) SWIG_fail
;
30137 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
30138 if (SWIG_arg_fail(3)) SWIG_fail
;
30141 arg4
= wxString_in_helper(obj3
);
30142 if (arg4
== NULL
) SWIG_fail
;
30147 arg5
= (int)(SWIG_As_int(obj4
));
30148 if (SWIG_arg_fail(5)) SWIG_fail
;
30153 arg6
= (int)(SWIG_As_int(obj5
));
30154 if (SWIG_arg_fail(6)) SWIG_fail
;
30158 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30159 if (SWIG_arg_fail(7)) SWIG_fail
;
30162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30163 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
30165 wxPyEndAllowThreads(__tstate
);
30166 if (PyErr_Occurred()) SWIG_fail
;
30169 wxTreeItemId
* resultptr
;
30170 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30171 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30187 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30188 PyObject
*resultobj
;
30189 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30190 wxTreeItemId
*arg2
= 0 ;
30191 wxString
*arg3
= 0 ;
30192 int arg4
= (int) -1 ;
30193 int arg5
= (int) -1 ;
30194 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
30195 wxTreeItemId result
;
30196 bool temp3
= false ;
30197 PyObject
* obj0
= 0 ;
30198 PyObject
* obj1
= 0 ;
30199 PyObject
* obj2
= 0 ;
30200 PyObject
* obj3
= 0 ;
30201 PyObject
* obj4
= 0 ;
30202 PyObject
* obj5
= 0 ;
30203 char *kwnames
[] = {
30204 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30209 if (SWIG_arg_fail(1)) SWIG_fail
;
30211 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30212 if (SWIG_arg_fail(2)) SWIG_fail
;
30213 if (arg2
== NULL
) {
30214 SWIG_null_ref("wxTreeItemId");
30216 if (SWIG_arg_fail(2)) SWIG_fail
;
30219 arg3
= wxString_in_helper(obj2
);
30220 if (arg3
== NULL
) SWIG_fail
;
30225 arg4
= (int)(SWIG_As_int(obj3
));
30226 if (SWIG_arg_fail(4)) SWIG_fail
;
30231 arg5
= (int)(SWIG_As_int(obj4
));
30232 if (SWIG_arg_fail(5)) SWIG_fail
;
30236 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30237 if (SWIG_arg_fail(6)) SWIG_fail
;
30240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30241 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
30243 wxPyEndAllowThreads(__tstate
);
30244 if (PyErr_Occurred()) SWIG_fail
;
30247 wxTreeItemId
* resultptr
;
30248 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30249 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30265 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30266 PyObject
*resultobj
;
30267 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30268 wxTreeItemId
*arg2
= 0 ;
30269 PyObject
* obj0
= 0 ;
30270 PyObject
* obj1
= 0 ;
30271 char *kwnames
[] = {
30272 (char *) "self",(char *) "item", NULL
30275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
30276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30277 if (SWIG_arg_fail(1)) SWIG_fail
;
30279 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30280 if (SWIG_arg_fail(2)) SWIG_fail
;
30281 if (arg2
== NULL
) {
30282 SWIG_null_ref("wxTreeItemId");
30284 if (SWIG_arg_fail(2)) SWIG_fail
;
30287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30288 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
30290 wxPyEndAllowThreads(__tstate
);
30291 if (PyErr_Occurred()) SWIG_fail
;
30293 Py_INCREF(Py_None
); resultobj
= Py_None
;
30300 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30301 PyObject
*resultobj
;
30302 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30303 wxTreeItemId
*arg2
= 0 ;
30304 PyObject
* obj0
= 0 ;
30305 PyObject
* obj1
= 0 ;
30306 char *kwnames
[] = {
30307 (char *) "self",(char *) "item", NULL
30310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
30311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30312 if (SWIG_arg_fail(1)) SWIG_fail
;
30314 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30315 if (SWIG_arg_fail(2)) SWIG_fail
;
30316 if (arg2
== NULL
) {
30317 SWIG_null_ref("wxTreeItemId");
30319 if (SWIG_arg_fail(2)) SWIG_fail
;
30322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30323 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
30325 wxPyEndAllowThreads(__tstate
);
30326 if (PyErr_Occurred()) SWIG_fail
;
30328 Py_INCREF(Py_None
); resultobj
= Py_None
;
30335 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30336 PyObject
*resultobj
;
30337 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30338 PyObject
* obj0
= 0 ;
30339 char *kwnames
[] = {
30340 (char *) "self", NULL
30343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
30344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30345 if (SWIG_arg_fail(1)) SWIG_fail
;
30347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30348 (arg1
)->DeleteAllItems();
30350 wxPyEndAllowThreads(__tstate
);
30351 if (PyErr_Occurred()) SWIG_fail
;
30353 Py_INCREF(Py_None
); resultobj
= Py_None
;
30360 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30361 PyObject
*resultobj
;
30362 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30363 wxTreeItemId
*arg2
= 0 ;
30364 PyObject
* obj0
= 0 ;
30365 PyObject
* obj1
= 0 ;
30366 char *kwnames
[] = {
30367 (char *) "self",(char *) "item", NULL
30370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
30371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30372 if (SWIG_arg_fail(1)) SWIG_fail
;
30374 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30375 if (SWIG_arg_fail(2)) SWIG_fail
;
30376 if (arg2
== NULL
) {
30377 SWIG_null_ref("wxTreeItemId");
30379 if (SWIG_arg_fail(2)) SWIG_fail
;
30382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30383 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
30385 wxPyEndAllowThreads(__tstate
);
30386 if (PyErr_Occurred()) SWIG_fail
;
30388 Py_INCREF(Py_None
); resultobj
= Py_None
;
30395 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30396 PyObject
*resultobj
;
30397 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30398 wxTreeItemId
*arg2
= 0 ;
30399 PyObject
* obj0
= 0 ;
30400 PyObject
* obj1
= 0 ;
30401 char *kwnames
[] = {
30402 (char *) "self",(char *) "item", NULL
30405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
30406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30407 if (SWIG_arg_fail(1)) SWIG_fail
;
30409 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30410 if (SWIG_arg_fail(2)) SWIG_fail
;
30411 if (arg2
== NULL
) {
30412 SWIG_null_ref("wxTreeItemId");
30414 if (SWIG_arg_fail(2)) SWIG_fail
;
30417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30418 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
30420 wxPyEndAllowThreads(__tstate
);
30421 if (PyErr_Occurred()) SWIG_fail
;
30423 Py_INCREF(Py_None
); resultobj
= Py_None
;
30430 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30431 PyObject
*resultobj
;
30432 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30433 wxTreeItemId
*arg2
= 0 ;
30434 PyObject
* obj0
= 0 ;
30435 PyObject
* obj1
= 0 ;
30436 char *kwnames
[] = {
30437 (char *) "self",(char *) "item", NULL
30440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
30441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30442 if (SWIG_arg_fail(1)) SWIG_fail
;
30444 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30445 if (SWIG_arg_fail(2)) SWIG_fail
;
30446 if (arg2
== NULL
) {
30447 SWIG_null_ref("wxTreeItemId");
30449 if (SWIG_arg_fail(2)) SWIG_fail
;
30452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30453 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
30455 wxPyEndAllowThreads(__tstate
);
30456 if (PyErr_Occurred()) SWIG_fail
;
30458 Py_INCREF(Py_None
); resultobj
= Py_None
;
30465 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30466 PyObject
*resultobj
;
30467 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30468 wxTreeItemId
*arg2
= 0 ;
30469 PyObject
* obj0
= 0 ;
30470 PyObject
* obj1
= 0 ;
30471 char *kwnames
[] = {
30472 (char *) "self",(char *) "item", NULL
30475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
30476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30477 if (SWIG_arg_fail(1)) SWIG_fail
;
30479 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30480 if (SWIG_arg_fail(2)) SWIG_fail
;
30481 if (arg2
== NULL
) {
30482 SWIG_null_ref("wxTreeItemId");
30484 if (SWIG_arg_fail(2)) SWIG_fail
;
30487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30488 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
30490 wxPyEndAllowThreads(__tstate
);
30491 if (PyErr_Occurred()) SWIG_fail
;
30493 Py_INCREF(Py_None
); resultobj
= Py_None
;
30500 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30501 PyObject
*resultobj
;
30502 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30503 PyObject
* obj0
= 0 ;
30504 char *kwnames
[] = {
30505 (char *) "self", NULL
30508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
30509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30510 if (SWIG_arg_fail(1)) SWIG_fail
;
30512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30513 (arg1
)->Unselect();
30515 wxPyEndAllowThreads(__tstate
);
30516 if (PyErr_Occurred()) SWIG_fail
;
30518 Py_INCREF(Py_None
); resultobj
= Py_None
;
30525 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30526 PyObject
*resultobj
;
30527 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30528 wxTreeItemId
*arg2
= 0 ;
30529 PyObject
* obj0
= 0 ;
30530 PyObject
* obj1
= 0 ;
30531 char *kwnames
[] = {
30532 (char *) "self",(char *) "item", NULL
30535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30537 if (SWIG_arg_fail(1)) SWIG_fail
;
30539 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30540 if (SWIG_arg_fail(2)) SWIG_fail
;
30541 if (arg2
== NULL
) {
30542 SWIG_null_ref("wxTreeItemId");
30544 if (SWIG_arg_fail(2)) SWIG_fail
;
30547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30548 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
30550 wxPyEndAllowThreads(__tstate
);
30551 if (PyErr_Occurred()) SWIG_fail
;
30553 Py_INCREF(Py_None
); resultobj
= Py_None
;
30560 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30561 PyObject
*resultobj
;
30562 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30563 PyObject
* obj0
= 0 ;
30564 char *kwnames
[] = {
30565 (char *) "self", NULL
30568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
30569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30570 if (SWIG_arg_fail(1)) SWIG_fail
;
30572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30573 (arg1
)->UnselectAll();
30575 wxPyEndAllowThreads(__tstate
);
30576 if (PyErr_Occurred()) SWIG_fail
;
30578 Py_INCREF(Py_None
); resultobj
= Py_None
;
30585 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30586 PyObject
*resultobj
;
30587 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30588 wxTreeItemId
*arg2
= 0 ;
30589 bool arg3
= (bool) true ;
30590 PyObject
* obj0
= 0 ;
30591 PyObject
* obj1
= 0 ;
30592 PyObject
* obj2
= 0 ;
30593 char *kwnames
[] = {
30594 (char *) "self",(char *) "item",(char *) "select", NULL
30597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30599 if (SWIG_arg_fail(1)) SWIG_fail
;
30601 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30602 if (SWIG_arg_fail(2)) SWIG_fail
;
30603 if (arg2
== NULL
) {
30604 SWIG_null_ref("wxTreeItemId");
30606 if (SWIG_arg_fail(2)) SWIG_fail
;
30610 arg3
= (bool)(SWIG_As_bool(obj2
));
30611 if (SWIG_arg_fail(3)) SWIG_fail
;
30615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30616 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
30618 wxPyEndAllowThreads(__tstate
);
30619 if (PyErr_Occurred()) SWIG_fail
;
30621 Py_INCREF(Py_None
); resultobj
= Py_None
;
30628 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30629 PyObject
*resultobj
;
30630 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30631 wxTreeItemId
*arg2
= 0 ;
30632 PyObject
* obj0
= 0 ;
30633 PyObject
* obj1
= 0 ;
30634 char *kwnames
[] = {
30635 (char *) "self",(char *) "item", NULL
30638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
30639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30640 if (SWIG_arg_fail(1)) SWIG_fail
;
30642 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30643 if (SWIG_arg_fail(2)) SWIG_fail
;
30644 if (arg2
== NULL
) {
30645 SWIG_null_ref("wxTreeItemId");
30647 if (SWIG_arg_fail(2)) SWIG_fail
;
30650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30651 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
30653 wxPyEndAllowThreads(__tstate
);
30654 if (PyErr_Occurred()) SWIG_fail
;
30656 Py_INCREF(Py_None
); resultobj
= Py_None
;
30663 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30664 PyObject
*resultobj
;
30665 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30666 wxTreeItemId
*arg2
= 0 ;
30667 PyObject
* obj0
= 0 ;
30668 PyObject
* obj1
= 0 ;
30669 char *kwnames
[] = {
30670 (char *) "self",(char *) "item", NULL
30673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
30674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30675 if (SWIG_arg_fail(1)) SWIG_fail
;
30677 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30678 if (SWIG_arg_fail(2)) SWIG_fail
;
30679 if (arg2
== NULL
) {
30680 SWIG_null_ref("wxTreeItemId");
30682 if (SWIG_arg_fail(2)) SWIG_fail
;
30685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30686 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
30688 wxPyEndAllowThreads(__tstate
);
30689 if (PyErr_Occurred()) SWIG_fail
;
30691 Py_INCREF(Py_None
); resultobj
= Py_None
;
30698 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30699 PyObject
*resultobj
;
30700 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30701 wxTreeItemId
*arg2
= 0 ;
30702 PyObject
* obj0
= 0 ;
30703 PyObject
* obj1
= 0 ;
30704 char *kwnames
[] = {
30705 (char *) "self",(char *) "item", NULL
30708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
30709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30710 if (SWIG_arg_fail(1)) SWIG_fail
;
30712 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30713 if (SWIG_arg_fail(2)) SWIG_fail
;
30714 if (arg2
== NULL
) {
30715 SWIG_null_ref("wxTreeItemId");
30717 if (SWIG_arg_fail(2)) SWIG_fail
;
30720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30721 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
30723 wxPyEndAllowThreads(__tstate
);
30724 if (PyErr_Occurred()) SWIG_fail
;
30726 Py_INCREF(Py_None
); resultobj
= Py_None
;
30733 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30734 PyObject
*resultobj
;
30735 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30736 wxTreeItemId
*arg2
= 0 ;
30737 PyObject
* obj0
= 0 ;
30738 PyObject
* obj1
= 0 ;
30739 char *kwnames
[] = {
30740 (char *) "self",(char *) "item", NULL
30743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
30744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30745 if (SWIG_arg_fail(1)) SWIG_fail
;
30747 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30748 if (SWIG_arg_fail(2)) SWIG_fail
;
30749 if (arg2
== NULL
) {
30750 SWIG_null_ref("wxTreeItemId");
30752 if (SWIG_arg_fail(2)) SWIG_fail
;
30755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30756 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
30758 wxPyEndAllowThreads(__tstate
);
30759 if (PyErr_Occurred()) SWIG_fail
;
30761 Py_INCREF(Py_None
); resultobj
= Py_None
;
30768 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30769 PyObject
*resultobj
;
30770 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30771 wxTextCtrl
*result
;
30772 PyObject
* obj0
= 0 ;
30773 char *kwnames
[] = {
30774 (char *) "self", NULL
30777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
30778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30779 if (SWIG_arg_fail(1)) SWIG_fail
;
30781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30782 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
30784 wxPyEndAllowThreads(__tstate
);
30785 if (PyErr_Occurred()) SWIG_fail
;
30788 resultobj
= wxPyMake_wxObject(result
, 0);
30796 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30797 PyObject
*resultobj
;
30798 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30799 wxTreeItemId
*arg2
= 0 ;
30800 PyObject
* obj0
= 0 ;
30801 PyObject
* obj1
= 0 ;
30802 char *kwnames
[] = {
30803 (char *) "self",(char *) "item", NULL
30806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
30807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30808 if (SWIG_arg_fail(1)) SWIG_fail
;
30810 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30811 if (SWIG_arg_fail(2)) SWIG_fail
;
30812 if (arg2
== NULL
) {
30813 SWIG_null_ref("wxTreeItemId");
30815 if (SWIG_arg_fail(2)) SWIG_fail
;
30818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30819 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
30821 wxPyEndAllowThreads(__tstate
);
30822 if (PyErr_Occurred()) SWIG_fail
;
30824 Py_INCREF(Py_None
); resultobj
= Py_None
;
30831 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30832 PyObject
*resultobj
;
30833 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30834 wxPoint
*arg2
= 0 ;
30836 wxTreeItemId result
;
30840 PyObject
* obj0
= 0 ;
30841 PyObject
* obj1
= 0 ;
30842 char *kwnames
[] = {
30843 (char *) "self",(char *) "point", NULL
30846 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
30848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30849 if (SWIG_arg_fail(1)) SWIG_fail
;
30852 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30856 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
30858 wxPyEndAllowThreads(__tstate
);
30859 if (PyErr_Occurred()) SWIG_fail
;
30862 wxTreeItemId
* resultptr
;
30863 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30864 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30866 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30867 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30874 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30875 PyObject
*resultobj
;
30876 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30877 wxTreeItemId
*arg2
= 0 ;
30878 bool arg3
= (bool) false ;
30880 PyObject
* obj0
= 0 ;
30881 PyObject
* obj1
= 0 ;
30882 PyObject
* obj2
= 0 ;
30883 char *kwnames
[] = {
30884 (char *) "self",(char *) "item",(char *) "textOnly", NULL
30887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30889 if (SWIG_arg_fail(1)) SWIG_fail
;
30891 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30892 if (SWIG_arg_fail(2)) SWIG_fail
;
30893 if (arg2
== NULL
) {
30894 SWIG_null_ref("wxTreeItemId");
30896 if (SWIG_arg_fail(2)) SWIG_fail
;
30900 arg3
= (bool)(SWIG_As_bool(obj2
));
30901 if (SWIG_arg_fail(3)) SWIG_fail
;
30905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30906 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
30908 wxPyEndAllowThreads(__tstate
);
30909 if (PyErr_Occurred()) SWIG_fail
;
30911 resultobj
= result
;
30918 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30919 PyObject
*resultobj
;
30920 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
30921 wxVisualAttributes result
;
30922 PyObject
* obj0
= 0 ;
30923 char *kwnames
[] = {
30924 (char *) "variant", NULL
30927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
30930 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
30931 if (SWIG_arg_fail(1)) SWIG_fail
;
30935 if (!wxPyCheckForApp()) SWIG_fail
;
30936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30937 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
30939 wxPyEndAllowThreads(__tstate
);
30940 if (PyErr_Occurred()) SWIG_fail
;
30943 wxVisualAttributes
* resultptr
;
30944 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
30945 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
30953 static PyObject
* TreeCtrl_swigregister(PyObject
*, PyObject
*args
) {
30955 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30956 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
30958 return Py_BuildValue((char *)"");
30960 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*) {
30961 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
30966 static PyObject
*_wrap_DirDialogDefaultFolderStr_get(void) {
30971 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
30973 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
30980 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30981 PyObject
*resultobj
;
30982 wxWindow
*arg1
= (wxWindow
*) 0 ;
30983 int arg2
= (int) (int)-1 ;
30984 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
30985 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
30986 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30987 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30988 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30989 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30990 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
30991 wxString
const &arg7_defvalue
= wxPyEmptyString
;
30992 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30993 int arg8
= (int) 0 ;
30994 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
30995 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
30996 wxGenericDirCtrl
*result
;
30997 bool temp3
= false ;
31000 bool temp7
= false ;
31001 bool temp9
= false ;
31002 PyObject
* obj0
= 0 ;
31003 PyObject
* obj1
= 0 ;
31004 PyObject
* obj2
= 0 ;
31005 PyObject
* obj3
= 0 ;
31006 PyObject
* obj4
= 0 ;
31007 PyObject
* obj5
= 0 ;
31008 PyObject
* obj6
= 0 ;
31009 PyObject
* obj7
= 0 ;
31010 PyObject
* obj8
= 0 ;
31011 char *kwnames
[] = {
31012 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
31016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31017 if (SWIG_arg_fail(1)) SWIG_fail
;
31020 arg2
= (int const)(SWIG_As_int(obj1
));
31021 if (SWIG_arg_fail(2)) SWIG_fail
;
31026 arg3
= wxString_in_helper(obj2
);
31027 if (arg3
== NULL
) SWIG_fail
;
31034 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31040 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31045 arg6
= (long)(SWIG_As_long(obj5
));
31046 if (SWIG_arg_fail(6)) SWIG_fail
;
31051 arg7
= wxString_in_helper(obj6
);
31052 if (arg7
== NULL
) SWIG_fail
;
31058 arg8
= (int)(SWIG_As_int(obj7
));
31059 if (SWIG_arg_fail(8)) SWIG_fail
;
31064 arg9
= wxString_in_helper(obj8
);
31065 if (arg9
== NULL
) SWIG_fail
;
31070 if (!wxPyCheckForApp()) SWIG_fail
;
31071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31072 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
31074 wxPyEndAllowThreads(__tstate
);
31075 if (PyErr_Occurred()) SWIG_fail
;
31077 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
31108 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31109 PyObject
*resultobj
;
31110 wxGenericDirCtrl
*result
;
31111 char *kwnames
[] = {
31115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
31117 if (!wxPyCheckForApp()) SWIG_fail
;
31118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31119 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
31121 wxPyEndAllowThreads(__tstate
);
31122 if (PyErr_Occurred()) SWIG_fail
;
31124 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
31131 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31132 PyObject
*resultobj
;
31133 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31134 wxWindow
*arg2
= (wxWindow
*) 0 ;
31135 int arg3
= (int) (int)-1 ;
31136 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
31137 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
31138 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
31139 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
31140 wxSize
const &arg6_defvalue
= wxDefaultSize
;
31141 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
31142 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
31143 wxString
const &arg8_defvalue
= wxPyEmptyString
;
31144 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
31145 int arg9
= (int) 0 ;
31146 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
31147 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
31149 bool temp4
= false ;
31152 bool temp8
= false ;
31153 bool temp10
= false ;
31154 PyObject
* obj0
= 0 ;
31155 PyObject
* obj1
= 0 ;
31156 PyObject
* obj2
= 0 ;
31157 PyObject
* obj3
= 0 ;
31158 PyObject
* obj4
= 0 ;
31159 PyObject
* obj5
= 0 ;
31160 PyObject
* obj6
= 0 ;
31161 PyObject
* obj7
= 0 ;
31162 PyObject
* obj8
= 0 ;
31163 PyObject
* obj9
= 0 ;
31164 char *kwnames
[] = {
31165 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
31169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31170 if (SWIG_arg_fail(1)) SWIG_fail
;
31171 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31172 if (SWIG_arg_fail(2)) SWIG_fail
;
31175 arg3
= (int const)(SWIG_As_int(obj2
));
31176 if (SWIG_arg_fail(3)) SWIG_fail
;
31181 arg4
= wxString_in_helper(obj3
);
31182 if (arg4
== NULL
) SWIG_fail
;
31189 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
31195 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
31200 arg7
= (long)(SWIG_As_long(obj6
));
31201 if (SWIG_arg_fail(7)) SWIG_fail
;
31206 arg8
= wxString_in_helper(obj7
);
31207 if (arg8
== NULL
) SWIG_fail
;
31213 arg9
= (int)(SWIG_As_int(obj8
));
31214 if (SWIG_arg_fail(9)) SWIG_fail
;
31219 arg10
= wxString_in_helper(obj9
);
31220 if (arg10
== NULL
) SWIG_fail
;
31225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31226 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
31228 wxPyEndAllowThreads(__tstate
);
31229 if (PyErr_Occurred()) SWIG_fail
;
31232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31264 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31265 PyObject
*resultobj
;
31266 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31267 wxString
*arg2
= 0 ;
31269 bool temp2
= false ;
31270 PyObject
* obj0
= 0 ;
31271 PyObject
* obj1
= 0 ;
31272 char *kwnames
[] = {
31273 (char *) "self",(char *) "path", NULL
31276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31278 if (SWIG_arg_fail(1)) SWIG_fail
;
31280 arg2
= wxString_in_helper(obj1
);
31281 if (arg2
== NULL
) SWIG_fail
;
31285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31286 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
31288 wxPyEndAllowThreads(__tstate
);
31289 if (PyErr_Occurred()) SWIG_fail
;
31292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31308 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31309 PyObject
*resultobj
;
31310 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31312 PyObject
* obj0
= 0 ;
31313 char *kwnames
[] = {
31314 (char *) "self", NULL
31317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
31318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31319 if (SWIG_arg_fail(1)) SWIG_fail
;
31321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31322 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
31324 wxPyEndAllowThreads(__tstate
);
31325 if (PyErr_Occurred()) SWIG_fail
;
31329 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31331 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31340 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31341 PyObject
*resultobj
;
31342 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31343 wxString
*arg2
= 0 ;
31344 bool temp2
= false ;
31345 PyObject
* obj0
= 0 ;
31346 PyObject
* obj1
= 0 ;
31347 char *kwnames
[] = {
31348 (char *) "self",(char *) "path", NULL
31351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31353 if (SWIG_arg_fail(1)) SWIG_fail
;
31355 arg2
= wxString_in_helper(obj1
);
31356 if (arg2
== NULL
) SWIG_fail
;
31360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31361 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
31363 wxPyEndAllowThreads(__tstate
);
31364 if (PyErr_Occurred()) SWIG_fail
;
31366 Py_INCREF(Py_None
); resultobj
= Py_None
;
31381 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31382 PyObject
*resultobj
;
31383 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31385 PyObject
* obj0
= 0 ;
31386 char *kwnames
[] = {
31387 (char *) "self", NULL
31390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
31391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31392 if (SWIG_arg_fail(1)) SWIG_fail
;
31394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31395 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
31397 wxPyEndAllowThreads(__tstate
);
31398 if (PyErr_Occurred()) SWIG_fail
;
31402 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31404 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31413 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31414 PyObject
*resultobj
;
31415 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31417 PyObject
* obj0
= 0 ;
31418 char *kwnames
[] = {
31419 (char *) "self", NULL
31422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
31423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31424 if (SWIG_arg_fail(1)) SWIG_fail
;
31426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31427 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
31429 wxPyEndAllowThreads(__tstate
);
31430 if (PyErr_Occurred()) SWIG_fail
;
31434 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31436 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31445 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31446 PyObject
*resultobj
;
31447 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31448 wxString
*arg2
= 0 ;
31449 bool temp2
= false ;
31450 PyObject
* obj0
= 0 ;
31451 PyObject
* obj1
= 0 ;
31452 char *kwnames
[] = {
31453 (char *) "self",(char *) "path", NULL
31456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31458 if (SWIG_arg_fail(1)) SWIG_fail
;
31460 arg2
= wxString_in_helper(obj1
);
31461 if (arg2
== NULL
) SWIG_fail
;
31465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31466 (arg1
)->SetPath((wxString
const &)*arg2
);
31468 wxPyEndAllowThreads(__tstate
);
31469 if (PyErr_Occurred()) SWIG_fail
;
31471 Py_INCREF(Py_None
); resultobj
= Py_None
;
31486 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31487 PyObject
*resultobj
;
31488 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31490 PyObject
* obj0
= 0 ;
31491 PyObject
* obj1
= 0 ;
31492 char *kwnames
[] = {
31493 (char *) "self",(char *) "show", NULL
31496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
31497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31498 if (SWIG_arg_fail(1)) SWIG_fail
;
31500 arg2
= (bool)(SWIG_As_bool(obj1
));
31501 if (SWIG_arg_fail(2)) SWIG_fail
;
31504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31505 (arg1
)->ShowHidden(arg2
);
31507 wxPyEndAllowThreads(__tstate
);
31508 if (PyErr_Occurred()) SWIG_fail
;
31510 Py_INCREF(Py_None
); resultobj
= Py_None
;
31517 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31518 PyObject
*resultobj
;
31519 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31521 PyObject
* obj0
= 0 ;
31522 char *kwnames
[] = {
31523 (char *) "self", NULL
31526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
31527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31528 if (SWIG_arg_fail(1)) SWIG_fail
;
31530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31531 result
= (bool)(arg1
)->GetShowHidden();
31533 wxPyEndAllowThreads(__tstate
);
31534 if (PyErr_Occurred()) SWIG_fail
;
31537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31545 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31546 PyObject
*resultobj
;
31547 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31549 PyObject
* obj0
= 0 ;
31550 char *kwnames
[] = {
31551 (char *) "self", NULL
31554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
31555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31556 if (SWIG_arg_fail(1)) SWIG_fail
;
31558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31559 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
31561 wxPyEndAllowThreads(__tstate
);
31562 if (PyErr_Occurred()) SWIG_fail
;
31566 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31568 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31577 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31578 PyObject
*resultobj
;
31579 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31580 wxString
*arg2
= 0 ;
31581 bool temp2
= false ;
31582 PyObject
* obj0
= 0 ;
31583 PyObject
* obj1
= 0 ;
31584 char *kwnames
[] = {
31585 (char *) "self",(char *) "filter", NULL
31588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
31589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31590 if (SWIG_arg_fail(1)) SWIG_fail
;
31592 arg2
= wxString_in_helper(obj1
);
31593 if (arg2
== NULL
) SWIG_fail
;
31597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31598 (arg1
)->SetFilter((wxString
const &)*arg2
);
31600 wxPyEndAllowThreads(__tstate
);
31601 if (PyErr_Occurred()) SWIG_fail
;
31603 Py_INCREF(Py_None
); resultobj
= Py_None
;
31618 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31619 PyObject
*resultobj
;
31620 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31622 PyObject
* obj0
= 0 ;
31623 char *kwnames
[] = {
31624 (char *) "self", NULL
31627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
31628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31629 if (SWIG_arg_fail(1)) SWIG_fail
;
31631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31632 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
31634 wxPyEndAllowThreads(__tstate
);
31635 if (PyErr_Occurred()) SWIG_fail
;
31638 resultobj
= SWIG_From_int((int)(result
));
31646 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31647 PyObject
*resultobj
;
31648 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31650 PyObject
* obj0
= 0 ;
31651 PyObject
* obj1
= 0 ;
31652 char *kwnames
[] = {
31653 (char *) "self",(char *) "n", NULL
31656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
31657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31658 if (SWIG_arg_fail(1)) SWIG_fail
;
31660 arg2
= (int)(SWIG_As_int(obj1
));
31661 if (SWIG_arg_fail(2)) SWIG_fail
;
31664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31665 (arg1
)->SetFilterIndex(arg2
);
31667 wxPyEndAllowThreads(__tstate
);
31668 if (PyErr_Occurred()) SWIG_fail
;
31670 Py_INCREF(Py_None
); resultobj
= Py_None
;
31677 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31678 PyObject
*resultobj
;
31679 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31680 wxTreeItemId result
;
31681 PyObject
* obj0
= 0 ;
31682 char *kwnames
[] = {
31683 (char *) "self", NULL
31686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
31687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31688 if (SWIG_arg_fail(1)) SWIG_fail
;
31690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31691 result
= (arg1
)->GetRootId();
31693 wxPyEndAllowThreads(__tstate
);
31694 if (PyErr_Occurred()) SWIG_fail
;
31697 wxTreeItemId
* resultptr
;
31698 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
31699 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31707 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31708 PyObject
*resultobj
;
31709 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31710 wxPyTreeCtrl
*result
;
31711 PyObject
* obj0
= 0 ;
31712 char *kwnames
[] = {
31713 (char *) "self", NULL
31716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
31717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31718 if (SWIG_arg_fail(1)) SWIG_fail
;
31720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31721 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
31723 wxPyEndAllowThreads(__tstate
);
31724 if (PyErr_Occurred()) SWIG_fail
;
31727 resultobj
= wxPyMake_wxObject(result
, 0);
31735 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31736 PyObject
*resultobj
;
31737 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31738 wxDirFilterListCtrl
*result
;
31739 PyObject
* obj0
= 0 ;
31740 char *kwnames
[] = {
31741 (char *) "self", NULL
31744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
31745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31746 if (SWIG_arg_fail(1)) SWIG_fail
;
31748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31749 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
31751 wxPyEndAllowThreads(__tstate
);
31752 if (PyErr_Occurred()) SWIG_fail
;
31754 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
31761 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31762 PyObject
*resultobj
;
31763 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31764 wxTreeItemId arg2
;
31765 wxString
*arg3
= 0 ;
31767 wxTreeItemId result
;
31768 bool temp3
= false ;
31771 PyObject
* obj0
= 0 ;
31772 PyObject
* obj1
= 0 ;
31773 PyObject
* obj2
= 0 ;
31774 char *kwnames
[] = {
31775 (char *) "self",(char *) "parentId",(char *) "path", NULL
31778 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
31779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31781 if (SWIG_arg_fail(1)) SWIG_fail
;
31783 wxTreeItemId
* argp
;
31784 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
);
31785 if (SWIG_arg_fail(2)) SWIG_fail
;
31786 if (argp
== NULL
) {
31787 SWIG_null_ref("wxTreeItemId");
31789 if (SWIG_arg_fail(2)) SWIG_fail
;
31793 arg3
= wxString_in_helper(obj2
);
31794 if (arg3
== NULL
) SWIG_fail
;
31798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31799 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
31801 wxPyEndAllowThreads(__tstate
);
31802 if (PyErr_Occurred()) SWIG_fail
;
31805 wxTreeItemId
* resultptr
;
31806 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
31807 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31809 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
31810 SWIG_From_bool((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, 0)));
31825 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31826 PyObject
*resultobj
;
31827 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31828 PyObject
* obj0
= 0 ;
31829 char *kwnames
[] = {
31830 (char *) "self", NULL
31833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
31834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31835 if (SWIG_arg_fail(1)) SWIG_fail
;
31837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31838 (arg1
)->DoResize();
31840 wxPyEndAllowThreads(__tstate
);
31841 if (PyErr_Occurred()) SWIG_fail
;
31843 Py_INCREF(Py_None
); resultobj
= Py_None
;
31850 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31851 PyObject
*resultobj
;
31852 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31853 PyObject
* obj0
= 0 ;
31854 char *kwnames
[] = {
31855 (char *) "self", NULL
31858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
31859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31860 if (SWIG_arg_fail(1)) SWIG_fail
;
31862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31863 (arg1
)->ReCreateTree();
31865 wxPyEndAllowThreads(__tstate
);
31866 if (PyErr_Occurred()) SWIG_fail
;
31868 Py_INCREF(Py_None
); resultobj
= Py_None
;
31875 static PyObject
* GenericDirCtrl_swigregister(PyObject
*, PyObject
*args
) {
31877 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31878 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
31880 return Py_BuildValue((char *)"");
31882 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31883 PyObject
*resultobj
;
31884 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31885 int arg2
= (int) (int)-1 ;
31886 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31887 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31888 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31889 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31890 long arg5
= (long) 0 ;
31891 wxDirFilterListCtrl
*result
;
31894 PyObject
* obj0
= 0 ;
31895 PyObject
* obj1
= 0 ;
31896 PyObject
* obj2
= 0 ;
31897 PyObject
* obj3
= 0 ;
31898 PyObject
* obj4
= 0 ;
31899 char *kwnames
[] = {
31900 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
31903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31905 if (SWIG_arg_fail(1)) SWIG_fail
;
31908 arg2
= (int const)(SWIG_As_int(obj1
));
31909 if (SWIG_arg_fail(2)) SWIG_fail
;
31915 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31921 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31926 arg5
= (long)(SWIG_As_long(obj4
));
31927 if (SWIG_arg_fail(5)) SWIG_fail
;
31931 if (!wxPyCheckForApp()) SWIG_fail
;
31932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31933 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
31935 wxPyEndAllowThreads(__tstate
);
31936 if (PyErr_Occurred()) SWIG_fail
;
31938 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
31945 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31946 PyObject
*resultobj
;
31947 wxDirFilterListCtrl
*result
;
31948 char *kwnames
[] = {
31952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
31954 if (!wxPyCheckForApp()) SWIG_fail
;
31955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31956 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
31958 wxPyEndAllowThreads(__tstate
);
31959 if (PyErr_Occurred()) SWIG_fail
;
31961 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
31968 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31969 PyObject
*resultobj
;
31970 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
31971 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
31972 int arg3
= (int) (int)-1 ;
31973 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31974 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31975 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31976 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31977 long arg6
= (long) 0 ;
31981 PyObject
* obj0
= 0 ;
31982 PyObject
* obj1
= 0 ;
31983 PyObject
* obj2
= 0 ;
31984 PyObject
* obj3
= 0 ;
31985 PyObject
* obj4
= 0 ;
31986 PyObject
* obj5
= 0 ;
31987 char *kwnames
[] = {
31988 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
31991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31993 if (SWIG_arg_fail(1)) SWIG_fail
;
31994 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31995 if (SWIG_arg_fail(2)) SWIG_fail
;
31998 arg3
= (int const)(SWIG_As_int(obj2
));
31999 if (SWIG_arg_fail(3)) SWIG_fail
;
32005 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32011 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32016 arg6
= (long)(SWIG_As_long(obj5
));
32017 if (SWIG_arg_fail(6)) SWIG_fail
;
32021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32022 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
32024 wxPyEndAllowThreads(__tstate
);
32025 if (PyErr_Occurred()) SWIG_fail
;
32028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32036 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32037 PyObject
*resultobj
;
32038 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
32039 wxString
*arg2
= 0 ;
32041 bool temp2
= false ;
32042 PyObject
* obj0
= 0 ;
32043 PyObject
* obj1
= 0 ;
32044 PyObject
* obj2
= 0 ;
32045 char *kwnames
[] = {
32046 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
32049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32051 if (SWIG_arg_fail(1)) SWIG_fail
;
32053 arg2
= wxString_in_helper(obj1
);
32054 if (arg2
== NULL
) SWIG_fail
;
32058 arg3
= (int)(SWIG_As_int(obj2
));
32059 if (SWIG_arg_fail(3)) SWIG_fail
;
32062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32063 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
32065 wxPyEndAllowThreads(__tstate
);
32066 if (PyErr_Occurred()) SWIG_fail
;
32068 Py_INCREF(Py_None
); resultobj
= Py_None
;
32083 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*, PyObject
*args
) {
32085 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32086 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
32088 return Py_BuildValue((char *)"");
32090 static PyObject
*_wrap_new_PyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32091 PyObject
*resultobj
;
32092 wxWindow
*arg1
= (wxWindow
*) 0 ;
32093 int arg2
= (int) (int)-1 ;
32094 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32095 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32096 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32097 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32098 long arg5
= (long) 0 ;
32099 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32100 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32101 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
32102 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32103 wxPyControl
*result
;
32106 bool temp7
= false ;
32107 PyObject
* obj0
= 0 ;
32108 PyObject
* obj1
= 0 ;
32109 PyObject
* obj2
= 0 ;
32110 PyObject
* obj3
= 0 ;
32111 PyObject
* obj4
= 0 ;
32112 PyObject
* obj5
= 0 ;
32113 PyObject
* obj6
= 0 ;
32114 char *kwnames
[] = {
32115 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
32119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32120 if (SWIG_arg_fail(1)) SWIG_fail
;
32123 arg2
= (int const)(SWIG_As_int(obj1
));
32124 if (SWIG_arg_fail(2)) SWIG_fail
;
32130 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32136 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32141 arg5
= (long)(SWIG_As_long(obj4
));
32142 if (SWIG_arg_fail(5)) SWIG_fail
;
32147 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32148 if (SWIG_arg_fail(6)) SWIG_fail
;
32149 if (arg6
== NULL
) {
32150 SWIG_null_ref("wxValidator");
32152 if (SWIG_arg_fail(6)) SWIG_fail
;
32157 arg7
= wxString_in_helper(obj6
);
32158 if (arg7
== NULL
) SWIG_fail
;
32163 if (!wxPyCheckForApp()) SWIG_fail
;
32164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32165 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32167 wxPyEndAllowThreads(__tstate
);
32168 if (PyErr_Occurred()) SWIG_fail
;
32170 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
32185 static PyObject
*_wrap_new_PrePyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32186 PyObject
*resultobj
;
32187 wxPyControl
*result
;
32188 char *kwnames
[] = {
32192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
32194 if (!wxPyCheckForApp()) SWIG_fail
;
32195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32196 result
= (wxPyControl
*)new wxPyControl();
32198 wxPyEndAllowThreads(__tstate
);
32199 if (PyErr_Occurred()) SWIG_fail
;
32201 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
32208 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32209 PyObject
*resultobj
;
32210 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32211 PyObject
*arg2
= (PyObject
*) 0 ;
32212 PyObject
*arg3
= (PyObject
*) 0 ;
32213 PyObject
* obj0
= 0 ;
32214 PyObject
* obj1
= 0 ;
32215 PyObject
* obj2
= 0 ;
32216 char *kwnames
[] = {
32217 (char *) "self",(char *) "self",(char *) "_class", NULL
32220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32222 if (SWIG_arg_fail(1)) SWIG_fail
;
32226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32227 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32229 wxPyEndAllowThreads(__tstate
);
32230 if (PyErr_Occurred()) SWIG_fail
;
32232 Py_INCREF(Py_None
); resultobj
= Py_None
;
32239 static PyObject
*_wrap_PyControl_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32240 PyObject
*resultobj
;
32241 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32244 PyObject
* obj0
= 0 ;
32245 PyObject
* obj1
= 0 ;
32246 char *kwnames
[] = {
32247 (char *) "self",(char *) "size", NULL
32250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
32251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32252 if (SWIG_arg_fail(1)) SWIG_fail
;
32255 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
32258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32259 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
32261 wxPyEndAllowThreads(__tstate
);
32262 if (PyErr_Occurred()) SWIG_fail
;
32264 Py_INCREF(Py_None
); resultobj
= Py_None
;
32271 static PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32272 PyObject
*resultobj
;
32273 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32274 wxDC
*arg2
= (wxDC
*) 0 ;
32276 PyObject
* obj0
= 0 ;
32277 PyObject
* obj1
= 0 ;
32278 char *kwnames
[] = {
32279 (char *) "self",(char *) "dc", NULL
32282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
32283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32284 if (SWIG_arg_fail(1)) SWIG_fail
;
32285 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
32286 if (SWIG_arg_fail(2)) SWIG_fail
;
32288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32289 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
32291 wxPyEndAllowThreads(__tstate
);
32292 if (PyErr_Occurred()) SWIG_fail
;
32295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32303 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32304 PyObject
*resultobj
;
32305 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32310 PyObject
* obj0
= 0 ;
32311 PyObject
* obj1
= 0 ;
32312 PyObject
* obj2
= 0 ;
32313 PyObject
* obj3
= 0 ;
32314 PyObject
* obj4
= 0 ;
32315 char *kwnames
[] = {
32316 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32321 if (SWIG_arg_fail(1)) SWIG_fail
;
32323 arg2
= (int)(SWIG_As_int(obj1
));
32324 if (SWIG_arg_fail(2)) SWIG_fail
;
32327 arg3
= (int)(SWIG_As_int(obj2
));
32328 if (SWIG_arg_fail(3)) SWIG_fail
;
32331 arg4
= (int)(SWIG_As_int(obj3
));
32332 if (SWIG_arg_fail(4)) SWIG_fail
;
32335 arg5
= (int)(SWIG_As_int(obj4
));
32336 if (SWIG_arg_fail(5)) SWIG_fail
;
32339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32340 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
32342 wxPyEndAllowThreads(__tstate
);
32343 if (PyErr_Occurred()) SWIG_fail
;
32345 Py_INCREF(Py_None
); resultobj
= Py_None
;
32352 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32353 PyObject
*resultobj
;
32354 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32359 int arg6
= (int) wxSIZE_AUTO
;
32360 PyObject
* obj0
= 0 ;
32361 PyObject
* obj1
= 0 ;
32362 PyObject
* obj2
= 0 ;
32363 PyObject
* obj3
= 0 ;
32364 PyObject
* obj4
= 0 ;
32365 PyObject
* obj5
= 0 ;
32366 char *kwnames
[] = {
32367 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
32370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32372 if (SWIG_arg_fail(1)) SWIG_fail
;
32374 arg2
= (int)(SWIG_As_int(obj1
));
32375 if (SWIG_arg_fail(2)) SWIG_fail
;
32378 arg3
= (int)(SWIG_As_int(obj2
));
32379 if (SWIG_arg_fail(3)) SWIG_fail
;
32382 arg4
= (int)(SWIG_As_int(obj3
));
32383 if (SWIG_arg_fail(4)) SWIG_fail
;
32386 arg5
= (int)(SWIG_As_int(obj4
));
32387 if (SWIG_arg_fail(5)) SWIG_fail
;
32391 arg6
= (int)(SWIG_As_int(obj5
));
32392 if (SWIG_arg_fail(6)) SWIG_fail
;
32396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32397 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
32399 wxPyEndAllowThreads(__tstate
);
32400 if (PyErr_Occurred()) SWIG_fail
;
32402 Py_INCREF(Py_None
); resultobj
= Py_None
;
32409 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32410 PyObject
*resultobj
;
32411 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32414 PyObject
* obj0
= 0 ;
32415 PyObject
* obj1
= 0 ;
32416 PyObject
* obj2
= 0 ;
32417 char *kwnames
[] = {
32418 (char *) "self",(char *) "width",(char *) "height", NULL
32421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32423 if (SWIG_arg_fail(1)) SWIG_fail
;
32425 arg2
= (int)(SWIG_As_int(obj1
));
32426 if (SWIG_arg_fail(2)) SWIG_fail
;
32429 arg3
= (int)(SWIG_As_int(obj2
));
32430 if (SWIG_arg_fail(3)) SWIG_fail
;
32433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32434 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
32436 wxPyEndAllowThreads(__tstate
);
32437 if (PyErr_Occurred()) SWIG_fail
;
32439 Py_INCREF(Py_None
); resultobj
= Py_None
;
32446 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32447 PyObject
*resultobj
;
32448 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32451 PyObject
* obj0
= 0 ;
32452 PyObject
* obj1
= 0 ;
32453 PyObject
* obj2
= 0 ;
32454 char *kwnames
[] = {
32455 (char *) "self",(char *) "x",(char *) "y", NULL
32458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32460 if (SWIG_arg_fail(1)) SWIG_fail
;
32462 arg2
= (int)(SWIG_As_int(obj1
));
32463 if (SWIG_arg_fail(2)) SWIG_fail
;
32466 arg3
= (int)(SWIG_As_int(obj2
));
32467 if (SWIG_arg_fail(3)) SWIG_fail
;
32470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32471 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
32473 wxPyEndAllowThreads(__tstate
);
32474 if (PyErr_Occurred()) SWIG_fail
;
32476 Py_INCREF(Py_None
); resultobj
= Py_None
;
32483 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32484 PyObject
*resultobj
;
32485 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32486 int *arg2
= (int *) 0 ;
32487 int *arg3
= (int *) 0 ;
32492 PyObject
* obj0
= 0 ;
32493 char *kwnames
[] = {
32494 (char *) "self", NULL
32497 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32498 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
32500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32501 if (SWIG_arg_fail(1)) SWIG_fail
;
32503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32504 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
32506 wxPyEndAllowThreads(__tstate
);
32507 if (PyErr_Occurred()) SWIG_fail
;
32509 Py_INCREF(Py_None
); resultobj
= Py_None
;
32510 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32511 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32512 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32513 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32520 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32521 PyObject
*resultobj
;
32522 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32523 int *arg2
= (int *) 0 ;
32524 int *arg3
= (int *) 0 ;
32529 PyObject
* obj0
= 0 ;
32530 char *kwnames
[] = {
32531 (char *) "self", NULL
32534 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32535 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
32537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32538 if (SWIG_arg_fail(1)) SWIG_fail
;
32540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32541 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
32543 wxPyEndAllowThreads(__tstate
);
32544 if (PyErr_Occurred()) SWIG_fail
;
32546 Py_INCREF(Py_None
); resultobj
= Py_None
;
32547 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32548 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32549 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32550 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32557 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32558 PyObject
*resultobj
;
32559 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32560 int *arg2
= (int *) 0 ;
32561 int *arg3
= (int *) 0 ;
32566 PyObject
* obj0
= 0 ;
32567 char *kwnames
[] = {
32568 (char *) "self", NULL
32571 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32572 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
32574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32575 if (SWIG_arg_fail(1)) SWIG_fail
;
32577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32578 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
32580 wxPyEndAllowThreads(__tstate
);
32581 if (PyErr_Occurred()) SWIG_fail
;
32583 Py_INCREF(Py_None
); resultobj
= Py_None
;
32584 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32585 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32586 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32587 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32594 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32595 PyObject
*resultobj
;
32596 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32598 PyObject
* obj0
= 0 ;
32599 char *kwnames
[] = {
32600 (char *) "self", NULL
32603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
32604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32605 if (SWIG_arg_fail(1)) SWIG_fail
;
32607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32608 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
32610 wxPyEndAllowThreads(__tstate
);
32611 if (PyErr_Occurred()) SWIG_fail
;
32614 wxSize
* resultptr
;
32615 resultptr
= new wxSize((wxSize
&)(result
));
32616 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32624 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32625 PyObject
*resultobj
;
32626 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32628 PyObject
* obj0
= 0 ;
32629 char *kwnames
[] = {
32630 (char *) "self", NULL
32633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
32634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32635 if (SWIG_arg_fail(1)) SWIG_fail
;
32637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32638 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
32640 wxPyEndAllowThreads(__tstate
);
32641 if (PyErr_Occurred()) SWIG_fail
;
32644 wxSize
* resultptr
;
32645 resultptr
= new wxSize((wxSize
&)(result
));
32646 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32654 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32655 PyObject
*resultobj
;
32656 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32657 PyObject
* obj0
= 0 ;
32658 char *kwnames
[] = {
32659 (char *) "self", NULL
32662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
32663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32664 if (SWIG_arg_fail(1)) SWIG_fail
;
32666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32667 (arg1
)->base_InitDialog();
32669 wxPyEndAllowThreads(__tstate
);
32670 if (PyErr_Occurred()) SWIG_fail
;
32672 Py_INCREF(Py_None
); resultobj
= Py_None
;
32679 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32680 PyObject
*resultobj
;
32681 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32683 PyObject
* obj0
= 0 ;
32684 char *kwnames
[] = {
32685 (char *) "self", NULL
32688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
32689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32690 if (SWIG_arg_fail(1)) SWIG_fail
;
32692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32693 result
= (bool)(arg1
)->base_TransferDataToWindow();
32695 wxPyEndAllowThreads(__tstate
);
32696 if (PyErr_Occurred()) SWIG_fail
;
32699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32707 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32708 PyObject
*resultobj
;
32709 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32711 PyObject
* obj0
= 0 ;
32712 char *kwnames
[] = {
32713 (char *) "self", NULL
32716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
32717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32718 if (SWIG_arg_fail(1)) SWIG_fail
;
32720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32721 result
= (bool)(arg1
)->base_TransferDataFromWindow();
32723 wxPyEndAllowThreads(__tstate
);
32724 if (PyErr_Occurred()) SWIG_fail
;
32727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32735 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32736 PyObject
*resultobj
;
32737 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32739 PyObject
* obj0
= 0 ;
32740 char *kwnames
[] = {
32741 (char *) "self", NULL
32744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
32745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32746 if (SWIG_arg_fail(1)) SWIG_fail
;
32748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32749 result
= (bool)(arg1
)->base_Validate();
32751 wxPyEndAllowThreads(__tstate
);
32752 if (PyErr_Occurred()) SWIG_fail
;
32755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32763 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32764 PyObject
*resultobj
;
32765 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32767 PyObject
* obj0
= 0 ;
32768 char *kwnames
[] = {
32769 (char *) "self", NULL
32772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
32773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32774 if (SWIG_arg_fail(1)) SWIG_fail
;
32776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32777 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
32779 wxPyEndAllowThreads(__tstate
);
32780 if (PyErr_Occurred()) SWIG_fail
;
32783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32791 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32792 PyObject
*resultobj
;
32793 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32795 PyObject
* obj0
= 0 ;
32796 char *kwnames
[] = {
32797 (char *) "self", NULL
32800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
32801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32802 if (SWIG_arg_fail(1)) SWIG_fail
;
32804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32805 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
32807 wxPyEndAllowThreads(__tstate
);
32808 if (PyErr_Occurred()) SWIG_fail
;
32811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32819 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32820 PyObject
*resultobj
;
32821 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32823 PyObject
* obj0
= 0 ;
32824 char *kwnames
[] = {
32825 (char *) "self", NULL
32828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
32829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32830 if (SWIG_arg_fail(1)) SWIG_fail
;
32832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32833 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
32835 wxPyEndAllowThreads(__tstate
);
32836 if (PyErr_Occurred()) SWIG_fail
;
32839 wxSize
* resultptr
;
32840 resultptr
= new wxSize((wxSize
&)(result
));
32841 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32849 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32850 PyObject
*resultobj
;
32851 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32852 wxWindow
*arg2
= (wxWindow
*) 0 ;
32853 PyObject
* obj0
= 0 ;
32854 PyObject
* obj1
= 0 ;
32855 char *kwnames
[] = {
32856 (char *) "self",(char *) "child", NULL
32859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
32860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32861 if (SWIG_arg_fail(1)) SWIG_fail
;
32862 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32863 if (SWIG_arg_fail(2)) SWIG_fail
;
32865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32866 (arg1
)->base_AddChild(arg2
);
32868 wxPyEndAllowThreads(__tstate
);
32869 if (PyErr_Occurred()) SWIG_fail
;
32871 Py_INCREF(Py_None
); resultobj
= Py_None
;
32878 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32879 PyObject
*resultobj
;
32880 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32881 wxWindow
*arg2
= (wxWindow
*) 0 ;
32882 PyObject
* obj0
= 0 ;
32883 PyObject
* obj1
= 0 ;
32884 char *kwnames
[] = {
32885 (char *) "self",(char *) "child", NULL
32888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
32889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32890 if (SWIG_arg_fail(1)) SWIG_fail
;
32891 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32892 if (SWIG_arg_fail(2)) SWIG_fail
;
32894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32895 (arg1
)->base_RemoveChild(arg2
);
32897 wxPyEndAllowThreads(__tstate
);
32898 if (PyErr_Occurred()) SWIG_fail
;
32900 Py_INCREF(Py_None
); resultobj
= Py_None
;
32907 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32908 PyObject
*resultobj
;
32909 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32911 PyObject
* obj0
= 0 ;
32912 char *kwnames
[] = {
32913 (char *) "self", NULL
32916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
32917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32918 if (SWIG_arg_fail(1)) SWIG_fail
;
32920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32921 result
= (bool)((wxPyControl
const *)arg1
)->base_ShouldInheritColours();
32923 wxPyEndAllowThreads(__tstate
);
32924 if (PyErr_Occurred()) SWIG_fail
;
32927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32935 static PyObject
*_wrap_PyControl_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32936 PyObject
*resultobj
;
32937 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32938 wxVisualAttributes result
;
32939 PyObject
* obj0
= 0 ;
32940 char *kwnames
[] = {
32941 (char *) "self", NULL
32944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
32945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32946 if (SWIG_arg_fail(1)) SWIG_fail
;
32948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32949 result
= (arg1
)->base_GetDefaultAttributes();
32951 wxPyEndAllowThreads(__tstate
);
32952 if (PyErr_Occurred()) SWIG_fail
;
32955 wxVisualAttributes
* resultptr
;
32956 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
32957 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
32965 static PyObject
* PyControl_swigregister(PyObject
*, PyObject
*args
) {
32967 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32968 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
32970 return Py_BuildValue((char *)"");
32972 static PyObject
*_wrap_new_HelpEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32973 PyObject
*resultobj
;
32974 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
32975 int arg2
= (int) 0 ;
32976 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32977 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32978 wxHelpEvent
*result
;
32980 PyObject
* obj0
= 0 ;
32981 PyObject
* obj1
= 0 ;
32982 PyObject
* obj2
= 0 ;
32983 char *kwnames
[] = {
32984 (char *) "type",(char *) "winid",(char *) "pt", NULL
32987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32990 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
32991 if (SWIG_arg_fail(1)) SWIG_fail
;
32996 arg2
= (int)(SWIG_As_int(obj1
));
32997 if (SWIG_arg_fail(2)) SWIG_fail
;
33003 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33008 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
33010 wxPyEndAllowThreads(__tstate
);
33011 if (PyErr_Occurred()) SWIG_fail
;
33013 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
33020 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33021 PyObject
*resultobj
;
33022 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33024 PyObject
* obj0
= 0 ;
33025 char *kwnames
[] = {
33026 (char *) "self", NULL
33029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
33030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33031 if (SWIG_arg_fail(1)) SWIG_fail
;
33033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33034 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
33036 wxPyEndAllowThreads(__tstate
);
33037 if (PyErr_Occurred()) SWIG_fail
;
33040 wxPoint
* resultptr
;
33041 resultptr
= new wxPoint((wxPoint
const &)(result
));
33042 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
33050 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33051 PyObject
*resultobj
;
33052 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33053 wxPoint
*arg2
= 0 ;
33055 PyObject
* obj0
= 0 ;
33056 PyObject
* obj1
= 0 ;
33057 char *kwnames
[] = {
33058 (char *) "self",(char *) "pos", NULL
33061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
33062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33063 if (SWIG_arg_fail(1)) SWIG_fail
;
33066 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33070 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
33072 wxPyEndAllowThreads(__tstate
);
33073 if (PyErr_Occurred()) SWIG_fail
;
33075 Py_INCREF(Py_None
); resultobj
= Py_None
;
33082 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33083 PyObject
*resultobj
;
33084 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33086 PyObject
* obj0
= 0 ;
33087 char *kwnames
[] = {
33088 (char *) "self", NULL
33091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
33092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33093 if (SWIG_arg_fail(1)) SWIG_fail
;
33095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33097 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
33098 result
= (wxString
*) &_result_ref
;
33101 wxPyEndAllowThreads(__tstate
);
33102 if (PyErr_Occurred()) SWIG_fail
;
33106 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33108 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33117 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33118 PyObject
*resultobj
;
33119 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33120 wxString
*arg2
= 0 ;
33121 bool temp2
= false ;
33122 PyObject
* obj0
= 0 ;
33123 PyObject
* obj1
= 0 ;
33124 char *kwnames
[] = {
33125 (char *) "self",(char *) "link", NULL
33128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
33129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33130 if (SWIG_arg_fail(1)) SWIG_fail
;
33132 arg2
= wxString_in_helper(obj1
);
33133 if (arg2
== NULL
) SWIG_fail
;
33137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33138 (arg1
)->SetLink((wxString
const &)*arg2
);
33140 wxPyEndAllowThreads(__tstate
);
33141 if (PyErr_Occurred()) SWIG_fail
;
33143 Py_INCREF(Py_None
); resultobj
= Py_None
;
33158 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33159 PyObject
*resultobj
;
33160 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33162 PyObject
* obj0
= 0 ;
33163 char *kwnames
[] = {
33164 (char *) "self", NULL
33167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
33168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33169 if (SWIG_arg_fail(1)) SWIG_fail
;
33171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33173 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
33174 result
= (wxString
*) &_result_ref
;
33177 wxPyEndAllowThreads(__tstate
);
33178 if (PyErr_Occurred()) SWIG_fail
;
33182 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33184 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33193 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33194 PyObject
*resultobj
;
33195 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33196 wxString
*arg2
= 0 ;
33197 bool temp2
= false ;
33198 PyObject
* obj0
= 0 ;
33199 PyObject
* obj1
= 0 ;
33200 char *kwnames
[] = {
33201 (char *) "self",(char *) "target", NULL
33204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
33205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33206 if (SWIG_arg_fail(1)) SWIG_fail
;
33208 arg2
= wxString_in_helper(obj1
);
33209 if (arg2
== NULL
) SWIG_fail
;
33213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33214 (arg1
)->SetTarget((wxString
const &)*arg2
);
33216 wxPyEndAllowThreads(__tstate
);
33217 if (PyErr_Occurred()) SWIG_fail
;
33219 Py_INCREF(Py_None
); resultobj
= Py_None
;
33234 static PyObject
* HelpEvent_swigregister(PyObject
*, PyObject
*args
) {
33236 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33237 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
33239 return Py_BuildValue((char *)"");
33241 static PyObject
*_wrap_new_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33242 PyObject
*resultobj
;
33243 wxWindow
*arg1
= (wxWindow
*) NULL
;
33244 bool arg2
= (bool) true ;
33245 wxContextHelp
*result
;
33246 PyObject
* obj0
= 0 ;
33247 PyObject
* obj1
= 0 ;
33248 char *kwnames
[] = {
33249 (char *) "window",(char *) "doNow", NULL
33252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33255 if (SWIG_arg_fail(1)) SWIG_fail
;
33259 arg2
= (bool)(SWIG_As_bool(obj1
));
33260 if (SWIG_arg_fail(2)) SWIG_fail
;
33264 if (!wxPyCheckForApp()) SWIG_fail
;
33265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33266 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
33268 wxPyEndAllowThreads(__tstate
);
33269 if (PyErr_Occurred()) SWIG_fail
;
33271 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
33278 static PyObject
*_wrap_delete_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33279 PyObject
*resultobj
;
33280 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33281 PyObject
* obj0
= 0 ;
33282 char *kwnames
[] = {
33283 (char *) "self", NULL
33286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
33287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33288 if (SWIG_arg_fail(1)) SWIG_fail
;
33290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33293 wxPyEndAllowThreads(__tstate
);
33294 if (PyErr_Occurred()) SWIG_fail
;
33296 Py_INCREF(Py_None
); resultobj
= Py_None
;
33303 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33304 PyObject
*resultobj
;
33305 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33306 wxWindow
*arg2
= (wxWindow
*) NULL
;
33308 PyObject
* obj0
= 0 ;
33309 PyObject
* obj1
= 0 ;
33310 char *kwnames
[] = {
33311 (char *) "self",(char *) "window", NULL
33314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33316 if (SWIG_arg_fail(1)) SWIG_fail
;
33318 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33319 if (SWIG_arg_fail(2)) SWIG_fail
;
33322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33323 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
33325 wxPyEndAllowThreads(__tstate
);
33326 if (PyErr_Occurred()) SWIG_fail
;
33329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33337 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33338 PyObject
*resultobj
;
33339 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33341 PyObject
* obj0
= 0 ;
33342 char *kwnames
[] = {
33343 (char *) "self", NULL
33346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
33347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33348 if (SWIG_arg_fail(1)) SWIG_fail
;
33350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33351 result
= (bool)(arg1
)->EndContextHelp();
33353 wxPyEndAllowThreads(__tstate
);
33354 if (PyErr_Occurred()) SWIG_fail
;
33357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33365 static PyObject
* ContextHelp_swigregister(PyObject
*, PyObject
*args
) {
33367 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33368 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
33370 return Py_BuildValue((char *)"");
33372 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33373 PyObject
*resultobj
;
33374 wxWindow
*arg1
= (wxWindow
*) 0 ;
33375 int arg2
= (int) wxID_CONTEXT_HELP
;
33376 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33377 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33378 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33379 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33380 long arg5
= (long) wxBU_AUTODRAW
;
33381 wxContextHelpButton
*result
;
33384 PyObject
* obj0
= 0 ;
33385 PyObject
* obj1
= 0 ;
33386 PyObject
* obj2
= 0 ;
33387 PyObject
* obj3
= 0 ;
33388 PyObject
* obj4
= 0 ;
33389 char *kwnames
[] = {
33390 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33395 if (SWIG_arg_fail(1)) SWIG_fail
;
33398 arg2
= (int)(SWIG_As_int(obj1
));
33399 if (SWIG_arg_fail(2)) SWIG_fail
;
33405 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33411 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33416 arg5
= (long)(SWIG_As_long(obj4
));
33417 if (SWIG_arg_fail(5)) SWIG_fail
;
33421 if (!wxPyCheckForApp()) SWIG_fail
;
33422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33423 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
33425 wxPyEndAllowThreads(__tstate
);
33426 if (PyErr_Occurred()) SWIG_fail
;
33428 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
33435 static PyObject
* ContextHelpButton_swigregister(PyObject
*, PyObject
*args
) {
33437 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33438 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
33440 return Py_BuildValue((char *)"");
33442 static PyObject
*_wrap_HelpProvider_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33443 PyObject
*resultobj
;
33444 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33445 wxHelpProvider
*result
;
33446 PyObject
* obj0
= 0 ;
33447 char *kwnames
[] = {
33448 (char *) "helpProvider", NULL
33451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
33452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33453 if (SWIG_arg_fail(1)) SWIG_fail
;
33455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33456 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
33458 wxPyEndAllowThreads(__tstate
);
33459 if (PyErr_Occurred()) SWIG_fail
;
33461 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
33468 static PyObject
*_wrap_HelpProvider_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33469 PyObject
*resultobj
;
33470 wxHelpProvider
*result
;
33471 char *kwnames
[] = {
33475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
33477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33478 result
= (wxHelpProvider
*)wxHelpProvider::Get();
33480 wxPyEndAllowThreads(__tstate
);
33481 if (PyErr_Occurred()) SWIG_fail
;
33483 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
33490 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33491 PyObject
*resultobj
;
33492 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33493 wxWindow
*arg2
= (wxWindow
*) 0 ;
33495 PyObject
* obj0
= 0 ;
33496 PyObject
* obj1
= 0 ;
33497 char *kwnames
[] = {
33498 (char *) "self",(char *) "window", NULL
33501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33503 if (SWIG_arg_fail(1)) SWIG_fail
;
33504 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33505 if (SWIG_arg_fail(2)) SWIG_fail
;
33507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33508 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
33510 wxPyEndAllowThreads(__tstate
);
33511 if (PyErr_Occurred()) SWIG_fail
;
33515 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33517 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33526 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33527 PyObject
*resultobj
;
33528 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33529 wxWindow
*arg2
= (wxWindow
*) 0 ;
33531 PyObject
* obj0
= 0 ;
33532 PyObject
* obj1
= 0 ;
33533 char *kwnames
[] = {
33534 (char *) "self",(char *) "window", NULL
33537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33539 if (SWIG_arg_fail(1)) SWIG_fail
;
33540 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33541 if (SWIG_arg_fail(2)) SWIG_fail
;
33543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33544 result
= (bool)(arg1
)->ShowHelp(arg2
);
33546 wxPyEndAllowThreads(__tstate
);
33547 if (PyErr_Occurred()) SWIG_fail
;
33550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33558 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33559 PyObject
*resultobj
;
33560 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33561 wxWindow
*arg2
= (wxWindow
*) 0 ;
33562 wxString
*arg3
= 0 ;
33563 bool temp3
= false ;
33564 PyObject
* obj0
= 0 ;
33565 PyObject
* obj1
= 0 ;
33566 PyObject
* obj2
= 0 ;
33567 char *kwnames
[] = {
33568 (char *) "self",(char *) "window",(char *) "text", NULL
33571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33573 if (SWIG_arg_fail(1)) SWIG_fail
;
33574 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33575 if (SWIG_arg_fail(2)) SWIG_fail
;
33577 arg3
= wxString_in_helper(obj2
);
33578 if (arg3
== NULL
) SWIG_fail
;
33582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33583 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
33585 wxPyEndAllowThreads(__tstate
);
33586 if (PyErr_Occurred()) SWIG_fail
;
33588 Py_INCREF(Py_None
); resultobj
= Py_None
;
33603 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33604 PyObject
*resultobj
;
33605 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33607 wxString
*arg3
= 0 ;
33608 bool temp3
= false ;
33609 PyObject
* obj0
= 0 ;
33610 PyObject
* obj1
= 0 ;
33611 PyObject
* obj2
= 0 ;
33612 char *kwnames
[] = {
33613 (char *) "self",(char *) "id",(char *) "text", NULL
33616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33618 if (SWIG_arg_fail(1)) SWIG_fail
;
33620 arg2
= (int)(SWIG_As_int(obj1
));
33621 if (SWIG_arg_fail(2)) SWIG_fail
;
33624 arg3
= wxString_in_helper(obj2
);
33625 if (arg3
== NULL
) SWIG_fail
;
33629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33630 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
33632 wxPyEndAllowThreads(__tstate
);
33633 if (PyErr_Occurred()) SWIG_fail
;
33635 Py_INCREF(Py_None
); resultobj
= Py_None
;
33650 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33651 PyObject
*resultobj
;
33652 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33653 wxWindow
*arg2
= (wxWindow
*) 0 ;
33654 PyObject
* obj0
= 0 ;
33655 PyObject
* obj1
= 0 ;
33656 char *kwnames
[] = {
33657 (char *) "self",(char *) "window", NULL
33660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33662 if (SWIG_arg_fail(1)) SWIG_fail
;
33663 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33664 if (SWIG_arg_fail(2)) SWIG_fail
;
33666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33667 (arg1
)->RemoveHelp(arg2
);
33669 wxPyEndAllowThreads(__tstate
);
33670 if (PyErr_Occurred()) SWIG_fail
;
33672 Py_INCREF(Py_None
); resultobj
= Py_None
;
33679 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33680 PyObject
*resultobj
;
33681 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33682 PyObject
* obj0
= 0 ;
33683 char *kwnames
[] = {
33684 (char *) "self", NULL
33687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
33688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33689 if (SWIG_arg_fail(1)) SWIG_fail
;
33691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33692 wxHelpProvider_Destroy(arg1
);
33694 wxPyEndAllowThreads(__tstate
);
33695 if (PyErr_Occurred()) SWIG_fail
;
33697 Py_INCREF(Py_None
); resultobj
= Py_None
;
33704 static PyObject
* HelpProvider_swigregister(PyObject
*, PyObject
*args
) {
33706 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33707 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
33709 return Py_BuildValue((char *)"");
33711 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33712 PyObject
*resultobj
;
33713 wxSimpleHelpProvider
*result
;
33714 char *kwnames
[] = {
33718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
33720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33721 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
33723 wxPyEndAllowThreads(__tstate
);
33724 if (PyErr_Occurred()) SWIG_fail
;
33726 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
33733 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*, PyObject
*args
) {
33735 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33736 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
33738 return Py_BuildValue((char *)"");
33740 static PyObject
*_wrap_new_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33741 PyObject
*resultobj
;
33742 wxBitmap
*arg1
= 0 ;
33743 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33744 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
33745 wxGenericDragImage
*result
;
33746 PyObject
* obj0
= 0 ;
33747 PyObject
* obj1
= 0 ;
33748 char *kwnames
[] = {
33749 (char *) "image",(char *) "cursor", NULL
33752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
33754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
33755 if (SWIG_arg_fail(1)) SWIG_fail
;
33756 if (arg1
== NULL
) {
33757 SWIG_null_ref("wxBitmap");
33759 if (SWIG_arg_fail(1)) SWIG_fail
;
33763 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
33764 if (SWIG_arg_fail(2)) SWIG_fail
;
33765 if (arg2
== NULL
) {
33766 SWIG_null_ref("wxCursor");
33768 if (SWIG_arg_fail(2)) SWIG_fail
;
33772 if (!wxPyCheckForApp()) SWIG_fail
;
33773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33774 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
33776 wxPyEndAllowThreads(__tstate
);
33777 if (PyErr_Occurred()) SWIG_fail
;
33779 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33786 static PyObject
*_wrap_new_DragIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33787 PyObject
*resultobj
;
33789 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33790 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
33791 wxGenericDragImage
*result
;
33792 PyObject
* obj0
= 0 ;
33793 PyObject
* obj1
= 0 ;
33794 char *kwnames
[] = {
33795 (char *) "image",(char *) "cursor", NULL
33798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
33800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
33801 if (SWIG_arg_fail(1)) SWIG_fail
;
33802 if (arg1
== NULL
) {
33803 SWIG_null_ref("wxIcon");
33805 if (SWIG_arg_fail(1)) SWIG_fail
;
33809 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
33810 if (SWIG_arg_fail(2)) SWIG_fail
;
33811 if (arg2
== NULL
) {
33812 SWIG_null_ref("wxCursor");
33814 if (SWIG_arg_fail(2)) SWIG_fail
;
33818 if (!wxPyCheckForApp()) SWIG_fail
;
33819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33820 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
33822 wxPyEndAllowThreads(__tstate
);
33823 if (PyErr_Occurred()) SWIG_fail
;
33825 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33832 static PyObject
*_wrap_new_DragString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33833 PyObject
*resultobj
;
33834 wxString
*arg1
= 0 ;
33835 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33836 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
33837 wxGenericDragImage
*result
;
33838 bool temp1
= false ;
33839 PyObject
* obj0
= 0 ;
33840 PyObject
* obj1
= 0 ;
33841 char *kwnames
[] = {
33842 (char *) "str",(char *) "cursor", NULL
33845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
33847 arg1
= wxString_in_helper(obj0
);
33848 if (arg1
== NULL
) SWIG_fail
;
33853 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
33854 if (SWIG_arg_fail(2)) SWIG_fail
;
33855 if (arg2
== NULL
) {
33856 SWIG_null_ref("wxCursor");
33858 if (SWIG_arg_fail(2)) SWIG_fail
;
33862 if (!wxPyCheckForApp()) SWIG_fail
;
33863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33864 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
33866 wxPyEndAllowThreads(__tstate
);
33867 if (PyErr_Occurred()) SWIG_fail
;
33869 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33884 static PyObject
*_wrap_new_DragTreeItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33885 PyObject
*resultobj
;
33886 wxPyTreeCtrl
*arg1
= 0 ;
33887 wxTreeItemId
*arg2
= 0 ;
33888 wxGenericDragImage
*result
;
33889 PyObject
* obj0
= 0 ;
33890 PyObject
* obj1
= 0 ;
33891 char *kwnames
[] = {
33892 (char *) "treeCtrl",(char *) "id", NULL
33895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33898 if (SWIG_arg_fail(1)) SWIG_fail
;
33899 if (arg1
== NULL
) {
33900 SWIG_null_ref("wxPyTreeCtrl");
33902 if (SWIG_arg_fail(1)) SWIG_fail
;
33905 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
33906 if (SWIG_arg_fail(2)) SWIG_fail
;
33907 if (arg2
== NULL
) {
33908 SWIG_null_ref("wxTreeItemId");
33910 if (SWIG_arg_fail(2)) SWIG_fail
;
33913 if (!wxPyCheckForApp()) SWIG_fail
;
33914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33915 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
33917 wxPyEndAllowThreads(__tstate
);
33918 if (PyErr_Occurred()) SWIG_fail
;
33920 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33927 static PyObject
*_wrap_new_DragListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33928 PyObject
*resultobj
;
33929 wxPyListCtrl
*arg1
= 0 ;
33931 wxGenericDragImage
*result
;
33932 PyObject
* obj0
= 0 ;
33933 PyObject
* obj1
= 0 ;
33934 char *kwnames
[] = {
33935 (char *) "listCtrl",(char *) "id", NULL
33938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33941 if (SWIG_arg_fail(1)) SWIG_fail
;
33942 if (arg1
== NULL
) {
33943 SWIG_null_ref("wxPyListCtrl");
33945 if (SWIG_arg_fail(1)) SWIG_fail
;
33948 arg2
= (long)(SWIG_As_long(obj1
));
33949 if (SWIG_arg_fail(2)) SWIG_fail
;
33952 if (!wxPyCheckForApp()) SWIG_fail
;
33953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33954 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
33956 wxPyEndAllowThreads(__tstate
);
33957 if (PyErr_Occurred()) SWIG_fail
;
33959 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33966 static PyObject
*_wrap_delete_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33967 PyObject
*resultobj
;
33968 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
33969 PyObject
* obj0
= 0 ;
33970 char *kwnames
[] = {
33971 (char *) "self", NULL
33974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
33975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
33976 if (SWIG_arg_fail(1)) SWIG_fail
;
33978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33981 wxPyEndAllowThreads(__tstate
);
33982 if (PyErr_Occurred()) SWIG_fail
;
33984 Py_INCREF(Py_None
); resultobj
= Py_None
;
33991 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33992 PyObject
*resultobj
;
33993 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
33994 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
33995 PyObject
* obj0
= 0 ;
33996 PyObject
* obj1
= 0 ;
33997 char *kwnames
[] = {
33998 (char *) "self",(char *) "bitmap", NULL
34001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
34002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34003 if (SWIG_arg_fail(1)) SWIG_fail
;
34004 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
34005 if (SWIG_arg_fail(2)) SWIG_fail
;
34007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34008 (arg1
)->SetBackingBitmap(arg2
);
34010 wxPyEndAllowThreads(__tstate
);
34011 if (PyErr_Occurred()) SWIG_fail
;
34013 Py_INCREF(Py_None
); resultobj
= Py_None
;
34020 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34021 PyObject
*resultobj
;
34022 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34023 wxPoint
*arg2
= 0 ;
34024 wxWindow
*arg3
= (wxWindow
*) 0 ;
34025 bool arg4
= (bool) false ;
34026 wxRect
*arg5
= (wxRect
*) NULL
;
34029 PyObject
* obj0
= 0 ;
34030 PyObject
* obj1
= 0 ;
34031 PyObject
* obj2
= 0 ;
34032 PyObject
* obj3
= 0 ;
34033 PyObject
* obj4
= 0 ;
34034 char *kwnames
[] = {
34035 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
34038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34040 if (SWIG_arg_fail(1)) SWIG_fail
;
34043 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34045 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34046 if (SWIG_arg_fail(3)) SWIG_fail
;
34049 arg4
= (bool)(SWIG_As_bool(obj3
));
34050 if (SWIG_arg_fail(4)) SWIG_fail
;
34054 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
34055 if (SWIG_arg_fail(5)) SWIG_fail
;
34058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34059 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
34061 wxPyEndAllowThreads(__tstate
);
34062 if (PyErr_Occurred()) SWIG_fail
;
34065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34073 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34074 PyObject
*resultobj
;
34075 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34076 wxPoint
*arg2
= 0 ;
34077 wxWindow
*arg3
= (wxWindow
*) 0 ;
34078 wxWindow
*arg4
= (wxWindow
*) 0 ;
34081 PyObject
* obj0
= 0 ;
34082 PyObject
* obj1
= 0 ;
34083 PyObject
* obj2
= 0 ;
34084 PyObject
* obj3
= 0 ;
34085 char *kwnames
[] = {
34086 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
34089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34091 if (SWIG_arg_fail(1)) SWIG_fail
;
34094 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34096 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34097 if (SWIG_arg_fail(3)) SWIG_fail
;
34098 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34099 if (SWIG_arg_fail(4)) SWIG_fail
;
34101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34102 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
34104 wxPyEndAllowThreads(__tstate
);
34105 if (PyErr_Occurred()) SWIG_fail
;
34108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34116 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34117 PyObject
*resultobj
;
34118 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34120 PyObject
* obj0
= 0 ;
34121 char *kwnames
[] = {
34122 (char *) "self", NULL
34125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
34126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34127 if (SWIG_arg_fail(1)) SWIG_fail
;
34129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34130 result
= (bool)(arg1
)->EndDrag();
34132 wxPyEndAllowThreads(__tstate
);
34133 if (PyErr_Occurred()) SWIG_fail
;
34136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34144 static PyObject
*_wrap_DragImage_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34145 PyObject
*resultobj
;
34146 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34147 wxPoint
*arg2
= 0 ;
34150 PyObject
* obj0
= 0 ;
34151 PyObject
* obj1
= 0 ;
34152 char *kwnames
[] = {
34153 (char *) "self",(char *) "pt", NULL
34156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
34157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34158 if (SWIG_arg_fail(1)) SWIG_fail
;
34161 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34165 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
34167 wxPyEndAllowThreads(__tstate
);
34168 if (PyErr_Occurred()) SWIG_fail
;
34171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34179 static PyObject
*_wrap_DragImage_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34180 PyObject
*resultobj
;
34181 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34183 PyObject
* obj0
= 0 ;
34184 char *kwnames
[] = {
34185 (char *) "self", NULL
34188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
34189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34190 if (SWIG_arg_fail(1)) SWIG_fail
;
34192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34193 result
= (bool)(arg1
)->Show();
34195 wxPyEndAllowThreads(__tstate
);
34196 if (PyErr_Occurred()) SWIG_fail
;
34199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34207 static PyObject
*_wrap_DragImage_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34208 PyObject
*resultobj
;
34209 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34211 PyObject
* obj0
= 0 ;
34212 char *kwnames
[] = {
34213 (char *) "self", NULL
34216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
34217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34218 if (SWIG_arg_fail(1)) SWIG_fail
;
34220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34221 result
= (bool)(arg1
)->Hide();
34223 wxPyEndAllowThreads(__tstate
);
34224 if (PyErr_Occurred()) SWIG_fail
;
34227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34235 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34236 PyObject
*resultobj
;
34237 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34238 wxPoint
*arg2
= 0 ;
34241 PyObject
* obj0
= 0 ;
34242 PyObject
* obj1
= 0 ;
34243 char *kwnames
[] = {
34244 (char *) "self",(char *) "pos", NULL
34247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
34248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34249 if (SWIG_arg_fail(1)) SWIG_fail
;
34252 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34256 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
34258 wxPyEndAllowThreads(__tstate
);
34259 if (PyErr_Occurred()) SWIG_fail
;
34262 wxRect
* resultptr
;
34263 resultptr
= new wxRect((wxRect
&)(result
));
34264 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
34272 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34273 PyObject
*resultobj
;
34274 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34276 wxPoint
*arg3
= 0 ;
34279 PyObject
* obj0
= 0 ;
34280 PyObject
* obj1
= 0 ;
34281 PyObject
* obj2
= 0 ;
34282 char *kwnames
[] = {
34283 (char *) "self",(char *) "dc",(char *) "pos", NULL
34286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34288 if (SWIG_arg_fail(1)) SWIG_fail
;
34290 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
34291 if (SWIG_arg_fail(2)) SWIG_fail
;
34292 if (arg2
== NULL
) {
34293 SWIG_null_ref("wxDC");
34295 if (SWIG_arg_fail(2)) SWIG_fail
;
34299 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34303 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
34305 wxPyEndAllowThreads(__tstate
);
34306 if (PyErr_Occurred()) SWIG_fail
;
34309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34317 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34318 PyObject
*resultobj
;
34319 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34321 wxMemoryDC
*arg3
= 0 ;
34327 PyObject
* obj0
= 0 ;
34328 PyObject
* obj1
= 0 ;
34329 PyObject
* obj2
= 0 ;
34330 PyObject
* obj3
= 0 ;
34331 PyObject
* obj4
= 0 ;
34332 char *kwnames
[] = {
34333 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
34336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34338 if (SWIG_arg_fail(1)) SWIG_fail
;
34340 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
34341 if (SWIG_arg_fail(2)) SWIG_fail
;
34342 if (arg2
== NULL
) {
34343 SWIG_null_ref("wxDC");
34345 if (SWIG_arg_fail(2)) SWIG_fail
;
34348 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_EXCEPTION
| 0);
34349 if (SWIG_arg_fail(3)) SWIG_fail
;
34350 if (arg3
== NULL
) {
34351 SWIG_null_ref("wxMemoryDC");
34353 if (SWIG_arg_fail(3)) SWIG_fail
;
34357 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34361 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
34364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34365 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
34367 wxPyEndAllowThreads(__tstate
);
34368 if (PyErr_Occurred()) SWIG_fail
;
34371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34379 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34380 PyObject
*resultobj
;
34381 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34382 wxPoint
*arg2
= 0 ;
34383 wxPoint
*arg3
= 0 ;
34389 PyObject
* obj0
= 0 ;
34390 PyObject
* obj1
= 0 ;
34391 PyObject
* obj2
= 0 ;
34392 PyObject
* obj3
= 0 ;
34393 PyObject
* obj4
= 0 ;
34394 char *kwnames
[] = {
34395 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
34398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34400 if (SWIG_arg_fail(1)) SWIG_fail
;
34403 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34407 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34410 arg4
= (bool)(SWIG_As_bool(obj3
));
34411 if (SWIG_arg_fail(4)) SWIG_fail
;
34414 arg5
= (bool)(SWIG_As_bool(obj4
));
34415 if (SWIG_arg_fail(5)) SWIG_fail
;
34418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34419 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
34421 wxPyEndAllowThreads(__tstate
);
34422 if (PyErr_Occurred()) SWIG_fail
;
34425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34433 static PyObject
* DragImage_swigregister(PyObject
*, PyObject
*args
) {
34435 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34436 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
34438 return Py_BuildValue((char *)"");
34440 static int _wrap_DatePickerCtrlNameStr_set(PyObject
*) {
34441 PyErr_SetString(PyExc_TypeError
,"Variable DatePickerCtrlNameStr is read-only.");
34446 static PyObject
*_wrap_DatePickerCtrlNameStr_get(void) {
34451 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
34453 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
34460 static PyObject
*_wrap_new_DatePickerCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34461 PyObject
*resultobj
;
34462 wxWindow
*arg1
= (wxWindow
*) 0 ;
34463 int arg2
= (int) -1 ;
34464 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
34465 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
34466 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
34467 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
34468 wxSize
const &arg5_defvalue
= wxDefaultSize
;
34469 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
34470 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
34471 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
34472 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
34473 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
34474 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
34475 wxDatePickerCtrl
*result
;
34478 bool temp8
= false ;
34479 PyObject
* obj0
= 0 ;
34480 PyObject
* obj1
= 0 ;
34481 PyObject
* obj2
= 0 ;
34482 PyObject
* obj3
= 0 ;
34483 PyObject
* obj4
= 0 ;
34484 PyObject
* obj5
= 0 ;
34485 PyObject
* obj6
= 0 ;
34486 PyObject
* obj7
= 0 ;
34487 char *kwnames
[] = {
34488 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
34492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34493 if (SWIG_arg_fail(1)) SWIG_fail
;
34496 arg2
= (int)(SWIG_As_int(obj1
));
34497 if (SWIG_arg_fail(2)) SWIG_fail
;
34502 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34503 if (SWIG_arg_fail(3)) SWIG_fail
;
34504 if (arg3
== NULL
) {
34505 SWIG_null_ref("wxDateTime");
34507 if (SWIG_arg_fail(3)) SWIG_fail
;
34513 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
34519 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
34524 arg6
= (long)(SWIG_As_long(obj5
));
34525 if (SWIG_arg_fail(6)) SWIG_fail
;
34530 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
34531 if (SWIG_arg_fail(7)) SWIG_fail
;
34532 if (arg7
== NULL
) {
34533 SWIG_null_ref("wxValidator");
34535 if (SWIG_arg_fail(7)) SWIG_fail
;
34540 arg8
= wxString_in_helper(obj7
);
34541 if (arg8
== NULL
) SWIG_fail
;
34546 if (!wxPyCheckForApp()) SWIG_fail
;
34547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34548 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
34550 wxPyEndAllowThreads(__tstate
);
34551 if (PyErr_Occurred()) SWIG_fail
;
34553 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDatePickerCtrl
, 1);
34568 static PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34569 PyObject
*resultobj
;
34570 wxDatePickerCtrl
*result
;
34571 char *kwnames
[] = {
34575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDatePickerCtrl",kwnames
)) goto fail
;
34577 if (!wxPyCheckForApp()) SWIG_fail
;
34578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34579 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
34581 wxPyEndAllowThreads(__tstate
);
34582 if (PyErr_Occurred()) SWIG_fail
;
34584 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDatePickerCtrl
, 1);
34591 static PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34592 PyObject
*resultobj
;
34593 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34594 wxWindow
*arg2
= (wxWindow
*) 0 ;
34595 int arg3
= (int) -1 ;
34596 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
34597 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
34598 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
34599 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
34600 wxSize
const &arg6_defvalue
= wxDefaultSize
;
34601 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
34602 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
34603 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
34604 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
34605 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
34606 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
34610 bool temp9
= false ;
34611 PyObject
* obj0
= 0 ;
34612 PyObject
* obj1
= 0 ;
34613 PyObject
* obj2
= 0 ;
34614 PyObject
* obj3
= 0 ;
34615 PyObject
* obj4
= 0 ;
34616 PyObject
* obj5
= 0 ;
34617 PyObject
* obj6
= 0 ;
34618 PyObject
* obj7
= 0 ;
34619 PyObject
* obj8
= 0 ;
34620 char *kwnames
[] = {
34621 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
34625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34626 if (SWIG_arg_fail(1)) SWIG_fail
;
34627 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34628 if (SWIG_arg_fail(2)) SWIG_fail
;
34631 arg3
= (int)(SWIG_As_int(obj2
));
34632 if (SWIG_arg_fail(3)) SWIG_fail
;
34637 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34638 if (SWIG_arg_fail(4)) SWIG_fail
;
34639 if (arg4
== NULL
) {
34640 SWIG_null_ref("wxDateTime");
34642 if (SWIG_arg_fail(4)) SWIG_fail
;
34648 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
34654 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
34659 arg7
= (long)(SWIG_As_long(obj6
));
34660 if (SWIG_arg_fail(7)) SWIG_fail
;
34665 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
34666 if (SWIG_arg_fail(8)) SWIG_fail
;
34667 if (arg8
== NULL
) {
34668 SWIG_null_ref("wxValidator");
34670 if (SWIG_arg_fail(8)) SWIG_fail
;
34675 arg9
= wxString_in_helper(obj8
);
34676 if (arg9
== NULL
) SWIG_fail
;
34681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34682 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
34684 wxPyEndAllowThreads(__tstate
);
34685 if (PyErr_Occurred()) SWIG_fail
;
34688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34704 static PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34705 PyObject
*resultobj
;
34706 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34707 wxDateTime
*arg2
= 0 ;
34708 PyObject
* obj0
= 0 ;
34709 PyObject
* obj1
= 0 ;
34710 char *kwnames
[] = {
34711 (char *) "self",(char *) "dt", NULL
34714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
34715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34716 if (SWIG_arg_fail(1)) SWIG_fail
;
34718 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34719 if (SWIG_arg_fail(2)) SWIG_fail
;
34720 if (arg2
== NULL
) {
34721 SWIG_null_ref("wxDateTime");
34723 if (SWIG_arg_fail(2)) SWIG_fail
;
34726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34727 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
34729 wxPyEndAllowThreads(__tstate
);
34730 if (PyErr_Occurred()) SWIG_fail
;
34732 Py_INCREF(Py_None
); resultobj
= Py_None
;
34739 static PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34740 PyObject
*resultobj
;
34741 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34743 PyObject
* obj0
= 0 ;
34744 char *kwnames
[] = {
34745 (char *) "self", NULL
34748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
34749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34750 if (SWIG_arg_fail(1)) SWIG_fail
;
34752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34753 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
34755 wxPyEndAllowThreads(__tstate
);
34756 if (PyErr_Occurred()) SWIG_fail
;
34759 wxDateTime
* resultptr
;
34760 resultptr
= new wxDateTime((wxDateTime
&)(result
));
34761 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
34769 static PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34770 PyObject
*resultobj
;
34771 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34772 wxDateTime
*arg2
= 0 ;
34773 wxDateTime
*arg3
= 0 ;
34774 PyObject
* obj0
= 0 ;
34775 PyObject
* obj1
= 0 ;
34776 PyObject
* obj2
= 0 ;
34777 char *kwnames
[] = {
34778 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
34781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34783 if (SWIG_arg_fail(1)) SWIG_fail
;
34785 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34786 if (SWIG_arg_fail(2)) SWIG_fail
;
34787 if (arg2
== NULL
) {
34788 SWIG_null_ref("wxDateTime");
34790 if (SWIG_arg_fail(2)) SWIG_fail
;
34793 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34794 if (SWIG_arg_fail(3)) SWIG_fail
;
34795 if (arg3
== NULL
) {
34796 SWIG_null_ref("wxDateTime");
34798 if (SWIG_arg_fail(3)) SWIG_fail
;
34801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34802 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
34804 wxPyEndAllowThreads(__tstate
);
34805 if (PyErr_Occurred()) SWIG_fail
;
34807 Py_INCREF(Py_None
); resultobj
= Py_None
;
34814 static PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34815 PyObject
*resultobj
;
34816 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34818 PyObject
* obj0
= 0 ;
34819 char *kwnames
[] = {
34820 (char *) "self", NULL
34823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetLowerLimit",kwnames
,&obj0
)) goto fail
;
34824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34825 if (SWIG_arg_fail(1)) SWIG_fail
;
34827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34828 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
34830 wxPyEndAllowThreads(__tstate
);
34831 if (PyErr_Occurred()) SWIG_fail
;
34834 wxDateTime
* resultptr
;
34835 resultptr
= new wxDateTime((wxDateTime
&)(result
));
34836 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
34844 static PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34845 PyObject
*resultobj
;
34846 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34848 PyObject
* obj0
= 0 ;
34849 char *kwnames
[] = {
34850 (char *) "self", NULL
34853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetUpperLimit",kwnames
,&obj0
)) goto fail
;
34854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34855 if (SWIG_arg_fail(1)) SWIG_fail
;
34857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34858 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
34860 wxPyEndAllowThreads(__tstate
);
34861 if (PyErr_Occurred()) SWIG_fail
;
34864 wxDateTime
* resultptr
;
34865 resultptr
= new wxDateTime((wxDateTime
&)(result
));
34866 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
34874 static PyObject
* DatePickerCtrl_swigregister(PyObject
*, PyObject
*args
) {
34876 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34877 SWIG_TypeClientData(SWIGTYPE_p_wxDatePickerCtrl
, obj
);
34879 return Py_BuildValue((char *)"");
34881 static PyMethodDef SwigMethods
[] = {
34882 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34883 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34884 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34885 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34886 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34887 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34888 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
34889 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34890 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34891 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34892 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34893 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34894 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34895 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34896 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34897 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34898 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34899 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34900 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34901 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34902 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34903 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
34904 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34905 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34906 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34907 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34908 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34909 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34910 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34911 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34912 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34913 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34914 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34915 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
34916 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34917 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34918 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34919 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34920 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
34921 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34922 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34923 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34924 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34925 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34926 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34927 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34928 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34929 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34930 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34931 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34932 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34933 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34934 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34935 { (char *)"ComboBox_GetMark", (PyCFunction
) _wrap_ComboBox_GetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34936 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34937 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34938 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34939 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34940 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34941 { (char *)"ComboBox_IsEditable", (PyCFunction
) _wrap_ComboBox_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34942 { (char *)"ComboBox_Undo", (PyCFunction
) _wrap_ComboBox_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34943 { (char *)"ComboBox_Redo", (PyCFunction
) _wrap_ComboBox_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34944 { (char *)"ComboBox_SelectAll", (PyCFunction
) _wrap_ComboBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34945 { (char *)"ComboBox_CanCopy", (PyCFunction
) _wrap_ComboBox_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34946 { (char *)"ComboBox_CanCut", (PyCFunction
) _wrap_ComboBox_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34947 { (char *)"ComboBox_CanPaste", (PyCFunction
) _wrap_ComboBox_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34948 { (char *)"ComboBox_CanUndo", (PyCFunction
) _wrap_ComboBox_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34949 { (char *)"ComboBox_CanRedo", (PyCFunction
) _wrap_ComboBox_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34950 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34951 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
34952 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34953 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34954 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34955 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34956 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34957 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34958 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34959 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34960 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34961 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34962 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34963 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34964 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34965 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
34966 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34967 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34968 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34969 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34970 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
34971 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34972 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34973 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34974 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34975 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34976 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34977 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
34978 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34979 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34980 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34981 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34982 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
34983 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34984 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34985 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34986 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34987 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34988 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34989 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34990 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
34991 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34992 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34993 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34994 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34995 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34996 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34997 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34998 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34999 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35000 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35001 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35002 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35003 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35004 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35005 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35006 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35007 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35008 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35009 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35010 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35011 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35012 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35013 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
35014 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35015 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35016 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35017 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35018 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35019 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35020 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35021 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35022 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
35023 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35024 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35025 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35026 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35027 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35028 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35029 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35030 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35031 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35032 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35033 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35034 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35035 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35036 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35037 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35038 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35039 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35040 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35041 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35042 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35043 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35044 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35045 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35046 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35047 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35048 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
) _wrap_TextAttr_GetLeftSubIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35049 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35050 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35051 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35052 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35053 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
35054 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35055 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35056 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35057 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35058 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35059 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35060 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35061 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35062 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35063 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35064 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35065 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35066 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35067 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35068 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35069 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35070 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35071 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35072 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35073 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35074 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35075 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35076 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35077 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35078 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35079 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35080 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35081 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35082 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35083 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35084 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35085 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35086 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35087 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35088 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35089 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35090 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35091 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35092 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35093 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35094 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35095 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35096 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35097 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35098 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35099 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35100 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35101 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35102 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35103 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35104 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35105 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35106 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35107 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35108 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35109 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
35110 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35111 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35112 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35113 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35114 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
35115 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35116 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35117 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35118 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35119 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35120 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35121 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35122 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35123 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35124 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35125 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35126 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
35127 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35128 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35129 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35130 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35131 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35132 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35133 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35134 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35135 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35136 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35137 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35138 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35139 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
35140 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35141 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35142 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35143 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35144 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35145 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35146 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35147 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35148 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35149 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35150 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35151 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
35152 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35153 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35154 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35155 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
35156 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35157 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35158 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35159 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35160 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35161 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35162 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35163 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35164 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35165 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35166 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35167 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35168 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35169 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35170 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35171 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35172 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35173 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
35174 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35175 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35176 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35177 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35178 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35179 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35180 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
35181 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35182 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35183 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35184 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35185 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35186 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35187 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35188 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35189 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35190 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35191 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35192 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35193 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35194 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35195 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35196 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35197 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35198 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35199 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35200 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35201 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35202 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35203 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35204 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35205 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35206 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
35207 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35208 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35209 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35210 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35211 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35212 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35213 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35214 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
35215 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
) _wrap_BookCtrlBase_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35216 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35217 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35218 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
) _wrap_BookCtrlBase_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35219 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35220 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35221 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35222 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35223 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
) _wrap_BookCtrlBase_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35224 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35225 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35226 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35227 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35228 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35229 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35230 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
) _wrap_BookCtrlBase_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35231 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35232 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35233 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35234 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35235 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35236 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
35237 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35238 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35239 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35240 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35241 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35242 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
35243 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35244 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35245 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35246 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35247 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35248 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35249 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35250 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35251 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
) _wrap_Notebook_GetThemeBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35252 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35253 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
35254 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35255 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
35256 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35257 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35258 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35259 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35260 { (char *)"Listbook_GetListView", (PyCFunction
) _wrap_Listbook_GetListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35261 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
35262 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35263 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
35264 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35265 { (char *)"new_PreChoicebook", (PyCFunction
) _wrap_new_PreChoicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35266 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35267 { (char *)"Choicebook_IsVertical", (PyCFunction
) _wrap_Choicebook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35268 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
) _wrap_Choicebook_GetChoiceCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35269 { (char *)"Choicebook_DeleteAllPages", (PyCFunction
) _wrap_Choicebook_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35270 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
35271 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35272 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
35273 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35274 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35275 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35276 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35277 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
, NULL
},
35278 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35279 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35280 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35281 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35282 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
, NULL
},
35283 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35284 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35285 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35286 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35287 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35288 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35289 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35290 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35291 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35292 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35293 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35294 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35295 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35296 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35297 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35298 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35299 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35300 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35301 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35302 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35303 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35304 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35305 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35306 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35307 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35308 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35309 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35310 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35311 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35312 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
35313 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35314 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35315 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35316 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35317 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35318 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35319 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35320 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35321 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35322 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35323 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35324 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35325 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35326 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35327 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35328 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35329 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35330 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35331 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35332 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35333 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35334 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35335 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35336 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35337 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35338 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35339 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35340 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35341 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35342 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35343 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35344 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35345 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35346 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35347 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35348 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35349 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35350 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35351 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35352 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35353 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35354 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35355 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35356 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35357 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
35358 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35359 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35360 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35361 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35362 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35363 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
35364 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35365 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35366 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35367 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35368 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35369 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35370 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35371 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35372 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35373 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35374 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35375 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
35376 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35377 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35378 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35379 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35380 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35381 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35382 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35383 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35384 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35385 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35386 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35387 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35388 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35389 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35390 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35391 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35392 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35393 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35394 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35395 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35396 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35397 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35398 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35399 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35400 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35401 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35402 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35403 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35404 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35405 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35406 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35407 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35408 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35409 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35410 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35411 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35412 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35413 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35414 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35415 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35416 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35417 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35418 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35419 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35420 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35421 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35422 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35423 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35424 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35425 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35426 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35427 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
35428 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35429 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35430 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35431 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35432 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35433 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35434 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35435 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35436 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35437 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35438 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35439 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35440 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35441 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35442 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35443 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35444 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35445 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35446 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35447 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35448 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35449 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35450 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35451 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35452 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35453 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35454 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
35455 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35456 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35457 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35458 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35459 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35460 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35461 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35462 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35463 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35464 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35465 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35466 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35467 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35468 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35469 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35470 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35471 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35472 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35473 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35474 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35475 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35476 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35477 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35478 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35479 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35480 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35481 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35482 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35483 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35484 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35485 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35486 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35487 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35488 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35489 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35490 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35491 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35492 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35493 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35494 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35495 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35496 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35497 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35498 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35499 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35500 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35501 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35502 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35503 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35504 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35505 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35506 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35507 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35508 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35509 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35510 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35511 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35512 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35513 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35514 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35515 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35516 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35517 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35518 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35519 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35520 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35521 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35522 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35523 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35524 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35525 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
35526 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35527 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35528 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35529 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35530 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35531 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35532 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35533 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35534 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35535 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35536 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35537 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
35538 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35539 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35540 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35541 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35542 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35543 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35544 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35545 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
35546 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35547 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35548 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35549 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35550 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35551 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35552 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
35553 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35554 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35555 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35556 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35557 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35558 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35559 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35560 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35561 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35562 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35563 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35564 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35565 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35566 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35567 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35568 { (char *)"TreeEvent_GetToolTip", (PyCFunction
) _wrap_TreeEvent_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35569 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
35570 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35571 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35572 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35573 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35574 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35575 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35576 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35577 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35578 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35579 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35580 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35581 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35582 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35583 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35584 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35585 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35586 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35587 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35588 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35589 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35590 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35591 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35592 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35593 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35594 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35595 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35596 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35597 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35598 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35599 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35600 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35601 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35602 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35603 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35604 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35605 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35606 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35607 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35608 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35609 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35610 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35611 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35612 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35613 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35614 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35615 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35616 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35617 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35618 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35619 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35620 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35621 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35622 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35623 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35624 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35625 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35626 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35627 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35628 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35629 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35630 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35631 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35632 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35633 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35634 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35635 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35636 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35637 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35638 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35639 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35640 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35641 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35642 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35643 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35644 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35645 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
35646 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35647 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35648 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35649 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35650 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35651 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35652 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35653 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35654 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35655 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35656 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35657 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35658 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35659 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35660 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35661 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35662 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35663 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35664 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35665 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35666 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35667 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
35668 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35669 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35670 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35671 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35672 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
35673 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35674 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35675 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35676 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35677 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35678 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35679 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35680 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35681 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35682 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35683 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35684 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35685 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35686 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35687 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35688 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35689 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35690 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35691 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35692 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35693 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35694 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35695 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35696 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35697 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyControl_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35698 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
35699 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35700 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35701 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35702 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35703 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35704 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35705 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35706 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
35707 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35708 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35709 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35710 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35711 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
35712 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35713 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
35714 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35715 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35716 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35717 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35718 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35719 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35720 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35721 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35722 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
35723 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35724 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
35725 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35726 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35727 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35728 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35729 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35730 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35731 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35732 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35733 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35734 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35735 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35736 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35737 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35738 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35739 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35740 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35741 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35742 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
35743 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35744 { (char *)"new_PreDatePickerCtrl", (PyCFunction
) _wrap_new_PreDatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35745 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35746 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35747 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
) _wrap_DatePickerCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35748 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35749 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
) _wrap_DatePickerCtrl_GetLowerLimit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35750 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
) _wrap_DatePickerCtrl_GetUpperLimit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35751 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
35752 { NULL
, NULL
, 0, NULL
}
35756 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
35758 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
35759 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
35761 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
35762 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
35764 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
35765 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
35767 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
35768 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
35770 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
35771 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
35773 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
35774 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
35776 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
35777 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
35779 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
35780 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
35782 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
35783 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
35785 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
35786 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
35788 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
35789 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
35791 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
35792 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
35794 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
35795 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
35797 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
35798 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
35800 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
35801 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
35803 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
35804 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
35806 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
35807 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
35809 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
35810 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
35812 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
35813 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
35815 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
35816 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
35818 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
35819 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
35821 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
35822 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
35824 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
35825 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
35827 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
35828 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
35830 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
35831 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
35833 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
35834 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
35836 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
35837 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
35839 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
35840 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
35842 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
35843 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
35845 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
35846 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
35848 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
35849 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
35851 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
35852 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
35854 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
35855 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
35857 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
35858 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
35860 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
35861 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
35863 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
35864 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
35866 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
35867 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
35869 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
35870 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
35872 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
35873 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
35875 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
35876 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
35878 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
35879 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
35881 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
35882 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
35884 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
35885 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
35887 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
35888 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
35890 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
35891 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
35893 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
35894 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
35896 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
35897 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
35899 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
35900 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
35902 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
35903 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
35905 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
35906 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
35908 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
35909 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
35911 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
35912 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
35914 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
35915 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
35917 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
35918 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
35920 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
35921 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
35923 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
35924 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
35926 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
35927 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
35929 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
35930 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
35932 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
35933 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
35935 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
35936 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
35938 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
35939 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
35941 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
35942 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
35944 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
35945 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
35947 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
35948 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
35950 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
35951 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
35953 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
35954 return (void *)((wxControl
*) ((wxPyControl
*) x
));
35956 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
35957 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
35959 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
35960 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
35962 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
35963 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
35965 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
35966 return (void *)((wxControl
*) ((wxComboBox
*) x
));
35968 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
35969 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
35971 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
35972 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
35974 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
35975 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
35977 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
35978 return (void *)((wxControl
*) ((wxGauge
*) x
));
35980 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
35981 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
35983 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
35984 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
35986 static void *_p_wxListbookTo_p_wxControl(void *x
) {
35987 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
35989 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
35990 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
35992 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
35993 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
35995 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
35996 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
35998 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
35999 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
36001 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
36002 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
36004 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
36005 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36007 static void *_p_wxListViewTo_p_wxControl(void *x
) {
36008 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
36010 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
36011 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
36013 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
36014 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
36016 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
36017 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
36019 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
36020 return (void *)((wxControl
*) ((wxStaticText
*) x
));
36022 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
36023 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
36025 static void *_p_wxSliderTo_p_wxControl(void *x
) {
36026 return (void *)((wxControl
*) ((wxSlider
*) x
));
36028 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
36029 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36031 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
36032 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
36034 static void *_p_wxButtonTo_p_wxControl(void *x
) {
36035 return (void *)((wxControl
*) ((wxButton
*) x
));
36037 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
36038 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
36040 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
36041 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
36043 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
36044 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
36046 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
36047 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
36049 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
36050 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36052 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
36053 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36055 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
36056 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36058 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
36059 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
36061 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
36062 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36064 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
36065 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36067 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
36068 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36070 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
36071 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36073 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
36074 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36076 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
36077 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
36079 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
36080 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
36082 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
36083 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
36085 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
36086 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
36088 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
36089 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
36091 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
36092 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
36094 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
36095 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36097 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
36098 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
36100 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
36101 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
36103 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
36104 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
36106 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
36107 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
36109 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
36110 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
36112 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
36113 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
36115 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
36116 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
36118 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
36119 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
36121 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
36122 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36124 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
36125 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
36127 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
36128 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
36130 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
36131 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
36133 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
36134 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
36136 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
36137 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
36139 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
36140 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
36142 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
36143 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
36145 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
36146 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36148 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
36149 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36151 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
36152 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
36154 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
36155 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
36157 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
36158 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
36160 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
36161 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36163 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
36164 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36166 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
36167 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36169 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
36170 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36172 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
36173 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
36175 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
36176 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36178 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
36179 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
36181 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
36182 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
36184 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
36185 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
36187 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
36188 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
36190 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
36191 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
36193 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
36194 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
36196 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
36197 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36199 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
36200 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36202 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
36203 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
36205 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
36206 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
36208 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
36209 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
36211 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
36212 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
36214 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
36215 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36217 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
36218 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36220 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
36221 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
36223 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
36224 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
36226 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
36227 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
36229 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
36230 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
36232 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
36233 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
36235 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
36236 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
36238 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
36239 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
36241 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
36242 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
36244 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
36245 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
36247 static void *_p_wxSizerTo_p_wxObject(void *x
) {
36248 return (void *)((wxObject
*) ((wxSizer
*) x
));
36250 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
36251 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
36253 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
36254 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
36256 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
36257 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
36259 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
36260 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36262 static void *_p_wxEventTo_p_wxObject(void *x
) {
36263 return (void *)((wxObject
*) ((wxEvent
*) x
));
36265 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
36266 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
36268 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
36269 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
36271 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
36272 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
36274 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
36275 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
36277 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
36278 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
36280 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
36281 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36283 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
36284 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
36286 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
36287 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
36289 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
36290 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
36292 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
36293 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
36295 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
36296 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
36298 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
36299 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
36301 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
36302 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
36304 static void *_p_wxControlTo_p_wxObject(void *x
) {
36305 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
36307 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
36308 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
36310 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
36311 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
36313 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
36314 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
36316 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
36317 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
36319 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
36320 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
36322 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
36323 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
36325 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
36326 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36328 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
36329 return (void *)((wxObject
*) ((wxFSFile
*) x
));
36331 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
36332 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
36334 static void *_p_wxListViewTo_p_wxObject(void *x
) {
36335 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36337 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
36338 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
36340 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
36341 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36343 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
36344 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
36346 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
36347 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36349 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
36350 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36352 static void *_p_wxListbookTo_p_wxObject(void *x
) {
36353 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36355 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
36356 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
36358 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
36359 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
36361 static void *_p_wxSliderTo_p_wxObject(void *x
) {
36362 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
36364 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
36365 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
36367 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
36368 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
36370 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
36371 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
36373 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
36374 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36376 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
36377 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
36379 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
36380 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
36382 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
36383 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
36385 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
36386 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
36388 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
36389 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
36391 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
36392 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
36394 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
36395 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
36397 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
36398 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
36400 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
36401 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
36403 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
36404 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
36406 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
36407 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
36409 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
36410 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
36412 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
36413 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
36415 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
36416 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
36418 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
36419 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
36421 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
36422 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
36424 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
36425 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
36427 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
36428 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
36430 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
36431 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
36433 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
36434 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
36436 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
36437 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
36439 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
36440 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
36442 static void *_p_wxListEventTo_p_wxObject(void *x
) {
36443 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
36445 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
36446 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36448 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
36449 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36451 static void *_p_wxButtonTo_p_wxObject(void *x
) {
36452 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
36454 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
36455 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36457 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
36458 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
36460 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
36461 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36463 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
36464 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
36466 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
36467 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
36469 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
36470 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
36472 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
36473 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
36475 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
36476 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
36478 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
36479 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
36481 static void *_p_wxListItemTo_p_wxObject(void *x
) {
36482 return (void *)((wxObject
*) ((wxListItem
*) x
));
36484 static void *_p_wxImageTo_p_wxObject(void *x
) {
36485 return (void *)((wxObject
*) ((wxImage
*) x
));
36487 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
36488 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
36490 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
36491 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
36493 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
36494 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36496 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
36497 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
36499 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
36500 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
36502 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
36503 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36505 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
36506 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36508 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
36509 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36511 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
36512 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36514 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
36515 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
36517 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
36518 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
36520 static void *_p_wxWindowTo_p_wxObject(void *x
) {
36521 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
36523 static void *_p_wxMenuTo_p_wxObject(void *x
) {
36524 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
36526 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
36527 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
36529 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
36530 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
36532 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
36533 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36535 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
36536 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
36538 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
36539 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
36541 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
36542 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
36544 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
36545 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
36547 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
36548 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
36550 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
36551 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36553 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
36554 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36556 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
36557 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36559 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
36560 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
36562 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
36563 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
36565 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
36566 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
36568 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
36569 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
36571 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
36572 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36574 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
36575 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
36577 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
36578 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
36580 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
36581 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
36583 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
36584 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36586 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
36587 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
36589 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
36590 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
36592 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
36593 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
36595 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
36596 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
36598 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
36599 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
36601 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
36602 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36604 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
36605 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
36607 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
36608 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
36610 static void *_p_wxControlTo_p_wxWindow(void *x
) {
36611 return (void *)((wxWindow
*) ((wxControl
*) x
));
36613 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
36614 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
36616 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
36617 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36619 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
36620 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
36622 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
36623 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
36625 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
36626 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
36628 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
36629 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
36631 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
36632 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
36634 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
36635 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
36637 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
36638 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
36640 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
36641 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
36643 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
36644 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36646 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
36647 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36649 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
36650 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
36652 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
36653 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
36655 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
36656 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
36658 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
36659 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36661 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
36662 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36664 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
36665 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36667 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
36668 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36670 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
36671 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36673 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
36674 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
36676 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
36677 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
36679 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
36680 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
36682 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
36683 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
36685 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
36686 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
36688 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
36689 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
36691 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
36692 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
36694 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
36695 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36697 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
36698 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36700 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
36701 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
36703 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
36704 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
36706 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36707 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36709 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36710 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36712 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36713 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36715 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
36716 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36718 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
36719 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
36721 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
36722 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
36724 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
36725 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36727 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
36728 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36730 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
36731 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36733 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
36734 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36736 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
36737 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36739 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
36740 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36742 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
36743 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
36745 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
36746 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36748 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
36749 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
36751 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
36752 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36754 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
36755 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36757 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
36758 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36760 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
36761 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
36763 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
36764 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36766 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
36767 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36769 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
36770 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36772 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
36773 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
36775 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
36776 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
36778 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
36779 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
36781 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
36782 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
36784 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}};
36785 static swig_type_info _swigt__p_wxSizer
[] = {{"_p_wxSizer", 0, "wxSizer *", 0, 0, 0, 0},{"_p_wxSizer", 0, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36786 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}};
36787 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}};
36788 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}};
36789 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}};
36790 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}};
36791 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}};
36792 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}};
36793 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}};
36794 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}};
36795 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}};
36796 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}};
36797 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}};
36798 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}};
36799 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}};
36800 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}};
36801 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}};
36802 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}};
36803 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}};
36804 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}};
36805 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}};
36806 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}};
36807 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}};
36808 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}};
36809 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}};
36810 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}};
36811 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}};
36812 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}};
36813 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}};
36814 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}};
36815 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}};
36816 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}};
36817 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}};
36818 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}};
36819 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}};
36820 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}};
36821 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}};
36822 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}};
36823 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}};
36824 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}};
36825 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}};
36826 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}};
36827 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}};
36828 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}};
36829 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}};
36830 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}};
36831 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}};
36832 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}};
36833 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}};
36834 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}};
36835 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}};
36836 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}};
36837 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}};
36838 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}};
36839 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}};
36840 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}};
36841 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}};
36842 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}};
36843 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}};
36844 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}};
36845 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}};
36846 static swig_type_info _swigt__p_wxNotebookSizer
[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0, 0, 0, 0},{"_p_wxNotebookSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36847 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}};
36848 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}};
36849 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}};
36850 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}};
36851 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}};
36852 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}};
36853 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}};
36854 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}};
36855 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}};
36856 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}};
36857 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}};
36858 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}};
36859 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextHelp", _p_wxContextHelpTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListItem", _p_wxListItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGenericDragImage", _p_wxGenericDragImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToolBarToolBase", _p_wxToolBarToolBaseTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36860 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}};
36861 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}};
36862 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}};
36863 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}};
36864 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}};
36865 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}};
36866 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}};
36867 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}};
36868 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}};
36869 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}};
36870 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}};
36871 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}};
36872 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}};
36873 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}};
36874 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}};
36875 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}};
36876 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}};
36877 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}};
36878 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}};
36879 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}};
36880 static swig_type_info _swigt__p_wxBookCtrlSizer
[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0, 0, 0, 0},{"_p_wxBookCtrlSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36881 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}};
36883 static swig_type_info
*swig_types_initial
[] = {
36884 _swigt__p_wxTextUrlEvent
,
36886 _swigt__p_wxCheckBox
,
36887 _swigt__p_wxPyTreeCtrl
,
36889 _swigt__p_wxGenericDirCtrl
,
36891 _swigt__p_wxItemContainer
,
36892 _swigt__p_wxPyListCtrl
,
36893 _swigt__p_wxPyTreeItemData
,
36894 _swigt__p_wxDirFilterListCtrl
,
36895 _swigt__p_wxStaticLine
,
36896 _swigt__p_wxControl
,
36897 _swigt__p_wxPyControl
,
36899 _swigt__p_wxToolBarBase
,
36901 _swigt__p_wxToggleButton
,
36902 _swigt__p_wxRadioButton
,
36903 _swigt__p_wxChoice
,
36904 _swigt__p_wxMemoryDC
,
36906 _swigt__std__ptrdiff_t
,
36907 _swigt__p_wxListItemAttr
,
36912 _swigt__p_wxListView
,
36914 _swigt__p_wxVisualAttributes
,
36915 _swigt__p_wxTextCtrl
,
36916 _swigt__p_wxNotebook
,
36917 _swigt__p_wxChoicebook
,
36918 _swigt__p_wxNotifyEvent
,
36919 _swigt__p_wxArrayString
,
36920 _swigt__p_form_ops_t
,
36921 _swigt__p_wxListbook
,
36922 _swigt__p_wxStaticBitmap
,
36923 _swigt__p_wxSlider
,
36924 _swigt__p_wxStaticBox
,
36925 _swigt__p_wxArrayInt
,
36926 _swigt__p_wxContextHelp
,
36928 _swigt__p_wxDuplexMode
,
36929 _swigt__p_wxBookCtrlBase
,
36930 _swigt__p_wxEvtHandler
,
36931 _swigt__p_wxListEvent
,
36932 _swigt__p_wxCheckListBox
,
36933 _swigt__p_wxListBox
,
36934 _swigt__p_wxSpinButton
,
36935 _swigt__p_wxButton
,
36936 _swigt__p_wxBitmapButton
,
36938 _swigt__p_wxContextHelpButton
,
36939 _swigt__p_wxRadioBox
,
36940 _swigt__p_wxScrollBar
,
36942 _swigt__p_wxComboBox
,
36943 _swigt__p_wxTreeItemId
,
36944 _swigt__p_wxHelpEvent
,
36945 _swigt__p_wxListItem
,
36946 _swigt__p_wxNotebookSizer
,
36947 _swigt__p_wxSpinEvent
,
36948 _swigt__p_wxGenericDragImage
,
36949 _swigt__p_wxSpinCtrl
,
36950 _swigt__p_wxPaperSize
,
36951 _swigt__p_wxImageList
,
36952 _swigt__p_wxHelpProvider
,
36953 _swigt__p_wxTextAttr
,
36954 _swigt__p_wxSimpleHelpProvider
,
36955 _swigt__p_wxChoicebookEvent
,
36956 _swigt__p_wxListbookEvent
,
36957 _swigt__p_wxNotebookEvent
,
36959 _swigt__p_wxObject
,
36960 _swigt__p_wxCursor
,
36961 _swigt__p_wxDateTime
,
36962 _swigt__p_wxKeyEvent
,
36963 _swigt__p_unsigned_long
,
36964 _swigt__p_wxWindow
,
36965 _swigt__p_wxString
,
36966 _swigt__p_wxBitmap
,
36967 _swigt__unsigned_int
,
36968 _swigt__p_unsigned_int
,
36969 _swigt__p_unsigned_char
,
36970 _swigt__p_wxMouseEvent
,
36971 _swigt__p_wxBookCtrlBaseEvent
,
36972 _swigt__p_wxTreeEvent
,
36973 _swigt__p_wxCommandEvent
,
36974 _swigt__p_wxStaticText
,
36975 _swigt__p_wxDatePickerCtrl
,
36976 _swigt__p_wxControlWithItems
,
36977 _swigt__p_wxToolBarToolBase
,
36978 _swigt__p_wxColour
,
36979 _swigt__p_wxToolBar
,
36980 _swigt__p_wxBookCtrlSizer
,
36981 _swigt__p_wxValidator
,
36986 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
36988 static swig_const_info swig_const_table
[] = {
36989 {0, 0, 0, 0.0, 0, 0}};
37000 /* Python-specific SWIG API */
37001 #define SWIG_newvarlink() SWIG_Python_newvarlink()
37002 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
37003 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
37005 /* -----------------------------------------------------------------------------
37006 * global variable support code.
37007 * ----------------------------------------------------------------------------- */
37009 typedef struct swig_globalvar
{
37010 char *name
; /* Name of global variable */
37011 PyObject
*(*get_attr
)(); /* Return the current value */
37012 int (*set_attr
)(PyObject
*); /* Set the value */
37013 struct swig_globalvar
*next
;
37016 typedef struct swig_varlinkobject
{
37018 swig_globalvar
*vars
;
37019 } swig_varlinkobject
;
37022 swig_varlink_repr(swig_varlinkobject
*v
) {
37024 return PyString_FromString("<Swig global variables>");
37028 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
37029 swig_globalvar
*var
;
37031 fprintf(fp
,"Swig global variables { ");
37032 for (var
= v
->vars
; var
; var
=var
->next
) {
37033 fprintf(fp
,"%s", var
->name
);
37034 if (var
->next
) fprintf(fp
,", ");
37036 fprintf(fp
," }\n");
37041 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
37042 swig_globalvar
*var
= v
->vars
;
37044 if (strcmp(var
->name
,n
) == 0) {
37045 return (*var
->get_attr
)();
37049 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
37054 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
37055 swig_globalvar
*var
= v
->vars
;
37057 if (strcmp(var
->name
,n
) == 0) {
37058 return (*var
->set_attr
)(p
);
37062 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
37066 static PyTypeObject varlinktype
= {
37067 PyObject_HEAD_INIT(0)
37068 0, /* Number of items in variable part (ob_size) */
37069 (char *)"swigvarlink", /* Type name (tp_name) */
37070 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
37071 0, /* Itemsize (tp_itemsize) */
37072 0, /* Deallocator (tp_dealloc) */
37073 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
37074 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
37075 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
37076 0, /* tp_compare */
37077 (reprfunc
) swig_varlink_repr
, /* tp_repr */
37078 0, /* tp_as_number */
37079 0, /* tp_as_sequence */
37080 0, /* tp_as_mapping */
37084 0, /* tp_getattro */
37085 0, /* tp_setattro */
37086 0, /* tp_as_buffer */
37089 #if PY_VERSION_HEX >= 0x02000000
37090 0, /* tp_traverse */
37093 #if PY_VERSION_HEX >= 0x02010000
37094 0, /* tp_richcompare */
37095 0, /* tp_weaklistoffset */
37097 #if PY_VERSION_HEX >= 0x02020000
37098 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
37100 #if PY_VERSION_HEX >= 0x02030000
37103 #ifdef COUNT_ALLOCS
37104 0,0,0,0 /* tp_alloc -> tp_next */
37108 /* Create a variable linking object for use later */
37110 SWIG_Python_newvarlink(void) {
37111 swig_varlinkobject
*result
= 0;
37112 result
= PyMem_NEW(swig_varlinkobject
,1);
37113 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
37114 result
->ob_type
= &varlinktype
;
37116 result
->ob_refcnt
= 0;
37117 Py_XINCREF((PyObject
*) result
);
37118 return ((PyObject
*) result
);
37122 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
37123 swig_varlinkobject
*v
;
37124 swig_globalvar
*gv
;
37125 v
= (swig_varlinkobject
*) p
;
37126 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
37127 gv
->name
= (char *) malloc(strlen(name
)+1);
37128 strcpy(gv
->name
,name
);
37129 gv
->get_attr
= get_attr
;
37130 gv
->set_attr
= set_attr
;
37131 gv
->next
= v
->vars
;
37135 /* -----------------------------------------------------------------------------
37136 * constants/methods manipulation
37137 * ----------------------------------------------------------------------------- */
37139 /* Install Constants */
37141 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
37144 for (i
= 0; constants
[i
].type
; i
++) {
37145 switch(constants
[i
].type
) {
37147 obj
= PyInt_FromLong(constants
[i
].lvalue
);
37149 case SWIG_PY_FLOAT
:
37150 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
37152 case SWIG_PY_STRING
:
37153 if (constants
[i
].pvalue
) {
37154 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
37156 Py_INCREF(Py_None
);
37160 case SWIG_PY_POINTER
:
37161 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
37163 case SWIG_PY_BINARY
:
37164 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
37171 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
37177 /* -----------------------------------------------------------------------------*/
37178 /* Fix SwigMethods to carry the callback ptrs when needed */
37179 /* -----------------------------------------------------------------------------*/
37182 SWIG_Python_FixMethods(PyMethodDef
*methods
,
37183 swig_const_info
*const_table
,
37184 swig_type_info
**types
,
37185 swig_type_info
**types_initial
) {
37187 for (i
= 0; methods
[i
].ml_name
; ++i
) {
37188 char *c
= methods
[i
].ml_doc
;
37189 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
37191 swig_const_info
*ci
= 0;
37192 char *name
= c
+ 10;
37193 for (j
= 0; const_table
[j
].type
; j
++) {
37194 if (strncmp(const_table
[j
].name
, name
,
37195 strlen(const_table
[j
].name
)) == 0) {
37196 ci
= &(const_table
[j
]);
37201 size_t shift
= (ci
->ptype
) - types
;
37202 swig_type_info
*ty
= types_initial
[shift
];
37203 size_t ldoc
= (c
- methods
[i
].ml_doc
);
37204 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
37205 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
37207 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
37208 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
37210 strncpy(buff
, "swig_ptr: ", 10);
37212 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
37213 methods
[i
].ml_doc
= ndoc
;
37219 /* -----------------------------------------------------------------------------*
37220 * Initialize type list
37221 * -----------------------------------------------------------------------------*/
37223 #if PY_MAJOR_VERSION < 2
37224 /* PyModule_AddObject function was introduced in Python 2.0. The following function
37225 is copied out of Python/modsupport.c in python version 2.3.4 */
37227 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
37230 if (!PyModule_Check(m
)) {
37231 PyErr_SetString(PyExc_TypeError
,
37232 "PyModule_AddObject() needs module as first arg");
37236 PyErr_SetString(PyExc_TypeError
,
37237 "PyModule_AddObject() needs non-NULL value");
37241 dict
= PyModule_GetDict(m
);
37242 if (dict
== NULL
) {
37243 /* Internal error -- modules must have a dict! */
37244 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
37245 PyModule_GetName(m
));
37248 if (PyDict_SetItemString(dict
, name
, o
))
37255 static swig_type_info
**
37256 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
37257 static PyMethodDef swig_empty_runtime_method_table
[] = {
37259 NULL
, NULL
, 0, NULL
37263 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
37264 swig_empty_runtime_method_table
);
37265 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
37266 if (pointer
&& module) {
37267 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
37269 return type_list_handle
;
37272 static swig_type_info
**
37273 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
37274 swig_type_info
**type_pointer
;
37276 /* first check if module already created */
37277 type_pointer
= SWIG_Python_GetTypeListHandle();
37278 if (type_pointer
) {
37279 return type_pointer
;
37281 /* create a new module and variable */
37282 return SWIG_Python_SetTypeListHandle(type_list_handle
);
37290 /* -----------------------------------------------------------------------------*
37291 * Partial Init method
37292 * -----------------------------------------------------------------------------*/
37294 #ifdef SWIG_LINK_RUNTIME
37298 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
37304 SWIGEXPORT(void) SWIG_init(void) {
37305 static PyObject
*SWIG_globals
= 0;
37306 static int typeinit
= 0;
37309 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
37311 /* Fix SwigMethods to carry the callback ptrs when needed */
37312 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
37314 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
37315 d
= PyModule_GetDict(m
);
37318 #ifdef SWIG_LINK_RUNTIME
37319 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
37321 # ifndef SWIG_STATIC_RUNTIME
37322 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
37325 for (i
= 0; swig_types_initial
[i
]; i
++) {
37326 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
37330 SWIG_InstallConstants(d
,swig_const_table
);
37332 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
37333 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
37335 PyDict_SetItemString(d
,"BU_LEFT", SWIG_From_int((int)(wxBU_LEFT
)));
37338 PyDict_SetItemString(d
,"BU_TOP", SWIG_From_int((int)(wxBU_TOP
)));
37341 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_From_int((int)(wxBU_RIGHT
)));
37344 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_From_int((int)(wxBU_BOTTOM
)));
37347 PyDict_SetItemString(d
,"BU_ALIGN_MASK", SWIG_From_int((int)(wxBU_ALIGN_MASK
)));
37350 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_From_int((int)(wxBU_EXACTFIT
)));
37353 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_From_int((int)(wxBU_AUTODRAW
)));
37355 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
37357 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_From_int((int)(wxCHK_2STATE
)));
37360 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_From_int((int)(wxCHK_3STATE
)));
37363 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int((int)(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
37366 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_From_int((int)(wxCHK_UNCHECKED
)));
37369 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_From_int((int)(wxCHK_CHECKED
)));
37372 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_From_int((int)(wxCHK_UNDETERMINED
)));
37374 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
37375 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
37376 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
37378 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_From_int((int)(wxGA_HORIZONTAL
)));
37381 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_From_int((int)(wxGA_VERTICAL
)));
37384 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_From_int((int)(wxGA_SMOOTH
)));
37387 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_From_int((int)(wxGA_PROGRESSBAR
)));
37389 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
37390 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
37391 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
37392 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
37393 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
37395 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_From_int((int)(wxTE_NO_VSCROLL
)));
37398 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_From_int((int)(wxTE_AUTO_SCROLL
)));
37401 PyDict_SetItemString(d
,"TE_READONLY", SWIG_From_int((int)(wxTE_READONLY
)));
37404 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_From_int((int)(wxTE_MULTILINE
)));
37407 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_From_int((int)(wxTE_PROCESS_TAB
)));
37410 PyDict_SetItemString(d
,"TE_LEFT", SWIG_From_int((int)(wxTE_LEFT
)));
37413 PyDict_SetItemString(d
,"TE_CENTER", SWIG_From_int((int)(wxTE_CENTER
)));
37416 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_From_int((int)(wxTE_RIGHT
)));
37419 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_From_int((int)(wxTE_CENTRE
)));
37422 PyDict_SetItemString(d
,"TE_RICH", SWIG_From_int((int)(wxTE_RICH
)));
37425 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_From_int((int)(wxTE_PROCESS_ENTER
)));
37428 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_From_int((int)(wxTE_PASSWORD
)));
37431 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_From_int((int)(wxTE_AUTO_URL
)));
37434 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_From_int((int)(wxTE_NOHIDESEL
)));
37437 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_From_int((int)(wxTE_DONTWRAP
)));
37440 PyDict_SetItemString(d
,"TE_CHARWRAP", SWIG_From_int((int)(wxTE_CHARWRAP
)));
37443 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_From_int((int)(wxTE_WORDWRAP
)));
37446 PyDict_SetItemString(d
,"TE_BESTWRAP", SWIG_From_int((int)(wxTE_BESTWRAP
)));
37449 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_From_int((int)(wxTE_LINEWRAP
)));
37452 PyDict_SetItemString(d
,"TE_RICH2", SWIG_From_int((int)(wxTE_RICH2
)));
37455 PyDict_SetItemString(d
,"TE_CAPITALIZE", SWIG_From_int((int)(wxTE_CAPITALIZE
)));
37458 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_DEFAULT
)));
37461 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_LEFT
)));
37464 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTRE
)));
37467 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTER
)));
37470 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_RIGHT
)));
37473 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)(wxTEXT_ALIGNMENT_JUSTIFIED
)));
37476 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_TEXT_COLOUR
)));
37479 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
37482 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_FACE
)));
37485 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_SIZE
)));
37488 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)(wxTEXT_ATTR_FONT_WEIGHT
)));
37491 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)(wxTEXT_ATTR_FONT_ITALIC
)));
37494 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_UNDERLINE
)));
37497 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_From_int((int)(wxTEXT_ATTR_FONT
)));
37500 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)(wxTEXT_ATTR_ALIGNMENT
)));
37503 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_LEFT_INDENT
)));
37506 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_RIGHT_INDENT
)));
37509 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_From_int((int)(wxTEXT_ATTR_TABS
)));
37512 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_From_int((int)(wxTE_HT_UNKNOWN
)));
37515 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_From_int((int)(wxTE_HT_BEFORE
)));
37518 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_From_int((int)(wxTE_HT_ON_TEXT
)));
37521 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_From_int((int)(wxTE_HT_BELOW
)));
37524 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_From_int((int)(wxTE_HT_BEYOND
)));
37527 PyDict_SetItemString(d
,"OutOfRangeTextCoord", SWIG_From_int((int)(wxOutOfRangeTextCoord
)));
37530 PyDict_SetItemString(d
,"InvalidTextCoord", SWIG_From_int((int)(wxInvalidTextCoord
)));
37532 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
37533 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
37534 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
37535 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
37536 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
37537 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
37538 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
37540 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_From_int((int)(wxSP_HORIZONTAL
)));
37543 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_From_int((int)(wxSP_VERTICAL
)));
37546 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_From_int((int)(wxSP_ARROW_KEYS
)));
37549 PyDict_SetItemString(d
,"SP_WRAP", SWIG_From_int((int)(wxSP_WRAP
)));
37551 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
37552 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
37553 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
37554 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
37556 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_From_int((int)(wxSL_HORIZONTAL
)));
37559 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_From_int((int)(wxSL_VERTICAL
)));
37562 PyDict_SetItemString(d
,"SL_TICKS", SWIG_From_int((int)(wxSL_TICKS
)));
37565 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_From_int((int)(wxSL_AUTOTICKS
)));
37568 PyDict_SetItemString(d
,"SL_LABELS", SWIG_From_int((int)(wxSL_LABELS
)));
37571 PyDict_SetItemString(d
,"SL_LEFT", SWIG_From_int((int)(wxSL_LEFT
)));
37574 PyDict_SetItemString(d
,"SL_TOP", SWIG_From_int((int)(wxSL_TOP
)));
37577 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_From_int((int)(wxSL_RIGHT
)));
37580 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_From_int((int)(wxSL_BOTTOM
)));
37583 PyDict_SetItemString(d
,"SL_BOTH", SWIG_From_int((int)(wxSL_BOTH
)));
37586 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_From_int((int)(wxSL_SELRANGE
)));
37589 PyDict_SetItemString(d
,"SL_INVERSE", SWIG_From_int((int)(wxSL_INVERSE
)));
37591 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
37592 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
37593 SWIG_addvarlink(SWIG_globals
,(char*)"NotebookNameStr",_wrap_NotebookNameStr_get
, _wrap_NotebookNameStr_set
);
37595 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_From_int((int)(wxNB_FIXEDWIDTH
)));
37598 PyDict_SetItemString(d
,"NB_TOP", SWIG_From_int((int)(wxNB_TOP
)));
37601 PyDict_SetItemString(d
,"NB_LEFT", SWIG_From_int((int)(wxNB_LEFT
)));
37604 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_From_int((int)(wxNB_RIGHT
)));
37607 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_From_int((int)(wxNB_BOTTOM
)));
37610 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_From_int((int)(wxNB_MULTILINE
)));
37613 PyDict_SetItemString(d
,"NB_NOPAGETHEME", SWIG_From_int((int)(wxNB_NOPAGETHEME
)));
37616 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_From_int((int)(wxNB_HITTEST_NOWHERE
)));
37619 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_From_int((int)(wxNB_HITTEST_ONICON
)));
37622 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_From_int((int)(wxNB_HITTEST_ONLABEL
)));
37625 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_From_int((int)(wxNB_HITTEST_ONITEM
)));
37627 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
37628 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
37630 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_From_int((int)(wxLB_DEFAULT
)));
37633 PyDict_SetItemString(d
,"LB_TOP", SWIG_From_int((int)(wxLB_TOP
)));
37636 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_From_int((int)(wxLB_BOTTOM
)));
37639 PyDict_SetItemString(d
,"LB_LEFT", SWIG_From_int((int)(wxLB_LEFT
)));
37642 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_From_int((int)(wxLB_RIGHT
)));
37645 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_From_int((int)(wxLB_ALIGN_MASK
)));
37647 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
37648 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
37650 PyDict_SetItemString(d
,"CHB_DEFAULT", SWIG_From_int((int)(wxCHB_DEFAULT
)));
37653 PyDict_SetItemString(d
,"CHB_TOP", SWIG_From_int((int)(wxCHB_TOP
)));
37656 PyDict_SetItemString(d
,"CHB_BOTTOM", SWIG_From_int((int)(wxCHB_BOTTOM
)));
37659 PyDict_SetItemString(d
,"CHB_LEFT", SWIG_From_int((int)(wxCHB_LEFT
)));
37662 PyDict_SetItemString(d
,"CHB_RIGHT", SWIG_From_int((int)(wxCHB_RIGHT
)));
37665 PyDict_SetItemString(d
,"CHB_ALIGN_MASK", SWIG_From_int((int)(wxCHB_ALIGN_MASK
)));
37667 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
37668 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
37670 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_From_int((int)(wxTOOL_STYLE_BUTTON
)));
37673 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_From_int((int)(wxTOOL_STYLE_SEPARATOR
)));
37676 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_From_int((int)(wxTOOL_STYLE_CONTROL
)));
37679 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_From_int((int)(wxTB_HORIZONTAL
)));
37682 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_From_int((int)(wxTB_VERTICAL
)));
37685 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_From_int((int)(wxTB_3DBUTTONS
)));
37688 PyDict_SetItemString(d
,"TB_FLAT", SWIG_From_int((int)(wxTB_FLAT
)));
37691 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_From_int((int)(wxTB_DOCKABLE
)));
37694 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_From_int((int)(wxTB_NOICONS
)));
37697 PyDict_SetItemString(d
,"TB_TEXT", SWIG_From_int((int)(wxTB_TEXT
)));
37700 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_From_int((int)(wxTB_NODIVIDER
)));
37703 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_From_int((int)(wxTB_NOALIGN
)));
37706 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_From_int((int)(wxTB_HORZ_LAYOUT
)));
37709 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_From_int((int)(wxTB_HORZ_TEXT
)));
37711 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
37713 PyDict_SetItemString(d
,"LC_VRULES", SWIG_From_int((int)(wxLC_VRULES
)));
37716 PyDict_SetItemString(d
,"LC_HRULES", SWIG_From_int((int)(wxLC_HRULES
)));
37719 PyDict_SetItemString(d
,"LC_ICON", SWIG_From_int((int)(wxLC_ICON
)));
37722 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_From_int((int)(wxLC_SMALL_ICON
)));
37725 PyDict_SetItemString(d
,"LC_LIST", SWIG_From_int((int)(wxLC_LIST
)));
37728 PyDict_SetItemString(d
,"LC_REPORT", SWIG_From_int((int)(wxLC_REPORT
)));
37731 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_From_int((int)(wxLC_ALIGN_TOP
)));
37734 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_From_int((int)(wxLC_ALIGN_LEFT
)));
37737 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_From_int((int)(wxLC_AUTOARRANGE
)));
37740 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_From_int((int)(wxLC_VIRTUAL
)));
37743 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_From_int((int)(wxLC_EDIT_LABELS
)));
37746 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_From_int((int)(wxLC_NO_HEADER
)));
37749 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_From_int((int)(wxLC_NO_SORT_HEADER
)));
37752 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_From_int((int)(wxLC_SINGLE_SEL
)));
37755 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_From_int((int)(wxLC_SORT_ASCENDING
)));
37758 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_From_int((int)(wxLC_SORT_DESCENDING
)));
37761 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_From_int((int)(wxLC_MASK_TYPE
)));
37764 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_From_int((int)(wxLC_MASK_ALIGN
)));
37767 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_From_int((int)(wxLC_MASK_SORT
)));
37770 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_From_int((int)(wxLIST_MASK_STATE
)));
37773 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_From_int((int)(wxLIST_MASK_TEXT
)));
37776 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_From_int((int)(wxLIST_MASK_IMAGE
)));
37779 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_From_int((int)(wxLIST_MASK_DATA
)));
37782 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_From_int((int)(wxLIST_SET_ITEM
)));
37785 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_From_int((int)(wxLIST_MASK_WIDTH
)));
37788 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_From_int((int)(wxLIST_MASK_FORMAT
)));
37791 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_From_int((int)(wxLIST_STATE_DONTCARE
)));
37794 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_From_int((int)(wxLIST_STATE_DROPHILITED
)));
37797 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_From_int((int)(wxLIST_STATE_FOCUSED
)));
37800 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_From_int((int)(wxLIST_STATE_SELECTED
)));
37803 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_From_int((int)(wxLIST_STATE_CUT
)));
37806 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_From_int((int)(wxLIST_STATE_DISABLED
)));
37809 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_From_int((int)(wxLIST_STATE_FILTERED
)));
37812 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_From_int((int)(wxLIST_STATE_INUSE
)));
37815 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_From_int((int)(wxLIST_STATE_PICKED
)));
37818 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_From_int((int)(wxLIST_STATE_SOURCE
)));
37821 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_From_int((int)(wxLIST_HITTEST_ABOVE
)));
37824 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_From_int((int)(wxLIST_HITTEST_BELOW
)));
37827 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_From_int((int)(wxLIST_HITTEST_NOWHERE
)));
37830 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMICON
)));
37833 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMLABEL
)));
37836 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMRIGHT
)));
37839 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMSTATEICON
)));
37842 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_From_int((int)(wxLIST_HITTEST_TOLEFT
)));
37845 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_From_int((int)(wxLIST_HITTEST_TORIGHT
)));
37848 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_From_int((int)(wxLIST_HITTEST_ONITEM
)));
37851 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_From_int((int)(wxLIST_NEXT_ABOVE
)));
37854 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_From_int((int)(wxLIST_NEXT_ALL
)));
37857 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_From_int((int)(wxLIST_NEXT_BELOW
)));
37860 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_From_int((int)(wxLIST_NEXT_LEFT
)));
37863 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_From_int((int)(wxLIST_NEXT_RIGHT
)));
37866 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_From_int((int)(wxLIST_ALIGN_DEFAULT
)));
37869 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_From_int((int)(wxLIST_ALIGN_LEFT
)));
37872 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_From_int((int)(wxLIST_ALIGN_TOP
)));
37875 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int((int)(wxLIST_ALIGN_SNAP_TO_GRID
)));
37878 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_From_int((int)(wxLIST_FORMAT_LEFT
)));
37881 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_From_int((int)(wxLIST_FORMAT_RIGHT
)));
37884 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_From_int((int)(wxLIST_FORMAT_CENTRE
)));
37887 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_From_int((int)(wxLIST_FORMAT_CENTER
)));
37890 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_From_int((int)(wxLIST_AUTOSIZE
)));
37893 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int((int)(wxLIST_AUTOSIZE_USEHEADER
)));
37896 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_From_int((int)(wxLIST_RECT_BOUNDS
)));
37899 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_From_int((int)(wxLIST_RECT_ICON
)));
37902 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_From_int((int)(wxLIST_RECT_LABEL
)));
37905 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_From_int((int)(wxLIST_FIND_UP
)));
37908 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_From_int((int)(wxLIST_FIND_DOWN
)));
37911 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_From_int((int)(wxLIST_FIND_LEFT
)));
37914 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_From_int((int)(wxLIST_FIND_RIGHT
)));
37916 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
37917 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
37918 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
37919 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
37920 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
37921 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
37922 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
37923 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
37924 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
37925 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
37926 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
37927 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
37928 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
37929 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
37930 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
37931 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
37932 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
37933 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
37934 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
37935 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
37936 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
37937 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
37939 // Map renamed classes back to their common name for OOR
37940 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
37942 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
37944 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_From_int((int)(wxTR_NO_BUTTONS
)));
37947 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_From_int((int)(wxTR_HAS_BUTTONS
)));
37950 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_From_int((int)(wxTR_NO_LINES
)));
37953 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_From_int((int)(wxTR_LINES_AT_ROOT
)));
37956 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_From_int((int)(wxTR_SINGLE
)));
37959 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_From_int((int)(wxTR_MULTIPLE
)));
37962 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_From_int((int)(wxTR_EXTENDED
)));
37965 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int((int)(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
37968 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_From_int((int)(wxTR_EDIT_LABELS
)));
37971 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_From_int((int)(wxTR_HIDE_ROOT
)));
37974 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_From_int((int)(wxTR_ROW_LINES
)));
37977 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int((int)(wxTR_FULL_ROW_HIGHLIGHT
)));
37980 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_From_int((int)(wxTR_DEFAULT_STYLE
)));
37983 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_From_int((int)(wxTR_TWIST_BUTTONS
)));
37986 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_From_int((int)(wxTR_MAC_BUTTONS
)));
37989 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_From_int((int)(wxTR_AQUA_BUTTONS
)));
37992 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_From_int((int)(wxTreeItemIcon_Normal
)));
37995 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_From_int((int)(wxTreeItemIcon_Selected
)));
37998 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_From_int((int)(wxTreeItemIcon_Expanded
)));
38001 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)(wxTreeItemIcon_SelectedExpanded
)));
38004 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_From_int((int)(wxTreeItemIcon_Max
)));
38007 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_From_int((int)(wxTREE_HITTEST_ABOVE
)));
38010 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_From_int((int)(wxTREE_HITTEST_BELOW
)));
38013 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_From_int((int)(wxTREE_HITTEST_NOWHERE
)));
38016 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMBUTTON
)));
38019 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMICON
)));
38022 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMINDENT
)));
38025 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLABEL
)));
38028 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMRIGHT
)));
38031 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMSTATEICON
)));
38034 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_From_int((int)(wxTREE_HITTEST_TOLEFT
)));
38037 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_From_int((int)(wxTREE_HITTEST_TORIGHT
)));
38040 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMUPPERPART
)));
38043 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLOWERPART
)));
38046 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_From_int((int)(wxTREE_HITTEST_ONITEM
)));
38048 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
38049 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
38050 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
38051 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
38052 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
38053 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
38054 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
38055 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
38056 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
38057 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
38058 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
38059 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
38060 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
38061 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
38062 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
38063 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
38064 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
38065 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
38066 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
38067 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
38068 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
38070 // Map renamed classes back to their common name for OOR
38071 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
38072 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
38074 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
38076 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_From_int((int)(wxDIRCTRL_DIR_ONLY
)));
38079 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_From_int((int)(wxDIRCTRL_SELECT_FIRST
)));
38082 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_From_int((int)(wxDIRCTRL_SHOW_FILTERS
)));
38085 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_From_int((int)(wxDIRCTRL_3D_INTERNAL
)));
38088 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_From_int((int)(wxDIRCTRL_EDIT_LABELS
)));
38091 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_From_int((int)(wxFRAME_EX_CONTEXTHELP
)));
38094 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_From_int((int)(wxDIALOG_EX_CONTEXTHELP
)));
38096 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
38097 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
38099 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
38101 SWIG_addvarlink(SWIG_globals
,(char*)"DatePickerCtrlNameStr",_wrap_DatePickerCtrlNameStr_get
, _wrap_DatePickerCtrlNameStr_set
);
38103 PyDict_SetItemString(d
,"DP_DEFAULT", SWIG_From_int((int)(wxDP_DEFAULT
)));
38106 PyDict_SetItemString(d
,"DP_SPIN", SWIG_From_int((int)(wxDP_SPIN
)));
38109 PyDict_SetItemString(d
,"DP_DROPDOWN", SWIG_From_int((int)(wxDP_DROPDOWN
)));
38112 PyDict_SetItemString(d
,"DP_SHOWCENTURY", SWIG_From_int((int)(wxDP_SHOWCENTURY
)));
38115 PyDict_SetItemString(d
,"DP_ALLOWNONE", SWIG_From_int((int)(wxDP_ALLOWNONE
)));